aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_calib.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-04-15 17:39:09 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:34 -0400
commit77d6d39a77939e5ed7e2ec72a1c1dce828ee582e (patch)
tree1bd2e36bdabb13ecf97109d8df198aed06d95715 /drivers/net/wireless/ath/ath9k/ar9003_calib.c
parent400b738678bf6f0b65a76a4ec2925473ba3e06ff (diff)
ath9k_hw: abstract loading noisefloor
This is the last call on calib.c which acceses PHY stuff, with this change we calib.c is now generic between both all supported hardware families. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_calib.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_calib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_calib.c b/drivers/net/wireless/ath/ath9k/ar9003_calib.c
index 00e4cb8d5f04..cd80a43ffcff 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_calib.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_calib.c
@@ -195,6 +195,11 @@ static bool ar9003_hw_iscal_supported(struct ath_hw *ah,
195 return false; 195 return false;
196} 196}
197 197
198static void ar9003_hw_loadnf(struct ath_hw *ah, struct ath9k_channel *chan)
199{
200 /* TODO */
201}
202
198void ar9003_hw_attach_calib_ops(struct ath_hw *ah) 203void ar9003_hw_attach_calib_ops(struct ath_hw *ah)
199{ 204{
200 struct ath_hw_private_ops *priv_ops = ath9k_hw_private_ops(ah); 205 struct ath_hw_private_ops *priv_ops = ath9k_hw_private_ops(ah);
@@ -204,6 +209,7 @@ void ar9003_hw_attach_calib_ops(struct ath_hw *ah)
204 priv_ops->init_cal = ar9003_hw_init_cal; 209 priv_ops->init_cal = ar9003_hw_init_cal;
205 priv_ops->setup_calibration = ar9003_hw_setup_calibration; 210 priv_ops->setup_calibration = ar9003_hw_setup_calibration;
206 priv_ops->iscal_supported = ar9003_hw_iscal_supported; 211 priv_ops->iscal_supported = ar9003_hw_iscal_supported;
212 priv_ops->loadnf = ar9003_hw_loadnf;
207 213
208 ops->calibrate = ar9003_hw_calibrate; 214 ops->calibrate = ar9003_hw_calibrate;
209} 215}