From: Luis R. Rodriguez Date: Tue, 25 May 2010 23:16:31 +0000 (-0700) Subject: compat-wireless: update the atheros crap patches X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1775b1d1aa0e2a4ace912a54eab9410d4cd62b81;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: update the atheros crap patches Signed-off-by: Luis R. Rodriguez --- diff --git a/crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch b/crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch index e8011d8fe25e..2b5952ee6cb1 100644 --- a/crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch +++ b/crap/0001-ath9k-Add-debugfs-interface-to-dump-registers.patch @@ -1,7 +1,6 @@ - Reason for not yet publishing: This code needs more testing. -From 31c64cc62c514a7aab703a59dc3146e1885fc6aa Mon Sep 17 00:00:00 2001 +From a5a429dccaa271988a8125eb8ef0bf8f22ea8d38 Mon Sep 17 00:00:00 2001 From: Vasanthakumar Thiagarajan Date: Fri, 16 Apr 2010 12:07:51 -0700 Subject: [PATCH 1/3] ath9k: Add debugfs interface to dump registers diff --git a/crap/0002-ath9k-Add-pktlog-support.patch b/crap/0002-ath9k-Add-pktlog-support.patch index 9445dece3bd9..4bea274e1495 100644 --- a/crap/0002-ath9k-Add-pktlog-support.patch +++ b/crap/0002-ath9k-Add-pktlog-support.patch @@ -1,7 +1,7 @@ Reason for not yet publishing: This code needs more testing and enhancements. -From 6f1ee5d1c3a9d4350ef571ac74aa65e4cb17c51c Mon Sep 17 00:00:00 2001 +From 067eeff8bf0ddb90ea77bf088f924c2a165a98d1 Mon Sep 17 00:00:00 2001 From: Vasanthakumar Thiagarajan Date: Wed, 14 Apr 2010 11:36:44 -0700 Subject: [PATCH 2/3] ath9k: Add pktlog support @@ -174,10 +174,10 @@ index 624422a..4fbfa66 100644 static inline void ath9k_hw_set11n_txdesc(struct ath_hw *ah, void *ds, diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c -index 1ded0b7..fe0a60b 100644 +index e70d7fe..174d5b6 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -2465,7 +2465,7 @@ void ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits) +@@ -2476,7 +2476,7 @@ void ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits) phybits |= AR_PHY_ERR_RADAR; if (bits & ATH9K_RX_FILTER_PHYERR) phybits |= AR_PHY_ERR_OFDM_TIMING | AR_PHY_ERR_CCK_TIMING; @@ -1335,10 +1335,10 @@ index f5180d3..534bb75 100644 /* Check if aggregation has to be enabled for this tid */ if (conf_is_ht(&sc->hw->conf) && diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c -index fc15b4b..b29c284 100644 +index 777f6a3..4733730 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c -@@ -1079,6 +1079,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp) +@@ -1085,6 +1085,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp) struct ieee80211_rx_status *rxs; struct ath_hw *ah = sc->sc_ah; struct ath_common *common = ath9k_hw_common(ah); @@ -1346,7 +1346,7 @@ index fc15b4b..b29c284 100644 /* * The hw can techncically differ from common->hw when using ath9k * virtual wiphy so to account for that we iterate over the active -@@ -1156,12 +1157,24 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp) +@@ -1162,12 +1163,24 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp) dma_type); skb_put(skb, rs.rs_datalen + ah->caps.rx_status_len); diff --git a/crap/0003-ath9k-enable-AR9003-PCI-IDs.patch b/crap/0003-ath9k-enable-AR9003-PCI-IDs.patch index 9f001ed9ebe1..30a08b72858b 100644 --- a/crap/0003-ath9k-enable-AR9003-PCI-IDs.patch +++ b/crap/0003-ath9k-enable-AR9003-PCI-IDs.patch @@ -2,7 +2,7 @@ Reason for not yet publishing: This code will only be added once AR9003 support is completed. It makes no sense to enable AR9003 until we are completely satisfied with all the code. -From a685dc0cdbc728510cd612c613a4382419b85c17 Mon Sep 17 00:00:00 2001 +From b46903df1aaf40d3b4957c9eaf1188341aab4d28 Mon Sep 17 00:00:00 2001 From: Luis R. Rodriguez Date: Thu, 13 May 2010 17:33:23 -0700 Subject: [PATCH 3/3] ath9k: enable AR9003 PCI IDs