diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-02-05 19:37:18 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:01 -0500 |
commit | 78330fddec4e326af5e6aede0fc97824c690ba1d (patch) | |
tree | 9786f968f45b35340432d9ee159dda4ca36a95fc /drivers/net/wireless/iwlwifi/iwl-4965.h | |
parent | b86af631b8482b908979b61d06ae7d14e5966885 (diff) |
iwlwifi: Fix HT compilation breakage caused by cfg80211 API for channels/bitrates patch
This patch fixes compilation breakage caused by 'cfg80211 API for
channels/bitrates' patch.
however it doesn't fix the driver's functional problems caused by that
patch.
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 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h index cb8f7f2a8d48..45cf4830568e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965.h | |||
@@ -772,17 +772,21 @@ extern int iwl4965_set_fat_chan_info(struct iwl4965_priv *priv, | |||
772 | extern void iwl4965_rf_kill_ct_config(struct iwl4965_priv *priv); | 772 | extern void iwl4965_rf_kill_ct_config(struct iwl4965_priv *priv); |
773 | 773 | ||
774 | #ifdef CONFIG_IWL4965_HT | 774 | #ifdef CONFIG_IWL4965_HT |
775 | extern void iwl4965_init_ht_hw_capab(struct ieee80211_ht_info *ht_info, | 775 | void iwl4965_init_ht_hw_capab(struct ieee80211_ht_info *ht_info, |
776 | int mode); | 776 | enum ieee80211_band band); |
777 | extern void iwl4965_set_rxon_ht(struct iwl4965_priv *priv, | 777 | void iwl4965_set_rxon_ht(struct iwl4965_priv *priv, |
778 | struct iwl_ht_info *ht_info); | 778 | struct iwl_ht_info *ht_info); |
779 | extern void iwl4965_set_ht_add_station(struct iwl4965_priv *priv, u8 index, | 779 | void iwl4965_set_ht_add_station(struct iwl4965_priv *priv, u8 index, |
780 | struct ieee80211_ht_info *sta_ht_inf); | 780 | struct ieee80211_ht_info *sta_ht_inf); |
781 | extern int iwl4965_mac_ampdu_action(struct ieee80211_hw *hw, | 781 | int iwl4965_mac_ampdu_action(struct ieee80211_hw *hw, |
782 | enum ieee80211_ampdu_mlme_action action, | 782 | enum ieee80211_ampdu_mlme_action action, |
783 | const u8 *addr, u16 tid, u16 *ssn); | 783 | const u8 *addr, u16 tid, u16 *ssn); |
784 | extern int iwl4965_check_empty_hw_queue(struct iwl4965_priv *priv, int sta_id, | 784 | int iwl4965_check_empty_hw_queue(struct iwl4965_priv *priv, int sta_id, |
785 | u8 tid, int txq_id); | 785 | u8 tid, int txq_id); |
786 | #else | ||
787 | static inline void iwl4965_init_ht_hw_capab(struct ieee80211_ht_info *ht_info, | ||
788 | enum ieee80211_band band) {} | ||
789 | |||
786 | #endif /*CONFIG_IWL4965_HT */ | 790 | #endif /*CONFIG_IWL4965_HT */ |
787 | /* Structures, enum, and defines specific to the 4965 */ | 791 | /* Structures, enum, and defines specific to the 4965 */ |
788 | 792 | ||