summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-14 13:45:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-14 13:45:29 +0000
commit17836e1a4ab24ecf773f6cce97be235579ec4c58 (patch)
treedca2c770ec59855f4be241f0ffd2d5f4dbf2d56d
parent697af1c08d47cf15ce8ba3ec911cafcf8f7f1d63 (diff)
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 fc84ec50f..a473accd7 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