aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2010-01-08 00:06:02 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-12 14:02:05 -0500
commit556242049cc3992d0ee625e9f15c4b00ea4baac8 (patch)
tree9caceb7ff16572224efd0378c7bfd7505a2fa7e6 /drivers/net/wireless/ath/ath9k/ath9k.h
parent0fca65c1c0569d6a143e978b6f4974c519033e63 (diff)
ath9k: Add new file init.c
Move initialization/de-initialization related code to this file. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index bbdca5edcfbf..68a423054e6c 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -341,6 +341,8 @@ int ath_beaconq_config(struct ath_softc *sc);
341#define ATH_LONG_CALINTERVAL 30000 /* 30 seconds */ 341#define ATH_LONG_CALINTERVAL 30000 /* 30 seconds */
342#define ATH_RESTART_CALINTERVAL 1200000 /* 20 minutes */ 342#define ATH_RESTART_CALINTERVAL 1200000 /* 20 minutes */
343 343
344void ath_ani_calibrate(unsigned long data);
345
344/**********/ 346/**********/
345/* BTCOEX */ 347/* BTCOEX */
346/**********/ 348/**********/
@@ -519,6 +521,7 @@ struct ath_wiphy {
519 int chan_is_ht; 521 int chan_is_ht;
520}; 522};
521 523
524void ath9k_tasklet(unsigned long data);
522int ath_reset(struct ath_softc *sc, bool retry_tx); 525int ath_reset(struct ath_softc *sc, bool retry_tx);
523int ath_get_hal_qnum(u16 queue, struct ath_softc *sc); 526int ath_get_hal_qnum(u16 queue, struct ath_softc *sc);
524int ath_get_mac80211_qnum(u32 queue, struct ath_softc *sc); 527int ath_get_mac80211_qnum(u32 queue, struct ath_softc *sc);
@@ -535,6 +538,7 @@ static inline void ath_bus_cleanup(struct ath_common *common)
535} 538}
536 539
537extern struct ieee80211_ops ath9k_ops; 540extern struct ieee80211_ops ath9k_ops;
541extern int modparam_nohwcrypt;
538 542
539irqreturn_t ath_isr(int irq, void *dev); 543irqreturn_t ath_isr(int irq, void *dev);
540void ath_cleanup(struct ath_softc *sc); 544void ath_cleanup(struct ath_softc *sc);
@@ -552,6 +556,7 @@ int ath_set_channel(struct ath_softc *sc, struct ieee80211_hw *hw,
552 556
553void ath_radio_enable(struct ath_softc *sc, struct ieee80211_hw *hw); 557void ath_radio_enable(struct ath_softc *sc, struct ieee80211_hw *hw);
554void ath_radio_disable(struct ath_softc *sc, struct ieee80211_hw *hw); 558void ath_radio_disable(struct ath_softc *sc, struct ieee80211_hw *hw);
559bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode);
555 560
556#ifdef CONFIG_PCI 561#ifdef CONFIG_PCI
557int ath_pci_init(void); 562int ath_pci_init(void);