diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-24 08:32:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-29 13:45:22 -0400 |
commit | 5a71f134026b17d4000e54c2a5a5ab4e4189f53c (patch) | |
tree | 5f68defc84008bfb9456c18e1eef125c24e9c1c5 /drivers/net/wireless | |
parent | 81357a281dcc454841532c46b30e6f2ba12b73ea (diff) |
ath9k_hw: update AR933x initvals to fix issues with high power devices
"> Can you provide more information about the issues with high power devices?
Tx being flakey and Rx not working at all."
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h | 178 |
1 files changed, 90 insertions, 88 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h b/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h index f11d9b2677fd..1bd3a3d22101 100644 --- a/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h | |||
@@ -1,5 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2011 Atheros Communications Inc. | 2 | * Copyright (c) 2010-2011 Atheros Communications Inc. |
3 | * Copyright (c) 2011-2012 Qualcomm Atheros Inc. | ||
3 | * | 4 | * |
4 | * Permission to use, copy, modify, and/or distribute this software for any | 5 | * Permission to use, copy, modify, and/or distribute this software for any |
5 | * purpose with or without fee is hereby granted, provided that the above | 6 | * purpose with or without fee is hereby granted, provided that the above |
@@ -18,7 +19,7 @@ | |||
18 | #define INITVALS_9330_1P1_H | 19 | #define INITVALS_9330_1P1_H |
19 | 20 | ||
20 | static const u32 ar9331_1p1_baseband_postamble[][5] = { | 21 | static const u32 ar9331_1p1_baseband_postamble[][5] = { |
21 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | 22 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ |
22 | {0x00009810, 0xd00a8005, 0xd00a8005, 0xd00a8005, 0xd00a8005}, | 23 | {0x00009810, 0xd00a8005, 0xd00a8005, 0xd00a8005, 0xd00a8005}, |
23 | {0x00009820, 0x206a002e, 0x206a002e, 0x206a002e, 0x206a002e}, | 24 | {0x00009820, 0x206a002e, 0x206a002e, 0x206a002e, 0x206a002e}, |
24 | {0x00009824, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0}, | 25 | {0x00009824, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0}, |
@@ -27,10 +28,10 @@ static const u32 ar9331_1p1_baseband_postamble[][5] = { | |||
27 | {0x00009830, 0x0000059c, 0x0000059c, 0x0000059c, 0x0000059c}, | 28 | {0x00009830, 0x0000059c, 0x0000059c, 0x0000059c, 0x0000059c}, |
28 | {0x00009c00, 0x00000044, 0x00000044, 0x00000044, 0x00000044}, | 29 | {0x00009c00, 0x00000044, 0x00000044, 0x00000044, 0x00000044}, |
29 | {0x00009e00, 0x0372161e, 0x0372161e, 0x037216a4, 0x037216a4}, | 30 | {0x00009e00, 0x0372161e, 0x0372161e, 0x037216a4, 0x037216a4}, |
30 | {0x00009e04, 0x00182020, 0x00182020, 0x00182020, 0x00182020}, | 31 | {0x00009e04, 0x00202020, 0x00202020, 0x00202020, 0x00202020}, |
31 | {0x00009e0c, 0x6c4000e2, 0x6d4000e2, 0x6d4000e2, 0x6c4000e2}, | 32 | {0x00009e0c, 0x6c4000e2, 0x6d4000e2, 0x6d4000e2, 0x6c4000e2}, |
32 | {0x00009e10, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e}, | 33 | {0x00009e10, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e}, |
33 | {0x00009e14, 0x31395d5e, 0x3139605e, 0x3139605e, 0x31395d5e}, | 34 | {0x00009e14, 0x31365d5e, 0x3136605e, 0x3136605e, 0x31365d5e}, |
34 | {0x00009e18, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 35 | {0x00009e18, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
35 | {0x00009e1c, 0x0001cf9c, 0x0001cf9c, 0x00021f9c, 0x00021f9c}, | 36 | {0x00009e1c, 0x0001cf9c, 0x0001cf9c, 0x00021f9c, 0x00021f9c}, |
36 | {0x00009e20, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce}, | 37 | {0x00009e20, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce}, |
@@ -55,7 +56,7 @@ static const u32 ar9331_1p1_baseband_postamble[][5] = { | |||
55 | {0x0000a288, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 56 | {0x0000a288, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
56 | {0x0000a28c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 57 | {0x0000a28c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
57 | {0x0000a2c4, 0x00158d18, 0x00158d18, 0x00158d18, 0x00158d18}, | 58 | {0x0000a2c4, 0x00158d18, 0x00158d18, 0x00158d18, 0x00158d18}, |
58 | {0x0000a2d0, 0x00071981, 0x00071981, 0x00071981, 0x00071981}, | 59 | {0x0000a2d0, 0x00071982, 0x00071982, 0x00071982, 0x00071982}, |
59 | {0x0000a2d8, 0xf999a83a, 0xf999a83a, 0xf999a83a, 0xf999a83a}, | 60 | {0x0000a2d8, 0xf999a83a, 0xf999a83a, 0xf999a83a, 0xf999a83a}, |
60 | {0x0000a358, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 61 | {0x0000a358, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
61 | {0x0000ae04, 0x00802020, 0x00802020, 0x00802020, 0x00802020}, | 62 | {0x0000ae04, 0x00802020, 0x00802020, 0x00802020, 0x00802020}, |
@@ -63,7 +64,7 @@ static const u32 ar9331_1p1_baseband_postamble[][5] = { | |||
63 | }; | 64 | }; |
64 | 65 | ||
65 | static const u32 ar9331_modes_lowest_ob_db_tx_gain_1p1[][5] = { | 66 | static const u32 ar9331_modes_lowest_ob_db_tx_gain_1p1[][5] = { |
66 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | 67 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ |
67 | {0x0000a2d8, 0x7999a83a, 0x7999a83a, 0x7999a83a, 0x7999a83a}, | 68 | {0x0000a2d8, 0x7999a83a, 0x7999a83a, 0x7999a83a, 0x7999a83a}, |
68 | {0x0000a2dc, 0xffff2a52, 0xffff2a52, 0xffff2a52, 0xffff2a52}, | 69 | {0x0000a2dc, 0xffff2a52, 0xffff2a52, 0xffff2a52, 0xffff2a52}, |
69 | {0x0000a2e0, 0xffffcc84, 0xffffcc84, 0xffffcc84, 0xffffcc84}, | 70 | {0x0000a2e0, 0xffffcc84, 0xffffcc84, 0xffffcc84, 0xffffcc84}, |
@@ -155,7 +156,7 @@ static const u32 ar9331_modes_lowest_ob_db_tx_gain_1p1[][5] = { | |||
155 | }; | 156 | }; |
156 | 157 | ||
157 | static const u32 ar9331_modes_high_ob_db_tx_gain_1p1[][5] = { | 158 | static const u32 ar9331_modes_high_ob_db_tx_gain_1p1[][5] = { |
158 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | 159 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ |
159 | {0x0000a2d8, 0x7999a83a, 0x7999a83a, 0x7999a83a, 0x7999a83a}, | 160 | {0x0000a2d8, 0x7999a83a, 0x7999a83a, 0x7999a83a, 0x7999a83a}, |
160 | {0x0000a2dc, 0xffaa9a52, 0xffaa9a52, 0xffaa9a52, 0xffaa9a52}, | 161 | {0x0000a2dc, 0xffaa9a52, 0xffaa9a52, 0xffaa9a52, 0xffaa9a52}, |
161 | {0x0000a2e0, 0xffb31c84, 0xffb31c84, 0xffb31c84, 0xffb31c84}, | 162 | {0x0000a2e0, 0xffb31c84, 0xffb31c84, 0xffb31c84, 0xffb31c84}, |
@@ -245,7 +246,7 @@ static const u32 ar9331_modes_high_ob_db_tx_gain_1p1[][5] = { | |||
245 | }; | 246 | }; |
246 | 247 | ||
247 | static const u32 ar9331_modes_low_ob_db_tx_gain_1p1[][5] = { | 248 | static const u32 ar9331_modes_low_ob_db_tx_gain_1p1[][5] = { |
248 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | 249 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ |
249 | {0x0000a2d8, 0x7999a83a, 0x7999a83a, 0x7999a83a, 0x7999a83a}, | 250 | {0x0000a2d8, 0x7999a83a, 0x7999a83a, 0x7999a83a, 0x7999a83a}, |
250 | {0x0000a2dc, 0xffff2a52, 0xffff2a52, 0xffff2a52, 0xffff2a52}, | 251 | {0x0000a2dc, 0xffff2a52, 0xffff2a52, 0xffff2a52, 0xffff2a52}, |
251 | {0x0000a2e0, 0xffffcc84, 0xffffcc84, 0xffffcc84, 0xffffcc84}, | 252 | {0x0000a2e0, 0xffffcc84, 0xffffcc84, 0xffffcc84, 0xffffcc84}, |
@@ -377,14 +378,14 @@ static const u32 ar9331_1p1_radio_core[][2] = { | |||
377 | {0x000160b4, 0x92480040}, | 378 | {0x000160b4, 0x92480040}, |
378 | {0x000160c0, 0x006db6db}, | 379 | {0x000160c0, 0x006db6db}, |
379 | {0x000160c4, 0x0186db60}, | 380 | {0x000160c4, 0x0186db60}, |
380 | {0x000160c8, 0x6db6db6c}, | 381 | {0x000160c8, 0x6db4db6c}, |
381 | {0x000160cc, 0x6de6c300}, | 382 | {0x000160cc, 0x6de6c300}, |
382 | {0x000160d0, 0x14500820}, | 383 | {0x000160d0, 0x14500820}, |
383 | {0x00016100, 0x04cb0001}, | 384 | {0x00016100, 0x04cb0001}, |
384 | {0x00016104, 0xfff80015}, | 385 | {0x00016104, 0xfff80015}, |
385 | {0x00016108, 0x00080010}, | 386 | {0x00016108, 0x00080010}, |
386 | {0x0001610c, 0x00170000}, | 387 | {0x0001610c, 0x00170000}, |
387 | {0x00016140, 0x10804000}, | 388 | {0x00016140, 0x10800000}, |
388 | {0x00016144, 0x01884080}, | 389 | {0x00016144, 0x01884080}, |
389 | {0x00016148, 0x000080c0}, | 390 | {0x00016148, 0x000080c0}, |
390 | {0x00016280, 0x01000015}, | 391 | {0x00016280, 0x01000015}, |
@@ -417,7 +418,7 @@ static const u32 ar9331_1p1_radio_core[][2] = { | |||
417 | }; | 418 | }; |
418 | 419 | ||
419 | static const u32 ar9331_1p1_soc_postamble[][5] = { | 420 | static const u32 ar9331_1p1_soc_postamble[][5] = { |
420 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | 421 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ |
421 | {0x00007010, 0x00000022, 0x00000022, 0x00000022, 0x00000022}, | 422 | {0x00007010, 0x00000022, 0x00000022, 0x00000022, 0x00000022}, |
422 | }; | 423 | }; |
423 | 424 | ||
@@ -691,7 +692,7 @@ static const u32 ar9331_1p1_baseband_core[][2] = { | |||
691 | }; | 692 | }; |
692 | 693 | ||
693 | static const u32 ar9331_modes_high_power_tx_gain_1p1[][5] = { | 694 | static const u32 ar9331_modes_high_power_tx_gain_1p1[][5] = { |
694 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | 695 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ |
695 | {0x0000a2d8, 0x7999a83a, 0x7999a83a, 0x7999a83a, 0x7999a83a}, | 696 | {0x0000a2d8, 0x7999a83a, 0x7999a83a, 0x7999a83a, 0x7999a83a}, |
696 | {0x0000a2dc, 0xffff2a52, 0xffff2a52, 0xffff2a52, 0xffff2a52}, | 697 | {0x0000a2dc, 0xffff2a52, 0xffff2a52, 0xffff2a52, 0xffff2a52}, |
697 | {0x0000a2e0, 0xffffcc84, 0xffffcc84, 0xffffcc84, 0xffffcc84}, | 698 | {0x0000a2e0, 0xffffcc84, 0xffffcc84, 0xffffcc84, 0xffffcc84}, |
@@ -783,7 +784,7 @@ static const u32 ar9331_modes_high_power_tx_gain_1p1[][5] = { | |||
783 | }; | 784 | }; |
784 | 785 | ||
785 | static const u32 ar9331_1p1_mac_postamble[][5] = { | 786 | static const u32 ar9331_1p1_mac_postamble[][5] = { |
786 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ | 787 | /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ |
787 | {0x00001030, 0x00000230, 0x00000460, 0x000002c0, 0x00000160}, | 788 | {0x00001030, 0x00000230, 0x00000460, 0x000002c0, 0x00000160}, |
788 | {0x00001070, 0x00000168, 0x000002d0, 0x00000318, 0x0000018c}, | 789 | {0x00001070, 0x00000168, 0x000002d0, 0x00000318, 0x0000018c}, |
789 | {0x000010b0, 0x00000e60, 0x00001cc0, 0x00007c70, 0x00003e38}, | 790 | {0x000010b0, 0x00000e60, 0x00001cc0, 0x00007c70, 0x00003e38}, |
@@ -973,26 +974,27 @@ static const u32 ar9331_1p1_mac_core[][2] = { | |||
973 | 974 | ||
974 | static const u32 ar9331_common_rx_gain_1p1[][2] = { | 975 | static const u32 ar9331_common_rx_gain_1p1[][2] = { |
975 | /* Addr allmodes */ | 976 | /* Addr allmodes */ |
976 | {0x0000a000, 0x00010000}, | 977 | {0x00009e18, 0x05000000}, |
977 | {0x0000a004, 0x00030002}, | 978 | {0x0000a000, 0x00060005}, |
978 | {0x0000a008, 0x00050004}, | 979 | {0x0000a004, 0x00810080}, |
979 | {0x0000a00c, 0x00810080}, | 980 | {0x0000a008, 0x00830082}, |
980 | {0x0000a010, 0x00830082}, | 981 | {0x0000a00c, 0x00850084}, |
981 | {0x0000a014, 0x01810180}, | 982 | {0x0000a010, 0x01820181}, |
982 | {0x0000a018, 0x01830182}, | 983 | {0x0000a014, 0x01840183}, |
983 | {0x0000a01c, 0x01850184}, | 984 | {0x0000a018, 0x01880185}, |
984 | {0x0000a020, 0x01890188}, | 985 | {0x0000a01c, 0x018a0189}, |
985 | {0x0000a024, 0x018b018a}, | 986 | {0x0000a020, 0x02850284}, |
986 | {0x0000a028, 0x018d018c}, | 987 | {0x0000a024, 0x02890288}, |
987 | {0x0000a02c, 0x01910190}, | 988 | {0x0000a028, 0x028b028a}, |
988 | {0x0000a030, 0x01930192}, | 989 | {0x0000a02c, 0x03850384}, |
989 | {0x0000a034, 0x01950194}, | 990 | {0x0000a030, 0x03890388}, |
990 | {0x0000a038, 0x038a0196}, | 991 | {0x0000a034, 0x038b038a}, |
991 | {0x0000a03c, 0x038c038b}, | 992 | {0x0000a038, 0x038d038c}, |
992 | {0x0000a040, 0x0390038d}, | 993 | {0x0000a03c, 0x03910390}, |
993 | {0x0000a044, 0x03920391}, | 994 | {0x0000a040, 0x03930392}, |
994 | {0x0000a048, 0x03940393}, | 995 | {0x0000a044, 0x03950394}, |
995 | {0x0000a04c, 0x03960395}, | 996 | {0x0000a048, 0x00000396}, |
997 | {0x0000a04c, 0x00000000}, | ||
996 | {0x0000a050, 0x00000000}, | 998 | {0x0000a050, 0x00000000}, |
997 | {0x0000a054, 0x00000000}, | 999 | {0x0000a054, 0x00000000}, |
998 | {0x0000a058, 0x00000000}, | 1000 | {0x0000a058, 0x00000000}, |
@@ -1005,15 +1007,15 @@ static const u32 ar9331_common_rx_gain_1p1[][2] = { | |||
1005 | {0x0000a074, 0x00000000}, | 1007 | {0x0000a074, 0x00000000}, |
1006 | {0x0000a078, 0x00000000}, | 1008 | {0x0000a078, 0x00000000}, |
1007 | {0x0000a07c, 0x00000000}, | 1009 | {0x0000a07c, 0x00000000}, |
1008 | {0x0000a080, 0x22222229}, | 1010 | {0x0000a080, 0x28282828}, |
1009 | {0x0000a084, 0x1d1d1d1d}, | 1011 | {0x0000a084, 0x28282828}, |
1010 | {0x0000a088, 0x1d1d1d1d}, | 1012 | {0x0000a088, 0x28282828}, |
1011 | {0x0000a08c, 0x1d1d1d1d}, | 1013 | {0x0000a08c, 0x28282828}, |
1012 | {0x0000a090, 0x171d1d1d}, | 1014 | {0x0000a090, 0x28282828}, |
1013 | {0x0000a094, 0x11111717}, | 1015 | {0x0000a094, 0x24242428}, |
1014 | {0x0000a098, 0x00030311}, | 1016 | {0x0000a098, 0x171e1e1e}, |
1015 | {0x0000a09c, 0x00000000}, | 1017 | {0x0000a09c, 0x02020b0b}, |
1016 | {0x0000a0a0, 0x00000000}, | 1018 | {0x0000a0a0, 0x02020202}, |
1017 | {0x0000a0a4, 0x00000000}, | 1019 | {0x0000a0a4, 0x00000000}, |
1018 | {0x0000a0a8, 0x00000000}, | 1020 | {0x0000a0a8, 0x00000000}, |
1019 | {0x0000a0ac, 0x00000000}, | 1021 | {0x0000a0ac, 0x00000000}, |
@@ -1021,27 +1023,27 @@ static const u32 ar9331_common_rx_gain_1p1[][2] = { | |||
1021 | {0x0000a0b4, 0x00000000}, | 1023 | {0x0000a0b4, 0x00000000}, |
1022 | {0x0000a0b8, 0x00000000}, | 1024 | {0x0000a0b8, 0x00000000}, |
1023 | {0x0000a0bc, 0x00000000}, | 1025 | {0x0000a0bc, 0x00000000}, |
1024 | {0x0000a0c0, 0x001f0000}, | 1026 | {0x0000a0c0, 0x22072208}, |
1025 | {0x0000a0c4, 0x01000101}, | 1027 | {0x0000a0c4, 0x22052206}, |
1026 | {0x0000a0c8, 0x011e011f}, | 1028 | {0x0000a0c8, 0x22032204}, |
1027 | {0x0000a0cc, 0x011c011d}, | 1029 | {0x0000a0cc, 0x22012202}, |
1028 | {0x0000a0d0, 0x02030204}, | 1030 | {0x0000a0d0, 0x221f2200}, |
1029 | {0x0000a0d4, 0x02010202}, | 1031 | {0x0000a0d4, 0x221d221e}, |
1030 | {0x0000a0d8, 0x021f0200}, | 1032 | {0x0000a0d8, 0x33023303}, |
1031 | {0x0000a0dc, 0x0302021e}, | 1033 | {0x0000a0dc, 0x33003301}, |
1032 | {0x0000a0e0, 0x03000301}, | 1034 | {0x0000a0e0, 0x331e331f}, |
1033 | {0x0000a0e4, 0x031e031f}, | 1035 | {0x0000a0e4, 0x4402331d}, |
1034 | {0x0000a0e8, 0x0402031d}, | 1036 | {0x0000a0e8, 0x44004401}, |
1035 | {0x0000a0ec, 0x04000401}, | 1037 | {0x0000a0ec, 0x441e441f}, |
1036 | {0x0000a0f0, 0x041e041f}, | 1038 | {0x0000a0f0, 0x55025503}, |
1037 | {0x0000a0f4, 0x0502041d}, | 1039 | {0x0000a0f4, 0x55005501}, |
1038 | {0x0000a0f8, 0x05000501}, | 1040 | {0x0000a0f8, 0x551e551f}, |
1039 | {0x0000a0fc, 0x051e051f}, | 1041 | {0x0000a0fc, 0x6602551d}, |
1040 | {0x0000a100, 0x06010602}, | 1042 | {0x0000a100, 0x66006601}, |
1041 | {0x0000a104, 0x061f0600}, | 1043 | {0x0000a104, 0x661e661f}, |
1042 | {0x0000a108, 0x061d061e}, | 1044 | {0x0000a108, 0x7703661d}, |
1043 | {0x0000a10c, 0x07020703}, | 1045 | {0x0000a10c, 0x77017702}, |
1044 | {0x0000a110, 0x07000701}, | 1046 | {0x0000a110, 0x00007700}, |
1045 | {0x0000a114, 0x00000000}, | 1047 | {0x0000a114, 0x00000000}, |
1046 | {0x0000a118, 0x00000000}, | 1048 | {0x0000a118, 0x00000000}, |
1047 | {0x0000a11c, 0x00000000}, | 1049 | {0x0000a11c, 0x00000000}, |
@@ -1054,26 +1056,26 @@ static const u32 ar9331_common_rx_gain_1p1[][2] = { | |||
1054 | {0x0000a138, 0x00000000}, | 1056 | {0x0000a138, 0x00000000}, |
1055 | {0x0000a13c, 0x00000000}, | 1057 | {0x0000a13c, 0x00000000}, |
1056 | {0x0000a140, 0x001f0000}, | 1058 | {0x0000a140, 0x001f0000}, |
1057 | {0x0000a144, 0x01000101}, | 1059 | {0x0000a144, 0x111f1100}, |
1058 | {0x0000a148, 0x011e011f}, | 1060 | {0x0000a148, 0x111d111e}, |
1059 | {0x0000a14c, 0x011c011d}, | 1061 | {0x0000a14c, 0x111b111c}, |
1060 | {0x0000a150, 0x02030204}, | 1062 | {0x0000a150, 0x22032204}, |
1061 | {0x0000a154, 0x02010202}, | 1063 | {0x0000a154, 0x22012202}, |
1062 | {0x0000a158, 0x021f0200}, | 1064 | {0x0000a158, 0x221f2200}, |
1063 | {0x0000a15c, 0x0302021e}, | 1065 | {0x0000a15c, 0x221d221e}, |
1064 | {0x0000a160, 0x03000301}, | 1066 | {0x0000a160, 0x33013302}, |
1065 | {0x0000a164, 0x031e031f}, | 1067 | {0x0000a164, 0x331f3300}, |
1066 | {0x0000a168, 0x0402031d}, | 1068 | {0x0000a168, 0x4402331e}, |
1067 | {0x0000a16c, 0x04000401}, | 1069 | {0x0000a16c, 0x44004401}, |
1068 | {0x0000a170, 0x041e041f}, | 1070 | {0x0000a170, 0x441e441f}, |
1069 | {0x0000a174, 0x0502041d}, | 1071 | {0x0000a174, 0x55015502}, |
1070 | {0x0000a178, 0x05000501}, | 1072 | {0x0000a178, 0x551f5500}, |
1071 | {0x0000a17c, 0x051e051f}, | 1073 | {0x0000a17c, 0x6602551e}, |
1072 | {0x0000a180, 0x06010602}, | 1074 | {0x0000a180, 0x66006601}, |
1073 | {0x0000a184, 0x061f0600}, | 1075 | {0x0000a184, 0x661e661f}, |
1074 | {0x0000a188, 0x061d061e}, | 1076 | {0x0000a188, 0x7703661d}, |
1075 | {0x0000a18c, 0x07020703}, | 1077 | {0x0000a18c, 0x77017702}, |
1076 | {0x0000a190, 0x07000701}, | 1078 | {0x0000a190, 0x00007700}, |
1077 | {0x0000a194, 0x00000000}, | 1079 | {0x0000a194, 0x00000000}, |
1078 | {0x0000a198, 0x00000000}, | 1080 | {0x0000a198, 0x00000000}, |
1079 | {0x0000a19c, 0x00000000}, | 1081 | {0x0000a19c, 0x00000000}, |
@@ -1100,14 +1102,14 @@ static const u32 ar9331_common_rx_gain_1p1[][2] = { | |||
1100 | {0x0000a1f0, 0x00000396}, | 1102 | {0x0000a1f0, 0x00000396}, |
1101 | {0x0000a1f4, 0x00000396}, | 1103 | {0x0000a1f4, 0x00000396}, |
1102 | {0x0000a1f8, 0x00000396}, | 1104 | {0x0000a1f8, 0x00000396}, |
1103 | {0x0000a1fc, 0x00000196}, | 1105 | {0x0000a1fc, 0x00000296}, |
1104 | }; | 1106 | }; |
1105 | 1107 | ||
1106 | static const u32 ar9331_common_tx_gain_offset1_1[][1] = { | 1108 | static const u32 ar9331_common_tx_gain_offset1_1[][1] = { |
1107 | {0}, | 1109 | {0x00000000}, |
1108 | {3}, | 1110 | {0x00000003}, |
1109 | {0}, | 1111 | {0x00000000}, |
1110 | {0}, | 1112 | {0x00000000}, |
1111 | }; | 1113 | }; |
1112 | 1114 | ||
1113 | static const u32 ar9331_1p1_chansel_xtal_25M[] = { | 1115 | static const u32 ar9331_1p1_chansel_xtal_25M[] = { |