diff options
author | Guy Cohen <guy.cohen@intel.com> | 2008-04-21 18:42:01 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-07 15:02:16 -0400 |
commit | fde0db310fd4979e0d8e6ba009975d23cc7e65ac (patch) | |
tree | 79bc5dab39cce0cbc2b4d40433b53c048efbd38a /drivers/net/wireless/iwlwifi/iwl-4965.h | |
parent | d1141dfb3ab5545491e3aa15b7f0d7330a186281 (diff) |
iwlwifi: HT antenna/chains overhaul
1. This patch restructures rate scale algorithm to support
SISO, MIMO2, MIMO3
2. It adds support for detailed valid TX and RX antennas settings
3. It removes few unesfull antenna definitions
Signed-off-by: Guy Cohen <guy.cohen@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h index 07209f85cb5f..6df51cca2289 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965.h | |||
@@ -71,12 +71,6 @@ extern struct iwl_cfg iwl4965_agn_cfg; | |||
71 | * averages within an s8's (used in some apps) range of negative values. */ | 71 | * averages within an s8's (used in some apps) range of negative values. */ |
72 | #define IWL_NOISE_MEAS_NOT_AVAILABLE (-127) | 72 | #define IWL_NOISE_MEAS_NOT_AVAILABLE (-127) |
73 | 73 | ||
74 | enum iwl4965_antenna { | ||
75 | IWL_ANTENNA_DIVERSITY, | ||
76 | IWL_ANTENNA_MAIN, | ||
77 | IWL_ANTENNA_AUX | ||
78 | }; | ||
79 | |||
80 | /* | 74 | /* |
81 | * RTS threshold here is total size [2347] minus 4 FCS bytes | 75 | * RTS threshold here is total size [2347] minus 4 FCS bytes |
82 | * Per spec: | 76 | * Per spec: |
@@ -763,9 +757,9 @@ extern void iwl4965_hwrate_to_tx_control(struct iwl_priv *priv, | |||
763 | struct ieee80211_tx_control *control); | 757 | struct ieee80211_tx_control *control); |
764 | 758 | ||
765 | #ifdef CONFIG_IWL4965_HT | 759 | #ifdef CONFIG_IWL4965_HT |
766 | void iwl4965_init_ht_hw_capab(struct iwl_priv *priv, | 760 | extern void iwl4965_init_ht_hw_capab(const struct iwl_priv *priv, |
767 | struct ieee80211_ht_info *ht_info, | 761 | struct ieee80211_ht_info *ht_info, |
768 | enum ieee80211_band band); | 762 | enum ieee80211_band band); |
769 | void iwl4965_set_rxon_ht(struct iwl_priv *priv, | 763 | void iwl4965_set_rxon_ht(struct iwl_priv *priv, |
770 | struct iwl_ht_info *ht_info); | 764 | struct iwl_ht_info *ht_info); |
771 | void iwl4965_set_ht_add_station(struct iwl_priv *priv, u8 index, | 765 | void iwl4965_set_ht_add_station(struct iwl_priv *priv, u8 index, |
@@ -776,7 +770,7 @@ int iwl4965_mac_ampdu_action(struct ieee80211_hw *hw, | |||
776 | int iwl4965_check_empty_hw_queue(struct iwl_priv *priv, int sta_id, | 770 | int iwl4965_check_empty_hw_queue(struct iwl_priv *priv, int sta_id, |
777 | u8 tid, int txq_id); | 771 | u8 tid, int txq_id); |
778 | #else | 772 | #else |
779 | static inline void iwl4965_init_ht_hw_capab(struct iwl_priv *priv, | 773 | static inline void iwl4965_init_ht_hw_capab(const struct iwl_priv *priv, |
780 | struct ieee80211_ht_info *ht_info, | 774 | struct ieee80211_ht_info *ht_info, |
781 | enum ieee80211_band band) {} | 775 | enum ieee80211_band band) {} |
782 | 776 | ||
@@ -1052,7 +1046,6 @@ struct iwl_priv { | |||
1052 | 1046 | ||
1053 | u8 assoc_station_added; | 1047 | u8 assoc_station_added; |
1054 | u8 use_ant_b_for_management_frame; /* Tx antenna selection */ | 1048 | u8 use_ant_b_for_management_frame; /* Tx antenna selection */ |
1055 | u8 valid_antenna; /* Bit mask of antennas actually connected */ | ||
1056 | u8 start_calib; | 1049 | u8 start_calib; |
1057 | #ifdef CONFIG_IWLWIFI_RUN_TIME_CALIB | 1050 | #ifdef CONFIG_IWLWIFI_RUN_TIME_CALIB |
1058 | struct iwl_sensitivity_data sensitivity_data; | 1051 | struct iwl_sensitivity_data sensitivity_data; |