aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
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 */