diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2010-11-19 06:40:25 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-08 15:38:43 -0500 |
commit | 50b12f597be354a5a224f05c65c54c0667e57aec (patch) | |
tree | db4c59639d3d1bc013a2c3d7e17c47db2f94efc0 /include/linux/nl80211.h | |
parent | 7659a193f94c0003dd06e9e874d19bade1a8c952 (diff) |
cfg80211: Add new BSS attribute ht_opmode
Add a new BSS attribute to allow hostapd to set the current HT opmode.
Otherwise drivers won't be able to set up protection for HT rates in
AP mode.
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 8e28053ea423..380421253d16 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -849,6 +849,8 @@ enum nl80211_commands { | |||
849 | * flag isn't set, the frame will be rejected. This is also used as an | 849 | * flag isn't set, the frame will be rejected. This is also used as an |
850 | * nl80211 capability flag. | 850 | * nl80211 capability flag. |
851 | * | 851 | * |
852 | * @NL80211_ATTR_BSS_HTOPMODE: HT operation mode (u16) | ||
853 | * | ||
852 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 854 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
853 | * @__NL80211_ATTR_AFTER_LAST: internal use | 855 | * @__NL80211_ATTR_AFTER_LAST: internal use |
854 | */ | 856 | */ |
@@ -1025,6 +1027,8 @@ enum nl80211_attrs { | |||
1025 | 1027 | ||
1026 | NL80211_ATTR_OFFCHANNEL_TX_OK, | 1028 | NL80211_ATTR_OFFCHANNEL_TX_OK, |
1027 | 1029 | ||
1030 | NL80211_ATTR_BSS_HT_OPMODE, | ||
1031 | |||
1028 | /* add attributes here, update the policy in nl80211.c */ | 1032 | /* add attributes here, update the policy in nl80211.c */ |
1029 | 1033 | ||
1030 | __NL80211_ATTR_AFTER_LAST, | 1034 | __NL80211_ATTR_AFTER_LAST, |