aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/ath5k.h
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2011-06-15 18:03:22 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-17 14:22:26 -0400
commitf5cbc8bac939f38c0c55cfaa348c170663a16767 (patch)
treedfe56ee570648b0414b7f3a8f913b081c4b6e328 /drivers/net/wireless/ath/ath5k/ath5k.h
parente707549a80d5e5b37c4b0b9b60c5836396a11163 (diff)
ath5k: minor cleanup
Move an extern variable declaration to a header file. Prefix all functions with "ath5k_". Make ath5k_intr() static. Remove unneeded forward declarations. Remove pointless "extern" in a function declaration. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/ath5k.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h
index bb50700436f..c4c02d5145c 100644
--- a/drivers/net/wireless/ath/ath5k/ath5k.h
+++ b/drivers/net/wireless/ath/ath5k/ath5k.h
@@ -767,6 +767,7 @@ struct ath5k_athchan_2ghz {
767 */ 767 */
768 768
769#define AR5K_KEYCACHE_SIZE 8 769#define AR5K_KEYCACHE_SIZE 8
770extern int ath5k_modparam_nohwcrypt;
770 771
771/***********************\ 772/***********************\
772 HW RELATED DEFINITIONS 773 HW RELATED DEFINITIONS
@@ -1180,8 +1181,8 @@ void ath5k_sysfs_unregister(struct ath5k_softc *sc);
1180struct ath5k_buf; 1181struct ath5k_buf;
1181struct ath5k_txq; 1182struct ath5k_txq;
1182 1183
1183void set_beacon_filter(struct ieee80211_hw *hw, bool enable); 1184void ath5k_set_beacon_filter(struct ieee80211_hw *hw, bool enable);
1184bool ath_any_vif_assoc(struct ath5k_softc *sc); 1185bool ath5k_any_vif_assoc(struct ath5k_softc *sc);
1185void ath5k_tx_queue(struct ieee80211_hw *hw, struct sk_buff *skb, 1186void ath5k_tx_queue(struct ieee80211_hw *hw, struct sk_buff *skb,
1186 struct ath5k_txq *txq); 1187 struct ath5k_txq *txq);
1187int ath5k_init_hw(struct ath5k_softc *sc); 1188int ath5k_init_hw(struct ath5k_softc *sc);
@@ -1253,7 +1254,7 @@ int ath5k_hw_get_frame_duration(struct ath5k_hw *ah,
1253 int len, struct ieee80211_rate *rate, bool shortpre); 1254 int len, struct ieee80211_rate *rate, bool shortpre);
1254unsigned int ath5k_hw_get_default_slottime(struct ath5k_hw *ah); 1255unsigned int ath5k_hw_get_default_slottime(struct ath5k_hw *ah);
1255unsigned int ath5k_hw_get_default_sifs(struct ath5k_hw *ah); 1256unsigned int ath5k_hw_get_default_sifs(struct ath5k_hw *ah);
1256extern int ath5k_hw_set_opmode(struct ath5k_hw *ah, enum nl80211_iftype opmode); 1257int ath5k_hw_set_opmode(struct ath5k_hw *ah, enum nl80211_iftype opmode);
1257void ath5k_hw_set_coverage_class(struct ath5k_hw *ah, u8 coverage_class); 1258void ath5k_hw_set_coverage_class(struct ath5k_hw *ah, u8 coverage_class);
1258/* RX filter control*/ 1259/* RX filter control*/
1259int ath5k_hw_set_lladdr(struct ath5k_hw *ah, const u8 *mac); 1260int ath5k_hw_set_lladdr(struct ath5k_hw *ah, const u8 *mac);