aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2009-04-26 10:09:32 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-05-06 15:14:50 -0400
commit35f00cfcc06bb85e0659f9847400518008d78145 (patch)
treedccebd4dd7cde975d857d1fb3f28dd1e467fa72f /drivers/net/wireless/rt2x00/rt2x00.h
parent9f1661718c7fcf82e25c6aed20b729ee372d9d65 (diff)
rt2x00: Implement support for 802.11n
Extend rt2x00lib capabilities to support 802.11n, it still lacks aggregation support, but that can be added in the future. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index 7c5cbb192a6c..ebe5f276679b 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -366,6 +366,7 @@ static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif *vif)
366 * for @tx_power_a, @tx_power_bg and @channels. 366 * for @tx_power_a, @tx_power_bg and @channels.
367 * @channels: Device/chipset specific channel values (See &struct rf_channel). 367 * @channels: Device/chipset specific channel values (See &struct rf_channel).
368 * @channels_info: Additional information for channels (See &struct channel_info). 368 * @channels_info: Additional information for channels (See &struct channel_info).
369 * @ht: Driver HT Capabilities (See &ieee80211_sta_ht_cap).
369 */ 370 */
370struct hw_mode_spec { 371struct hw_mode_spec {
371 unsigned int supported_bands; 372 unsigned int supported_bands;
@@ -379,6 +380,8 @@ struct hw_mode_spec {
379 unsigned int num_channels; 380 unsigned int num_channels;
380 const struct rf_channel *channels; 381 const struct rf_channel *channels;
381 const struct channel_info *channels_info; 382 const struct channel_info *channels_info;
383
384 struct ieee80211_sta_ht_cap ht;
382}; 385};
383 386
384/* 387/*
@@ -616,6 +619,7 @@ enum rt2x00_flags {
616 CONFIG_EXTERNAL_LNA_BG, 619 CONFIG_EXTERNAL_LNA_BG,
617 CONFIG_DOUBLE_ANTENNA, 620 CONFIG_DOUBLE_ANTENNA,
618 CONFIG_DISABLE_LINK_TUNING, 621 CONFIG_DISABLE_LINK_TUNING,
622 CONFIG_CHANNEL_HT40,
619}; 623};
620 624
621/* 625/*
@@ -788,6 +792,13 @@ struct rt2x00_dev {
788 u8 freq_offset; 792 u8 freq_offset;
789 793
790 /* 794 /*
795 * Calibration information (for rt2800usb & rt2800pci).
796 * [0] -> BW20
797 * [1] -> BW40
798 */
799 u8 calibration[2];
800
801 /*
791 * Low level statistics which will have 802 * Low level statistics which will have
792 * to be kept up to date while device is running. 803 * to be kept up to date while device is running.
793 */ 804 */