Skip to content

Commit 1751925

Browse files
committed
Update apfpv
1 parent 58a7dfa commit 1751925

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

devices/ssc338q_apfpv/general/overlay/etc/udhcpd.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interface wlan0
22
start 192.168.0.10
3-
end 192.168.0.10
3+
end 192.168.0.20
44
opt dns 192.168.0.1
55
opt router 192.168.0.1
66
opt subnet 255.255.255.0

devices/ssc338q_apfpv/general/overlay/usr/bin/adapter

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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

devices/ssc338q_apfpv/general/overlay/usr/share/openipc/customizer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/o
1212
#
1313
cli -s .isp.exposure 15
1414
cli -s .video0.fps 60
15-
cli -s .video0.bitrate 10000
15+
cli -s .video0.bitrate 12000
1616
cli -s .video0.codec h265
1717
cli -s .video0.rcMode avbr
1818
cli -s .outgoing.enabled true

0 commit comments

Comments
 (0)