]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ath9k_hw: sanitize noise floor values properly on all chips
authorFelix Fietkau <nbd@openwrt.org>
Thu, 1 Jul 2010 22:09:50 +0000 (00:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 2 Jul 2010 17:44:36 +0000 (13:44 -0400)
commitf2552e28375cb34073a2f940ee9a8439c37d9ec2
tree85c718798e4f64cbc2ddd1beb93541722719d69e
parentba17bc5e55ba541d2a8765fca53b6883b667ab21
ath9k_hw: sanitize noise floor values properly on all chips

This refactors the noise floor range checks to make them generic,
and adds proper ranges for each supported chip type.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar5008_phy.c
drivers/net/wireless/ath/ath9k/ar9002_phy.c
drivers/net/wireless/ath/ath9k/ar9002_phy.h
drivers/net/wireless/ath/ath9k/ar9003_phy.c
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/hw.h