summaryrefslogtreecommitdiff
path: root/bssid.shtml
diff options
context:
space:
mode:
Diffstat (limited to 'bssid.shtml')
-rw-r--r--bssid.shtml14
1 files changed, 7 insertions, 7 deletions
diff --git a/bssid.shtml b/bssid.shtml
index 672cf8c..a5b87b7 100644
--- a/bssid.shtml
+++ b/bssid.shtml
@@ -1,11 +1,11 @@
-<!--#if expr="$POL == v"-->CA:
-<!--#elif expr="$POL == h"-->CE:
-<!--#elif expr="$POL == l"-->C6:
-<!--#elif expr="$POL == r"-->C2:
+<!--#if expr="$POL == v"--><!--#set var="POLCODED" value="A"-->
+<!--#elif expr="$POL == h"--><!--#set var="POLCODED" value="E"-->
+<!--#elif expr="$POL == l"--><!--#set var="POLCODED" value="6"-->
+<!--#elif expr="$POL == r"--><!--#set var="POLCODED" value="2"-->
<!--#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-->
+<!--#if expr="($CHAN -ge 1) && ($CHAN -le 14)"-->C<!--#echo var="POLCODED"-->:00:24:00:C0:<!--#if expr="$CHAN = /^[1-9]$/"-->0<!--#endif--><!--#echo var="CHAN"-->
+<!--#elif expr="($CHAN -ge 36) && ($CHAN -lt 100)"-->C<!--#echo var="POLCODED"-->:00:50:00:C0:<!--#echo var="CHAN"-->
+<!--#elif expr="($CHAN -ge 100) && ($CHAN -le 140)"-->C<!--#echo var="POLCODED"-->:00:50:00:C1:<!--#if expr="$CHAN = /^1([1-9]{2})$/"--><!--#echo var="$1"--><!--#endif-->
<!--#else-->??:??:??:C?:??
<!--#endif-->