aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 802f1a12b1aa..59a6960f41b3 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -401,7 +401,6 @@ struct iwl_rx_queue {
401#define IWL_INVALID_RATE 0xFF 401#define IWL_INVALID_RATE 0xFF
402#define IWL_INVALID_VALUE -1 402#define IWL_INVALID_VALUE -1
403 403
404#ifdef CONFIG_IWL4965_HT
405/** 404/**
406 * struct iwl_ht_agg -- aggregation status while waiting for block-ack 405 * struct iwl_ht_agg -- aggregation status while waiting for block-ack
407 * @txq_id: Tx queue used for Tx attempt 406 * @txq_id: Tx queue used for Tx attempt
@@ -430,14 +429,11 @@ struct iwl_ht_agg {
430 u8 state; 429 u8 state;
431}; 430};
432 431
433#endif /* CONFIG_IWL4965_HT */
434 432
435struct iwl_tid_data { 433struct iwl_tid_data {
436 u16 seq_number; 434 u16 seq_number;
437 u16 tfds_in_queue; 435 u16 tfds_in_queue;
438#ifdef CONFIG_IWL4965_HT
439 struct iwl_ht_agg agg; 436 struct iwl_ht_agg agg;
440#endif /* CONFIG_IWL4965_HT */
441}; 437};
442 438
443struct iwl_hw_key { 439struct iwl_hw_key {
@@ -752,7 +748,6 @@ extern void iwl4965_hwrate_to_tx_control(struct iwl_priv *priv,
752 u32 rate_n_flags, 748 u32 rate_n_flags,
753 struct ieee80211_tx_info *info); 749 struct ieee80211_tx_info *info);
754 750
755#ifdef CONFIG_IWL4965_HT
756extern void iwl4965_init_ht_hw_capab(const struct iwl_priv *priv, 751extern void iwl4965_init_ht_hw_capab(const struct iwl_priv *priv,
757 struct ieee80211_ht_info *ht_info, 752 struct ieee80211_ht_info *ht_info,
758 enum ieee80211_band band); 753 enum ieee80211_band band);
@@ -763,12 +758,7 @@ int iwl4965_mac_ampdu_action(struct ieee80211_hw *hw,
763 const u8 *addr, u16 tid, u16 *ssn); 758 const u8 *addr, u16 tid, u16 *ssn);
764int iwl4965_check_empty_hw_queue(struct iwl_priv *priv, int sta_id, 759int iwl4965_check_empty_hw_queue(struct iwl_priv *priv, int sta_id,
765 u8 tid, int txq_id); 760 u8 tid, int txq_id);
766#else
767static inline void iwl4965_init_ht_hw_capab(const struct iwl_priv *priv,
768 struct ieee80211_ht_info *ht_info,
769 enum ieee80211_band band) {}
770 761
771#endif /*CONFIG_IWL4965_HT */
772/* Structures, enum, and defines specific to the 4965 */ 762/* Structures, enum, and defines specific to the 4965 */
773 763
774#define IWL_KW_SIZE 0x1000 /*4k */ 764#define IWL_KW_SIZE 0x1000 /*4k */
@@ -1073,9 +1063,7 @@ struct iwl_priv {
1073 __le16 sensitivity_tbl[HD_TABLE_SIZE]; 1063 __le16 sensitivity_tbl[HD_TABLE_SIZE];
1074#endif /*CONFIG_IWLWIFI_RUN_TIME_CALIB*/ 1064#endif /*CONFIG_IWLWIFI_RUN_TIME_CALIB*/
1075 1065
1076#ifdef CONFIG_IWL4965_HT
1077 struct iwl_ht_info current_ht_config; 1066 struct iwl_ht_info current_ht_config;
1078#endif
1079 u8 last_phy_res[100]; 1067 u8 last_phy_res[100];
1080 1068
1081 /* Rate scaling data */ 1069 /* Rate scaling data */
@@ -1250,7 +1238,6 @@ static inline const char *iwl_get_tx_fail_reason(u32 status) { return ""; }
1250#endif 1238#endif
1251 1239
1252 1240
1253#ifdef CONFIG_IWL4965_HT
1254static inline int iwl_get_ra_sta_id(struct iwl_priv *priv, 1241static inline int iwl_get_ra_sta_id(struct iwl_priv *priv,
1255 struct ieee80211_hdr *hdr) 1242 struct ieee80211_hdr *hdr)
1256{ 1243{
@@ -1270,7 +1257,6 @@ static inline struct ieee80211_hdr *iwl_tx_queue_get_hdr(struct iwl_priv *priv,
1270 txb[idx].skb[0]->data; 1257 txb[idx].skb[0]->data;
1271 return NULL; 1258 return NULL;
1272} 1259}
1273#endif
1274 1260
1275 1261
1276static inline int iwl_is_associated(struct iwl_priv *priv) 1262static inline int iwl_is_associated(struct iwl_priv *priv)