aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-09 06:20:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:00:13 -0400
commitd51626df5747efaa8d2c00678f64cb503845effe (patch)
treecd1edba321572abd8b7ce90b9ecd4d6ff4c1ef1d /include/linux/nl80211.h
parent94778280fabdb6bc76db5509bd95859f1141385b (diff)
nl80211: export HT capabilities
This exports the local HT capabilities in nl80211. Signed-off-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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 9bad65400fba..41720d47d618 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -452,17 +452,29 @@ enum nl80211_mpath_info {
452 * an array of nested frequency attributes 452 * an array of nested frequency attributes
453 * @NL80211_BAND_ATTR_RATES: supported bitrates in this band, 453 * @NL80211_BAND_ATTR_RATES: supported bitrates in this band,
454 * an array of nested bitrate attributes 454 * an array of nested bitrate attributes
455 * @NL80211_BAND_ATTR_HT_MCS_SET: 16-byte attribute containing the MCS set as
456 * defined in 802.11n
457 * @NL80211_BAND_ATTR_HT_CAPA: HT capabilities, as in the HT information IE
458 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
459 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
455 */ 460 */
456enum nl80211_band_attr { 461enum nl80211_band_attr {
457 __NL80211_BAND_ATTR_INVALID, 462 __NL80211_BAND_ATTR_INVALID,
458 NL80211_BAND_ATTR_FREQS, 463 NL80211_BAND_ATTR_FREQS,
459 NL80211_BAND_ATTR_RATES, 464 NL80211_BAND_ATTR_RATES,
460 465
466 NL80211_BAND_ATTR_HT_MCS_SET,
467 NL80211_BAND_ATTR_HT_CAPA,
468 NL80211_BAND_ATTR_HT_AMPDU_FACTOR,
469 NL80211_BAND_ATTR_HT_AMPDU_DENSITY,
470
461 /* keep last */ 471 /* keep last */
462 __NL80211_BAND_ATTR_AFTER_LAST, 472 __NL80211_BAND_ATTR_AFTER_LAST,
463 NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1 473 NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
464}; 474};
465 475
476#define NL80211_BAND_ATTR_HT_CAPA NL80211_BAND_ATTR_HT_CAPA
477
466/** 478/**
467 * enum nl80211_frequency_attr - frequency attributes 479 * enum nl80211_frequency_attr - frequency attributes
468 * @NL80211_FREQUENCY_ATTR_FREQ: Frequency in MHz 480 * @NL80211_FREQUENCY_ATTR_FREQ: Frequency in MHz