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