From: Luis R. Rodriguez Date: Wed, 15 Sep 2010 22:05:50 +0000 (-0700) Subject: compat-wireless: refresh crap patches X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9c4742526cf4534adbcbc92bd6f64c32e0489766;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: refresh crap patches Signed-off-by: Luis R. Rodriguez --- diff --git a/crap/0002-ath9k-Add-pktlog-support.patch b/crap/0002-ath9k-Add-pktlog-support.patch index 44ddc066df50..92063827c5c7 100644 --- a/crap/0002-ath9k-Add-pktlog-support.patch +++ b/crap/0002-ath9k-Add-pktlog-support.patch @@ -105,7 +105,7 @@ Signed-off-by: Vasanthakumar Thiagarajan /* * 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) @@ -113,7 +113,7 @@ Signed-off-by: Vasanthakumar Thiagarajan /* 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 @@ -126,7 +126,7 @@ Signed-off-by: Vasanthakumar Thiagarajan 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; @@ -136,7 +136,7 @@ Signed-off-by: Vasanthakumar Thiagarajan 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; @@ -161,7 +161,7 @@ Signed-off-by: Vasanthakumar Thiagarajan 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; @@ -172,7 +172,7 @@ Signed-off-by: Vasanthakumar Thiagarajan 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, @@ -181,7 +181,7 @@ Signed-off-by: Vasanthakumar Thiagarajan 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; @@ -1310,7 +1310,7 @@ Signed-off-by: Vasanthakumar Thiagarajan 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); @@ -1318,7 +1318,7 @@ Signed-off-by: Vasanthakumar Thiagarajan /* * 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);