summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2013-11-19 01:33:11 +0000
committerChristian Pointner <equinox@ffgraz.net>2013-11-19 01:33:11 +0000
commite734bd335634a707610e08bdbb12230735775c0d (patch)
tree986c971e8723f8176029b405fcb2f0bae1419636
parentd42a0389d0098e1236b97802f60feeba3b6ca936 (diff)
new bssid format
-rw-r--r--bssid.shtml11
-rw-r--r--essid.shtml2
2 files changed, 13 insertions, 0 deletions
diff --git a/bssid.shtml b/bssid.shtml
new file mode 100644
index 0000000..672cf8c
--- /dev/null
+++ b/bssid.shtml
@@ -0,0 +1,11 @@
+<!--#if expr="$POL == v"-->CA:
+<!--#elif expr="$POL == h"-->CE:
+<!--#elif expr="$POL == l"-->C6:
+<!--#elif expr="$POL == r"-->C2:
+<!--#endif-->
+<!--#if expr="($CHAN -ge 1) && ($CHAN -le 14)"-->00:24:00:C0:<!--#if expr="$CHAN = /^[1-9]$/"-->0<!--#endif--><!--#echo var="CHAN"-->
+<!--#elif expr="($CHAN -ge 36) && ($CHAN -lt 100)"-->00:50:00:C0:<!--#echo var="CHAN"-->
+<!--#elif expr="($CHAN -ge 100) && ($CHAN -le 140)"-->00:50:00:C1:<!--#if expr="$CHAN = /^1([1-9]{2})$/"--><!--#echo var="$1"--><!--#endif-->
+<!--#else-->??:??:??:C?:??
+<!--#endif-->
+
diff --git a/essid.shtml b/essid.shtml
index b752087..cc460b2 100644
--- a/essid.shtml
+++ b/essid.shtml
@@ -25,6 +25,8 @@ Kanal / channel <!--#echo var="CHAN"--> (<!--#include file="freq.shtml"--> MHz)
<p>
SSID: http://graz.funkfeuer.at/<!--#echo var="POL"--><!--#echo var="CHAN"--><br/>
BSSID: <!--#if expr="$CHAN = /^[1-9]$/"-->0<!--#endif--><!--#echo var="CHAN"-->:CA:FF:EE:BA:BE
+oder / ali / or
+<!--#include file="bssid.shtml"-->
</p>
</div>