File tree Expand file tree Collapse file tree
devices/ssc338q_apfpv/general/overlay Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11interface wlan0
22start 192.168.0.10
3- end 192.168.0.10
3+ end 192.168.0.20
44opt dns 192.168.0.1
55opt router 192.168.0.1
66opt subnet 255.255.255.0
Original file line number Diff line number Diff line change @@ -22,14 +22,17 @@ case "$1" in
2222 case " $card " in
2323 " 0bda:8812" | " 0bda:881a" | " 0b05:17d2" | " 2357:0101" | " 2604:0012" )
2424 driver=88XXau
25+ rate=0x8D
2526 ;;
2627
2728 " 0bda:a81a" )
2829 driver=8812eu
30+ rate=0x8D
2931 ;;
3032
3133 " 0bda:f72b" | " 0bda:b733" )
3234 driver=8733bu
35+ rate=0x8D
3336 ;;
3437 esac
3538 done
@@ -41,10 +44,10 @@ case "$1" in
4144
4245 echo " Detected driver: $driver "
4346 modprobe " $driver " rtw_tx_pwr_by_rate=0 rtw_tx_pwr_lmt_enable=0
47+ echo " $rate " > $( ls /proc/net/* /wlan0/rate_ctl)
4448 ;;
4549
4650 start)
47- iw wlan0 set txpower fixed $( fw_printenv -n wlanpwr || echo 1500)
4851 set_config
4952 hostapd /tmp/hostapd.conf -B
5053 udhcpd -S
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/o
1212#
1313cli -s .isp.exposure 15
1414cli -s .video0.fps 60
15- cli -s .video0.bitrate 10000
15+ cli -s .video0.bitrate 12000
1616cli -s .video0.codec h265
1717cli -s .video0.rcMode avbr
1818cli -s .outgoing.enabled true
You can’t perform that action at this time.
0 commit comments