ath9k: add noise floor parameter to ath9k_hw_getchan_noise
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Fri, 11 Oct 2013 12:09:54 +0000 (14:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:03:53 +0000 (14:03 -0400)
commit5bc225acfe6a6226333061107708033a8d181d39
treec5fa3adb92c2ad9a2401effb6561f7ca3bd585b9
parentdf3c2adea4e432a2ca8fc0aed1caa7c7a7d84086
ath9k: add noise floor parameter to ath9k_hw_getchan_noise

Add nf parameter to ath9k_hw_getchan_noise() in order to compute NF for EXT
chains with the same scale of noise floor calculated on CTL chains.
ath9k_hw_getchan_noise() will be used in ath_process_fft() for spectral scan on
HT40 channels

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/calib.c
drivers/net/wireless/ath/ath9k/calib.h
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/link.c