1 /******************************************************************************
2  *
3  * Copyright(c) 2009-2014  Realtek Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  *
14  * The full GNU General Public License is included in this distribution in the
15  * file called LICENSE.
16  *
17  * Contact Information:
18  * wlanfae <wlanfae@realtek.com>
19  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20  * Hsinchu 300, Taiwan.
21  *
22  * Created on  2010/ 5/18,  1:41
23  *
24  * Larry Finger <Larry.Finger@lwfinger.net>
25  *
26  *****************************************************************************/
27 
28 #include "table.h"
29 u32 RTL8192EE_PHY_REG_ARRAY[] = {
30 		0x800, 0x80040000,
31 		0x804, 0x00000003,
32 		0x808, 0x0000FC00,
33 		0x80C, 0x0000000A,
34 		0x810, 0x10001331,
35 		0x814, 0x020C3D10,
36 		0x818, 0x02220385,
37 		0x81C, 0x00000000,
38 		0x820, 0x01000100,
39 		0x824, 0x00390204,
40 		0x828, 0x01000100,
41 		0x82C, 0x00390204,
42 		0x830, 0x32323232,
43 		0x834, 0x30303030,
44 		0x838, 0x30303030,
45 		0x83C, 0x30303030,
46 		0x840, 0x00010000,
47 		0x844, 0x00010000,
48 		0x848, 0x28282828,
49 		0x84C, 0x28282828,
50 		0x850, 0x00000000,
51 		0x854, 0x00000000,
52 		0x858, 0x009A009A,
53 		0x85C, 0x01000014,
54 		0x860, 0x66F60000,
55 		0x864, 0x061F0000,
56 		0x868, 0x30303030,
57 		0x86C, 0x30303030,
58 		0x870, 0x00000000,
59 		0x874, 0x55004200,
60 		0x878, 0x08080808,
61 		0x87C, 0x00000000,
62 		0x880, 0xB0000C1C,
63 		0x884, 0x00000001,
64 		0x888, 0x00000000,
65 		0x88C, 0xCC0000C0,
66 		0x890, 0x00000800,
67 		0x894, 0xFFFFFFFE,
68 		0x898, 0x40302010,
69 		0x900, 0x00000000,
70 		0x904, 0x00000023,
71 		0x908, 0x00000000,
72 		0x90C, 0x81121313,
73 		0x910, 0x806C0001,
74 		0x914, 0x00000001,
75 		0x918, 0x00000000,
76 		0x91C, 0x00010000,
77 		0x924, 0x00000001,
78 		0x928, 0x00000000,
79 		0x92C, 0x00000000,
80 		0x930, 0x00000000,
81 		0x934, 0x00000000,
82 		0x938, 0x00000000,
83 		0x93C, 0x00000000,
84 		0x940, 0x00000000,
85 		0x944, 0x00000000,
86 		0x94C, 0x00000008,
87 		0xA00, 0x00D0C7C8,
88 		0xA04, 0x81FF000C,
89 		0xA08, 0x8C838300,
90 		0xA0C, 0x2E68120F,
91 		0xA10, 0x95009B78,
92 		0xA14, 0x1114D028,
93 		0xA18, 0x00881117,
94 		0xA1C, 0x89140F00,
95 		0xA20, 0x1A1B0000,
96 		0xA24, 0x090E1317,
97 		0xA28, 0x00000204,
98 		0xA2C, 0x00D30000,
99 		0xA70, 0x101FBF00,
100 		0xA74, 0x00000007,
101 		0xA78, 0x00000900,
102 		0xA7C, 0x225B0606,
103 		0xA80, 0x218075B1,
104 		0xB38, 0x00000000,
105 		0xC00, 0x48071D40,
106 		0xC04, 0x03A05633,
107 		0xC08, 0x000000E4,
108 		0xC0C, 0x6C6C6C6C,
109 		0xC10, 0x08800000,
110 		0xC14, 0x40000100,
111 		0xC18, 0x08800000,
112 		0xC1C, 0x40000100,
113 		0xC20, 0x00000000,
114 		0xC24, 0x00000000,
115 		0xC28, 0x00000000,
116 		0xC2C, 0x00000000,
117 		0xC30, 0x69E9AC47,
118 		0xC34, 0x469652AF,
119 		0xC38, 0x49795994,
120 		0xC3C, 0x0A97971C,
121 		0xC40, 0x1F7C403F,
122 		0xC44, 0x000100B7,
123 		0xC48, 0xEC020107,
124 		0xC4C, 0x007F037F,
125 	0xFF010718, 0xABCD,
126 		0xC50, 0x00340220,
127 	0xCDCDCDCD, 0xCDCD,
128 		0xC50, 0x00340020,
129 	0xFF010718, 0xDEAD,
130 		0xC54, 0x0080801F,
131 	0xFF010718, 0xABCD,
132 		0xC58, 0x00000220,
133 	0xCDCDCDCD, 0xCDCD,
134 		0xC58, 0x00000020,
135 	0xFF010718, 0xDEAD,
136 		0xC5C, 0x00248492,
137 		0xC60, 0x00000000,
138 		0xC64, 0x7112848B,
139 		0xC68, 0x47C00BFF,
140 		0xC6C, 0x00000036,
141 		0xC70, 0x00000600,
142 		0xC74, 0x02013169,
143 		0xC78, 0x0000001F,
144 		0xC7C, 0x00B91612,
145 	0xFF010718, 0xABCD,
146 		0xC80, 0x2D4000B5,
147 	0xCDCDCDCD, 0xCDCD,
148 		0xC80, 0x40000100,
149 	0xFF010718, 0xDEAD,
150 		0xC84, 0x21F60000,
151 	0xFF010718, 0xABCD,
152 		0xC88, 0x2D4000B5,
153 	0xCDCDCDCD, 0xCDCD,
154 		0xC88, 0x40000100,
155 	0xFF010718, 0xDEAD,
156 		0xC8C, 0xA0E40000,
157 		0xC90, 0x00121820,
158 		0xC94, 0x00000000,
159 		0xC98, 0x00121820,
160 		0xC9C, 0x00007F7F,
161 		0xCA0, 0x00000000,
162 		0xCA4, 0x000300A0,
163 		0xCA8, 0x00000000,
164 		0xCAC, 0x00000000,
165 		0xCB0, 0x00000000,
166 		0xCB4, 0x00000000,
167 		0xCB8, 0x00000000,
168 		0xCBC, 0x28000000,
169 		0xCC0, 0x00000000,
170 		0xCC4, 0x00000000,
171 		0xCC8, 0x00000000,
172 		0xCCC, 0x00000000,
173 		0xCD0, 0x00000000,
174 		0xCD4, 0x00000000,
175 		0xCD8, 0x64B22427,
176 		0xCDC, 0x00766932,
177 		0xCE0, 0x00222222,
178 		0xCE4, 0x00040000,
179 		0xCE8, 0x77644302,
180 		0xCEC, 0x2F97D40C,
181 		0xD00, 0x00080740,
182 		0xD04, 0x00020403,
183 		0xD08, 0x0000907F,
184 		0xD0C, 0x20010201,
185 		0xD10, 0xA0633333,
186 		0xD14, 0x3333BC43,
187 		0xD18, 0x7A8F5B6B,
188 		0xD1C, 0x0000007F,
189 		0xD2C, 0xCC979975,
190 		0xD30, 0x00000000,
191 		0xD34, 0x80608000,
192 		0xD38, 0x00000000,
193 		0xD3C, 0x00127353,
194 		0xD40, 0x00000000,
195 		0xD44, 0x00000000,
196 		0xD48, 0x00000000,
197 		0xD4C, 0x00000000,
198 		0xD50, 0x6437140A,
199 		0xD54, 0x00000000,
200 		0xD58, 0x00000282,
201 		0xD5C, 0x30032064,
202 		0xD60, 0x4653DE68,
203 		0xD64, 0x04518A3C,
204 		0xD68, 0x00002101,
205 		0xD6C, 0x2A201C16,
206 		0xD70, 0x1812362E,
207 		0xD74, 0x322C2220,
208 		0xD78, 0x000E3C24,
209 		0xD80, 0x01081008,
210 		0xD84, 0x00000800,
211 		0xD88, 0xF0B50000,
212 		0xE00, 0x30303030,
213 		0xE04, 0x30303030,
214 		0xE08, 0x03903030,
215 		0xE10, 0x30303030,
216 		0xE14, 0x30303030,
217 		0xE18, 0x30303030,
218 		0xE1C, 0x30303030,
219 		0xE28, 0x00000000,
220 		0xE30, 0x1000DC1F,
221 		0xE34, 0x10008C1F,
222 		0xE38, 0x02140102,
223 		0xE3C, 0x681604C2,
224 		0xE40, 0x01007C00,
225 		0xE44, 0x01004800,
226 		0xE48, 0xFB000000,
227 		0xE4C, 0x000028D1,
228 		0xE50, 0x1000DC1F,
229 		0xE54, 0x10008C1F,
230 		0xE58, 0x02140102,
231 		0xE5C, 0x28160D05,
232 		0xE60, 0x00000008,
233 		0xE68, 0x0FC05656,
234 		0xE6C, 0x03C09696,
235 		0xE70, 0x03C09696,
236 		0xE74, 0x0C005656,
237 		0xE78, 0x0C005656,
238 		0xE7C, 0x0C005656,
239 		0xE80, 0x0C005656,
240 		0xE84, 0x03C09696,
241 		0xE88, 0x0C005656,
242 		0xE8C, 0x03C09696,
243 		0xED0, 0x03C09696,
244 		0xED4, 0x03C09696,
245 		0xED8, 0x03C09696,
246 		0xEDC, 0x0000D6D6,
247 		0xEE0, 0x0000D6D6,
248 		0xEEC, 0x0FC01616,
249 		0xEE4, 0xB0000C1C,
250 		0xEE8, 0x00000001,
251 		0xF14, 0x00000003,
252 		0xF4C, 0x00000000,
253 		0xF00, 0x00000300,
254 };
255 
256 u32 RTL8192EE_PHY_REG_ARRAY_PG[] = {
257 	0, 0, 0, 0x00000e08, 0x0000ff00, 0x00003200,
258 	0, 0, 1, 0x00000e08, 0x0000ff00, 0x00003200,
259 	0, 0, 0, 0x0000086c, 0xffffff00, 0x32323200,
260 	0, 0, 1, 0x0000086c, 0xffffff00, 0x32323200,
261 	0, 0, 0, 0x00000e00, 0xffffffff, 0x34343636,
262 	0, 0, 1, 0x00000e00, 0xffffffff, 0x34343636,
263 	0, 0, 0, 0x00000e04, 0xffffffff, 0x28283032,
264 	0, 0, 1, 0x00000e04, 0xffffffff, 0x28283032,
265 	0, 0, 0, 0x00000e10, 0xffffffff, 0x34363840,
266 	0, 0, 1, 0x00000e10, 0xffffffff, 0x34363840,
267 	0, 0, 0, 0x00000e14, 0xffffffff, 0x26283032,
268 	0, 0, 1, 0x00000e14, 0xffffffff, 0x26283032,
269 	0, 0, 1, 0x00000e18, 0xffffffff, 0x36384040,
270 	0, 0, 1, 0x00000e1c, 0xffffffff, 0x24262832,
271 	0, 1, 0, 0x00000838, 0xffffff00, 0x32323200,
272 	0, 1, 1, 0x00000838, 0xffffff00, 0x32323200,
273 	0, 1, 0, 0x0000086c, 0x000000ff, 0x00000032,
274 	0, 1, 1, 0x0000086c, 0x000000ff, 0x00000032,
275 	0, 1, 0, 0x00000830, 0xffffffff, 0x34343636,
276 	0, 1, 1, 0x00000830, 0xffffffff, 0x34343636,
277 	0, 1, 0, 0x00000834, 0xffffffff, 0x28283032,
278 	0, 1, 1, 0x00000834, 0xffffffff, 0x28283032,
279 	0, 1, 0, 0x0000083c, 0xffffffff, 0x34363840,
280 	0, 1, 1, 0x0000083c, 0xffffffff, 0x34363840,
281 	0, 1, 0, 0x00000848, 0xffffffff, 0x26283032,
282 	0, 1, 1, 0x00000848, 0xffffffff, 0x26283032,
283 	0, 1, 1, 0x0000084c, 0xffffffff, 0x36384040,
284 	0, 1, 1, 0x00000868, 0xffffffff, 0x24262832
285 };
286 
287 u32 RTL8192EE_RADIOA_ARRAY[] = {
288 		0x07F, 0x00000082,
289 		0x081, 0x0003FC00,
290 		0x000, 0x00030000,
291 		0x008, 0x00008400,
292 		0x018, 0x00000407,
293 		0x019, 0x00000012,
294 		0x01B, 0x00000064,
295 		0x01E, 0x00080009,
296 		0x01F, 0x00000880,
297 		0x02F, 0x0001A060,
298 		0x03F, 0x00000000,
299 		0x042, 0x000060C0,
300 		0x057, 0x000D0000,
301 		0x058, 0x000BE180,
302 		0x067, 0x00001552,
303 		0x083, 0x00000000,
304 		0x0B0, 0x000FF9F1,
305 		0x0B1, 0x00055418,
306 		0x0B2, 0x0008CC00,
307 		0x0B4, 0x00043083,
308 		0x0B5, 0x00008166,
309 		0x0B6, 0x0000803E,
310 		0x0B7, 0x0001C69F,
311 		0x0B8, 0x0000407F,
312 		0x0B9, 0x00080001,
313 		0x0BA, 0x00040001,
314 		0x0BB, 0x00000400,
315 		0x0BF, 0x000C0000,
316 		0x0C2, 0x00002400,
317 		0x0C3, 0x00000009,
318 		0x0C4, 0x00040C91,
319 		0x0C5, 0x00099999,
320 		0x0C6, 0x000000A3,
321 		0x0C7, 0x00088820,
322 		0x0C8, 0x00076C06,
323 		0x0C9, 0x00000000,
324 		0x0CA, 0x00080000,
325 		0x0DF, 0x00000180,
326 		0x0EF, 0x000001A0,
327 		0x051, 0x00069545,
328 		0x052, 0x0007E45E,
329 		0x053, 0x00000071,
330 		0x056, 0x00051FF3,
331 		0x035, 0x000000A8,
332 		0x035, 0x000001E2,
333 		0x035, 0x000002A8,
334 		0x036, 0x00001C24,
335 		0x036, 0x00009C24,
336 		0x036, 0x00011C24,
337 		0x036, 0x00019C24,
338 		0x018, 0x00000C07,
339 		0x05A, 0x00048000,
340 		0x019, 0x000739D0,
341 	0xFF010718, 0xABCD,
342 		0x034, 0x0000A093,
343 		0x034, 0x0000908F,
344 		0x034, 0x0000808C,
345 		0x034, 0x0000704D,
346 		0x034, 0x0000604A,
347 		0x034, 0x00005047,
348 		0x034, 0x0000400A,
349 		0x034, 0x00003007,
350 		0x034, 0x00002004,
351 		0x034, 0x00001001,
352 		0x034, 0x00000000,
353 	0xCDCDCDCD, 0xCDCD,
354 		0x034, 0x0000ADD7,
355 		0x034, 0x00009DD4,
356 		0x034, 0x00008DD1,
357 		0x034, 0x00007DCE,
358 		0x034, 0x00006DCB,
359 		0x034, 0x00005DC8,
360 		0x034, 0x00004DC5,
361 		0x034, 0x000034CC,
362 		0x034, 0x0000244F,
363 		0x034, 0x0000144C,
364 		0x034, 0x00000014,
365 	0xFF010718, 0xDEAD,
366 		0x000, 0x00030159,
367 		0x084, 0x00068180,
368 		0x086, 0x0000014E,
369 		0x087, 0x00048E00,
370 		0x08E, 0x00065540,
371 		0x08F, 0x00088000,
372 		0x0EF, 0x000020A0,
373 	0xFF010718, 0xABCD,
374 		0x03B, 0x000F07B0,
375 	0xCDCDCDCD, 0xCDCD,
376 		0x03B, 0x000F02B0,
377 	0xFF010718, 0xDEAD,
378 		0x03B, 0x000EF7B0,
379 		0x03B, 0x000D4FB0,
380 		0x03B, 0x000CF060,
381 		0x03B, 0x000B0090,
382 		0x03B, 0x000A0080,
383 		0x03B, 0x00090080,
384 		0x03B, 0x0008F780,
385 	0xFF010718, 0xABCD,
386 		0x03B, 0x000787B0,
387 	0xCDCDCDCD, 0xCDCD,
388 		0x03B, 0x00078730,
389 	0xFF010718, 0xDEAD,
390 		0x03B, 0x00060FB0,
391 		0x03B, 0x0005FFA0,
392 		0x03B, 0x00040620,
393 		0x03B, 0x00037090,
394 		0x03B, 0x00020080,
395 		0x03B, 0x0001F060,
396 		0x03B, 0x0000FFB0,
397 		0x0EF, 0x000000A0,
398 		0x0FE, 0x00000000,
399 		0x018, 0x0000FC07,
400 		0x0FE, 0x00000000,
401 		0x0FE, 0x00000000,
402 		0x0FE, 0x00000000,
403 		0x0FE, 0x00000000,
404 		0x01E, 0x00000001,
405 		0x01F, 0x00080000,
406 		0x000, 0x00033E70,
407 };
408 
409 u32 RTL8192EE_RADIOB_ARRAY[] = {
410 		0x07F, 0x00000082,
411 		0x081, 0x0003FC00,
412 		0x000, 0x00030000,
413 		0x008, 0x00008400,
414 		0x018, 0x00000407,
415 		0x019, 0x00000012,
416 		0x01B, 0x00000064,
417 		0x01E, 0x00080009,
418 		0x01F, 0x00000880,
419 		0x02F, 0x0001A060,
420 		0x03F, 0x00000000,
421 		0x042, 0x000060C0,
422 		0x057, 0x000D0000,
423 		0x058, 0x000BE180,
424 		0x067, 0x00001552,
425 		0x07F, 0x00000082,
426 		0x081, 0x0003F000,
427 		0x083, 0x00000000,
428 		0x0DF, 0x00000180,
429 		0x0EF, 0x000001A0,
430 		0x051, 0x00069545,
431 		0x052, 0x0007E42E,
432 		0x053, 0x00000071,
433 		0x056, 0x00051FF3,
434 		0x035, 0x000000A8,
435 		0x035, 0x000001E0,
436 		0x035, 0x000002A8,
437 		0x036, 0x00001CA8,
438 		0x036, 0x00009C24,
439 		0x036, 0x00011C24,
440 		0x036, 0x00019C24,
441 		0x018, 0x00000C07,
442 		0x05A, 0x00048000,
443 		0x019, 0x000739D0,
444 	0xFF010718, 0xABCD,
445 		0x034, 0x0000A093,
446 		0x034, 0x0000908F,
447 		0x034, 0x0000808C,
448 		0x034, 0x0000704D,
449 		0x034, 0x0000604A,
450 		0x034, 0x00005047,
451 		0x034, 0x0000400A,
452 		0x034, 0x00003007,
453 		0x034, 0x00002004,
454 		0x034, 0x00001001,
455 		0x034, 0x00000000,
456 	0xCDCDCDCD, 0xCDCD,
457 		0x034, 0x0000ADD7,
458 		0x034, 0x00009DD4,
459 		0x034, 0x00008DD1,
460 		0x034, 0x00007DCE,
461 		0x034, 0x00006DCB,
462 		0x034, 0x00005DC8,
463 		0x034, 0x00004DC5,
464 		0x034, 0x000034CC,
465 		0x034, 0x0000244F,
466 		0x034, 0x0000144C,
467 		0x034, 0x00000014,
468 	0xFF010718, 0xDEAD,
469 		0x000, 0x00030159,
470 		0x084, 0x00068180,
471 		0x086, 0x000000CE,
472 		0x087, 0x00048A00,
473 		0x08E, 0x00065540,
474 		0x08F, 0x00088000,
475 		0x0EF, 0x000020A0,
476 	0xFF010718, 0xABCD,
477 		0x03B, 0x000F07B0,
478 	0xCDCDCDCD, 0xCDCD,
479 		0x03B, 0x000F02B0,
480 	0xFF010718, 0xDEAD,
481 		0x03B, 0x000EF7B0,
482 		0x03B, 0x000D4FB0,
483 		0x03B, 0x000CF060,
484 		0x03B, 0x000B0090,
485 		0x03B, 0x000A0080,
486 		0x03B, 0x00090080,
487 		0x03B, 0x0008F780,
488 	0xFF010718, 0xABCD,
489 		0x03B, 0x000787B0,
490 	0xCDCDCDCD, 0xCDCD,
491 		0x03B, 0x00078730,
492 	0xFF010718, 0xDEAD,
493 		0x03B, 0x00060FB0,
494 		0x03B, 0x0005FFA0,
495 		0x03B, 0x00040620,
496 		0x03B, 0x00037090,
497 		0x03B, 0x00020080,
498 		0x03B, 0x0001F060,
499 		0x03B, 0x0000FFB0,
500 		0x0EF, 0x000000A0,
501 		0x000, 0x00010159,
502 		0x0FE, 0x00000000,
503 		0x0FE, 0x00000000,
504 		0x0FE, 0x00000000,
505 		0x0FE, 0x00000000,
506 		0x01E, 0x00000001,
507 		0x01F, 0x00080000,
508 		0x000, 0x00033E70,
509 };
510 
511 u32 RTL8192EE_MAC_ARRAY[] = {
512 		0x011, 0x000000EB,
513 		0x012, 0x00000007,
514 		0x014, 0x00000075,
515 		0x303, 0x000000A7,
516 		0x428, 0x0000000A,
517 		0x429, 0x00000010,
518 		0x430, 0x00000000,
519 		0x431, 0x00000000,
520 		0x432, 0x00000000,
521 		0x433, 0x00000001,
522 		0x434, 0x00000004,
523 		0x435, 0x00000005,
524 		0x436, 0x00000007,
525 		0x437, 0x00000008,
526 		0x43C, 0x00000004,
527 		0x43D, 0x00000005,
528 		0x43E, 0x00000007,
529 		0x43F, 0x00000008,
530 		0x440, 0x0000005D,
531 		0x441, 0x00000001,
532 		0x442, 0x00000000,
533 		0x444, 0x00000010,
534 		0x445, 0x00000000,
535 		0x446, 0x00000000,
536 		0x447, 0x00000000,
537 		0x448, 0x00000000,
538 		0x449, 0x000000F0,
539 		0x44A, 0x0000000F,
540 		0x44B, 0x0000003E,
541 		0x44C, 0x00000010,
542 		0x44D, 0x00000000,
543 		0x44E, 0x00000000,
544 		0x44F, 0x00000000,
545 		0x450, 0x00000000,
546 		0x451, 0x000000F0,
547 		0x452, 0x0000000F,
548 		0x453, 0x00000000,
549 		0x456, 0x0000005E,
550 		0x460, 0x00000066,
551 		0x461, 0x00000066,
552 		0x4C8, 0x000000FF,
553 		0x4C9, 0x00000008,
554 		0x4CC, 0x000000FF,
555 		0x4CD, 0x000000FF,
556 		0x4CE, 0x00000001,
557 		0x500, 0x00000026,
558 		0x501, 0x000000A2,
559 		0x502, 0x0000002F,
560 		0x503, 0x00000000,
561 		0x504, 0x00000028,
562 		0x505, 0x000000A3,
563 		0x506, 0x0000005E,
564 		0x507, 0x00000000,
565 		0x508, 0x0000002B,
566 		0x509, 0x000000A4,
567 		0x50A, 0x0000005E,
568 		0x50B, 0x00000000,
569 		0x50C, 0x0000004F,
570 		0x50D, 0x000000A4,
571 		0x50E, 0x00000000,
572 		0x50F, 0x00000000,
573 		0x512, 0x0000001C,
574 		0x514, 0x0000000A,
575 		0x516, 0x0000000A,
576 		0x525, 0x0000004F,
577 		0x540, 0x00000012,
578 		0x541, 0x00000064,
579 		0x550, 0x00000010,
580 		0x551, 0x00000010,
581 		0x559, 0x00000002,
582 		0x55C, 0x00000050,
583 		0x55D, 0x000000FF,
584 		0x605, 0x00000030,
585 		0x608, 0x0000000E,
586 		0x609, 0x0000002A,
587 		0x620, 0x000000FF,
588 		0x621, 0x000000FF,
589 		0x622, 0x000000FF,
590 		0x623, 0x000000FF,
591 		0x624, 0x000000FF,
592 		0x625, 0x000000FF,
593 		0x626, 0x000000FF,
594 		0x627, 0x000000FF,
595 		0x638, 0x00000050,
596 		0x63C, 0x0000000A,
597 		0x63D, 0x0000000A,
598 		0x63E, 0x0000000E,
599 		0x63F, 0x0000000E,
600 		0x640, 0x00000040,
601 		0x642, 0x00000040,
602 		0x643, 0x00000000,
603 		0x652, 0x000000C8,
604 		0x66E, 0x00000005,
605 		0x700, 0x00000021,
606 		0x701, 0x00000043,
607 		0x702, 0x00000065,
608 		0x703, 0x00000087,
609 		0x708, 0x00000021,
610 		0x709, 0x00000043,
611 		0x70A, 0x00000065,
612 		0x70B, 0x00000087,
613 };
614 
615 u32 RTL8192EE_AGC_TAB_ARRAY[] = {
616 	0xFF010718, 0xABCD,
617 		0xC78, 0xFA000001,
618 		0xC78, 0xF9010001,
619 		0xC78, 0xF8020001,
620 		0xC78, 0xF7030001,
621 		0xC78, 0xF6040001,
622 		0xC78, 0xF5050001,
623 		0xC78, 0xF4060001,
624 		0xC78, 0xF3070001,
625 		0xC78, 0xF2080001,
626 		0xC78, 0xF1090001,
627 		0xC78, 0xF00A0001,
628 		0xC78, 0xEF0B0001,
629 		0xC78, 0xEE0C0001,
630 		0xC78, 0xED0D0001,
631 		0xC78, 0xEC0E0001,
632 		0xC78, 0xEB0F0001,
633 		0xC78, 0xEA100001,
634 		0xC78, 0xE9110001,
635 		0xC78, 0xE8120001,
636 		0xC78, 0xE7130001,
637 		0xC78, 0xE6140001,
638 		0xC78, 0xE5150001,
639 		0xC78, 0xE4160001,
640 		0xC78, 0xE3170001,
641 		0xC78, 0xE2180001,
642 		0xC78, 0xE1190001,
643 		0xC78, 0x8A1A0001,
644 		0xC78, 0x891B0001,
645 		0xC78, 0x881C0001,
646 		0xC78, 0x871D0001,
647 		0xC78, 0x861E0001,
648 		0xC78, 0x851F0001,
649 		0xC78, 0x84200001,
650 		0xC78, 0x83210001,
651 		0xC78, 0x82220001,
652 		0xC78, 0x6A230001,
653 		0xC78, 0x69240001,
654 		0xC78, 0x68250001,
655 		0xC78, 0x67260001,
656 		0xC78, 0x66270001,
657 		0xC78, 0x65280001,
658 		0xC78, 0x64290001,
659 		0xC78, 0x632A0001,
660 		0xC78, 0x622B0001,
661 		0xC78, 0x612C0001,
662 		0xC78, 0x602D0001,
663 		0xC78, 0x472E0001,
664 		0xC78, 0x462F0001,
665 		0xC78, 0x45300001,
666 		0xC78, 0x44310001,
667 		0xC78, 0x43320001,
668 		0xC78, 0x42330001,
669 		0xC78, 0x41340001,
670 		0xC78, 0x40350001,
671 		0xC78, 0x40360001,
672 		0xC78, 0x40370001,
673 		0xC78, 0x40380001,
674 		0xC78, 0x40390001,
675 		0xC78, 0x403A0001,
676 		0xC78, 0x403B0001,
677 		0xC78, 0x403C0001,
678 		0xC78, 0x403D0001,
679 		0xC78, 0x403E0001,
680 		0xC78, 0x403F0001,
681 	0xCDCDCDCD, 0xCDCD,
682 		0xC78, 0xFB000001,
683 		0xC78, 0xFB010001,
684 		0xC78, 0xFB020001,
685 		0xC78, 0xFB030001,
686 		0xC78, 0xFB040001,
687 		0xC78, 0xFB050001,
688 		0xC78, 0xFA060001,
689 		0xC78, 0xF9070001,
690 		0xC78, 0xF8080001,
691 		0xC78, 0xF7090001,
692 		0xC78, 0xF60A0001,
693 		0xC78, 0xF50B0001,
694 		0xC78, 0xF40C0001,
695 		0xC78, 0xF30D0001,
696 		0xC78, 0xF20E0001,
697 		0xC78, 0xF10F0001,
698 		0xC78, 0xF0100001,
699 		0xC78, 0xEF110001,
700 		0xC78, 0xEE120001,
701 		0xC78, 0xED130001,
702 		0xC78, 0xEC140001,
703 		0xC78, 0xEB150001,
704 		0xC78, 0xEA160001,
705 		0xC78, 0xE9170001,
706 		0xC78, 0xE8180001,
707 		0xC78, 0xE7190001,
708 		0xC78, 0xC81A0001,
709 		0xC78, 0xC71B0001,
710 		0xC78, 0xC61C0001,
711 		0xC78, 0x071D0001,
712 		0xC78, 0x061E0001,
713 		0xC78, 0x051F0001,
714 		0xC78, 0x04200001,
715 		0xC78, 0x03210001,
716 		0xC78, 0xAA220001,
717 		0xC78, 0xA9230001,
718 		0xC78, 0xA8240001,
719 		0xC78, 0xA7250001,
720 		0xC78, 0xA6260001,
721 		0xC78, 0x85270001,
722 		0xC78, 0x84280001,
723 		0xC78, 0x83290001,
724 		0xC78, 0x252A0001,
725 		0xC78, 0x242B0001,
726 		0xC78, 0x232C0001,
727 		0xC78, 0x222D0001,
728 		0xC78, 0x672E0001,
729 		0xC78, 0x662F0001,
730 		0xC78, 0x65300001,
731 		0xC78, 0x64310001,
732 		0xC78, 0x63320001,
733 		0xC78, 0x62330001,
734 		0xC78, 0x61340001,
735 		0xC78, 0x45350001,
736 		0xC78, 0x44360001,
737 		0xC78, 0x43370001,
738 		0xC78, 0x42380001,
739 		0xC78, 0x41390001,
740 		0xC78, 0x403A0001,
741 		0xC78, 0x403B0001,
742 		0xC78, 0x403C0001,
743 		0xC78, 0x403D0001,
744 		0xC78, 0x403E0001,
745 		0xC78, 0x403F0001,
746 	0xFF010718, 0xDEAD,
747 	0xFF010718, 0xABCD,
748 		0xC78, 0xFA400001,
749 		0xC78, 0xF9410001,
750 		0xC78, 0xF8420001,
751 		0xC78, 0xF7430001,
752 		0xC78, 0xF6440001,
753 		0xC78, 0xF5450001,
754 		0xC78, 0xF4460001,
755 		0xC78, 0xF3470001,
756 		0xC78, 0xF2480001,
757 		0xC78, 0xF1490001,
758 		0xC78, 0xF04A0001,
759 		0xC78, 0xEF4B0001,
760 		0xC78, 0xEE4C0001,
761 		0xC78, 0xED4D0001,
762 		0xC78, 0xEC4E0001,
763 		0xC78, 0xEB4F0001,
764 		0xC78, 0xEA500001,
765 		0xC78, 0xE9510001,
766 		0xC78, 0xE8520001,
767 		0xC78, 0xE7530001,
768 		0xC78, 0xE6540001,
769 		0xC78, 0xE5550001,
770 		0xC78, 0xE4560001,
771 		0xC78, 0xE3570001,
772 		0xC78, 0xE2580001,
773 		0xC78, 0xE1590001,
774 		0xC78, 0x8A5A0001,
775 		0xC78, 0x895B0001,
776 		0xC78, 0x885C0001,
777 		0xC78, 0x875D0001,
778 		0xC78, 0x865E0001,
779 		0xC78, 0x855F0001,
780 		0xC78, 0x84600001,
781 		0xC78, 0x83610001,
782 		0xC78, 0x82620001,
783 		0xC78, 0x6A630001,
784 		0xC78, 0x69640001,
785 		0xC78, 0x68650001,
786 		0xC78, 0x67660001,
787 		0xC78, 0x66670001,
788 		0xC78, 0x65680001,
789 		0xC78, 0x64690001,
790 		0xC78, 0x636A0001,
791 		0xC78, 0x626B0001,
792 		0xC78, 0x616C0001,
793 		0xC78, 0x606D0001,
794 		0xC78, 0x476E0001,
795 		0xC78, 0x466F0001,
796 		0xC78, 0x45700001,
797 		0xC78, 0x44710001,
798 		0xC78, 0x43720001,
799 		0xC78, 0x42730001,
800 		0xC78, 0x41740001,
801 		0xC78, 0x40750001,
802 		0xC78, 0x40760001,
803 		0xC78, 0x40770001,
804 		0xC78, 0x40780001,
805 		0xC78, 0x40790001,
806 		0xC78, 0x407A0001,
807 		0xC78, 0x407B0001,
808 		0xC78, 0x407C0001,
809 		0xC78, 0x407D0001,
810 		0xC78, 0x407E0001,
811 		0xC78, 0x407F0001,
812 		0xC50, 0x00040222,
813 		0xC50, 0x00040220,
814 	0xCDCDCDCD, 0xCDCD,
815 		0xC78, 0xFB400001,
816 		0xC78, 0xFB410001,
817 		0xC78, 0xFB420001,
818 		0xC78, 0xFB430001,
819 		0xC78, 0xFB440001,
820 		0xC78, 0xFB450001,
821 		0xC78, 0xFA460001,
822 		0xC78, 0xF9470001,
823 		0xC78, 0xF8480001,
824 		0xC78, 0xF7490001,
825 		0xC78, 0xF64A0001,
826 		0xC78, 0xF54B0001,
827 		0xC78, 0xF44C0001,
828 		0xC78, 0xF34D0001,
829 		0xC78, 0xF24E0001,
830 		0xC78, 0xF14F0001,
831 		0xC78, 0xF0500001,
832 		0xC78, 0xEF510001,
833 		0xC78, 0xEE520001,
834 		0xC78, 0xED530001,
835 		0xC78, 0xEC540001,
836 		0xC78, 0xEB550001,
837 		0xC78, 0xEA560001,
838 		0xC78, 0xE9570001,
839 		0xC78, 0xE8580001,
840 		0xC78, 0xE7590001,
841 		0xC78, 0xE65A0001,
842 		0xC78, 0xE55B0001,
843 		0xC78, 0xE45C0001,
844 		0xC78, 0xE35D0001,
845 		0xC78, 0xE25E0001,
846 		0xC78, 0xE15F0001,
847 		0xC78, 0x8A600001,
848 		0xC78, 0x89610001,
849 		0xC78, 0x88620001,
850 		0xC78, 0x87630001,
851 		0xC78, 0x86640001,
852 		0xC78, 0x85650001,
853 		0xC78, 0x84660001,
854 		0xC78, 0x83670001,
855 		0xC78, 0x82680001,
856 		0xC78, 0x6B690001,
857 		0xC78, 0x6A6A0001,
858 		0xC78, 0x696B0001,
859 		0xC78, 0x686C0001,
860 		0xC78, 0x676D0001,
861 		0xC78, 0x666E0001,
862 		0xC78, 0x656F0001,
863 		0xC78, 0x64700001,
864 		0xC78, 0x63710001,
865 		0xC78, 0x62720001,
866 		0xC78, 0x61730001,
867 		0xC78, 0x49740001,
868 		0xC78, 0x48750001,
869 		0xC78, 0x47760001,
870 		0xC78, 0x46770001,
871 		0xC78, 0x45780001,
872 		0xC78, 0x44790001,
873 		0xC78, 0x437A0001,
874 		0xC78, 0x427B0001,
875 		0xC78, 0x417C0001,
876 		0xC78, 0x407D0001,
877 		0xC78, 0x407E0001,
878 		0xC78, 0x407F0001,
879 		0xC50, 0x00040022,
880 		0xC50, 0x00040020,
881 	0xFF010718, 0xDEAD,
882 };
883