hostapd: Make inactivity polling configurable
authorYogesh Ashok Powar <yogeshp@marvell.com>
Sun, 25 Dec 2011 18:57:01 +0000 (20:57 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 25 Dec 2011 18:57:01 +0000 (20:57 +0200)
commitef01fa7bfa04093c7c98a8b82c0fc5d43d8a1b5d
tree773274a3fbed8cdab12b101b1b842f7a5ab81f1f
parentc3daee1df53f06a6b9dc36354e4bd0b85a222a36
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 <yogeshp@marvell.com>
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.h
src/ap/sta_info.c