cfg80211: allow requesting SMPS mode on ap start
authorEliad Peller <eliad@wizery.com>
Wed, 10 Sep 2014 11:07:34 +0000 (14:07 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Sep 2014 11:37:02 +0000 (13:37 +0200)
commit18998c381b19bfc3c285361ff6200ded7444aa2c
tree077799dd26b28f6f54eae9a2c734ef71ff19b072
parent59cd85cbcf2ecca9736652dc0cfd2ec600d7ef2a
cfg80211: allow requesting SMPS mode on ap start

Add feature bits to indicate device support for
static-smps and dynamic-smps modes.

Add a new NL80211_ATTR_SMPS_MODE attribue to allow
configuring the smps mode to be used by the ap
(e.g. configuring to ap to dynamic smps mode will
reduce power consumption while having minor effect
on throughput)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c