aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-09-10 07:07:34 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-09-11 07:37:02 -0400
commit18998c381b19bfc3c285361ff6200ded7444aa2c (patch)
tree077799dd26b28f6f54eae9a2c734ef71ff19b072 /include/net/cfg80211.h
parent59cd85cbcf2ecca9736652dc0cfd2ec600d7ef2a (diff)
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>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 2ed1f80f7eb6..a2ddcf2398fd 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -664,6 +664,7 @@ struct cfg80211_acl_data {
664 * @crypto: crypto settings 664 * @crypto: crypto settings
665 * @privacy: the BSS uses privacy 665 * @privacy: the BSS uses privacy
666 * @auth_type: Authentication type (algorithm) 666 * @auth_type: Authentication type (algorithm)
667 * @smps_mode: SMPS mode
667 * @inactivity_timeout: time in seconds to determine station's inactivity. 668 * @inactivity_timeout: time in seconds to determine station's inactivity.
668 * @p2p_ctwindow: P2P CT Window 669 * @p2p_ctwindow: P2P CT Window
669 * @p2p_opp_ps: P2P opportunistic PS 670 * @p2p_opp_ps: P2P opportunistic PS
@@ -682,6 +683,7 @@ struct cfg80211_ap_settings {
682 struct cfg80211_crypto_settings crypto; 683 struct cfg80211_crypto_settings crypto;
683 bool privacy; 684 bool privacy;
684 enum nl80211_auth_type auth_type; 685 enum nl80211_auth_type auth_type;
686 enum nl80211_smps_mode smps_mode;
685 int inactivity_timeout; 687 int inactivity_timeout;
686 u8 p2p_ctwindow; 688 u8 p2p_ctwindow;
687 bool p2p_opp_ps; 689 bool p2p_opp_ps;