During FFT evaluation on an AR9462 adapter, we noticed that there were
way less FFT samples received than we would expect. This patchset adds
some counters to be able to check for received (and discarded) FFT
samples, and fixes a variety of issues I found while debugging.

Cheers,
     Simon

Simon Wunderlich (5):
  ath9k: add counters for good and errorneous FFT/spectral frames
  ath9k: return when short FFT frame was handled
  ath9k: fix and simplify FFT max index retrieval
  ath9k: FFT magnitude check: don't consider lower 3 data bits
  ath9k: fix reporting calculated new FFT upper max

 drivers/net/wireless/ath/ath9k/common-debug.c    |  2 +
 drivers/net/wireless/ath/ath9k/common-debug.h    |  4 ++
 drivers/net/wireless/ath/ath9k/common-spectral.c | 83 +++++++++---------------
 drivers/net/wireless/ath/ath9k/common-spectral.h | 17 +++++
 4 files changed, 55 insertions(+), 51 deletions(-)

-- 
2.11.0

Reply via email to