/*
* Header for the ath9k.ko driver core *only* -- hw code nor any other driver
-@@ -514,6 +515,7 @@ void ath_deinit_leds(struct ath_softc *s
+@@ -568,6 +569,7 @@ struct ath_ant_comb {
#define SC_OP_BT_PRIORITY_DETECTED BIT(12)
#define SC_OP_BT_SCAN BIT(13)
#define SC_OP_ANI_RUN BIT(14)
/* Powersave flags */
#define PS_WAIT_FOR_BEACON BIT(0)
-@@ -592,6 +594,10 @@ struct ath_softc {
+@@ -646,6 +648,10 @@ struct ath_softc {
#ifdef CONFIG_ATH9K_DEBUGFS
struct ath9k_debug debug;
#endif
struct ath_btcoex btcoex;
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -1011,6 +1011,9 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -1025,6 +1025,9 @@ int ath9k_init_debug(struct ath_hw *ah)
sc, &fops_regdump))
goto err;
return 0;
err:
ath9k_exit_debug(ah);
-@@ -1022,6 +1025,7 @@ void ath9k_exit_debug(struct ath_hw *ah)
+@@ -1036,6 +1039,7 @@ void ath9k_exit_debug(struct ath_hw *ah)
struct ath_common *common = ath9k_hw_common(ah);
struct ath_softc *sc = (struct ath_softc *) common->priv;
static inline void ath9k_hw_set11n_txdesc(struct ath_hw *ah, void *ds,
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -2446,7 +2446,7 @@ void ath9k_hw_setrxfilter(struct ath_hw
+@@ -2436,7 +2436,7 @@ void ath9k_hw_setrxfilter(struct ath_hw
phybits |= AR_PHY_ERR_RADAR;
if (bits & ATH9K_RX_FILTER_PHYERR)
phybits |= AR_PHY_ERR_OFDM_TIMING | AR_PHY_ERR_CCK_TIMING;
REG_WRITE(ah, AR_RXCFG,
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
-@@ -608,7 +608,7 @@ struct ath_hw_ops {
+@@ -604,7 +604,7 @@ struct ath_hw_ops {
const void *ds0, dma_addr_t buf_addr,
unsigned int qcu);
int (*proc_txdesc)(struct ath_hw *ah, void *ds,
void (*set11n_txdesc)(struct ath_hw *ah, void *ds,
u32 pktLen, enum ath9k_pkt_type type,
u32 txPower, u32 keyIx,
-@@ -837,6 +837,8 @@ struct ath_hw {
+@@ -833,6 +833,8 @@ struct ath_hw {
* this register when in sleep states.
*/
u32 WARegVal;
if (conf_is_ht(&sc->hw->conf) &&
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
-@@ -1083,6 +1083,7 @@ int ath_rx_tasklet(struct ath_softc *sc,
+@@ -1624,6 +1624,7 @@ int ath_rx_tasklet(struct ath_softc *sc,
struct ieee80211_rx_status *rxs;
struct ath_hw *ah = sc->sc_ah;
struct ath_common *common = ath9k_hw_common(ah);
/*
* The hw can techncically differ from common->hw when using ath9k
* virtual wiphy so to account for that we iterate over the active
-@@ -1174,12 +1175,24 @@ int ath_rx_tasklet(struct ath_softc *sc,
+@@ -1715,12 +1716,24 @@ int ath_rx_tasklet(struct ath_softc *sc,
dma_type);
skb_put(skb, rs.rs_datalen + ah->caps.rx_status_len);