projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath9k: disable MAC sample debugging, it is almost never used and wastes precious...
[openwrt.git]
/
package
/
mac80211
/
patches
/
550-ath9k_debug_remove_packet_rssi.patch
diff --git
a/package/mac80211/patches/550-ath9k_debug_remove_packet_rssi.patch
b/package/mac80211/patches/550-ath9k_debug_remove_packet_rssi.patch
index
01d64ba
..
ac94336
100644
(file)
--- a/
package/mac80211/patches/550-ath9k_debug_remove_packet_rssi.patch
+++ b/
package/mac80211/patches/550-ath9k_debug_remove_packet_rssi.patch
@@
-1,6
+1,6
@@
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -94
2,27 +942
,6 @@ static ssize_t read_file_recv(struct fil
+@@ -94
4,27 +944
,6 @@ static ssize_t read_file_recv(struct fil
PHY_ERR("HT-RATE ERR", ATH9K_PHYERR_HT_RATE_ILLEGAL);
len += snprintf(buf + len, size - len,
PHY_ERR("HT-RATE ERR", ATH9K_PHYERR_HT_RATE_ILLEGAL);
len += snprintf(buf + len, size - len,
@@
-28,7
+28,7
@@
"%22s : %10u\n", "RX-Pkts-All",
sc->debug.stats.rxstats.rx_pkts_all);
len += snprintf(buf + len, size - len,
"%22s : %10u\n", "RX-Pkts-All",
sc->debug.stats.rxstats.rx_pkts_all);
len += snprintf(buf + len, size - len,
-@@ -10
09,16 +988
,6 @@ void ath_debug_stat_rx(struct ath_softc
+@@ -10
11,16 +990
,6 @@ void ath_debug_stat_rx(struct ath_softc
RX_PHY_ERR_INC(rs->rs_phyerr);
}
RX_PHY_ERR_INC(rs->rs_phyerr);
}
@@
-42,9
+42,9
@@
-
- sc->debug.stats.rxstats.rs_antenna = rs->rs_antenna;
-
-
- sc->debug.stats.rxstats.rs_antenna = rs->rs_antenna;
-
+ #ifdef CONFIG_ATH9K_MAC_DEBUG
spin_lock(&sc->debug.samp_lock);
RX_SAMP_DBG(jiffies) = jiffies;
spin_lock(&sc->debug.samp_lock);
RX_SAMP_DBG(jiffies) = jiffies;
- RX_SAMP_DBG(rssi_ctl0) = rs->rs_rssi_ctl0;
--- a/drivers/net/wireless/ath/ath9k/debug.h
+++ b/drivers/net/wireless/ath/ath9k/debug.h
@@ -165,13 +165,6 @@ struct ath_rx_stats {
--- a/drivers/net/wireless/ath/ath9k/debug.h
+++ b/drivers/net/wireless/ath/ath9k/debug.h
@@ -165,13 +165,6 @@ struct ath_rx_stats {
This page took
0.026708 seconds
and
4
git commands to generate.