summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9002_hw.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-04-15 17:39:04 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:33 -0400
commitd8f492b7d9a4c1cfdac69ba18a81acbd86d1dc6e (patch)
tree36e1385437b4167c7bf2fa0a5ba3f5b9f1887bb7 /drivers/net/wireless/ath/ath9k/ar9002_hw.c
parentb3950e6a52b1d0279787ef44ba1efac2f3414260 (diff)
downloadblackbird-op-linux-d8f492b7d9a4c1cfdac69ba18a81acbd86d1dc6e.tar.gz
blackbird-op-linux-d8f492b7d9a4c1cfdac69ba18a81acbd86d1dc6e.zip
ath9k_hw: move the cck channel 14 INI to the AR9002 hw code
This is specific to the AR9002 family only. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_hw.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9002_hw.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_hw.c b/drivers/net/wireless/ath/ath9k/ar9002_hw.c
index aa52fd7b630c..ff81efa8bc00 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_hw.c
+++ b/drivers/net/wireless/ath/ath9k/ar9002_hw.c
@@ -229,6 +229,21 @@ static void ar9002_hw_init_mode_regs(struct ath_hw *ah)
}
}
+/* Support for Japan ch.14 (2484) spread */
+void ar9002_hw_cck_chan14_spread(struct ath_hw *ah)
+{
+ if (AR_SREV_9287_11_OR_LATER(ah)) {
+ INIT_INI_ARRAY(&ah->iniCckfirNormal,
+ ar9287Common_normal_cck_fir_coeff_92871_1,
+ ARRAY_SIZE(ar9287Common_normal_cck_fir_coeff_92871_1),
+ 2);
+ INIT_INI_ARRAY(&ah->iniCckfirJapan2484,
+ ar9287Common_japan_2484_cck_fir_coeff_92871_1,
+ ARRAY_SIZE(ar9287Common_japan_2484_cck_fir_coeff_92871_1),
+ 2);
+ }
+}
+
/*
* Helper for ASPM support.
*
OpenPOWER on IntegriCloud