aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h7
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_hw.c12
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9340_initvals.h2
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h2
4 files changed, 19 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h b/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
index 15533953e0a2..e7cdf1100f56 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
+++ b/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
@@ -1738,4 +1738,11 @@ static const u32 ar9300PciePhy_clkreq_disable_L1_2p2[][2] = {
1738 {0x00004044, 0x00000000}, 1738 {0x00004044, 0x00000000},
1739}; 1739};
1740 1740
1741static const u32 ar9300_2p2_baseband_core_txfir_coeff_japan_2484[][2] = {
1742 /* Addr allmodes */
1743 {0x0000a398, 0x00000000},
1744 {0x0000a39c, 0x6f7f0301},
1745 {0x0000a3a0, 0xca9228ee},
1746};
1747
1741#endif /* INITVALS_9003_2P2_H */ 1748#endif /* INITVALS_9003_2P2_H */
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_hw.c b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
index d3eca0cec9cd..d8c1eee8ea53 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
@@ -149,7 +149,9 @@ static void ar9003_hw_init_mode_regs(struct ath_hw *ah)
149 ar9340Modes_high_ob_db_tx_gain_table_1p0); 149 ar9340Modes_high_ob_db_tx_gain_table_1p0);
150 150
151 INIT_INI_ARRAY(&ah->iniModesFastClock, 151 INIT_INI_ARRAY(&ah->iniModesFastClock,
152 ar9340Modes_fast_clock_1p0); 152 ar9340Modes_fast_clock_1p0);
153 INIT_INI_ARRAY(&ah->iniCckfirJapan2484,
154 ar9340_1p0_baseband_core_txfir_coeff_japan_2484);
153 155
154 if (!ah->is_clk_25mhz) 156 if (!ah->is_clk_25mhz)
155 INIT_INI_ARRAY(&ah->iniAdditional, 157 INIT_INI_ARRAY(&ah->iniAdditional,
@@ -335,7 +337,9 @@ static void ar9003_hw_init_mode_regs(struct ath_hw *ah)
335 ar9580_1p0_low_ob_db_tx_gain_table); 337 ar9580_1p0_low_ob_db_tx_gain_table);
336 338
337 INIT_INI_ARRAY(&ah->iniModesFastClock, 339 INIT_INI_ARRAY(&ah->iniModesFastClock,
338 ar9580_1p0_modes_fast_clock); 340 ar9580_1p0_modes_fast_clock);
341 INIT_INI_ARRAY(&ah->iniCckfirJapan2484,
342 ar9580_1p0_baseband_core_txfir_coeff_japan_2484);
339 } else if (AR_SREV_9565_11_OR_LATER(ah)) { 343 } else if (AR_SREV_9565_11_OR_LATER(ah)) {
340 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], 344 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE],
341 ar9565_1p1_mac_core); 345 ar9565_1p1_mac_core);
@@ -451,7 +455,9 @@ static void ar9003_hw_init_mode_regs(struct ath_hw *ah)
451 455
452 /* Fast clock modal settings */ 456 /* Fast clock modal settings */
453 INIT_INI_ARRAY(&ah->iniModesFastClock, 457 INIT_INI_ARRAY(&ah->iniModesFastClock,
454 ar9300Modes_fast_clock_2p2); 458 ar9300Modes_fast_clock_2p2);
459 INIT_INI_ARRAY(&ah->iniCckfirJapan2484,
460 ar9300_2p2_baseband_core_txfir_coeff_japan_2484);
455 } 461 }
456} 462}
457 463
diff --git a/drivers/net/wireless/ath/ath9k/ar9340_initvals.h b/drivers/net/wireless/ath/ath9k/ar9340_initvals.h
index d2d789bdb7f8..7f22cb2a4941 100644
--- a/drivers/net/wireless/ath/ath9k/ar9340_initvals.h
+++ b/drivers/net/wireless/ath/ath9k/ar9340_initvals.h
@@ -28,6 +28,8 @@
28 28
29#define ar9340Common_wo_xlna_rx_gain_table_1p0 ar9300Common_wo_xlna_rx_gain_table_2p2 29#define ar9340Common_wo_xlna_rx_gain_table_1p0 ar9300Common_wo_xlna_rx_gain_table_2p2
30 30
31#define ar9340_1p0_baseband_core_txfir_coeff_japan_2484 ar9300_2p2_baseband_core_txfir_coeff_japan_2484
32
31static const u32 ar9340_1p0_radio_postamble[][5] = { 33static const u32 ar9340_1p0_radio_postamble[][5] = {
32 /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ 34 /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
33 {0x000160ac, 0xa4646800, 0xa4646800, 0xa4646800, 0xa4646800}, 35 {0x000160ac, 0xa4646800, 0xa4646800, 0xa4646800, 0xa4646800},
diff --git a/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h b/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h
index 2ae380b70c02..75bef1179d0d 100644
--- a/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h
+++ b/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h
@@ -36,7 +36,7 @@
36 36
37#define ar9580_1p0_modes_fast_clock ar9300Modes_fast_clock_2p2 37#define ar9580_1p0_modes_fast_clock ar9300Modes_fast_clock_2p2
38 38
39#define ar9580_1p0_baseband_core_txfir_coeff_japan_2484 ar9462_2p0_baseband_core_txfir_coeff_japan_2484 39#define ar9580_1p0_baseband_core_txfir_coeff_japan_2484 ar9300_2p2_baseband_core_txfir_coeff_japan_2484
40 40
41static const u32 ar9580_1p0_radio_postamble[][5] = { 41static const u32 ar9580_1p0_radio_postamble[][5] = {
42 /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ 42 /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */