ath9k: Add debugfs support for mac/baseband samples
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Sat, 27 Aug 2011 10:47:47 +0000 (16:17 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Aug 2011 19:33:03 +0000 (15:33 -0400)
commitcf3af74824b1bf2bd60eb6a0dd82b27f9e9236ac
treec5ae88548f8acc38549032e8d659b39333b19417
parent059ee09b99942bf64f4075196a7a2a992e64193d
ath9k: Add debugfs support for mac/baseband samples

This patch keep track of number of samples that includes
DMA debugs registers, PCU observe, CR, channel noise,
cycle conters, noisefloor history buffer and last N number
of tx and rx descriptor status. These samples are grouped
in table manner which dumping in debgufs.

Debugfs file location:
    <debugfs_mnt>/ieee80211/phy#/ath9k/samples

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/debug.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/mac.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/recv.c