diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-10-06 12:33:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-10-06 12:33:10 +0000 |
commit | abfd4cbcd1494f03a341931545a851e0df116638 (patch) | |
tree | ef5a4e73c5b9debd903784d6ac0d2b4b2bb6d32e /package/network/services/hostapd | |
parent | 7e06c657c86fa86f432d4fc7196107d2fd37ff5d (diff) | |
download | master-187ad058-abfd4cbcd1494f03a341931545a851e0df116638.tar.gz master-187ad058-abfd4cbcd1494f03a341931545a851e0df116638.tar.bz2 master-187ad058-abfd4cbcd1494f03a341931545a851e0df116638.zip |
hostapd: wait longer for inactive client probe (empty data frame)
One second is not enough for some devices to ackowledge null data frame
which is sent at the end of ap_max_inactivity interval. In particular,
this causes severe Wi-Fi instability with Apple iPhone which may take
up to 3 seconds to respond.
Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47149 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/hostapd')
-rw-r--r-- | package/network/services/hostapd/patches/470-wait-for-nullfunc-longer.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/470-wait-for-nullfunc-longer.patch b/package/network/services/hostapd/patches/470-wait-for-nullfunc-longer.patch new file mode 100644 index 0000000000..e6bbdddc50 --- /dev/null +++ b/package/network/services/hostapd/patches/470-wait-for-nullfunc-longer.patch @@ -0,0 +1,11 @@ +--- a/src/ap/sta_info.h ++++ b/src/ap/sta_info.h +@@ -179,7 +179,7 @@ struct sta_info { + * AP_DISASSOC_DELAY seconds. Similarly, the station will be deauthenticated + * after AP_DEAUTH_DELAY seconds has passed after disassociation. */ + #define AP_MAX_INACTIVITY (5 * 60) +-#define AP_DISASSOC_DELAY (1) ++#define AP_DISASSOC_DELAY (3) + #define AP_DEAUTH_DELAY (1) + /* Number of seconds to keep STA entry with Authenticated flag after it has + * been disassociated. */ |