Update apfpv

This commit is contained in:
viktorxda
2025-07-11 20:07:29 +02:00
parent 58a7dfa690
commit 175192557b
3 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
interface wlan0
start 192.168.0.10
end 192.168.0.10
end 192.168.0.20
opt dns 192.168.0.1
opt router 192.168.0.1
opt subnet 255.255.255.0

View File

@@ -22,14 +22,17 @@ case "$1" in
case "$card" in
"0bda:8812" | "0bda:881a" | "0b05:17d2" | "2357:0101" | "2604:0012")
driver=88XXau
rate=0x8D
;;
"0bda:a81a")
driver=8812eu
rate=0x8D
;;
"0bda:f72b" | "0bda:b733")
driver=8733bu
rate=0x8D
;;
esac
done
@@ -41,10 +44,10 @@ case "$1" in
echo "Detected driver: $driver"
modprobe "$driver" rtw_tx_pwr_by_rate=0 rtw_tx_pwr_lmt_enable=0
echo "$rate" > $(ls /proc/net/*/wlan0/rate_ctl)
;;
start)
iw wlan0 set txpower fixed $(fw_printenv -n wlanpwr || echo 1500)
set_config
hostapd /tmp/hostapd.conf -B
udhcpd -S

View File

@@ -12,7 +12,7 @@ fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/o
#
cli -s .isp.exposure 15
cli -s .video0.fps 60
cli -s .video0.bitrate 10000
cli -s .video0.bitrate 12000
cli -s .video0.codec h265
cli -s .video0.rcMode avbr
cli -s .outgoing.enabled true