xref: /freebsd/sys/dev/ath/ath_hal/ar5212/ar5212.ini (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2008 Atheros Communications, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17/* Auto Generated PCI Register Writes.  Created: 09/01/04 */
18
19#ifdef AH_5212_COMMON
20static const uint32_t ar5212Modes[][6] = {
21    { 0x00001040, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
22    { 0x00001044, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
23    { 0x00001048, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
24    { 0x0000104c, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
25    { 0x00001050, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
26    { 0x00001054, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
27    { 0x00001058, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
28    { 0x0000105c, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
29    { 0x00001060, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
30    { 0x00001064, 0x002ffc0f, 0x002ffc0f, 0x002ffc1f, 0x002ffc0f, 0x002ffc0f },
31    { 0x00001030, 0x00000230, 0x000001e0, 0x000000b0, 0x00000160, 0x000001e0 },
32    { 0x00001070, 0x00000168, 0x000001e0, 0x000001b8, 0x0000018c, 0x000001e0 },
33    { 0x000010b0, 0x00000e60, 0x00001180, 0x00001f1c, 0x00003e38, 0x00001180 },
34    { 0x000010f0, 0x0000a0e0, 0x00014068, 0x00005880, 0x0000b0e0, 0x00014068 },
35    { 0x00008014, 0x03e803e8, 0x06e006e0, 0x04200420, 0x08400840, 0x06e006e0 },
36    { 0x00009804, 0x00000000, 0x00000003, 0x00000000, 0x00000000, 0x00000003 },
37    { 0x00009820, 0x02020200, 0x02020200, 0x02010200, 0x02020200, 0x02020200 },
38    { 0x00009824, 0x00000e0e, 0x00000e0e, 0x00000707, 0x00000e0e, 0x00000e0e },
39    { 0x00009844, 0x1372161c, 0x13721c25, 0x13721722, 0x137216a2, 0x13721c25 },
40    { 0x00009860, 0x00009d10, 0x00009d10, 0x00009d18, 0x00009d18, 0x00009d10 },
41    { 0x00009864, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00 },
42    { 0x00009868, 0x409a4190, 0x409a4190, 0x409a4190, 0x409a4190, 0x409a4190 },
43    { 0x00009918, 0x000001b8, 0x000001b8, 0x00000084, 0x00000108, 0x000001b8 },
44    { 0x00009924, 0x10058a05, 0x10058a05, 0x10058a05, 0x10058a05, 0x10058a05 },
45    { 0x0000a230, 0x00000000, 0x00000000, 0x00000000, 0x00000108, 0x00000000 },
46};
47#endif /* AH_5212_COMMON */
48
49#ifdef AH_5212_5111
50static const uint32_t ar5212Modes_5111[][6] = {
51    { 0x00000030, 0x00008015, 0x00008015, 0x00008015, 0x00008015, 0x00008015 },
52    { 0x0000801c, 0x128d8fa7, 0x09880fcf, 0x04e00f95, 0x12e00fab, 0x09880fcf },
53    { 0x00009828, 0x0a020001, 0x0a020001, 0x05010100, 0x0a020001, 0x0a020001 },
54    { 0x00009834, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e },
55    { 0x00009838, 0x00000007, 0x00000007, 0x0000000b, 0x0000000b, 0x0000000b },
56    { 0x00009848, 0x0018da5a, 0x0018da5a, 0x0018ca69, 0x0018ca69, 0x0018ca69 },
57    { 0x00009850, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0 },
58    { 0x00009858, 0x7e800d2e, 0x7e800d2e, 0x7ee84d2e, 0x7ee84d2e, 0x7e800d2e },
59    { 0x0000985c, 0x3137665e, 0x3137665e, 0x3137665e, 0x3137665e, 0x3137615e },
60    { 0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb080, 0x050cb080 },
61    { 0x00009914, 0x00002710, 0x00002710, 0x0000157c, 0x00002af8, 0x00002710 },
62    { 0x00009944, 0xf7b81020, 0xf7b81020, 0xf7b80d20, 0xf7b81020, 0xf7b81020 },
63    { 0x0000a20c, 0x642c416a, 0x642c416a, 0x6440416a, 0x6440416a, 0x6440416a },
64    { 0x0000a21c, 0x1883800a, 0x1883800a, 0x1873800a, 0x1883800a, 0x1883800a },
65};
66#endif /* AH_5212_5111 */
67
68#ifdef AH_5212_5112
69static const uint32_t ar5212Modes_5112[][6] = {
70    { 0x00000030, 0x00008015, 0x00008015, 0x00008015, 0x00008015, 0x00008015 },
71    { 0x0000801c, 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf },
72    { 0x00009828, 0x0a020001, 0x0a020001, 0x05020100, 0x0a020001, 0x0a020001 },
73    { 0x00009834, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e },
74    { 0x00009838, 0x00000007, 0x00000007, 0x0000000b, 0x0000000b, 0x0000000b },
75    { 0x00009848, 0x0018da6d, 0x0018da6d, 0x0018ca75, 0x0018ca75, 0x0018ca75 },
76    { 0x00009850, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b4e0 },
77    { 0x00009858, 0x7e800d2e, 0x7e800d2e, 0x7ee80d2e, 0x7ee80d2e, 0x7e800d2e },
78    { 0x0000985c, 0x3137665e, 0x3137665e, 0x3137665e, 0x3137665e, 0x3137665e },
79    { 0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 },
80    { 0x00009914, 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 },
81    { 0x00009944, 0xf7b81020, 0xf7b81020, 0xf7b80d10, 0xf7b81010, 0xf7b81010 },
82    { 0x0000a204, 0x00000000, 0x00000000, 0x00000008, 0x00000008, 0x00000008 },
83    { 0x0000a208, 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 },
84    { 0x0000a20c, 0x642c0140, 0x642c0140, 0x6442c160, 0x6442c160, 0x6442c160 },
85    { 0x0000a21c, 0x1883800a, 0x1883800a, 0x1873800a, 0x1883800a, 0x1883800a },
86};
87#endif /* AH_5212_5112 */
88
89#ifdef AH_5212_2413
90static const uint32_t ar5212Modes_2413[][6] = {
91    { 0x00000030, 0x00000015, 0x00000015, 0x00000015, 0x00000015, 0x00000015 },
92    { 0x0000801c, 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf },
93    { 0x00009828, 0x0a020001, 0x0a020001, 0x05020000, 0x0a020001, 0x0a020001 },
94    { 0x00009834, 0x00000e00, 0x00000e00, 0x00000e00, 0x00000e00, 0x00000e00 },
95    { 0x00009838, 0x00000002, 0x00000002, 0x0000000a, 0x0000000a, 0x0000000a },
96    { 0x00009848, 0x0018da6d, 0x0018da6d, 0x001a6a64, 0x001a6a64, 0x001a6a64 },
97    { 0x00009850, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b0da, 0x0c98b0da, 0x0de8b0da },
98    { 0x00009858, 0x7e800d2e, 0x7e800d2e, 0x7ee80d2e, 0x7ec80d2e, 0x7e800d2e },
99    { 0x0000985c, 0x3137665e, 0x3137665e, 0x3137665e, 0x3139605e, 0x3137665e },
100    { 0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 },
101    { 0x00009914, 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 },
102    { 0x00009944, 0xf7b81000, 0xf7b81000, 0xf7b80d00, 0xf7b81000, 0xf7b81000 },
103    { 0x0000a204, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
104    { 0x0000a208, 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 },
105    { 0x0000a20c, 0x002c0140, 0x002c0140, 0x0042c140, 0x0042c140, 0x0042c140 },
106    { 0x0000a21c, 0x1883800a, 0x1883800a, 0x1863800a, 0x1883800a, 0x1883800a },
107};
108#endif /* AH_5212_2413 */
109
110#ifdef AH_5212_2316
111static const uint32_t ar5212Modes_2316[][6] = {
112    { 0x00000030, 0x00000015, 0x00000015, 0x00000015, 0x00000015, 0x00000015 },
113    { 0x0000801c, 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf },
114    { 0x00009828, 0x0a020001, 0x0a020001, 0x05020000, 0x0a020001, 0x0a020001 },
115    { 0x00009834, 0x00000e00, 0x00000e00, 0x00000e00, 0x00000e00, 0x00000e00 },
116    { 0x00009838, 0x00000002, 0x00000002, 0x0000000a, 0x0000000a, 0x0000000a },
117    { 0x00009848, 0x0018da6d, 0x0018da6d, 0x001a6a64, 0x001a6a64, 0x001a6a64 },
118    { 0x00009850, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b0da, 0x0c98b0da, 0x0de8b0da },
119    { 0x00009858, 0x7e800d2e, 0x7e800d2e, 0x7ee80d2e, 0x7ec80d2e, 0x7e800d2e },
120    { 0x0000985c, 0x3137665e, 0x3137665e, 0x3137665e, 0x3139605e, 0x3137665e },
121    { 0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 },
122    { 0x00009914, 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 },
123    { 0x00009944, 0xf7b81000, 0xf7b81000, 0xf7b80d00, 0xf7b81000, 0xf7b81000 },
124    { 0x0000a204, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
125    { 0x0000a208, 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 },
126    { 0x0000a20c, 0x002c0140, 0x002c0140, 0x0042c140, 0x0042c140, 0x0042c140 },
127    { 0x0000a21c, 0x1883800a, 0x1883800a, 0x1863800a, 0x1883800a, 0x1883800a },
128};
129#endif
130
131#ifdef AH_5212_5413
132static const uint32_t ar5212Modes_5413[][6] = {
133    { 0x00000030, 0x00000015, 0x00000015, 0x00000015, 0x00000015, 0x00000015 },
134    { 0x0000801c, 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf },
135    { 0x00009828, 0x0a020001, 0x0a020001, 0x05020100, 0x0a020001, 0x0a020001 },
136    { 0x00009834, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e },
137    { 0x00009838, 0x00000007, 0x00000007, 0x0000000b, 0x0000000b, 0x0000000b },
138    { 0x00009848, 0x0018fa61, 0x0018fa61, 0x001a1a63, 0x001a1a63, 0x001a1a63 },
139    { 0x00009850, 0x0c98b4e0, 0x0c98b4e0, 0x0c98b0da, 0x0c98b0da, 0x0c98b0da },
140    { 0x00009858, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e },
141    { 0x0000985c, 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e },
142    { 0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 },
143    { 0x00009914, 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 },
144    { 0x00009944, 0xf7b81000, 0xf7b81000, 0xf7b80d00, 0xf7b81000, 0xf7b81000 },
145    { 0x0000a204, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
146    { 0x0000a208, 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 },
147    { 0x0000a20c, 0x002ec1e0, 0x002ec1e0, 0x002ac120, 0x002ac120, 0x002ac120 },
148    { 0x0000a21c, 0x1883800a, 0x1883800a, 0x1863800a, 0x1883800a, 0x1883800a },
149    { 0x0000a300, 0x18010000, 0x18010000, 0x18010000, 0x18010000, 0x18010000 },
150    { 0x0000a304, 0x30032602, 0x30032602, 0x30032602, 0x30032602, 0x30032602 },
151    { 0x0000a308, 0x48073e06, 0x48073e06, 0x48073e06, 0x48073e06, 0x48073e06 },
152    { 0x0000a30c, 0x560b4c0a, 0x560b4c0a, 0x560b4c0a, 0x560b4c0a, 0x560b4c0a },
153    { 0x0000a310, 0x641a600f, 0x641a600f, 0x641a600f, 0x641a600f, 0x641a600f },
154    { 0x0000a314, 0x784f6e1b, 0x784f6e1b, 0x784f6e1b, 0x784f6e1b, 0x784f6e1b },
155    { 0x0000a318, 0x868f7c5a, 0x868f7c5a, 0x868f7c5a, 0x868f7c5a, 0x868f7c5a },
156    { 0x0000a31c, 0x90cf865b, 0x90cf865b, 0x8ecf865b, 0x8ecf865b, 0x8ecf865b },
157    { 0x0000a320, 0x9d4f970f, 0x9d4f970f, 0x9b4f970f, 0x9b4f970f, 0x9b4f970f },
158    { 0x0000a324, 0xa7cfa38f, 0xa7cfa38f, 0xa3cf9f8f, 0xa3cf9f8f, 0xa3cf9f8f },
159    { 0x0000a328, 0xb55faf1f, 0xb55faf1f, 0xb35faf1f, 0xb35faf1f, 0xb35faf1f },
160    { 0x0000a32c, 0xbddfb99f, 0xbddfb99f, 0xbbdfb99f, 0xbbdfb99f, 0xbbdfb99f },
161    { 0x0000a330, 0xcb7fc53f, 0xcb7fc53f, 0xcb7fc73f, 0xcb7fc73f, 0xcb7fc73f },
162    { 0x0000a334, 0xd5ffd1bf, 0xd5ffd1bf, 0xd3ffd1bf, 0xd3ffd1bf, 0xd3ffd1bf },
163};
164#endif /* AH_5212_5413 */
165
166#ifdef AH_5212_2425
167static const uint32_t ar5212Modes_2425[][6] = {
168    { 0x00000030, 0x00000015, 0x00000015, 0x00000015, 0x00000015, 0x00000015 },
169    { 0x0000801c, 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf },
170    { 0x00009804, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000001 },
171    { 0x00009828, 0x0a020001, 0x0a020001, 0x05020100, 0x0a020001, 0x0a020001 },
172    { 0x00009834, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e },
173    { 0x00009838, 0x00000003, 0x00000003, 0x0000000b, 0x0000000b, 0x0000000b },
174    { 0x00009844, 0x1372161c, 0x13721c25, 0x13721722, 0x13721422, 0x13721c25 },
175    { 0x00009848, 0x0018fa61, 0x0018fa61, 0x00199a65, 0x00199a65, 0x00199a65 },
176    { 0x00009850, 0x0c98b4e0, 0x0c98b4e0, 0x0c98b0da, 0x0c98b0da, 0x0c98b0da },
177    { 0x00009858, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e, 0x7ec80d2e },
178    { 0x0000985c, 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e },
179    { 0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 },
180    { 0x00009914, 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 },
181    { 0x00009944, 0xf7b81000, 0xf7b81000, 0xf7b80d00, 0xf7b81000, 0xf7b81000 },
182    { 0x0000a204, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
183    { 0x0000a208, 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 },
184    { 0x0000a20c, 0x00000140, 0x00000140, 0x0052c140, 0x0052c140, 0x0052c140 },
185    { 0x0000a21c, 0x1883800a, 0x1883800a, 0x1863800a, 0x1883800a, 0x1883800a },
186    { 0x0000a324, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf },
187    { 0x0000a328, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf },
188    { 0x0000a32c, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf },
189    { 0x0000a330, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf },
190    { 0x0000a334, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf, 0xa7cfa7cf },
191};
192#endif /* AH_5212_2425 */
193
194#ifdef AH_5212_COMMON
195static const uint32_t ar5212Common[][2] = {
196    { 0x0000000c, 0x00000000 },
197    { 0x00000034, 0x00000005 },
198    { 0x00000040, 0x00000000 },
199    { 0x00000044, 0x00000008 },
200    { 0x00000048, 0x00000008 },
201    { 0x0000004c, 0x00000010 },
202    { 0x00000050, 0x00000000 },
203    { 0x00000054, 0x0000001f },
204    { 0x00000800, 0x00000000 },
205    { 0x00000804, 0x00000000 },
206    { 0x00000808, 0x00000000 },
207    { 0x0000080c, 0x00000000 },
208    { 0x00000810, 0x00000000 },
209    { 0x00000814, 0x00000000 },
210    { 0x00000818, 0x00000000 },
211    { 0x0000081c, 0x00000000 },
212    { 0x00000820, 0x00000000 },
213    { 0x00000824, 0x00000000 },
214    { 0x00001270, 0x00000000 },
215    { 0x00001038, 0x00000000 },
216    { 0x00001078, 0x00000000 },
217    { 0x000010b8, 0x00000000 },
218    { 0x000010f8, 0x00000000 },
219    { 0x00001138, 0x00000000 },
220    { 0x00001178, 0x00000000 },
221    { 0x000011b8, 0x00000000 },
222    { 0x000011f8, 0x00000000 },
223    { 0x00001238, 0x00000000 },
224    { 0x00001278, 0x00000000 },
225    { 0x000012b8, 0x00000000 },
226    { 0x000012f8, 0x00000000 },
227    { 0x00001338, 0x00000000 },
228    { 0x00001378, 0x00000000 },
229    { 0x000013b8, 0x00000000 },
230    { 0x000013f8, 0x00000000 },
231    { 0x00001438, 0x00000000 },
232    { 0x00001478, 0x00000000 },
233    { 0x000014b8, 0x00000000 },
234    { 0x000014f8, 0x00000000 },
235    { 0x00001538, 0x00000000 },
236    { 0x00001578, 0x00000000 },
237    { 0x000015b8, 0x00000000 },
238    { 0x000015f8, 0x00000000 },
239    { 0x00001638, 0x00000000 },
240    { 0x00001678, 0x00000000 },
241    { 0x000016b8, 0x00000000 },
242    { 0x000016f8, 0x00000000 },
243    { 0x00001738, 0x00000000 },
244    { 0x00001778, 0x00000000 },
245    { 0x000017b8, 0x00000000 },
246    { 0x000017f8, 0x00000000 },
247    { 0x0000103c, 0x00000000 },
248    { 0x0000107c, 0x00000000 },
249    { 0x000010bc, 0x00000000 },
250    { 0x000010fc, 0x00000000 },
251    { 0x0000113c, 0x00000000 },
252    { 0x0000117c, 0x00000000 },
253    { 0x000011bc, 0x00000000 },
254    { 0x000011fc, 0x00000000 },
255    { 0x0000123c, 0x00000000 },
256    { 0x0000127c, 0x00000000 },
257    { 0x000012bc, 0x00000000 },
258    { 0x000012fc, 0x00000000 },
259    { 0x0000133c, 0x00000000 },
260    { 0x0000137c, 0x00000000 },
261    { 0x000013bc, 0x00000000 },
262    { 0x000013fc, 0x00000000 },
263    { 0x0000143c, 0x00000000 },
264    { 0x0000147c, 0x00000000 },
265    { 0x00008004, 0x00000000 },
266    { 0x00008008, 0x00000000 },
267    { 0x0000800c, 0x00000000 },
268    { 0x00008020, 0x00000000 },
269    { 0x00008024, 0x00000000 },
270    { 0x00008028, 0x00000030 },
271    { 0x0000802c, 0x0007ffff },
272    { 0x00008030, 0x01ffffff },
273    { 0x00008034, 0x00000031 },
274    { 0x00008038, 0x00000000 },
275    { 0x0000803c, 0x00000000 },
276    { 0x00008048, 0x00000000 },
277    { 0x00008054, 0x00000000 },
278    { 0x00008058, 0x00000000 },
279    { 0x0000805c, 0x000fc78f },
280    { 0x000080c0, 0x2a82301a },
281    { 0x000080c4, 0x05dc01e0 },
282    { 0x000080c8, 0x1f402710 },
283    { 0x000080cc, 0x01f40000 },
284    { 0x000080d0, 0x00001e1c },
285    { 0x000080d4, 0x0002aaaa },
286    { 0x000080d8, 0x02005555 },
287    { 0x000080dc, 0x00000000 },
288    { 0x000080e0, 0xffffffff },
289    { 0x000080e4, 0x0000ffff },
290    { 0x000080e8, 0x00000000 },
291    { 0x000080ec, 0x00000000 },
292    { 0x000080f0, 0x00000000 },
293    { 0x000080f4, 0x00000000 },
294    { 0x000080f8, 0x00000000 },
295    { 0x000080fc, 0x00000088 },
296    { 0x00008700, 0x00000000 },
297    { 0x00008704, 0x0000008c },
298    { 0x00008708, 0x000000e4 },
299    { 0x0000870c, 0x000002d5 },
300    { 0x00008710, 0x00000000 },
301    { 0x00008714, 0x00000000 },
302    { 0x00008718, 0x000000a0 },
303    { 0x0000871c, 0x000001c9 },
304    { 0x00008720, 0x0000002c },
305    { 0x00008724, 0x0000002c },
306    { 0x00008728, 0x00000030 },
307    { 0x0000872c, 0x0000003c },
308    { 0x00008730, 0x0000002c },
309    { 0x00008734, 0x0000002c },
310    { 0x00008738, 0x00000030 },
311    { 0x0000873c, 0x0000003c },
312    { 0x00008740, 0x00000000 },
313    { 0x00008744, 0x00000000 },
314    { 0x00008748, 0x00000000 },
315    { 0x0000874c, 0x00000000 },
316    { 0x00008750, 0x00000000 },
317    { 0x00008754, 0x00000000 },
318    { 0x00008758, 0x00000000 },
319    { 0x0000875c, 0x00000000 },
320    { 0x00008760, 0x000000d5 },
321    { 0x00008764, 0x000000df },
322    { 0x00008768, 0x00000102 },
323    { 0x0000876c, 0x0000013a },
324    { 0x00008770, 0x00000075 },
325    { 0x00008774, 0x0000007f },
326    { 0x00008778, 0x000000a2 },
327    { 0x0000877c, 0x00000000 },
328    { 0x00008100, 0x00010002 },
329    { 0x00008104, 0x00000001 },
330    { 0x00008108, 0x000000c0 },
331    { 0x0000810c, 0x00000000 },
332    { 0x00008110, 0x00000168 },
333    { 0x00008114, 0x00000000 },
334    { 0x000087c0, 0x03020100 },
335    { 0x000087c4, 0x07060504 },
336    { 0x000087c8, 0x0b0a0908 },
337    { 0x000087cc, 0x0f0e0d0c },
338    { 0x000087d0, 0x13121110 },
339    { 0x000087d4, 0x17161514 },
340    { 0x000087d8, 0x1b1a1918 },
341    { 0x000087dc, 0x1f1e1d1c },
342    { 0x000087e0, 0x03020100 },
343    { 0x000087e4, 0x07060504 },
344    { 0x000087e8, 0x0b0a0908 },
345    { 0x000087ec, 0x0f0e0d0c },
346    { 0x000087f0, 0x13121110 },
347    { 0x000087f4, 0x17161514 },
348    { 0x000087f8, 0x1b1a1918 },
349    { 0x000087fc, 0x1f1e1d1c },
350    { 0x0000980c, 0xad848e19 },
351    { 0x00009810, 0x7d28e000 },
352    { 0x00009814, 0x9c0a9f6b },
353    { 0x0000981c, 0x00000000 },
354    { 0x00009840, 0x206a017a },
355    { 0x00009854, 0x00000859 },
356    { 0x00009900, 0x00000000 },
357    { 0x00009904, 0x00000000 },
358    { 0x00009908, 0x00000000 },
359    { 0x0000990c, 0x00800000 },
360    { 0x00009910, 0x00000001 },
361    { 0x0000991c, 0x00000c80 },
362    { 0x00009920, 0x05100000 },
363    { 0x00009928, 0x00000001 },
364    { 0x0000992c, 0x00000004 },
365    { 0x00009934, 0x1e1f2022 },
366    { 0x00009938, 0x0a0b0c0d },
367    { 0x0000993c, 0x0000003f },
368    { 0x00009948, 0x9280b212 },
369    { 0x00009954, 0x5d50e188 },
370    { 0x0000995c, 0x004b6a8e },
371    { 0x00009968, 0x000003ce },
372    { 0x00009970, 0x192fb515 },
373    { 0x00009978, 0x00000001 },
374    { 0x0000997c, 0x00000000 },
375    { 0x0000a210, 0x00806333 },
376    { 0x0000a214, 0x00106c10 },
377    { 0x0000a218, 0x009c4060 },
378    { 0x0000a220, 0x018830c6 },
379    { 0x0000a224, 0x00000400 },
380    { 0x0000a22c, 0x00000000 },
381    { 0x0000a234, 0x20202020 },
382    { 0x0000a238, 0x20202020 },
383    { 0x0000a240, 0x38490a20 },
384    { 0x0000a244, 0x00007bb6 },
385    { 0x0000a248, 0x0fff3ffc },
386    { 0x00009b00, 0x00000000 },
387    { 0x00009b28, 0x0000000c },
388    { 0x00009b38, 0x00000012 },
389    { 0x00009b64, 0x00000021 },
390    { 0x00009b8c, 0x0000002d },
391    { 0x00009b9c, 0x00000033 },
392};
393#endif /* AH_5212_COMMON */
394
395#ifdef AH_5212_5111
396static const uint32_t ar5212Common_5111[][2] = {
397    { 0x00001230, 0x00000000 },
398    { 0x00009808, 0x00000000 },
399    { 0x0000982c, 0x00022ffe },
400    { 0x0000983c, 0x00020100 },
401    { 0x0000984c, 0x1284613c },
402    { 0x00009930, 0x00004883 },
403    { 0x00009940, 0x00000004 },
404    { 0x00009958, 0x000000ff },
405    { 0x00009974, 0x00000000 },
406    { 0x000099f8, 0x00000018 },
407    { 0x0000a204, 0x00000000 },
408    { 0x0000a208, 0xd03e6788 },
409    { 0x0000a228, 0x000001b5 },
410    { 0x0000a23c, 0x13c889af },
411    { 0x00009b04, 0x00000020 },
412    { 0x00009b08, 0x00000010 },
413    { 0x00009b0c, 0x00000030 },
414    { 0x00009b10, 0x00000008 },
415    { 0x00009b14, 0x00000028 },
416    { 0x00009b18, 0x00000004 },
417    { 0x00009b1c, 0x00000024 },
418    { 0x00009b20, 0x00000014 },
419    { 0x00009b24, 0x00000034 },
420    { 0x00009b2c, 0x0000002c },
421    { 0x00009b30, 0x00000002 },
422    { 0x00009b34, 0x00000022 },
423    { 0x00009b3c, 0x00000032 },
424    { 0x00009b40, 0x0000000a },
425    { 0x00009b44, 0x0000002a },
426    { 0x00009b48, 0x00000006 },
427    { 0x00009b4c, 0x00000026 },
428    { 0x00009b50, 0x00000016 },
429    { 0x00009b54, 0x00000036 },
430    { 0x00009b58, 0x0000000e },
431    { 0x00009b5c, 0x0000002e },
432    { 0x00009b60, 0x00000001 },
433    { 0x00009b68, 0x00000011 },
434    { 0x00009b6c, 0x00000031 },
435    { 0x00009b70, 0x00000009 },
436    { 0x00009b74, 0x00000029 },
437    { 0x00009b78, 0x00000005 },
438    { 0x00009b7c, 0x00000025 },
439    { 0x00009b80, 0x00000015 },
440    { 0x00009b84, 0x00000035 },
441    { 0x00009b88, 0x0000000d },
442    { 0x00009b90, 0x00000003 },
443    { 0x00009b94, 0x00000023 },
444    { 0x00009b98, 0x00000013 },
445    { 0x00009ba0, 0x0000000b },
446    { 0x00009ba4, 0x0000002b },
447    { 0x00009ba8, 0x0000002b },
448    { 0x00009bac, 0x0000002b },
449    { 0x00009bb0, 0x0000002b },
450    { 0x00009bb4, 0x0000002b },
451    { 0x00009bb8, 0x0000002b },
452    { 0x00009bbc, 0x0000002b },
453    { 0x00009bc0, 0x0000002b },
454    { 0x00009bc4, 0x0000002b },
455    { 0x00009bc8, 0x0000002b },
456    { 0x00009bcc, 0x0000002b },
457    { 0x00009bd0, 0x0000002b },
458    { 0x00009bd4, 0x0000002b },
459    { 0x00009bd8, 0x0000002b },
460    { 0x00009bdc, 0x0000002b },
461    { 0x00009be0, 0x0000002b },
462    { 0x00009be4, 0x0000002b },
463    { 0x00009be8, 0x0000002b },
464    { 0x00009bec, 0x0000002b },
465    { 0x00009bf0, 0x0000002b },
466    { 0x00009bf4, 0x0000002b },
467    { 0x00009bf8, 0x00000002 },
468    { 0x00009bfc, 0x00000016 },
469};
470#endif /* AH_5212_5111 */
471
472#ifdef AH_5212_5112
473static const uint32_t ar5212Common_5112[][2] = {
474    { 0x00001230, 0x00000000 },
475    { 0x00009808, 0x00000000 },
476    { 0x0000982c, 0x00022ffe },
477    { 0x0000983c, 0x00020100 },
478    { 0x0000984c, 0x1284613c },
479    { 0x00009930, 0x00004882 },
480    { 0x00009940, 0x00000004 },
481    { 0x00009958, 0x000000ff },
482    { 0x00009974, 0x00000000 },
483    { 0x0000a228, 0x000001b5 },
484    { 0x0000a23c, 0x13c889af },
485    { 0x00009b04, 0x00000001 },
486    { 0x00009b08, 0x00000002 },
487    { 0x00009b0c, 0x00000003 },
488    { 0x00009b10, 0x00000004 },
489    { 0x00009b14, 0x00000005 },
490    { 0x00009b18, 0x00000008 },
491    { 0x00009b1c, 0x00000009 },
492    { 0x00009b20, 0x0000000a },
493    { 0x00009b24, 0x0000000b },
494    { 0x00009b2c, 0x0000000d },
495    { 0x00009b30, 0x00000010 },
496    { 0x00009b34, 0x00000011 },
497    { 0x00009b3c, 0x00000013 },
498    { 0x00009b40, 0x00000014 },
499    { 0x00009b44, 0x00000015 },
500    { 0x00009b48, 0x00000018 },
501    { 0x00009b4c, 0x00000019 },
502    { 0x00009b50, 0x0000001a },
503    { 0x00009b54, 0x0000001b },
504    { 0x00009b58, 0x0000001c },
505    { 0x00009b5c, 0x0000001d },
506    { 0x00009b60, 0x00000020 },
507    { 0x00009b68, 0x00000022 },
508    { 0x00009b6c, 0x00000023 },
509    { 0x00009b70, 0x00000024 },
510    { 0x00009b74, 0x00000025 },
511    { 0x00009b78, 0x00000028 },
512    { 0x00009b7c, 0x00000029 },
513    { 0x00009b80, 0x0000002a },
514    { 0x00009b84, 0x0000002b },
515    { 0x00009b88, 0x0000002c },
516    { 0x00009b90, 0x00000030 },
517    { 0x00009b94, 0x00000031 },
518    { 0x00009b98, 0x00000032 },
519    { 0x00009ba0, 0x00000034 },
520    { 0x00009ba4, 0x00000035 },
521    { 0x00009ba8, 0x00000035 },
522    { 0x00009bac, 0x00000035 },
523    { 0x00009bb0, 0x00000035 },
524    { 0x00009bb4, 0x00000035 },
525    { 0x00009bb8, 0x00000035 },
526    { 0x00009bbc, 0x00000035 },
527    { 0x00009bc0, 0x00000035 },
528    { 0x00009bc4, 0x00000035 },
529    { 0x00009bc8, 0x00000035 },
530    { 0x00009bcc, 0x00000035 },
531    { 0x00009bd0, 0x00000035 },
532    { 0x00009bd4, 0x00000035 },
533    { 0x00009bd8, 0x00000035 },
534    { 0x00009bdc, 0x00000035 },
535    { 0x00009be0, 0x00000035 },
536    { 0x00009be4, 0x00000035 },
537    { 0x00009be8, 0x00000035 },
538    { 0x00009bec, 0x00000035 },
539    { 0x00009bf0, 0x00000035 },
540    { 0x00009bf4, 0x00000035 },
541    { 0x00009bf8, 0x00000010 },
542    { 0x00009bfc, 0x0000001a },
543};
544#endif /* AH_5212_5112 */
545
546#ifdef AH_5212_2413
547static const uint32_t ar5212Common_2413[][2] = {
548    { 0x00001230, 0x000003e0 },
549    { 0x00008060, 0x0000000f },
550    { 0x00008118, 0x00000000 },
551    { 0x0000811c, 0x00000000 },
552    { 0x00008120, 0x00000000 },
553    { 0x00008124, 0x00000000 },
554    { 0x00008128, 0x00000000 },
555    { 0x0000812c, 0x00000000 },
556    { 0x00008130, 0x00000000 },
557    { 0x00008134, 0x00000000 },
558    { 0x00008138, 0x00000000 },
559    { 0x0000813c, 0x00000000 },
560    { 0x00008140, 0x800000a8 },
561    { 0x00008144, 0x00000000 },
562    { 0x00009808, 0x00000000 },
563    { 0x0000982c, 0x0000a000 },
564    { 0x0000983c, 0x00200400 },
565    { 0x0000984c, 0x1284233c },
566    { 0x00009870, 0x0000001f },
567    { 0x00009874, 0x00000080 },
568    { 0x00009878, 0x0000000e },
569    { 0x00009958, 0x000000ff },
570    { 0x00009980, 0x00000000 },
571    { 0x00009984, 0x02800000 },
572    { 0x000099a0, 0x00000000 },
573    { 0x000099e0, 0x00000000 },
574    { 0x000099e4, 0xaaaaaaaa },
575    { 0x000099e8, 0x3c466478 },
576    { 0x000099ec, 0x000000aa },
577    { 0x000099f0, 0x0000000c },
578    { 0x000099f4, 0x000000ff },
579    { 0x000099f8, 0x00000014 },
580    { 0x0000a228, 0x000009b5 },
581    { 0x0000a23c, 0x93c889af },
582    { 0x0000a24c, 0x00000001 },
583    { 0x0000a250, 0x0000a000 },
584    { 0x0000a254, 0x00000000 },
585    { 0x0000a258, 0x0cc75380 },
586    { 0x0000a25c, 0x0f0f0f01 },
587    { 0x0000a260, 0x5f690f01 },
588    { 0x0000a264, 0x00418a11 },
589    { 0x0000a268, 0x00000000 },
590    { 0x0000a26c, 0x0c30c16a },
591    { 0x0000a270, 0x00820820 },
592    { 0x0000a274, 0x001b7caa },
593    { 0x0000a278, 0x1ce739ce },
594    { 0x0000a27c, 0x051701ce },
595    { 0x0000a300, 0x18010000 },
596    { 0x0000a304, 0x30032602 },
597    { 0x0000a308, 0x48073e06 },
598    { 0x0000a30c, 0x560b4c0a },
599    { 0x0000a310, 0x641a600f },
600    { 0x0000a314, 0x784f6e1b },
601    { 0x0000a318, 0x868f7c5a },
602    { 0x0000a31c, 0x8ecf865b },
603    { 0x0000a320, 0x9d4f970f },
604    { 0x0000a324, 0xa5cfa18f },
605    { 0x0000a328, 0xb55faf1f },
606    { 0x0000a32c, 0xbddfb99f },
607    { 0x0000a330, 0xcd7fc73f },
608    { 0x0000a334, 0xd5ffd1bf },
609    { 0x0000a338, 0x00000000 },
610    { 0x0000a33c, 0x00000000 },
611    { 0x0000a340, 0x00000000 },
612    { 0x0000a344, 0x00000000 },
613    { 0x0000a348, 0x3fffffff },
614    { 0x0000a34c, 0x3fffffff },
615    { 0x0000a350, 0x3fffffff },
616    { 0x0000a354, 0x0003ffff },
617    { 0x0000a358, 0x79a8aa1f },
618    { 0x0000a35c, 0x066c420f },
619    { 0x0000a360, 0x0f282207 },
620    { 0x0000a364, 0x17601685 },
621    { 0x0000a368, 0x1f801104 },
622    { 0x0000a36c, 0x37a00c03 },
623    { 0x0000a370, 0x3fc40883 },
624    { 0x0000a374, 0x57c00803 },
625    { 0x0000a378, 0x5fd80682 },
626    { 0x0000a37c, 0x7fe00482 },
627    { 0x0000a380, 0x7f3c7bba },
628    { 0x0000a384, 0xf3307ff0 },
629    { 0x00009b04, 0x00000001 },
630    { 0x00009b08, 0x00000002 },
631    { 0x00009b0c, 0x00000003 },
632    { 0x00009b10, 0x00000004 },
633    { 0x00009b14, 0x00000005 },
634    { 0x00009b18, 0x00000008 },
635    { 0x00009b1c, 0x00000009 },
636    { 0x00009b20, 0x0000000a },
637    { 0x00009b24, 0x0000000b },
638    { 0x00009b2c, 0x0000000d },
639    { 0x00009b30, 0x00000010 },
640    { 0x00009b34, 0x00000011 },
641    { 0x00009b3c, 0x00000013 },
642    { 0x00009b40, 0x00000014 },
643    { 0x00009b44, 0x00000015 },
644    { 0x00009b48, 0x00000018 },
645    { 0x00009b4c, 0x00000019 },
646    { 0x00009b50, 0x0000001a },
647    { 0x00009b54, 0x0000001b },
648    { 0x00009b58, 0x0000001c },
649    { 0x00009b5c, 0x0000001d },
650    { 0x00009b60, 0x00000020 },
651    { 0x00009b68, 0x00000022 },
652    { 0x00009b6c, 0x00000023 },
653    { 0x00009b70, 0x00000024 },
654    { 0x00009b74, 0x00000025 },
655    { 0x00009b78, 0x00000028 },
656    { 0x00009b7c, 0x00000029 },
657    { 0x00009b80, 0x0000002a },
658    { 0x00009b84, 0x0000002b },
659    { 0x00009b88, 0x0000002c },
660    { 0x00009b90, 0x00000030 },
661    { 0x00009b94, 0x00000031 },
662    { 0x00009b98, 0x00000032 },
663    { 0x00009ba0, 0x00000034 },
664    { 0x00009ba4, 0x00000035 },
665    { 0x00009ba8, 0x00000035 },
666    { 0x00009bac, 0x00000035 },
667    { 0x00009bb0, 0x00000035 },
668    { 0x00009bb4, 0x00000035 },
669    { 0x00009bb8, 0x00000035 },
670    { 0x00009bbc, 0x00000035 },
671    { 0x00009bc0, 0x00000035 },
672    { 0x00009bc4, 0x00000035 },
673    { 0x00009bc8, 0x00000035 },
674    { 0x00009bcc, 0x00000035 },
675    { 0x00009bd0, 0x00000035 },
676    { 0x00009bd4, 0x00000035 },
677    { 0x00009bd8, 0x00000035 },
678    { 0x00009bdc, 0x00000035 },
679    { 0x00009be0, 0x00000035 },
680    { 0x00009be4, 0x00000035 },
681    { 0x00009be8, 0x00000035 },
682    { 0x00009bec, 0x00000035 },
683    { 0x00009bf0, 0x00000035 },
684    { 0x00009bf4, 0x00000035 },
685    { 0x00009bf8, 0x00000010 },
686    { 0x00009bfc, 0x0000001a },
687};
688#endif /* AH_5212_2413 */
689
690#ifdef AH_5212_2316
691static const uint32_t ar5212Common_2316[][2] = {
692    { 0x00001230, 0x000003e0 },
693    { 0x00008060, 0x0000000f },
694    { 0x00008118, 0x00000000 },
695    { 0x0000811c, 0x00000000 },
696    { 0x00008120, 0x00000000 },
697    { 0x00008124, 0x00000000 },
698    { 0x00008128, 0x00000000 },
699    { 0x0000812c, 0x00000000 },
700    { 0x00008130, 0x00000000 },
701    { 0x00008134, 0x00000000 },
702    { 0x00008138, 0x00000000 },
703    { 0x0000813c, 0x00000000 },
704    { 0x00008140, 0x800000a8 },
705    { 0x00008144, 0x00000000 },
706    { 0x00009808, 0x00004000 },
707    { 0x0000982c, 0x0000a000 },
708    { 0x0000983c, 0x00200400 },
709    { 0x0000984c, 0x1284233c },
710    { 0x00009870, 0x0000001f },
711    { 0x00009874, 0x00000080 },
712    { 0x00009878, 0x0000000e },
713    { 0x00009958, 0x000000ff },
714    { 0x00009980, 0x00000000 },
715    { 0x00009984, 0x02800000 },
716    { 0x000099a0, 0x00000000 },
717    { 0x000099e0, 0x00000000 },
718    { 0x000099e4, 0xaaaaaaaa },
719    { 0x000099e8, 0x3c466478 },
720    { 0x000099ec, 0x000000aa },
721    { 0x000099f0, 0x0000000c },
722    { 0x000099f4, 0x000000ff },
723    { 0x000099f8, 0x00000014 },
724    { 0x0000a228, 0x000009b5 },
725    { 0x0000a23c, 0x93c889af },
726    { 0x0000a24c, 0x00000001 },
727    { 0x0000a250, 0x0000a000 },
728    { 0x0000a254, 0x00000000 },
729    { 0x0000a258, 0x0cc75380 },
730    { 0x0000a25c, 0x0f0f0f01 },
731    { 0x0000a260, 0x5f690f01 },
732    { 0x0000a264, 0x00418a11 },
733    { 0x0000a268, 0x00000000 },
734    { 0x0000a26c, 0x0c30c16a },
735    { 0x0000a270, 0x00820820 },
736    { 0x0000a274, 0x081b7caa },
737    { 0x0000a278, 0x1ce739ce },
738    { 0x0000a27c, 0x051701ce },
739    { 0x0000a300, 0x18010000 },
740    { 0x0000a304, 0x30032602 },
741    { 0x0000a308, 0x48073e06 },
742    { 0x0000a30c, 0x560b4c0a },
743    { 0x0000a310, 0x641a600f },
744    { 0x0000a314, 0x784f6e1b },
745    { 0x0000a318, 0x868f7c5a },
746    { 0x0000a31c, 0x8ecf865b },
747    { 0x0000a320, 0x9d4f970f },
748    { 0x0000a324, 0xa5cfa18f },
749    { 0x0000a328, 0xb55faf1f },
750    { 0x0000a32c, 0xbddfb99f },
751    { 0x0000a330, 0xcd7fc73f },
752    { 0x0000a334, 0xd5ffd1bf },
753    { 0x0000a338, 0x00000000 },
754    { 0x0000a33c, 0x00000000 },
755    { 0x0000a340, 0x00000000 },
756    { 0x0000a344, 0x00000000 },
757    { 0x0000a348, 0x3fffffff },
758    { 0x0000a34c, 0x3fffffff },
759    { 0x0000a350, 0x3fffffff },
760    { 0x0000a354, 0x0003ffff },
761    { 0x0000a358, 0x79a8aa1f },
762    { 0x0000a35c, 0x066c420f },
763    { 0x0000a360, 0x0f282207 },
764    { 0x0000a364, 0x17601685 },
765    { 0x0000a368, 0x1f801104 },
766    { 0x0000a36c, 0x37a00c03 },
767    { 0x0000a370, 0x3fc40883 },
768    { 0x0000a374, 0x57c00803 },
769    { 0x0000a378, 0x5fd80682 },
770    { 0x0000a37c, 0x7fe00482 },
771    { 0x0000a380, 0x7f3c7bba },
772    { 0x0000a384, 0xf3307ff0 },
773    { 0x00009b04, 0x00000001 },
774    { 0x00009b08, 0x00000002 },
775    { 0x00009b0c, 0x00000003 },
776    { 0x00009b10, 0x00000004 },
777    { 0x00009b14, 0x00000005 },
778    { 0x00009b18, 0x00000008 },
779    { 0x00009b1c, 0x00000009 },
780    { 0x00009b20, 0x0000000a },
781    { 0x00009b24, 0x0000000b },
782    { 0x00009b2c, 0x0000000d },
783    { 0x00009b30, 0x00000010 },
784    { 0x00009b34, 0x00000011 },
785    { 0x00009b3c, 0x00000013 },
786    { 0x00009b40, 0x00000014 },
787    { 0x00009b44, 0x00000015 },
788    { 0x00009b48, 0x00000018 },
789    { 0x00009b4c, 0x00000019 },
790    { 0x00009b50, 0x0000001a },
791    { 0x00009b54, 0x0000001b },
792    { 0x00009b58, 0x0000001c },
793    { 0x00009b5c, 0x0000001d },
794    { 0x00009b60, 0x00000020 },
795    { 0x00009b68, 0x00000022 },
796    { 0x00009b6c, 0x00000023 },
797    { 0x00009b70, 0x00000024 },
798    { 0x00009b74, 0x00000025 },
799    { 0x00009b78, 0x00000028 },
800    { 0x00009b7c, 0x00000029 },
801    { 0x00009b80, 0x0000002a },
802    { 0x00009b84, 0x0000002b },
803    { 0x00009b88, 0x0000002c },
804    { 0x00009b90, 0x00000030 },
805    { 0x00009b94, 0x00000031 },
806    { 0x00009b98, 0x00000032 },
807    { 0x00009ba0, 0x00000034 },
808    { 0x00009ba4, 0x00000035 },
809    { 0x00009ba8, 0x00000035 },
810    { 0x00009bac, 0x00000035 },
811    { 0x00009bb0, 0x00000035 },
812    { 0x00009bb4, 0x00000035 },
813    { 0x00009bb8, 0x00000035 },
814    { 0x00009bbc, 0x00000035 },
815    { 0x00009bc0, 0x00000035 },
816    { 0x00009bc4, 0x00000035 },
817    { 0x00009bc8, 0x00000035 },
818    { 0x00009bcc, 0x00000035 },
819    { 0x00009bd0, 0x00000035 },
820    { 0x00009bd4, 0x00000035 },
821    { 0x00009bd8, 0x00000035 },
822    { 0x00009bdc, 0x00000035 },
823    { 0x00009be0, 0x00000035 },
824    { 0x00009be4, 0x00000035 },
825    { 0x00009be8, 0x00000035 },
826    { 0x00009bec, 0x00000035 },
827    { 0x00009bf0, 0x00000035 },
828    { 0x00009bf4, 0x00000035 },
829    { 0x00009bf8, 0x00000010 },
830    { 0x00009bfc, 0x0000001a },
831};
832#endif
833
834#ifdef AH_5212_5413
835static const uint32_t ar5212Common_5413[][2] = {
836    { 0x00001230, 0x000003e0 },
837    { 0x00004068, 0x00000010 },
838    { 0x00008060, 0x0000000f },
839    { 0x0000809c, 0x00000000 },
840    { 0x000080a0, 0x00000000 },
841    { 0x00008118, 0x00000000 },
842    { 0x0000811c, 0x00000000 },
843    { 0x00008120, 0x00000000 },
844    { 0x00008124, 0x00000000 },
845    { 0x00008128, 0x00000000 },
846    { 0x0000812c, 0x00000000 },
847    { 0x00008130, 0x00000000 },
848    { 0x00008134, 0x00000000 },
849    { 0x00008138, 0x00000000 },
850    { 0x0000813c, 0x00000000 },
851    { 0x00008140, 0x800003f9 },
852    { 0x00008144, 0x00000000 },
853    { 0x00009808, 0x00000000 },
854    { 0x0000982c, 0x0000a000 },
855    { 0x0000983c, 0x00200400 },
856    { 0x0000984c, 0x1284233c },
857    { 0x00009870, 0x0000001f },
858    { 0x00009874, 0x00000080 },
859    { 0x00009878, 0x0000000e },
860    { 0x00009958, 0x00081fff },
861    { 0x00009980, 0x00000000 },
862    { 0x00009984, 0x02800000 },
863    { 0x000099a0, 0x00000000 },
864    { 0x000099e0, 0x00000000 },
865    { 0x000099e4, 0xaaaaaaaa },
866    { 0x000099e8, 0x3c466478 },
867    { 0x000099ec, 0x000000aa },
868    { 0x000099f0, 0x0000000c },
869    { 0x000099f4, 0x000000ff },
870    { 0x000099f8, 0x00000014 },
871    { 0x0000a228, 0x000009b5 },
872    { 0x0000a23c, 0x93c889af },
873    { 0x0000a24c, 0x00000001 },
874    { 0x0000a250, 0x0000a000 },
875    { 0x0000a254, 0x00000000 },
876    { 0x0000a258, 0x0cc75380 },
877    { 0x0000a25c, 0x0f0f0f01 },
878    { 0x0000a260, 0x5f690f01 },
879    { 0x0000a264, 0x00418a11 },
880    { 0x0000a268, 0x00000000 },
881    { 0x0000a26c, 0x0c30c16a },
882    { 0x0000a270, 0x00820820 },
883    { 0x0000a274, 0x081b7caa },
884    { 0x0000a278, 0x1ce739ce },
885    { 0x0000a27c, 0x051701ce },
886    { 0x0000a338, 0x00000000 },
887    { 0x0000a33c, 0x00000000 },
888    { 0x0000a340, 0x00000000 },
889    { 0x0000a344, 0x00000000 },
890    { 0x0000a348, 0x3fffffff },
891    { 0x0000a34c, 0x3fffffff },
892    { 0x0000a350, 0x3fffffff },
893    { 0x0000a354, 0x0003ffff },
894    { 0x0000a358, 0x79a8aa1f },
895    { 0x0000a35c, 0x066c420f },
896    { 0x0000a360, 0x0f282207 },
897    { 0x0000a364, 0x17601685 },
898    { 0x0000a368, 0x1f801104 },
899    { 0x0000a36c, 0x37a00c03 },
900    { 0x0000a370, 0x3fc40883 },
901    { 0x0000a374, 0x57c00803 },
902    { 0x0000a378, 0x5fd80682 },
903    { 0x0000a37c, 0x7fe00482 },
904    { 0x0000a380, 0x7f3c7bba },
905    { 0x0000a384, 0xf3307ff0 },
906    { 0x00009b04, 0x00000001 },
907    { 0x00009b08, 0x00000002 },
908    { 0x00009b0c, 0x00000003 },
909    { 0x00009b10, 0x00000004 },
910    { 0x00009b14, 0x00000005 },
911    { 0x00009b18, 0x00000008 },
912    { 0x00009b1c, 0x00000009 },
913    { 0x00009b20, 0x0000000a },
914    { 0x00009b24, 0x0000000b },
915    { 0x00009b2c, 0x0000000d },
916    { 0x00009b30, 0x00000010 },
917    { 0x00009b34, 0x00000011 },
918    { 0x00009b3c, 0x00000013 },
919    { 0x00009b40, 0x00000014 },
920    { 0x00009b44, 0x00000015 },
921    { 0x00009b48, 0x00000018 },
922    { 0x00009b4c, 0x00000019 },
923    { 0x00009b50, 0x0000001a },
924    { 0x00009b54, 0x0000001b },
925    { 0x00009b58, 0x0000001c },
926    { 0x00009b5c, 0x0000001d },
927    { 0x00009b60, 0x00000020 },
928    { 0x00009b68, 0x00000022 },
929    { 0x00009b6c, 0x00000023 },
930    { 0x00009b70, 0x00000024 },
931    { 0x00009b74, 0x00000025 },
932    { 0x00009b78, 0x00000028 },
933    { 0x00009b7c, 0x00000029 },
934    { 0x00009b80, 0x0000002a },
935    { 0x00009b84, 0x0000002b },
936    { 0x00009b88, 0x0000002c },
937    { 0x00009b90, 0x00000030 },
938    { 0x00009b94, 0x00000031 },
939    { 0x00009b98, 0x00000032 },
940    { 0x00009ba0, 0x00000034 },
941    { 0x00009ba4, 0x00000035 },
942    { 0x00009ba8, 0x00000035 },
943    { 0x00009bac, 0x00000035 },
944    { 0x00009bb0, 0x00000035 },
945    { 0x00009bb4, 0x00000035 },
946    { 0x00009bb8, 0x00000035 },
947    { 0x00009bbc, 0x00000035 },
948    { 0x00009bc0, 0x00000035 },
949    { 0x00009bc4, 0x00000035 },
950    { 0x00009bc8, 0x00000035 },
951    { 0x00009bcc, 0x00000035 },
952    { 0x00009bd0, 0x00000035 },
953    { 0x00009bd4, 0x00000035 },
954    { 0x00009bd8, 0x00000035 },
955    { 0x00009bdc, 0x00000035 },
956    { 0x00009be0, 0x00000035 },
957    { 0x00009be4, 0x00000035 },
958    { 0x00009be8, 0x00000035 },
959    { 0x00009bec, 0x00000035 },
960    { 0x00009bf0, 0x00000035 },
961    { 0x00009bf4, 0x00000035 },
962    { 0x00009bf8, 0x00000010 },
963    { 0x00009bfc, 0x0000001a },
964};
965#endif /* AH_5212_5413 */
966
967#ifdef AH_5212_2425
968static const uint32_t ar5212Common_2425[][2] = {
969    { 0x00001230, 0x000003e0 },
970    { 0x00008060, 0x0000000f },
971    { 0x0000809c, 0x00000000 },
972    { 0x000080a0, 0x00000000 },
973    { 0x00008118, 0x00000000 },
974    { 0x0000811c, 0x00000000 },
975    { 0x00008120, 0x00000000 },
976    { 0x00008124, 0x00000000 },
977    { 0x00008128, 0x00000000 },
978    { 0x0000812c, 0x00000000 },
979    { 0x00008130, 0x00000000 },
980    { 0x00008134, 0x00000000 },
981    { 0x00008138, 0x00000000 },
982    { 0x0000813c, 0x00000000 },
983    { 0x00008140, 0x800003f9 },
984    { 0x00008144, 0x00000000 },
985    { 0x00009808, 0x00000000 },
986    { 0x0000982c, 0x0000a000 },
987    { 0x0000983c, 0x00200400 },
988    { 0x0000984c, 0x1284233c },
989    { 0x00009870, 0x0000001f },
990    { 0x00009874, 0x00000080 },
991    { 0x00009878, 0x0000000e },
992    { 0x00009958, 0x00081fff },
993    { 0x00009980, 0x00000000 },
994    { 0x00009984, 0x02800000 },
995    { 0x000099a0, 0x00000000 },
996    { 0x000099dc, 0xfebadbe8 },
997    { 0x000099e0, 0x00000000 },
998    { 0x000099e4, 0xaaaaaaaa },
999    { 0x000099e8, 0x3c466478 },
1000    { 0x000099ec, 0x000000aa },
1001    { 0x000099f0, 0x0000000c },
1002    { 0x000099f4, 0x000000ff },
1003    { 0x000099f8, 0x00000014 },
1004    { 0x0000a228, 0x000009b5 },
1005    { 0x0000a234, 0x20202020 },
1006    { 0x0000a238, 0x20202020 },
1007    { 0x0000a23c, 0x93c889af },
1008    { 0x0000a24c, 0x00000001 },
1009    { 0x0000a250, 0x0000a000 },
1010    { 0x0000a254, 0x00000000 },
1011    { 0x0000a258, 0x0cc75380 },
1012    { 0x0000a25c, 0x0f0f0f01 },
1013    { 0x0000a260, 0x5f690f01 },
1014    { 0x0000a264, 0x00418a11 },
1015    { 0x0000a268, 0x00000000 },
1016    { 0x0000a26c, 0x0c30c166 },
1017    { 0x0000a270, 0x00820820 },
1018    { 0x0000a274, 0x081a3caa },
1019    { 0x0000a278, 0x1ce739ce },
1020    { 0x0000a27c, 0x051701ce },
1021    { 0x0000a300, 0x16010000 },
1022    { 0x0000a304, 0x2c032402 },
1023    { 0x0000a308, 0x48433e42 },
1024    { 0x0000a30c, 0x5a0f500b },
1025    { 0x0000a310, 0x6c4b624a },
1026    { 0x0000a314, 0x7e8b748a },
1027    { 0x0000a318, 0x96cf8ccb },
1028    { 0x0000a31c, 0xa34f9d0f },
1029    { 0x0000a320, 0xa7cfa58f },
1030    { 0x0000a348, 0x3fffffff },
1031    { 0x0000a34c, 0x3fffffff },
1032    { 0x0000a350, 0x3fffffff },
1033    { 0x0000a354, 0x0003ffff },
1034    { 0x0000a358, 0x79a8aa1f },
1035    { 0x0000a35c, 0x066c420f },
1036    { 0x0000a360, 0x0f282207 },
1037    { 0x0000a364, 0x17601685 },
1038    { 0x0000a368, 0x1f801104 },
1039    { 0x0000a36c, 0x37a00c03 },
1040    { 0x0000a370, 0x3fc40883 },
1041    { 0x0000a374, 0x57c00803 },
1042    { 0x0000a378, 0x5fd80682 },
1043    { 0x0000a37c, 0x7fe00482 },
1044    { 0x0000a380, 0x7f3c7bba },
1045    { 0x0000a384, 0xf3307ff0 },
1046};
1047#endif /* AH_5212_2425 */
1048
1049#ifdef AH_5212_5111
1050static const uint32_t ar5212Bank0_5111[][6] = {
1051    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1052    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1053    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1054    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1055    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1056    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1057    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1058    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1059    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1060    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1061    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1062    { 0x0000989c, 0x00380000, 0x00380000, 0x00380000, 0x00380000, 0x00380000 },
1063    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1064    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1065    { 0x0000989c, 0x00000000, 0x00000000, 0x000000c0, 0x00000080, 0x00000080 },
1066    { 0x0000989c, 0x000400f9, 0x000400f9, 0x000400ff, 0x000400fd, 0x000400fd },
1067    { 0x000098d4, 0x00000000, 0x00000000, 0x00000004, 0x00000004, 0x00000004 },
1068};
1069
1070static const uint32_t ar5212BB_RfGain_5111[][3] = {
1071    { 0x00009a00, 0x000001a9, 0x00000000 },
1072    { 0x00009a04, 0x000001e9, 0x00000040 },
1073    { 0x00009a08, 0x00000029, 0x00000080 },
1074    { 0x00009a0c, 0x00000069, 0x00000150 },
1075    { 0x00009a10, 0x00000199, 0x00000190 },
1076    { 0x00009a14, 0x000001d9, 0x000001d0 },
1077    { 0x00009a18, 0x00000019, 0x00000010 },
1078    { 0x00009a1c, 0x00000059, 0x00000044 },
1079    { 0x00009a20, 0x00000099, 0x00000084 },
1080    { 0x00009a24, 0x000001a5, 0x00000148 },
1081    { 0x00009a28, 0x000001e5, 0x00000188 },
1082    { 0x00009a2c, 0x00000025, 0x000001c8 },
1083    { 0x00009a30, 0x000001c8, 0x00000014 },
1084    { 0x00009a34, 0x00000008, 0x00000042 },
1085    { 0x00009a38, 0x00000048, 0x00000082 },
1086    { 0x00009a3c, 0x00000088, 0x00000178 },
1087    { 0x00009a40, 0x00000198, 0x000001b8 },
1088    { 0x00009a44, 0x000001d8, 0x000001f8 },
1089    { 0x00009a48, 0x00000018, 0x00000012 },
1090    { 0x00009a4c, 0x00000058, 0x00000052 },
1091    { 0x00009a50, 0x00000098, 0x00000092 },
1092    { 0x00009a54, 0x000001a4, 0x0000017c },
1093    { 0x00009a58, 0x000001e4, 0x000001bc },
1094    { 0x00009a5c, 0x00000024, 0x000001fc },
1095    { 0x00009a60, 0x00000064, 0x0000000a },
1096    { 0x00009a64, 0x000000a4, 0x0000004a },
1097    { 0x00009a68, 0x000000e4, 0x0000008a },
1098    { 0x00009a6c, 0x0000010a, 0x0000015a },
1099    { 0x00009a70, 0x0000014a, 0x0000019a },
1100    { 0x00009a74, 0x0000018a, 0x000001da },
1101    { 0x00009a78, 0x000001ca, 0x0000000e },
1102    { 0x00009a7c, 0x0000000a, 0x0000004e },
1103    { 0x00009a80, 0x0000004a, 0x0000008e },
1104    { 0x00009a84, 0x0000008a, 0x0000015e },
1105    { 0x00009a88, 0x000001ba, 0x0000019e },
1106    { 0x00009a8c, 0x000001fa, 0x000001de },
1107    { 0x00009a90, 0x0000003a, 0x00000009 },
1108    { 0x00009a94, 0x0000007a, 0x00000049 },
1109    { 0x00009a98, 0x00000186, 0x00000089 },
1110    { 0x00009a9c, 0x000001c6, 0x00000179 },
1111    { 0x00009aa0, 0x00000006, 0x000001b9 },
1112    { 0x00009aa4, 0x00000046, 0x000001f9 },
1113    { 0x00009aa8, 0x00000086, 0x00000039 },
1114    { 0x00009aac, 0x000000c6, 0x00000079 },
1115    { 0x00009ab0, 0x000000c6, 0x000000b9 },
1116    { 0x00009ab4, 0x000000c6, 0x000001bd },
1117    { 0x00009ab8, 0x000000c6, 0x000001fd },
1118    { 0x00009abc, 0x000000c6, 0x0000003d },
1119    { 0x00009ac0, 0x000000c6, 0x0000007d },
1120    { 0x00009ac4, 0x000000c6, 0x000000bd },
1121    { 0x00009ac8, 0x000000c6, 0x000000fd },
1122    { 0x00009acc, 0x000000c6, 0x000000fd },
1123    { 0x00009ad0, 0x000000c6, 0x000000fd },
1124    { 0x00009ad4, 0x000000c6, 0x000000fd },
1125    { 0x00009ad8, 0x000000c6, 0x000000fd },
1126    { 0x00009adc, 0x000000c6, 0x000000fd },
1127    { 0x00009ae0, 0x000000c6, 0x000000fd },
1128    { 0x00009ae4, 0x000000c6, 0x000000fd },
1129    { 0x00009ae8, 0x000000c6, 0x000000fd },
1130    { 0x00009aec, 0x000000c6, 0x000000fd },
1131    { 0x00009af0, 0x000000c6, 0x000000fd },
1132    { 0x00009af4, 0x000000c6, 0x000000fd },
1133    { 0x00009af8, 0x000000c6, 0x000000fd },
1134    { 0x00009afc, 0x000000c6, 0x000000fd },
1135};
1136#endif /* AH_5212_5111 */
1137
1138#ifdef AH_5212_5112
1139static const uint32_t ar5212BB_RfGain_5112[][3] = {
1140    { 0x00009a00, 0x00000007, 0x00000007 },
1141    { 0x00009a04, 0x00000047, 0x00000047 },
1142    { 0x00009a08, 0x00000087, 0x00000087 },
1143    { 0x00009a0c, 0x000001a0, 0x000001a0 },
1144    { 0x00009a10, 0x000001e0, 0x000001e0 },
1145    { 0x00009a14, 0x00000020, 0x00000020 },
1146    { 0x00009a18, 0x00000060, 0x00000060 },
1147    { 0x00009a1c, 0x000001a1, 0x000001a1 },
1148    { 0x00009a20, 0x000001e1, 0x000001e1 },
1149    { 0x00009a24, 0x00000021, 0x00000021 },
1150    { 0x00009a28, 0x00000061, 0x00000061 },
1151    { 0x00009a2c, 0x00000162, 0x00000162 },
1152    { 0x00009a30, 0x000001a2, 0x000001a2 },
1153    { 0x00009a34, 0x000001e2, 0x000001e2 },
1154    { 0x00009a38, 0x00000022, 0x00000022 },
1155    { 0x00009a3c, 0x00000062, 0x00000062 },
1156    { 0x00009a40, 0x00000163, 0x00000163 },
1157    { 0x00009a44, 0x000001a3, 0x000001a3 },
1158    { 0x00009a48, 0x000001e3, 0x000001e3 },
1159    { 0x00009a4c, 0x00000023, 0x00000023 },
1160    { 0x00009a50, 0x00000063, 0x00000063 },
1161    { 0x00009a54, 0x00000184, 0x00000184 },
1162    { 0x00009a58, 0x000001c4, 0x000001c4 },
1163    { 0x00009a5c, 0x00000004, 0x00000004 },
1164    { 0x00009a60, 0x000001ea, 0x0000000b },
1165    { 0x00009a64, 0x0000002a, 0x0000004b },
1166    { 0x00009a68, 0x0000006a, 0x0000008b },
1167    { 0x00009a6c, 0x000000aa, 0x000001ac },
1168    { 0x00009a70, 0x000001ab, 0x000001ec },
1169    { 0x00009a74, 0x000001eb, 0x0000002c },
1170    { 0x00009a78, 0x0000002b, 0x00000012 },
1171    { 0x00009a7c, 0x0000006b, 0x00000052 },
1172    { 0x00009a80, 0x000000ab, 0x00000092 },
1173    { 0x00009a84, 0x000001ac, 0x00000193 },
1174    { 0x00009a88, 0x000001ec, 0x000001d3 },
1175    { 0x00009a8c, 0x0000002c, 0x00000013 },
1176    { 0x00009a90, 0x0000003a, 0x00000053 },
1177    { 0x00009a94, 0x0000007a, 0x00000093 },
1178    { 0x00009a98, 0x000000ba, 0x00000194 },
1179    { 0x00009a9c, 0x000001bb, 0x000001d4 },
1180    { 0x00009aa0, 0x000001fb, 0x00000014 },
1181    { 0x00009aa4, 0x0000003b, 0x0000003a },
1182    { 0x00009aa8, 0x0000007b, 0x0000007a },
1183    { 0x00009aac, 0x000000bb, 0x000000ba },
1184    { 0x00009ab0, 0x000001bc, 0x000001bb },
1185    { 0x00009ab4, 0x000001fc, 0x000001fb },
1186    { 0x00009ab8, 0x0000003c, 0x0000003b },
1187    { 0x00009abc, 0x0000007c, 0x0000007b },
1188    { 0x00009ac0, 0x000000bc, 0x000000bb },
1189    { 0x00009ac4, 0x000000fc, 0x000001bc },
1190    { 0x00009ac8, 0x000000fc, 0x000001fc },
1191    { 0x00009acc, 0x000000fc, 0x0000003c },
1192    { 0x00009ad0, 0x000000fc, 0x0000007c },
1193    { 0x00009ad4, 0x000000fc, 0x000000bc },
1194    { 0x00009ad8, 0x000000fc, 0x000000fc },
1195    { 0x00009adc, 0x000000fc, 0x000000fc },
1196    { 0x00009ae0, 0x000000fc, 0x000000fc },
1197    { 0x00009ae4, 0x000000fc, 0x000000fc },
1198    { 0x00009ae8, 0x000000fc, 0x000000fc },
1199    { 0x00009aec, 0x000000fc, 0x000000fc },
1200    { 0x00009af0, 0x000000fc, 0x000000fc },
1201    { 0x00009af4, 0x000000fc, 0x000000fc },
1202    { 0x00009af8, 0x000000fc, 0x000000fc },
1203    { 0x00009afc, 0x000000fc, 0x000000fc },
1204};
1205#endif /* AH_5212_5112 */
1206
1207#ifdef AH_5212_2413
1208static const uint32_t ar5212BB_RfGain_2413[][3] = {
1209    { 0x00009a00, 0x00000000, 0x00000000 },
1210    { 0x00009a04, 0x00000000, 0x00000040 },
1211    { 0x00009a08, 0x00000000, 0x00000080 },
1212    { 0x00009a0c, 0x00000000, 0x00000181 },
1213    { 0x00009a10, 0x00000000, 0x000001c1 },
1214    { 0x00009a14, 0x00000000, 0x00000001 },
1215    { 0x00009a18, 0x00000000, 0x00000041 },
1216    { 0x00009a1c, 0x00000000, 0x00000081 },
1217    { 0x00009a20, 0x00000000, 0x00000168 },
1218    { 0x00009a24, 0x00000000, 0x000001a8 },
1219    { 0x00009a28, 0x00000000, 0x000001e8 },
1220    { 0x00009a2c, 0x00000000, 0x00000028 },
1221    { 0x00009a30, 0x00000000, 0x00000068 },
1222    { 0x00009a34, 0x00000000, 0x00000189 },
1223    { 0x00009a38, 0x00000000, 0x000001c9 },
1224    { 0x00009a3c, 0x00000000, 0x00000009 },
1225    { 0x00009a40, 0x00000000, 0x00000049 },
1226    { 0x00009a44, 0x00000000, 0x00000089 },
1227    { 0x00009a48, 0x00000000, 0x00000190 },
1228    { 0x00009a4c, 0x00000000, 0x000001d0 },
1229    { 0x00009a50, 0x00000000, 0x00000010 },
1230    { 0x00009a54, 0x00000000, 0x00000050 },
1231    { 0x00009a58, 0x00000000, 0x00000090 },
1232    { 0x00009a5c, 0x00000000, 0x00000191 },
1233    { 0x00009a60, 0x00000000, 0x000001d1 },
1234    { 0x00009a64, 0x00000000, 0x00000011 },
1235    { 0x00009a68, 0x00000000, 0x00000051 },
1236    { 0x00009a6c, 0x00000000, 0x00000091 },
1237    { 0x00009a70, 0x00000000, 0x00000178 },
1238    { 0x00009a74, 0x00000000, 0x000001b8 },
1239    { 0x00009a78, 0x00000000, 0x000001f8 },
1240    { 0x00009a7c, 0x00000000, 0x00000038 },
1241    { 0x00009a80, 0x00000000, 0x00000078 },
1242    { 0x00009a84, 0x00000000, 0x00000199 },
1243    { 0x00009a88, 0x00000000, 0x000001d9 },
1244    { 0x00009a8c, 0x00000000, 0x00000019 },
1245    { 0x00009a90, 0x00000000, 0x00000059 },
1246    { 0x00009a94, 0x00000000, 0x00000099 },
1247    { 0x00009a98, 0x00000000, 0x000000d9 },
1248    { 0x00009a9c, 0x00000000, 0x000000f9 },
1249    { 0x00009aa0, 0x00000000, 0x000000f9 },
1250    { 0x00009aa4, 0x00000000, 0x000000f9 },
1251    { 0x00009aa8, 0x00000000, 0x000000f9 },
1252    { 0x00009aac, 0x00000000, 0x000000f9 },
1253    { 0x00009ab0, 0x00000000, 0x000000f9 },
1254    { 0x00009ab4, 0x00000000, 0x000000f9 },
1255    { 0x00009ab8, 0x00000000, 0x000000f9 },
1256    { 0x00009abc, 0x00000000, 0x000000f9 },
1257    { 0x00009ac0, 0x00000000, 0x000000f9 },
1258    { 0x00009ac4, 0x00000000, 0x000000f9 },
1259    { 0x00009ac8, 0x00000000, 0x000000f9 },
1260    { 0x00009acc, 0x00000000, 0x000000f9 },
1261    { 0x00009ad0, 0x00000000, 0x000000f9 },
1262    { 0x00009ad4, 0x00000000, 0x000000f9 },
1263    { 0x00009ad8, 0x00000000, 0x000000f9 },
1264    { 0x00009adc, 0x00000000, 0x000000f9 },
1265    { 0x00009ae0, 0x00000000, 0x000000f9 },
1266    { 0x00009ae4, 0x00000000, 0x000000f9 },
1267    { 0x00009ae8, 0x00000000, 0x000000f9 },
1268    { 0x00009aec, 0x00000000, 0x000000f9 },
1269    { 0x00009af0, 0x00000000, 0x000000f9 },
1270    { 0x00009af4, 0x00000000, 0x000000f9 },
1271    { 0x00009af8, 0x00000000, 0x000000f9 },
1272    { 0x00009afc, 0x00000000, 0x000000f9 },
1273};
1274#endif /* AH_5212_2413 */
1275
1276#ifdef AH_5212_2316
1277static const uint32_t ar5212BB_RfGain_2316[][3] = {
1278    { 0x00009a00, 0x00000000, 0x00000000 },
1279    { 0x00009a04, 0x00000000, 0x00000040 },
1280    { 0x00009a08, 0x00000000, 0x00000080 },
1281    { 0x00009a0c, 0x00000000, 0x00000161 },
1282    { 0x00009a10, 0x00000000, 0x000001a1 },
1283    { 0x00009a14, 0x00000000, 0x000001e1 },
1284    { 0x00009a18, 0x00000000, 0x00000021 },
1285    { 0x00009a1c, 0x00000000, 0x00000061 },
1286    { 0x00009a20, 0x00000000, 0x000000a1 },
1287    { 0x00009a24, 0x00000000, 0x00000168 },
1288    { 0x00009a28, 0x00000000, 0x000001a8 },
1289    { 0x00009a2c, 0x00000000, 0x000001e8 },
1290    { 0x00009a30, 0x00000000, 0x00000028 },
1291    { 0x00009a34, 0x00000000, 0x00000068 },
1292    { 0x00009a38, 0x00000000, 0x000000a8 },
1293    { 0x00009a3c, 0x00000000, 0x00000189 },
1294    { 0x00009a40, 0x00000000, 0x000001c9 },
1295    { 0x00009a44, 0x00000000, 0x00000009 },
1296    { 0x00009a48, 0x00000000, 0x00000049 },
1297    { 0x00009a4c, 0x00000000, 0x00000089 },
1298    { 0x00009a50, 0x00000000, 0x000001b0 },
1299    { 0x00009a54, 0x00000000, 0x000001f0 },
1300    { 0x00009a58, 0x00000000, 0x00000030 },
1301    { 0x00009a5c, 0x00000000, 0x00000070 },
1302    { 0x00009a60, 0x00000000, 0x000000b0 },
1303    { 0x00009a64, 0x00000000, 0x000001b1 },
1304    { 0x00009a68, 0x00000000, 0x000001f1 },
1305    { 0x00009a6c, 0x00000000, 0x00000031 },
1306    { 0x00009a70, 0x00000000, 0x00000071 },
1307    { 0x00009a74, 0x00000000, 0x00000198 },
1308    { 0x00009a78, 0x00000000, 0x000001d8 },
1309    { 0x00009a7c, 0x00000000, 0x00000018 },
1310    { 0x00009a80, 0x00000000, 0x00000058 },
1311    { 0x00009a84, 0x00000000, 0x00000098 },
1312    { 0x00009a88, 0x00000000, 0x00000199 },
1313    { 0x00009a8c, 0x00000000, 0x000001d9 },
1314    { 0x00009a90, 0x00000000, 0x00000019 },
1315    { 0x00009a94, 0x00000000, 0x00000059 },
1316    { 0x00009a98, 0x00000000, 0x00000099 },
1317    { 0x00009a9c, 0x00000000, 0x000000d9 },
1318    { 0x00009aa0, 0x00000000, 0x000000f9 },
1319    { 0x00009aa4, 0x00000000, 0x000000f9 },
1320    { 0x00009aa8, 0x00000000, 0x000000f9 },
1321    { 0x00009aac, 0x00000000, 0x000000f9 },
1322    { 0x00009ab0, 0x00000000, 0x000000f9 },
1323    { 0x00009ab4, 0x00000000, 0x000000f9 },
1324    { 0x00009ab8, 0x00000000, 0x000000f9 },
1325    { 0x00009abc, 0x00000000, 0x000000f9 },
1326    { 0x00009ac0, 0x00000000, 0x000000f9 },
1327    { 0x00009ac4, 0x00000000, 0x000000f9 },
1328    { 0x00009ac8, 0x00000000, 0x000000f9 },
1329    { 0x00009acc, 0x00000000, 0x000000f9 },
1330    { 0x00009ad0, 0x00000000, 0x000000f9 },
1331    { 0x00009ad4, 0x00000000, 0x000000f9 },
1332    { 0x00009ad8, 0x00000000, 0x000000f9 },
1333    { 0x00009adc, 0x00000000, 0x000000f9 },
1334    { 0x00009ae0, 0x00000000, 0x000000f9 },
1335    { 0x00009ae4, 0x00000000, 0x000000f9 },
1336    { 0x00009ae8, 0x00000000, 0x000000f9 },
1337    { 0x00009aec, 0x00000000, 0x000000f9 },
1338    { 0x00009af0, 0x00000000, 0x000000f9 },
1339    { 0x00009af4, 0x00000000, 0x000000f9 },
1340    { 0x00009af8, 0x00000000, 0x000000f9 },
1341    { 0x00009afc, 0x00000000, 0x000000f9 },
1342};
1343#endif
1344
1345#ifdef AH_5212_5413
1346static const uint32_t ar5212BB_RfGain_5413[][3] = {
1347    { 0x00009a00, 0x00000000, 0x00000000 },
1348    { 0x00009a04, 0x00000040, 0x00000040 },
1349    { 0x00009a08, 0x00000080, 0x00000080 },
1350    { 0x00009a0c, 0x000001a1, 0x00000161 },
1351    { 0x00009a10, 0x000001e1, 0x000001a1 },
1352    { 0x00009a14, 0x00000021, 0x000001e1 },
1353    { 0x00009a18, 0x00000061, 0x00000021 },
1354    { 0x00009a1c, 0x00000188, 0x00000061 },
1355    { 0x00009a20, 0x000001c8, 0x00000188 },
1356    { 0x00009a24, 0x00000008, 0x000001c8 },
1357    { 0x00009a28, 0x00000048, 0x00000008 },
1358    { 0x00009a2c, 0x00000088, 0x00000048 },
1359    { 0x00009a30, 0x000001a9, 0x00000088 },
1360    { 0x00009a34, 0x000001e9, 0x00000169 },
1361    { 0x00009a38, 0x00000029, 0x000001a9 },
1362    { 0x00009a3c, 0x00000069, 0x000001e9 },
1363    { 0x00009a40, 0x000001d0, 0x00000029 },
1364    { 0x00009a44, 0x00000010, 0x00000069 },
1365    { 0x00009a48, 0x00000050, 0x00000190 },
1366    { 0x00009a4c, 0x00000090, 0x000001d0 },
1367    { 0x00009a50, 0x000001b1, 0x00000010 },
1368    { 0x00009a54, 0x000001f1, 0x00000050 },
1369    { 0x00009a58, 0x00000031, 0x00000090 },
1370    { 0x00009a5c, 0x00000071, 0x00000171 },
1371    { 0x00009a60, 0x000001b8, 0x000001b1 },
1372    { 0x00009a64, 0x000001f8, 0x000001f1 },
1373    { 0x00009a68, 0x00000038, 0x00000031 },
1374    { 0x00009a6c, 0x00000078, 0x00000071 },
1375    { 0x00009a70, 0x00000199, 0x00000198 },
1376    { 0x00009a74, 0x000001d9, 0x000001d8 },
1377    { 0x00009a78, 0x00000019, 0x00000018 },
1378    { 0x00009a7c, 0x00000059, 0x00000058 },
1379    { 0x00009a80, 0x00000099, 0x00000098 },
1380    { 0x00009a84, 0x000000d9, 0x00000179 },
1381    { 0x00009a88, 0x000000f9, 0x000001b9 },
1382    { 0x00009a8c, 0x000000f9, 0x000001f9 },
1383    { 0x00009a90, 0x000000f9, 0x00000039 },
1384    { 0x00009a94, 0x000000f9, 0x00000079 },
1385    { 0x00009a98, 0x000000f9, 0x000000b9 },
1386    { 0x00009a9c, 0x000000f9, 0x000000f9 },
1387    { 0x00009aa0, 0x000000f9, 0x000000f9 },
1388    { 0x00009aa4, 0x000000f9, 0x000000f9 },
1389    { 0x00009aa8, 0x000000f9, 0x000000f9 },
1390    { 0x00009aac, 0x000000f9, 0x000000f9 },
1391    { 0x00009ab0, 0x000000f9, 0x000000f9 },
1392    { 0x00009ab4, 0x000000f9, 0x000000f9 },
1393    { 0x00009ab8, 0x000000f9, 0x000000f9 },
1394    { 0x00009abc, 0x000000f9, 0x000000f9 },
1395    { 0x00009ac0, 0x000000f9, 0x000000f9 },
1396    { 0x00009ac4, 0x000000f9, 0x000000f9 },
1397    { 0x00009ac8, 0x000000f9, 0x000000f9 },
1398    { 0x00009acc, 0x000000f9, 0x000000f9 },
1399    { 0x00009ad0, 0x000000f9, 0x000000f9 },
1400    { 0x00009ad4, 0x000000f9, 0x000000f9 },
1401    { 0x00009ad8, 0x000000f9, 0x000000f9 },
1402    { 0x00009adc, 0x000000f9, 0x000000f9 },
1403    { 0x00009ae0, 0x000000f9, 0x000000f9 },
1404    { 0x00009ae4, 0x000000f9, 0x000000f9 },
1405    { 0x00009ae8, 0x000000f9, 0x000000f9 },
1406    { 0x00009aec, 0x000000f9, 0x000000f9 },
1407    { 0x00009af0, 0x000000f9, 0x000000f9 },
1408    { 0x00009af4, 0x000000f9, 0x000000f9 },
1409    { 0x00009af8, 0x000000f9, 0x000000f9 },
1410    { 0x00009afc, 0x000000f9, 0x000000f9 },
1411};
1412#endif /* AH_5212_5413 */
1413
1414#ifdef AH_5212_2425
1415static const uint32_t ar5212BB_RfGain_2425[][3] = {
1416    { 0x00009a00, 0x00000000, 0x00000000 },
1417    { 0x00009a04, 0x00000000, 0x00000040 },
1418    { 0x00009a08, 0x00000000, 0x00000080 },
1419    { 0x00009a0c, 0x00000000, 0x00000181 },
1420    { 0x00009a10, 0x00000000, 0x000001c1 },
1421    { 0x00009a14, 0x00000000, 0x00000001 },
1422    { 0x00009a18, 0x00000000, 0x00000041 },
1423    { 0x00009a1c, 0x00000000, 0x00000081 },
1424    { 0x00009a20, 0x00000000, 0x00000188 },
1425    { 0x00009a24, 0x00000000, 0x000001c8 },
1426    { 0x00009a28, 0x00000000, 0x00000008 },
1427    { 0x00009a2c, 0x00000000, 0x00000048 },
1428    { 0x00009a30, 0x00000000, 0x00000088 },
1429    { 0x00009a34, 0x00000000, 0x00000189 },
1430    { 0x00009a38, 0x00000000, 0x000001c9 },
1431    { 0x00009a3c, 0x00000000, 0x00000009 },
1432    { 0x00009a40, 0x00000000, 0x00000049 },
1433    { 0x00009a44, 0x00000000, 0x00000089 },
1434    { 0x00009a48, 0x00000000, 0x000001b0 },
1435    { 0x00009a4c, 0x00000000, 0x000001f0 },
1436    { 0x00009a50, 0x00000000, 0x00000030 },
1437    { 0x00009a54, 0x00000000, 0x00000070 },
1438    { 0x00009a58, 0x00000000, 0x00000171 },
1439    { 0x00009a5c, 0x00000000, 0x000001b1 },
1440    { 0x00009a60, 0x00000000, 0x000001f1 },
1441    { 0x00009a64, 0x00000000, 0x00000031 },
1442    { 0x00009a68, 0x00000000, 0x00000071 },
1443    { 0x00009a6c, 0x00000000, 0x000001b8 },
1444    { 0x00009a70, 0x00000000, 0x000001f8 },
1445    { 0x00009a74, 0x00000000, 0x00000038 },
1446    { 0x00009a78, 0x00000000, 0x00000078 },
1447    { 0x00009a7c, 0x00000000, 0x000000b8 },
1448    { 0x00009a80, 0x00000000, 0x000001b9 },
1449    { 0x00009a84, 0x00000000, 0x000001f9 },
1450    { 0x00009a88, 0x00000000, 0x00000039 },
1451    { 0x00009a8c, 0x00000000, 0x00000079 },
1452    { 0x00009a90, 0x00000000, 0x000000b9 },
1453    { 0x00009a94, 0x00000000, 0x000000f9 },
1454    { 0x00009a98, 0x00000000, 0x000000f9 },
1455    { 0x00009a9c, 0x00000000, 0x000000f9 },
1456    { 0x00009aa0, 0x00000000, 0x000000f9 },
1457    { 0x00009aa4, 0x00000000, 0x000000f9 },
1458    { 0x00009aa8, 0x00000000, 0x000000f9 },
1459    { 0x00009aac, 0x00000000, 0x000000f9 },
1460    { 0x00009ab0, 0x00000000, 0x000000f9 },
1461    { 0x00009ab4, 0x00000000, 0x000000f9 },
1462    { 0x00009ab8, 0x00000000, 0x000000f9 },
1463    { 0x00009abc, 0x00000000, 0x000000f9 },
1464    { 0x00009ac0, 0x00000000, 0x000000f9 },
1465    { 0x00009ac4, 0x00000000, 0x000000f9 },
1466    { 0x00009ac8, 0x00000000, 0x000000f9 },
1467    { 0x00009acc, 0x00000000, 0x000000f9 },
1468    { 0x00009ad0, 0x00000000, 0x000000f9 },
1469    { 0x00009ad4, 0x00000000, 0x000000f9 },
1470    { 0x00009ad8, 0x00000000, 0x000000f9 },
1471    { 0x00009adc, 0x00000000, 0x000000f9 },
1472    { 0x00009ae0, 0x00000000, 0x000000f9 },
1473    { 0x00009ae4, 0x00000000, 0x000000f9 },
1474    { 0x00009ae8, 0x00000000, 0x000000f9 },
1475    { 0x00009aec, 0x00000000, 0x000000f9 },
1476    { 0x00009af0, 0x00000000, 0x000000f9 },
1477    { 0x00009af4, 0x00000000, 0x000000f9 },
1478    { 0x00009af8, 0x00000000, 0x000000f9 },
1479    { 0x00009afc, 0x00000000, 0x000000f9 },
1480};
1481#endif /* AH_5212_2425 */
1482
1483#ifdef AH_5212_5111
1484static const uint32_t ar5212Bank1_5111[][2] = {
1485    { 0x000098d4, 0x00000020 },
1486};
1487#endif /* AH_5212_5111 */
1488
1489#ifdef AH_5212_5112
1490static const uint32_t ar5212Bank1_5112[][2] = {
1491    { 0x000098d4, 0x00000020 },
1492};
1493#endif /* AH_5212_5112 */
1494
1495#ifdef AH_5212_2413
1496static const uint32_t ar5212Bank1_2413[][2] = {
1497    { 0x000098d4, 0x00000020 },
1498};
1499#endif /* AH_5212_2413 */
1500
1501#ifdef AH_5212_2316
1502static const uint32_t ar5212Bank1_2316[][2] = {
1503    { 0x000098d4, 0x00000020 },
1504};
1505#endif
1506
1507#ifdef AH_5212_5413
1508static const uint32_t ar5212Bank1_5413[][2] = {
1509    { 0x000098d4, 0x00000020 },
1510};
1511#endif /* AH_5212_5413 */
1512
1513#ifdef AH_5212_2425
1514static const uint32_t ar5212Bank1_2425[][2] = {
1515    { 0x000098d4, 0x00000020 },
1516};
1517#endif /* AH_5212_2425 */
1518
1519#ifdef AH_5212_5111
1520static const uint32_t ar5212Bank2_5111[][6] = {
1521    { 0x000098d4, 0x00000010, 0x00000014, 0x00000010, 0x00000010, 0x00000014 },
1522};
1523#endif /* AH_5212_5111 */
1524
1525#ifdef AH_5212_5112
1526static const uint32_t ar5212Bank2_5112[][6] = {
1527    { 0x000098d0, 0x03060408, 0x03070408, 0x03060408, 0x03060408, 0x03070408 },
1528};
1529#endif /* AH_5212_5112 */
1530
1531#ifdef AH_5212_2413
1532static const uint32_t ar5212Bank2_2413[][6] = {
1533    { 0x000098d0, 0x02001408, 0x02011408, 0x02001408, 0x02001408, 0x02011408 },
1534};
1535#endif /* AH_5212_2413 */
1536
1537#ifdef AH_5212_2316
1538static const uint32_t ar5212Bank2_2316[][6] = {
1539    { 0x000098d0, 0x02001408, 0x02011408, 0x02001408, 0x02001408, 0x02011408 },
1540};
1541#endif
1542
1543#ifdef AH_5212_5413
1544static const uint32_t ar5212Bank2_5413[][6] = {
1545    { 0x000098d0, 0x00000008, 0x00000008, 0x00000008, 0x00000008, 0x00000008 },
1546};
1547#endif /* AH_5212_5413 */
1548
1549#ifdef AH_5212_2425
1550static const uint32_t ar5212Bank2_2425[][6] = {
1551    { 0x000098d0, 0x02001408, 0x02001408, 0x02001408, 0x02001408, 0x02001408 },
1552};
1553#endif /* AH_5212_2425 */
1554
1555#ifdef AH_5212_5111
1556static const uint32_t ar5212Bank3_5111[][6] = {
1557    { 0x000098d8, 0x00601068, 0x00601068, 0x00601068, 0x00601068, 0x00601068 },
1558};
1559#endif /* AH_5212_5111 */
1560
1561#ifdef AH_5212_5112
1562static const uint32_t ar5212Bank3_5112[][6] = {
1563    { 0x000098dc, 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 },
1564};
1565#endif /* AH_5212_5112 */
1566
1567#ifdef AH_5212_2413
1568static const uint32_t ar5212Bank3_2413[][6] = {
1569    { 0x000098dc, 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 },
1570};
1571#endif /* AH_5212_2413 */
1572
1573#ifdef AH_5212_2316
1574static const uint32_t ar5212Bank3_2316[][6] = {
1575    { 0x000098dc, 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 },
1576};
1577#endif
1578
1579#ifdef AH_5212_5413
1580static const uint32_t ar5212Bank3_5413[][6] = {
1581    { 0x000098dc, 0x00a000c0, 0x00a000c0, 0x00e000c0, 0x00e000c0, 0x00e000c0 },
1582};
1583#endif /* AH_5212_5413 */
1584
1585#ifdef AH_5212_2425
1586static const uint32_t ar5212Bank3_2425[][6] = {
1587    { 0x000098dc, 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 },
1588};
1589#endif /* AH_5212_2425 */
1590
1591#ifdef AH_5212_5111
1592static const uint32_t ar5212Bank6_5111[][6] = {
1593    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1594    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1595    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1596    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1597    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1598    { 0x0000989c, 0x10000000, 0x10000000, 0x10000000, 0x10000000, 0x10000000 },
1599    { 0x0000989c, 0x04000000, 0x04000000, 0x04000000, 0x04000000, 0x04000000 },
1600    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1601    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1602    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1603    { 0x0000989c, 0x00000000, 0x00000000, 0x0a000000, 0x00000000, 0x00000000 },
1604    { 0x0000989c, 0x003800c0, 0x00380080, 0x023800c0, 0x003800c0, 0x003800c0 },
1605    { 0x0000989c, 0x00020006, 0x00020006, 0x00000006, 0x00020006, 0x00020006 },
1606    { 0x0000989c, 0x00000089, 0x00000089, 0x00000089, 0x00000089, 0x00000089 },
1607    { 0x0000989c, 0x000000a0, 0x000000a0, 0x000000a0, 0x000000a0, 0x000000a0 },
1608    { 0x0000989c, 0x00040007, 0x00040007, 0x00040007, 0x00040007, 0x00040007 },
1609    { 0x000098d4, 0x0000001a, 0x0000001a, 0x0000001a, 0x0000001a, 0x0000001a },
1610};
1611#endif /* AH_5212_5111 */
1612
1613#ifdef AH_5212_5112
1614static const uint32_t ar5212Bank6_5112[][6] = {
1615    { 0x0000989c, 0x0f000000, 0x0f000000, 0x0f000000, 0x0f000000, 0x0f000000 },
1616    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1617    { 0x0000989c, 0x00800000, 0x00800000, 0x00800000, 0x00800000, 0x00800000 },
1618    { 0x0000989c, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 },
1619    { 0x0000989c, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000 },
1620    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1621    { 0x0000989c, 0x00180000, 0x00180000, 0x00180000, 0x00180000, 0x00180000 },
1622    { 0x0000989c, 0x00600000, 0x00600000, 0x006e0000, 0x006e0000, 0x006e0000 },
1623    { 0x0000989c, 0x00c70000, 0x00c70000, 0x00c70000, 0x00c70000, 0x00c70000 },
1624    { 0x0000989c, 0x004b0000, 0x004b0000, 0x004b0000, 0x004b0000, 0x004b0000 },
1625    { 0x0000989c, 0x04480000, 0x04480000, 0x04480000, 0x04480000, 0x04480000 },
1626    { 0x0000989c, 0x004c0000, 0x004c0000, 0x004c0000, 0x004c0000, 0x004c0000 },
1627    { 0x0000989c, 0x00e40000, 0x00e40000, 0x00e40000, 0x00e40000, 0x00e40000 },
1628    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1629    { 0x0000989c, 0x00fc0000, 0x00fc0000, 0x00fc0000, 0x00fc0000, 0x00fc0000 },
1630    { 0x0000989c, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 },
1631    { 0x0000989c, 0x043f0000, 0x043f0000, 0x043f0000, 0x043f0000, 0x043f0000 },
1632    { 0x0000989c, 0x000c0000, 0x000c0000, 0x000c0000, 0x000c0000, 0x000c0000 },
1633    { 0x0000989c, 0x02190000, 0x02190000, 0x02190000, 0x02190000, 0x02190000 },
1634    { 0x0000989c, 0x00240000, 0x00240000, 0x00240000, 0x00240000, 0x00240000 },
1635    { 0x0000989c, 0x00b40000, 0x00b40000, 0x00b40000, 0x00b40000, 0x00b40000 },
1636    { 0x0000989c, 0x00990000, 0x00990000, 0x00990000, 0x00990000, 0x00990000 },
1637    { 0x0000989c, 0x00500000, 0x00500000, 0x00500000, 0x00500000, 0x00500000 },
1638    { 0x0000989c, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 },
1639    { 0x0000989c, 0x00120000, 0x00120000, 0x00120000, 0x00120000, 0x00120000 },
1640    { 0x0000989c, 0xc0320000, 0xc0320000, 0xc0320000, 0xc0320000, 0xc0320000 },
1641    { 0x0000989c, 0x01740000, 0x01740000, 0x01740000, 0x01740000, 0x01740000 },
1642    { 0x0000989c, 0x00110000, 0x00110000, 0x00110000, 0x00110000, 0x00110000 },
1643    { 0x0000989c, 0x86280000, 0x86280000, 0x86280000, 0x86280000, 0x86280000 },
1644    { 0x0000989c, 0x31840000, 0x31840000, 0x31840000, 0x31840000, 0x31840000 },
1645    { 0x0000989c, 0x00f20080, 0x00f20080, 0x00f20080, 0x00f20080, 0x00f20080 },
1646    { 0x0000989c, 0x00270019, 0x00270019, 0x00270019, 0x00270019, 0x00270019 },
1647    { 0x0000989c, 0x00000003, 0x00000003, 0x00000003, 0x00000003, 0x00000003 },
1648    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1649    { 0x0000989c, 0x000000b2, 0x000000b2, 0x000000b2, 0x000000b2, 0x000000b2 },
1650    { 0x0000989c, 0x00b02084, 0x00b02084, 0x00b02084, 0x00b02084, 0x00b02084 },
1651    { 0x0000989c, 0x004125a4, 0x004125a4, 0x004125a4, 0x004125a4, 0x004125a4 },
1652    { 0x0000989c, 0x00119220, 0x00119220, 0x00119220, 0x00119220, 0x00119220 },
1653    { 0x0000989c, 0x001a4800, 0x001a4800, 0x001a4800, 0x001a4800, 0x001a4800 },
1654    { 0x000098d8, 0x000b0230, 0x000b0230, 0x000b0230, 0x000b0230, 0x000b0230 },
1655};
1656#endif /* AH_5212_5112 */
1657
1658#ifdef AH_5212_2413
1659static const uint32_t ar5212Bank6_2413[][6] = {
1660    { 0x0000989c, 0xf0000000, 0xf0000000, 0xf0000000, 0xf0000000, 0xf0000000 },
1661    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1662    { 0x0000989c, 0x03000000, 0x03000000, 0x03000000, 0x03000000, 0x03000000 },
1663    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1664    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1665    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1666    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1667    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1668    { 0x0000989c, 0x40400000, 0x40400000, 0x40400000, 0x40400000, 0x40400000 },
1669    { 0x0000989c, 0x65050000, 0x65050000, 0x65050000, 0x65050000, 0x65050000 },
1670    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1671    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1672    { 0x0000989c, 0x00420000, 0x00420000, 0x00420000, 0x00420000, 0x00420000 },
1673    { 0x0000989c, 0x00b50000, 0x00b50000, 0x00b50000, 0x00b50000, 0x00b50000 },
1674    { 0x0000989c, 0x00030000, 0x00030000, 0x00030000, 0x00030000, 0x00030000 },
1675    { 0x0000989c, 0x00f70000, 0x00f70000, 0x00f70000, 0x00f70000, 0x00f70000 },
1676    { 0x0000989c, 0x009d0000, 0x009d0000, 0x009d0000, 0x009d0000, 0x009d0000 },
1677    { 0x0000989c, 0x00220000, 0x00220000, 0x00220000, 0x00220000, 0x00220000 },
1678    { 0x0000989c, 0x04220000, 0x04220000, 0x04220000, 0x04220000, 0x04220000 },
1679    { 0x0000989c, 0x00230018, 0x00230018, 0x00230018, 0x00230018, 0x00230018 },
1680    { 0x0000989c, 0x00280000, 0x00280000, 0x00280060, 0x00280060, 0x00280060 },
1681    { 0x0000989c, 0x005000c0, 0x005000c0, 0x005000c3, 0x005000c3, 0x005000c3 },
1682    { 0x0000989c, 0x0004007f, 0x0004007f, 0x0004007f, 0x0004007f, 0x0004007f },
1683    { 0x0000989c, 0x00000458, 0x00000458, 0x00000458, 0x00000458, 0x00000458 },
1684    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1685    { 0x0000989c, 0x0000c000, 0x0000c000, 0x0000c000, 0x0000c000, 0x0000c000 },
1686    { 0x000098d8, 0x00400230, 0x00400230, 0x00400230, 0x00400230, 0x00400230 },
1687};
1688#endif /* AH_5212_2413 */
1689
1690#ifdef AH_5212_2316
1691static const uint32_t ar5212Bank6_2316[][6] = {
1692    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1693    { 0x0000989c, 0xc0000000, 0xc0000000, 0xc0000000, 0xc0000000, 0xc0000000 },
1694    { 0x0000989c, 0x0f000000, 0x0f000000, 0x0f000000, 0x0f000000, 0x0f000000 },
1695    { 0x0000989c, 0x02000000, 0x02000000, 0x02000000, 0x02000000, 0x02000000 },
1696    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1697    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1698    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1699    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1700    { 0x0000989c, 0xf8000000, 0xf8000000, 0xf8000000, 0xf8000000, 0xf8000000 },
1701    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1702    { 0x0000989c, 0x95150000, 0x95150000, 0x95150000, 0x95150000, 0x95150000 },
1703    { 0x0000989c, 0xc1000000, 0xc1000000, 0xc1000000, 0xc1000000, 0xc1000000 },
1704    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1705    { 0x0000989c, 0x00080000, 0x00080000, 0x00080000, 0x00080000, 0x00080000 },
1706    { 0x0000989c, 0x00d50000, 0x00d50000, 0x00d50000, 0x00d50000, 0x00d50000 },
1707    { 0x0000989c, 0x000e0000, 0x000e0000, 0x000e0000, 0x000e0000, 0x000e0000 },
1708    { 0x0000989c, 0x00dc0000, 0x00dc0000, 0x00dc0000, 0x00dc0000, 0x00dc0000 },
1709    { 0x0000989c, 0x00770000, 0x00770000, 0x00770000, 0x00770000, 0x00770000 },
1710    { 0x0000989c, 0x008a0000, 0x008a0000, 0x008a0000, 0x008a0000, 0x008a0000 },
1711    { 0x0000989c, 0x10880000, 0x10880000, 0x10880000, 0x10880000, 0x10880000 },
1712    { 0x0000989c, 0x008c0060, 0x008c0060, 0x008c0060, 0x008c0060, 0x008c0060 },
1713    { 0x0000989c, 0x00a00000, 0x00a00000, 0x00a00080, 0x00a00080, 0x00a00080 },
1714    { 0x0000989c, 0x00400000, 0x00400000, 0x0040000d, 0x0040000d, 0x0040000d },
1715    { 0x0000989c, 0x00110400, 0x00110400, 0x00110400, 0x00110400, 0x00110400 },
1716    { 0x0000989c, 0x00000060, 0x00000060, 0x00000060, 0x00000060, 0x00000060 },
1717    { 0x0000989c, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001 },
1718    { 0x0000989c, 0x00000b00, 0x00000b00, 0x00000b00, 0x00000b00, 0x00000b00 },
1719    { 0x0000989c, 0x00000be8, 0x00000be8, 0x00000be8, 0x00000be8, 0x00000be8 },
1720    { 0x000098c0, 0x00010000, 0x00010000, 0x00010000, 0x00010000, 0x00010000 },
1721};
1722#endif
1723
1724#ifdef AH_5212_5413
1725static const uint32_t ar5212Bank6_5413[][6] = {
1726    { 0x0000989c, 0x33000000, 0x33000000, 0x33000000, 0x33000000, 0x33000000 },
1727    { 0x0000989c, 0x01000000, 0x01000000, 0x01000000, 0x01000000, 0x01000000 },
1728    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1729    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1730    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1731    { 0x0000989c, 0x1f000000, 0x1f000000, 0x1f000000, 0x1f000000, 0x1f000000 },
1732    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1733    { 0x0000989c, 0x00b80000, 0x00b80000, 0x00b80000, 0x00b80000, 0x00b80000 },
1734    { 0x0000989c, 0x00b70000, 0x00b70000, 0x00b70000, 0x00b70000, 0x00b70000 },
1735    { 0x0000989c, 0x00840000, 0x00840000, 0x00840000, 0x00840000, 0x00840000 },
1736    { 0x0000989c, 0x00980000, 0x00980000, 0x00980000, 0x00980000, 0x00980000 },
1737    { 0x0000989c, 0x00c00000, 0x00c00000, 0x00c00000, 0x00c00000, 0x00c00000 },
1738    { 0x0000989c, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 },
1739    { 0x0000989c, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 },
1740    { 0x0000989c, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 },
1741    { 0x0000989c, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000, 0x00ff0000 },
1742    { 0x0000989c, 0x00d70000, 0x00d70000, 0x00d70000, 0x00d70000, 0x00d70000 },
1743    { 0x0000989c, 0x00610000, 0x00610000, 0x00610000, 0x00610000, 0x00610000 },
1744    { 0x0000989c, 0x00fe0000, 0x00fe0000, 0x00fe0000, 0x00fe0000, 0x00fe0000 },
1745    { 0x0000989c, 0x00de0000, 0x00de0000, 0x00de0000, 0x00de0000, 0x00de0000 },
1746    { 0x0000989c, 0x007f0000, 0x007f0000, 0x007f0000, 0x007f0000, 0x007f0000 },
1747    { 0x0000989c, 0x043d0000, 0x043d0000, 0x043d0000, 0x043d0000, 0x043d0000 },
1748    { 0x0000989c, 0x00770000, 0x00770000, 0x00770000, 0x00770000, 0x00770000 },
1749    { 0x0000989c, 0x00440000, 0x00440000, 0x00440000, 0x00440000, 0x00440000 },
1750    { 0x0000989c, 0x00980000, 0x00980000, 0x00980000, 0x00980000, 0x00980000 },
1751    { 0x0000989c, 0x00100080, 0x00100080, 0x00100080, 0x00100080, 0x00100080 },
1752    { 0x0000989c, 0x0005c034, 0x0005c034, 0x0005c034, 0x0005c034, 0x0005c034 },
1753    { 0x0000989c, 0x003100f0, 0x003100f0, 0x003100f0, 0x003100f0, 0x003100f0 },
1754    { 0x0000989c, 0x000c011f, 0x000c011f, 0x000c011f, 0x000c011f, 0x000c011f },
1755    { 0x0000989c, 0x00510040, 0x00510040, 0x00510040, 0x00510040, 0x00510040 },
1756    { 0x0000989c, 0x005000da, 0x005000da, 0x005000da, 0x005000da, 0x005000da },
1757    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1758    { 0x0000989c, 0x00004044, 0x00004044, 0x00004044, 0x00004044, 0x00004044 },
1759    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1760    { 0x0000989c, 0x000060c0, 0x000060c0, 0x000060c0, 0x000060c0, 0x000060c0 },
1761    { 0x0000989c, 0x00002c00, 0x00002c00, 0x00003600, 0x00003600, 0x00002c00 },
1762    { 0x000098c8, 0x00000403, 0x00000403, 0x00000403, 0x00000403, 0x00000403 },
1763};
1764#endif /* AH_5212_5413 */
1765
1766#ifdef AH_5212_2425
1767static const uint32_t ar5212Bank6_2425[][6] = {
1768    { 0x0000989c, 0x10000000, 0x10000000, 0x10000000, 0x10000000, 0x10000000 },
1769    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1770    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1771    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1772    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1773    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1774    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1775    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1776    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1777    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1778    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1779    { 0x0000989c, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 },
1780    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1781    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1782    { 0x0000989c, 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000 },
1783    { 0x0000989c, 0x00020000, 0x00020000, 0x00020000, 0x00020000, 0x00020000 },
1784    { 0x0000989c, 0x00730000, 0x00730000, 0x00730000, 0x00730000, 0x00730000 },
1785    { 0x0000989c, 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000 },
1786    { 0x0000989c, 0x00e70000, 0x00e70000, 0x00e70000, 0x00e70000, 0x00e70000 },
1787    { 0x0000989c, 0x00140000, 0x00140000, 0x00140000, 0x00140000, 0x00140000 },
1788    { 0x0000989c, 0x00910040, 0x00910040, 0x00910040, 0x00910040, 0x00910040 },
1789    { 0x0000989c, 0x0007001a, 0x0007001a, 0x0007001a, 0x0007001a, 0x0007001a },
1790    { 0x0000989c, 0x00410000, 0x00410000, 0x00410000, 0x00410000, 0x00410000 },
1791    { 0x0000989c, 0x00810000, 0x00810000, 0x00810060, 0x00810060, 0x00810060 },
1792    { 0x0000989c, 0x00020800, 0x00020800, 0x00020803, 0x00020803, 0x00020803 },
1793    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1794    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1795    { 0x0000989c, 0x00001660, 0x00001660, 0x00001660, 0x00001660, 0x00001660 },
1796    { 0x0000989c, 0x00001688, 0x00001688, 0x00001688, 0x00001688, 0x00001688 },
1797    { 0x000098c4, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001 },
1798};
1799#endif /* AH_5212_2425 */
1800
1801#ifdef AH_5212_2417
1802static const uint32_t ar5212Bank6_2417[][6] = {
1803    { 0x0000989c, 0x10000000, 0x10000000, 0x10000000, 0x10000000, 0x10000000 },
1804    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1805    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1806    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1807    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1808    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1809    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1810    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1811    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1812    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1813    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1814    { 0x0000989c, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 },
1815    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1816    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1817    { 0x0000989c, 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000 },
1818    { 0x0000989c, 0x00020000, 0x00020000, 0x00020000, 0x00020000, 0x00020000 },
1819    { 0x0000989c, 0x00730000, 0x00730000, 0x00730000, 0x00730000, 0x00730000 },
1820    { 0x0000989c, 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000 },
1821    { 0x0000989c, 0x00e70000, 0x00e70000, 0x80e70000, 0x80e70000, 0x00e70000 },
1822    { 0x0000989c, 0x00140000, 0x00140000, 0x00140000, 0x00140000, 0x00140000 },
1823    { 0x0000989c, 0x00910040, 0x00910040, 0x00910040, 0x00910040, 0x00910040 },
1824    { 0x0000989c, 0x0007001a, 0x0007001a, 0x0207001a, 0x0207001a, 0x0007001a },
1825    { 0x0000989c, 0x00410000, 0x00410000, 0x00410000, 0x00410000, 0x00410000 },
1826    { 0x0000989c, 0x00810000, 0x00810000, 0x00810060, 0x00810060, 0x00810060 },
1827    { 0x0000989c, 0x00020800, 0x00020800, 0x00020803, 0x00020803, 0x00020803 },
1828    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1829    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1830    { 0x0000989c, 0x00001660, 0x00001660, 0x00001660, 0x00001660, 0x00001660 },
1831    { 0x0000989c, 0x00001688, 0x00001688, 0x00001688, 0x00001688, 0x00001688 },
1832    { 0x000098c4, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001 },
1833};
1834#endif /* AH_5212_2417 */
1835
1836#ifdef AH_5212_5111
1837static const uint32_t ar5212Bank7_5111[][6] = {
1838    { 0x0000989c, 0x00000040, 0x00000048, 0x00000040, 0x00000040, 0x00000040 },
1839    { 0x0000989c, 0x00000010, 0x00000010, 0x00000010, 0x00000010, 0x00000010 },
1840    { 0x0000989c, 0x00000008, 0x00000008, 0x00000008, 0x00000008, 0x00000008 },
1841    { 0x0000989c, 0x0000004f, 0x0000004f, 0x0000004f, 0x0000004f, 0x0000004f },
1842    { 0x0000989c, 0x000000f1, 0x000000f1, 0x00000061, 0x000000f1, 0x000000f1 },
1843    { 0x0000989c, 0x0000904f, 0x0000904f, 0x0000904c, 0x0000904f, 0x0000904f },
1844    { 0x0000989c, 0x0000125a, 0x0000125a, 0x0000129a, 0x0000125a, 0x0000125a },
1845    { 0x000098cc, 0x0000000e, 0x0000000e, 0x0000000f, 0x0000000e, 0x0000000e },
1846};
1847#endif /* AH_5212_5111 */
1848
1849#ifdef AH_5212_5112
1850static const uint32_t ar5212Bank7_5112[][6] = {
1851    { 0x0000989c, 0x00000094, 0x00000094, 0x00000094, 0x00000094, 0x00000094 },
1852    { 0x0000989c, 0x00000091, 0x00000091, 0x00000091, 0x00000091, 0x00000091 },
1853    { 0x0000989c, 0x00000012, 0x00000012, 0x00000012, 0x00000012, 0x00000012 },
1854    { 0x0000989c, 0x00000080, 0x00000080, 0x00000080, 0x00000080, 0x00000080 },
1855    { 0x0000989c, 0x000000d9, 0x000000d9, 0x000000d9, 0x000000d9, 0x000000d9 },
1856    { 0x0000989c, 0x00000060, 0x00000060, 0x00000060, 0x00000060, 0x00000060 },
1857    { 0x0000989c, 0x000000f0, 0x000000f0, 0x000000f0, 0x000000f0, 0x000000f0 },
1858    { 0x0000989c, 0x000000a2, 0x000000a2, 0x000000a2, 0x000000a2, 0x000000a2 },
1859    { 0x0000989c, 0x00000052, 0x00000052, 0x00000052, 0x00000052, 0x00000052 },
1860    { 0x0000989c, 0x000000d4, 0x000000d4, 0x000000d4, 0x000000d4, 0x000000d4 },
1861    { 0x0000989c, 0x000014cc, 0x000014cc, 0x000014cc, 0x000014cc, 0x000014cc },
1862    { 0x0000989c, 0x0000048c, 0x0000048c, 0x0000048c, 0x0000048c, 0x0000048c },
1863    { 0x000098c4, 0x00000003, 0x00000003, 0x00000003, 0x00000003, 0x00000003 },
1864};
1865#endif /* AH_5212_5112 */
1866
1867#ifdef AH_5212_2413
1868static const uint32_t ar5212Bank7_2413[][6] = {
1869    { 0x0000989c, 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 },
1870    { 0x0000989c, 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 },
1871    { 0x000098cc, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e },
1872};
1873#endif /* AH_5212_2413 */
1874
1875#ifdef AH_5212_2316
1876static const uint32_t ar5212Bank7_2316[][6] = {
1877    { 0x0000989c, 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 },
1878    { 0x0000989c, 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 },
1879    { 0x000098cc, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e },
1880};
1881#endif
1882
1883#ifdef AH_5212_5413
1884static const uint32_t ar5212Bank7_5413[][6] = {
1885    { 0x0000989c, 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 },
1886    { 0x0000989c, 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 },
1887    { 0x000098cc, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e },
1888};
1889#endif /* AH_5212_5413 */
1890
1891#ifdef AH_5212_2317
1892static const uint32_t ar5212Modes_2317[][6] = {
1893    { 0x00000030, 0x00000015, 0x00000015, 0x00000015, 0x00000015, 0x00000015 },
1894    { 0x0000801c, 0x128d93a7, 0x098813cf, 0x04e01395, 0x12e013ab, 0x098813cf },
1895    { 0x00009828, 0x0a020001, 0x0a020001, 0x05020000, 0x0a020001, 0x0a020001 },
1896    { 0x00009834, 0x00000e00, 0x00000e00, 0x00000e00, 0x00000e00, 0x00000e00 },
1897    { 0x00009838, 0x00000002, 0x00000002, 0x0000000a, 0x0000000a, 0x0000000a },
1898    { 0x00009848, 0x0018da6d, 0x0018da6d, 0x001a6a67, 0x001a6a67, 0x001a6a67 },
1899    { 0x00009850, 0x0de8b4e0, 0x0de8b4e0, 0x0de8b0da, 0x0c98b0da, 0x0de8b0da },
1900    { 0x00009858, 0x7e800d2e, 0x7e800d2e, 0x7ee80d2e, 0x7ec80d2e, 0x7e800d2e },
1901    { 0x0000985c, 0x3137665e, 0x3137665e, 0x3137665e, 0x3139605e, 0x3137665e },
1902    { 0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081 },
1903    { 0x00009914, 0x000007d0, 0x000007d0, 0x0000044c, 0x00000898, 0x000007d0 },
1904    { 0x00009944, 0xf7b81000, 0xf7b81000, 0xf7b80d00, 0xf7b81000, 0xf7b81000 },
1905    { 0x0000a204, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
1906    { 0x0000a208, 0xd6be6788, 0xd6be6788, 0xd03e6788, 0xd03e6788, 0xd03e6788 },
1907    { 0x0000a20c, 0x002c0140, 0x002c0140, 0x0042c140, 0x0042c140, 0x0042c140 },
1908    { 0x0000a21c, 0x1883800a, 0x1883800a, 0x1863800a, 0x1883800a, 0x1883800a },
1909};
1910
1911static const uint32_t ar5212Common_2317[][2] = {
1912    { 0x00001230, 0x000003e0 },
1913    { 0x00008060, 0x0000000f },
1914    { 0x00008118, 0x00000000 },
1915    { 0x0000811c, 0x00000000 },
1916    { 0x00008120, 0x00000000 },
1917    { 0x00008124, 0x00000000 },
1918    { 0x00008128, 0x00000000 },
1919    { 0x0000812c, 0x00000000 },
1920    { 0x00008130, 0x00000000 },
1921    { 0x00008134, 0x00000000 },
1922    { 0x00008138, 0x00000000 },
1923    { 0x0000813c, 0x00000000 },
1924    { 0x00008140, 0x800000a8 },
1925    { 0x00008144, 0x00000000 },
1926    { 0x00009808, 0x00004000 },
1927    { 0x0000982c, 0x0000a000 },
1928    { 0x0000983c, 0x00200400 },
1929    { 0x0000984c, 0x1284233c },
1930    { 0x00009870, 0x0000001f },
1931    { 0x00009874, 0x00000080 },
1932    { 0x00009878, 0x0000000e },
1933    { 0x00009958, 0x000000ff },
1934    { 0x00009980, 0x00000000 },
1935    { 0x00009984, 0x02800000 },
1936    { 0x000099a0, 0x00000000 },
1937    { 0x000099e0, 0x00000001 },
1938    { 0x000099e4, 0xaaaaaaaa },
1939    { 0x000099e8, 0x3c466478 },
1940    { 0x000099ec, 0x000000aa },
1941    { 0x000099f0, 0x0000000c },
1942    { 0x000099f4, 0x000000ff },
1943    { 0x000099f8, 0x00000014 },
1944    { 0x0000a228, 0x000009b5 },
1945    { 0x0000a23c, 0x93c889af },
1946    { 0x0000a24c, 0x00000001 },
1947    { 0x0000a250, 0x0000a000 },
1948    { 0x0000a254, 0x00000000 },
1949    { 0x0000a258, 0x0cc75380 },
1950    { 0x0000a25c, 0x0f0f0f01 },
1951    { 0x0000a260, 0x5f690f01 },
1952    { 0x0000a264, 0x00418a11 },
1953    { 0x0000a268, 0x00000000 },
1954    { 0x0000a26c, 0x0c30c16a },
1955    { 0x0000a270, 0x00820820 },
1956    { 0x0000a274, 0x081a3caa },
1957    { 0x0000a278, 0x1ce739ce },
1958    { 0x0000a27c, 0x051701ce },
1959    { 0x0000a300, 0x16010000 },
1960    { 0x0000a304, 0x2c032402 },
1961    { 0x0000a308, 0x48433e42 },
1962    { 0x0000a30c, 0x5a0f500b },
1963    { 0x0000a310, 0x6c4b624a },
1964    { 0x0000a314, 0x7e8b748a },
1965    { 0x0000a318, 0x96cf8ccb },
1966    { 0x0000a31c, 0xa34f9d0f },
1967    { 0x0000a320, 0xa7cfa58f },
1968    { 0x0000a348, 0x3fffffff },
1969    { 0x0000a34c, 0x3fffffff },
1970    { 0x0000a350, 0x3fffffff },
1971    { 0x0000a354, 0x0003ffff },
1972    { 0x0000a358, 0x79a8aa1f },
1973    { 0x0000a35c, 0x066c420f },
1974    { 0x0000a360, 0x0f282207 },
1975    { 0x0000a364, 0x17601685 },
1976    { 0x0000a368, 0x1f801104 },
1977    { 0x0000a36c, 0x37a00c03 },
1978    { 0x0000a370, 0x3fc40883 },
1979    { 0x0000a374, 0x57c00803 },
1980    { 0x0000a378, 0x5fd80682 },
1981    { 0x0000a37c, 0x7fe00482 },
1982    { 0x0000a380, 0x7f3c7bba },
1983    { 0x0000a384, 0xf3307ff0 },
1984    { 0x00009b04, 0x00000001 },
1985    { 0x00009b08, 0x00000002 },
1986    { 0x00009b0c, 0x00000003 },
1987    { 0x00009b10, 0x00000004 },
1988    { 0x00009b14, 0x00000005 },
1989    { 0x00009b18, 0x00000008 },
1990    { 0x00009b1c, 0x00000009 },
1991    { 0x00009b20, 0x0000000a },
1992    { 0x00009b24, 0x0000000b },
1993    { 0x00009b2c, 0x0000000d },
1994    { 0x00009b30, 0x00000010 },
1995    { 0x00009b34, 0x00000011 },
1996    { 0x00009b3c, 0x00000013 },
1997    { 0x00009b40, 0x00000014 },
1998    { 0x00009b44, 0x00000015 },
1999    { 0x00009b48, 0x00000018 },
2000    { 0x00009b4c, 0x00000019 },
2001    { 0x00009b50, 0x0000001a },
2002    { 0x00009b54, 0x0000001b },
2003    { 0x00009b58, 0x0000001c },
2004    { 0x00009b5c, 0x0000001d },
2005    { 0x00009b60, 0x00000020 },
2006    { 0x00009b68, 0x00000022 },
2007    { 0x00009b6c, 0x00000023 },
2008    { 0x00009b70, 0x00000024 },
2009    { 0x00009b74, 0x00000025 },
2010    { 0x00009b78, 0x00000028 },
2011    { 0x00009b7c, 0x00000029 },
2012    { 0x00009b80, 0x0000002a },
2013    { 0x00009b84, 0x0000002b },
2014    { 0x00009b88, 0x0000002c },
2015    { 0x00009b90, 0x00000030 },
2016    { 0x00009b94, 0x00000031 },
2017    { 0x00009b98, 0x00000032 },
2018    { 0x00009ba0, 0x00000034 },
2019    { 0x00009ba4, 0x00000035 },
2020    { 0x00009ba8, 0x00000035 },
2021    { 0x00009bac, 0x00000035 },
2022    { 0x00009bb0, 0x00000035 },
2023    { 0x00009bb4, 0x00000035 },
2024    { 0x00009bb8, 0x00000035 },
2025    { 0x00009bbc, 0x00000035 },
2026    { 0x00009bc0, 0x00000035 },
2027    { 0x00009bc4, 0x00000035 },
2028    { 0x00009bc8, 0x00000035 },
2029    { 0x00009bcc, 0x00000035 },
2030    { 0x00009bd0, 0x00000035 },
2031    { 0x00009bd4, 0x00000035 },
2032    { 0x00009bd8, 0x00000035 },
2033    { 0x00009bdc, 0x00000035 },
2034    { 0x00009be0, 0x00000035 },
2035    { 0x00009be4, 0x00000035 },
2036    { 0x00009be8, 0x00000035 },
2037    { 0x00009bec, 0x00000035 },
2038    { 0x00009bf0, 0x00000035 },
2039    { 0x00009bf4, 0x00000035 },
2040    { 0x00009bf8, 0x00000010 },
2041    { 0x00009bfc, 0x0000001a },
2042};
2043
2044static const uint32_t ar5212BB_RfGain_2317[][3] = {
2045    { 0x00009a00, 0x00000000, 0x00000000 },
2046    { 0x00009a04, 0x00000000, 0x00000040 },
2047    { 0x00009a08, 0x00000000, 0x00000080 },
2048    { 0x00009a0c, 0x00000000, 0x00000181 },
2049    { 0x00009a10, 0x00000000, 0x000001c1 },
2050    { 0x00009a14, 0x00000000, 0x00000001 },
2051    { 0x00009a18, 0x00000000, 0x00000041 },
2052    { 0x00009a1c, 0x00000000, 0x00000081 },
2053    { 0x00009a20, 0x00000000, 0x00000188 },
2054    { 0x00009a24, 0x00000000, 0x000001c8 },
2055    { 0x00009a28, 0x00000000, 0x00000008 },
2056    { 0x00009a2c, 0x00000000, 0x00000048 },
2057    { 0x00009a30, 0x00000000, 0x00000088 },
2058    { 0x00009a34, 0x00000000, 0x00000189 },
2059    { 0x00009a38, 0x00000000, 0x000001c9 },
2060    { 0x00009a3c, 0x00000000, 0x00000009 },
2061    { 0x00009a40, 0x00000000, 0x00000049 },
2062    { 0x00009a44, 0x00000000, 0x00000089 },
2063    { 0x00009a48, 0x00000000, 0x00000190 },
2064    { 0x00009a4c, 0x00000000, 0x000001d0 },
2065    { 0x00009a50, 0x00000000, 0x00000010 },
2066    { 0x00009a54, 0x00000000, 0x00000050 },
2067    { 0x00009a58, 0x00000000, 0x00000090 },
2068    { 0x00009a5c, 0x00000000, 0x00000191 },
2069    { 0x00009a60, 0x00000000, 0x000001d1 },
2070    { 0x00009a64, 0x00000000, 0x00000011 },
2071    { 0x00009a68, 0x00000000, 0x00000051 },
2072    { 0x00009a6c, 0x00000000, 0x00000091 },
2073    { 0x00009a70, 0x00000000, 0x00000178 },
2074    { 0x00009a74, 0x00000000, 0x000001b8 },
2075    { 0x00009a78, 0x00000000, 0x000001f8 },
2076    { 0x00009a7c, 0x00000000, 0x00000038 },
2077    { 0x00009a80, 0x00000000, 0x00000078 },
2078    { 0x00009a84, 0x00000000, 0x00000179 },
2079    { 0x00009a88, 0x00000000, 0x000001b9 },
2080    { 0x00009a8c, 0x00000000, 0x000001f9 },
2081    { 0x00009a90, 0x00000000, 0x00000039 },
2082    { 0x00009a94, 0x00000000, 0x00000079 },
2083    { 0x00009a98, 0x00000000, 0x000000b9 },
2084    { 0x00009a9c, 0x00000000, 0x000000f9 },
2085    { 0x00009aa0, 0x00000000, 0x000000f9 },
2086    { 0x00009aa4, 0x00000000, 0x000000f9 },
2087    { 0x00009aa8, 0x00000000, 0x000000f9 },
2088    { 0x00009aac, 0x00000000, 0x000000f9 },
2089    { 0x00009ab0, 0x00000000, 0x000000f9 },
2090    { 0x00009ab4, 0x00000000, 0x000000f9 },
2091    { 0x00009ab8, 0x00000000, 0x000000f9 },
2092    { 0x00009abc, 0x00000000, 0x000000f9 },
2093    { 0x00009ac0, 0x00000000, 0x000000f9 },
2094    { 0x00009ac4, 0x00000000, 0x000000f9 },
2095    { 0x00009ac8, 0x00000000, 0x000000f9 },
2096    { 0x00009acc, 0x00000000, 0x000000f9 },
2097    { 0x00009ad0, 0x00000000, 0x000000f9 },
2098    { 0x00009ad4, 0x00000000, 0x000000f9 },
2099    { 0x00009ad8, 0x00000000, 0x000000f9 },
2100    { 0x00009adc, 0x00000000, 0x000000f9 },
2101    { 0x00009ae0, 0x00000000, 0x000000f9 },
2102    { 0x00009ae4, 0x00000000, 0x000000f9 },
2103    { 0x00009ae8, 0x00000000, 0x000000f9 },
2104    { 0x00009aec, 0x00000000, 0x000000f9 },
2105    { 0x00009af0, 0x00000000, 0x000000f9 },
2106    { 0x00009af4, 0x00000000, 0x000000f9 },
2107    { 0x00009af8, 0x00000000, 0x000000f9 },
2108    { 0x00009afc, 0x00000000, 0x000000f9 },
2109};
2110
2111static const uint32_t ar5212Bank1_2317[][2] = {
2112    { 0x000098d4, 0x00000020 },
2113};
2114
2115static const uint32_t ar5212Bank2_2317[][6] = {
2116    { 0x000098d0, 0x02001408, 0x02011408, 0x02001408, 0x02001408, 0x02011408 },
2117};
2118
2119static const uint32_t ar5212Bank3_2317[][6] = {
2120    { 0x000098dc, 0x00a020c0, 0x00a020c0, 0x00e020c0, 0x00e020c0, 0x00e020c0 },
2121};
2122
2123static const uint32_t ar5212Bank6_2317[][6] = {
2124    { 0x0000989c, 0x10000000, 0x10000000, 0x10000000, 0x10000000, 0x10000000 },
2125    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2126    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2127    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2128    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2129    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2130    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2131    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2132    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2133    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2134    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2135    { 0x0000989c, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000, 0x002a0000 },
2136    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2137    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2138    { 0x0000989c, 0x00100000, 0x00100000, 0x00100000, 0x00100000, 0x00100000 },
2139    { 0x0000989c, 0x00020000, 0x00020000, 0x00020000, 0x00020000, 0x00020000 },
2140    { 0x0000989c, 0x00730000, 0x00730000, 0x00730000, 0x00730000, 0x00730000 },
2141    { 0x0000989c, 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000, 0x00f80000 },
2142    { 0x0000989c, 0x00e70000, 0x00e70000, 0x00e70000, 0x00e70000, 0x00e70000 },
2143    { 0x0000989c, 0x00140100, 0x00140100, 0x00140100, 0x00140100, 0x00140100 },
2144    { 0x0000989c, 0x00910040, 0x00910040, 0x00910040, 0x00910040, 0x00910040 },
2145    { 0x0000989c, 0x0007001a, 0x0007001a, 0x0007001a, 0x0007001a, 0x0007001a },
2146    { 0x0000989c, 0x00410000, 0x00410000, 0x00410000, 0x00410000, 0x00410000 },
2147    { 0x0000989c, 0x00810000, 0x00810000, 0x00810060, 0x00810060, 0x00810060 },
2148    { 0x0000989c, 0x00020800, 0x00020800, 0x00020803, 0x00020803, 0x00020803 },
2149    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2150    { 0x0000989c, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
2151    { 0x0000989c, 0x00001660, 0x00001660, 0x00001660, 0x00001660, 0x00001660 },
2152    { 0x0000989c, 0x00001688, 0x00001688, 0x00001688, 0x00001688, 0x00001688 },
2153    { 0x000098c4, 0x00000001, 0x00000001, 0x00000001, 0x00000001, 0x00000001 },
2154};
2155
2156static const uint32_t ar5212Bank7_2317[][6] = {
2157    { 0x0000989c, 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 },
2158    { 0x0000989c, 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 },
2159    { 0x000098cc, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e },
2160};
2161#endif /* AH_5212_2317 */
2162
2163#ifdef AH_5212_2425
2164static const uint32_t ar5212Bank7_2425[][6] = {
2165    { 0x0000989c, 0x00006400, 0x00006400, 0x00006400, 0x00006400, 0x00006400 },
2166    { 0x0000989c, 0x00000800, 0x00000800, 0x00000800, 0x00000800, 0x00000800 },
2167    { 0x000098cc, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e, 0x0000000e },
2168};
2169#endif /* AH_5212_2425 */
2170