diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-01-08 00:06:02 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 14:02:05 -0500 |
commit | 556242049cc3992d0ee625e9f15c4b00ea4baac8 (patch) | |
tree | 9caceb7ff16572224efd0378c7bfd7505a2fa7e6 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 0fca65c1c0569d6a143e978b6f4974c519033e63 (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.h | 5 |
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 | ||
344 | void 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 | ||
524 | void ath9k_tasklet(unsigned long data); | ||
522 | int ath_reset(struct ath_softc *sc, bool retry_tx); | 525 | int ath_reset(struct ath_softc *sc, bool retry_tx); |
523 | int ath_get_hal_qnum(u16 queue, struct ath_softc *sc); | 526 | int ath_get_hal_qnum(u16 queue, struct ath_softc *sc); |
524 | int ath_get_mac80211_qnum(u32 queue, struct ath_softc *sc); | 527 | int 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 | ||
537 | extern struct ieee80211_ops ath9k_ops; | 540 | extern struct ieee80211_ops ath9k_ops; |
541 | extern int modparam_nohwcrypt; | ||
538 | 542 | ||
539 | irqreturn_t ath_isr(int irq, void *dev); | 543 | irqreturn_t ath_isr(int irq, void *dev); |
540 | void ath_cleanup(struct ath_softc *sc); | 544 | void ath_cleanup(struct ath_softc *sc); |
@@ -552,6 +556,7 @@ int ath_set_channel(struct ath_softc *sc, struct ieee80211_hw *hw, | |||
552 | 556 | ||
553 | void ath_radio_enable(struct ath_softc *sc, struct ieee80211_hw *hw); | 557 | void ath_radio_enable(struct ath_softc *sc, struct ieee80211_hw *hw); |
554 | void ath_radio_disable(struct ath_softc *sc, struct ieee80211_hw *hw); | 558 | void ath_radio_disable(struct ath_softc *sc, struct ieee80211_hw *hw); |
559 | bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode); | ||
555 | 560 | ||
556 | #ifdef CONFIG_PCI | 561 | #ifdef CONFIG_PCI |
557 | int ath_pci_init(void); | 562 | int ath_pci_init(void); |