aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-14 13:45:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-14 13:45:29 +0000
commit24d24495ad625a6d545b59d364a3dd46fb013c4c (patch)
treedca2c770ec59855f4be241f0ffd2d5f4dbf2d56d
parentc68fd7b65dfc069bf196fcef934057bef552155c (diff)
downloadupstream-24d24495ad625a6d545b59d364a3dd46fb013c4c.tar.gz
upstream-24d24495ad625a6d545b59d364a3dd46fb013c4c.tar.bz2
upstream-24d24495ad625a6d545b59d364a3dd46fb013c4c.zip
hostapd: enable disassoc on many consecutive excessive retries, improves AP mode reliability with many clients
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33399 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/hostapd/files/hostapd.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index fc84ec50fc..a473accd73 100644
--- a/package/hostapd/files/hostapd.sh
+++ b/package/hostapd/files/hostapd.sh
@@ -9,6 +9,7 @@ hostapd_set_bss_options() {
config_get wpa_pair_rekey "$vif" wpa_pair_rekey # 300
config_get wpa_master_rekey "$vif" wpa_master_rekey # 640
config_get_bool ap_isolate "$vif" isolate 0
+ config_get_bool disassoc_low_ack "$vif" disassoc_low_ack 1
config_get device "$vif" device
config_get hwmode "$device" hwmode
@@ -19,6 +20,7 @@ hostapd_set_bss_options() {
if [ "$ap_isolate" -gt 0 ]; then
append "$var" "ap_isolate=$ap_isolate" "$N"
fi
+ append "$var" "disassoc_low_ack=$disassoc_low_ack" "$N"
# Examples:
# psk-mixed/tkip => WPA1+2 PSK, TKIP