aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-10-30 10:59:22 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-11-10 15:17:39 -0500
commit90c97a040d6b08cc4890328aa262fdc37336ab01 (patch)
treed152a2edcb55d2d7b0428721341f7b271ffe39f8 /include/linux/nl80211.h
parentfe63bfa3669dbdd4985ed35d9a0ed08881f62516 (diff)
nl80211: Add basic rate configuration for AP mode
Add a new attribute, NL80211_ATTR_BSS_BASIC_RATES, that can be used with NL80211_CMD_SET_BSS for userspace (e.g., hostapd) to set which rates are in the basic rate set. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index e4cc7869b22f..5009809588c0 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -243,6 +243,9 @@ enum nl80211_commands {
243 * (u8, 0 or 1) 243 * (u8, 0 or 1)
244 * @NL80211_ATTR_BSS_SHORT_SLOT_TIME: whether short slot time enabled 244 * @NL80211_ATTR_BSS_SHORT_SLOT_TIME: whether short slot time enabled
245 * (u8, 0 or 1) 245 * (u8, 0 or 1)
246 * @NL80211_ATTR_BSS_BASIC_RATES: basic rates, array of basic
247 * rates in format defined by IEEE 802.11 7.3.2.2 but without the length
248 * restriction (at most %NL80211_MAX_SUPP_RATES).
246 * 249 *
247 * @NL80211_ATTR_HT_CAPABILITY: HT Capability information element (from 250 * @NL80211_ATTR_HT_CAPABILITY: HT Capability information element (from
248 * association request when used with NL80211_CMD_NEW_STATION) 251 * association request when used with NL80211_CMD_NEW_STATION)
@@ -307,6 +310,8 @@ enum nl80211_attrs {
307 310
308 NL80211_ATTR_MESH_PARAMS, 311 NL80211_ATTR_MESH_PARAMS,
309 312
313 NL80211_ATTR_BSS_BASIC_RATES,
314
310 /* add attributes here, update the policy in nl80211.c */ 315 /* add attributes here, update the policy in nl80211.c */
311 316
312 __NL80211_ATTR_AFTER_LAST, 317 __NL80211_ATTR_AFTER_LAST,
@@ -318,6 +323,7 @@ enum nl80211_attrs {
318 * here 323 * here
319 */ 324 */
320#define NL80211_ATTR_HT_CAPABILITY NL80211_ATTR_HT_CAPABILITY 325#define NL80211_ATTR_HT_CAPABILITY NL80211_ATTR_HT_CAPABILITY
326#define NL80211_ATTR_BSS_BASIC_RATES NL80211_ATTR_BSS_BASIC_RATES
321 327
322#define NL80211_MAX_SUPP_RATES 32 328#define NL80211_MAX_SUPP_RATES 32
323#define NL80211_MAX_SUPP_REG_RULES 32 329#define NL80211_MAX_SUPP_REG_RULES 32