aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorAssaf Krauss <assaf.krauss@intel.com>2014-09-03 08:25:01 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-09-05 07:52:08 -0400
commitbab5ab7d2a5466406e8003d038cc7ce6b2d5d804 (patch)
tree4efa1ae46d6dce226fd8f389720c10b4a198634c /include/uapi
parent1c7e23bf50264a251de53ad9fb1604683b801258 (diff)
nl80211: Add flag attribute for RRM connections
Add a flag attribute to use in associations, for tagging the target connection as supporting RRM. It is the responsibility of upper layers to set this flag only if both the underlying device, and the target network indeed support RRM. To be used in ASSOCIATE and CONNECT commands. 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/uapi')
-rw-r--r--include/uapi/linux/nl80211.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index c166d3d23e55..de69d3df5e55 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -1594,6 +1594,17 @@ enum nl80211_commands {
1594 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is 1594 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
1595 * the TDLS link initiator. 1595 * the TDLS link initiator.
1596 * 1596 *
1597 * @NL80211_ATTR_USE_RRM: flag for indicating whether the current connection
1598 * shall support Radio Resource Measurements (11k). This attribute can be
1599 * used with %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests.
1600 * User space applications are expected to use this flag only if the
1601 * underlying device supports these minimal RRM features:
1602 * %NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES,
1603 * %NL80211_FEATURE_QUIET,
1604 * If this flag is used, driver must add the Power Capabilities IE to the
1605 * association request. In addition, it must also set the RRM capability
1606 * flag in the association request's Capability Info field.
1607 *
1597 * @NL80211_ATTR_MAX: highest attribute number currently defined 1608 * @NL80211_ATTR_MAX: highest attribute number currently defined
1598 * @__NL80211_ATTR_AFTER_LAST: internal use 1609 * @__NL80211_ATTR_AFTER_LAST: internal use
1599 */ 1610 */
@@ -1936,6 +1947,8 @@ enum nl80211_attrs {
1936 1947
1937 NL80211_ATTR_TDLS_INITIATOR, 1948 NL80211_ATTR_TDLS_INITIATOR,
1938 1949
1950 NL80211_ATTR_USE_RRM,
1951
1939 /* add attributes here, update the policy in nl80211.c */ 1952 /* add attributes here, update the policy in nl80211.c */
1940 1953
1941 __NL80211_ATTR_AFTER_LAST, 1954 __NL80211_ATTR_AFTER_LAST,