2011-10-08 17:48:23 +03:00
|
|
|
--- a/drivers/net/wireless/ath/ath9k/debug.c
|
|
|
|
+++ b/drivers/net/wireless/ath/ath9k/debug.c
|
2012-03-01 17:13:33 +02:00
|
|
|
@@ -944,27 +944,6 @@ static ssize_t read_file_recv(struct fil
|
2012-02-28 00:56:05 +02:00
|
|
|
PHY_ERR("HT-RATE ERR", ATH9K_PHYERR_HT_RATE_ILLEGAL);
|
2011-10-08 17:48:23 +03:00
|
|
|
|
2012-02-28 00:56:05 +02:00
|
|
|
len += snprintf(buf + len, size - len,
|
|
|
|
- "%22s : %10d\n", "RSSI-CTL0",
|
2011-10-08 17:48:23 +03:00
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ctl0);
|
|
|
|
- len += snprintf(buf + len, size - len,
|
2012-02-28 00:56:05 +02:00
|
|
|
- "%22s : %10d\n", "RSSI-CTL1",
|
2011-10-08 17:48:23 +03:00
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ctl1);
|
|
|
|
- len += snprintf(buf + len, size - len,
|
2012-02-28 00:56:05 +02:00
|
|
|
- "%22s : %10d\n", "RSSI-CTL2",
|
2011-10-08 17:48:23 +03:00
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ctl2);
|
|
|
|
- len += snprintf(buf + len, size - len,
|
2012-02-28 00:56:05 +02:00
|
|
|
- "%22s : %10d\n", "RSSI-EXT0",
|
2011-10-08 17:48:23 +03:00
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ext0);
|
|
|
|
- len += snprintf(buf + len, size - len,
|
2012-02-28 00:56:05 +02:00
|
|
|
- "%22s : %10d\n", "RSSI-EXT1",
|
2011-10-08 17:48:23 +03:00
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ext1);
|
|
|
|
- len += snprintf(buf + len, size - len,
|
2012-02-28 00:56:05 +02:00
|
|
|
- "%22s : %10d\n", "RSSI-EXT2",
|
2011-10-08 17:48:23 +03:00
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ext2);
|
|
|
|
- len += snprintf(buf + len, size - len,
|
2012-02-28 00:56:05 +02:00
|
|
|
- "%22s : %10d\n", "Rx Antenna",
|
2011-10-08 17:48:23 +03:00
|
|
|
- sc->debug.stats.rxstats.rs_antenna);
|
2012-02-28 00:56:05 +02:00
|
|
|
- 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,
|
2012-03-01 17:13:33 +02:00
|
|
|
@@ -1011,16 +990,6 @@ void ath_debug_stat_rx(struct ath_softc
|
2012-02-28 00:56:05 +02:00
|
|
|
RX_PHY_ERR_INC(rs->rs_phyerr);
|
2011-10-08 17:48:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ctl0 = rs->rs_rssi_ctl0;
|
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ctl1 = rs->rs_rssi_ctl1;
|
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ctl2 = rs->rs_rssi_ctl2;
|
|
|
|
-
|
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ext0 = rs->rs_rssi_ext0;
|
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ext1 = rs->rs_rssi_ext1;
|
|
|
|
- sc->debug.stats.rxstats.rs_rssi_ext2 = rs->rs_rssi_ext2;
|
|
|
|
-
|
|
|
|
- sc->debug.stats.rxstats.rs_antenna = rs->rs_antenna;
|
|
|
|
-
|
2012-03-01 17:13:33 +02:00
|
|
|
#ifdef CONFIG_ATH9K_MAC_DEBUG
|
2011-10-08 17:48:23 +03:00
|
|
|
spin_lock(&sc->debug.samp_lock);
|
|
|
|
RX_SAMP_DBG(jiffies) = jiffies;
|
|
|
|
--- a/drivers/net/wireless/ath/ath9k/debug.h
|
|
|
|
+++ b/drivers/net/wireless/ath/ath9k/debug.h
|
2012-02-07 13:28:11 +02:00
|
|
|
@@ -165,13 +165,6 @@ struct ath_rx_stats {
|
2011-10-08 17:48:23 +03:00
|
|
|
u32 post_delim_crc_err;
|
|
|
|
u32 decrypt_busy_err;
|
|
|
|
u32 phy_err_stats[ATH9K_PHYERR_MAX];
|
|
|
|
- int8_t rs_rssi_ctl0;
|
|
|
|
- int8_t rs_rssi_ctl1;
|
|
|
|
- int8_t rs_rssi_ctl2;
|
|
|
|
- int8_t rs_rssi_ext0;
|
|
|
|
- int8_t rs_rssi_ext1;
|
|
|
|
- int8_t rs_rssi_ext2;
|
|
|
|
- u8 rs_antenna;
|
|
|
|
};
|
|
|
|
|
|
|
|
enum ath_reset_type {
|