summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-05-16 16:41:28 -0500
committerJohn Klug <john.klug@multitech.com>2019-05-16 16:41:28 -0500
commit687c5f81111a0971a51f1438a363df027a433bcd (patch)
tree24183625f2fb27958a6d70cc930ec9f8354656cf
parentbd9e00f993f57dbf6456e7870184a45076b41b59 (diff)
downloadmeta-multitech-4.tar.gz
meta-multitech-4.tar.bz2
meta-multitech-4.zip
Allow for antenna gain in wf command4
-rwxr-xr-xrecipes-kernel/rs9113/files/rf/uwf6
-rw-r--r--recipes-kernel/rs9113/files/rf/wf2
2 files changed, 5 insertions, 3 deletions
diff --git a/recipes-kernel/rs9113/files/rf/uwf b/recipes-kernel/rs9113/files/rf/uwf
index 061b2d3..c789299 100755
--- a/recipes-kernel/rs9113/files/rf/uwf
+++ b/recipes-kernel/rs9113/files/rf/uwf
@@ -31,11 +31,13 @@ echo "Use antenna port 2"
set -x
sleep 2
/opt/rs9113/onebox_util rpine0 ant_sel 2
-/opt/rs9113/transmit 127 $rate 1536 1 $chan 0 $flag 0 0 0 255
+# Maximum signal strength is 18
+/opt/rs9113/transmit rpine0 18 $rate 1536 1 $chan 0 $flag 0 0 0 255
set +x
sleep 10
echo Bring up unmodulated signal
set -x
-/opt/rs9113/transmit 0
+/opt/rs9113/transmit rpine0 1
/opt/rs9113/onebox_util rpine0 ant_sel 2
/opt/rs9113/onebox_util rpine0 cw_mode $chan 0 5
+
diff --git a/recipes-kernel/rs9113/files/rf/wf b/recipes-kernel/rs9113/files/rf/wf
index 7c31f44..832ec51 100644
--- a/recipes-kernel/rs9113/files/rf/wf
+++ b/recipes-kernel/rs9113/files/rf/wf
@@ -1,4 +1,4 @@
-!/bin/bash
+#!/bin/bash
echo 'Optional 1st parameter is wifi channel'
echo '2nd parameter is rate 1,18,54 or other valid rate'
echo '3rd parameter is width, 0 for 20MHz, and 24 for 40MHz'