diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-01-08 10:36:11 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 14:02:06 -0500 |
commit | 1395d3f00a4164caae168b041855d48e0fa9ea4c (patch) | |
tree | ce900aebcb2abc20c612be47e6d68b49b8599773 /drivers/net/wireless/ath/ath9k/recv.c | |
parent | cc9c378aa57817003a094e4bb9a953337ebf035a (diff) | |
download | blackbird-op-linux-1395d3f00a4164caae168b041855d48e0fa9ea4c.tar.gz blackbird-op-linux-1395d3f00a4164caae168b041855d48e0fa9ea4c.zip |
ath9k: Add debugfs file for RX errors
This file can be used to track frame reception errors.
PHY error counts are also added.
Location: ath9k/phy#/recv
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 17b0a6dd8caf..40b5d05edcce 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -571,6 +571,8 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush) hw = ath_get_virt_hw(sc, hdr); rx_stats = &ds->ds_rxstat; + ath_debug_stat_rx(sc, bf); + /* * If we're asked to flush receive queue, directly * chain it back at the queue without processing it. |