aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMarek Kwaczynski <marek.kwaczynski@tieto.com>2013-12-03 04:04:59 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-12-03 07:46:42 -0500
commit60f4a7b1676c9028edb90e22f6994ebb698c9088 (patch)
treec0604094cb9294257d9a9d5eb51d6c9c140269c2 /include/uapi/linux
parente01362265487f05b69233aab4426ab6166f7b1ec (diff)
nl80211/cfg80211: Set Operating Mode Notification
This attribute is needed for setting Operating Mode Notification in AP mode from User Space. This functionality is required when User Space received Assoc Request contains Operation Mode Notification element. Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com> [fix typos, nl80211 documentation] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nl80211.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 129b7b087148..9a4d0e18251c 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -1520,6 +1520,10 @@ enum nl80211_commands {
1520 * @NL80211_ATTR_SUPPORT_10_MHZ: A flag indicating that the device supports 1520 * @NL80211_ATTR_SUPPORT_10_MHZ: A flag indicating that the device supports
1521 * 10 MHz channel bandwidth. 1521 * 10 MHz channel bandwidth.
1522 * 1522 *
1523 * @NL80211_ATTR_OPMODE_NOTIF: Operating mode field from Operating Mode
1524 * Notification Element based on association request when used with
1525 * %NL80211_CMD_NEW_STATION; u8 attribute.
1526 *
1523 * @NL80211_ATTR_MAX: highest attribute number currently defined 1527 * @NL80211_ATTR_MAX: highest attribute number currently defined
1524 * @__NL80211_ATTR_AFTER_LAST: internal use 1528 * @__NL80211_ATTR_AFTER_LAST: internal use
1525 */ 1529 */
@@ -1839,6 +1843,8 @@ enum nl80211_attrs {
1839 NL80211_ATTR_SUPPORT_5_MHZ, 1843 NL80211_ATTR_SUPPORT_5_MHZ,
1840 NL80211_ATTR_SUPPORT_10_MHZ, 1844 NL80211_ATTR_SUPPORT_10_MHZ,
1841 1845
1846 NL80211_ATTR_OPMODE_NOTIF,
1847
1842 /* add attributes here, update the policy in nl80211.c */ 1848 /* add attributes here, update the policy in nl80211.c */
1843 1849
1844 __NL80211_ATTR_AFTER_LAST, 1850 __NL80211_ATTR_AFTER_LAST,