summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel')
-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'