mirror of
https://github.com/outbackdingo/builder.git
synced 2026-01-27 10:18:28 +00:00
Update apfpv
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user