mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
* bring up wf672a
* add drivers lsm303agr rtl8221d ilps22qs
* add cig-wifi-mode-sw for switching radio to 2 bands or 3 bands
Signed-off-by: Justin.Guo <guoxijun@actiontec.com>
12 lines
189 B
Bash
Executable File
12 lines
189 B
Bash
Executable File
#!/bin/sh
|
|
|
|
band=$1
|
|
if [ $band -eq 2 ] || [ $band -eq 3 ]; then
|
|
echo $band > /proc/rf_switch
|
|
echo "reboot for switch wifi mode 2/3 bands"
|
|
sleep 1
|
|
reboot
|
|
else
|
|
echo "error band param"
|
|
fi
|