aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAssaf Krauss <assaf.krauss@intel.com>2014-09-03 08:25:00 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-09-05 07:52:08 -0400
commit1c7e23bf50264a251de53ad9fb1604683b801258 (patch)
tree72f695fbc7e13e32247040bc2809df13b64e5489 /include
parent6188c271f0f2cbc89a52981d252107f7f409f45f (diff)
nl80211: Allow declaring RRM-related features
Radio Resource Measurement (RRM) is a bundle of features which will require the entire stack to participate. In this patch, the driver is given the opportunity to advertise the device's support for these RRM-related features, using feature flags: 1. Support for Quiet IEs. 2. Support for adding DS Parameter Set IE to probe requests. 3. Support for adding WFA TPC Report IE to probe requests. 4. Support for inserting tx power value to tx-ed packets at a fixed offset. This is used in action frames, such as RRM's Link Measurement Report, where the actual tx power should be reported in the frame. Signed-off-by: Assaf Krauss <assaf.krauss@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nl80211.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index d097568da690..c166d3d23e55 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -3968,6 +3968,16 @@ enum nl80211_ap_sme_features {
3968 * @NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE: This driver supports dynamic 3968 * @NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE: This driver supports dynamic
3969 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the 3969 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the
3970 * lifetime of a BSS. 3970 * lifetime of a BSS.
3971 * @NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES: This device adds a DS Parameter
3972 * Set IE to probe requests.
3973 * @NL80211_FEATURE_WFA_TPC_IE_IN_PROBES: This device adds a WFA TPC Report IE
3974 * to probe requests.
3975 * @NL80211_FEATURE_QUIET: This device, in client mode, supports Quiet Period
3976 * requests sent to it by an AP.
3977 * @NL80211_FEATURE_TX_POWER_INSERTION: This device is capable of inserting the
3978 * current tx power value into the TPC Report IE in the spectrum
3979 * management TPC Report action frame, and in the Radio Measurement Link
3980 * Measurement Report action frame.
3971 */ 3981 */
3972enum nl80211_feature_flags { 3982enum nl80211_feature_flags {
3973 NL80211_FEATURE_SK_TX_STATUS = 1 << 0, 3983 NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
@@ -3989,6 +3999,10 @@ enum nl80211_feature_flags {
3989 NL80211_FEATURE_USERSPACE_MPM = 1 << 16, 3999 NL80211_FEATURE_USERSPACE_MPM = 1 << 16,
3990 NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17, 4000 NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17,
3991 NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 1 << 18, 4001 NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 1 << 18,
4002 NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 1 << 19,
4003 NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 1 << 20,
4004 NL80211_FEATURE_QUIET = 1 << 21,
4005 NL80211_FEATURE_TX_POWER_INSERTION = 1 << 22,
3992}; 4006};
3993 4007
3994/** 4008/**