]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Read noise floor calibration data from eeprom
authorWojciech Dubowik <Wojciech.Dubowik@neratec.com>
Wed, 24 Jan 2018 08:02:17 +0000 (09:02 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Jan 2018 05:33:36 +0000 (07:33 +0200)
commite8bb230ec2e3333b55f7de9bda2d9b198a40c78c
tree192f0c341c1f111838b7e872207606f74c401e7f
parente1bb7411b6f35dd7501f1c0dc4cab9ae302077de
ath9k: Read noise floor calibration data from eeprom

AR9003 devices can have calibrated noise floor values
which can be used instead of hard coded one. Read them
from eeprom and save interpolated value in nf limits for
the current channel.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/ar9003_eeprom.h
drivers/net/wireless/ath/ath9k/hw.h