summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>