aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-12-24 00:14:25 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-01-03 15:36:58 -0500
commit415ec61b66198f93962b76107f3324571475a3e2 (patch)
tree7ab89ba603e5e92095b9f4223eb0b51b34a19a16 /drivers/net/wireless/ath/ath9k/ath9k.h
parent6549a8606d0a6cc45d0984893c859a6161c227b7 (diff)
ath9k: Remove RX Poll
This patch removes the convoluted and hacky method of monitoring for connectivity. We rely on mac80211's connection loss logic and doing it in the driver is not necessary. The HW check for MAC/BB hangs is also simplified, there is no need to have a separate work instance for it. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.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.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index f2202e78fa7b..f622a986c8cc 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -455,10 +455,8 @@ bool ath9k_csa_is_finished(struct ath_softc *sc);
455 455
456void ath_tx_complete_poll_work(struct work_struct *work); 456void ath_tx_complete_poll_work(struct work_struct *work);
457void ath_reset_work(struct work_struct *work); 457void ath_reset_work(struct work_struct *work);
458void ath_hw_check(struct work_struct *work); 458bool ath_hw_check(struct ath_softc *sc);
459void ath_hw_pll_work(struct work_struct *work); 459void ath_hw_pll_work(struct work_struct *work);
460void ath_rx_poll(unsigned long data);
461void ath_start_rx_poll(struct ath_softc *sc, u8 nbeacon);
462void ath_paprd_calibrate(struct work_struct *work); 460void ath_paprd_calibrate(struct work_struct *work);
463void ath_ani_calibrate(unsigned long data); 461void ath_ani_calibrate(unsigned long data);
464void ath_start_ani(struct ath_softc *sc); 462void ath_start_ani(struct ath_softc *sc);
@@ -722,12 +720,10 @@ struct ath_softc {
722 spinlock_t sc_pcu_lock; 720 spinlock_t sc_pcu_lock;
723 struct mutex mutex; 721 struct mutex mutex;
724 struct work_struct paprd_work; 722 struct work_struct paprd_work;
725 struct work_struct hw_check_work;
726 struct work_struct hw_reset_work; 723 struct work_struct hw_reset_work;
727 struct completion paprd_complete; 724 struct completion paprd_complete;
728 wait_queue_head_t tx_wait; 725 wait_queue_head_t tx_wait;
729 726
730 unsigned int hw_busy_count;
731 unsigned long sc_flags; 727 unsigned long sc_flags;
732 unsigned long driver_data; 728 unsigned long driver_data;
733 729
@@ -761,7 +757,6 @@ struct ath_softc {
761 struct ath_beacon_config cur_beacon_conf; 757 struct ath_beacon_config cur_beacon_conf;
762 struct delayed_work tx_complete_work; 758 struct delayed_work tx_complete_work;
763 struct delayed_work hw_pll_work; 759 struct delayed_work hw_pll_work;
764 struct timer_list rx_poll_timer;
765 struct timer_list sleep_timer; 760 struct timer_list sleep_timer;
766 761
767#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT 762#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT