xref: /freebsd/sys/dev/ath/ath_hal/ar5210/ar5k_0007.ini (revision 2008043f386721d58158e37e0d7e50df8095942d)
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2004 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
18    /* crete register init */
19    { 0x00009800, 0x00000047 },
20    { 0x00009808, 0x00000000 },
21    { 0x0000980c, 0x09848ea6 },
22    { 0x00009810, 0x3d32e000 },
23    { 0x00009814, 0x0000076b },
24    { 0x0000981c, 0x00000000 },
25    { 0x00009820, 0x02020200 },
26    { 0x00009824, 0x00000e0e },
27    { 0x00009828, 0x0a020201 },
28    { 0x0000982c, 0x00036ffc },
29    { 0x00009830, 0x00000000 },
30    { 0x00009834, 0x00000e0e },
31    { 0x00009838, 0x00000007 },
32    { 0x0000983c, 0x00020100 },
33    { 0x00009840, 0x89630000 },
34    { 0x00009844, 0x1372169c },
35    { 0x00009848, 0x0018b633 },
36    { 0x0000984c, 0x1284613c },
37    { 0x00009850, 0x0de8b8e0 },
38    { 0x00009854, 0x00074859 },
39    { 0x00009858, 0x7e80beba },
40    { 0x0000985c, 0x313a665e },
41    { 0x00009860, 0x00001d08 },
42    { 0x00009864, 0x0001ce00 },
43    { 0x00009868, 0x409a4190 },
44    { 0x00009870, 0x0000000f },
45    { 0x00009874, 0x00000080 },
46    { 0x00009878, 0x00000004 },
47    { 0x00009900, 0x00000000 },
48    { 0x00009904, 0x00000000 },
49    { 0x00009908, 0x00000000 },
50    { 0x0000990c, 0x00800000 },
51    { 0x00009910, 0x00000003 },
52
53
54    /* bb gain table */
55    { 0x00009b00, 0x00000000 },
56    { 0x00009b04, 0x00000020 },
57    { 0x00009b08, 0x00000010 },
58    { 0x00009b0c, 0x00000030 },
59    { 0x00009b10, 0x00000008 },
60    { 0x00009b14, 0x00000028 },
61    { 0x00009b18, 0x00000028 },
62    { 0x00009b1c, 0x00000004 },
63    { 0x00009b20, 0x00000024 },
64    { 0x00009b24, 0x00000014 },
65    { 0x00009b28, 0x00000034 },
66    { 0x00009b2c, 0x0000000c },
67    { 0x00009b30, 0x0000002c },
68    { 0x00009b34, 0x00000002 },
69    { 0x00009b38, 0x00000022 },
70    { 0x00009b3c, 0x00000012 },
71    { 0x00009b40, 0x00000032 },
72    { 0x00009b44, 0x0000000a },
73    { 0x00009b48, 0x0000002a },
74    { 0x00009b4c, 0x00000001 },
75    { 0x00009b50, 0x00000021 },
76    { 0x00009b54, 0x00000011 },
77    { 0x00009b58, 0x00000031 },
78    { 0x00009b5c, 0x00000009 },
79    { 0x00009b60, 0x00000029 },
80    { 0x00009b64, 0x00000005 },
81    { 0x00009b68, 0x00000025 },
82    { 0x00009b6c, 0x00000015 },
83    { 0x00009b70, 0x00000035 },
84    { 0x00009b74, 0x0000000d },
85    { 0x00009b78, 0x0000002d },
86    { 0x00009b7c, 0x00000003 },
87    { 0x00009b80, 0x00000023 },
88    { 0x00009b84, 0x00000013 },
89    { 0x00009b88, 0x00000033 },
90    { 0x00009b8c, 0x0000000b },
91    { 0x00009b90, 0x0000002b },
92    { 0x00009b94, 0x00000007 },
93    { 0x00009b98, 0x00000027 },
94    { 0x00009b9c, 0x00000017 },
95    { 0x00009ba0, 0x00000037 },
96    { 0x00009ba4, 0x0000000f },
97    { 0x00009ba8, 0x0000002f },
98    { 0x00009bac, 0x0000002f },
99    { 0x00009bb0, 0x0000002f },
100    { 0x00009bb4, 0x0000002f },
101    { 0x00009bb8, 0x0000002f },
102    { 0x00009bbc, 0x0000002f },
103    { 0x00009bc0, 0x0000002f },
104    { 0x00009bc4, 0x0000002f },
105    { 0x00009bc8, 0x0000002f },
106    { 0x00009bcc, 0x0000002f },
107    { 0x00009bd0, 0x0000002f },
108    { 0x00009bd4, 0x0000002f },
109    { 0x00009bd8, 0x0000002f },
110    { 0x00009bdc, 0x0000002f },
111    { 0x00009be0, 0x0000002f },
112    { 0x00009be4, 0x0000002f },
113    { 0x00009be8, 0x0000002f },
114    { 0x00009bec, 0x0000002f },
115    { 0x00009bf0, 0x0000002f },
116    { 0x00009bf4, 0x0000002f },
117    { 0x00009bf8, 0x0000002f },
118    { 0x00009bfc, 0x0000002f },
119
120    /* rf gain table */
121    { 0x00009a00, 0x0000001d },
122    { 0x00009a04, 0x0000005d },
123    { 0x00009a08, 0x0000009d },
124    { 0x00009a0c, 0x000000dd },
125    { 0x00009a10, 0x0000011d },
126    { 0x00009a14, 0x00000021 },
127    { 0x00009a18, 0x00000061 },
128    { 0x00009a1c, 0x000000a1 },
129    { 0x00009a20, 0x000000e1 },
130    { 0x00009a24, 0x00000031 },
131    { 0x00009a28, 0x00000071 },
132    { 0x00009a2c, 0x000000b1 },
133    { 0x00009a30, 0x0000001c },
134    { 0x00009a34, 0x0000005c },
135    { 0x00009a38, 0x00000029 },
136    { 0x00009a3c, 0x00000069 },
137    { 0x00009a40, 0x000000a9 },
138    { 0x00009a44, 0x00000020 },
139    { 0x00009a48, 0x00000019 },
140    { 0x00009a4c, 0x00000059 },
141    { 0x00009a50, 0x00000099 },
142    { 0x00009a54, 0x00000030 },
143    { 0x00009a58, 0x00000005 },
144    { 0x00009a5c, 0x00000025 },
145    { 0x00009a60, 0x00000065 },
146    { 0x00009a64, 0x000000a5 },
147    { 0x00009a68, 0x00000028 },
148    { 0x00009a6c, 0x00000068 },
149    { 0x00009a70, 0x0000001f },
150    { 0x00009a74, 0x0000001e },
151    { 0x00009a78, 0x00000018 },
152    { 0x00009a7c, 0x00000058 },
153    { 0x00009a80, 0x00000098 },
154    { 0x00009a84, 0x00000003 },
155    { 0x00009a88, 0x00000004 },
156    { 0x00009a8c, 0x00000044 },
157    { 0x00009a90, 0x00000084 },
158    { 0x00009a94, 0x00000013 },
159    { 0x00009a98, 0x00000012 },
160    { 0x00009a9c, 0x00000052 },
161    { 0x00009aa0, 0x00000092 },
162    { 0x00009aa4, 0x000000d2 },
163    { 0x00009aa8, 0x0000002b },
164    { 0x00009aac, 0x0000002a },
165    { 0x00009ab0, 0x0000006a },
166    { 0x00009ab4, 0x000000aa },
167    { 0x00009ab8, 0x0000001b },
168    { 0x00009abc, 0x0000001a },
169    { 0x00009ac0, 0x0000005a },
170    { 0x00009ac4, 0x0000009a },
171    { 0x00009ac8, 0x000000da },
172    { 0x00009acc, 0x00000006 },
173    { 0x00009ad0, 0x00000006 },
174    { 0x00009ad4, 0x00000006 },
175    { 0x00009ad8, 0x00000006 },
176    { 0x00009adc, 0x00000006 },
177    { 0x00009ae0, 0x00000006 },
178    { 0x00009ae4, 0x00000006 },
179    { 0x00009ae8, 0x00000006 },
180    { 0x00009aec, 0x00000006 },
181    { 0x00009af0, 0x00000006 },
182    { 0x00009af4, 0x00000006 },
183    { 0x00009af8, 0x00000006 },
184    { 0x00009afc, 0x00000006 },
185
186    /* fez register init */
187    { 0x000098d4, 0x00000020 },
188    { 0x000098cc, 0x00000004 },
189    { 0x000098c8, 0x00060106 },
190    { 0x0000989c, 0x0000006d },
191    { 0x000098c0, 0x00000000 },
192    { 0x000098d0, 0x00000014 },
193