diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2010-11-23 14:51:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-30 13:53:45 -0500 |
commit | 8c2b418a07b4dc77d7efadb890ba9ad1a4161c3f (patch) | |
tree | a07ef904c8e4113ed17def6d82b1eed370331ad1 /drivers | |
parent | acb091d67c5c9649cf5d25055ef6fd64239a6762 (diff) |
ath5k: Clean up turbo mode initvals/rfregs
* Clean up what's left of turbo mode, since we handle all
register modifications (rfbuffer comes next) on code there
is no need to have duplicated arrays.
* Rename change_channel to skip_pcu on initvals.c as we did
on reset.c
Signed-off-by: Nick Kossifidis <micklfemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 17 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/caps.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/initvals.c | 386 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath5k/rfbuffer.h | 1142 |
5 files changed, 577 insertions, 976 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index 81ad236932c8..899bf4b99b76 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h | |||
@@ -158,15 +158,6 @@ | |||
158 | #define AR5K_INI_RFGAIN_5GHZ 0 | 158 | #define AR5K_INI_RFGAIN_5GHZ 0 |
159 | #define AR5K_INI_RFGAIN_2GHZ 1 | 159 | #define AR5K_INI_RFGAIN_2GHZ 1 |
160 | 160 | ||
161 | /* TODO: Clean this up */ | ||
162 | #define AR5K_INI_VAL_11A 0 | ||
163 | #define AR5K_INI_VAL_11A_TURBO 1 | ||
164 | #define AR5K_INI_VAL_11B 2 | ||
165 | #define AR5K_INI_VAL_11G 3 | ||
166 | #define AR5K_INI_VAL_11G_TURBO 4 | ||
167 | #define AR5K_INI_VAL_XR 0 | ||
168 | #define AR5K_INI_VAL_MAX 5 | ||
169 | |||
170 | /* | 161 | /* |
171 | * Some tuneable values (these should be changeable by the user) | 162 | * Some tuneable values (these should be changeable by the user) |
172 | * TODO: Make use of them and add more options OR use debug/configfs | 163 | * TODO: Make use of them and add more options OR use debug/configfs |
@@ -429,12 +420,10 @@ struct ath5k_srev_name { | |||
429 | 420 | ||
430 | enum ath5k_driver_mode { | 421 | enum ath5k_driver_mode { |
431 | AR5K_MODE_11A = 0, | 422 | AR5K_MODE_11A = 0, |
432 | AR5K_MODE_11A_TURBO = 1, | 423 | AR5K_MODE_11B = 1, |
433 | AR5K_MODE_11B = 2, | 424 | AR5K_MODE_11G = 2, |
434 | AR5K_MODE_11G = 3, | ||
435 | AR5K_MODE_11G_TURBO = 4, | ||
436 | AR5K_MODE_XR = 0, | 425 | AR5K_MODE_XR = 0, |
437 | AR5K_MODE_MAX = 5 | 426 | AR5K_MODE_MAX = 3 |
438 | }; | 427 | }; |
439 | 428 | ||
440 | enum ath5k_ant_mode { | 429 | enum ath5k_ant_mode { |
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 80831171f1b0..a8d380aae658 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -328,14 +328,12 @@ ath5k_copy_channels(struct ath5k_hw *ah, | |||
328 | 328 | ||
329 | switch (mode) { | 329 | switch (mode) { |
330 | case AR5K_MODE_11A: | 330 | case AR5K_MODE_11A: |
331 | case AR5K_MODE_11A_TURBO: | ||
332 | /* 1..220, but 2GHz frequencies are filtered by check_channel */ | 331 | /* 1..220, but 2GHz frequencies are filtered by check_channel */ |
333 | size = 220 ; | 332 | size = 220 ; |
334 | chfreq = CHANNEL_5GHZ; | 333 | chfreq = CHANNEL_5GHZ; |
335 | break; | 334 | break; |
336 | case AR5K_MODE_11B: | 335 | case AR5K_MODE_11B: |
337 | case AR5K_MODE_11G: | 336 | case AR5K_MODE_11G: |
338 | case AR5K_MODE_11G_TURBO: | ||
339 | size = 26; | 337 | size = 26; |
340 | chfreq = CHANNEL_2GHZ; | 338 | chfreq = CHANNEL_2GHZ; |
341 | break; | 339 | break; |
diff --git a/drivers/net/wireless/ath/ath5k/caps.c b/drivers/net/wireless/ath/ath5k/caps.c index beae519aa735..31cad80e9b01 100644 --- a/drivers/net/wireless/ath/ath5k/caps.c +++ b/drivers/net/wireless/ath/ath5k/caps.c | |||
@@ -49,7 +49,6 @@ int ath5k_hw_set_capabilities(struct ath5k_hw *ah) | |||
49 | 49 | ||
50 | /* Set supported modes */ | 50 | /* Set supported modes */ |
51 | __set_bit(AR5K_MODE_11A, ah->ah_capabilities.cap_mode); | 51 | __set_bit(AR5K_MODE_11A, ah->ah_capabilities.cap_mode); |
52 | __set_bit(AR5K_MODE_11A_TURBO, ah->ah_capabilities.cap_mode); | ||
53 | } else { | 52 | } else { |
54 | /* | 53 | /* |
55 | * XXX The tranceiver supports frequencies from 4920 to 6100GHz | 54 | * XXX The tranceiver supports frequencies from 4920 to 6100GHz |
@@ -74,11 +73,6 @@ int ath5k_hw_set_capabilities(struct ath5k_hw *ah) | |||
74 | /* Set supported modes */ | 73 | /* Set supported modes */ |
75 | __set_bit(AR5K_MODE_11A, | 74 | __set_bit(AR5K_MODE_11A, |
76 | ah->ah_capabilities.cap_mode); | 75 | ah->ah_capabilities.cap_mode); |
77 | __set_bit(AR5K_MODE_11A_TURBO, | ||
78 | ah->ah_capabilities.cap_mode); | ||
79 | if (ah->ah_version == AR5K_AR5212) | ||
80 | __set_bit(AR5K_MODE_11G_TURBO, | ||
81 | ah->ah_capabilities.cap_mode); | ||
82 | } | 76 | } |
83 | 77 | ||
84 | /* Enable 802.11b if a 2GHz capable radio (2111/5112) is | 78 | /* Enable 802.11b if a 2GHz capable radio (2111/5112) is |
diff --git a/drivers/net/wireless/ath/ath5k/initvals.c b/drivers/net/wireless/ath/ath5k/initvals.c index 8fa439308828..905e4fdffc6d 100644 --- a/drivers/net/wireless/ath/ath5k/initvals.c +++ b/drivers/net/wireless/ath/ath5k/initvals.c | |||
@@ -44,7 +44,7 @@ struct ath5k_ini { | |||
44 | 44 | ||
45 | struct ath5k_ini_mode { | 45 | struct ath5k_ini_mode { |
46 | u16 mode_register; | 46 | u16 mode_register; |
47 | u32 mode_value[5]; | 47 | u32 mode_value[3]; |
48 | }; | 48 | }; |
49 | 49 | ||
50 | /* Initial register settings for AR5210 */ | 50 | /* Initial register settings for AR5210 */ |
@@ -391,76 +391,74 @@ static const struct ath5k_ini ar5211_ini[] = { | |||
391 | */ | 391 | */ |
392 | static const struct ath5k_ini_mode ar5211_ini_mode[] = { | 392 | static const struct ath5k_ini_mode ar5211_ini_mode[] = { |
393 | { AR5K_TXCFG, | 393 | { AR5K_TXCFG, |
394 | /* a aTurbo b g (OFDM) */ | 394 | /* A/XR B G */ |
395 | { 0x00000015, 0x00000015, 0x0000001d, 0x00000015 } }, | 395 | { 0x00000015, 0x0000001d, 0x00000015 } }, |
396 | { AR5K_QUEUE_DFS_LOCAL_IFS(0), | 396 | { AR5K_QUEUE_DFS_LOCAL_IFS(0), |
397 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 397 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
398 | { AR5K_QUEUE_DFS_LOCAL_IFS(1), | 398 | { AR5K_QUEUE_DFS_LOCAL_IFS(1), |
399 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 399 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
400 | { AR5K_QUEUE_DFS_LOCAL_IFS(2), | 400 | { AR5K_QUEUE_DFS_LOCAL_IFS(2), |
401 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 401 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
402 | { AR5K_QUEUE_DFS_LOCAL_IFS(3), | 402 | { AR5K_QUEUE_DFS_LOCAL_IFS(3), |
403 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 403 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
404 | { AR5K_QUEUE_DFS_LOCAL_IFS(4), | 404 | { AR5K_QUEUE_DFS_LOCAL_IFS(4), |
405 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 405 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
406 | { AR5K_QUEUE_DFS_LOCAL_IFS(5), | 406 | { AR5K_QUEUE_DFS_LOCAL_IFS(5), |
407 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 407 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
408 | { AR5K_QUEUE_DFS_LOCAL_IFS(6), | 408 | { AR5K_QUEUE_DFS_LOCAL_IFS(6), |
409 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 409 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
410 | { AR5K_QUEUE_DFS_LOCAL_IFS(7), | 410 | { AR5K_QUEUE_DFS_LOCAL_IFS(7), |
411 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 411 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
412 | { AR5K_QUEUE_DFS_LOCAL_IFS(8), | 412 | { AR5K_QUEUE_DFS_LOCAL_IFS(8), |
413 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 413 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
414 | { AR5K_QUEUE_DFS_LOCAL_IFS(9), | 414 | { AR5K_QUEUE_DFS_LOCAL_IFS(9), |
415 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, | 415 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
416 | { AR5K_DCU_GBL_IFS_SLOT, | 416 | { AR5K_DCU_GBL_IFS_SLOT, |
417 | { 0x00000168, 0x000001e0, 0x000001b8, 0x00000168 } }, | 417 | { 0x00000168, 0x000001b8, 0x00000168 } }, |
418 | { AR5K_DCU_GBL_IFS_SIFS, | 418 | { AR5K_DCU_GBL_IFS_SIFS, |
419 | { 0x00000230, 0x000001e0, 0x000000b0, 0x00000230 } }, | 419 | { 0x00000230, 0x000000b0, 0x00000230 } }, |
420 | { AR5K_DCU_GBL_IFS_EIFS, | 420 | { AR5K_DCU_GBL_IFS_EIFS, |
421 | { 0x00000d98, 0x00001180, 0x00001f48, 0x00000d98 } }, | 421 | { 0x00000d98, 0x00001f48, 0x00000d98 } }, |
422 | { AR5K_DCU_GBL_IFS_MISC, | 422 | { AR5K_DCU_GBL_IFS_MISC, |
423 | { 0x0000a0e0, 0x00014068, 0x00005880, 0x0000a0e0 } }, | 423 | { 0x0000a0e0, 0x00005880, 0x0000a0e0 } }, |
424 | { AR5K_TIME_OUT, | 424 | { AR5K_TIME_OUT, |
425 | { 0x04000400, 0x08000800, 0x20003000, 0x04000400 } }, | 425 | { 0x04000400, 0x20003000, 0x04000400 } }, |
426 | { AR5K_USEC_5211, | 426 | { AR5K_USEC_5211, |
427 | { 0x0e8d8fa7, 0x0e8d8fcf, 0x01608f95, 0x0e8d8fa7 } }, | 427 | { 0x0e8d8fa7, 0x01608f95, 0x0e8d8fa7 } }, |
428 | { AR5K_PHY_TURBO, | ||
429 | { 0x00000000, 0x00000003, 0x00000000, 0x00000000 } }, | ||
430 | { AR5K_PHY(8), | 428 | { AR5K_PHY(8), |
431 | { 0x02020200, 0x02020200, 0x02010200, 0x02020200 } }, | 429 | { 0x02020200, 0x02010200, 0x02020200 } }, |
432 | { AR5K_PHY(9), | 430 | { AR5K_PHY_RF_CTL2, |
433 | { 0x00000e0e, 0x00000e0e, 0x00000707, 0x00000e0e } }, | 431 | { 0x00000e0e, 0x00000707, 0x00000e0e } }, |
434 | { AR5K_PHY(10), | 432 | { AR5K_PHY_RF_CTL3, |
435 | { 0x0a020001, 0x0a020001, 0x05010000, 0x0a020001 } }, | 433 | { 0x0a020001, 0x05010000, 0x0a020001 } }, |
436 | { AR5K_PHY(13), | 434 | { AR5K_PHY_RF_CTL4, |
437 | { 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e } }, | 435 | { 0x00000e0e, 0x00000e0e, 0x00000e0e } }, |
438 | { AR5K_PHY(14), | 436 | { AR5K_PHY_PA_CTL, |
439 | { 0x00000007, 0x00000007, 0x0000000b, 0x0000000b } }, | 437 | { 0x00000007, 0x0000000b, 0x0000000b } }, |
440 | { AR5K_PHY(17), | 438 | { AR5K_PHY_SETTLING, |
441 | { 0x1372169c, 0x137216a5, 0x137216a8, 0x1372169c } }, | 439 | { 0x1372169c, 0x137216a8, 0x1372169c } }, |
442 | { AR5K_PHY(18), | 440 | { AR5K_PHY_GAIN, |
443 | { 0x0018ba67, 0x0018ba67, 0x0018ba69, 0x0018ba69 } }, | 441 | { 0x0018ba67, 0x0018ba69, 0x0018ba69 } }, |
444 | { AR5K_PHY(20), | 442 | { AR5K_PHY_DESIRED_SIZE, |
445 | { 0x0c28b4e0, 0x0c28b4e0, 0x0c28b4e0, 0x0c28b4e0 } }, | 443 | { 0x0c28b4e0, 0x0c28b4e0, 0x0c28b4e0 } }, |
446 | { AR5K_PHY_SIG, | 444 | { AR5K_PHY_SIG, |
447 | { 0x7e800d2e, 0x7e800d2e, 0x7ec00d2e, 0x7e800d2e } }, | 445 | { 0x7e800d2e, 0x7ec00d2e, 0x7e800d2e } }, |
448 | { AR5K_PHY_AGCCOARSE, | 446 | { AR5K_PHY_AGCCOARSE, |
449 | { 0x31375d5e, 0x31375d5e, 0x313a5d5e, 0x31375d5e } }, | 447 | { 0x31375d5e, 0x313a5d5e, 0x31375d5e } }, |
450 | { AR5K_PHY_AGCCTL, | 448 | { AR5K_PHY_AGCCTL, |
451 | { 0x0000bd10, 0x0000bd10, 0x0000bd38, 0x0000bd10 } }, | 449 | { 0x0000bd10, 0x0000bd38, 0x0000bd10 } }, |
452 | { AR5K_PHY_NF, | 450 | { AR5K_PHY_NF, |
453 | { 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00 } }, | 451 | { 0x0001ce00, 0x0001ce00, 0x0001ce00 } }, |
454 | { AR5K_PHY_RX_DELAY, | 452 | { AR5K_PHY_RX_DELAY, |
455 | { 0x00002710, 0x00002710, 0x0000157c, 0x00002710 } }, | 453 | { 0x00002710, 0x0000157c, 0x00002710 } }, |
456 | { AR5K_PHY(70), | 454 | { AR5K_PHY(70), |
457 | { 0x00000190, 0x00000190, 0x00000084, 0x00000190 } }, | 455 | { 0x00000190, 0x00000084, 0x00000190 } }, |
458 | { AR5K_PHY_FRAME_CTL_5211, | 456 | { AR5K_PHY_FRAME_CTL_5211, |
459 | { 0x6fe01020, 0x6fe01020, 0x6fe00920, 0x6fe01020 } }, | 457 | { 0x6fe01020, 0x6fe00920, 0x6fe01020 } }, |
460 | { AR5K_PHY_PCDAC_TXPOWER_BASE, | 458 | { AR5K_PHY_PCDAC_TXPOWER_BASE, |
461 | { 0x05ff14ff, 0x05ff14ff, 0x05ff14ff, 0x05ff19ff } }, | 459 | { 0x05ff14ff, 0x05ff14ff, 0x05ff19ff } }, |
462 | { AR5K_RF_BUFFER_CONTROL_4, | 460 | { AR5K_RF_BUFFER_CONTROL_4, |
463 | { 0x00000010, 0x00000014, 0x00000010, 0x00000010 } }, | 461 | { 0x00000010, 0x00000010, 0x00000010 } }, |
464 | }; | 462 | }; |
465 | 463 | ||
466 | /* Initial register settings for AR5212 */ | 464 | /* Initial register settings for AR5212 */ |
@@ -677,89 +675,87 @@ static const struct ath5k_ini ar5212_ini_common_start[] = { | |||
677 | /* Initial mode-specific settings for AR5212 (Written before ar5212_ini) */ | 675 | /* Initial mode-specific settings for AR5212 (Written before ar5212_ini) */ |
678 | static const struct ath5k_ini_mode ar5212_ini_mode_start[] = { | 676 | static const struct ath5k_ini_mode ar5212_ini_mode_start[] = { |
679 | { AR5K_QUEUE_DFS_LOCAL_IFS(0), | 677 | { AR5K_QUEUE_DFS_LOCAL_IFS(0), |
680 | /* a/XR aTurbo b g (DYN) gTurbo */ | 678 | /* A/XR B G */ |
681 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 679 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
682 | { AR5K_QUEUE_DFS_LOCAL_IFS(1), | 680 | { AR5K_QUEUE_DFS_LOCAL_IFS(1), |
683 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 681 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
684 | { AR5K_QUEUE_DFS_LOCAL_IFS(2), | 682 | { AR5K_QUEUE_DFS_LOCAL_IFS(2), |
685 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 683 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
686 | { AR5K_QUEUE_DFS_LOCAL_IFS(3), | 684 | { AR5K_QUEUE_DFS_LOCAL_IFS(3), |
687 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 685 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
688 | { AR5K_QUEUE_DFS_LOCAL_IFS(4), | 686 | { AR5K_QUEUE_DFS_LOCAL_IFS(4), |
689 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 687 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
690 | { AR5K_QUEUE_DFS_LOCAL_IFS(5), | 688 | { AR5K_QUEUE_DFS_LOCAL_IFS(5), |
691 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 689 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
692 | { AR5K_QUEUE_DFS_LOCAL_IFS(6), | 690 | { AR5K_QUEUE_DFS_LOCAL_IFS(6), |
693 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 691 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
694 | { AR5K_QUEUE_DFS_LOCAL_IFS(7), | 692 | { AR5K_QUEUE_DFS_LOCAL_IFS(7), |
695 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 693 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
696 | { AR5K_QUEUE_DFS_LOCAL_IFS(8), | 694 | { AR5K_QUEUE_DFS_LOCAL_IFS(8), |
697 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 695 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
698 | { AR5K_QUEUE_DFS_LOCAL_IFS(9), | 696 | { AR5K_QUEUE_DFS_LOCAL_IFS(9), |
699 | { 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f } }, | 697 | { 0x002ffc0f, 0x002ffc1f, 0x002ffc0f } }, |
700 | { AR5K_DCU_GBL_IFS_SIFS, | 698 | { AR5K_DCU_GBL_IFS_SIFS, |
701 | { 0x00000230, 0x000001e0, 0x000000b0, 0x00000160, 0x000001e0 } }, | 699 | { 0x00000230, 0x000000b0, 0x00000160 } }, |
702 | { AR5K_DCU_GBL_IFS_SLOT, | 700 | { AR5K_DCU_GBL_IFS_SLOT, |
703 | { 0x00000168, 0x000001e0, 0x000001b8, 0x0000018c, 0x000001e0 } }, | 701 | { 0x00000168, 0x000001b8, 0x0000018c } }, |
704 | { AR5K_DCU_GBL_IFS_EIFS, | 702 | { AR5K_DCU_GBL_IFS_EIFS, |
705 | { 0x00000e60, 0x00001180, 0x00001f1c, 0x00003e38, 0x00001180 } }, | 703 | { 0x00000e60, 0x00001f1c, 0x00003e38 } }, |
706 | { AR5K_DCU_GBL_IFS_MISC, | 704 | { AR5K_DCU_GBL_IFS_MISC, |
707 | { 0x0000a0e0, 0x00014068, 0x00005880, 0x0000b0e0, 0x00014068 } }, | 705 | { 0x0000a0e0, 0x00005880, 0x0000b0e0 } }, |
708 | { AR5K_TIME_OUT, | 706 | { AR5K_TIME_OUT, |
709 | { 0x03e803e8, 0x06e006e0, 0x04200420, 0x08400840, 0x06e006e0 } }, | 707 | { 0x03e803e8, 0x04200420, 0x08400840 } }, |
710 | { AR5K_PHY_TURBO, | ||
711 | { 0x00000000, 0x00000003, 0x00000000, 0x00000000, 0x00000003 } }, | ||
712 | { AR5K_PHY(8), | 708 | { AR5K_PHY(8), |
713 | { 0x02020200, 0x02020200, 0x02010200, 0x02020200, 0x02020200 } }, | 709 | { 0x02020200, 0x02010200, 0x02020200 } }, |
714 | { AR5K_PHY_RF_CTL2, | 710 | { AR5K_PHY_RF_CTL2, |
715 | { 0x00000e0e, 0x00000e0e, 0x00000707, 0x00000e0e, 0x00000e0e } }, | 711 | { 0x00000e0e, 0x00000707, 0x00000e0e } }, |
716 | { AR5K_PHY_SETTLING, | 712 | { AR5K_PHY_SETTLING, |
717 | { 0x1372161c, 0x13721c25, 0x13721722, 0x137216a2, 0x13721c25 } }, | 713 | { 0x1372161c, 0x13721722, 0x137216a2 } }, |
718 | { AR5K_PHY_AGCCTL, | 714 | { AR5K_PHY_AGCCTL, |
719 | { 0x00009d10, 0x00009d10, 0x00009d18, 0x00009d18, 0x00009d10 } }, | 715 | { 0x00009d10, 0x00009d18, 0x00009d18 } }, |
720 | { AR5K_PHY_NF, | 716 | { AR5K_PHY_NF, |
721 | { 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00 } }, | 717 | { 0x0001ce00, 0x0001ce00, 0x0001ce00 } }, |
722 | { AR5K_PHY_WEAK_OFDM_HIGH_THR, | 718 | { AR5K_PHY_WEAK_OFDM_HIGH_THR, |
723 | { 0x409a4190, 0x409a4190, 0x409a4190, 0x409a4190, 0x409a4190 } }, | 719 | { 0x409a4190, 0x409a4190, 0x409a4190 } }, |
724 | { AR5K_PHY(70), | 720 | { AR5K_PHY(70), |
725 | { 0x000001b8, 0x000001b8, 0x00000084, 0x00000108, 0x000001b8 } }, | 721 | { 0x000001b8, 0x00000084, 0x00000108 } }, |
726 | { AR5K_PHY_OFDM_SELFCORR, | 722 | { AR5K_PHY_OFDM_SELFCORR, |
727 | { 0x10058a05, 0x10058a05, 0x10058a05, 0x10058a05, 0x10058a05 } }, | 723 | { 0x10058a05, 0x10058a05, 0x10058a05 } }, |
728 | { 0xa230, | 724 | { 0xa230, |
729 | { 0x00000000, 0x00000000, 0x00000000, 0x00000108, 0x00000000 } }, | 725 | { 0x00000000, 0x00000000, 0x00000108 } }, |
730 | }; | 726 | }; |
731 | 727 | ||
732 | /* Initial mode-specific settings for AR5212 + RF5111 (Written after ar5212_ini) */ | 728 | /* Initial mode-specific settings for AR5212 + RF5111 (Written after ar5212_ini) */ |
733 | static const struct ath5k_ini_mode rf5111_ini_mode_end[] = { | 729 | static const struct ath5k_ini_mode rf5111_ini_mode_end[] = { |
734 | { AR5K_TXCFG, | 730 | { AR5K_TXCFG, |
735 | /* a/XR aTurbo b g (DYN) gTurbo */ | 731 | /* A/XR B G */ |
736 | { 0x00008015, 0x00008015, 0x00008015, 0x00008015, 0x00008015 } }, | 732 | { 0x00008015, 0x00008015, 0x00008015 } }, |
737 | { AR5K_USEC_5211, | 733 | { AR5K_USEC_5211, |
738 | { 0x128d8fa7, 0x09880fcf, 0x04e00f95, 0x12e00fab, 0x09880fcf } }, | 734 | { 0x128d8fa7, 0x04e00f95, 0x12e00fab } }, |
739 | { AR5K_PHY_RF_CTL3, | 735 | { AR5K_PHY_RF_CTL3, |
740 | { 0x0a020001, 0x0a020001, 0x05010100, 0x0a020001, 0x0a020001 } }, | 736 | { 0x0a020001, 0x05010100, 0x0a020001 } }, |
741 | { AR5K_PHY_RF_CTL4, | 737 | { AR5K_PHY_RF_CTL4, |
742 | { 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e } }, | 738 | { 0x00000e0e, 0x00000e0e, 0x00000e0e } }, |
743 | { AR5K_PHY_PA_CTL, | 739 | { AR5K_PHY_PA_CTL, |
744 | { 0x00000007, 0x00000007, 0x0000000b, 0x0000000b, 0x0000000b } }, | 740 | { 0x00000007, 0x0000000b, 0x0000000b } }, |
745 | { AR5K_PHY_GAIN, | 741 | { AR5K_PHY_GAIN, |
746 | { 0x0018da5a, 0x0018da5a, 0x0018ca69, 0x0018ca69, 0x0018ca69 } }, | 742 | { 0x0018da5a, 0x0018ca69, 0x0018ca69 } }, |
747 | { AR5K_PHY_DESIRED_SIZE, | 743 | { AR5K_PHY_DESIRED_SIZE, |
748 | { 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0 } }, | 744 | { 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0 } }, |
749 | { AR5K_PHY_SIG, | 745 | { AR5K_PHY_SIG, |
750 | { 0x7e800d2e, 0x7e800d2e, 0x7ee84d2e, 0x7ee84d2e, 0x7e800d2e } }, | 746 | { 0x7e800d2e, 0x7ee84d2e, 0x7ee84d2e } }, |
751 | { AR5K_PHY_AGCCOARSE, | 747 | { AR5K_PHY_AGCCOARSE, |
752 | { 0x3137665e, 0x3137665e, 0x3137665e, 0x3137665e, 0x3137615e } }, | 748 | { 0x3137665e, 0x3137665e, 0x3137665e } }, |
753 | { AR5K_PHY_WEAK_OFDM_LOW_THR, | 749 | { AR5K_PHY_WEAK_OFDM_LOW_THR, |
754 | { 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb080, 0x050cb080 } }, | 750 | { 0x050cb081, 0x050cb081, 0x050cb080 } }, |
755 | { AR5K_PHY_RX_DELAY, | 751 | { AR5K_PHY_RX_DELAY, |
756 | { 0x00002710, 0x00002710, 0x0000157c, 0x00002af8, 0x00002710 } }, | 752 | { 0x00002710, 0x0000157c, 0x00002af8 } }, |
757 | { AR5K_PHY_FRAME_CTL_5211, | 753 | { AR5K_PHY_FRAME_CTL_5211, |
758 | { 0xf7b81020, 0xf7b81020, 0xf7b80d20, 0xf7b81020, 0xf7b81020 } }, | 754 | { 0xf7b81020, 0xf7b80d20, 0xf7b81020 } }, |
759 | { AR5K_PHY_GAIN_2GHZ, | 755 | { AR5K_PHY_GAIN_2GHZ, |
760 | { 0x642c416a, 0x642c416a, 0x6440416a, 0x6440416a, 0x6440416a } }, | 756 | { 0x642c416a, 0x6440416a, 0x6440416a } }, |
761 | { AR5K_PHY_CCK_RX_CTL_4, | 757 | { AR5K_PHY_CCK_RX_CTL_4, |
762 | { 0x1883800a, 0x1883800a, 0x1873800a, 0x1883800a, 0x1883800a } }, | 758 | { 0x1883800a, 0x1873800a, 0x1883800a } }, |
763 | }; | 759 | }; |
764 | 760 | ||
765 | static const struct ath5k_ini rf5111_ini_common_end[] = { | 761 | static const struct ath5k_ini rf5111_ini_common_end[] = { |
@@ -782,38 +778,38 @@ static const struct ath5k_ini rf5111_ini_common_end[] = { | |||
782 | /* Initial mode-specific settings for AR5212 + RF5112 (Written after ar5212_ini) */ | 778 | /* Initial mode-specific settings for AR5212 + RF5112 (Written after ar5212_ini) */ |
783 | static const struct ath5k_ini_mode rf5112_ini_mode_end[] = { | 779 | static const struct ath5k_ini_mode rf5112_ini_mode_end[] = { |
784 | { AR5K_TXCFG, | 780 | { AR5K_TXCFG, |
785 | /* a/XR aTurbo b g (DYN) gTurbo */ | 781 | /* A/XR B G */ |
786 | { 0x00008015, 0x00008015, 0x00008015, 0x00008015, 0x00008015 } }, | 782 | { 0x00008015, 0x00008015, 0x00008015 } }, |
787 | { AR5K_USEC_5211, | 783 | { AR5K_USEC_5211, |
788 | { 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf } }, | 784 | { 0x128d93a7, 0x04e01395, 0x12e013ab } }, |
789 | { AR5K_PHY_RF_CTL3, | 785 | { AR5K_PHY_RF_CTL3, |
790 | { 0x0a020001, 0x0a020001, 0x05020100, 0x0a020001, 0x0a020001 } }, | 786 | { 0x0a020001, 0x05020100, 0x0a020001 } }, |
791 | { AR5K_PHY_RF_CTL4, | 787 | { AR5K_PHY_RF_CTL4, |
792 | { 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e } }, | 788 | { 0x00000e0e, 0x00000e0e, 0x00000e0e } }, |
793 | { AR5K_PHY_PA_CTL, | 789 | { AR5K_PHY_PA_CTL, |
794 | { 0x00000007, 0x00000007, 0x0000000b, 0x0000000b, 0x0000000b } }, | 790 | { 0x00000007, 0x0000000b, 0x0000000b } }, |
795 | { AR5K_PHY_GAIN, | 791 | { AR5K_PHY_GAIN, |
796 | { 0x0018da6d, 0x0018da6d, 0x0018ca75, 0x0018ca75, 0x0018ca75 } }, | 792 | { 0x0018da6d, 0x0018ca75, 0x0018ca75 } }, |
797 | { AR5K_PHY_DESIRED_SIZE, | 793 | { AR5K_PHY_DESIRED_SIZE, |
798 | { 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0 } }, | 794 | { 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0 } }, |
799 | { AR5K_PHY_SIG, | 795 | { AR5K_PHY_SIG, |
800 | { 0x7e800d2e, 0x7e800d2e, 0x7ee80d2e, 0x7ee80d2e, 0x7e800d2e } }, | 796 | { 0x7e800d2e, 0x7ee80d2e, 0x7ee80d2e } }, |
801 | { AR5K_PHY_AGCCOARSE, | 797 | { AR5K_PHY_AGCCOARSE, |
802 | { 0x3137665e, 0x3137665e, 0x3137665e, 0x3137665e, 0x3137665e } }, | 798 | { 0x3137665e, 0x3137665e, 0x3137665e } }, |
803 | { AR5K_PHY_WEAK_OFDM_LOW_THR, | 799 | { AR5K_PHY_WEAK_OFDM_LOW_THR, |
804 | { 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 } }, | 800 | { 0x050cb081, 0x050cb081, 0x050cb081 } }, |
805 | { AR5K_PHY_RX_DELAY, | 801 | { AR5K_PHY_RX_DELAY, |
806 | { 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 } }, | 802 | { 0x000007d0, 0x0000044c, 0x00000898 } }, |
807 | { AR5K_PHY_FRAME_CTL_5211, | 803 | { AR5K_PHY_FRAME_CTL_5211, |
808 | { 0xf7b81020, 0xf7b81020, 0xf7b80d10, 0xf7b81010, 0xf7b81010 } }, | 804 | { 0xf7b81020, 0xf7b80d10, 0xf7b81010 } }, |
809 | { AR5K_PHY_CCKTXCTL, | 805 | { AR5K_PHY_CCKTXCTL, |
810 | { 0x00000000, 0x00000000, 0x00000008, 0x00000008, 0x00000008 } }, | 806 | { 0x00000000, 0x00000008, 0x00000008 } }, |
811 | { AR5K_PHY_CCK_CROSSCORR, | 807 | { AR5K_PHY_CCK_CROSSCORR, |
812 | { 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 } }, | 808 | { 0xd6be6788, 0xd03e6788, 0xd03e6788 } }, |
813 | { AR5K_PHY_GAIN_2GHZ, | 809 | { AR5K_PHY_GAIN_2GHZ, |
814 | { 0x642c0140, 0x642c0140, 0x6442c160, 0x6442c160, 0x6442c160 } }, | 810 | { 0x642c0140, 0x6442c160, 0x6442c160 } }, |
815 | { AR5K_PHY_CCK_RX_CTL_4, | 811 | { AR5K_PHY_CCK_RX_CTL_4, |
816 | { 0x1883800a, 0x1883800a, 0x1873800a, 0x1883800a, 0x1883800a } }, | 812 | { 0x1883800a, 0x1873800a, 0x1883800a } }, |
817 | }; | 813 | }; |
818 | 814 | ||
819 | static const struct ath5k_ini rf5112_ini_common_end[] = { | 815 | static const struct ath5k_ini rf5112_ini_common_end[] = { |
@@ -833,66 +829,66 @@ static const struct ath5k_ini rf5112_ini_common_end[] = { | |||
833 | /* Initial mode-specific settings for RF5413/5414 (Written after ar5212_ini) */ | 829 | /* Initial mode-specific settings for RF5413/5414 (Written after ar5212_ini) */ |
834 | static const struct ath5k_ini_mode rf5413_ini_mode_end[] = { | 830 | static const struct ath5k_ini_mode rf5413_ini_mode_end[] = { |
835 | { AR5K_TXCFG, | 831 | { AR5K_TXCFG, |
836 | /* a/XR aTurbo b g (DYN) gTurbo */ | 832 | /* A/XR B G */ |
837 | { 0x00000015, 0x00000015, 0x00000015, 0x00000015, 0x00000015 } }, | 833 | { 0x00000015, 0x00000015, 0x00000015 } }, |
838 | { AR5K_USEC_5211, | 834 | { AR5K_USEC_5211, |
839 | { 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf } }, | 835 | { 0x128d93a7, 0x04e01395, 0x12e013ab } }, |
840 | { AR5K_PHY_RF_CTL3, | 836 | { AR5K_PHY_RF_CTL3, |
841 | { 0x0a020001, 0x0a020001, 0x05020100, 0x0a020001, 0x0a020001 } }, | 837 | { 0x0a020001, 0x05020100, 0x0a020001 } }, |
842 | { AR5K_PHY_RF_CTL4, | 838 | { AR5K_PHY_RF_CTL4, |
843 | { 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e } }, | 839 | { 0x00000e0e, 0x00000e0e, 0x00000e0e } }, |
844 | { AR5K_PHY_PA_CTL, | 840 | { AR5K_PHY_PA_CTL, |
845 | { 0x00000007, 0x00000007, 0x0000000b, 0x0000000b, 0x0000000b } }, | 841 | { 0x00000007, 0x0000000b, 0x0000000b } }, |
846 | { AR5K_PHY_GAIN, | 842 | { AR5K_PHY_GAIN, |
847 | { 0x0018fa61, 0x0018fa61, 0x001a1a63, 0x001a1a63, 0x001a1a63 } }, | 843 | { 0x0018fa61, 0x001a1a63, 0x001a1a63 } }, |
848 | { AR5K_PHY_DESIRED_SIZE, | 844 | { AR5K_PHY_DESIRED_SIZE, |
849 | { 0x0c98b4e0, 0x0c98b4e0, 0x0c98b0da, 0x0c98b0da, 0x0c98b0da } }, | 845 | { 0x0c98b4e0, 0x0c98b0da, 0x0c98b0da } }, |
850 | { AR5K_PHY_SIG, | 846 | { AR5K_PHY_SIG, |
851 | { 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e } }, | 847 | { 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e } }, |
852 | { AR5K_PHY_AGCCOARSE, | 848 | { AR5K_PHY_AGCCOARSE, |
853 | { 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e } }, | 849 | { 0x3139605e, 0x3139605e, 0x3139605e } }, |
854 | { AR5K_PHY_WEAK_OFDM_LOW_THR, | 850 | { AR5K_PHY_WEAK_OFDM_LOW_THR, |
855 | { 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 } }, | 851 | { 0x050cb081, 0x050cb081, 0x050cb081 } }, |
856 | { AR5K_PHY_RX_DELAY, | 852 | { AR5K_PHY_RX_DELAY, |
857 | { 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 } }, | 853 | { 0x000007d0, 0x0000044c, 0x00000898 } }, |
858 | { AR5K_PHY_FRAME_CTL_5211, | 854 | { AR5K_PHY_FRAME_CTL_5211, |
859 | { 0xf7b81000, 0xf7b81000, 0xf7b80d00, 0xf7b81000, 0xf7b81000 } }, | 855 | { 0xf7b81000, 0xf7b80d00, 0xf7b81000 } }, |
860 | { AR5K_PHY_CCKTXCTL, | 856 | { AR5K_PHY_CCKTXCTL, |
861 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 857 | { 0x00000000, 0x00000000, 0x00000000 } }, |
862 | { AR5K_PHY_CCK_CROSSCORR, | 858 | { AR5K_PHY_CCK_CROSSCORR, |
863 | { 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 } }, | 859 | { 0xd6be6788, 0xd03e6788, 0xd03e6788 } }, |
864 | { AR5K_PHY_GAIN_2GHZ, | 860 | { AR5K_PHY_GAIN_2GHZ, |
865 | { 0x002ec1e0, 0x002ec1e0, 0x002ac120, 0x002ac120, 0x002ac120 } }, | 861 | { 0x002ec1e0, 0x002ac120, 0x002ac120 } }, |
866 | { AR5K_PHY_CCK_RX_CTL_4, | 862 | { AR5K_PHY_CCK_RX_CTL_4, |
867 | { 0x1883800a, 0x1883800a, 0x1863800a, 0x1883800a, 0x1883800a } }, | 863 | { 0x1883800a, 0x1863800a, 0x1883800a } }, |
868 | { 0xa300, | 864 | { 0xa300, |
869 | { 0x18010000, 0x18010000, 0x18010000, 0x18010000, 0x18010000 } }, | 865 | { 0x18010000, 0x18010000, 0x18010000 } }, |
870 | { 0xa304, | 866 | { 0xa304, |
871 | { 0x30032602, 0x30032602, 0x30032602, 0x30032602, 0x30032602 } }, | 867 | { 0x30032602, 0x30032602, 0x30032602 } }, |
872 | { 0xa308, | 868 | { 0xa308, |
873 | { 0x48073e06, 0x48073e06, 0x48073e06, 0x48073e06, 0x48073e06 } }, | 869 | { 0x48073e06, 0x48073e06, 0x48073e06 } }, |
874 | { 0xa30c, | 870 | { 0xa30c, |
875 | { 0x560b4c0a, 0x560b4c0a, 0x560b4c0a, 0x560b4c0a, 0x560b4c0a } }, | 871 | { 0x560b4c0a, 0x560b4c0a, 0x560b4c0a } }, |
876 | { 0xa310, | 872 | { 0xa310, |
877 | { 0x641a600f, 0x641a600f, 0x641a600f, 0x641a600f, 0x641a600f } }, | 873 | { 0x641a600f, 0x641a600f, 0x641a600f } }, |
878 | { 0xa314, | 874 | { 0xa314, |
879 | { 0x784f6e1b, 0x784f6e1b, 0x784f6e1b, 0x784f6e1b, 0x784f6e1b } }, | 875 | { 0x784f6e1b, 0x784f6e1b, 0x784f6e1b } }, |
880 | { 0xa318, | 876 | { 0xa318, |
881 | { 0x868f7c5a, 0x868f7c5a, 0x868f7c5a, 0x868f7c5a, 0x868f7c5a } }, | 877 | { 0x868f7c5a, 0x868f7c5a, 0x868f7c5a } }, |
882 | { 0xa31c, | 878 | { 0xa31c, |
883 | { 0x90cf865b, 0x90cf865b, 0x8ecf865b, 0x8ecf865b, 0x8ecf865b } }, | 879 | { 0x90cf865b, 0x8ecf865b, 0x8ecf865b } }, |
884 | { 0xa320, | 880 | { 0xa320, |
885 | { 0x9d4f970f, 0x9d4f970f, 0x9b4f970f, 0x9b4f970f, 0x9b4f970f } }, | 881 | { 0x9d4f970f, 0x9b4f970f, 0x9b4f970f } }, |
886 | { 0xa324, | 882 | { 0xa324, |
887 | { 0xa7cfa38f, 0xa7cfa38f, 0xa3cf9f8f, 0xa3cf9f8f, 0xa3cf9f8f } }, | 883 | { 0xa7cfa38f, 0xa3cf9f8f, 0xa3cf9f8f } }, |
888 | { 0xa328, | 884 | { 0xa328, |
889 | { 0xb55faf1f, 0xb55faf1f, 0xb35faf1f, 0xb35faf1f, 0xb35faf1f } }, | 885 | { 0xb55faf1f, 0xb35faf1f, 0xb35faf1f } }, |
890 | { 0xa32c, | 886 | { 0xa32c, |
891 | { 0xbddfb99f, 0xbddfb99f, 0xbbdfb99f, 0xbbdfb99f, 0xbbdfb99f } }, | 887 | { 0xbddfb99f, 0xbbdfb99f, 0xbbdfb99f } }, |
892 | { 0xa330, | 888 | { 0xa330, |
893 | { 0xcb7fc53f, 0xcb7fc53f, 0xcb7fc73f, 0xcb7fc73f, 0xcb7fc73f } }, | 889 | { 0xcb7fc53f, 0xcb7fc73f, 0xcb7fc73f } }, |
894 | { 0xa334, | 890 | { 0xa334, |
895 | { 0xd5ffd1bf, 0xd5ffd1bf, 0xd3ffd1bf, 0xd3ffd1bf, 0xd3ffd1bf } }, | 891 | { 0xd5ffd1bf, 0xd3ffd1bf, 0xd3ffd1bf } }, |
896 | }; | 892 | }; |
897 | 893 | ||
898 | static const struct ath5k_ini rf5413_ini_common_end[] = { | 894 | static const struct ath5k_ini rf5413_ini_common_end[] = { |
@@ -972,38 +968,38 @@ static const struct ath5k_ini rf5413_ini_common_end[] = { | |||
972 | /* XXX: a mode ? */ | 968 | /* XXX: a mode ? */ |
973 | static const struct ath5k_ini_mode rf2413_ini_mode_end[] = { | 969 | static const struct ath5k_ini_mode rf2413_ini_mode_end[] = { |
974 | { AR5K_TXCFG, | 970 | { AR5K_TXCFG, |
975 | /* a/XR aTurbo b g (DYN) gTurbo */ | 971 | /* A/XR B G */ |
976 | { 0x00000015, 0x00000015, 0x00000015, 0x00000015, 0x00000015 } }, | 972 | { 0x00000015, 0x00000015, 0x00000015 } }, |
977 | { AR5K_USEC_5211, | 973 | { AR5K_USEC_5211, |
978 | { 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf } }, | 974 | { 0x128d93a7, 0x04e01395, 0x12e013ab } }, |
979 | { AR5K_PHY_RF_CTL3, | 975 | { AR5K_PHY_RF_CTL3, |
980 | { 0x0a020001, 0x0a020001, 0x05020000, 0x0a020001, 0x0a020001 } }, | 976 | { 0x0a020001, 0x05020000, 0x0a020001 } }, |
981 | { AR5K_PHY_RF_CTL4, | 977 | { AR5K_PHY_RF_CTL4, |
982 | { 0x00000e00, 0x00000e00, 0x00000e00, 0x00000e00, 0x00000e00 } }, | 978 | { 0x00000e00, 0x00000e00, 0x00000e00 } }, |
983 | { AR5K_PHY_PA_CTL, | 979 | { AR5K_PHY_PA_CTL, |
984 | { 0x00000002, 0x00000002, 0x0000000a, 0x0000000a, 0x0000000a } }, | 980 | { 0x00000002, 0x0000000a, 0x0000000a } }, |
985 | { AR5K_PHY_GAIN, | 981 | { AR5K_PHY_GAIN, |
986 | { 0x0018da6d, 0x0018da6d, 0x001a6a64, 0x001a6a64, 0x001a6a64 } }, | 982 | { 0x0018da6d, 0x001a6a64, 0x001a6a64 } }, |
987 | { AR5K_PHY_DESIRED_SIZE, | 983 | { AR5K_PHY_DESIRED_SIZE, |
988 | { 0x0de8b4e0, 0x0de8b4e0, 0x0de8b0da, 0x0c98b0da, 0x0de8b0da } }, | 984 | { 0x0de8b4e0, 0x0de8b0da, 0x0c98b0da } }, |
989 | { AR5K_PHY_SIG, | 985 | { AR5K_PHY_SIG, |
990 | { 0x7e800d2e, 0x7e800d2e, 0x7ee80d2e, 0x7ec80d2e, 0x7e800d2e } }, | 986 | { 0x7e800d2e, 0x7ee80d2e, 0x7ec80d2e } }, |
991 | { AR5K_PHY_AGCCOARSE, | 987 | { AR5K_PHY_AGCCOARSE, |
992 | { 0x3137665e, 0x3137665e, 0x3137665e, 0x3139605e, 0x3137665e } }, | 988 | { 0x3137665e, 0x3137665e, 0x3139605e } }, |
993 | { AR5K_PHY_WEAK_OFDM_LOW_THR, | 989 | { AR5K_PHY_WEAK_OFDM_LOW_THR, |
994 | { 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 } }, | 990 | { 0x050cb081, 0x050cb081, 0x050cb081 } }, |
995 | { AR5K_PHY_RX_DELAY, | 991 | { AR5K_PHY_RX_DELAY, |
996 | { 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 } }, | 992 | { 0x000007d0, 0x0000044c, 0x00000898 } }, |
997 | { AR5K_PHY_FRAME_CTL_5211, | 993 | { AR5K_PHY_FRAME_CTL_5211, |
998 | { 0xf7b81000, 0xf7b81000, 0xf7b80d00, 0xf7b81000, 0xf7b81000 } }, | 994 | { 0xf7b81000, 0xf7b80d00, 0xf7b81000 } }, |
999 | { AR5K_PHY_CCKTXCTL, | 995 | { AR5K_PHY_CCKTXCTL, |
1000 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 996 | { 0x00000000, 0x00000000, 0x00000000 } }, |
1001 | { AR5K_PHY_CCK_CROSSCORR, | 997 | { AR5K_PHY_CCK_CROSSCORR, |
1002 | { 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 } }, | 998 | { 0xd6be6788, 0xd03e6788, 0xd03e6788 } }, |
1003 | { AR5K_PHY_GAIN_2GHZ, | 999 | { AR5K_PHY_GAIN_2GHZ, |
1004 | { 0x002c0140, 0x002c0140, 0x0042c140, 0x0042c140, 0x0042c140 } }, | 1000 | { 0x002c0140, 0x0042c140, 0x0042c140 } }, |
1005 | { AR5K_PHY_CCK_RX_CTL_4, | 1001 | { AR5K_PHY_CCK_RX_CTL_4, |
1006 | { 0x1883800a, 0x1883800a, 0x1863800a, 0x1883800a, 0x1883800a } }, | 1002 | { 0x1883800a, 0x1863800a, 0x1883800a } }, |
1007 | }; | 1003 | }; |
1008 | 1004 | ||
1009 | static const struct ath5k_ini rf2413_ini_common_end[] = { | 1005 | static const struct ath5k_ini rf2413_ini_common_end[] = { |
@@ -1094,52 +1090,50 @@ static const struct ath5k_ini rf2413_ini_common_end[] = { | |||
1094 | /* XXX: a mode ? */ | 1090 | /* XXX: a mode ? */ |
1095 | static const struct ath5k_ini_mode rf2425_ini_mode_end[] = { | 1091 | static const struct ath5k_ini_mode rf2425_ini_mode_end[] = { |
1096 | { AR5K_TXCFG, | 1092 | { AR5K_TXCFG, |
1097 | /* a/XR aTurbo b g (DYN) gTurbo */ | 1093 | /* A/XR B G */ |
1098 | { 0x00000015, 0x00000015, 0x00000015, 0x00000015, 0x00000015 } }, | 1094 | { 0x00000015, 0x00000015, 0x00000015 } }, |
1099 | { AR5K_USEC_5211, | 1095 | { AR5K_USEC_5211, |
1100 | { 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf } }, | 1096 | { 0x128d93a7, 0x04e01395, 0x12e013ab } }, |
1101 | { AR5K_PHY_TURBO, | ||
1102 | { 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000001 } }, | ||
1103 | { AR5K_PHY_RF_CTL3, | 1097 | { AR5K_PHY_RF_CTL3, |
1104 | { 0x0a020001, 0x0a020001, 0x05020100, 0x0a020001, 0x0a020001 } }, | 1098 | { 0x0a020001, 0x05020100, 0x0a020001 } }, |
1105 | { AR5K_PHY_RF_CTL4, | 1099 | { AR5K_PHY_RF_CTL4, |
1106 | { 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e } }, | 1100 | { 0x00000e0e, 0x00000e0e, 0x00000e0e } }, |
1107 | { AR5K_PHY_PA_CTL, | 1101 | { AR5K_PHY_PA_CTL, |
1108 | { 0x00000003, 0x00000003, 0x0000000b, 0x0000000b, 0x0000000b } }, | 1102 | { 0x00000003, 0x0000000b, 0x0000000b } }, |
1109 | { AR5K_PHY_SETTLING, | 1103 | { AR5K_PHY_SETTLING, |
1110 | { 0x1372161c, 0x13721c25, 0x13721722, 0x13721422, 0x13721c25 } }, | 1104 | { 0x1372161c, 0x13721722, 0x13721422 } }, |
1111 | { AR5K_PHY_GAIN, | 1105 | { AR5K_PHY_GAIN, |
1112 | { 0x0018fa61, 0x0018fa61, 0x00199a65, 0x00199a65, 0x00199a65 } }, | 1106 | { 0x0018fa61, 0x00199a65, 0x00199a65 } }, |
1113 | { AR5K_PHY_DESIRED_SIZE, | 1107 | { AR5K_PHY_DESIRED_SIZE, |
1114 | { 0x0c98b4e0, 0x0c98b4e0, 0x0c98b0da, 0x0c98b0da, 0x0c98b0da } }, | 1108 | { 0x0c98b4e0, 0x0c98b0da, 0x0c98b0da } }, |
1115 | { AR5K_PHY_SIG, | 1109 | { AR5K_PHY_SIG, |
1116 | { 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e } }, | 1110 | { 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e } }, |
1117 | { AR5K_PHY_AGCCOARSE, | 1111 | { AR5K_PHY_AGCCOARSE, |
1118 | { 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e } }, | 1112 | { 0x3139605e, 0x3139605e, 0x3139605e } }, |
1119 | { AR5K_PHY_WEAK_OFDM_LOW_THR, | 1113 | { AR5K_PHY_WEAK_OFDM_LOW_THR, |
1120 | { 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 } }, | 1114 | { 0x050cb081, 0x050cb081, 0x050cb081 } }, |
1121 | { AR5K_PHY_RX_DELAY, | 1115 | { AR5K_PHY_RX_DELAY, |
1122 | { 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 } }, | 1116 | { 0x000007d0, 0x0000044c, 0x00000898 } }, |
1123 | { AR5K_PHY_FRAME_CTL_5211, | 1117 | { AR5K_PHY_FRAME_CTL_5211, |
1124 | { 0xf7b81000, 0xf7b81000, 0xf7b80d00, 0xf7b81000, 0xf7b81000 } }, | 1118 | { 0xf7b81000, 0xf7b80d00, 0xf7b81000 } }, |
1125 | { AR5K_PHY_CCKTXCTL, | 1119 | { AR5K_PHY_CCKTXCTL, |
1126 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 1120 | { 0x00000000, 0x00000000, 0x00000000 } }, |
1127 | { AR5K_PHY_CCK_CROSSCORR, | 1121 | { AR5K_PHY_CCK_CROSSCORR, |
1128 | { 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 } }, | 1122 | { 0xd6be6788, 0xd03e6788, 0xd03e6788 } }, |
1129 | { AR5K_PHY_GAIN_2GHZ, | 1123 | { AR5K_PHY_GAIN_2GHZ, |
1130 | { 0x00000140, 0x00000140, 0x0052c140, 0x0052c140, 0x0052c140 } }, | 1124 | { 0x00000140, 0x0052c140, 0x0052c140 } }, |
1131 | { AR5K_PHY_CCK_RX_CTL_4, | 1125 | { AR5K_PHY_CCK_RX_CTL_4, |
1132 | { 0x1883800a, 0x1883800a, 0x1863800a, 0x1883800a, 0x1883800a } }, | 1126 | { 0x1883800a, 0x1863800a, 0x1883800a } }, |
1133 | { 0xa324, | 1127 | { 0xa324, |
1134 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, | 1128 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, |
1135 | { 0xa328, | 1129 | { 0xa328, |
1136 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, | 1130 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, |
1137 | { 0xa32c, | 1131 | { 0xa32c, |
1138 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, | 1132 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, |
1139 | { 0xa330, | 1133 | { 0xa330, |
1140 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, | 1134 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, |
1141 | { 0xa334, | 1135 | { 0xa334, |
1142 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, | 1136 | { 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf } }, |
1143 | }; | 1137 | }; |
1144 | 1138 | ||
1145 | static const struct ath5k_ini rf2425_ini_common_end[] = { | 1139 | static const struct ath5k_ini rf2425_ini_common_end[] = { |
@@ -1368,15 +1362,15 @@ static const struct ath5k_ini rf5112_ini_bbgain[] = { | |||
1368 | * Write initial register dump | 1362 | * Write initial register dump |
1369 | */ | 1363 | */ |
1370 | static void ath5k_hw_ini_registers(struct ath5k_hw *ah, unsigned int size, | 1364 | static void ath5k_hw_ini_registers(struct ath5k_hw *ah, unsigned int size, |
1371 | const struct ath5k_ini *ini_regs, bool change_channel) | 1365 | const struct ath5k_ini *ini_regs, bool skip_pcu) |
1372 | { | 1366 | { |
1373 | unsigned int i; | 1367 | unsigned int i; |
1374 | 1368 | ||
1375 | /* Write initial registers */ | 1369 | /* Write initial registers */ |
1376 | for (i = 0; i < size; i++) { | 1370 | for (i = 0; i < size; i++) { |
1377 | /* On channel change there is | 1371 | /* Skip PCU registers if |
1378 | * no need to mess with PCU */ | 1372 | * requested */ |
1379 | if (change_channel && | 1373 | if (skip_pcu && |
1380 | ini_regs[i].ini_register >= AR5K_PCU_MIN && | 1374 | ini_regs[i].ini_register >= AR5K_PCU_MIN && |
1381 | ini_regs[i].ini_register <= AR5K_PCU_MAX) | 1375 | ini_regs[i].ini_register <= AR5K_PCU_MAX) |
1382 | continue; | 1376 | continue; |
@@ -1409,7 +1403,7 @@ static void ath5k_hw_ini_mode_registers(struct ath5k_hw *ah, | |||
1409 | 1403 | ||
1410 | } | 1404 | } |
1411 | 1405 | ||
1412 | int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | 1406 | int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool skip_pcu) |
1413 | { | 1407 | { |
1414 | /* | 1408 | /* |
1415 | * Write initial register settings | 1409 | * Write initial register settings |
@@ -1427,7 +1421,7 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1427 | * Write initial settings common for all modes | 1421 | * Write initial settings common for all modes |
1428 | */ | 1422 | */ |
1429 | ath5k_hw_ini_registers(ah, ARRAY_SIZE(ar5212_ini_common_start), | 1423 | ath5k_hw_ini_registers(ah, ARRAY_SIZE(ar5212_ini_common_start), |
1430 | ar5212_ini_common_start, change_channel); | 1424 | ar5212_ini_common_start, skip_pcu); |
1431 | 1425 | ||
1432 | /* Second set of mode-specific settings */ | 1426 | /* Second set of mode-specific settings */ |
1433 | switch (ah->ah_radio) { | 1427 | switch (ah->ah_radio) { |
@@ -1439,12 +1433,12 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1439 | 1433 | ||
1440 | ath5k_hw_ini_registers(ah, | 1434 | ath5k_hw_ini_registers(ah, |
1441 | ARRAY_SIZE(rf5111_ini_common_end), | 1435 | ARRAY_SIZE(rf5111_ini_common_end), |
1442 | rf5111_ini_common_end, change_channel); | 1436 | rf5111_ini_common_end, skip_pcu); |
1443 | 1437 | ||
1444 | /* Baseband gain table */ | 1438 | /* Baseband gain table */ |
1445 | ath5k_hw_ini_registers(ah, | 1439 | ath5k_hw_ini_registers(ah, |
1446 | ARRAY_SIZE(rf5111_ini_bbgain), | 1440 | ARRAY_SIZE(rf5111_ini_bbgain), |
1447 | rf5111_ini_bbgain, change_channel); | 1441 | rf5111_ini_bbgain, skip_pcu); |
1448 | 1442 | ||
1449 | break; | 1443 | break; |
1450 | case AR5K_RF5112: | 1444 | case AR5K_RF5112: |
@@ -1455,11 +1449,11 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1455 | 1449 | ||
1456 | ath5k_hw_ini_registers(ah, | 1450 | ath5k_hw_ini_registers(ah, |
1457 | ARRAY_SIZE(rf5112_ini_common_end), | 1451 | ARRAY_SIZE(rf5112_ini_common_end), |
1458 | rf5112_ini_common_end, change_channel); | 1452 | rf5112_ini_common_end, skip_pcu); |
1459 | 1453 | ||
1460 | ath5k_hw_ini_registers(ah, | 1454 | ath5k_hw_ini_registers(ah, |
1461 | ARRAY_SIZE(rf5112_ini_bbgain), | 1455 | ARRAY_SIZE(rf5112_ini_bbgain), |
1462 | rf5112_ini_bbgain, change_channel); | 1456 | rf5112_ini_bbgain, skip_pcu); |
1463 | 1457 | ||
1464 | break; | 1458 | break; |
1465 | case AR5K_RF5413: | 1459 | case AR5K_RF5413: |
@@ -1470,11 +1464,11 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1470 | 1464 | ||
1471 | ath5k_hw_ini_registers(ah, | 1465 | ath5k_hw_ini_registers(ah, |
1472 | ARRAY_SIZE(rf5413_ini_common_end), | 1466 | ARRAY_SIZE(rf5413_ini_common_end), |
1473 | rf5413_ini_common_end, change_channel); | 1467 | rf5413_ini_common_end, skip_pcu); |
1474 | 1468 | ||
1475 | ath5k_hw_ini_registers(ah, | 1469 | ath5k_hw_ini_registers(ah, |
1476 | ARRAY_SIZE(rf5112_ini_bbgain), | 1470 | ARRAY_SIZE(rf5112_ini_bbgain), |
1477 | rf5112_ini_bbgain, change_channel); | 1471 | rf5112_ini_bbgain, skip_pcu); |
1478 | 1472 | ||
1479 | break; | 1473 | break; |
1480 | case AR5K_RF2316: | 1474 | case AR5K_RF2316: |
@@ -1486,7 +1480,7 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1486 | 1480 | ||
1487 | ath5k_hw_ini_registers(ah, | 1481 | ath5k_hw_ini_registers(ah, |
1488 | ARRAY_SIZE(rf2413_ini_common_end), | 1482 | ARRAY_SIZE(rf2413_ini_common_end), |
1489 | rf2413_ini_common_end, change_channel); | 1483 | rf2413_ini_common_end, skip_pcu); |
1490 | 1484 | ||
1491 | /* Override settings from rf2413_ini_common_end */ | 1485 | /* Override settings from rf2413_ini_common_end */ |
1492 | if (ah->ah_radio == AR5K_RF2316) { | 1486 | if (ah->ah_radio == AR5K_RF2316) { |
@@ -1498,7 +1492,7 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1498 | 1492 | ||
1499 | ath5k_hw_ini_registers(ah, | 1493 | ath5k_hw_ini_registers(ah, |
1500 | ARRAY_SIZE(rf5112_ini_bbgain), | 1494 | ARRAY_SIZE(rf5112_ini_bbgain), |
1501 | rf5112_ini_bbgain, change_channel); | 1495 | rf5112_ini_bbgain, skip_pcu); |
1502 | break; | 1496 | break; |
1503 | case AR5K_RF2317: | 1497 | case AR5K_RF2317: |
1504 | case AR5K_RF2425: | 1498 | case AR5K_RF2425: |
@@ -1509,11 +1503,11 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1509 | 1503 | ||
1510 | ath5k_hw_ini_registers(ah, | 1504 | ath5k_hw_ini_registers(ah, |
1511 | ARRAY_SIZE(rf2425_ini_common_end), | 1505 | ARRAY_SIZE(rf2425_ini_common_end), |
1512 | rf2425_ini_common_end, change_channel); | 1506 | rf2425_ini_common_end, skip_pcu); |
1513 | 1507 | ||
1514 | ath5k_hw_ini_registers(ah, | 1508 | ath5k_hw_ini_registers(ah, |
1515 | ARRAY_SIZE(rf5112_ini_bbgain), | 1509 | ARRAY_SIZE(rf5112_ini_bbgain), |
1516 | rf5112_ini_bbgain, change_channel); | 1510 | rf5112_ini_bbgain, skip_pcu); |
1517 | break; | 1511 | break; |
1518 | default: | 1512 | default: |
1519 | return -EINVAL; | 1513 | return -EINVAL; |
@@ -1538,17 +1532,17 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1538 | * Write initial settings common for all modes | 1532 | * Write initial settings common for all modes |
1539 | */ | 1533 | */ |
1540 | ath5k_hw_ini_registers(ah, ARRAY_SIZE(ar5211_ini), | 1534 | ath5k_hw_ini_registers(ah, ARRAY_SIZE(ar5211_ini), |
1541 | ar5211_ini, change_channel); | 1535 | ar5211_ini, skip_pcu); |
1542 | 1536 | ||
1543 | /* AR5211 only comes with 5111 */ | 1537 | /* AR5211 only comes with 5111 */ |
1544 | 1538 | ||
1545 | /* Baseband gain table */ | 1539 | /* Baseband gain table */ |
1546 | ath5k_hw_ini_registers(ah, ARRAY_SIZE(rf5111_ini_bbgain), | 1540 | ath5k_hw_ini_registers(ah, ARRAY_SIZE(rf5111_ini_bbgain), |
1547 | rf5111_ini_bbgain, change_channel); | 1541 | rf5111_ini_bbgain, skip_pcu); |
1548 | /* For AR5210 (for mode settings check out ath5k_hw_reset_tx_queue) */ | 1542 | /* For AR5210 (for mode settings check out ath5k_hw_reset_tx_queue) */ |
1549 | } else if (ah->ah_version == AR5K_AR5210) { | 1543 | } else if (ah->ah_version == AR5K_AR5210) { |
1550 | ath5k_hw_ini_registers(ah, ARRAY_SIZE(ar5210_ini), | 1544 | ath5k_hw_ini_registers(ah, ARRAY_SIZE(ar5210_ini), |
1551 | ar5210_ini, change_channel); | 1545 | ar5210_ini, skip_pcu); |
1552 | } | 1546 | } |
1553 | 1547 | ||
1554 | return 0; | 1548 | return 0; |
diff --git a/drivers/net/wireless/ath/ath5k/rfbuffer.h b/drivers/net/wireless/ath/ath5k/rfbuffer.h index 3ac4cff4239d..70356bacd5db 100644 --- a/drivers/net/wireless/ath/ath5k/rfbuffer.h +++ b/drivers/net/wireless/ath/ath5k/rfbuffer.h | |||
@@ -51,7 +51,7 @@ | |||
51 | struct ath5k_ini_rfbuffer { | 51 | struct ath5k_ini_rfbuffer { |
52 | u8 rfb_bank; /* RF Bank number */ | 52 | u8 rfb_bank; /* RF Bank number */ |
53 | u16 rfb_ctrl_register; /* RF Buffer control register */ | 53 | u16 rfb_ctrl_register; /* RF Buffer control register */ |
54 | u32 rfb_mode_data[5]; /* RF Buffer data for each mode */ | 54 | u32 rfb_mode_data[3]; /* RF Buffer data for each mode */ |
55 | }; | 55 | }; |
56 | 56 | ||
57 | /* | 57 | /* |
@@ -177,97 +177,52 @@ static const struct ath5k_rf_reg rf_regs_5111[] = { | |||
177 | 177 | ||
178 | /* Default mode specific settings */ | 178 | /* Default mode specific settings */ |
179 | static const struct ath5k_ini_rfbuffer rfb_5111[] = { | 179 | static const struct ath5k_ini_rfbuffer rfb_5111[] = { |
180 | { 0, 0x989c, | 180 | /* BANK / C.R. A/XR B G */ |
181 | /* mode a/XR mode aTurbo mode b mode g mode gTurbo */ | 181 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
182 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 182 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
183 | { 0, 0x989c, | 183 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
184 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 184 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
185 | { 0, 0x989c, | 185 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
186 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 186 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
187 | { 0, 0x989c, | 187 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
188 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 188 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
189 | { 0, 0x989c, | 189 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
190 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 190 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
191 | { 0, 0x989c, | 191 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
192 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 192 | { 0, 0x989c, { 0x00380000, 0x00380000, 0x00380000 } }, |
193 | { 0, 0x989c, | 193 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
194 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 194 | { 0, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
195 | { 0, 0x989c, | 195 | { 0, 0x989c, { 0x00000000, 0x000000c0, 0x00000080 } }, |
196 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 196 | { 0, 0x989c, { 0x000400f9, 0x000400ff, 0x000400fd } }, |
197 | { 0, 0x989c, | 197 | { 0, 0x98d4, { 0x00000000, 0x00000004, 0x00000004 } }, |
198 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 198 | { 1, 0x98d4, { 0x00000020, 0x00000020, 0x00000020 } }, |
199 | { 0, 0x989c, | 199 | { 2, 0x98d4, { 0x00000010, 0x00000010, 0x00000010 } }, |
200 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 200 | { 3, 0x98d8, { 0x00601068, 0x00601068, 0x00601068 } }, |
201 | { 0, 0x989c, | 201 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
202 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 202 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
203 | { 0, 0x989c, | 203 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
204 | { 0x00380000, 0x00380000, 0x00380000, 0x00380000, 0x00380000 } }, | 204 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
205 | { 0, 0x989c, | 205 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
206 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 206 | { 6, 0x989c, { 0x10000000, 0x10000000, 0x10000000 } }, |
207 | { 0, 0x989c, | 207 | { 6, 0x989c, { 0x04000000, 0x04000000, 0x04000000 } }, |
208 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 208 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
209 | { 0, 0x989c, | 209 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
210 | { 0x00000000, 0x00000000, 0x000000c0, 0x00000080, 0x00000080 } }, | 210 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
211 | { 0, 0x989c, | 211 | { 6, 0x989c, { 0x00000000, 0x0a000000, 0x00000000 } }, |
212 | { 0x000400f9, 0x000400f9, 0x000400ff, 0x000400fd, 0x000400fd } }, | 212 | { 6, 0x989c, { 0x003800c0, 0x023800c0, 0x003800c0 } }, |
213 | { 0, 0x98d4, | 213 | { 6, 0x989c, { 0x00020006, 0x00000006, 0x00020006 } }, |
214 | { 0x00000000, 0x00000000, 0x00000004, 0x00000004, 0x00000004 } }, | 214 | { 6, 0x989c, { 0x00000089, 0x00000089, 0x00000089 } }, |
215 | { 1, 0x98d4, | 215 | { 6, 0x989c, { 0x000000a0, 0x000000a0, 0x000000a0 } }, |
216 | { 0x00000020, 0x00000020, 0x00000020, 0x00000020, 0x00000020 } }, | 216 | { 6, 0x989c, { 0x00040007, 0x00040007, 0x00040007 } }, |
217 | { 2, 0x98d4, | 217 | { 6, 0x98d4, { 0x0000001a, 0x0000001a, 0x0000001a } }, |
218 | { 0x00000010, 0x00000014, 0x00000010, 0x00000010, 0x00000014 } }, | 218 | { 7, 0x989c, { 0x00000040, 0x00000040, 0x00000040 } }, |
219 | { 3, 0x98d8, | 219 | { 7, 0x989c, { 0x00000010, 0x00000010, 0x00000010 } }, |
220 | { 0x00601068, 0x00601068, 0x00601068, 0x00601068, 0x00601068 } }, | 220 | { 7, 0x989c, { 0x00000008, 0x00000008, 0x00000008 } }, |
221 | { 6, 0x989c, | 221 | { 7, 0x989c, { 0x0000004f, 0x0000004f, 0x0000004f } }, |
222 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 222 | { 7, 0x989c, { 0x000000f1, 0x00000061, 0x000000f1 } }, |
223 | { 6, 0x989c, | 223 | { 7, 0x989c, { 0x0000904f, 0x0000904c, 0x0000904f } }, |
224 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 224 | { 7, 0x989c, { 0x0000125a, 0x0000129a, 0x0000125a } }, |
225 | { 6, 0x989c, | 225 | { 7, 0x98cc, { 0x0000000e, 0x0000000f, 0x0000000e } }, |
226 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
227 | { 6, 0x989c, | ||
228 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
229 | { 6, 0x989c, | ||
230 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
231 | { 6, 0x989c, | ||
232 | { 0x10000000, 0x10000000, 0x10000000, 0x10000000, 0x10000000 } }, | ||
233 | { 6, 0x989c, | ||
234 | { 0x04000000, 0x04000000, 0x04000000, 0x04000000, 0x04000000 } }, | ||
235 | { 6, 0x989c, | ||
236 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
237 | { 6, 0x989c, | ||
238 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
239 | { 6, 0x989c, | ||
240 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
241 | { 6, 0x989c, | ||
242 | { 0x00000000, 0x00000000, 0x0a000000, 0x00000000, 0x00000000 } }, | ||
243 | { 6, 0x989c, | ||
244 | { 0x003800c0, 0x00380080, 0x023800c0, 0x003800c0, 0x003800c0 } }, | ||
245 | { 6, 0x989c, | ||
246 | { 0x00020006, 0x00020006, 0x00000006, 0x00020006, 0x00020006 } }, | ||
247 | { 6, 0x989c, | ||
248 | { 0x00000089, 0x00000089, 0x00000089, 0x00000089, 0x00000089 } }, | ||
249 | { 6, 0x989c, | ||
250 | { 0x000000a0, 0x000000a0, 0x000000a0, 0x000000a0, 0x000000a0 } }, | ||
251 | { 6, 0x989c, | ||
252 | { 0x00040007, 0x00040007, 0x00040007, 0x00040007, 0x00040007 } }, | ||
253 | { 6, 0x98d4, | ||
254 | { 0x0000001a, 0x0000001a, 0x0000001a, 0x0000001a, 0x0000001a } }, | ||
255 | { 7, 0x989c, | ||
256 | { 0x00000040, 0x00000048, 0x00000040, 0x00000040, 0x00000040 } }, | ||
257 | { 7, 0x989c, | ||
258 | { 0x00000010, 0x00000010, 0x00000010, 0x00000010, 0x00000010 } }, | ||
259 | { 7, 0x989c, | ||
260 | { 0x00000008, 0x00000008, 0x00000008, 0x00000008, 0x00000008 } }, | ||
261 | { 7, 0x989c, | ||
262 | { 0x0000004f, 0x0000004f, 0x0000004f, 0x0000004f, 0x0000004f } }, | ||
263 | { 7, 0x989c, | ||
264 | { 0x000000f1, 0x000000f1, 0x00000061, 0x000000f1, 0x000000f1 } }, | ||
265 | { 7, 0x989c, | ||
266 | { 0x0000904f, 0x0000904f, 0x0000904c, 0x0000904f, 0x0000904f } }, | ||
267 | { 7, 0x989c, | ||
268 | { 0x0000125a, 0x0000125a, 0x0000129a, 0x0000125a, 0x0000125a } }, | ||
269 | { 7, 0x98cc, | ||
270 | { 0x0000000e, 0x0000000e, 0x0000000f, 0x0000000e, 0x0000000e } }, | ||
271 | }; | 226 | }; |
272 | 227 | ||
273 | 228 | ||
@@ -335,115 +290,61 @@ static const struct ath5k_rf_reg rf_regs_5112[] = { | |||
335 | 290 | ||
336 | /* Default mode specific settings */ | 291 | /* Default mode specific settings */ |
337 | static const struct ath5k_ini_rfbuffer rfb_5112[] = { | 292 | static const struct ath5k_ini_rfbuffer rfb_5112[] = { |
338 | { 1, 0x98d4, | 293 | /* BANK / C.R. A/XR B G */ |
339 | /* mode a/XR mode aTurbo mode b mode g mode gTurbo */ | 294 | { 1, 0x98d4, { 0x00000020, 0x00000020, 0x00000020 } }, |
340 | { 0x00000020, 0x00000020, 0x00000020, 0x00000020, 0x00000020 } }, | 295 | { 2, 0x98d0, { 0x03060408, 0x03060408, 0x03060408 } }, |
341 | { 2, 0x98d0, | 296 | { 3, 0x98dc, { 0x00a0c0c0, 0x00e0c0c0, 0x00e0c0c0 } }, |
342 | { 0x03060408, 0x03070408, 0x03060408, 0x03060408, 0x03070408 } }, | 297 | { 6, 0x989c, { 0x00a00000, 0x00a00000, 0x00a00000 } }, |
343 | { 3, 0x98dc, | 298 | { 6, 0x989c, { 0x000a0000, 0x000a0000, 0x000a0000 } }, |
344 | { 0x00a0c0c0, 0x00a0c0c0, 0x00e0c0c0, 0x00e0c0c0, 0x00e0c0c0 } }, | 299 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
345 | { 6, 0x989c, | 300 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
346 | { 0x00a00000, 0x00a00000, 0x00a00000, 0x00a00000, 0x00a00000 } }, | 301 | { 6, 0x989c, { 0x00660000, 0x00660000, 0x00660000 } }, |
347 | { 6, 0x989c, | 302 | { 6, 0x989c, { 0x00db0000, 0x00db0000, 0x00db0000 } }, |
348 | { 0x000a0000, 0x000a0000, 0x000a0000, 0x000a0000, 0x000a0000 } }, | 303 | { 6, 0x989c, { 0x00f10000, 0x00f10000, 0x00f10000 } }, |
349 | { 6, 0x989c, | 304 | { 6, 0x989c, { 0x00120000, 0x00120000, 0x00120000 } }, |
350 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 305 | { 6, 0x989c, { 0x00120000, 0x00120000, 0x00120000 } }, |
351 | { 6, 0x989c, | 306 | { 6, 0x989c, { 0x00730000, 0x00730000, 0x00730000 } }, |
352 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 307 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
353 | { 6, 0x989c, | 308 | { 6, 0x989c, { 0x000c0000, 0x000c0000, 0x000c0000 } }, |
354 | { 0x00660000, 0x00660000, 0x00660000, 0x00660000, 0x00660000 } }, | 309 | { 6, 0x989c, { 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, |
355 | { 6, 0x989c, | 310 | { 6, 0x989c, { 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, |
356 | { 0x00db0000, 0x00db0000, 0x00db0000, 0x00db0000, 0x00db0000 } }, | 311 | { 6, 0x989c, { 0x008b0000, 0x008b0000, 0x008b0000 } }, |
357 | { 6, 0x989c, | 312 | { 6, 0x989c, { 0x00600000, 0x00600000, 0x00600000 } }, |
358 | { 0x00f10000, 0x00f10000, 0x00f10000, 0x00f10000, 0x00f10000 } }, | 313 | { 6, 0x989c, { 0x000c0000, 0x000c0000, 0x000c0000 } }, |
359 | { 6, 0x989c, | 314 | { 6, 0x989c, { 0x00840000, 0x00840000, 0x00840000 } }, |
360 | { 0x00120000, 0x00120000, 0x00120000, 0x00120000, 0x00120000 } }, | 315 | { 6, 0x989c, { 0x00640000, 0x00640000, 0x00640000 } }, |
361 | { 6, 0x989c, | 316 | { 6, 0x989c, { 0x00200000, 0x00200000, 0x00200000 } }, |
362 | { 0x00120000, 0x00120000, 0x00120000, 0x00120000, 0x00120000 } }, | 317 | { 6, 0x989c, { 0x00240000, 0x00240000, 0x00240000 } }, |
363 | { 6, 0x989c, | 318 | { 6, 0x989c, { 0x00250000, 0x00250000, 0x00250000 } }, |
364 | { 0x00730000, 0x00730000, 0x00730000, 0x00730000, 0x00730000 } }, | 319 | { 6, 0x989c, { 0x00110000, 0x00110000, 0x00110000 } }, |
365 | { 6, 0x989c, | 320 | { 6, 0x989c, { 0x00110000, 0x00110000, 0x00110000 } }, |
366 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 321 | { 6, 0x989c, { 0x00510000, 0x00510000, 0x00510000 } }, |
367 | { 6, 0x989c, | 322 | { 6, 0x989c, { 0x1c040000, 0x1c040000, 0x1c040000 } }, |
368 | { 0x000c0000, 0x000c0000, 0x000c0000, 0x000c0000, 0x000c0000 } }, | 323 | { 6, 0x989c, { 0x000a0000, 0x000a0000, 0x000a0000 } }, |
369 | { 6, 0x989c, | 324 | { 6, 0x989c, { 0x00a10000, 0x00a10000, 0x00a10000 } }, |
370 | { 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, | 325 | { 6, 0x989c, { 0x00400000, 0x00400000, 0x00400000 } }, |
371 | { 6, 0x989c, | 326 | { 6, 0x989c, { 0x03090000, 0x03090000, 0x03090000 } }, |
372 | { 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, | 327 | { 6, 0x989c, { 0x06000000, 0x06000000, 0x06000000 } }, |
373 | { 6, 0x989c, | 328 | { 6, 0x989c, { 0x000000b0, 0x000000a8, 0x000000a8 } }, |
374 | { 0x008b0000, 0x008b0000, 0x008b0000, 0x008b0000, 0x008b0000 } }, | 329 | { 6, 0x989c, { 0x0000002e, 0x0000002e, 0x0000002e } }, |
375 | { 6, 0x989c, | 330 | { 6, 0x989c, { 0x006c4a41, 0x006c4af1, 0x006c4a61 } }, |
376 | { 0x00600000, 0x00600000, 0x00600000, 0x00600000, 0x00600000 } }, | 331 | { 6, 0x989c, { 0x0050892a, 0x0050892b, 0x0050892b } }, |
377 | { 6, 0x989c, | 332 | { 6, 0x989c, { 0x00842400, 0x00842400, 0x00842400 } }, |
378 | { 0x000c0000, 0x000c0000, 0x000c0000, 0x000c0000, 0x000c0000 } }, | 333 | { 6, 0x989c, { 0x00c69200, 0x00c69200, 0x00c69200 } }, |
379 | { 6, 0x989c, | 334 | { 6, 0x98d0, { 0x0002000c, 0x0002000c, 0x0002000c } }, |
380 | { 0x00840000, 0x00840000, 0x00840000, 0x00840000, 0x00840000 } }, | 335 | { 7, 0x989c, { 0x00000094, 0x00000094, 0x00000094 } }, |
381 | { 6, 0x989c, | 336 | { 7, 0x989c, { 0x00000091, 0x00000091, 0x00000091 } }, |
382 | { 0x00640000, 0x00640000, 0x00640000, 0x00640000, 0x00640000 } }, | 337 | { 7, 0x989c, { 0x0000000a, 0x00000012, 0x00000012 } }, |
383 | { 6, 0x989c, | 338 | { 7, 0x989c, { 0x00000080, 0x00000080, 0x00000080 } }, |
384 | { 0x00200000, 0x00200000, 0x00200000, 0x00200000, 0x00200000 } }, | 339 | { 7, 0x989c, { 0x000000c1, 0x000000c1, 0x000000c1 } }, |
385 | { 6, 0x989c, | 340 | { 7, 0x989c, { 0x00000060, 0x00000060, 0x00000060 } }, |
386 | { 0x00240000, 0x00240000, 0x00240000, 0x00240000, 0x00240000 } }, | 341 | { 7, 0x989c, { 0x000000f0, 0x000000f0, 0x000000f0 } }, |
387 | { 6, 0x989c, | 342 | { 7, 0x989c, { 0x00000022, 0x00000022, 0x00000022 } }, |
388 | { 0x00250000, 0x00250000, 0x00250000, 0x00250000, 0x00250000 } }, | 343 | { 7, 0x989c, { 0x00000092, 0x00000092, 0x00000092 } }, |
389 | { 6, 0x989c, | 344 | { 7, 0x989c, { 0x000000d4, 0x000000d4, 0x000000d4 } }, |
390 | { 0x00110000, 0x00110000, 0x00110000, 0x00110000, 0x00110000 } }, | 345 | { 7, 0x989c, { 0x000014cc, 0x000014cc, 0x000014cc } }, |
391 | { 6, 0x989c, | 346 | { 7, 0x989c, { 0x0000048c, 0x0000048c, 0x0000048c } }, |
392 | { 0x00110000, 0x00110000, 0x00110000, 0x00110000, 0x00110000 } }, | 347 | { 7, 0x98c4, { 0x00000003, 0x00000003, 0x00000003 } }, |
393 | { 6, 0x989c, | ||
394 | { 0x00510000, 0x00510000, 0x00510000, 0x00510000, 0x00510000 } }, | ||
395 | { 6, 0x989c, | ||
396 | { 0x1c040000, 0x1c040000, 0x1c040000, 0x1c040000, 0x1c040000 } }, | ||
397 | { 6, 0x989c, | ||
398 | { 0x000a0000, 0x000a0000, 0x000a0000, 0x000a0000, 0x000a0000 } }, | ||
399 | { 6, 0x989c, | ||
400 | { 0x00a10000, 0x00a10000, 0x00a10000, 0x00a10000, 0x00a10000 } }, | ||
401 | { 6, 0x989c, | ||
402 | { 0x00400000, 0x00400000, 0x00400000, 0x00400000, 0x00400000 } }, | ||
403 | { 6, 0x989c, | ||
404 | { 0x03090000, 0x03090000, 0x03090000, 0x03090000, 0x03090000 } }, | ||
405 | { 6, 0x989c, | ||
406 | { 0x06000000, 0x06000000, 0x06000000, 0x06000000, 0x06000000 } }, | ||
407 | { 6, 0x989c, | ||
408 | { 0x000000b0, 0x000000b0, 0x000000a8, 0x000000a8, 0x000000a8 } }, | ||
409 | { 6, 0x989c, | ||
410 | { 0x0000002e, 0x0000002e, 0x0000002e, 0x0000002e, 0x0000002e } }, | ||
411 | { 6, 0x989c, | ||
412 | { 0x006c4a41, 0x006c4a41, 0x006c4af1, 0x006c4a61, 0x006c4a61 } }, | ||
413 | { 6, 0x989c, | ||
414 | { 0x0050892a, 0x0050892a, 0x0050892b, 0x0050892b, 0x0050892b } }, | ||
415 | { 6, 0x989c, | ||
416 | { 0x00842400, 0x00842400, 0x00842400, 0x00842400, 0x00842400 } }, | ||
417 | { 6, 0x989c, | ||
418 | { 0x00c69200, 0x00c69200, 0x00c69200, 0x00c69200, 0x00c69200 } }, | ||
419 | { 6, 0x98d0, | ||
420 | { 0x0002000c, 0x0002000c, 0x0002000c, 0x0002000c, 0x0002000c } }, | ||
421 | { 7, 0x989c, | ||
422 | { 0x00000094, 0x00000094, 0x00000094, 0x00000094, 0x00000094 } }, | ||
423 | { 7, 0x989c, | ||
424 | { 0x00000091, 0x00000091, 0x00000091, 0x00000091, 0x00000091 } }, | ||
425 | { 7, 0x989c, | ||
426 | { 0x0000000a, 0x0000000a, 0x00000012, 0x00000012, 0x00000012 } }, | ||
427 | { 7, 0x989c, | ||
428 | { 0x00000080, 0x00000080, 0x00000080, 0x00000080, 0x00000080 } }, | ||
429 | { 7, 0x989c, | ||
430 | { 0x000000c1, 0x000000c1, 0x000000c1, 0x000000c1, 0x000000c1 } }, | ||
431 | { 7, 0x989c, | ||
432 | { 0x00000060, 0x00000060, 0x00000060, 0x00000060, 0x00000060 } }, | ||
433 | { 7, 0x989c, | ||
434 | { 0x000000f0, 0x000000f0, 0x000000f0, 0x000000f0, 0x000000f0 } }, | ||
435 | { 7, 0x989c, | ||
436 | { 0x00000022, 0x00000022, 0x00000022, 0x00000022, 0x00000022 } }, | ||
437 | { 7, 0x989c, | ||
438 | { 0x00000092, 0x00000092, 0x00000092, 0x00000092, 0x00000092 } }, | ||
439 | { 7, 0x989c, | ||
440 | { 0x000000d4, 0x000000d4, 0x000000d4, 0x000000d4, 0x000000d4 } }, | ||
441 | { 7, 0x989c, | ||
442 | { 0x000014cc, 0x000014cc, 0x000014cc, 0x000014cc, 0x000014cc } }, | ||
443 | { 7, 0x989c, | ||
444 | { 0x0000048c, 0x0000048c, 0x0000048c, 0x0000048c, 0x0000048c } }, | ||
445 | { 7, 0x98c4, | ||
446 | { 0x00000003, 0x00000003, 0x00000003, 0x00000003, 0x00000003 } }, | ||
447 | }; | 348 | }; |
448 | 349 | ||
449 | /* RFX112A (Derby 2) */ | 350 | /* RFX112A (Derby 2) */ |
@@ -515,119 +416,63 @@ static const struct ath5k_rf_reg rf_regs_5112a[] = { | |||
515 | 416 | ||
516 | /* Default mode specific settings */ | 417 | /* Default mode specific settings */ |
517 | static const struct ath5k_ini_rfbuffer rfb_5112a[] = { | 418 | static const struct ath5k_ini_rfbuffer rfb_5112a[] = { |
518 | { 1, 0x98d4, | 419 | /* BANK / C.R. A/XR B G */ |
519 | /* mode a/XR mode aTurbo mode b mode g mode gTurbo */ | 420 | { 1, 0x98d4, { 0x00000020, 0x00000020, 0x00000020 } }, |
520 | { 0x00000020, 0x00000020, 0x00000020, 0x00000020, 0x00000020 } }, | 421 | { 2, 0x98d0, { 0x03060408, 0x03060408, 0x03060408 } }, |
521 | { 2, 0x98d0, | 422 | { 3, 0x98dc, { 0x00a020c0, 0x00e020c0, 0x00e020c0 } }, |
522 | { 0x03060408, 0x03070408, 0x03060408, 0x03060408, 0x03070408 } }, | 423 | { 6, 0x989c, { 0x0f000000, 0x0f000000, 0x0f000000 } }, |
523 | { 3, 0x98dc, | 424 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
524 | { 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 } }, | 425 | { 6, 0x989c, { 0x00800000, 0x00800000, 0x00800000 } }, |
525 | { 6, 0x989c, | 426 | { 6, 0x989c, { 0x002a0000, 0x002a0000, 0x002a0000 } }, |
526 | { 0x0f000000, 0x0f000000, 0x0f000000, 0x0f000000, 0x0f000000 } }, | 427 | { 6, 0x989c, { 0x00010000, 0x00010000, 0x00010000 } }, |
527 | { 6, 0x989c, | 428 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
528 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 429 | { 6, 0x989c, { 0x00180000, 0x00180000, 0x00180000 } }, |
529 | { 6, 0x989c, | 430 | { 6, 0x989c, { 0x00600000, 0x006e0000, 0x006e0000 } }, |
530 | { 0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000 } }, | 431 | { 6, 0x989c, { 0x00c70000, 0x00c70000, 0x00c70000 } }, |
531 | { 6, 0x989c, | 432 | { 6, 0x989c, { 0x004b0000, 0x004b0000, 0x004b0000 } }, |
532 | { 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 } }, | 433 | { 6, 0x989c, { 0x04480000, 0x04480000, 0x04480000 } }, |
533 | { 6, 0x989c, | 434 | { 6, 0x989c, { 0x004c0000, 0x004c0000, 0x004c0000 } }, |
534 | { 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000 } }, | 435 | { 6, 0x989c, { 0x00e40000, 0x00e40000, 0x00e40000 } }, |
535 | { 6, 0x989c, | 436 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
536 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 437 | { 6, 0x989c, { 0x00fc0000, 0x00fc0000, 0x00fc0000 } }, |
537 | { 6, 0x989c, | 438 | { 6, 0x989c, { 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, |
538 | { 0x00180000, 0x00180000, 0x00180000, 0x00180000, 0x00180000 } }, | 439 | { 6, 0x989c, { 0x043f0000, 0x043f0000, 0x043f0000 } }, |
539 | { 6, 0x989c, | 440 | { 6, 0x989c, { 0x000c0000, 0x000c0000, 0x000c0000 } }, |
540 | { 0x00600000, 0x00600000, 0x006e0000, 0x006e0000, 0x006e0000 } }, | 441 | { 6, 0x989c, { 0x02190000, 0x02190000, 0x02190000 } }, |
541 | { 6, 0x989c, | 442 | { 6, 0x989c, { 0x00240000, 0x00240000, 0x00240000 } }, |
542 | { 0x00c70000, 0x00c70000, 0x00c70000, 0x00c70000, 0x00c70000 } }, | 443 | { 6, 0x989c, { 0x00b40000, 0x00b40000, 0x00b40000 } }, |
543 | { 6, 0x989c, | 444 | { 6, 0x989c, { 0x00990000, 0x00990000, 0x00990000 } }, |
544 | { 0x004b0000, 0x004b0000, 0x004b0000, 0x004b0000, 0x004b0000 } }, | 445 | { 6, 0x989c, { 0x00500000, 0x00500000, 0x00500000 } }, |
545 | { 6, 0x989c, | 446 | { 6, 0x989c, { 0x002a0000, 0x002a0000, 0x002a0000 } }, |
546 | { 0x04480000, 0x04480000, 0x04480000, 0x04480000, 0x04480000 } }, | 447 | { 6, 0x989c, { 0x00120000, 0x00120000, 0x00120000 } }, |
547 | { 6, 0x989c, | 448 | { 6, 0x989c, { 0xc0320000, 0xc0320000, 0xc0320000 } }, |
548 | { 0x004c0000, 0x004c0000, 0x004c0000, 0x004c0000, 0x004c0000 } }, | 449 | { 6, 0x989c, { 0x01740000, 0x01740000, 0x01740000 } }, |
549 | { 6, 0x989c, | 450 | { 6, 0x989c, { 0x00110000, 0x00110000, 0x00110000 } }, |
550 | { 0x00e40000, 0x00e40000, 0x00e40000, 0x00e40000, 0x00e40000 } }, | 451 | { 6, 0x989c, { 0x86280000, 0x86280000, 0x86280000 } }, |
551 | { 6, 0x989c, | 452 | { 6, 0x989c, { 0x31840000, 0x31840000, 0x31840000 } }, |
552 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 453 | { 6, 0x989c, { 0x00f20080, 0x00f20080, 0x00f20080 } }, |
553 | { 6, 0x989c, | 454 | { 6, 0x989c, { 0x00270019, 0x00270019, 0x00270019 } }, |
554 | { 0x00fc0000, 0x00fc0000, 0x00fc0000, 0x00fc0000, 0x00fc0000 } }, | 455 | { 6, 0x989c, { 0x00000003, 0x00000003, 0x00000003 } }, |
555 | { 6, 0x989c, | 456 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
556 | { 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, | 457 | { 6, 0x989c, { 0x000000b2, 0x000000b2, 0x000000b2 } }, |
557 | { 6, 0x989c, | 458 | { 6, 0x989c, { 0x00b02084, 0x00b02084, 0x00b02084 } }, |
558 | { 0x043f0000, 0x043f0000, 0x043f0000, 0x043f0000, 0x043f0000 } }, | 459 | { 6, 0x989c, { 0x004125a4, 0x004125a4, 0x004125a4 } }, |
559 | { 6, 0x989c, | 460 | { 6, 0x989c, { 0x00119220, 0x00119220, 0x00119220 } }, |
560 | { 0x000c0000, 0x000c0000, 0x000c0000, 0x000c0000, 0x000c0000 } }, | 461 | { 6, 0x989c, { 0x001a4800, 0x001a4800, 0x001a4800 } }, |
561 | { 6, 0x989c, | 462 | { 6, 0x98d8, { 0x000b0230, 0x000b0230, 0x000b0230 } }, |
562 | { 0x02190000, 0x02190000, 0x02190000, 0x02190000, 0x02190000 } }, | 463 | { 7, 0x989c, { 0x00000094, 0x00000094, 0x00000094 } }, |
563 | { 6, 0x989c, | 464 | { 7, 0x989c, { 0x00000091, 0x00000091, 0x00000091 } }, |
564 | { 0x00240000, 0x00240000, 0x00240000, 0x00240000, 0x00240000 } }, | 465 | { 7, 0x989c, { 0x00000012, 0x00000012, 0x00000012 } }, |
565 | { 6, 0x989c, | 466 | { 7, 0x989c, { 0x00000080, 0x00000080, 0x00000080 } }, |
566 | { 0x00b40000, 0x00b40000, 0x00b40000, 0x00b40000, 0x00b40000 } }, | 467 | { 7, 0x989c, { 0x000000d9, 0x000000d9, 0x000000d9 } }, |
567 | { 6, 0x989c, | 468 | { 7, 0x989c, { 0x00000060, 0x00000060, 0x00000060 } }, |
568 | { 0x00990000, 0x00990000, 0x00990000, 0x00990000, 0x00990000 } }, | 469 | { 7, 0x989c, { 0x000000f0, 0x000000f0, 0x000000f0 } }, |
569 | { 6, 0x989c, | 470 | { 7, 0x989c, { 0x000000a2, 0x000000a2, 0x000000a2 } }, |
570 | { 0x00500000, 0x00500000, 0x00500000, 0x00500000, 0x00500000 } }, | 471 | { 7, 0x989c, { 0x00000052, 0x00000052, 0x00000052 } }, |
571 | { 6, 0x989c, | 472 | { 7, 0x989c, { 0x000000d4, 0x000000d4, 0x000000d4 } }, |
572 | { 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 } }, | 473 | { 7, 0x989c, { 0x000014cc, 0x000014cc, 0x000014cc } }, |
573 | { 6, 0x989c, | 474 | { 7, 0x989c, { 0x0000048c, 0x0000048c, 0x0000048c } }, |
574 | { 0x00120000, 0x00120000, 0x00120000, 0x00120000, 0x00120000 } }, | 475 | { 7, 0x98c4, { 0x00000003, 0x00000003, 0x00000003 } }, |
575 | { 6, 0x989c, | ||
576 | { 0xc0320000, 0xc0320000, 0xc0320000, 0xc0320000, 0xc0320000 } }, | ||
577 | { 6, 0x989c, | ||
578 | { 0x01740000, 0x01740000, 0x01740000, 0x01740000, 0x01740000 } }, | ||
579 | { 6, 0x989c, | ||
580 | { 0x00110000, 0x00110000, 0x00110000, 0x00110000, 0x00110000 } }, | ||
581 | { 6, 0x989c, | ||
582 | { 0x86280000, 0x86280000, 0x86280000, 0x86280000, 0x86280000 } }, | ||
583 | { 6, 0x989c, | ||
584 | { 0x31840000, 0x31840000, 0x31840000, 0x31840000, 0x31840000 } }, | ||
585 | { 6, 0x989c, | ||
586 | { 0x00f20080, 0x00f20080, 0x00f20080, 0x00f20080, 0x00f20080 } }, | ||
587 | { 6, 0x989c, | ||
588 | { 0x00270019, 0x00270019, 0x00270019, 0x00270019, 0x00270019 } }, | ||
589 | { 6, 0x989c, | ||
590 | { 0x00000003, 0x00000003, 0x00000003, 0x00000003, 0x00000003 } }, | ||
591 | { 6, 0x989c, | ||
592 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
593 | { 6, 0x989c, | ||
594 | { 0x000000b2, 0x000000b2, 0x000000b2, 0x000000b2, 0x000000b2 } }, | ||
595 | { 6, 0x989c, | ||
596 | { 0x00b02084, 0x00b02084, 0x00b02084, 0x00b02084, 0x00b02084 } }, | ||
597 | { 6, 0x989c, | ||
598 | { 0x004125a4, 0x004125a4, 0x004125a4, 0x004125a4, 0x004125a4 } }, | ||
599 | { 6, 0x989c, | ||
600 | { 0x00119220, 0x00119220, 0x00119220, 0x00119220, 0x00119220 } }, | ||
601 | { 6, 0x989c, | ||
602 | { 0x001a4800, 0x001a4800, 0x001a4800, 0x001a4800, 0x001a4800 } }, | ||
603 | { 6, 0x98d8, | ||
604 | { 0x000b0230, 0x000b0230, 0x000b0230, 0x000b0230, 0x000b0230 } }, | ||
605 | { 7, 0x989c, | ||
606 | { 0x00000094, 0x00000094, 0x00000094, 0x00000094, 0x00000094 } }, | ||
607 | { 7, 0x989c, | ||
608 | { 0x00000091, 0x00000091, 0x00000091, 0x00000091, 0x00000091 } }, | ||
609 | { 7, 0x989c, | ||
610 | { 0x00000012, 0x00000012, 0x00000012, 0x00000012, 0x00000012 } }, | ||
611 | { 7, 0x989c, | ||
612 | { 0x00000080, 0x00000080, 0x00000080, 0x00000080, 0x00000080 } }, | ||
613 | { 7, 0x989c, | ||
614 | { 0x000000d9, 0x000000d9, 0x000000d9, 0x000000d9, 0x000000d9 } }, | ||
615 | { 7, 0x989c, | ||
616 | { 0x00000060, 0x00000060, 0x00000060, 0x00000060, 0x00000060 } }, | ||
617 | { 7, 0x989c, | ||
618 | { 0x000000f0, 0x000000f0, 0x000000f0, 0x000000f0, 0x000000f0 } }, | ||
619 | { 7, 0x989c, | ||
620 | { 0x000000a2, 0x000000a2, 0x000000a2, 0x000000a2, 0x000000a2 } }, | ||
621 | { 7, 0x989c, | ||
622 | { 0x00000052, 0x00000052, 0x00000052, 0x00000052, 0x00000052 } }, | ||
623 | { 7, 0x989c, | ||
624 | { 0x000000d4, 0x000000d4, 0x000000d4, 0x000000d4, 0x000000d4 } }, | ||
625 | { 7, 0x989c, | ||
626 | { 0x000014cc, 0x000014cc, 0x000014cc, 0x000014cc, 0x000014cc } }, | ||
627 | { 7, 0x989c, | ||
628 | { 0x0000048c, 0x0000048c, 0x0000048c, 0x0000048c, 0x0000048c } }, | ||
629 | { 7, 0x98c4, | ||
630 | { 0x00000003, 0x00000003, 0x00000003, 0x00000003, 0x00000003 } }, | ||
631 | }; | 476 | }; |
632 | 477 | ||
633 | 478 | ||
@@ -649,73 +494,40 @@ static const struct ath5k_rf_reg rf_regs_2413[] = { | |||
649 | * XXX: a/aTurbo ??? | 494 | * XXX: a/aTurbo ??? |
650 | */ | 495 | */ |
651 | static const struct ath5k_ini_rfbuffer rfb_2413[] = { | 496 | static const struct ath5k_ini_rfbuffer rfb_2413[] = { |
652 | { 1, 0x98d4, | 497 | /* BANK / C.R. A/XR B G */ |
653 | /* mode a/XR mode aTurbo mode b mode g mode gTurbo */ | 498 | { 1, 0x98d4, { 0x00000020, 0x00000020, 0x00000020 } }, |
654 | { 0x00000020, 0x00000020, 0x00000020, 0x00000020, 0x00000020 } }, | 499 | { 2, 0x98d0, { 0x02001408, 0x02001408, 0x02001408 } }, |
655 | { 2, 0x98d0, | 500 | { 3, 0x98dc, { 0x00a020c0, 0x00e020c0, 0x00e020c0 } }, |
656 | { 0x02001408, 0x02011408, 0x02001408, 0x02001408, 0x02011408 } }, | 501 | { 6, 0x989c, { 0xf0000000, 0xf0000000, 0xf0000000 } }, |
657 | { 3, 0x98dc, | 502 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
658 | { 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 } }, | 503 | { 6, 0x989c, { 0x03000000, 0x03000000, 0x03000000 } }, |
659 | { 6, 0x989c, | 504 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
660 | { 0xf0000000, 0xf0000000, 0xf0000000, 0xf0000000, 0xf0000000 } }, | 505 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
661 | { 6, 0x989c, | 506 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
662 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 507 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
663 | { 6, 0x989c, | 508 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
664 | { 0x03000000, 0x03000000, 0x03000000, 0x03000000, 0x03000000 } }, | 509 | { 6, 0x989c, { 0x40400000, 0x40400000, 0x40400000 } }, |
665 | { 6, 0x989c, | 510 | { 6, 0x989c, { 0x65050000, 0x65050000, 0x65050000 } }, |
666 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 511 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
667 | { 6, 0x989c, | 512 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
668 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 513 | { 6, 0x989c, { 0x00420000, 0x00420000, 0x00420000 } }, |
669 | { 6, 0x989c, | 514 | { 6, 0x989c, { 0x00b50000, 0x00b50000, 0x00b50000 } }, |
670 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 515 | { 6, 0x989c, { 0x00030000, 0x00030000, 0x00030000 } }, |
671 | { 6, 0x989c, | 516 | { 6, 0x989c, { 0x00f70000, 0x00f70000, 0x00f70000 } }, |
672 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 517 | { 6, 0x989c, { 0x009d0000, 0x009d0000, 0x009d0000 } }, |
673 | { 6, 0x989c, | 518 | { 6, 0x989c, { 0x00220000, 0x00220000, 0x00220000 } }, |
674 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 519 | { 6, 0x989c, { 0x04220000, 0x04220000, 0x04220000 } }, |
675 | { 6, 0x989c, | 520 | { 6, 0x989c, { 0x00230018, 0x00230018, 0x00230018 } }, |
676 | { 0x40400000, 0x40400000, 0x40400000, 0x40400000, 0x40400000 } }, | 521 | { 6, 0x989c, { 0x00280000, 0x00280060, 0x00280060 } }, |
677 | { 6, 0x989c, | 522 | { 6, 0x989c, { 0x005000c0, 0x005000c3, 0x005000c3 } }, |
678 | { 0x65050000, 0x65050000, 0x65050000, 0x65050000, 0x65050000 } }, | 523 | { 6, 0x989c, { 0x0004007f, 0x0004007f, 0x0004007f } }, |
679 | { 6, 0x989c, | 524 | { 6, 0x989c, { 0x00000458, 0x00000458, 0x00000458 } }, |
680 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 525 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
681 | { 6, 0x989c, | 526 | { 6, 0x989c, { 0x0000c000, 0x0000c000, 0x0000c000 } }, |
682 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 527 | { 6, 0x98d8, { 0x00400230, 0x00400230, 0x00400230 } }, |
683 | { 6, 0x989c, | 528 | { 7, 0x989c, { 0x00006400, 0x00006400, 0x00006400 } }, |
684 | { 0x00420000, 0x00420000, 0x00420000, 0x00420000, 0x00420000 } }, | 529 | { 7, 0x989c, { 0x00000800, 0x00000800, 0x00000800 } }, |
685 | { 6, 0x989c, | 530 | { 7, 0x98cc, { 0x0000000e, 0x0000000e, 0x0000000e } }, |
686 | { 0x00b50000, 0x00b50000, 0x00b50000, 0x00b50000, 0x00b50000 } }, | ||
687 | { 6, 0x989c, | ||
688 | { 0x00030000, 0x00030000, 0x00030000, 0x00030000, 0x00030000 } }, | ||
689 | { 6, 0x989c, | ||
690 | { 0x00f70000, 0x00f70000, 0x00f70000, 0x00f70000, 0x00f70000 } }, | ||
691 | { 6, 0x989c, | ||
692 | { 0x009d0000, 0x009d0000, 0x009d0000, 0x009d0000, 0x009d0000 } }, | ||
693 | { 6, 0x989c, | ||
694 | { 0x00220000, 0x00220000, 0x00220000, 0x00220000, 0x00220000 } }, | ||
695 | { 6, 0x989c, | ||
696 | { 0x04220000, 0x04220000, 0x04220000, 0x04220000, 0x04220000 } }, | ||
697 | { 6, 0x989c, | ||
698 | { 0x00230018, 0x00230018, 0x00230018, 0x00230018, 0x00230018 } }, | ||
699 | { 6, 0x989c, | ||
700 | { 0x00280000, 0x00280000, 0x00280060, 0x00280060, 0x00280060 } }, | ||
701 | { 6, 0x989c, | ||
702 | { 0x005000c0, 0x005000c0, 0x005000c3, 0x005000c3, 0x005000c3 } }, | ||
703 | { 6, 0x989c, | ||
704 | { 0x0004007f, 0x0004007f, 0x0004007f, 0x0004007f, 0x0004007f } }, | ||
705 | { 6, 0x989c, | ||
706 | { 0x00000458, 0x00000458, 0x00000458, 0x00000458, 0x00000458 } }, | ||
707 | { 6, 0x989c, | ||
708 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
709 | { 6, 0x989c, | ||
710 | { 0x0000c000, 0x0000c000, 0x0000c000, 0x0000c000, 0x0000c000 } }, | ||
711 | { 6, 0x98d8, | ||
712 | { 0x00400230, 0x00400230, 0x00400230, 0x00400230, 0x00400230 } }, | ||
713 | { 7, 0x989c, | ||
714 | { 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 } }, | ||
715 | { 7, 0x989c, | ||
716 | { 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 } }, | ||
717 | { 7, 0x98cc, | ||
718 | { 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e } }, | ||
719 | }; | 531 | }; |
720 | 532 | ||
721 | 533 | ||
@@ -735,77 +547,42 @@ static const struct ath5k_rf_reg rf_regs_2316[] = { | |||
735 | 547 | ||
736 | /* Default mode specific settings */ | 548 | /* Default mode specific settings */ |
737 | static const struct ath5k_ini_rfbuffer rfb_2316[] = { | 549 | static const struct ath5k_ini_rfbuffer rfb_2316[] = { |
738 | { 1, 0x98d4, | 550 | /* BANK / C.R. A/XR B G */ |
739 | /* mode a/XR mode aTurbo mode b mode g mode gTurbo */ | 551 | { 1, 0x98d4, { 0x00000020, 0x00000020, 0x00000020 } }, |
740 | { 0x00000020, 0x00000020, 0x00000020, 0x00000020, 0x00000020 } }, | 552 | { 2, 0x98d0, { 0x02001408, 0x02001408, 0x02001408 } }, |
741 | { 2, 0x98d0, | 553 | { 3, 0x98dc, { 0x00a020c0, 0x00e020c0, 0x00e020c0 } }, |
742 | { 0x02001408, 0x02011408, 0x02001408, 0x02001408, 0x02011408 } }, | 554 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
743 | { 3, 0x98dc, | 555 | { 6, 0x989c, { 0xc0000000, 0xc0000000, 0xc0000000 } }, |
744 | { 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 } }, | 556 | { 6, 0x989c, { 0x0f000000, 0x0f000000, 0x0f000000 } }, |
745 | { 6, 0x989c, | 557 | { 6, 0x989c, { 0x02000000, 0x02000000, 0x02000000 } }, |
746 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 558 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
747 | { 6, 0x989c, | 559 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
748 | { 0xc0000000, 0xc0000000, 0xc0000000, 0xc0000000, 0xc0000000 } }, | 560 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
749 | { 6, 0x989c, | 561 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
750 | { 0x0f000000, 0x0f000000, 0x0f000000, 0x0f000000, 0x0f000000 } }, | 562 | { 6, 0x989c, { 0xf8000000, 0xf8000000, 0xf8000000 } }, |
751 | { 6, 0x989c, | 563 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
752 | { 0x02000000, 0x02000000, 0x02000000, 0x02000000, 0x02000000 } }, | 564 | { 6, 0x989c, { 0x95150000, 0x95150000, 0x95150000 } }, |
753 | { 6, 0x989c, | 565 | { 6, 0x989c, { 0xc1000000, 0xc1000000, 0xc1000000 } }, |
754 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 566 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
755 | { 6, 0x989c, | 567 | { 6, 0x989c, { 0x00080000, 0x00080000, 0x00080000 } }, |
756 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 568 | { 6, 0x989c, { 0x00d50000, 0x00d50000, 0x00d50000 } }, |
757 | { 6, 0x989c, | 569 | { 6, 0x989c, { 0x000e0000, 0x000e0000, 0x000e0000 } }, |
758 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 570 | { 6, 0x989c, { 0x00dc0000, 0x00dc0000, 0x00dc0000 } }, |
759 | { 6, 0x989c, | 571 | { 6, 0x989c, { 0x00770000, 0x00770000, 0x00770000 } }, |
760 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 572 | { 6, 0x989c, { 0x008a0000, 0x008a0000, 0x008a0000 } }, |
761 | { 6, 0x989c, | 573 | { 6, 0x989c, { 0x10880000, 0x10880000, 0x10880000 } }, |
762 | { 0xf8000000, 0xf8000000, 0xf8000000, 0xf8000000, 0xf8000000 } }, | 574 | { 6, 0x989c, { 0x008c0060, 0x008c0060, 0x008c0060 } }, |
763 | { 6, 0x989c, | 575 | { 6, 0x989c, { 0x00a00000, 0x00a00080, 0x00a00080 } }, |
764 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 576 | { 6, 0x989c, { 0x00400000, 0x0040000d, 0x0040000d } }, |
765 | { 6, 0x989c, | 577 | { 6, 0x989c, { 0x00110400, 0x00110400, 0x00110400 } }, |
766 | { 0x95150000, 0x95150000, 0x95150000, 0x95150000, 0x95150000 } }, | 578 | { 6, 0x989c, { 0x00000060, 0x00000060, 0x00000060 } }, |
767 | { 6, 0x989c, | 579 | { 6, 0x989c, { 0x00000001, 0x00000001, 0x00000001 } }, |
768 | { 0xc1000000, 0xc1000000, 0xc1000000, 0xc1000000, 0xc1000000 } }, | 580 | { 6, 0x989c, { 0x00000b00, 0x00000b00, 0x00000b00 } }, |
769 | { 6, 0x989c, | 581 | { 6, 0x989c, { 0x00000be8, 0x00000be8, 0x00000be8 } }, |
770 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 582 | { 6, 0x98c0, { 0x00010000, 0x00010000, 0x00010000 } }, |
771 | { 6, 0x989c, | 583 | { 7, 0x989c, { 0x00006400, 0x00006400, 0x00006400 } }, |
772 | { 0x00080000, 0x00080000, 0x00080000, 0x00080000, 0x00080000 } }, | 584 | { 7, 0x989c, { 0x00000800, 0x00000800, 0x00000800 } }, |
773 | { 6, 0x989c, | 585 | { 7, 0x98cc, { 0x0000000e, 0x0000000e, 0x0000000e } }, |
774 | { 0x00d50000, 0x00d50000, 0x00d50000, 0x00d50000, 0x00d50000 } }, | ||
775 | { 6, 0x989c, | ||
776 | { 0x000e0000, 0x000e0000, 0x000e0000, 0x000e0000, 0x000e0000 } }, | ||
777 | { 6, 0x989c, | ||
778 | { 0x00dc0000, 0x00dc0000, 0x00dc0000, 0x00dc0000, 0x00dc0000 } }, | ||
779 | { 6, 0x989c, | ||
780 | { 0x00770000, 0x00770000, 0x00770000, 0x00770000, 0x00770000 } }, | ||
781 | { 6, 0x989c, | ||
782 | { 0x008a0000, 0x008a0000, 0x008a0000, 0x008a0000, 0x008a0000 } }, | ||
783 | { 6, 0x989c, | ||
784 | { 0x10880000, 0x10880000, 0x10880000, 0x10880000, 0x10880000 } }, | ||
785 | { 6, 0x989c, | ||
786 | { 0x008c0060, 0x008c0060, 0x008c0060, 0x008c0060, 0x008c0060 } }, | ||
787 | { 6, 0x989c, | ||
788 | { 0x00a00000, 0x00a00000, 0x00a00080, 0x00a00080, 0x00a00080 } }, | ||
789 | { 6, 0x989c, | ||
790 | { 0x00400000, 0x00400000, 0x0040000d, 0x0040000d, 0x0040000d } }, | ||
791 | { 6, 0x989c, | ||
792 | { 0x00110400, 0x00110400, 0x00110400, 0x00110400, 0x00110400 } }, | ||
793 | { 6, 0x989c, | ||
794 | { 0x00000060, 0x00000060, 0x00000060, 0x00000060, 0x00000060 } }, | ||
795 | { 6, 0x989c, | ||
796 | { 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001 } }, | ||
797 | { 6, 0x989c, | ||
798 | { 0x00000b00, 0x00000b00, 0x00000b00, 0x00000b00, 0x00000b00 } }, | ||
799 | { 6, 0x989c, | ||
800 | { 0x00000be8, 0x00000be8, 0x00000be8, 0x00000be8, 0x00000be8 } }, | ||
801 | { 6, 0x98c0, | ||
802 | { 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000 } }, | ||
803 | { 7, 0x989c, | ||
804 | { 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 } }, | ||
805 | { 7, 0x989c, | ||
806 | { 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 } }, | ||
807 | { 7, 0x98cc, | ||
808 | { 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e } }, | ||
809 | }; | 586 | }; |
810 | 587 | ||
811 | 588 | ||
@@ -835,93 +612,50 @@ static const struct ath5k_rf_reg rf_regs_5413[] = { | |||
835 | 612 | ||
836 | /* Default mode specific settings */ | 613 | /* Default mode specific settings */ |
837 | static const struct ath5k_ini_rfbuffer rfb_5413[] = { | 614 | static const struct ath5k_ini_rfbuffer rfb_5413[] = { |
838 | { 1, 0x98d4, | 615 | /* BANK / C.R. A/XR B G */ |
839 | /* mode a/XR mode aTurbo mode b mode g mode gTurbo */ | 616 | { 1, 0x98d4, { 0x00000020, 0x00000020, 0x00000020 } }, |
840 | { 0x00000020, 0x00000020, 0x00000020, 0x00000020, 0x00000020 } }, | 617 | { 2, 0x98d0, { 0x00000008, 0x00000008, 0x00000008 } }, |
841 | { 2, 0x98d0, | 618 | { 3, 0x98dc, { 0x00a000c0, 0x00e000c0, 0x00e000c0 } }, |
842 | { 0x00000008, 0x00000008, 0x00000008, 0x00000008, 0x00000008 } }, | 619 | { 6, 0x989c, { 0x33000000, 0x33000000, 0x33000000 } }, |
843 | { 3, 0x98dc, | 620 | { 6, 0x989c, { 0x01000000, 0x01000000, 0x01000000 } }, |
844 | { 0x00a000c0, 0x00a000c0, 0x00e000c0, 0x00e000c0, 0x00e000c0 } }, | 621 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
845 | { 6, 0x989c, | 622 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
846 | { 0x33000000, 0x33000000, 0x33000000, 0x33000000, 0x33000000 } }, | 623 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
847 | { 6, 0x989c, | 624 | { 6, 0x989c, { 0x1f000000, 0x1f000000, 0x1f000000 } }, |
848 | { 0x01000000, 0x01000000, 0x01000000, 0x01000000, 0x01000000 } }, | 625 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
849 | { 6, 0x989c, | 626 | { 6, 0x989c, { 0x00b80000, 0x00b80000, 0x00b80000 } }, |
850 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 627 | { 6, 0x989c, { 0x00b70000, 0x00b70000, 0x00b70000 } }, |
851 | { 6, 0x989c, | 628 | { 6, 0x989c, { 0x00840000, 0x00840000, 0x00840000 } }, |
852 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 629 | { 6, 0x989c, { 0x00980000, 0x00980000, 0x00980000 } }, |
853 | { 6, 0x989c, | 630 | { 6, 0x989c, { 0x00c00000, 0x00c00000, 0x00c00000 } }, |
854 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 631 | { 6, 0x989c, { 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, |
855 | { 6, 0x989c, | 632 | { 6, 0x989c, { 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, |
856 | { 0x1f000000, 0x1f000000, 0x1f000000, 0x1f000000, 0x1f000000 } }, | 633 | { 6, 0x989c, { 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, |
857 | { 6, 0x989c, | 634 | { 6, 0x989c, { 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, |
858 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 635 | { 6, 0x989c, { 0x00d70000, 0x00d70000, 0x00d70000 } }, |
859 | { 6, 0x989c, | 636 | { 6, 0x989c, { 0x00610000, 0x00610000, 0x00610000 } }, |
860 | { 0x00b80000, 0x00b80000, 0x00b80000, 0x00b80000, 0x00b80000 } }, | 637 | { 6, 0x989c, { 0x00fe0000, 0x00fe0000, 0x00fe0000 } }, |
861 | { 6, 0x989c, | 638 | { 6, 0x989c, { 0x00de0000, 0x00de0000, 0x00de0000 } }, |
862 | { 0x00b70000, 0x00b70000, 0x00b70000, 0x00b70000, 0x00b70000 } }, | 639 | { 6, 0x989c, { 0x007f0000, 0x007f0000, 0x007f0000 } }, |
863 | { 6, 0x989c, | 640 | { 6, 0x989c, { 0x043d0000, 0x043d0000, 0x043d0000 } }, |
864 | { 0x00840000, 0x00840000, 0x00840000, 0x00840000, 0x00840000 } }, | 641 | { 6, 0x989c, { 0x00770000, 0x00770000, 0x00770000 } }, |
865 | { 6, 0x989c, | 642 | { 6, 0x989c, { 0x00440000, 0x00440000, 0x00440000 } }, |
866 | { 0x00980000, 0x00980000, 0x00980000, 0x00980000, 0x00980000 } }, | 643 | { 6, 0x989c, { 0x00980000, 0x00980000, 0x00980000 } }, |
867 | { 6, 0x989c, | 644 | { 6, 0x989c, { 0x00100080, 0x00100080, 0x00100080 } }, |
868 | { 0x00c00000, 0x00c00000, 0x00c00000, 0x00c00000, 0x00c00000 } }, | 645 | { 6, 0x989c, { 0x0005c034, 0x0005c034, 0x0005c034 } }, |
869 | { 6, 0x989c, | 646 | { 6, 0x989c, { 0x003100f0, 0x003100f0, 0x003100f0 } }, |
870 | { 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, | 647 | { 6, 0x989c, { 0x000c011f, 0x000c011f, 0x000c011f } }, |
871 | { 6, 0x989c, | 648 | { 6, 0x989c, { 0x00510040, 0x00510040, 0x00510040 } }, |
872 | { 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, | 649 | { 6, 0x989c, { 0x005000da, 0x005000da, 0x005000da } }, |
873 | { 6, 0x989c, | 650 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
874 | { 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, | 651 | { 6, 0x989c, { 0x00004044, 0x00004044, 0x00004044 } }, |
875 | { 6, 0x989c, | 652 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
876 | { 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 } }, | 653 | { 6, 0x989c, { 0x000060c0, 0x000060c0, 0x000060c0 } }, |
877 | { 6, 0x989c, | 654 | { 6, 0x989c, { 0x00002c00, 0x00003600, 0x00003600 } }, |
878 | { 0x00d70000, 0x00d70000, 0x00d70000, 0x00d70000, 0x00d70000 } }, | 655 | { 6, 0x98c8, { 0x00000403, 0x00040403, 0x00040403 } }, |
879 | { 6, 0x989c, | 656 | { 7, 0x989c, { 0x00006400, 0x00006400, 0x00006400 } }, |
880 | { 0x00610000, 0x00610000, 0x00610000, 0x00610000, 0x00610000 } }, | 657 | { 7, 0x989c, { 0x00000800, 0x00000800, 0x00000800 } }, |
881 | { 6, 0x989c, | 658 | { 7, 0x98cc, { 0x0000000e, 0x0000000e, 0x0000000e } }, |
882 | { 0x00fe0000, 0x00fe0000, 0x00fe0000, 0x00fe0000, 0x00fe0000 } }, | ||
883 | { 6, 0x989c, | ||
884 | { 0x00de0000, 0x00de0000, 0x00de0000, 0x00de0000, 0x00de0000 } }, | ||
885 | { 6, 0x989c, | ||
886 | { 0x007f0000, 0x007f0000, 0x007f0000, 0x007f0000, 0x007f0000 } }, | ||
887 | { 6, 0x989c, | ||
888 | { 0x043d0000, 0x043d0000, 0x043d0000, 0x043d0000, 0x043d0000 } }, | ||
889 | { 6, 0x989c, | ||
890 | { 0x00770000, 0x00770000, 0x00770000, 0x00770000, 0x00770000 } }, | ||
891 | { 6, 0x989c, | ||
892 | { 0x00440000, 0x00440000, 0x00440000, 0x00440000, 0x00440000 } }, | ||
893 | { 6, 0x989c, | ||
894 | { 0x00980000, 0x00980000, 0x00980000, 0x00980000, 0x00980000 } }, | ||
895 | { 6, 0x989c, | ||
896 | { 0x00100080, 0x00100080, 0x00100080, 0x00100080, 0x00100080 } }, | ||
897 | { 6, 0x989c, | ||
898 | { 0x0005c034, 0x0005c034, 0x0005c034, 0x0005c034, 0x0005c034 } }, | ||
899 | { 6, 0x989c, | ||
900 | { 0x003100f0, 0x003100f0, 0x003100f0, 0x003100f0, 0x003100f0 } }, | ||
901 | { 6, 0x989c, | ||
902 | { 0x000c011f, 0x000c011f, 0x000c011f, 0x000c011f, 0x000c011f } }, | ||
903 | { 6, 0x989c, | ||
904 | { 0x00510040, 0x00510040, 0x00510040, 0x00510040, 0x00510040 } }, | ||
905 | { 6, 0x989c, | ||
906 | { 0x005000da, 0x005000da, 0x005000da, 0x005000da, 0x005000da } }, | ||
907 | { 6, 0x989c, | ||
908 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
909 | { 6, 0x989c, | ||
910 | { 0x00004044, 0x00004044, 0x00004044, 0x00004044, 0x00004044 } }, | ||
911 | { 6, 0x989c, | ||
912 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
913 | { 6, 0x989c, | ||
914 | { 0x000060c0, 0x000060c0, 0x000060c0, 0x000060c0, 0x000060c0 } }, | ||
915 | { 6, 0x989c, | ||
916 | { 0x00002c00, 0x00002c00, 0x00003600, 0x00003600, 0x00002c00 } }, | ||
917 | { 6, 0x98c8, | ||
918 | { 0x00000403, 0x00000403, 0x00040403, 0x00040403, 0x00040403 } }, | ||
919 | { 7, 0x989c, | ||
920 | { 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 } }, | ||
921 | { 7, 0x989c, | ||
922 | { 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 } }, | ||
923 | { 7, 0x98cc, | ||
924 | { 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e } }, | ||
925 | }; | 659 | }; |
926 | 660 | ||
927 | 661 | ||
@@ -944,79 +678,43 @@ static const struct ath5k_rf_reg rf_regs_2425[] = { | |||
944 | * XXX: a/aTurbo ? | 678 | * XXX: a/aTurbo ? |
945 | */ | 679 | */ |
946 | static const struct ath5k_ini_rfbuffer rfb_2425[] = { | 680 | static const struct ath5k_ini_rfbuffer rfb_2425[] = { |
947 | { 1, 0x98d4, | 681 | /* BANK / C.R. A/XR B G */ |
948 | /* mode a/XR mode aTurbo mode b mode g mode gTurbo */ | 682 | { 1, 0x98d4, { 0x00000020, 0x00000020, 0x00000020 } }, |
949 | { 0x00000020, 0x00000020, 0x00000020, 0x00000020, 0x00000020 } }, | 683 | { 2, 0x98d0, { 0x02001408, 0x02001408, 0x02001408 } }, |
950 | { 2, 0x98d0, | 684 | { 3, 0x98dc, { 0x00a020c0, 0x00e020c0, 0x00e020c0 } }, |
951 | { 0x02001408, 0x02001408, 0x02001408, 0x02001408, 0x02001408 } }, | 685 | { 6, 0x989c, { 0x10000000, 0x10000000, 0x10000000 } }, |
952 | { 3, 0x98dc, | 686 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
953 | { 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 } }, | 687 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
954 | { 6, 0x989c, | 688 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
955 | { 0x10000000, 0x10000000, 0x10000000, 0x10000000, 0x10000000 } }, | 689 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
956 | { 6, 0x989c, | 690 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
957 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 691 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
958 | { 6, 0x989c, | 692 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
959 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 693 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
960 | { 6, 0x989c, | 694 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
961 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 695 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
962 | { 6, 0x989c, | 696 | { 6, 0x989c, { 0x002a0000, 0x002a0000, 0x002a0000 } }, |
963 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 697 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
964 | { 6, 0x989c, | 698 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
965 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 699 | { 6, 0x989c, { 0x00100000, 0x00100000, 0x00100000 } }, |
966 | { 6, 0x989c, | 700 | { 6, 0x989c, { 0x00020000, 0x00020000, 0x00020000 } }, |
967 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 701 | { 6, 0x989c, { 0x00730000, 0x00730000, 0x00730000 } }, |
968 | { 6, 0x989c, | 702 | { 6, 0x989c, { 0x00f80000, 0x00f80000, 0x00f80000 } }, |
969 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 703 | { 6, 0x989c, { 0x00e70000, 0x00e70000, 0x00e70000 } }, |
970 | { 6, 0x989c, | 704 | { 6, 0x989c, { 0x00140000, 0x00140000, 0x00140000 } }, |
971 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 705 | { 6, 0x989c, { 0x00910040, 0x00910040, 0x00910040 } }, |
972 | { 6, 0x989c, | 706 | { 6, 0x989c, { 0x0007001a, 0x0007001a, 0x0007001a } }, |
973 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 707 | { 6, 0x989c, { 0x00410000, 0x00410000, 0x00410000 } }, |
974 | { 6, 0x989c, | 708 | { 6, 0x989c, { 0x00810000, 0x00810060, 0x00810060 } }, |
975 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 709 | { 6, 0x989c, { 0x00020800, 0x00020803, 0x00020803 } }, |
976 | { 6, 0x989c, | 710 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
977 | { 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 } }, | 711 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
978 | { 6, 0x989c, | 712 | { 6, 0x989c, { 0x00001660, 0x00001660, 0x00001660 } }, |
979 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 713 | { 6, 0x989c, { 0x00001688, 0x00001688, 0x00001688 } }, |
980 | { 6, 0x989c, | 714 | { 6, 0x98c4, { 0x00000001, 0x00000001, 0x00000001 } }, |
981 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 715 | { 7, 0x989c, { 0x00006400, 0x00006400, 0x00006400 } }, |
982 | { 6, 0x989c, | 716 | { 7, 0x989c, { 0x00000800, 0x00000800, 0x00000800 } }, |
983 | { 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000 } }, | 717 | { 7, 0x98cc, { 0x0000000e, 0x0000000e, 0x0000000e } }, |
984 | { 6, 0x989c, | ||
985 | { 0x00020000, 0x00020000, 0x00020000, 0x00020000, 0x00020000 } }, | ||
986 | { 6, 0x989c, | ||
987 | { 0x00730000, 0x00730000, 0x00730000, 0x00730000, 0x00730000 } }, | ||
988 | { 6, 0x989c, | ||
989 | { 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000 } }, | ||
990 | { 6, 0x989c, | ||
991 | { 0x00e70000, 0x00e70000, 0x00e70000, 0x00e70000, 0x00e70000 } }, | ||
992 | { 6, 0x989c, | ||
993 | { 0x00140000, 0x00140000, 0x00140000, 0x00140000, 0x00140000 } }, | ||
994 | { 6, 0x989c, | ||
995 | { 0x00910040, 0x00910040, 0x00910040, 0x00910040, 0x00910040 } }, | ||
996 | { 6, 0x989c, | ||
997 | { 0x0007001a, 0x0007001a, 0x0007001a, 0x0007001a, 0x0007001a } }, | ||
998 | { 6, 0x989c, | ||
999 | { 0x00410000, 0x00410000, 0x00410000, 0x00410000, 0x00410000 } }, | ||
1000 | { 6, 0x989c, | ||
1001 | { 0x00810000, 0x00810000, 0x00810060, 0x00810060, 0x00810060 } }, | ||
1002 | { 6, 0x989c, | ||
1003 | { 0x00020800, 0x00020800, 0x00020803, 0x00020803, 0x00020803 } }, | ||
1004 | { 6, 0x989c, | ||
1005 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
1006 | { 6, 0x989c, | ||
1007 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
1008 | { 6, 0x989c, | ||
1009 | { 0x00001660, 0x00001660, 0x00001660, 0x00001660, 0x00001660 } }, | ||
1010 | { 6, 0x989c, | ||
1011 | { 0x00001688, 0x00001688, 0x00001688, 0x00001688, 0x00001688 } }, | ||
1012 | { 6, 0x98c4, | ||
1013 | { 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001 } }, | ||
1014 | { 7, 0x989c, | ||
1015 | { 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 } }, | ||
1016 | { 7, 0x989c, | ||
1017 | { 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 } }, | ||
1018 | { 7, 0x98cc, | ||
1019 | { 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e } }, | ||
1020 | }; | 718 | }; |
1021 | 719 | ||
1022 | /* | 720 | /* |
@@ -1024,79 +722,43 @@ static const struct ath5k_ini_rfbuffer rfb_2425[] = { | |||
1024 | * bank modification and get rid of this | 722 | * bank modification and get rid of this |
1025 | */ | 723 | */ |
1026 | static const struct ath5k_ini_rfbuffer rfb_2317[] = { | 724 | static const struct ath5k_ini_rfbuffer rfb_2317[] = { |
1027 | { 1, 0x98d4, | 725 | /* BANK / C.R. A/XR B G */ |
1028 | /* mode a/XR mode aTurbo mode b mode g mode gTurbo */ | 726 | { 1, 0x98d4, { 0x00000020, 0x00000020, 0x00000020 } }, |
1029 | { 0x00000020, 0x00000020, 0x00000020, 0x00000020, 0x00000020 } }, | 727 | { 2, 0x98d0, { 0x02001408, 0x02001408, 0x02001408 } }, |
1030 | { 2, 0x98d0, | 728 | { 3, 0x98dc, { 0x00a020c0, 0x00e020c0, 0x00e020c0 } }, |
1031 | { 0x02001408, 0x02011408, 0x02001408, 0x02001408, 0x02011408 } }, | 729 | { 6, 0x989c, { 0x10000000, 0x10000000, 0x10000000 } }, |
1032 | { 3, 0x98dc, | 730 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1033 | { 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 } }, | 731 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1034 | { 6, 0x989c, | 732 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1035 | { 0x10000000, 0x10000000, 0x10000000, 0x10000000, 0x10000000 } }, | 733 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1036 | { 6, 0x989c, | 734 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1037 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 735 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1038 | { 6, 0x989c, | 736 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1039 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 737 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1040 | { 6, 0x989c, | 738 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1041 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 739 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1042 | { 6, 0x989c, | 740 | { 6, 0x989c, { 0x002a0000, 0x002a0000, 0x002a0000 } }, |
1043 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 741 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1044 | { 6, 0x989c, | 742 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1045 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 743 | { 6, 0x989c, { 0x00100000, 0x00100000, 0x00100000 } }, |
1046 | { 6, 0x989c, | 744 | { 6, 0x989c, { 0x00020000, 0x00020000, 0x00020000 } }, |
1047 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 745 | { 6, 0x989c, { 0x00730000, 0x00730000, 0x00730000 } }, |
1048 | { 6, 0x989c, | 746 | { 6, 0x989c, { 0x00f80000, 0x00f80000, 0x00f80000 } }, |
1049 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 747 | { 6, 0x989c, { 0x00e70000, 0x00e70000, 0x00e70000 } }, |
1050 | { 6, 0x989c, | 748 | { 6, 0x989c, { 0x00140100, 0x00140100, 0x00140100 } }, |
1051 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 749 | { 6, 0x989c, { 0x00910040, 0x00910040, 0x00910040 } }, |
1052 | { 6, 0x989c, | 750 | { 6, 0x989c, { 0x0007001a, 0x0007001a, 0x0007001a } }, |
1053 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 751 | { 6, 0x989c, { 0x00410000, 0x00410000, 0x00410000 } }, |
1054 | { 6, 0x989c, | 752 | { 6, 0x989c, { 0x00810000, 0x00810060, 0x00810060 } }, |
1055 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 753 | { 6, 0x989c, { 0x00020800, 0x00020803, 0x00020803 } }, |
1056 | { 6, 0x989c, | 754 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1057 | { 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 } }, | 755 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1058 | { 6, 0x989c, | 756 | { 6, 0x989c, { 0x00001660, 0x00001660, 0x00001660 } }, |
1059 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 757 | { 6, 0x989c, { 0x00009688, 0x00009688, 0x00009688 } }, |
1060 | { 6, 0x989c, | 758 | { 6, 0x98c4, { 0x00000001, 0x00000001, 0x00000001 } }, |
1061 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 759 | { 7, 0x989c, { 0x00006400, 0x00006400, 0x00006400 } }, |
1062 | { 6, 0x989c, | 760 | { 7, 0x989c, { 0x00000800, 0x00000800, 0x00000800 } }, |
1063 | { 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000 } }, | 761 | { 7, 0x98cc, { 0x0000000e, 0x0000000e, 0x0000000e } }, |
1064 | { 6, 0x989c, | ||
1065 | { 0x00020000, 0x00020000, 0x00020000, 0x00020000, 0x00020000 } }, | ||
1066 | { 6, 0x989c, | ||
1067 | { 0x00730000, 0x00730000, 0x00730000, 0x00730000, 0x00730000 } }, | ||
1068 | { 6, 0x989c, | ||
1069 | { 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000 } }, | ||
1070 | { 6, 0x989c, | ||
1071 | { 0x00e70000, 0x00e70000, 0x00e70000, 0x00e70000, 0x00e70000 } }, | ||
1072 | { 6, 0x989c, | ||
1073 | { 0x00140100, 0x00140100, 0x00140100, 0x00140100, 0x00140100 } }, | ||
1074 | { 6, 0x989c, | ||
1075 | { 0x00910040, 0x00910040, 0x00910040, 0x00910040, 0x00910040 } }, | ||
1076 | { 6, 0x989c, | ||
1077 | { 0x0007001a, 0x0007001a, 0x0007001a, 0x0007001a, 0x0007001a } }, | ||
1078 | { 6, 0x989c, | ||
1079 | { 0x00410000, 0x00410000, 0x00410000, 0x00410000, 0x00410000 } }, | ||
1080 | { 6, 0x989c, | ||
1081 | { 0x00810000, 0x00810000, 0x00810060, 0x00810060, 0x00810060 } }, | ||
1082 | { 6, 0x989c, | ||
1083 | { 0x00020800, 0x00020800, 0x00020803, 0x00020803, 0x00020803 } }, | ||
1084 | { 6, 0x989c, | ||
1085 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
1086 | { 6, 0x989c, | ||
1087 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
1088 | { 6, 0x989c, | ||
1089 | { 0x00001660, 0x00001660, 0x00001660, 0x00001660, 0x00001660 } }, | ||
1090 | { 6, 0x989c, | ||
1091 | { 0x00009688, 0x00009688, 0x00009688, 0x00009688, 0x00009688 } }, | ||
1092 | { 6, 0x98c4, | ||
1093 | { 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001 } }, | ||
1094 | { 7, 0x989c, | ||
1095 | { 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 } }, | ||
1096 | { 7, 0x989c, | ||
1097 | { 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 } }, | ||
1098 | { 7, 0x98cc, | ||
1099 | { 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e } }, | ||
1100 | }; | 762 | }; |
1101 | 763 | ||
1102 | /* | 764 | /* |
@@ -1105,77 +767,41 @@ static const struct ath5k_ini_rfbuffer rfb_2317[] = { | |||
1105 | * XXX: a/aTurbo ? | 767 | * XXX: a/aTurbo ? |
1106 | */ | 768 | */ |
1107 | static const struct ath5k_ini_rfbuffer rfb_2417[] = { | 769 | static const struct ath5k_ini_rfbuffer rfb_2417[] = { |
1108 | { 1, 0x98d4, | 770 | /* BANK / C.R. A/XR B G */ |
1109 | /* mode a/XR mode aTurbo mode b mode g mode gTurbo */ | 771 | { 1, 0x98d4, { 0x00000020, 0x00000020, 0x00000020 } }, |
1110 | { 0x00000020, 0x00000020, 0x00000020, 0x00000020, 0x00000020 } }, | 772 | { 2, 0x98d0, { 0x02001408, 0x02001408, 0x02001408 } }, |
1111 | { 2, 0x98d0, | 773 | { 3, 0x98dc, { 0x00a020c0, 0x00e020c0, 0x00e020c0 } }, |
1112 | { 0x02001408, 0x02001408, 0x02001408, 0x02001408, 0x02001408 } }, | 774 | { 6, 0x989c, { 0x10000000, 0x10000000, 0x10000000 } }, |
1113 | { 3, 0x98dc, | 775 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1114 | { 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 } }, | 776 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1115 | { 6, 0x989c, | 777 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1116 | { 0x10000000, 0x10000000, 0x10000000, 0x10000000, 0x10000000 } }, | 778 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1117 | { 6, 0x989c, | 779 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1118 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 780 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1119 | { 6, 0x989c, | 781 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1120 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 782 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1121 | { 6, 0x989c, | 783 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1122 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 784 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1123 | { 6, 0x989c, | 785 | { 6, 0x989c, { 0x002a0000, 0x002a0000, 0x002a0000 } }, |
1124 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 786 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1125 | { 6, 0x989c, | 787 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1126 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 788 | { 6, 0x989c, { 0x00100000, 0x00100000, 0x00100000 } }, |
1127 | { 6, 0x989c, | 789 | { 6, 0x989c, { 0x00020000, 0x00020000, 0x00020000 } }, |
1128 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 790 | { 6, 0x989c, { 0x00730000, 0x00730000, 0x00730000 } }, |
1129 | { 6, 0x989c, | 791 | { 6, 0x989c, { 0x00f80000, 0x00f80000, 0x00f80000 } }, |
1130 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 792 | { 6, 0x989c, { 0x00e70000, 0x80e70000, 0x80e70000 } }, |
1131 | { 6, 0x989c, | 793 | { 6, 0x989c, { 0x00140000, 0x00140000, 0x00140000 } }, |
1132 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 794 | { 6, 0x989c, { 0x00910040, 0x00910040, 0x00910040 } }, |
1133 | { 6, 0x989c, | 795 | { 6, 0x989c, { 0x0007001a, 0x0207001a, 0x0207001a } }, |
1134 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 796 | { 6, 0x989c, { 0x00410000, 0x00410000, 0x00410000 } }, |
1135 | { 6, 0x989c, | 797 | { 6, 0x989c, { 0x00810000, 0x00810060, 0x00810060 } }, |
1136 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 798 | { 6, 0x989c, { 0x00020800, 0x00020803, 0x00020803 } }, |
1137 | { 6, 0x989c, | 799 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1138 | { 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 } }, | 800 | { 6, 0x989c, { 0x00000000, 0x00000000, 0x00000000 } }, |
1139 | { 6, 0x989c, | 801 | { 6, 0x989c, { 0x00001660, 0x00001660, 0x00001660 } }, |
1140 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 802 | { 6, 0x989c, { 0x00001688, 0x00001688, 0x00001688 } }, |
1141 | { 6, 0x989c, | 803 | { 6, 0x98c4, { 0x00000001, 0x00000001, 0x00000001 } }, |
1142 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | 804 | { 7, 0x989c, { 0x00006400, 0x00006400, 0x00006400 } }, |
1143 | { 6, 0x989c, | 805 | { 7, 0x989c, { 0x00000800, 0x00000800, 0x00000800 } }, |
1144 | { 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000 } }, | 806 | { 7, 0x98cc, { 0x0000000e, 0x0000000e, 0x0000000e } }, |
1145 | { 6, 0x989c, | ||
1146 | { 0x00020000, 0x00020000, 0x00020000, 0x00020000, 0x00020000 } }, | ||
1147 | { 6, 0x989c, | ||
1148 | { 0x00730000, 0x00730000, 0x00730000, 0x00730000, 0x00730000 } }, | ||
1149 | { 6, 0x989c, | ||
1150 | { 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000 } }, | ||
1151 | { 6, 0x989c, | ||
1152 | { 0x00e70000, 0x00e70000, 0x80e70000, 0x80e70000, 0x00e70000 } }, | ||
1153 | { 6, 0x989c, | ||
1154 | { 0x00140000, 0x00140000, 0x00140000, 0x00140000, 0x00140000 } }, | ||
1155 | { 6, 0x989c, | ||
1156 | { 0x00910040, 0x00910040, 0x00910040, 0x00910040, 0x00910040 } }, | ||
1157 | { 6, 0x989c, | ||
1158 | { 0x0007001a, 0x0007001a, 0x0207001a, 0x0207001a, 0x0007001a } }, | ||
1159 | { 6, 0x989c, | ||
1160 | { 0x00410000, 0x00410000, 0x00410000, 0x00410000, 0x00410000 } }, | ||
1161 | { 6, 0x989c, | ||
1162 | { 0x00810000, 0x00810000, 0x00810060, 0x00810060, 0x00810060 } }, | ||
1163 | { 6, 0x989c, | ||
1164 | { 0x00020800, 0x00020800, 0x00020803, 0x00020803, 0x00020803 } }, | ||
1165 | { 6, 0x989c, | ||
1166 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
1167 | { 6, 0x989c, | ||
1168 | { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 } }, | ||
1169 | { 6, 0x989c, | ||
1170 | { 0x00001660, 0x00001660, 0x00001660, 0x00001660, 0x00001660 } }, | ||
1171 | { 6, 0x989c, | ||
1172 | { 0x00001688, 0x00001688, 0x00001688, 0x00001688, 0x00001688 } }, | ||
1173 | { 6, 0x98c4, | ||
1174 | { 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001 } }, | ||
1175 | { 7, 0x989c, | ||
1176 | { 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 } }, | ||
1177 | { 7, 0x989c, | ||
1178 | { 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 } }, | ||
1179 | { 7, 0x98cc, | ||
1180 | { 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e } }, | ||
1181 | }; | 807 | }; |