]> git.karo-electronics.de Git - linux-beck.git/commit
cfg80211: Add an attribute to set inactivity timeout in AP mode
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Fri, 2 Mar 2012 10:20:02 +0000 (15:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:38:34 +0000 (15:38 -0500)
commit1b658f118b11de3c4052ed8cbdd5803cd1fa5670
tree162160c05d29fc99b18d1914ffe2d614f2c9af6a
parentd665508b98d3cdbeb476e7d6848a513184a81ed0
cfg80211: Add an attribute to set inactivity timeout in AP mode

This patch adds an attribute, NL80211_ATTR_INACTIVITY_TIMEOUT,
to set the inactivity timeout which can be used to remove the
station in AP mode. This can be passed in NL80211_CMD_START_AP
and used by the drivers which have AP MLME in firmware but
don't support get_station() properly. To disable inactivity
timer in userspace, wpa_s for example, there is a new flag,
NL80211_FEATURE_INACTIVITY_TIMER, in nl80211_feature_flags
through which drivers can register their capability to use
the inactivity timeout to free the stations.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/nl80211.c