mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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> Backport of r47149 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47150 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
465 B
Diff
12 lines
465 B
Diff
--- 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. */
|