aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/debug.h
diff options
context:
space:
mode:
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>2013-01-23 11:38:05 -0500
committerJohn W. Linville <linville@tuxdriver.com>2013-01-30 15:06:40 -0500
commit9b99e665f6176500e8ee61d149bbe69544354b40 (patch)
treec961474e1f1ed51e7f082133a8fc0971f80f0eb3 /drivers/net/wireless/ath/ath9k/debug.h
parent04ccd4a1a61a2824539e04b5d7f4ee87e8aab0ed (diff)
ath9k: drop spectral packets after processing them
Spectral packets are "bogus" packets and should not be further evaluated by the RX path. Statistics are added to keep track of these packets. Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.h b/drivers/net/wireless/ath/ath9k/debug.h
index a22c0d780700..410d6d8f1aa7 100644
--- a/drivers/net/wireless/ath/ath9k/debug.h
+++ b/drivers/net/wireless/ath/ath9k/debug.h
@@ -219,6 +219,7 @@ struct ath_tx_stats {
219 * @rx_too_many_frags_err: Frames dropped due to too-many-frags received. 219 * @rx_too_many_frags_err: Frames dropped due to too-many-frags received.
220 * @rx_beacons: No. of beacons received. 220 * @rx_beacons: No. of beacons received.
221 * @rx_frags: No. of rx-fragements received. 221 * @rx_frags: No. of rx-fragements received.
222 * @rx_spectral: No of spectral packets received.
222 */ 223 */
223struct ath_rx_stats { 224struct ath_rx_stats {
224 u32 rx_pkts_all; 225 u32 rx_pkts_all;
@@ -237,6 +238,7 @@ struct ath_rx_stats {
237 u32 rx_too_many_frags_err; 238 u32 rx_too_many_frags_err;
238 u32 rx_beacons; 239 u32 rx_beacons;
239 u32 rx_frags; 240 u32 rx_frags;
241 u32 rx_spectral;
240}; 242};
241 243
242struct ath_stats { 244struct ath_stats {