--/*
-- * Set the interrupt and GPIO values so the ISR can disable RF
-- * on a switch signal. Assumes GPIO port and interrupt polarity
-- * are set prior to call.
-- */
--static void ar9003_hw_enable_rfkill(struct ath_hw *ah)
--{
-- /* Connect rfsilent_bb_l to baseband */
-- REG_SET_BIT(ah, AR_GPIO_INPUT_EN_VAL,
-- AR_GPIO_INPUT_EN_VAL_RFSILENT_BB);
-- /* Set input mux for rfsilent_bb_l to GPIO #0 */
-- REG_CLR_BIT(ah, AR_GPIO_INPUT_MUX2,
-- AR_GPIO_INPUT_MUX2_RFSILENT);
--
-- /*
-- * Configure the desired GPIO port for input and
-- * enable baseband rf silence.
-- */
-- ath9k_hw_cfg_gpio_input(ah, ah->rfkill_gpio);
-- REG_SET_BIT(ah, AR_PHY_TEST, RFSILENT_BB);
--}
--
- static void ar9003_hw_set_diversity(struct ath_hw *ah, bool value)
- {
- u32 v = REG_READ(ah, AR_PHY_CCK_DETECT);
-@@ -1203,7 +1181,6 @@ void ar9003_hw_attach_phy_ops(struct ath
- priv_ops->set_delta_slope = ar9003_hw_set_delta_slope;
- priv_ops->rfbus_req = ar9003_hw_rfbus_req;
- priv_ops->rfbus_done = ar9003_hw_rfbus_done;
-- priv_ops->enable_rfkill = ar9003_hw_enable_rfkill;
- priv_ops->set_diversity = ar9003_hw_set_diversity;
- priv_ops->ani_control = ar9003_hw_ani_control;
- priv_ops->do_getnf = ar9003_hw_do_getnf;
---- a/drivers/net/wireless/ath/ath9k/ath9k.h
-+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
-@@ -189,6 +189,7 @@ struct ath_txq {
- struct list_head axq_q;
- spinlock_t axq_lock;
- u32 axq_depth;
-+ u32 axq_ampdu_depth;
- bool stopped;
- bool axq_tx_inprogress;
- struct list_head axq_acq;
---- a/drivers/net/wireless/ath/ath9k/hw-ops.h
-+++ b/drivers/net/wireless/ath/ath9k/hw-ops.h
-@@ -223,11 +223,6 @@ static inline void ath9k_hw_rfbus_done(s
- return ath9k_hw_private_ops(ah)->rfbus_done(ah);
- }
-
--static inline void ath9k_enable_rfkill(struct ath_hw *ah)
--{
-- return ath9k_hw_private_ops(ah)->enable_rfkill(ah);
--}
--
- static inline void ath9k_hw_restore_chainmask(struct ath_hw *ah)
- {
- if (!ath9k_hw_private_ops(ah)->restore_chainmask)
---- a/drivers/net/wireless/ath/ath9k/hw.c
-+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -1399,7 +1399,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st
- ath9k_hw_init_qos(ah);