diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-05-10 21:42:11 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-11 15:14:21 -0400 |
commit | 7fca8e26662e83fec0a0c55b9a977fe9e79f01da (patch) | |
tree | df154d67ebd5c8fd11f16e7799438920ac013342 /drivers/net | |
parent | 9637e516d16a58b13f6098cfe899e22963132be3 (diff) |
ath9k_hw: new initialization values for AR9003
These changes include:
* For PAPRD, the TXRF3.capdiv5G, TXRF3.rdiv5G and TXRF3.rdiv2G
are set to 0x0, the TXRF6.capdiv2G is set to 0x2 for all
three chains.
* The d2cas5G/d3cas5G/d4cas5G was updated to 4/4/4 in lowest_ob_db
Tx gain table.
* To improve DPPM, three parameters were updated (Released from Madhan):
1. RANGE_OSDAC is set to 0x1 for 2G, 0x0 for 5G
2. offsetC1 is set to 0xc
3. inv_clk320_adc is set to 0x1
* To reduce PHY error(from spur), cycpwr_thr1 and cycpwr_thr1_ext
are increased to 0x8 at 2G.
* The 2G Rx gain tables are updated with mixer gain setting 3,1,0.
The new checksums yield:
initvals -f ar9003
0x00000000c2bfa7d5 ar9300_2p0_radio_postamble
0x00000000ada2b114 ar9300Modes_lowest_ob_db_tx_gain_table_2p0
0x00000000e0bc2c84 ar9300Modes_fast_clock_2p0
0x00000000056eaf74 ar9300_2p0_radio_core
0x0000000000000000 ar9300Common_rx_gain_table_merlin_2p0
0x0000000078658fb5 ar9300_2p0_mac_postamble
0x0000000023235333 ar9300_2p0_soc_postamble
0x0000000054d41904 ar9200_merlin_2p0_radio_core
0x00000000748572cf ar9300_2p0_baseband_postamble
0x000000009aa5a0a4 ar9300_2p0_baseband_core
0x000000003df9a326 ar9300Modes_high_power_tx_gain_table_2p0
0x000000001cfba124 ar9300Modes_high_ob_db_tx_gain_table_2p0
0x0000000011302700 ar9300Common_rx_gain_table_2p0
0x00000000e3eab114 ar9300Modes_low_ob_db_tx_gain_table_2p0
0x00000000c9d66d40 ar9300_2p0_mac_core
0x000000001e1d0800 ar9300Common_wo_xlna_rx_gain_table_2p0
0x00000000a0c54980 ar9300_2p0_soc_preamble
0x00000000292e2544 ar9300PciePhy_pll_on_clkreq_disable_L1_2p0
0x000000002d3e2544 ar9300PciePhy_clkreq_enable_L1_2p0
0x00000000293e2544 ar9300PciePhy_clkreq_disable_L1_2p0
Cc: Don Breslin <don.breslin@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_initvals.h | 268 |
1 files changed, 134 insertions, 134 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_initvals.h b/drivers/net/wireless/ath/ath9k/ar9003_initvals.h index ef6116e13033..db019dd220b7 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9003_initvals.h | |||
@@ -25,8 +25,11 @@ static const u32 ar9300_2p0_radio_postamble[][5] = { | |||
25 | {0x000160ac, 0xa4653c00, 0xa4653c00, 0x24652800, 0x24652800}, | 25 | {0x000160ac, 0xa4653c00, 0xa4653c00, 0x24652800, 0x24652800}, |
26 | {0x000160b0, 0x03284f3e, 0x03284f3e, 0x05d08f20, 0x05d08f20}, | 26 | {0x000160b0, 0x03284f3e, 0x03284f3e, 0x05d08f20, 0x05d08f20}, |
27 | {0x0001610c, 0x08000000, 0x00000000, 0x00000000, 0x00000000}, | 27 | {0x0001610c, 0x08000000, 0x00000000, 0x00000000, 0x00000000}, |
28 | {0x00016140, 0x10804008, 0x10804008, 0x50804008, 0x50804008}, | ||
28 | {0x0001650c, 0x08000000, 0x00000000, 0x00000000, 0x00000000}, | 29 | {0x0001650c, 0x08000000, 0x00000000, 0x00000000, 0x00000000}, |
30 | {0x00016540, 0x10804008, 0x10804008, 0x50804008, 0x50804008}, | ||
29 | {0x0001690c, 0x08000000, 0x00000000, 0x00000000, 0x00000000}, | 31 | {0x0001690c, 0x08000000, 0x00000000, 0x00000000, 0x00000000}, |
32 | {0x00016940, 0x10804008, 0x10804008, 0x50804008, 0x50804008}, | ||
30 | }; | 33 | }; |
31 | 34 | ||
32 | static const u32 ar9300Modes_lowest_ob_db_tx_gain_table_2p0[][5] = { | 35 | static const u32 ar9300Modes_lowest_ob_db_tx_gain_table_2p0[][5] = { |
@@ -97,13 +100,13 @@ static const u32 ar9300Modes_lowest_ob_db_tx_gain_table_2p0[][5] = { | |||
97 | {0x0000a5f8, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec}, | 100 | {0x0000a5f8, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec}, |
98 | {0x0000a5fc, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec}, | 101 | {0x0000a5fc, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec}, |
99 | {0x00016044, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, | 102 | {0x00016044, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, |
100 | {0x00016048, 0x60001a61, 0x60001a61, 0x60001a61, 0x60001a61}, | 103 | {0x00016048, 0x62480001, 0x62480001, 0x62480001, 0x62480001}, |
101 | {0x00016068, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, | 104 | {0x00016068, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, |
102 | {0x00016444, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, | 105 | {0x00016444, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, |
103 | {0x00016448, 0x60001a61, 0x60001a61, 0x60001a61, 0x60001a61}, | 106 | {0x00016448, 0x62480001, 0x62480001, 0x62480001, 0x62480001}, |
104 | {0x00016468, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, | 107 | {0x00016468, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, |
105 | {0x00016844, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, | 108 | {0x00016844, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, |
106 | {0x00016848, 0x60001a61, 0x60001a61, 0x60001a61, 0x60001a61}, | 109 | {0x00016848, 0x62480001, 0x62480001, 0x62480001, 0x62480001}, |
107 | {0x00016868, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, | 110 | {0x00016868, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, |
108 | }; | 111 | }; |
109 | 112 | ||
@@ -129,7 +132,7 @@ static const u32 ar9300_2p0_radio_core[][2] = { | |||
129 | {0x00016040, 0x7f80fff8}, | 132 | {0x00016040, 0x7f80fff8}, |
130 | {0x0001604c, 0x76d005b5}, | 133 | {0x0001604c, 0x76d005b5}, |
131 | {0x00016050, 0x556cf031}, | 134 | {0x00016050, 0x556cf031}, |
132 | {0x00016054, 0x43449440}, | 135 | {0x00016054, 0x13449440}, |
133 | {0x00016058, 0x0c51c92c}, | 136 | {0x00016058, 0x0c51c92c}, |
134 | {0x0001605c, 0x3db7fffc}, | 137 | {0x0001605c, 0x3db7fffc}, |
135 | {0x00016060, 0xfffffffc}, | 138 | {0x00016060, 0xfffffffc}, |
@@ -152,12 +155,11 @@ static const u32 ar9300_2p0_radio_core[][2] = { | |||
152 | {0x00016100, 0x3fffbe01}, | 155 | {0x00016100, 0x3fffbe01}, |
153 | {0x00016104, 0xfff80000}, | 156 | {0x00016104, 0xfff80000}, |
154 | {0x00016108, 0x00080010}, | 157 | {0x00016108, 0x00080010}, |
155 | {0x00016140, 0x10804008}, | ||
156 | {0x00016144, 0x02084080}, | 158 | {0x00016144, 0x02084080}, |
157 | {0x00016148, 0x00000000}, | 159 | {0x00016148, 0x00000000}, |
158 | {0x00016280, 0x058a0001}, | 160 | {0x00016280, 0x058a0001}, |
159 | {0x00016284, 0x3d840208}, | 161 | {0x00016284, 0x3d840208}, |
160 | {0x00016288, 0x01a20408}, | 162 | {0x00016288, 0x05a20408}, |
161 | {0x0001628c, 0x00038c07}, | 163 | {0x0001628c, 0x00038c07}, |
162 | {0x00016290, 0x40000004}, | 164 | {0x00016290, 0x40000004}, |
163 | {0x00016294, 0x458aa14f}, | 165 | {0x00016294, 0x458aa14f}, |
@@ -190,7 +192,7 @@ static const u32 ar9300_2p0_radio_core[][2] = { | |||
190 | {0x00016440, 0x7f80fff8}, | 192 | {0x00016440, 0x7f80fff8}, |
191 | {0x0001644c, 0x76d005b5}, | 193 | {0x0001644c, 0x76d005b5}, |
192 | {0x00016450, 0x556cf031}, | 194 | {0x00016450, 0x556cf031}, |
193 | {0x00016454, 0x43449440}, | 195 | {0x00016454, 0x13449440}, |
194 | {0x00016458, 0x0c51c92c}, | 196 | {0x00016458, 0x0c51c92c}, |
195 | {0x0001645c, 0x3db7fffc}, | 197 | {0x0001645c, 0x3db7fffc}, |
196 | {0x00016460, 0xfffffffc}, | 198 | {0x00016460, 0xfffffffc}, |
@@ -199,7 +201,6 @@ static const u32 ar9300_2p0_radio_core[][2] = { | |||
199 | {0x00016500, 0x3fffbe01}, | 201 | {0x00016500, 0x3fffbe01}, |
200 | {0x00016504, 0xfff80000}, | 202 | {0x00016504, 0xfff80000}, |
201 | {0x00016508, 0x00080010}, | 203 | {0x00016508, 0x00080010}, |
202 | {0x00016540, 0x10804008}, | ||
203 | {0x00016544, 0x02084080}, | 204 | {0x00016544, 0x02084080}, |
204 | {0x00016548, 0x00000000}, | 205 | {0x00016548, 0x00000000}, |
205 | {0x00016780, 0x00000000}, | 206 | {0x00016780, 0x00000000}, |
@@ -231,7 +232,7 @@ static const u32 ar9300_2p0_radio_core[][2] = { | |||
231 | {0x00016840, 0x7f80fff8}, | 232 | {0x00016840, 0x7f80fff8}, |
232 | {0x0001684c, 0x76d005b5}, | 233 | {0x0001684c, 0x76d005b5}, |
233 | {0x00016850, 0x556cf031}, | 234 | {0x00016850, 0x556cf031}, |
234 | {0x00016854, 0x43449440}, | 235 | {0x00016854, 0x13449440}, |
235 | {0x00016858, 0x0c51c92c}, | 236 | {0x00016858, 0x0c51c92c}, |
236 | {0x0001685c, 0x3db7fffc}, | 237 | {0x0001685c, 0x3db7fffc}, |
237 | {0x00016860, 0xfffffffc}, | 238 | {0x00016860, 0xfffffffc}, |
@@ -240,7 +241,6 @@ static const u32 ar9300_2p0_radio_core[][2] = { | |||
240 | {0x00016900, 0x3fffbe01}, | 241 | {0x00016900, 0x3fffbe01}, |
241 | {0x00016904, 0xfff80000}, | 242 | {0x00016904, 0xfff80000}, |
242 | {0x00016908, 0x00080010}, | 243 | {0x00016908, 0x00080010}, |
243 | {0x00016940, 0x10804008}, | ||
244 | {0x00016944, 0x02084080}, | 244 | {0x00016944, 0x02084080}, |
245 | {0x00016948, 0x00000000}, | 245 | {0x00016948, 0x00000000}, |
246 | {0x00016b80, 0x00000000}, | 246 | {0x00016b80, 0x00000000}, |
@@ -588,12 +588,12 @@ static const u32 ar9200_merlin_2p0_radio_core[][2] = { | |||
588 | 588 | ||
589 | static const u32 ar9300_2p0_baseband_postamble[][5] = { | 589 | static const u32 ar9300_2p0_baseband_postamble[][5] = { |
590 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | 590 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ |
591 | {0x00009810, 0xd00a8005, 0xd00a8005, 0xd00a8005, 0xd00a800b}, | 591 | {0x00009810, 0xd00a8005, 0xd00a8005, 0xd00a8011, 0xd00a8011}, |
592 | {0x00009820, 0x206a022e, 0x206a022e, 0x206a012e, 0x206a012e}, | 592 | {0x00009820, 0x206a022e, 0x206a022e, 0x206a012e, 0x206a012e}, |
593 | {0x00009824, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0}, | 593 | {0x00009824, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0}, |
594 | {0x00009828, 0x06903081, 0x06903081, 0x06903881, 0x06903881}, | 594 | {0x00009828, 0x06903081, 0x06903081, 0x06903881, 0x06903881}, |
595 | {0x0000982c, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4}, | 595 | {0x0000982c, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4}, |
596 | {0x00009830, 0x0000059c, 0x0000059c, 0x0000059c, 0x00000b9c}, | 596 | {0x00009830, 0x0000059c, 0x0000059c, 0x0000119c, 0x0000119c}, |
597 | {0x00009c00, 0x00000044, 0x000000c4, 0x000000c4, 0x00000044}, | 597 | {0x00009c00, 0x00000044, 0x000000c4, 0x000000c4, 0x00000044}, |
598 | {0x00009e00, 0x0372161e, 0x0372161e, 0x037216a0, 0x037216a0}, | 598 | {0x00009e00, 0x0372161e, 0x0372161e, 0x037216a0, 0x037216a0}, |
599 | {0x00009e04, 0x00802020, 0x00802020, 0x00802020, 0x00802020}, | 599 | {0x00009e04, 0x00802020, 0x00802020, 0x00802020, 0x00802020}, |
@@ -604,8 +604,8 @@ static const u32 ar9300_2p0_baseband_postamble[][5] = { | |||
604 | {0x00009e1c, 0x0001cf9c, 0x0001cf9c, 0x00021f9c, 0x00021f9c}, | 604 | {0x00009e1c, 0x0001cf9c, 0x0001cf9c, 0x00021f9c, 0x00021f9c}, |
605 | {0x00009e20, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce}, | 605 | {0x00009e20, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce}, |
606 | {0x00009e2c, 0x0000001c, 0x0000001c, 0x00000021, 0x00000021}, | 606 | {0x00009e2c, 0x0000001c, 0x0000001c, 0x00000021, 0x00000021}, |
607 | {0x00009e44, 0x02321e27, 0x02321e27, 0x02282324, 0x02282324}, | 607 | {0x00009e44, 0x02321e27, 0x02321e27, 0x02291e27, 0x02291e27}, |
608 | {0x00009e48, 0x5030201a, 0x5030201a, 0x50302010, 0x50302010}, | 608 | {0x00009e48, 0x5030201a, 0x5030201a, 0x50302012, 0x50302012}, |
609 | {0x00009fc8, 0x0003f000, 0x0003f000, 0x0001a000, 0x0001a000}, | 609 | {0x00009fc8, 0x0003f000, 0x0003f000, 0x0001a000, 0x0001a000}, |
610 | {0x0000a204, 0x000037c0, 0x000037c4, 0x000037c4, 0x000037c0}, | 610 | {0x0000a204, 0x000037c0, 0x000037c4, 0x000037c4, 0x000037c0}, |
611 | {0x0000a208, 0x00000104, 0x00000104, 0x00000004, 0x00000004}, | 611 | {0x0000a208, 0x00000104, 0x00000104, 0x00000004, 0x00000004}, |
@@ -674,7 +674,7 @@ static const u32 ar9300_2p0_baseband_core[][2] = { | |||
674 | {0x00009d10, 0x01834061}, | 674 | {0x00009d10, 0x01834061}, |
675 | {0x00009d14, 0x00c0040b}, | 675 | {0x00009d14, 0x00c0040b}, |
676 | {0x00009d18, 0x00000000}, | 676 | {0x00009d18, 0x00000000}, |
677 | {0x00009e08, 0x0038233c}, | 677 | {0x00009e08, 0x0038230c}, |
678 | {0x00009e24, 0x990bb515}, | 678 | {0x00009e24, 0x990bb515}, |
679 | {0x00009e28, 0x0c6f0000}, | 679 | {0x00009e28, 0x0c6f0000}, |
680 | {0x00009e30, 0x06336f77}, | 680 | {0x00009e30, 0x06336f77}, |
@@ -901,13 +901,13 @@ static const u32 ar9300Modes_high_power_tx_gain_table_2p0[][5] = { | |||
901 | {0x0000a5f8, 0x7584ff56, 0x7584ff56, 0x56801eec, 0x56801eec}, | 901 | {0x0000a5f8, 0x7584ff56, 0x7584ff56, 0x56801eec, 0x56801eec}, |
902 | {0x0000a5fc, 0x7584ff56, 0x7584ff56, 0x56801eec, 0x56801eec}, | 902 | {0x0000a5fc, 0x7584ff56, 0x7584ff56, 0x56801eec, 0x56801eec}, |
903 | {0x00016044, 0x056db2e6, 0x056db2e6, 0x056db2e6, 0x056db2e6}, | 903 | {0x00016044, 0x056db2e6, 0x056db2e6, 0x056db2e6, 0x056db2e6}, |
904 | {0x00016048, 0xae481a61, 0xae481a61, 0xae481a61, 0xae481a61}, | 904 | {0x00016048, 0xae480001, 0xae480001, 0xae480001, 0xae480001}, |
905 | {0x00016068, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c}, | 905 | {0x00016068, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c}, |
906 | {0x00016444, 0x056db2e6, 0x056db2e6, 0x056db2e6, 0x056db2e6}, | 906 | {0x00016444, 0x056db2e6, 0x056db2e6, 0x056db2e6, 0x056db2e6}, |
907 | {0x00016448, 0xae481a61, 0xae481a61, 0xae481a61, 0xae481a61}, | 907 | {0x00016448, 0xae480001, 0xae480001, 0xae480001, 0xae480001}, |
908 | {0x00016468, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c}, | 908 | {0x00016468, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c}, |
909 | {0x00016844, 0x056db2e6, 0x056db2e6, 0x056db2e6, 0x056db2e6}, | 909 | {0x00016844, 0x056db2e6, 0x056db2e6, 0x056db2e6, 0x056db2e6}, |
910 | {0x00016848, 0xae481a61, 0xae481a61, 0xae481a61, 0xae481a61}, | 910 | {0x00016848, 0xae480001, 0xae480001, 0xae480001, 0xae480001}, |
911 | {0x00016868, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c}, | 911 | {0x00016868, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c}, |
912 | }; | 912 | }; |
913 | 913 | ||
@@ -979,13 +979,13 @@ static const u32 ar9300Modes_high_ob_db_tx_gain_table_2p0[][5] = { | |||
979 | {0x0000a5f8, 0x7584ff56, 0x7584ff56, 0x56801eec, 0x56801eec}, | 979 | {0x0000a5f8, 0x7584ff56, 0x7584ff56, 0x56801eec, 0x56801eec}, |
980 | {0x0000a5fc, 0x7584ff56, 0x7584ff56, 0x56801eec, 0x56801eec}, | 980 | {0x0000a5fc, 0x7584ff56, 0x7584ff56, 0x56801eec, 0x56801eec}, |
981 | {0x00016044, 0x056db2e4, 0x056db2e4, 0x056db2e4, 0x056db2e4}, | 981 | {0x00016044, 0x056db2e4, 0x056db2e4, 0x056db2e4, 0x056db2e4}, |
982 | {0x00016048, 0x8e481a61, 0x8e481a61, 0x8e481a61, 0x8e481a61}, | 982 | {0x00016048, 0x8e480001, 0x8e480001, 0x8e480001, 0x8e480001}, |
983 | {0x00016068, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, | 983 | {0x00016068, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, |
984 | {0x00016444, 0x056db2e4, 0x056db2e4, 0x056db2e4, 0x056db2e4}, | 984 | {0x00016444, 0x056db2e4, 0x056db2e4, 0x056db2e4, 0x056db2e4}, |
985 | {0x00016448, 0x8e481a61, 0x8e481a61, 0x8e481a61, 0x8e481a61}, | 985 | {0x00016448, 0x8e480001, 0x8e480001, 0x8e480001, 0x8e480001}, |
986 | {0x00016468, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, | 986 | {0x00016468, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, |
987 | {0x00016844, 0x056db2e4, 0x056db2e4, 0x056db2e4, 0x056db2e4}, | 987 | {0x00016844, 0x056db2e4, 0x056db2e4, 0x056db2e4, 0x056db2e4}, |
988 | {0x00016848, 0x8e481a61, 0x8e481a61, 0x8e481a61, 0x8e481a61}, | 988 | {0x00016848, 0x8e480001, 0x8e480001, 0x8e480001, 0x8e480001}, |
989 | {0x00016868, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, | 989 | {0x00016868, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, |
990 | }; | 990 | }; |
991 | 991 | ||
@@ -995,22 +995,22 @@ static const u32 ar9300Common_rx_gain_table_2p0[][2] = { | |||
995 | {0x0000a004, 0x00030002}, | 995 | {0x0000a004, 0x00030002}, |
996 | {0x0000a008, 0x00050004}, | 996 | {0x0000a008, 0x00050004}, |
997 | {0x0000a00c, 0x00810080}, | 997 | {0x0000a00c, 0x00810080}, |
998 | {0x0000a010, 0x01800082}, | 998 | {0x0000a010, 0x00830082}, |
999 | {0x0000a014, 0x01820181}, | 999 | {0x0000a014, 0x01810180}, |
1000 | {0x0000a018, 0x01840183}, | 1000 | {0x0000a018, 0x01830182}, |
1001 | {0x0000a01c, 0x01880185}, | 1001 | {0x0000a01c, 0x01850184}, |
1002 | {0x0000a020, 0x018a0189}, | 1002 | {0x0000a020, 0x01890188}, |
1003 | {0x0000a024, 0x02850284}, | 1003 | {0x0000a024, 0x018b018a}, |
1004 | {0x0000a028, 0x02890288}, | 1004 | {0x0000a028, 0x018d018c}, |
1005 | {0x0000a02c, 0x028b028a}, | 1005 | {0x0000a02c, 0x01910190}, |
1006 | {0x0000a030, 0x028d028c}, | 1006 | {0x0000a030, 0x01930192}, |
1007 | {0x0000a034, 0x02910290}, | 1007 | {0x0000a034, 0x01950194}, |
1008 | {0x0000a038, 0x02930292}, | 1008 | {0x0000a038, 0x038a0196}, |
1009 | {0x0000a03c, 0x03910390}, | 1009 | {0x0000a03c, 0x038c038b}, |
1010 | {0x0000a040, 0x03930392}, | 1010 | {0x0000a040, 0x0390038d}, |
1011 | {0x0000a044, 0x03950394}, | 1011 | {0x0000a044, 0x03920391}, |
1012 | {0x0000a048, 0x00000396}, | 1012 | {0x0000a048, 0x03940393}, |
1013 | {0x0000a04c, 0x00000000}, | 1013 | {0x0000a04c, 0x03960395}, |
1014 | {0x0000a050, 0x00000000}, | 1014 | {0x0000a050, 0x00000000}, |
1015 | {0x0000a054, 0x00000000}, | 1015 | {0x0000a054, 0x00000000}, |
1016 | {0x0000a058, 0x00000000}, | 1016 | {0x0000a058, 0x00000000}, |
@@ -1023,14 +1023,14 @@ static const u32 ar9300Common_rx_gain_table_2p0[][2] = { | |||
1023 | {0x0000a074, 0x00000000}, | 1023 | {0x0000a074, 0x00000000}, |
1024 | {0x0000a078, 0x00000000}, | 1024 | {0x0000a078, 0x00000000}, |
1025 | {0x0000a07c, 0x00000000}, | 1025 | {0x0000a07c, 0x00000000}, |
1026 | {0x0000a080, 0x28282828}, | 1026 | {0x0000a080, 0x22222229}, |
1027 | {0x0000a084, 0x21212128}, | 1027 | {0x0000a084, 0x1d1d1d1d}, |
1028 | {0x0000a088, 0x21212121}, | 1028 | {0x0000a088, 0x1d1d1d1d}, |
1029 | {0x0000a08c, 0x1c1c1c21}, | 1029 | {0x0000a08c, 0x1d1d1d1d}, |
1030 | {0x0000a090, 0x1c1c1c1c}, | 1030 | {0x0000a090, 0x171d1d1d}, |
1031 | {0x0000a094, 0x17171c1c}, | 1031 | {0x0000a094, 0x11111717}, |
1032 | {0x0000a098, 0x02020212}, | 1032 | {0x0000a098, 0x00030311}, |
1033 | {0x0000a09c, 0x02020202}, | 1033 | {0x0000a09c, 0x00000000}, |
1034 | {0x0000a0a0, 0x00000000}, | 1034 | {0x0000a0a0, 0x00000000}, |
1035 | {0x0000a0a4, 0x00000000}, | 1035 | {0x0000a0a4, 0x00000000}, |
1036 | {0x0000a0a8, 0x00000000}, | 1036 | {0x0000a0a8, 0x00000000}, |
@@ -1040,26 +1040,26 @@ static const u32 ar9300Common_rx_gain_table_2p0[][2] = { | |||
1040 | {0x0000a0b8, 0x00000000}, | 1040 | {0x0000a0b8, 0x00000000}, |
1041 | {0x0000a0bc, 0x00000000}, | 1041 | {0x0000a0bc, 0x00000000}, |
1042 | {0x0000a0c0, 0x001f0000}, | 1042 | {0x0000a0c0, 0x001f0000}, |
1043 | {0x0000a0c4, 0x011f0100}, | 1043 | {0x0000a0c4, 0x01000101}, |
1044 | {0x0000a0c8, 0x011d011e}, | 1044 | {0x0000a0c8, 0x011e011f}, |
1045 | {0x0000a0cc, 0x011b011c}, | 1045 | {0x0000a0cc, 0x011c011d}, |
1046 | {0x0000a0d0, 0x02030204}, | 1046 | {0x0000a0d0, 0x02030204}, |
1047 | {0x0000a0d4, 0x02010202}, | 1047 | {0x0000a0d4, 0x02010202}, |
1048 | {0x0000a0d8, 0x021f0200}, | 1048 | {0x0000a0d8, 0x021f0200}, |
1049 | {0x0000a0dc, 0x021d021e}, | 1049 | {0x0000a0dc, 0x0302021e}, |
1050 | {0x0000a0e0, 0x03010302}, | 1050 | {0x0000a0e0, 0x03000301}, |
1051 | {0x0000a0e4, 0x031f0300}, | 1051 | {0x0000a0e4, 0x031e031f}, |
1052 | {0x0000a0e8, 0x0402031e}, | 1052 | {0x0000a0e8, 0x0402031d}, |
1053 | {0x0000a0ec, 0x04000401}, | 1053 | {0x0000a0ec, 0x04000401}, |
1054 | {0x0000a0f0, 0x041e041f}, | 1054 | {0x0000a0f0, 0x041e041f}, |
1055 | {0x0000a0f4, 0x05010502}, | 1055 | {0x0000a0f4, 0x0502041d}, |
1056 | {0x0000a0f8, 0x051f0500}, | 1056 | {0x0000a0f8, 0x05000501}, |
1057 | {0x0000a0fc, 0x0602051e}, | 1057 | {0x0000a0fc, 0x051e051f}, |
1058 | {0x0000a100, 0x06000601}, | 1058 | {0x0000a100, 0x06010602}, |
1059 | {0x0000a104, 0x061e061f}, | 1059 | {0x0000a104, 0x061f0600}, |
1060 | {0x0000a108, 0x0703061d}, | 1060 | {0x0000a108, 0x061d061e}, |
1061 | {0x0000a10c, 0x07010702}, | 1061 | {0x0000a10c, 0x07020703}, |
1062 | {0x0000a110, 0x00000700}, | 1062 | {0x0000a110, 0x07000701}, |
1063 | {0x0000a114, 0x00000000}, | 1063 | {0x0000a114, 0x00000000}, |
1064 | {0x0000a118, 0x00000000}, | 1064 | {0x0000a118, 0x00000000}, |
1065 | {0x0000a11c, 0x00000000}, | 1065 | {0x0000a11c, 0x00000000}, |
@@ -1072,26 +1072,26 @@ static const u32 ar9300Common_rx_gain_table_2p0[][2] = { | |||
1072 | {0x0000a138, 0x00000000}, | 1072 | {0x0000a138, 0x00000000}, |
1073 | {0x0000a13c, 0x00000000}, | 1073 | {0x0000a13c, 0x00000000}, |
1074 | {0x0000a140, 0x001f0000}, | 1074 | {0x0000a140, 0x001f0000}, |
1075 | {0x0000a144, 0x011f0100}, | 1075 | {0x0000a144, 0x01000101}, |
1076 | {0x0000a148, 0x011d011e}, | 1076 | {0x0000a148, 0x011e011f}, |
1077 | {0x0000a14c, 0x011b011c}, | 1077 | {0x0000a14c, 0x011c011d}, |
1078 | {0x0000a150, 0x02030204}, | 1078 | {0x0000a150, 0x02030204}, |
1079 | {0x0000a154, 0x02010202}, | 1079 | {0x0000a154, 0x02010202}, |
1080 | {0x0000a158, 0x021f0200}, | 1080 | {0x0000a158, 0x021f0200}, |
1081 | {0x0000a15c, 0x021d021e}, | 1081 | {0x0000a15c, 0x0302021e}, |
1082 | {0x0000a160, 0x03010302}, | 1082 | {0x0000a160, 0x03000301}, |
1083 | {0x0000a164, 0x031f0300}, | 1083 | {0x0000a164, 0x031e031f}, |
1084 | {0x0000a168, 0x0402031e}, | 1084 | {0x0000a168, 0x0402031d}, |
1085 | {0x0000a16c, 0x04000401}, | 1085 | {0x0000a16c, 0x04000401}, |
1086 | {0x0000a170, 0x041e041f}, | 1086 | {0x0000a170, 0x041e041f}, |
1087 | {0x0000a174, 0x05010502}, | 1087 | {0x0000a174, 0x0502041d}, |
1088 | {0x0000a178, 0x051f0500}, | 1088 | {0x0000a178, 0x05000501}, |
1089 | {0x0000a17c, 0x0602051e}, | 1089 | {0x0000a17c, 0x051e051f}, |
1090 | {0x0000a180, 0x06000601}, | 1090 | {0x0000a180, 0x06010602}, |
1091 | {0x0000a184, 0x061e061f}, | 1091 | {0x0000a184, 0x061f0600}, |
1092 | {0x0000a188, 0x0703061d}, | 1092 | {0x0000a188, 0x061d061e}, |
1093 | {0x0000a18c, 0x07010702}, | 1093 | {0x0000a18c, 0x07020703}, |
1094 | {0x0000a190, 0x00000700}, | 1094 | {0x0000a190, 0x07000701}, |
1095 | {0x0000a194, 0x00000000}, | 1095 | {0x0000a194, 0x00000000}, |
1096 | {0x0000a198, 0x00000000}, | 1096 | {0x0000a198, 0x00000000}, |
1097 | {0x0000a19c, 0x00000000}, | 1097 | {0x0000a19c, 0x00000000}, |
@@ -1317,13 +1317,13 @@ static const u32 ar9300Modes_low_ob_db_tx_gain_table_2p0[][5] = { | |||
1317 | {0x0000a5f8, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec}, | 1317 | {0x0000a5f8, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec}, |
1318 | {0x0000a5fc, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec}, | 1318 | {0x0000a5fc, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec}, |
1319 | {0x00016044, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, | 1319 | {0x00016044, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, |
1320 | {0x00016048, 0x64001a61, 0x64001a61, 0x64001a61, 0x64001a61}, | 1320 | {0x00016048, 0x64000001, 0x64000001, 0x64000001, 0x64000001}, |
1321 | {0x00016068, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, | 1321 | {0x00016068, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, |
1322 | {0x00016444, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, | 1322 | {0x00016444, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, |
1323 | {0x00016448, 0x64001a61, 0x64001a61, 0x64001a61, 0x64001a61}, | 1323 | {0x00016448, 0x64000001, 0x64000001, 0x64000001, 0x64000001}, |
1324 | {0x00016468, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, | 1324 | {0x00016468, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, |
1325 | {0x00016844, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, | 1325 | {0x00016844, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4}, |
1326 | {0x00016848, 0x64001a61, 0x64001a61, 0x64001a61, 0x64001a61}, | 1326 | {0x00016848, 0x64000001, 0x64000001, 0x64000001, 0x64000001}, |
1327 | {0x00016868, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, | 1327 | {0x00016868, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c}, |
1328 | }; | 1328 | }; |
1329 | 1329 | ||
@@ -1497,22 +1497,22 @@ static const u32 ar9300Common_wo_xlna_rx_gain_table_2p0[][2] = { | |||
1497 | {0x0000a004, 0x00030002}, | 1497 | {0x0000a004, 0x00030002}, |
1498 | {0x0000a008, 0x00050004}, | 1498 | {0x0000a008, 0x00050004}, |
1499 | {0x0000a00c, 0x00810080}, | 1499 | {0x0000a00c, 0x00810080}, |
1500 | {0x0000a010, 0x01800082}, | 1500 | {0x0000a010, 0x00830082}, |
1501 | {0x0000a014, 0x01820181}, | 1501 | {0x0000a014, 0x01810180}, |
1502 | {0x0000a018, 0x01840183}, | 1502 | {0x0000a018, 0x01830182}, |
1503 | {0x0000a01c, 0x01880185}, | 1503 | {0x0000a01c, 0x01850184}, |
1504 | {0x0000a020, 0x018a0189}, | 1504 | {0x0000a020, 0x01890188}, |
1505 | {0x0000a024, 0x02850284}, | 1505 | {0x0000a024, 0x018b018a}, |
1506 | {0x0000a028, 0x02890288}, | 1506 | {0x0000a028, 0x018d018c}, |
1507 | {0x0000a02c, 0x03850384}, | 1507 | {0x0000a02c, 0x03820190}, |
1508 | {0x0000a030, 0x03890388}, | 1508 | {0x0000a030, 0x03840383}, |
1509 | {0x0000a034, 0x038b038a}, | 1509 | {0x0000a034, 0x03880385}, |
1510 | {0x0000a038, 0x038d038c}, | 1510 | {0x0000a038, 0x038a0389}, |
1511 | {0x0000a03c, 0x03910390}, | 1511 | {0x0000a03c, 0x038c038b}, |
1512 | {0x0000a040, 0x03930392}, | 1512 | {0x0000a040, 0x0390038d}, |
1513 | {0x0000a044, 0x03950394}, | 1513 | {0x0000a044, 0x03920391}, |
1514 | {0x0000a048, 0x00000396}, | 1514 | {0x0000a048, 0x03940393}, |
1515 | {0x0000a04c, 0x00000000}, | 1515 | {0x0000a04c, 0x03960395}, |
1516 | {0x0000a050, 0x00000000}, | 1516 | {0x0000a050, 0x00000000}, |
1517 | {0x0000a054, 0x00000000}, | 1517 | {0x0000a054, 0x00000000}, |
1518 | {0x0000a058, 0x00000000}, | 1518 | {0x0000a058, 0x00000000}, |
@@ -1525,15 +1525,15 @@ static const u32 ar9300Common_wo_xlna_rx_gain_table_2p0[][2] = { | |||
1525 | {0x0000a074, 0x00000000}, | 1525 | {0x0000a074, 0x00000000}, |
1526 | {0x0000a078, 0x00000000}, | 1526 | {0x0000a078, 0x00000000}, |
1527 | {0x0000a07c, 0x00000000}, | 1527 | {0x0000a07c, 0x00000000}, |
1528 | {0x0000a080, 0x28282828}, | 1528 | {0x0000a080, 0x29292929}, |
1529 | {0x0000a084, 0x28282828}, | 1529 | {0x0000a084, 0x29292929}, |
1530 | {0x0000a088, 0x28282828}, | 1530 | {0x0000a088, 0x29292929}, |
1531 | {0x0000a08c, 0x28282828}, | 1531 | {0x0000a08c, 0x29292929}, |
1532 | {0x0000a090, 0x28282828}, | 1532 | {0x0000a090, 0x22292929}, |
1533 | {0x0000a094, 0x21212128}, | 1533 | {0x0000a094, 0x1d1d2222}, |
1534 | {0x0000a098, 0x171c1c1c}, | 1534 | {0x0000a098, 0x0c111117}, |
1535 | {0x0000a09c, 0x02020212}, | 1535 | {0x0000a09c, 0x00030303}, |
1536 | {0x0000a0a0, 0x00000202}, | 1536 | {0x0000a0a0, 0x00000000}, |
1537 | {0x0000a0a4, 0x00000000}, | 1537 | {0x0000a0a4, 0x00000000}, |
1538 | {0x0000a0a8, 0x00000000}, | 1538 | {0x0000a0a8, 0x00000000}, |
1539 | {0x0000a0ac, 0x00000000}, | 1539 | {0x0000a0ac, 0x00000000}, |
@@ -1542,26 +1542,26 @@ static const u32 ar9300Common_wo_xlna_rx_gain_table_2p0[][2] = { | |||
1542 | {0x0000a0b8, 0x00000000}, | 1542 | {0x0000a0b8, 0x00000000}, |
1543 | {0x0000a0bc, 0x00000000}, | 1543 | {0x0000a0bc, 0x00000000}, |
1544 | {0x0000a0c0, 0x001f0000}, | 1544 | {0x0000a0c0, 0x001f0000}, |
1545 | {0x0000a0c4, 0x011f0100}, | 1545 | {0x0000a0c4, 0x01000101}, |
1546 | {0x0000a0c8, 0x011d011e}, | 1546 | {0x0000a0c8, 0x011e011f}, |
1547 | {0x0000a0cc, 0x011b011c}, | 1547 | {0x0000a0cc, 0x011c011d}, |
1548 | {0x0000a0d0, 0x02030204}, | 1548 | {0x0000a0d0, 0x02030204}, |
1549 | {0x0000a0d4, 0x02010202}, | 1549 | {0x0000a0d4, 0x02010202}, |
1550 | {0x0000a0d8, 0x021f0200}, | 1550 | {0x0000a0d8, 0x021f0200}, |
1551 | {0x0000a0dc, 0x021d021e}, | 1551 | {0x0000a0dc, 0x0302021e}, |
1552 | {0x0000a0e0, 0x03010302}, | 1552 | {0x0000a0e0, 0x03000301}, |
1553 | {0x0000a0e4, 0x031f0300}, | 1553 | {0x0000a0e4, 0x031e031f}, |
1554 | {0x0000a0e8, 0x0402031e}, | 1554 | {0x0000a0e8, 0x0402031d}, |
1555 | {0x0000a0ec, 0x04000401}, | 1555 | {0x0000a0ec, 0x04000401}, |
1556 | {0x0000a0f0, 0x041e041f}, | 1556 | {0x0000a0f0, 0x041e041f}, |
1557 | {0x0000a0f4, 0x05010502}, | 1557 | {0x0000a0f4, 0x0502041d}, |
1558 | {0x0000a0f8, 0x051f0500}, | 1558 | {0x0000a0f8, 0x05000501}, |
1559 | {0x0000a0fc, 0x0602051e}, | 1559 | {0x0000a0fc, 0x051e051f}, |
1560 | {0x0000a100, 0x06000601}, | 1560 | {0x0000a100, 0x06010602}, |
1561 | {0x0000a104, 0x061e061f}, | 1561 | {0x0000a104, 0x061f0600}, |
1562 | {0x0000a108, 0x0703061d}, | 1562 | {0x0000a108, 0x061d061e}, |
1563 | {0x0000a10c, 0x07010702}, | 1563 | {0x0000a10c, 0x07020703}, |
1564 | {0x0000a110, 0x00000700}, | 1564 | {0x0000a110, 0x07000701}, |
1565 | {0x0000a114, 0x00000000}, | 1565 | {0x0000a114, 0x00000000}, |
1566 | {0x0000a118, 0x00000000}, | 1566 | {0x0000a118, 0x00000000}, |
1567 | {0x0000a11c, 0x00000000}, | 1567 | {0x0000a11c, 0x00000000}, |
@@ -1574,26 +1574,26 @@ static const u32 ar9300Common_wo_xlna_rx_gain_table_2p0[][2] = { | |||
1574 | {0x0000a138, 0x00000000}, | 1574 | {0x0000a138, 0x00000000}, |
1575 | {0x0000a13c, 0x00000000}, | 1575 | {0x0000a13c, 0x00000000}, |
1576 | {0x0000a140, 0x001f0000}, | 1576 | {0x0000a140, 0x001f0000}, |
1577 | {0x0000a144, 0x011f0100}, | 1577 | {0x0000a144, 0x01000101}, |
1578 | {0x0000a148, 0x011d011e}, | 1578 | {0x0000a148, 0x011e011f}, |
1579 | {0x0000a14c, 0x011b011c}, | 1579 | {0x0000a14c, 0x011c011d}, |
1580 | {0x0000a150, 0x02030204}, | 1580 | {0x0000a150, 0x02030204}, |
1581 | {0x0000a154, 0x02010202}, | 1581 | {0x0000a154, 0x02010202}, |
1582 | {0x0000a158, 0x021f0200}, | 1582 | {0x0000a158, 0x021f0200}, |
1583 | {0x0000a15c, 0x021d021e}, | 1583 | {0x0000a15c, 0x0302021e}, |
1584 | {0x0000a160, 0x03010302}, | 1584 | {0x0000a160, 0x03000301}, |
1585 | {0x0000a164, 0x031f0300}, | 1585 | {0x0000a164, 0x031e031f}, |
1586 | {0x0000a168, 0x0402031e}, | 1586 | {0x0000a168, 0x0402031d}, |
1587 | {0x0000a16c, 0x04000401}, | 1587 | {0x0000a16c, 0x04000401}, |
1588 | {0x0000a170, 0x041e041f}, | 1588 | {0x0000a170, 0x041e041f}, |
1589 | {0x0000a174, 0x05010502}, | 1589 | {0x0000a174, 0x0502041d}, |
1590 | {0x0000a178, 0x051f0500}, | 1590 | {0x0000a178, 0x05000501}, |
1591 | {0x0000a17c, 0x0602051e}, | 1591 | {0x0000a17c, 0x051e051f}, |
1592 | {0x0000a180, 0x06000601}, | 1592 | {0x0000a180, 0x06010602}, |
1593 | {0x0000a184, 0x061e061f}, | 1593 | {0x0000a184, 0x061f0600}, |
1594 | {0x0000a188, 0x0703061d}, | 1594 | {0x0000a188, 0x061d061e}, |
1595 | {0x0000a18c, 0x07010702}, | 1595 | {0x0000a18c, 0x07020703}, |
1596 | {0x0000a190, 0x00000700}, | 1596 | {0x0000a190, 0x07000701}, |
1597 | {0x0000a194, 0x00000000}, | 1597 | {0x0000a194, 0x00000000}, |
1598 | {0x0000a198, 0x00000000}, | 1598 | {0x0000a198, 0x00000000}, |
1599 | {0x0000a19c, 0x00000000}, | 1599 | {0x0000a19c, 0x00000000}, |
@@ -1620,7 +1620,7 @@ static const u32 ar9300Common_wo_xlna_rx_gain_table_2p0[][2] = { | |||
1620 | {0x0000a1f0, 0x00000396}, | 1620 | {0x0000a1f0, 0x00000396}, |
1621 | {0x0000a1f4, 0x00000396}, | 1621 | {0x0000a1f4, 0x00000396}, |
1622 | {0x0000a1f8, 0x00000396}, | 1622 | {0x0000a1f8, 0x00000396}, |
1623 | {0x0000a1fc, 0x00000296}, | 1623 | {0x0000a1fc, 0x00000196}, |
1624 | {0x0000b000, 0x00010000}, | 1624 | {0x0000b000, 0x00010000}, |
1625 | {0x0000b004, 0x00030002}, | 1625 | {0x0000b004, 0x00030002}, |
1626 | {0x0000b008, 0x00050004}, | 1626 | {0x0000b008, 0x00050004}, |