nl80211: Make use of driver's capability to detect inactive stations
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Tue, 27 Mar 2012 17:45:23 +0000 (20:45 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 27 Mar 2012 17:49:44 +0000 (20:49 +0300)
commita0133ee1c96db7436179d15f64e18e5165c4ab8c
tree659d54b5a44f5c94f62b9f636c34b8ffc3de9c7e
parent07f53b8cc75c1c8ac6aa7eaaa8f625a7eed4de7d
nl80211: Make use of driver's capability to detect inactive stations

When drivers advertise their capability to free up inactive
stations based on ap_max_inactivity, send the inactivity period
timeout to driver in NL80211_ATTR_INACTIVITY_TIMEOUT. This
introduces a WPA_DRIVER_FLAGS (WPA_DRIVER_FLAGS_INACTIVITY_TIMER)
so that the inactivity period will be sent only when this capability
bit is set.

Signed-hostap: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
src/ap/beacon.c
src/drivers/driver.h
src/drivers/driver_nl80211.c