From ef01fa7bfa04093c7c98a8b82c0fc5d43d8a1b5d Mon Sep 17 00:00:00 2001 From: Yogesh Ashok Powar Date: Sun, 25 Dec 2011 20:57:01 +0200 Subject: hostapd: Make inactivity polling configurable hostapd uses the poll method to check if the station is alive after the station has been inactive for ap_max_inactivity seconds. Make the poll mechanism configurable so that user can choose to disconnect idle clients. This can be especially useful when some devices/firmwares have restrictions on the number of clients that can connect to the AP and that limit is smaller than the total number of stations trying to use the AP. Signed-off-by: Yogesh Ashok Powar Signed-off-by: Nishant Sarmukadam --- hostapd/hostapd.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hostapd/hostapd.conf') diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf index 5272d58..4e6202b 100644 --- a/hostapd/hostapd.conf +++ b/hostapd/hostapd.conf @@ -339,6 +339,12 @@ wmm_ac_vo_acm=0 # the STA with a data frame. # default: 300 (i.e., 5 minutes) #ap_max_inactivity=300 +# +# The inactivity polling can be disabled to disconnect stations based on +# inactivity timeout so that idle stations are more likely to be disconnected +# even if they are still in range of the AP. This can be done by setting +# skip_inactivity_poll to 1 (default 0). +#skip_inactivity_poll=0 # Disassociate stations based on excessive transmission failures or other # indications of connection loss. This depends on the driver capabilities and -- cgit v1.1