diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-11-12 00:26:43 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-11-16 14:11:14 -0500 |
commit | 413c0303cfbf269cdc7a90653ec15f3cb73cd080 (patch) | |
tree | fccea2d498b32600d4631fe0f0ffd45fecc46513 /drivers/net/wireless/ath/ath9k | |
parent | 0b6eb3662210cd06127980d2d5a06d6e129f373e (diff) |
ath9k_hw: Update AR9485 initvals
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9485_initvals.h | 336 |
1 files changed, 273 insertions, 63 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9485_initvals.h b/drivers/net/wireless/ath/ath9k/ar9485_initvals.h index fb4497fc7a3d..02e4d977bd44 100644 --- a/drivers/net/wireless/ath/ath9k/ar9485_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9485_initvals.h | |||
@@ -18,7 +18,7 @@ | |||
18 | #ifndef INITVALS_9485_H | 18 | #ifndef INITVALS_9485_H |
19 | #define INITVALS_9485_H | 19 | #define INITVALS_9485_H |
20 | 20 | ||
21 | /* AR9485 1.0 */ | 21 | /* AR9485 1.1 */ |
22 | 22 | ||
23 | #define ar9485_1_1_mac_postamble ar9300_2p2_mac_postamble | 23 | #define ar9485_1_1_mac_postamble ar9300_2p2_mac_postamble |
24 | 24 | ||
@@ -31,6 +31,11 @@ static const u32 ar9485_1_1_pcie_phy_pll_on_clkreq_disable_L1[][2] = { | |||
31 | 31 | ||
32 | static const u32 ar9485Common_wo_xlna_rx_gain_1_1[][2] = { | 32 | static const u32 ar9485Common_wo_xlna_rx_gain_1_1[][2] = { |
33 | /* Addr allmodes */ | 33 | /* Addr allmodes */ |
34 | {0x00009e00, 0x037216a0}, | ||
35 | {0x00009e04, 0x00182020}, | ||
36 | {0x00009e18, 0x00000000}, | ||
37 | {0x00009e2c, 0x00004121}, | ||
38 | {0x00009e44, 0x02282324}, | ||
34 | {0x0000a000, 0x00060005}, | 39 | {0x0000a000, 0x00060005}, |
35 | {0x0000a004, 0x00810080}, | 40 | {0x0000a004, 0x00810080}, |
36 | {0x0000a008, 0x00830082}, | 41 | {0x0000a008, 0x00830082}, |
@@ -164,6 +169,11 @@ static const u32 ar9485Common_wo_xlna_rx_gain_1_1[][2] = { | |||
164 | static const u32 ar9485Modes_high_power_tx_gain_1_1[][5] = { | 169 | static const u32 ar9485Modes_high_power_tx_gain_1_1[][5] = { |
165 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | 170 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ |
166 | {0x000098bc, 0x00000002, 0x00000002, 0x00000002, 0x00000002}, | 171 | {0x000098bc, 0x00000002, 0x00000002, 0x00000002, 0x00000002}, |
172 | {0x0000a2d8, 0xf999a83a, 0xf999a83a, 0x7999a83a, 0x7999a83a}, | ||
173 | {0x0000a2dc, 0x00000000, 0x00000000, 0xfe2d3552, 0xfe2d3552}, | ||
174 | {0x0000a2e0, 0x00000000, 0x00000000, 0xfe2d3552, 0xfe2d3552}, | ||
175 | {0x0000a2e4, 0x00000000, 0x00000000, 0xfe2d3552, 0xfe2d3552}, | ||
176 | {0x0000a2e8, 0x00000000, 0x00000000, 0xfe2d3552, 0xfe2d3552}, | ||
167 | {0x0000a410, 0x000050d9, 0x000050d9, 0x000050d8, 0x000050d8}, | 177 | {0x0000a410, 0x000050d9, 0x000050d9, 0x000050d8, 0x000050d8}, |
168 | {0x0000a458, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 178 | {0x0000a458, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
169 | {0x0000a500, 0x00022200, 0x00022200, 0x00000000, 0x00000000}, | 179 | {0x0000a500, 0x00022200, 0x00022200, 0x00000000, 0x00000000}, |
@@ -198,6 +208,22 @@ static const u32 ar9485Modes_high_power_tx_gain_1_1[][5] = { | |||
198 | {0x0000a574, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | 208 | {0x0000a574, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, |
199 | {0x0000a578, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | 209 | {0x0000a578, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, |
200 | {0x0000a57c, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | 210 | {0x0000a57c, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, |
211 | {0x0000a580, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
212 | {0x0000a584, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
213 | {0x0000a588, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
214 | {0x0000a58c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
215 | {0x0000a590, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
216 | {0x0000a594, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
217 | {0x0000a598, 0x00000000, 0x00000000, 0x01404501, 0x01404501}, | ||
218 | {0x0000a59c, 0x00000000, 0x00000000, 0x02808a02, 0x02808a02}, | ||
219 | {0x0000a5a0, 0x00000000, 0x00000000, 0x02808a02, 0x02808a02}, | ||
220 | {0x0000a5a4, 0x00000000, 0x00000000, 0x02808803, 0x02808803}, | ||
221 | {0x0000a5a8, 0x00000000, 0x00000000, 0x04c14b04, 0x04c14b04}, | ||
222 | {0x0000a5ac, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
223 | {0x0000a5b0, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
224 | {0x0000a5b4, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
225 | {0x0000a5b8, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
226 | {0x0000a5bc, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
201 | {0x0000b500, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 227 | {0x0000b500, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
202 | {0x0000b504, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 228 | {0x0000b504, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
203 | {0x0000b508, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 229 | {0x0000b508, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
@@ -234,9 +260,193 @@ static const u32 ar9485Modes_high_power_tx_gain_1_1[][5] = { | |||
234 | {0x00016048, 0x6c924260, 0x6c924260, 0x6c924260, 0x6c924260}, | 260 | {0x00016048, 0x6c924260, 0x6c924260, 0x6c924260, 0x6c924260}, |
235 | }; | 261 | }; |
236 | 262 | ||
237 | #define ar9485Modes_high_ob_db_tx_gain_1_1 ar9485Modes_high_power_tx_gain_1_1 | 263 | static const u32 ar9485Modes_high_ob_db_tx_gain_1_1[][5] = { |
264 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | ||
265 | {0x000098bc, 0x00000002, 0x00000002, 0x00000002, 0x00000002}, | ||
266 | {0x0000a2d8, 0xf999a83a, 0xf999a83a, 0x7999a83a, 0x7999a83a}, | ||
267 | {0x0000a2dc, 0x00000000, 0x00000000, 0xfe2d3552, 0xfe2d3552}, | ||
268 | {0x0000a2e0, 0x00000000, 0x00000000, 0xffc63a84, 0xffc63a84}, | ||
269 | {0x0000a2e4, 0x00000000, 0x00000000, 0xfe0fc000, 0xfe0fc000}, | ||
270 | {0x0000a2e8, 0x00000000, 0x00000000, 0xfff00000, 0xfff00000}, | ||
271 | {0x0000a410, 0x000050d9, 0x000050d9, 0x000050d8, 0x000050d8}, | ||
272 | {0x0000a458, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
273 | {0x0000a500, 0x00022200, 0x00022200, 0x00000000, 0x00000000}, | ||
274 | {0x0000a504, 0x05062002, 0x05062002, 0x04000002, 0x04000002}, | ||
275 | {0x0000a508, 0x0c002e00, 0x0c002e00, 0x08000004, 0x08000004}, | ||
276 | {0x0000a50c, 0x11062202, 0x11062202, 0x0d000200, 0x0d000200}, | ||
277 | {0x0000a510, 0x17022e00, 0x17022e00, 0x11000202, 0x11000202}, | ||
278 | {0x0000a514, 0x1d000ec2, 0x1d000ec2, 0x15000400, 0x15000400}, | ||
279 | {0x0000a518, 0x25020ec0, 0x25020ec0, 0x19000402, 0x19000402}, | ||
280 | {0x0000a51c, 0x2b020ec3, 0x2b020ec3, 0x1d000404, 0x1d000404}, | ||
281 | {0x0000a520, 0x2f001f04, 0x2f001f04, 0x21000603, 0x21000603}, | ||
282 | {0x0000a524, 0x35001fc4, 0x35001fc4, 0x25000605, 0x25000605}, | ||
283 | {0x0000a528, 0x3c022f04, 0x3c022f04, 0x2a000a03, 0x2a000a03}, | ||
284 | {0x0000a52c, 0x41023e85, 0x41023e85, 0x2c000a04, 0x2c000a04}, | ||
285 | {0x0000a530, 0x48023ec6, 0x48023ec6, 0x34000e20, 0x34000e20}, | ||
286 | {0x0000a534, 0x4d023f01, 0x4d023f01, 0x35000e21, 0x35000e21}, | ||
287 | {0x0000a538, 0x53023f4b, 0x53023f4b, 0x43000e62, 0x43000e62}, | ||
288 | {0x0000a53c, 0x5a027f09, 0x5a027f09, 0x45000e63, 0x45000e63}, | ||
289 | {0x0000a540, 0x5f027fc9, 0x5f027fc9, 0x49000e65, 0x49000e65}, | ||
290 | {0x0000a544, 0x6502feca, 0x6502feca, 0x4b000e66, 0x4b000e66}, | ||
291 | {0x0000a548, 0x6b02ff4a, 0x6b02ff4a, 0x4d001645, 0x4d001645}, | ||
292 | {0x0000a54c, 0x7203feca, 0x7203feca, 0x51001865, 0x51001865}, | ||
293 | {0x0000a550, 0x7703ff0b, 0x7703ff0b, 0x55001a86, 0x55001a86}, | ||
294 | {0x0000a554, 0x7d06ffcb, 0x7d06ffcb, 0x57001ce9, 0x57001ce9}, | ||
295 | {0x0000a558, 0x8407ff0b, 0x8407ff0b, 0x5a001ceb, 0x5a001ceb}, | ||
296 | {0x0000a55c, 0x8907ffcb, 0x8907ffcb, 0x5e001eeb, 0x5e001eeb}, | ||
297 | {0x0000a560, 0x900fff0b, 0x900fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
298 | {0x0000a564, 0x960fffcb, 0x960fffcb, 0x5e001eeb, 0x5e001eeb}, | ||
299 | {0x0000a568, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
300 | {0x0000a56c, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
301 | {0x0000a570, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
302 | {0x0000a574, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
303 | {0x0000a578, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
304 | {0x0000a57c, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
305 | {0x0000a580, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
306 | {0x0000a584, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
307 | {0x0000a588, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
308 | {0x0000a58c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
309 | {0x0000a590, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
310 | {0x0000a594, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
311 | {0x0000a598, 0x00000000, 0x00000000, 0x01404501, 0x01404501}, | ||
312 | {0x0000a59c, 0x00000000, 0x00000000, 0x02808a02, 0x02808a02}, | ||
313 | {0x0000a5a0, 0x00000000, 0x00000000, 0x02808a02, 0x02808a02}, | ||
314 | {0x0000a5a4, 0x00000000, 0x00000000, 0x02808803, 0x02808803}, | ||
315 | {0x0000a5a8, 0x00000000, 0x00000000, 0x04c14b04, 0x04c14b04}, | ||
316 | {0x0000a5ac, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
317 | {0x0000a5b0, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
318 | {0x0000a5b4, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
319 | {0x0000a5b8, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
320 | {0x0000a5bc, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
321 | {0x0000b500, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
322 | {0x0000b504, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
323 | {0x0000b508, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
324 | {0x0000b50c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
325 | {0x0000b510, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
326 | {0x0000b514, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
327 | {0x0000b518, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
328 | {0x0000b51c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
329 | {0x0000b520, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
330 | {0x0000b524, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
331 | {0x0000b528, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
332 | {0x0000b52c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
333 | {0x0000b530, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
334 | {0x0000b534, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
335 | {0x0000b538, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
336 | {0x0000b53c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
337 | {0x0000b540, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
338 | {0x0000b544, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
339 | {0x0000b548, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
340 | {0x0000b54c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
341 | {0x0000b550, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
342 | {0x0000b554, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
343 | {0x0000b558, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
344 | {0x0000b55c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
345 | {0x0000b560, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
346 | {0x0000b564, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
347 | {0x0000b568, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
348 | {0x0000b56c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
349 | {0x0000b570, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
350 | {0x0000b574, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
351 | {0x0000b578, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
352 | {0x0000b57c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
353 | {0x00016044, 0x05d6b2db, 0x05d6b2db, 0x05d6b2db, 0x05d6b2db}, | ||
354 | {0x00016048, 0x6c924260, 0x6c924260, 0x6c924260, 0x6c924260}, | ||
355 | }; | ||
238 | 356 | ||
239 | #define ar9485Modes_low_ob_db_tx_gain_1_1 ar9485Modes_high_ob_db_tx_gain_1_1 | 357 | static const u32 ar9485Modes_low_ob_db_tx_gain_1_1[][5] = { |
358 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | ||
359 | {0x000098bc, 0x00000002, 0x00000002, 0x00000002, 0x00000002}, | ||
360 | {0x0000a2d8, 0xf999a83a, 0xf999a83a, 0x7999a83a, 0x7999a83a}, | ||
361 | {0x0000a2dc, 0x00000000, 0x00000000, 0xfe2d3552, 0xfe2d3552}, | ||
362 | {0x0000a2e0, 0x00000000, 0x00000000, 0xfe2d3552, 0xfe2d3552}, | ||
363 | {0x0000a2e4, 0x00000000, 0x00000000, 0xfe2d3552, 0xfe2d3552}, | ||
364 | {0x0000a2e8, 0x00000000, 0x00000000, 0xfe2d3552, 0xfe2d3552}, | ||
365 | {0x0000a410, 0x000050d9, 0x000050d9, 0x000050d8, 0x000050d8}, | ||
366 | {0x0000a458, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
367 | {0x0000a500, 0x00022200, 0x00022200, 0x00000000, 0x00000000}, | ||
368 | {0x0000a504, 0x05062002, 0x05062002, 0x04000002, 0x04000002}, | ||
369 | {0x0000a508, 0x0c002e00, 0x0c002e00, 0x08000004, 0x08000004}, | ||
370 | {0x0000a50c, 0x11062202, 0x11062202, 0x0d000200, 0x0d000200}, | ||
371 | {0x0000a510, 0x17022e00, 0x17022e00, 0x11000202, 0x11000202}, | ||
372 | {0x0000a514, 0x1d000ec2, 0x1d000ec2, 0x15000400, 0x15000400}, | ||
373 | {0x0000a518, 0x25020ec0, 0x25020ec0, 0x19000402, 0x19000402}, | ||
374 | {0x0000a51c, 0x2b020ec3, 0x2b020ec3, 0x1d000404, 0x1d000404}, | ||
375 | {0x0000a520, 0x2f001f04, 0x2f001f04, 0x21000603, 0x21000603}, | ||
376 | {0x0000a524, 0x35001fc4, 0x35001fc4, 0x25000605, 0x25000605}, | ||
377 | {0x0000a528, 0x3c022f04, 0x3c022f04, 0x2a000a03, 0x2a000a03}, | ||
378 | {0x0000a52c, 0x41023e85, 0x41023e85, 0x2c000a04, 0x2c000a04}, | ||
379 | {0x0000a530, 0x48023ec6, 0x48023ec6, 0x34000e20, 0x34000e20}, | ||
380 | {0x0000a534, 0x4d023f01, 0x4d023f01, 0x35000e21, 0x35000e21}, | ||
381 | {0x0000a538, 0x53023f4b, 0x53023f4b, 0x43000e62, 0x43000e62}, | ||
382 | {0x0000a53c, 0x5a027f09, 0x5a027f09, 0x45000e63, 0x45000e63}, | ||
383 | {0x0000a540, 0x5f027fc9, 0x5f027fc9, 0x49000e65, 0x49000e65}, | ||
384 | {0x0000a544, 0x6502feca, 0x6502feca, 0x4b000e66, 0x4b000e66}, | ||
385 | {0x0000a548, 0x6b02ff4a, 0x6b02ff4a, 0x4d001645, 0x4d001645}, | ||
386 | {0x0000a54c, 0x7203feca, 0x7203feca, 0x51001865, 0x51001865}, | ||
387 | {0x0000a550, 0x7703ff0b, 0x7703ff0b, 0x55001a86, 0x55001a86}, | ||
388 | {0x0000a554, 0x7d06ffcb, 0x7d06ffcb, 0x57001ce9, 0x57001ce9}, | ||
389 | {0x0000a558, 0x8407ff0b, 0x8407ff0b, 0x5a001ceb, 0x5a001ceb}, | ||
390 | {0x0000a55c, 0x8907ffcb, 0x8907ffcb, 0x5e001eeb, 0x5e001eeb}, | ||
391 | {0x0000a560, 0x900fff0b, 0x900fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
392 | {0x0000a564, 0x960fffcb, 0x960fffcb, 0x5e001eeb, 0x5e001eeb}, | ||
393 | {0x0000a568, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
394 | {0x0000a56c, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
395 | {0x0000a570, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
396 | {0x0000a574, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
397 | {0x0000a578, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
398 | {0x0000a57c, 0x9c1fff0b, 0x9c1fff0b, 0x5e001eeb, 0x5e001eeb}, | ||
399 | {0x0000a580, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
400 | {0x0000a584, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
401 | {0x0000a588, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
402 | {0x0000a58c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
403 | {0x0000a590, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
404 | {0x0000a594, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
405 | {0x0000a598, 0x00000000, 0x00000000, 0x01404501, 0x01404501}, | ||
406 | {0x0000a59c, 0x00000000, 0x00000000, 0x02808a02, 0x02808a02}, | ||
407 | {0x0000a5a0, 0x00000000, 0x00000000, 0x02808a02, 0x02808a02}, | ||
408 | {0x0000a5a4, 0x00000000, 0x00000000, 0x02808803, 0x02808803}, | ||
409 | {0x0000a5a8, 0x00000000, 0x00000000, 0x04c14b04, 0x04c14b04}, | ||
410 | {0x0000a5ac, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
411 | {0x0000a5b0, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
412 | {0x0000a5b4, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
413 | {0x0000a5b8, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
414 | {0x0000a5bc, 0x00000000, 0x00000000, 0x04c15305, 0x04c15305}, | ||
415 | {0x0000b500, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
416 | {0x0000b504, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
417 | {0x0000b508, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
418 | {0x0000b50c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
419 | {0x0000b510, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
420 | {0x0000b514, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
421 | {0x0000b518, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
422 | {0x0000b51c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
423 | {0x0000b520, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
424 | {0x0000b524, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
425 | {0x0000b528, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
426 | {0x0000b52c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
427 | {0x0000b530, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
428 | {0x0000b534, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
429 | {0x0000b538, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
430 | {0x0000b53c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
431 | {0x0000b540, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
432 | {0x0000b544, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
433 | {0x0000b548, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
434 | {0x0000b54c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
435 | {0x0000b550, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
436 | {0x0000b554, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
437 | {0x0000b558, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
438 | {0x0000b55c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
439 | {0x0000b560, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
440 | {0x0000b564, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
441 | {0x0000b568, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
442 | {0x0000b56c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
443 | {0x0000b570, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
444 | {0x0000b574, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
445 | {0x0000b578, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
446 | {0x0000b57c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
447 | {0x00016044, 0x05d6b2db, 0x05d6b2db, 0x05d6b2db, 0x05d6b2db}, | ||
448 | {0x00016048, 0x6c924260, 0x6c924260, 0x6c924260, 0x6c924260}, | ||
449 | }; | ||
240 | 450 | ||
241 | #define ar9485_modes_lowest_ob_db_tx_gain_1_1 ar9485Modes_low_ob_db_tx_gain_1_1 | 451 | #define ar9485_modes_lowest_ob_db_tx_gain_1_1 ar9485Modes_low_ob_db_tx_gain_1_1 |
242 | 452 | ||
@@ -245,19 +455,19 @@ static const u32 ar9485_1_1[][2] = { | |||
245 | {0x0000a580, 0x00000000}, | 455 | {0x0000a580, 0x00000000}, |
246 | {0x0000a584, 0x00000000}, | 456 | {0x0000a584, 0x00000000}, |
247 | {0x0000a588, 0x00000000}, | 457 | {0x0000a588, 0x00000000}, |
248 | {0x0000a58c, 0x00000000}, | 458 | {0x0000a58c, 0x01804000}, |
249 | {0x0000a590, 0x00000000}, | 459 | {0x0000a590, 0x02808a02}, |
250 | {0x0000a594, 0x00000000}, | 460 | {0x0000a594, 0x0340ca02}, |
251 | {0x0000a598, 0x00000000}, | 461 | {0x0000a598, 0x0340cd03}, |
252 | {0x0000a59c, 0x00000000}, | 462 | {0x0000a59c, 0x0340cd03}, |
253 | {0x0000a5a0, 0x00000000}, | 463 | {0x0000a5a0, 0x06415304}, |
254 | {0x0000a5a4, 0x00000000}, | 464 | {0x0000a5a4, 0x04c11905}, |
255 | {0x0000a5a8, 0x00000000}, | 465 | {0x0000a5a8, 0x06415905}, |
256 | {0x0000a5ac, 0x00000000}, | 466 | {0x0000a5ac, 0x06415905}, |
257 | {0x0000a5b0, 0x00000000}, | 467 | {0x0000a5b0, 0x06415905}, |
258 | {0x0000a5b4, 0x00000000}, | 468 | {0x0000a5b4, 0x06415905}, |
259 | {0x0000a5b8, 0x00000000}, | 469 | {0x0000a5b8, 0x06415905}, |
260 | {0x0000a5bc, 0x00000000}, | 470 | {0x0000a5bc, 0x06415905}, |
261 | }; | 471 | }; |
262 | 472 | ||
263 | static const u32 ar9485_1_1_radio_core[][2] = { | 473 | static const u32 ar9485_1_1_radio_core[][2] = { |
@@ -340,7 +550,7 @@ static const u32 ar9485_1_1_baseband_core[][2] = { | |||
340 | {0x00009880, 0x201fff00}, | 550 | {0x00009880, 0x201fff00}, |
341 | {0x00009884, 0x00001042}, | 551 | {0x00009884, 0x00001042}, |
342 | {0x000098a4, 0x00200400}, | 552 | {0x000098a4, 0x00200400}, |
343 | {0x000098b0, 0x52440bbe}, | 553 | {0x000098b0, 0x32840bbe}, |
344 | {0x000098d0, 0x004b6a8e}, | 554 | {0x000098d0, 0x004b6a8e}, |
345 | {0x000098d4, 0x00000820}, | 555 | {0x000098d4, 0x00000820}, |
346 | {0x000098dc, 0x00000000}, | 556 | {0x000098dc, 0x00000000}, |
@@ -362,7 +572,7 @@ static const u32 ar9485_1_1_baseband_core[][2] = { | |||
362 | {0x00009d18, 0x00000000}, | 572 | {0x00009d18, 0x00000000}, |
363 | {0x00009d1c, 0x00000000}, | 573 | {0x00009d1c, 0x00000000}, |
364 | {0x00009e08, 0x0038233c}, | 574 | {0x00009e08, 0x0038233c}, |
365 | {0x00009e24, 0x9927b515}, | 575 | {0x00009e24, 0x992bb515}, |
366 | {0x00009e28, 0x12ef0200}, | 576 | {0x00009e28, 0x12ef0200}, |
367 | {0x00009e30, 0x06336f77}, | 577 | {0x00009e30, 0x06336f77}, |
368 | {0x00009e34, 0x6af6532f}, | 578 | {0x00009e34, 0x6af6532f}, |
@@ -427,7 +637,7 @@ static const u32 ar9485_1_1_baseband_core[][2] = { | |||
427 | {0x0000a408, 0x0e79e5c6}, | 637 | {0x0000a408, 0x0e79e5c6}, |
428 | {0x0000a40c, 0x00820820}, | 638 | {0x0000a40c, 0x00820820}, |
429 | {0x0000a414, 0x1ce739cf}, | 639 | {0x0000a414, 0x1ce739cf}, |
430 | {0x0000a418, 0x2d0019ce}, | 640 | {0x0000a418, 0x2d0021ce}, |
431 | {0x0000a41c, 0x1ce739ce}, | 641 | {0x0000a41c, 0x1ce739ce}, |
432 | {0x0000a420, 0x000001ce}, | 642 | {0x0000a420, 0x000001ce}, |
433 | {0x0000a424, 0x1ce739ce}, | 643 | {0x0000a424, 0x1ce739ce}, |
@@ -443,8 +653,8 @@ static const u32 ar9485_1_1_baseband_core[][2] = { | |||
443 | {0x0000a44c, 0x00000001}, | 653 | {0x0000a44c, 0x00000001}, |
444 | {0x0000a450, 0x00010000}, | 654 | {0x0000a450, 0x00010000}, |
445 | {0x0000a5c4, 0xbfad9d74}, | 655 | {0x0000a5c4, 0xbfad9d74}, |
446 | {0x0000a5c8, 0x0048060a}, | 656 | {0x0000a5c8, 0x00480605}, |
447 | {0x0000a5cc, 0x00000637}, | 657 | {0x0000a5cc, 0x00002e37}, |
448 | {0x0000a760, 0x03020100}, | 658 | {0x0000a760, 0x03020100}, |
449 | {0x0000a764, 0x09080504}, | 659 | {0x0000a764, 0x09080504}, |
450 | {0x0000a768, 0x0d0c0b0a}, | 660 | {0x0000a768, 0x0d0c0b0a}, |
@@ -464,17 +674,22 @@ static const u32 ar9485_1_1_baseband_core[][2] = { | |||
464 | 674 | ||
465 | static const u32 ar9485_common_rx_gain_1_1[][2] = { | 675 | static const u32 ar9485_common_rx_gain_1_1[][2] = { |
466 | /* Addr allmodes */ | 676 | /* Addr allmodes */ |
467 | {0x0000a000, 0x00010000}, | 677 | {0x00009e00, 0x03721b20}, |
468 | {0x0000a004, 0x00030002}, | 678 | {0x00009e04, 0x00082020}, |
469 | {0x0000a008, 0x00050004}, | 679 | {0x00009e18, 0x0300501e}, |
470 | {0x0000a00c, 0x00810080}, | 680 | {0x00009e2c, 0x00002e21}, |
471 | {0x0000a010, 0x01800082}, | 681 | {0x00009e44, 0x02182324}, |
472 | {0x0000a014, 0x01820181}, | 682 | {0x0000a000, 0x00060005}, |
473 | {0x0000a018, 0x01840183}, | 683 | {0x0000a004, 0x00810080}, |
474 | {0x0000a01c, 0x01880185}, | 684 | {0x0000a008, 0x00830082}, |
475 | {0x0000a020, 0x018a0189}, | 685 | {0x0000a00c, 0x00850084}, |
476 | {0x0000a024, 0x02850284}, | 686 | {0x0000a010, 0x01820181}, |
477 | {0x0000a028, 0x02890288}, | 687 | {0x0000a014, 0x01840183}, |
688 | {0x0000a018, 0x01880185}, | ||
689 | {0x0000a01c, 0x018a0189}, | ||
690 | {0x0000a020, 0x02850284}, | ||
691 | {0x0000a024, 0x02890288}, | ||
692 | {0x0000a028, 0x028b028a}, | ||
478 | {0x0000a02c, 0x03850384}, | 693 | {0x0000a02c, 0x03850384}, |
479 | {0x0000a030, 0x03890388}, | 694 | {0x0000a030, 0x03890388}, |
480 | {0x0000a034, 0x038b038a}, | 695 | {0x0000a034, 0x038b038a}, |
@@ -496,15 +711,15 @@ static const u32 ar9485_common_rx_gain_1_1[][2] = { | |||
496 | {0x0000a074, 0x00000000}, | 711 | {0x0000a074, 0x00000000}, |
497 | {0x0000a078, 0x00000000}, | 712 | {0x0000a078, 0x00000000}, |
498 | {0x0000a07c, 0x00000000}, | 713 | {0x0000a07c, 0x00000000}, |
499 | {0x0000a080, 0x28282828}, | 714 | {0x0000a080, 0x18181818}, |
500 | {0x0000a084, 0x28282828}, | 715 | {0x0000a084, 0x18181818}, |
501 | {0x0000a088, 0x28282828}, | 716 | {0x0000a088, 0x18181818}, |
502 | {0x0000a08c, 0x28282828}, | 717 | {0x0000a08c, 0x18181818}, |
503 | {0x0000a090, 0x28282828}, | 718 | {0x0000a090, 0x18181818}, |
504 | {0x0000a094, 0x21212128}, | 719 | {0x0000a094, 0x18181818}, |
505 | {0x0000a098, 0x171c1c1c}, | 720 | {0x0000a098, 0x17181818}, |
506 | {0x0000a09c, 0x02020212}, | 721 | {0x0000a09c, 0x02020b0b}, |
507 | {0x0000a0a0, 0x00000202}, | 722 | {0x0000a0a0, 0x02020202}, |
508 | {0x0000a0a4, 0x00000000}, | 723 | {0x0000a0a4, 0x00000000}, |
509 | {0x0000a0a8, 0x00000000}, | 724 | {0x0000a0a8, 0x00000000}, |
510 | {0x0000a0ac, 0x00000000}, | 725 | {0x0000a0ac, 0x00000000}, |
@@ -512,22 +727,22 @@ static const u32 ar9485_common_rx_gain_1_1[][2] = { | |||
512 | {0x0000a0b4, 0x00000000}, | 727 | {0x0000a0b4, 0x00000000}, |
513 | {0x0000a0b8, 0x00000000}, | 728 | {0x0000a0b8, 0x00000000}, |
514 | {0x0000a0bc, 0x00000000}, | 729 | {0x0000a0bc, 0x00000000}, |
515 | {0x0000a0c0, 0x001f0000}, | 730 | {0x0000a0c0, 0x22072208}, |
516 | {0x0000a0c4, 0x111f1100}, | 731 | {0x0000a0c4, 0x22052206}, |
517 | {0x0000a0c8, 0x111d111e}, | 732 | {0x0000a0c8, 0x22032204}, |
518 | {0x0000a0cc, 0x111b111c}, | 733 | {0x0000a0cc, 0x22012202}, |
519 | {0x0000a0d0, 0x22032204}, | 734 | {0x0000a0d0, 0x221f2200}, |
520 | {0x0000a0d4, 0x22012202}, | 735 | {0x0000a0d4, 0x221d221e}, |
521 | {0x0000a0d8, 0x221f2200}, | 736 | {0x0000a0d8, 0x33023303}, |
522 | {0x0000a0dc, 0x221d221e}, | 737 | {0x0000a0dc, 0x33003301}, |
523 | {0x0000a0e0, 0x33013302}, | 738 | {0x0000a0e0, 0x331e331f}, |
524 | {0x0000a0e4, 0x331f3300}, | 739 | {0x0000a0e4, 0x4402331d}, |
525 | {0x0000a0e8, 0x4402331e}, | 740 | {0x0000a0e8, 0x44004401}, |
526 | {0x0000a0ec, 0x44004401}, | 741 | {0x0000a0ec, 0x441e441f}, |
527 | {0x0000a0f0, 0x441e441f}, | 742 | {0x0000a0f0, 0x55025503}, |
528 | {0x0000a0f4, 0x55015502}, | 743 | {0x0000a0f4, 0x55005501}, |
529 | {0x0000a0f8, 0x551f5500}, | 744 | {0x0000a0f8, 0x551e551f}, |
530 | {0x0000a0fc, 0x6602551e}, | 745 | {0x0000a0fc, 0x6602551d}, |
531 | {0x0000a100, 0x66006601}, | 746 | {0x0000a100, 0x66006601}, |
532 | {0x0000a104, 0x661e661f}, | 747 | {0x0000a104, 0x661e661f}, |
533 | {0x0000a108, 0x7703661d}, | 748 | {0x0000a108, 0x7703661d}, |
@@ -636,17 +851,12 @@ static const u32 ar9485_1_1_baseband_postamble[][5] = { | |||
636 | {0x0000982c, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4}, | 851 | {0x0000982c, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4}, |
637 | {0x00009830, 0x0000059c, 0x0000059c, 0x0000059c, 0x0000059c}, | 852 | {0x00009830, 0x0000059c, 0x0000059c, 0x0000059c, 0x0000059c}, |
638 | {0x00009c00, 0x00000044, 0x00000044, 0x00000044, 0x00000044}, | 853 | {0x00009c00, 0x00000044, 0x00000044, 0x00000044, 0x00000044}, |
639 | {0x00009e00, 0x0372161e, 0x0372161e, 0x037216a0, 0x037216a0}, | ||
640 | {0x00009e04, 0x00182020, 0x00182020, 0x00182020, 0x00182020}, | ||
641 | {0x00009e0c, 0x6c4000e2, 0x6d4000e2, 0x6d4000e2, 0x6c4000e2}, | 854 | {0x00009e0c, 0x6c4000e2, 0x6d4000e2, 0x6d4000e2, 0x6c4000e2}, |
642 | {0x00009e10, 0x7ec88d2e, 0x7ec88d2e, 0x7ec80d2e, 0x7ec80d2e}, | 855 | {0x00009e10, 0x7ec88d2e, 0x7ec88d2e, 0x7ec80d2e, 0x7ec80d2e}, |
643 | {0x00009e14, 0x31395d5e, 0x3139605e, 0x3139605e, 0x31395d5e}, | 856 | {0x00009e14, 0x31395d53, 0x31396053, 0x312e6053, 0x312e5d53}, |
644 | {0x00009e18, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | ||
645 | {0x00009e1c, 0x0001cf9c, 0x0001cf9c, 0x00021f9c, 0x00021f9c}, | 857 | {0x00009e1c, 0x0001cf9c, 0x0001cf9c, 0x00021f9c, 0x00021f9c}, |
646 | {0x00009e20, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce}, | 858 | {0x00009e20, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce}, |
647 | {0x00009e2c, 0x0000001c, 0x0000001c, 0x00000021, 0x00000021}, | ||
648 | {0x00009e3c, 0xcf946220, 0xcf946220, 0xcf946222, 0xcf946222}, | 859 | {0x00009e3c, 0xcf946220, 0xcf946220, 0xcf946222, 0xcf946222}, |
649 | {0x00009e44, 0x02321e27, 0x02321e27, 0x02282324, 0x02282324}, | ||
650 | {0x00009e48, 0x5030201a, 0x5030201a, 0x50302010, 0x50302010}, | 860 | {0x00009e48, 0x5030201a, 0x5030201a, 0x50302010, 0x50302010}, |
651 | {0x00009fc8, 0x0003f000, 0x0003f000, 0x0001a000, 0x0001a000}, | 861 | {0x00009fc8, 0x0003f000, 0x0003f000, 0x0001a000, 0x0001a000}, |
652 | {0x0000a204, 0x01303fc0, 0x01303fc4, 0x01303fc4, 0x01303fc0}, | 862 | {0x0000a204, 0x01303fc0, 0x01303fc4, 0x01303fc4, 0x01303fc0}, |