mac80211: Add support for BSS max idle period element
authorAvraham Stern <avraham.stern@intel.com>
Wed, 26 Apr 2017 07:58:47 +0000 (10:58 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 28 Apr 2017 10:28:45 +0000 (12:28 +0200)
commite38a017bf080d47376db340e94b9c2ffc47eb9b4
tree7e017a6ec85701cb8e32a16097c981b86c68b6ab
parent29ce6ecbb83c9185d76e3a7c340c9702d2a54961
mac80211: Add support for BSS max idle period element

Parse the BSS max idle period element and set the BSS configuration
accordingly so the driver can use this information to configure the
max idle period and to use protected management frames for keep alive
when required.

The BSS max idle period element is defined in IEEE802.11-2016,
section 9.4.2.79

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/util.c