Update apfpv
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user