1/******************************************************************************
2 *
3 * Copyright(c) 2009-2012  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 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17 *
18 * The full GNU General Public License is included in this distribution in the
19 * file called LICENSE.
20 *
21 * Contact Information:
22 * wlanfae <wlanfae@realtek.com>
23 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
24 * Hsinchu 300, Taiwan.
25 *
26 * Larry Finger <Larry.Finger@lwfinger.net>
27 *
28 * Created on  2010/12/23,  6:38
29 *****************************************************************************/
30
31#include <linux/types.h>
32
33#include "table.h"
34
35u32 rtl8192de_phy_reg_2tarray[PHY_REG_2T_ARRAYLENGTH] = {
36	0x024, 0x0011800d,
37	0x028, 0x00ffdb83,
38	0x014, 0x088ba955,
39	0x010, 0x49022b03,
40	0x800, 0x80040002,
41	0x804, 0x00000003,
42	0x808, 0x0000fc00,
43	0x80c, 0x0000000a,
44	0x810, 0x80706388,
45	0x814, 0x020c3d10,
46	0x818, 0x02200385,
47	0x81c, 0x00000000,
48	0x820, 0x01000100,
49	0x824, 0x00390004,
50	0x828, 0x01000100,
51	0x82c, 0x00390004,
52	0x830, 0x27272727,
53	0x834, 0x27272727,
54	0x838, 0x27272727,
55	0x83c, 0x27272727,
56	0x840, 0x00010000,
57	0x844, 0x00010000,
58	0x848, 0x27272727,
59	0x84c, 0x27272727,
60	0x850, 0x00000000,
61	0x854, 0x00000000,
62	0x858, 0x569a569a,
63	0x85c, 0x0c1b25a4,
64	0x860, 0x66e60230,
65	0x864, 0x061f0130,
66	0x868, 0x27272727,
67	0x86c, 0x272b2b2b,
68	0x870, 0x07000700,
69	0x874, 0x22188000,
70	0x878, 0x08080808,
71	0x87c, 0x00007ff8,
72	0x880, 0xc0083070,
73	0x884, 0x00000cd5,
74	0x888, 0x00000000,
75	0x88c, 0xcc0000c0,
76	0x890, 0x00000800,
77	0x894, 0xfffffffe,
78	0x898, 0x40302010,
79	0x89c, 0x00706050,
80	0x900, 0x00000000,
81	0x904, 0x00000023,
82	0x908, 0x00000000,
83	0x90c, 0x81121313,
84	0xa00, 0x00d047c8,
85	0xa04, 0x80ff000c,
86	0xa08, 0x8c838300,
87	0xa0c, 0x2e68120f,
88	0xa10, 0x9500bb78,
89	0xa14, 0x11144028,
90	0xa18, 0x00881117,
91	0xa1c, 0x89140f00,
92	0xa20, 0x1a1b0000,
93	0xa24, 0x090e1317,
94	0xa28, 0x00000204,
95	0xa2c, 0x00d30000,
96	0xa70, 0x101fbf00,
97	0xa74, 0x00000007,
98	0xc00, 0x40071d40,
99	0xc04, 0x03a05633,
100	0xc08, 0x001000e4,
101	0xc0c, 0x6c6c6c6c,
102	0xc10, 0x08800000,
103	0xc14, 0x40000100,
104	0xc18, 0x08800000,
105	0xc1c, 0x40000100,
106	0xc20, 0x00000000,
107	0xc24, 0x00000000,
108	0xc28, 0x00000000,
109	0xc2c, 0x00000000,
110	0xc30, 0x69e9ac44,
111	0xc34, 0x469652cf,
112	0xc38, 0x49795994,
113	0xc3c, 0x0a979718,
114	0xc40, 0x1f7c403f,
115	0xc44, 0x000100b7,
116	0xc48, 0xec020107,
117	0xc4c, 0x007f037f,
118	0xc50, 0x69543420,
119	0xc54, 0x43bc009e,
120	0xc58, 0x69543420,
121	0xc5c, 0x433c00a8,
122	0xc60, 0x00000000,
123	0xc64, 0x5116848b,
124	0xc68, 0x47c00bff,
125	0xc6c, 0x00000036,
126	0xc70, 0x2c7f000d,
127	0xc74, 0x058610db,
128	0xc78, 0x0000001f,
129	0xc7c, 0x40b95612,
130	0xc80, 0x40000100,
131	0xc84, 0x20f60000,
132	0xc88, 0x40000100,
133	0xc8c, 0x20e00000,
134	0xc90, 0x00121820,
135	0xc94, 0x00000007,
136	0xc98, 0x00121820,
137	0xc9c, 0x00007f7f,
138	0xca0, 0x00000000,
139	0xca4, 0x00000080,
140	0xca8, 0x00000000,
141	0xcac, 0x00000000,
142	0xcb0, 0x00000000,
143	0xcb4, 0x00000000,
144	0xcb8, 0x00000000,
145	0xcbc, 0x28000000,
146	0xcc0, 0x00000000,
147	0xcc4, 0x00000000,
148	0xcc8, 0x00000000,
149	0xccc, 0x00000000,
150	0xcd0, 0x00000000,
151	0xcd4, 0x00000000,
152	0xcd8, 0x64b11e20,
153	0xcdc, 0xe8767533,
154	0xce0, 0x00222222,
155	0xce4, 0x00000000,
156	0xce8, 0x37644302,
157	0xcec, 0x2f97d40c,
158	0xd00, 0x00080740,
159	0xd04, 0x00020403,
160	0xd08, 0x0000907f,
161	0xd0c, 0x20010201,
162	0xd10, 0xa0633333,
163	0xd14, 0x3333bc43,
164	0xd18, 0x7a8f5b6b,
165	0xd2c, 0xcc979975,
166	0xd30, 0x00000000,
167	0xd34, 0x80608404,
168	0xd38, 0x00000000,
169	0xd3c, 0x00027293,
170	0xd40, 0x00000000,
171	0xd44, 0x00000000,
172	0xd48, 0x00000000,
173	0xd4c, 0x00000000,
174	0xd50, 0x6437140a,
175	0xd54, 0x00000000,
176	0xd58, 0x00000000,
177	0xd5c, 0x30032064,
178	0xd60, 0x4653de68,
179	0xd64, 0x04518a3c,
180	0xd68, 0x00002101,
181	0xd6c, 0x2a201c16,
182	0xd70, 0x1812362e,
183	0xd74, 0x322c2220,
184	0xd78, 0x000e3c24,
185	0xe00, 0x2a2a2a2a,
186	0xe04, 0x2a2a2a2a,
187	0xe08, 0x03902a2a,
188	0xe10, 0x2a2a2a2a,
189	0xe14, 0x2a2a2a2a,
190	0xe18, 0x2a2a2a2a,
191	0xe1c, 0x2a2a2a2a,
192	0xe28, 0x00000000,
193	0xe30, 0x1000dc1f,
194	0xe34, 0x10008c1f,
195	0xe38, 0x02140102,
196	0xe3c, 0x681604c2,
197	0xe40, 0x01007c00,
198	0xe44, 0x01004800,
199	0xe48, 0xfb000000,
200	0xe4c, 0x000028d1,
201	0xe50, 0x1000dc1f,
202	0xe54, 0x10008c1f,
203	0xe58, 0x02140102,
204	0xe5c, 0x28160d05,
205	0xe60, 0x00000010,
206	0xe68, 0x001b25a4,
207	0xe6c, 0x63db25a4,
208	0xe70, 0x63db25a4,
209	0xe74, 0x0c126da4,
210	0xe78, 0x0c126da4,
211	0xe7c, 0x0c126da4,
212	0xe80, 0x0c126da4,
213	0xe84, 0x63db25a4,
214	0xe88, 0x0c126da4,
215	0xe8c, 0x63db25a4,
216	0xed0, 0x63db25a4,
217	0xed4, 0x63db25a4,
218	0xed8, 0x63db25a4,
219	0xedc, 0x001b25a4,
220	0xee0, 0x001b25a4,
221	0xeec, 0x6fdb25a4,
222	0xf14, 0x00000003,
223	0xf1c, 0x00000064,
224	0xf4c, 0x00000004,
225	0xf00, 0x00000300,
226};
227
228u32 rtl8192de_phy_reg_array_pg[PHY_REG_ARRAY_PG_LENGTH] = {
229	0xe00, 0xffffffff, 0x07090c0c,
230	0xe04, 0xffffffff, 0x01020405,
231	0xe08, 0x0000ff00, 0x00000000,
232	0x86c, 0xffffff00, 0x00000000,
233	0xe10, 0xffffffff, 0x0b0c0c0e,
234	0xe14, 0xffffffff, 0x01030506,
235	0xe18, 0xffffffff, 0x0b0c0d0e,
236	0xe1c, 0xffffffff, 0x01030509,
237	0x830, 0xffffffff, 0x07090c0c,
238	0x834, 0xffffffff, 0x01020405,
239	0x838, 0xffffff00, 0x00000000,
240	0x86c, 0x000000ff, 0x00000000,
241	0x83c, 0xffffffff, 0x0b0c0c0e,
242	0x848, 0xffffffff, 0x01030506,
243	0x84c, 0xffffffff, 0x0b0c0d0e,
244	0x868, 0xffffffff, 0x01030509,
245	0xe00, 0xffffffff, 0x00000000,
246	0xe04, 0xffffffff, 0x00000000,
247	0xe08, 0x0000ff00, 0x00000000,
248	0x86c, 0xffffff00, 0x00000000,
249	0xe10, 0xffffffff, 0x00000000,
250	0xe14, 0xffffffff, 0x00000000,
251	0xe18, 0xffffffff, 0x00000000,
252	0xe1c, 0xffffffff, 0x00000000,
253	0x830, 0xffffffff, 0x00000000,
254	0x834, 0xffffffff, 0x00000000,
255	0x838, 0xffffff00, 0x00000000,
256	0x86c, 0x000000ff, 0x00000000,
257	0x83c, 0xffffffff, 0x00000000,
258	0x848, 0xffffffff, 0x00000000,
259	0x84c, 0xffffffff, 0x00000000,
260	0x868, 0xffffffff, 0x00000000,
261	0xe00, 0xffffffff, 0x04040404,
262	0xe04, 0xffffffff, 0x00020204,
263	0xe08, 0x0000ff00, 0x00000000,
264	0x86c, 0xffffff00, 0x00000000,
265	0xe10, 0xffffffff, 0x06060606,
266	0xe14, 0xffffffff, 0x00020406,
267	0xe18, 0xffffffff, 0x00000000,
268	0xe1c, 0xffffffff, 0x00000000,
269	0x830, 0xffffffff, 0x04040404,
270	0x834, 0xffffffff, 0x00020204,
271	0x838, 0xffffff00, 0x00000000,
272	0x86c, 0x000000ff, 0x00000000,
273	0x83c, 0xffffffff, 0x06060606,
274	0x848, 0xffffffff, 0x00020406,
275	0x84c, 0xffffffff, 0x00000000,
276	0x868, 0xffffffff, 0x00000000,
277	0xe00, 0xffffffff, 0x00000000,
278	0xe04, 0xffffffff, 0x00000000,
279	0xe08, 0x0000ff00, 0x00000000,
280	0x86c, 0xffffff00, 0x00000000,
281	0xe10, 0xffffffff, 0x00000000,
282	0xe14, 0xffffffff, 0x00000000,
283	0xe18, 0xffffffff, 0x00000000,
284	0xe1c, 0xffffffff, 0x00000000,
285	0x830, 0xffffffff, 0x00000000,
286	0x834, 0xffffffff, 0x00000000,
287	0x838, 0xffffff00, 0x00000000,
288	0x86c, 0x000000ff, 0x00000000,
289	0x83c, 0xffffffff, 0x00000000,
290	0x848, 0xffffffff, 0x00000000,
291	0x84c, 0xffffffff, 0x00000000,
292	0x868, 0xffffffff, 0x00000000,
293	0xe00, 0xffffffff, 0x00000000,
294	0xe04, 0xffffffff, 0x00000000,
295	0xe08, 0x0000ff00, 0x00000000,
296	0x86c, 0xffffff00, 0x00000000,
297	0xe10, 0xffffffff, 0x00000000,
298	0xe14, 0xffffffff, 0x00000000,
299	0xe18, 0xffffffff, 0x00000000,
300	0xe1c, 0xffffffff, 0x00000000,
301	0x830, 0xffffffff, 0x00000000,
302	0x834, 0xffffffff, 0x00000000,
303	0x838, 0xffffff00, 0x00000000,
304	0x86c, 0x000000ff, 0x00000000,
305	0x83c, 0xffffffff, 0x00000000,
306	0x848, 0xffffffff, 0x00000000,
307	0x84c, 0xffffffff, 0x00000000,
308	0x868, 0xffffffff, 0x00000000,
309	0xe00, 0xffffffff, 0x04040404,
310	0xe04, 0xffffffff, 0x00020204,
311	0xe08, 0x0000ff00, 0x00000000,
312	0x86c, 0xffffff00, 0x00000000,
313	0xe10, 0xffffffff, 0x00000000,
314	0xe14, 0xffffffff, 0x00000000,
315	0xe18, 0xffffffff, 0x00000000,
316	0xe1c, 0xffffffff, 0x00000000,
317	0x830, 0xffffffff, 0x04040404,
318	0x834, 0xffffffff, 0x00020204,
319	0x838, 0xffffff00, 0x00000000,
320	0x86c, 0x000000ff, 0x00000000,
321	0x83c, 0xffffffff, 0x00000000,
322	0x848, 0xffffffff, 0x00000000,
323	0x84c, 0xffffffff, 0x00000000,
324	0x868, 0xffffffff, 0x00000000,
325	0xe00, 0xffffffff, 0x00000000,
326	0xe04, 0xffffffff, 0x00000000,
327	0xe08, 0x0000ff00, 0x00000000,
328	0x86c, 0xffffff00, 0x00000000,
329	0xe10, 0xffffffff, 0x00000000,
330	0xe14, 0xffffffff, 0x00000000,
331	0xe18, 0xffffffff, 0x00000000,
332	0xe1c, 0xffffffff, 0x00000000,
333	0x830, 0xffffffff, 0x00000000,
334	0x834, 0xffffffff, 0x00000000,
335	0x838, 0xffffff00, 0x00000000,
336	0x86c, 0x000000ff, 0x00000000,
337	0x83c, 0xffffffff, 0x00000000,
338	0x848, 0xffffffff, 0x00000000,
339	0x84c, 0xffffffff, 0x00000000,
340	0x868, 0xffffffff, 0x00000000,
341	0xe00, 0xffffffff, 0x04040404,
342	0xe04, 0xffffffff, 0x00020204,
343	0xe08, 0x0000ff00, 0x00000000,
344	0x86c, 0xffffff00, 0x00000000,
345	0xe10, 0xffffffff, 0x08080808,
346	0xe14, 0xffffffff, 0x00040408,
347	0xe18, 0xffffffff, 0x00000000,
348	0xe1c, 0xffffffff, 0x00000000,
349	0x830, 0xffffffff, 0x04040404,
350	0x834, 0xffffffff, 0x00020204,
351	0x838, 0xffffff00, 0x00000000,
352	0x86c, 0x000000ff, 0x00000000,
353	0x83c, 0xffffffff, 0x08080808,
354	0x848, 0xffffffff, 0x00040408,
355	0x84c, 0xffffffff, 0x00000000,
356	0x868, 0xffffffff, 0x00000000,
357	0xe00, 0xffffffff, 0x04040404,
358	0xe04, 0xffffffff, 0x00020204,
359	0xe08, 0x0000ff00, 0x00000000,
360	0x86c, 0xffffff00, 0x00000000,
361	0xe10, 0xffffffff, 0x08080808,
362	0xe14, 0xffffffff, 0x00040408,
363	0xe18, 0xffffffff, 0x00000000,
364	0xe1c, 0xffffffff, 0x00000000,
365	0x830, 0xffffffff, 0x04040404,
366	0x834, 0xffffffff, 0x00020204,
367	0x838, 0xffffff00, 0x00000000,
368	0x86c, 0x000000ff, 0x00000000,
369	0x83c, 0xffffffff, 0x08080808,
370	0x848, 0xffffffff, 0x00040408,
371	0x84c, 0xffffffff, 0x00000000,
372	0x868, 0xffffffff, 0x00000000,
373	0xe00, 0xffffffff, 0x04040404,
374	0xe04, 0xffffffff, 0x00020204,
375	0xe08, 0x0000ff00, 0x00000000,
376	0x86c, 0xffffff00, 0x00000000,
377	0xe10, 0xffffffff, 0x08080808,
378	0xe14, 0xffffffff, 0x00040408,
379	0xe18, 0xffffffff, 0x00000000,
380	0xe1c, 0xffffffff, 0x00000000,
381	0x830, 0xffffffff, 0x04040404,
382	0x834, 0xffffffff, 0x00020204,
383	0x838, 0xffffff00, 0x00000000,
384	0x86c, 0x000000ff, 0x00000000,
385	0x83c, 0xffffffff, 0x08080808,
386	0x848, 0xffffffff, 0x00040408,
387	0x84c, 0xffffffff, 0x00000000,
388	0x868, 0xffffffff, 0x00000000,
389	0xe00, 0xffffffff, 0x04040404,
390	0xe04, 0xffffffff, 0x00020204,
391	0xe08, 0x0000ff00, 0x00000000,
392	0x86c, 0xffffff00, 0x00000000,
393	0xe10, 0xffffffff, 0x08080808,
394	0xe14, 0xffffffff, 0x00040408,
395	0xe18, 0xffffffff, 0x00000000,
396	0xe1c, 0xffffffff, 0x00000000,
397	0x830, 0xffffffff, 0x04040404,
398	0x834, 0xffffffff, 0x00020204,
399	0x838, 0xffffff00, 0x00000000,
400	0x86c, 0x000000ff, 0x00000000,
401	0x83c, 0xffffffff, 0x08080808,
402	0x848, 0xffffffff, 0x00040408,
403	0x84c, 0xffffffff, 0x00000000,
404	0x868, 0xffffffff, 0x00000000,
405	0xe00, 0xffffffff, 0x04040404,
406	0xe04, 0xffffffff, 0x00020204,
407	0xe08, 0x0000ff00, 0x00000000,
408	0x86c, 0xffffff00, 0x00000000,
409	0xe10, 0xffffffff, 0x08080808,
410	0xe14, 0xffffffff, 0x00040408,
411	0xe18, 0xffffffff, 0x00000000,
412	0xe1c, 0xffffffff, 0x00000000,
413	0x830, 0xffffffff, 0x04040404,
414	0x834, 0xffffffff, 0x00020204,
415	0x838, 0xffffff00, 0x00000000,
416	0x86c, 0x000000ff, 0x00000000,
417	0x83c, 0xffffffff, 0x08080808,
418	0x848, 0xffffffff, 0x00040408,
419	0x84c, 0xffffffff, 0x00000000,
420	0x868, 0xffffffff, 0x00000000,
421	0xe00, 0xffffffff, 0x04040404,
422	0xe04, 0xffffffff, 0x00020204,
423	0xe08, 0x0000ff00, 0x00000000,
424	0x86c, 0xffffff00, 0x00000000,
425	0xe10, 0xffffffff, 0x08080808,
426	0xe14, 0xffffffff, 0x00040408,
427	0xe18, 0xffffffff, 0x00000000,
428	0xe1c, 0xffffffff, 0x00000000,
429	0x830, 0xffffffff, 0x04040404,
430	0x834, 0xffffffff, 0x00020204,
431	0x838, 0xffffff00, 0x00000000,
432	0x86c, 0x000000ff, 0x00000000,
433	0x83c, 0xffffffff, 0x08080808,
434	0x848, 0xffffffff, 0x00040408,
435	0x84c, 0xffffffff, 0x00000000,
436	0x868, 0xffffffff, 0x00000000,
437};
438
439u32 rtl8192de_radioa_2tarray[RADIOA_2T_ARRAYLENGTH] = {
440	0x000, 0x00030000,
441	0x001, 0x00030000,
442	0x002, 0x00000000,
443	0x003, 0x00018c63,
444	0x004, 0x00018c63,
445	0x008, 0x00084000,
446	0x00b, 0x0001c000,
447	0x00e, 0x00018c67,
448	0x00f, 0x00000851,
449	0x014, 0x00021440,
450	0x018, 0x00017524,
451	0x019, 0x00000000,
452	0x01d, 0x000a1290,
453	0x023, 0x00001558,
454	0x01a, 0x00030a99,
455	0x01b, 0x00040b00,
456	0x01c, 0x000fc339,
457	0x03a, 0x000a57eb,
458	0x03b, 0x00020000,
459	0x03c, 0x000ff454,
460	0x020, 0x0000aa52,
461	0x021, 0x00054000,
462	0x040, 0x0000aa52,
463	0x041, 0x00014000,
464	0x025, 0x000803be,
465	0x026, 0x000fc638,
466	0x027, 0x00077c18,
467	0x028, 0x000de471,
468	0x029, 0x000d7110,
469	0x02a, 0x0008cb04,
470	0x02b, 0x0004128b,
471	0x02c, 0x00001840,
472	0x043, 0x0002444f,
473	0x044, 0x0001adb0,
474	0x045, 0x00056467,
475	0x046, 0x0008992c,
476	0x047, 0x0000452c,
477	0x048, 0x000f9c43,
478	0x049, 0x00002e0c,
479	0x04a, 0x000546eb,
480	0x04b, 0x0008966c,
481	0x04c, 0x0000dde9,
482	0x018, 0x00007401,
483	0x000, 0x00070000,
484	0x012, 0x000dc000,
485	0x012, 0x00090000,
486	0x012, 0x00051000,
487	0x012, 0x00012000,
488	0x013, 0x000287b7,
489	0x013, 0x000247ab,
490	0x013, 0x0002079f,
491	0x013, 0x0001c793,
492	0x013, 0x0001839b,
493	0x013, 0x00014392,
494	0x013, 0x0001019a,
495	0x013, 0x0000c191,
496	0x013, 0x00008194,
497	0x013, 0x000040a0,
498	0x013, 0x00000018,
499	0x015, 0x0000f424,
500	0x015, 0x0004f424,
501	0x015, 0x0008f424,
502	0x016, 0x000e1330,
503	0x016, 0x000a1330,
504	0x016, 0x00061330,
505	0x016, 0x00021330,
506	0x018, 0x00017524,
507	0x000, 0x00070000,
508	0x012, 0x000cf000,
509	0x012, 0x000bc000,
510	0x012, 0x00078000,
511	0x012, 0x00000000,
512	0x013, 0x000287bc,
513	0x013, 0x000247b0,
514	0x013, 0x000203b4,
515	0x013, 0x0001c3a8,
516	0x013, 0x000181b4,
517	0x013, 0x000141a8,
518	0x013, 0x000100b0,
519	0x013, 0x0000c0a4,
520	0x013, 0x0000b02c,
521	0x013, 0x00004020,
522	0x013, 0x00000014,
523	0x015, 0x0000f4c3,
524	0x015, 0x0004f4c3,
525	0x015, 0x0008f4c3,
526	0x016, 0x000e085f,
527	0x016, 0x000a085f,
528	0x016, 0x0006085f,
529	0x016, 0x0002085f,
530	0x018, 0x00037524,
531	0x000, 0x00070000,
532	0x012, 0x000cf000,
533	0x012, 0x000bc000,
534	0x012, 0x00078000,
535	0x012, 0x00000000,
536	0x013, 0x000287bc,
537	0x013, 0x000247b0,
538	0x013, 0x000203b4,
539	0x013, 0x0001c3a8,
540	0x013, 0x000181b4,
541	0x013, 0x000141a8,
542	0x013, 0x000100b0,
543	0x013, 0x0000c0a4,
544	0x013, 0x0000b02c,
545	0x013, 0x00004020,
546	0x013, 0x00000014,
547	0x015, 0x0000f4c3,
548	0x015, 0x0004f4c3,
549	0x015, 0x0008f4c3,
550	0x016, 0x000e085f,
551	0x016, 0x000a085f,
552	0x016, 0x0006085f,
553	0x016, 0x0002085f,
554	0x018, 0x00057568,
555	0x000, 0x00070000,
556	0x012, 0x000cf000,
557	0x012, 0x000bc000,
558	0x012, 0x00078000,
559	0x012, 0x00000000,
560	0x013, 0x000287bc,
561	0x013, 0x000247b0,
562	0x013, 0x000203b4,
563	0x013, 0x0001c3a8,
564	0x013, 0x000181b4,
565	0x013, 0x000141a8,
566	0x013, 0x000100b0,
567	0x013, 0x0000c0a4,
568	0x013, 0x0000b02c,
569	0x013, 0x00004020,
570	0x013, 0x00000014,
571	0x015, 0x0000f4c3,
572	0x015, 0x0004f4c3,
573	0x015, 0x0008f4c3,
574	0x016, 0x000e085f,
575	0x016, 0x000a085f,
576	0x016, 0x0006085f,
577	0x016, 0x0002085f,
578	0x030, 0x0004470f,
579	0x031, 0x00044ff0,
580	0x032, 0x00000070,
581	0x033, 0x000dd480,
582	0x034, 0x000ffac0,
583	0x035, 0x000b80c0,
584	0x036, 0x00077000,
585	0x037, 0x00064ff2,
586	0x038, 0x000e7661,
587	0x039, 0x00000e90,
588	0x000, 0x00030000,
589	0x018, 0x0000f401,
590	0x0fe, 0x00000000,
591	0x0fe, 0x00000000,
592	0x01e, 0x00088009,
593	0x01f, 0x00080003,
594	0x0fe, 0x00000000,
595	0x01e, 0x00088001,
596	0x01f, 0x00080000,
597	0x0fe, 0x00000000,
598	0x018, 0x00097524,
599	0x0fe, 0x00000000,
600	0x0fe, 0x00000000,
601	0x0fe, 0x00000000,
602	0x0fe, 0x00000000,
603	0x02b, 0x00041289,
604	0x0fe, 0x00000000,
605	0x02d, 0x0006aaaa,
606	0x02e, 0x000b4d01,
607	0x02d, 0x00080000,
608	0x02e, 0x00004d02,
609	0x02d, 0x00095555,
610	0x02e, 0x00054d03,
611	0x02d, 0x000aaaaa,
612	0x02e, 0x000b4d04,
613	0x02d, 0x000c0000,
614	0x02e, 0x00004d05,
615	0x02d, 0x000d5555,
616	0x02e, 0x00054d06,
617	0x02d, 0x000eaaaa,
618	0x02e, 0x000b4d07,
619	0x02d, 0x00000000,
620	0x02e, 0x00005108,
621	0x02d, 0x00015555,
622	0x02e, 0x00055109,
623	0x02d, 0x0002aaaa,
624	0x02e, 0x000b510a,
625	0x02d, 0x00040000,
626	0x02e, 0x0000510b,
627	0x02d, 0x00055555,
628	0x02e, 0x0005510c,
629};
630
631u32 rtl8192de_radiob_2tarray[RADIOB_2T_ARRAYLENGTH] = {
632	0x000, 0x00030000,
633	0x001, 0x00030000,
634	0x002, 0x00000000,
635	0x003, 0x00018c63,
636	0x004, 0x00018c63,
637	0x008, 0x00084000,
638	0x00b, 0x0001c000,
639	0x00e, 0x00018c67,
640	0x00f, 0x00000851,
641	0x014, 0x00021440,
642	0x018, 0x00007401,
643	0x019, 0x00000060,
644	0x01d, 0x000a1290,
645	0x023, 0x00001558,
646	0x01a, 0x00030a99,
647	0x01b, 0x00040b00,
648	0x01c, 0x000fc339,
649	0x03a, 0x000a57eb,
650	0x03b, 0x00020000,
651	0x03c, 0x000ff454,
652	0x020, 0x0000aa52,
653	0x021, 0x00054000,
654	0x040, 0x0000aa52,
655	0x041, 0x00014000,
656	0x025, 0x000803be,
657	0x026, 0x000fc638,
658	0x027, 0x00077c18,
659	0x028, 0x000d1c31,
660	0x029, 0x000d7110,
661	0x02a, 0x000aeb04,
662	0x02b, 0x0004128b,
663	0x02c, 0x00001840,
664	0x043, 0x0002444f,
665	0x044, 0x0001adb0,
666	0x045, 0x00056467,
667	0x046, 0x0008992c,
668	0x047, 0x0000452c,
669	0x048, 0x000f9c43,
670	0x049, 0x00002e0c,
671	0x04a, 0x000546eb,
672	0x04b, 0x0008966c,
673	0x04c, 0x0000dde9,
674	0x018, 0x00007401,
675	0x000, 0x00070000,
676	0x012, 0x000dc000,
677	0x012, 0x00090000,
678	0x012, 0x00051000,
679	0x012, 0x00012000,
680	0x013, 0x000287b7,
681	0x013, 0x000247ab,
682	0x013, 0x0002079f,
683	0x013, 0x0001c793,
684	0x013, 0x0001839b,
685	0x013, 0x00014392,
686	0x013, 0x0001019a,
687	0x013, 0x0000c191,
688	0x013, 0x00008194,
689	0x013, 0x000040a0,
690	0x013, 0x00000018,
691	0x015, 0x0000f424,
692	0x015, 0x0004f424,
693	0x015, 0x0008f424,
694	0x016, 0x000e1330,
695	0x016, 0x000a1330,
696	0x016, 0x00061330,
697	0x016, 0x00021330,
698	0x018, 0x00017524,
699	0x000, 0x00070000,
700	0x012, 0x000cf000,
701	0x012, 0x000bc000,
702	0x012, 0x00078000,
703	0x012, 0x00000000,
704	0x013, 0x000287bc,
705	0x013, 0x000247b0,
706	0x013, 0x000203b4,
707	0x013, 0x0001c3a8,
708	0x013, 0x000181b4,
709	0x013, 0x000141a8,
710	0x013, 0x000100b0,
711	0x013, 0x0000c0a4,
712	0x013, 0x0000b02c,
713	0x013, 0x00004020,
714	0x013, 0x00000014,
715	0x015, 0x0000f4c3,
716	0x015, 0x0004f4c3,
717	0x015, 0x0008f4c3,
718	0x016, 0x000e085f,
719	0x016, 0x000a085f,
720	0x016, 0x0006085f,
721	0x016, 0x0002085f,
722	0x018, 0x00037524,
723	0x000, 0x00070000,
724	0x012, 0x000cf000,
725	0x012, 0x000bc000,
726	0x012, 0x00078000,
727	0x012, 0x00000000,
728	0x013, 0x000287bc,
729	0x013, 0x000247b0,
730	0x013, 0x000203b4,
731	0x013, 0x0001c3a8,
732	0x013, 0x000181b4,
733	0x013, 0x000141a8,
734	0x013, 0x000100b0,
735	0x013, 0x0000c0a4,
736	0x013, 0x0000b02c,
737	0x013, 0x00004020,
738	0x013, 0x00000014,
739	0x015, 0x0000f4c3,
740	0x015, 0x0004f4c3,
741	0x015, 0x0008f4c3,
742	0x016, 0x000e085f,
743	0x016, 0x000a085f,
744	0x016, 0x0006085f,
745	0x016, 0x0002085f,
746	0x018, 0x00057524,
747	0x000, 0x00070000,
748	0x012, 0x000cf000,
749	0x012, 0x000bc000,
750	0x012, 0x00078000,
751	0x012, 0x00000000,
752	0x013, 0x000287bc,
753	0x013, 0x000247b0,
754	0x013, 0x000203b4,
755	0x013, 0x0001c3a8,
756	0x013, 0x000181b4,
757	0x013, 0x000141a8,
758	0x013, 0x000100b0,
759	0x013, 0x0000c0a4,
760	0x013, 0x0000b02c,
761	0x013, 0x00004020,
762	0x013, 0x00000014,
763	0x015, 0x0000f4c3,
764	0x015, 0x0004f4c3,
765	0x015, 0x0008f4c3,
766	0x016, 0x000e085f,
767	0x016, 0x000a085f,
768	0x016, 0x0006085f,
769	0x016, 0x0002085f,
770	0x030, 0x0004470f,
771	0x031, 0x00044ff0,
772	0x032, 0x00000070,
773	0x033, 0x000dd480,
774	0x034, 0x000ffac0,
775	0x035, 0x000b80c0,
776	0x036, 0x00077000,
777	0x037, 0x00064ff2,
778	0x038, 0x000e7661,
779	0x039, 0x00000e90,
780	0x000, 0x00030000,
781	0x018, 0x0000f401,
782	0x0fe, 0x00000000,
783	0x0fe, 0x00000000,
784	0x01e, 0x00088009,
785	0x01f, 0x00080003,
786	0x0fe, 0x00000000,
787	0x01e, 0x00088001,
788	0x01f, 0x00080000,
789	0x0fe, 0x00000000,
790	0x018, 0x00087401,
791	0x0fe, 0x00000000,
792	0x0fe, 0x00000000,
793	0x0fe, 0x00000000,
794	0x02b, 0x00041289,
795	0x0fe, 0x00000000,
796	0x02d, 0x00066666,
797	0x02e, 0x00064001,
798	0x02d, 0x00091111,
799	0x02e, 0x00014002,
800	0x02d, 0x000bbbbb,
801	0x02e, 0x000b4003,
802	0x02d, 0x000e6666,
803	0x02e, 0x00064004,
804	0x02d, 0x00088888,
805	0x02e, 0x00084005,
806	0x02d, 0x0009dddd,
807	0x02e, 0x000d4006,
808	0x02d, 0x000b3333,
809	0x02e, 0x00034007,
810	0x02d, 0x00048888,
811	0x02e, 0x00084408,
812	0x02d, 0x000bbbbb,
813	0x02e, 0x000b4409,
814	0x02d, 0x000e6666,
815	0x02e, 0x0006440a,
816	0x02d, 0x00011111,
817	0x02e, 0x0001480b,
818	0x02d, 0x0003bbbb,
819	0x02e, 0x000b480c,
820	0x02d, 0x00066666,
821	0x02e, 0x0006480d,
822	0x02d, 0x000ccccc,
823	0x02e, 0x000c480e,
824};
825
826u32 rtl8192de_radioa_2t_int_paarray[RADIOA_2T_INT_PA_ARRAYLENGTH] = {
827	0x000, 0x00030000,
828	0x001, 0x00030000,
829	0x002, 0x00000000,
830	0x003, 0x00018c63,
831	0x004, 0x00018c63,
832	0x008, 0x00084000,
833	0x00b, 0x0001c000,
834	0x00e, 0x00018c67,
835	0x00f, 0x00000851,
836	0x014, 0x00021440,
837	0x018, 0x00017524,
838	0x019, 0x00000000,
839	0x01d, 0x000a1290,
840	0x023, 0x00001558,
841	0x01a, 0x00030a99,
842	0x01b, 0x00040b00,
843	0x01c, 0x000fc339,
844	0x03a, 0x000a57eb,
845	0x03b, 0x00020000,
846	0x03c, 0x000ff454,
847	0x020, 0x0000aa52,
848	0x021, 0x00054000,
849	0x040, 0x0000aa52,
850	0x041, 0x00014000,
851	0x025, 0x000803be,
852	0x026, 0x000fc638,
853	0x027, 0x00077c18,
854	0x028, 0x000de471,
855	0x029, 0x000d7110,
856	0x02a, 0x0008eb04,
857	0x02b, 0x0004128b,
858	0x02c, 0x00001840,
859	0x043, 0x0002444f,
860	0x044, 0x0001adb0,
861	0x045, 0x00056467,
862	0x046, 0x0008992c,
863	0x047, 0x0000452c,
864	0x048, 0x000c0443,
865	0x049, 0x00000730,
866	0x04a, 0x00050f0f,
867	0x04b, 0x000896ee,
868	0x04c, 0x0000ddee,
869	0x018, 0x00007401,
870	0x000, 0x00070000,
871	0x012, 0x000dc000,
872	0x012, 0x00090000,
873	0x012, 0x00051000,
874	0x012, 0x00012000,
875	0x013, 0x000287b7,
876	0x013, 0x000247ab,
877	0x013, 0x0002079f,
878	0x013, 0x0001c793,
879	0x013, 0x0001839b,
880	0x013, 0x00014392,
881	0x013, 0x0001019a,
882	0x013, 0x0000c191,
883	0x013, 0x00008194,
884	0x013, 0x000040a0,
885	0x013, 0x00000018,
886	0x015, 0x0000f424,
887	0x015, 0x0004f424,
888	0x015, 0x0008f424,
889	0x016, 0x000e1330,
890	0x016, 0x000a1330,
891	0x016, 0x00061330,
892	0x016, 0x00021330,
893	0x018, 0x00017524,
894	0x000, 0x00070000,
895	0x012, 0x000cf000,
896	0x012, 0x000bc000,
897	0x012, 0x00078000,
898	0x012, 0x00000000,
899	0x013, 0x000287bf,
900	0x013, 0x000247b3,
901	0x013, 0x000207a7,
902	0x013, 0x0001c79b,
903	0x013, 0x0001839f,
904	0x013, 0x00014393,
905	0x013, 0x00010399,
906	0x013, 0x0000c38d,
907	0x013, 0x00008199,
908	0x013, 0x0000418d,
909	0x013, 0x00000099,
910	0x015, 0x0000f495,
911	0x015, 0x0004f495,
912	0x015, 0x0008f495,
913	0x016, 0x000e1874,
914	0x016, 0x000a1874,
915	0x016, 0x00061874,
916	0x016, 0x00021874,
917	0x018, 0x00037564,
918	0x000, 0x00070000,
919	0x012, 0x000cf000,
920	0x012, 0x000bc000,
921	0x012, 0x00078000,
922	0x012, 0x00000000,
923	0x013, 0x000287bf,
924	0x013, 0x000247b3,
925	0x013, 0x000207a7,
926	0x013, 0x0001c79b,
927	0x013, 0x0001839f,
928	0x013, 0x00014393,
929	0x013, 0x00010399,
930	0x013, 0x0000c38d,
931	0x013, 0x00008199,
932	0x013, 0x0000418d,
933	0x013, 0x00000099,
934	0x015, 0x0000f495,
935	0x015, 0x0004f495,
936	0x015, 0x0008f495,
937	0x016, 0x000e1874,
938	0x016, 0x000a1874,
939	0x016, 0x00061874,
940	0x016, 0x00021874,
941	0x018, 0x00057595,
942	0x000, 0x00070000,
943	0x012, 0x000cf000,
944	0x012, 0x000bc000,
945	0x012, 0x00078000,
946	0x012, 0x00000000,
947	0x013, 0x000287bf,
948	0x013, 0x000247b3,
949	0x013, 0x000207a7,
950	0x013, 0x0001c79b,
951	0x013, 0x0001839f,
952	0x013, 0x00014393,
953	0x013, 0x00010399,
954	0x013, 0x0000c38d,
955	0x013, 0x00008199,
956	0x013, 0x0000418d,
957	0x013, 0x00000099,
958	0x015, 0x0000f495,
959	0x015, 0x0004f495,
960	0x015, 0x0008f495,
961	0x016, 0x000e1874,
962	0x016, 0x000a1874,
963	0x016, 0x00061874,
964	0x016, 0x00021874,
965	0x030, 0x0004470f,
966	0x031, 0x00044ff0,
967	0x032, 0x00000070,
968	0x033, 0x000dd480,
969	0x034, 0x000ffac0,
970	0x035, 0x000b80c0,
971	0x036, 0x00077000,
972	0x037, 0x00064ff2,
973	0x038, 0x000e7661,
974	0x039, 0x00000e90,
975	0x000, 0x00030000,
976	0x018, 0x0000f401,
977	0x0fe, 0x00000000,
978	0x0fe, 0x00000000,
979	0x01e, 0x00088009,
980	0x01f, 0x00080003,
981	0x0fe, 0x00000000,
982	0x01e, 0x00088001,
983	0x01f, 0x00080000,
984	0x0fe, 0x00000000,
985	0x018, 0x00097524,
986	0x0fe, 0x00000000,
987	0x0fe, 0x00000000,
988	0x0fe, 0x00000000,
989	0x0fe, 0x00000000,
990	0x02b, 0x00041289,
991	0x0fe, 0x00000000,
992	0x02d, 0x0006aaaa,
993	0x02e, 0x000b4d01,
994	0x02d, 0x00080000,
995	0x02e, 0x00004d02,
996	0x02d, 0x00095555,
997	0x02e, 0x00054d03,
998	0x02d, 0x000aaaaa,
999	0x02e, 0x000b4d04,
1000	0x02d, 0x000c0000,
1001	0x02e, 0x00004d05,
1002	0x02d, 0x000d5555,
1003	0x02e, 0x00054d06,
1004	0x02d, 0x000eaaaa,
1005	0x02e, 0x000b4d07,
1006	0x02d, 0x00000000,
1007	0x02e, 0x00005108,
1008	0x02d, 0x00015555,
1009	0x02e, 0x00055109,
1010	0x02d, 0x0002aaaa,
1011	0x02e, 0x000b510a,
1012	0x02d, 0x00040000,
1013	0x02e, 0x0000510b,
1014	0x02d, 0x00055555,
1015	0x02e, 0x0005510c,
1016};
1017
1018u32 rtl8192de_radiob_2t_int_paarray[RADIOB_2T_INT_PA_ARRAYLENGTH] = {
1019	0x000, 0x00030000,
1020	0x001, 0x00030000,
1021	0x002, 0x00000000,
1022	0x003, 0x00018c63,
1023	0x004, 0x00018c63,
1024	0x008, 0x00084000,
1025	0x00b, 0x0001c000,
1026	0x00e, 0x00018c67,
1027	0x00f, 0x00000851,
1028	0x014, 0x00021440,
1029	0x018, 0x00007401,
1030	0x019, 0x00000060,
1031	0x01d, 0x000a1290,
1032	0x023, 0x00001558,
1033	0x01a, 0x00030a99,
1034	0x01b, 0x00040b00,
1035	0x01c, 0x000fc339,
1036	0x03a, 0x000a57eb,
1037	0x03b, 0x00020000,
1038	0x03c, 0x000ff454,
1039	0x020, 0x0000aa52,
1040	0x021, 0x00054000,
1041	0x040, 0x0000aa52,
1042	0x041, 0x00014000,
1043	0x025, 0x000803be,
1044	0x026, 0x000fc638,
1045	0x027, 0x00077c18,
1046	0x028, 0x000d1c31,
1047	0x029, 0x000d7110,
1048	0x02a, 0x000aeb04,
1049	0x02b, 0x0004128b,
1050	0x02c, 0x00001840,
1051	0x043, 0x0002444f,
1052	0x044, 0x0001adb0,
1053	0x045, 0x00056467,
1054	0x046, 0x0008992c,
1055	0x047, 0x0000452c,
1056	0x048, 0x000c0443,
1057	0x049, 0x00000730,
1058	0x04a, 0x00050f0f,
1059	0x04b, 0x000896ee,
1060	0x04c, 0x0000ddee,
1061	0x018, 0x00007401,
1062	0x000, 0x00070000,
1063	0x012, 0x000dc000,
1064	0x012, 0x00090000,
1065	0x012, 0x00051000,
1066	0x012, 0x00012000,
1067	0x013, 0x000287b7,
1068	0x013, 0x000247ab,
1069	0x013, 0x0002079f,
1070	0x013, 0x0001c793,
1071	0x013, 0x0001839b,
1072	0x013, 0x00014392,
1073	0x013, 0x0001019a,
1074	0x013, 0x0000c191,
1075	0x013, 0x00008194,
1076	0x013, 0x000040a0,
1077	0x013, 0x00000018,
1078	0x015, 0x0000f424,
1079	0x015, 0x0004f424,
1080	0x015, 0x0008f424,
1081	0x016, 0x000e1330,
1082	0x016, 0x000a1330,
1083	0x016, 0x00061330,
1084	0x016, 0x00021330,
1085	0x018, 0x00017524,
1086	0x000, 0x00070000,
1087	0x012, 0x000cf000,
1088	0x012, 0x000bc000,
1089	0x012, 0x00078000,
1090	0x012, 0x00000000,
1091	0x013, 0x000287bf,
1092	0x013, 0x000247b3,
1093	0x013, 0x000207a7,
1094	0x013, 0x0001c79b,
1095	0x013, 0x0001839f,
1096	0x013, 0x00014393,
1097	0x013, 0x00010399,
1098	0x013, 0x0000c38d,
1099	0x013, 0x00008199,
1100	0x013, 0x0000418d,
1101	0x013, 0x00000099,
1102	0x015, 0x0000f495,
1103	0x015, 0x0004f495,
1104	0x015, 0x0008f495,
1105	0x016, 0x000e1874,
1106	0x016, 0x000a1874,
1107	0x016, 0x00061874,
1108	0x016, 0x00021874,
1109	0x018, 0x00037564,
1110	0x000, 0x00070000,
1111	0x012, 0x000cf000,
1112	0x012, 0x000bc000,
1113	0x012, 0x00078000,
1114	0x012, 0x00000000,
1115	0x013, 0x000287bf,
1116	0x013, 0x000247b3,
1117	0x013, 0x000207a7,
1118	0x013, 0x0001c79b,
1119	0x013, 0x0001839f,
1120	0x013, 0x00014393,
1121	0x013, 0x00010399,
1122	0x013, 0x0000c38d,
1123	0x013, 0x00008199,
1124	0x013, 0x0000418d,
1125	0x013, 0x00000099,
1126	0x015, 0x0000f495,
1127	0x015, 0x0004f495,
1128	0x015, 0x0008f495,
1129	0x016, 0x000e1874,
1130	0x016, 0x000a1874,
1131	0x016, 0x00061874,
1132	0x016, 0x00021874,
1133	0x018, 0x00057595,
1134	0x000, 0x00070000,
1135	0x012, 0x000cf000,
1136	0x012, 0x000bc000,
1137	0x012, 0x00078000,
1138	0x012, 0x00000000,
1139	0x013, 0x000287bf,
1140	0x013, 0x000247b3,
1141	0x013, 0x000207a7,
1142	0x013, 0x0001c79b,
1143	0x013, 0x0001839f,
1144	0x013, 0x00014393,
1145	0x013, 0x00010399,
1146	0x013, 0x0000c38d,
1147	0x013, 0x00008199,
1148	0x013, 0x0000418d,
1149	0x013, 0x00000099,
1150	0x015, 0x0000f495,
1151	0x015, 0x0004f495,
1152	0x015, 0x0008f495,
1153	0x016, 0x000e1874,
1154	0x016, 0x000a1874,
1155	0x016, 0x00061874,
1156	0x016, 0x00021874,
1157	0x030, 0x0004470f,
1158	0x031, 0x00044ff0,
1159	0x032, 0x00000070,
1160	0x033, 0x000dd480,
1161	0x034, 0x000ffac0,
1162	0x035, 0x000b80c0,
1163	0x036, 0x00077000,
1164	0x037, 0x00064ff2,
1165	0x038, 0x000e7661,
1166	0x039, 0x00000e90,
1167	0x000, 0x00030000,
1168	0x018, 0x0000f401,
1169	0x0fe, 0x00000000,
1170	0x0fe, 0x00000000,
1171	0x01e, 0x00088009,
1172	0x01f, 0x00080003,
1173	0x0fe, 0x00000000,
1174	0x01e, 0x00088001,
1175	0x01f, 0x00080000,
1176	0x0fe, 0x00000000,
1177	0x018, 0x00087401,
1178	0x0fe, 0x00000000,
1179	0x0fe, 0x00000000,
1180	0x0fe, 0x00000000,
1181	0x02b, 0x00041289,
1182	0x0fe, 0x00000000,
1183	0x02d, 0x00066666,
1184	0x02e, 0x00064001,
1185	0x02d, 0x00091111,
1186	0x02e, 0x00014002,
1187	0x02d, 0x000bbbbb,
1188	0x02e, 0x000b4003,
1189	0x02d, 0x000e6666,
1190	0x02e, 0x00064004,
1191	0x02d, 0x00088888,
1192	0x02e, 0x00084005,
1193	0x02d, 0x0009dddd,
1194	0x02e, 0x000d4006,
1195	0x02d, 0x000b3333,
1196	0x02e, 0x00034007,
1197	0x02d, 0x00048888,
1198	0x02e, 0x00084408,
1199	0x02d, 0x000bbbbb,
1200	0x02e, 0x000b4409,
1201	0x02d, 0x000e6666,
1202	0x02e, 0x0006440a,
1203	0x02d, 0x00011111,
1204	0x02e, 0x0001480b,
1205	0x02d, 0x0003bbbb,
1206	0x02e, 0x000b480c,
1207	0x02d, 0x00066666,
1208	0x02e, 0x0006480d,
1209	0x02d, 0x000ccccc,
1210	0x02e, 0x000c480e,
1211};
1212
1213u32 rtl8192de_mac_2tarray[MAC_2T_ARRAYLENGTH] = {
1214	0x420, 0x00000080,
1215	0x423, 0x00000000,
1216	0x430, 0x00000000,
1217	0x431, 0x00000000,
1218	0x432, 0x00000000,
1219	0x433, 0x00000001,
1220	0x434, 0x00000004,
1221	0x435, 0x00000005,
1222	0x436, 0x00000006,
1223	0x437, 0x00000007,
1224	0x438, 0x00000000,
1225	0x439, 0x00000000,
1226	0x43a, 0x00000000,
1227	0x43b, 0x00000001,
1228	0x43c, 0x00000004,
1229	0x43d, 0x00000005,
1230	0x43e, 0x00000006,
1231	0x43f, 0x00000007,
1232	0x440, 0x00000050,
1233	0x441, 0x00000001,
1234	0x442, 0x00000000,
1235	0x444, 0x00000015,
1236	0x445, 0x000000f0,
1237	0x446, 0x0000000f,
1238	0x447, 0x00000000,
1239	0x462, 0x00000008,
1240	0x463, 0x00000003,
1241	0x4c8, 0x000000ff,
1242	0x4c9, 0x00000008,
1243	0x4cc, 0x000000ff,
1244	0x4cd, 0x000000ff,
1245	0x4ce, 0x00000001,
1246	0x500, 0x00000026,
1247	0x501, 0x000000a2,
1248	0x502, 0x0000002f,
1249	0x503, 0x00000000,
1250	0x504, 0x00000028,
1251	0x505, 0x000000a3,
1252	0x506, 0x0000005e,
1253	0x507, 0x00000000,
1254	0x508, 0x0000002b,
1255	0x509, 0x000000a4,
1256	0x50a, 0x0000005e,
1257	0x50b, 0x00000000,
1258	0x50c, 0x0000004f,
1259	0x50d, 0x000000a4,
1260	0x50e, 0x00000000,
1261	0x50f, 0x00000000,
1262	0x512, 0x0000001c,
1263	0x514, 0x0000000a,
1264	0x515, 0x00000010,
1265	0x516, 0x0000000a,
1266	0x517, 0x00000010,
1267	0x51a, 0x00000016,
1268	0x524, 0x0000000f,
1269	0x525, 0x0000004f,
1270	0x546, 0x00000040,
1271	0x547, 0x00000000,
1272	0x550, 0x00000010,
1273	0x551, 0x00000010,
1274	0x559, 0x00000002,
1275	0x55a, 0x00000002,
1276	0x55d, 0x000000ff,
1277	0x605, 0x00000030,
1278	0x608, 0x0000000e,
1279	0x609, 0x0000002a,
1280	0x652, 0x00000020,
1281	0x63c, 0x0000000a,
1282	0x63d, 0x0000000a,
1283	0x63e, 0x0000000e,
1284	0x63f, 0x0000000e,
1285	0x66e, 0x00000005,
1286	0x700, 0x00000021,
1287	0x701, 0x00000043,
1288	0x702, 0x00000065,
1289	0x703, 0x00000087,
1290	0x708, 0x00000021,
1291	0x709, 0x00000043,
1292	0x70a, 0x00000065,
1293	0x70b, 0x00000087,
1294};
1295
1296u32 rtl8192de_agctab_array[AGCTAB_ARRAYLENGTH] = {
1297	0xc78, 0x7b000001,
1298	0xc78, 0x7b010001,
1299	0xc78, 0x7b020001,
1300	0xc78, 0x7b030001,
1301	0xc78, 0x7b040001,
1302	0xc78, 0x7b050001,
1303	0xc78, 0x7b060001,
1304	0xc78, 0x7a070001,
1305	0xc78, 0x79080001,
1306	0xc78, 0x78090001,
1307	0xc78, 0x770a0001,
1308	0xc78, 0x760b0001,
1309	0xc78, 0x750c0001,
1310	0xc78, 0x740d0001,
1311	0xc78, 0x730e0001,
1312	0xc78, 0x720f0001,
1313	0xc78, 0x71100001,
1314	0xc78, 0x70110001,
1315	0xc78, 0x6f120001,
1316	0xc78, 0x6e130001,
1317	0xc78, 0x6d140001,
1318	0xc78, 0x6c150001,
1319	0xc78, 0x6b160001,
1320	0xc78, 0x6a170001,
1321	0xc78, 0x69180001,
1322	0xc78, 0x68190001,
1323	0xc78, 0x671a0001,
1324	0xc78, 0x661b0001,
1325	0xc78, 0x651c0001,
1326	0xc78, 0x641d0001,
1327	0xc78, 0x631e0001,
1328	0xc78, 0x621f0001,
1329	0xc78, 0x61200001,
1330	0xc78, 0x60210001,
1331	0xc78, 0x49220001,
1332	0xc78, 0x48230001,
1333	0xc78, 0x47240001,
1334	0xc78, 0x46250001,
1335	0xc78, 0x45260001,
1336	0xc78, 0x44270001,
1337	0xc78, 0x43280001,
1338	0xc78, 0x42290001,
1339	0xc78, 0x412a0001,
1340	0xc78, 0x402b0001,
1341	0xc78, 0x262c0001,
1342	0xc78, 0x252d0001,
1343	0xc78, 0x242e0001,
1344	0xc78, 0x232f0001,
1345	0xc78, 0x22300001,
1346	0xc78, 0x21310001,
1347	0xc78, 0x20320001,
1348	0xc78, 0x06330001,
1349	0xc78, 0x05340001,
1350	0xc78, 0x04350001,
1351	0xc78, 0x03360001,
1352	0xc78, 0x02370001,
1353	0xc78, 0x01380001,
1354	0xc78, 0x00390001,
1355	0xc78, 0x003a0001,
1356	0xc78, 0x003b0001,
1357	0xc78, 0x003c0001,
1358	0xc78, 0x003d0001,
1359	0xc78, 0x003e0001,
1360	0xc78, 0x003f0001,
1361	0xc78, 0x7b400001,
1362	0xc78, 0x7b410001,
1363	0xc78, 0x7a420001,
1364	0xc78, 0x79430001,
1365	0xc78, 0x78440001,
1366	0xc78, 0x77450001,
1367	0xc78, 0x76460001,
1368	0xc78, 0x75470001,
1369	0xc78, 0x74480001,
1370	0xc78, 0x73490001,
1371	0xc78, 0x724a0001,
1372	0xc78, 0x714b0001,
1373	0xc78, 0x704c0001,
1374	0xc78, 0x6f4d0001,
1375	0xc78, 0x6e4e0001,
1376	0xc78, 0x6d4f0001,
1377	0xc78, 0x6c500001,
1378	0xc78, 0x6b510001,
1379	0xc78, 0x6a520001,
1380	0xc78, 0x69530001,
1381	0xc78, 0x68540001,
1382	0xc78, 0x67550001,
1383	0xc78, 0x66560001,
1384	0xc78, 0x65570001,
1385	0xc78, 0x64580001,
1386	0xc78, 0x63590001,
1387	0xc78, 0x625a0001,
1388	0xc78, 0x615b0001,
1389	0xc78, 0x605c0001,
1390	0xc78, 0x485d0001,
1391	0xc78, 0x475e0001,
1392	0xc78, 0x465f0001,
1393	0xc78, 0x45600001,
1394	0xc78, 0x44610001,
1395	0xc78, 0x43620001,
1396	0xc78, 0x42630001,
1397	0xc78, 0x41640001,
1398	0xc78, 0x40650001,
1399	0xc78, 0x27660001,
1400	0xc78, 0x26670001,
1401	0xc78, 0x25680001,
1402	0xc78, 0x24690001,
1403	0xc78, 0x236a0001,
1404	0xc78, 0x226b0001,
1405	0xc78, 0x216c0001,
1406	0xc78, 0x206d0001,
1407	0xc78, 0x206e0001,
1408	0xc78, 0x206f0001,
1409	0xc78, 0x20700001,
1410	0xc78, 0x20710001,
1411	0xc78, 0x20720001,
1412	0xc78, 0x20730001,
1413	0xc78, 0x20740001,
1414	0xc78, 0x20750001,
1415	0xc78, 0x20760001,
1416	0xc78, 0x20770001,
1417	0xc78, 0x20780001,
1418	0xc78, 0x20790001,
1419	0xc78, 0x207a0001,
1420	0xc78, 0x207b0001,
1421	0xc78, 0x207c0001,
1422	0xc78, 0x207d0001,
1423	0xc78, 0x207e0001,
1424	0xc78, 0x207f0001,
1425	0xc78, 0x38000002,
1426	0xc78, 0x38010002,
1427	0xc78, 0x38020002,
1428	0xc78, 0x38030002,
1429	0xc78, 0x38040002,
1430	0xc78, 0x38050002,
1431	0xc78, 0x38060002,
1432	0xc78, 0x38070002,
1433	0xc78, 0x38080002,
1434	0xc78, 0x3c090002,
1435	0xc78, 0x3e0a0002,
1436	0xc78, 0x400b0002,
1437	0xc78, 0x440c0002,
1438	0xc78, 0x480d0002,
1439	0xc78, 0x4c0e0002,
1440	0xc78, 0x500f0002,
1441	0xc78, 0x52100002,
1442	0xc78, 0x56110002,
1443	0xc78, 0x5a120002,
1444	0xc78, 0x5e130002,
1445	0xc78, 0x60140002,
1446	0xc78, 0x60150002,
1447	0xc78, 0x60160002,
1448	0xc78, 0x62170002,
1449	0xc78, 0x62180002,
1450	0xc78, 0x62190002,
1451	0xc78, 0x621a0002,
1452	0xc78, 0x621b0002,
1453	0xc78, 0x621c0002,
1454	0xc78, 0x621d0002,
1455	0xc78, 0x621e0002,
1456	0xc78, 0x621f0002,
1457	0xc78, 0x32000044,
1458	0xc78, 0x32010044,
1459	0xc78, 0x32020044,
1460	0xc78, 0x32030044,
1461	0xc78, 0x32040044,
1462	0xc78, 0x32050044,
1463	0xc78, 0x32060044,
1464	0xc78, 0x32070044,
1465	0xc78, 0x32080044,
1466	0xc78, 0x34090044,
1467	0xc78, 0x350a0044,
1468	0xc78, 0x360b0044,
1469	0xc78, 0x370c0044,
1470	0xc78, 0x380d0044,
1471	0xc78, 0x390e0044,
1472	0xc78, 0x3a0f0044,
1473	0xc78, 0x3e100044,
1474	0xc78, 0x42110044,
1475	0xc78, 0x44120044,
1476	0xc78, 0x46130044,
1477	0xc78, 0x4a140044,
1478	0xc78, 0x4e150044,
1479	0xc78, 0x50160044,
1480	0xc78, 0x55170044,
1481	0xc78, 0x5a180044,
1482	0xc78, 0x5e190044,
1483	0xc78, 0x641a0044,
1484	0xc78, 0x6e1b0044,
1485	0xc78, 0x6e1c0044,
1486	0xc78, 0x6e1d0044,
1487	0xc78, 0x6e1e0044,
1488	0xc78, 0x6e1f0044,
1489	0xc78, 0x6e1f0000,
1490};
1491
1492u32 rtl8192de_agctab_5garray[AGCTAB_5G_ARRAYLENGTH] = {
1493	0xc78, 0x7b000001,
1494	0xc78, 0x7b010001,
1495	0xc78, 0x7a020001,
1496	0xc78, 0x79030001,
1497	0xc78, 0x78040001,
1498	0xc78, 0x77050001,
1499	0xc78, 0x76060001,
1500	0xc78, 0x75070001,
1501	0xc78, 0x74080001,
1502	0xc78, 0x73090001,
1503	0xc78, 0x720a0001,
1504	0xc78, 0x710b0001,
1505	0xc78, 0x700c0001,
1506	0xc78, 0x6f0d0001,
1507	0xc78, 0x6e0e0001,
1508	0xc78, 0x6d0f0001,
1509	0xc78, 0x6c100001,
1510	0xc78, 0x6b110001,
1511	0xc78, 0x6a120001,
1512	0xc78, 0x69130001,
1513	0xc78, 0x68140001,
1514	0xc78, 0x67150001,
1515	0xc78, 0x66160001,
1516	0xc78, 0x65170001,
1517	0xc78, 0x64180001,
1518	0xc78, 0x63190001,
1519	0xc78, 0x621a0001,
1520	0xc78, 0x611b0001,
1521	0xc78, 0x601c0001,
1522	0xc78, 0x481d0001,
1523	0xc78, 0x471e0001,
1524	0xc78, 0x461f0001,
1525	0xc78, 0x45200001,
1526	0xc78, 0x44210001,
1527	0xc78, 0x43220001,
1528	0xc78, 0x42230001,
1529	0xc78, 0x41240001,
1530	0xc78, 0x40250001,
1531	0xc78, 0x27260001,
1532	0xc78, 0x26270001,
1533	0xc78, 0x25280001,
1534	0xc78, 0x24290001,
1535	0xc78, 0x232a0001,
1536	0xc78, 0x222b0001,
1537	0xc78, 0x212c0001,
1538	0xc78, 0x202d0001,
1539	0xc78, 0x202e0001,
1540	0xc78, 0x202f0001,
1541	0xc78, 0x20300001,
1542	0xc78, 0x20310001,
1543	0xc78, 0x20320001,
1544	0xc78, 0x20330001,
1545	0xc78, 0x20340001,
1546	0xc78, 0x20350001,
1547	0xc78, 0x20360001,
1548	0xc78, 0x20370001,
1549	0xc78, 0x20380001,
1550	0xc78, 0x20390001,
1551	0xc78, 0x203a0001,
1552	0xc78, 0x203b0001,
1553	0xc78, 0x203c0001,
1554	0xc78, 0x203d0001,
1555	0xc78, 0x203e0001,
1556	0xc78, 0x203f0001,
1557	0xc78, 0x32000044,
1558	0xc78, 0x32010044,
1559	0xc78, 0x32020044,
1560	0xc78, 0x32030044,
1561	0xc78, 0x32040044,
1562	0xc78, 0x32050044,
1563	0xc78, 0x32060044,
1564	0xc78, 0x32070044,
1565	0xc78, 0x32080044,
1566	0xc78, 0x34090044,
1567	0xc78, 0x350a0044,
1568	0xc78, 0x360b0044,
1569	0xc78, 0x370c0044,
1570	0xc78, 0x380d0044,
1571	0xc78, 0x390e0044,
1572	0xc78, 0x3a0f0044,
1573	0xc78, 0x3e100044,
1574	0xc78, 0x42110044,
1575	0xc78, 0x44120044,
1576	0xc78, 0x46130044,
1577	0xc78, 0x4a140044,
1578	0xc78, 0x4e150044,
1579	0xc78, 0x50160044,
1580	0xc78, 0x55170044,
1581	0xc78, 0x5a180044,
1582	0xc78, 0x5e190044,
1583	0xc78, 0x641a0044,
1584	0xc78, 0x6e1b0044,
1585	0xc78, 0x6e1c0044,
1586	0xc78, 0x6e1d0044,
1587	0xc78, 0x6e1e0044,
1588	0xc78, 0x6e1f0044,
1589	0xc78, 0x6e1f0000,
1590};
1591
1592u32 rtl8192de_agctab_2garray[AGCTAB_2G_ARRAYLENGTH] = {
1593	0xc78, 0x7b000001,
1594	0xc78, 0x7b010001,
1595	0xc78, 0x7b020001,
1596	0xc78, 0x7b030001,
1597	0xc78, 0x7b040001,
1598	0xc78, 0x7b050001,
1599	0xc78, 0x7b060001,
1600	0xc78, 0x7a070001,
1601	0xc78, 0x79080001,
1602	0xc78, 0x78090001,
1603	0xc78, 0x770a0001,
1604	0xc78, 0x760b0001,
1605	0xc78, 0x750c0001,
1606	0xc78, 0x740d0001,
1607	0xc78, 0x730e0001,
1608	0xc78, 0x720f0001,
1609	0xc78, 0x71100001,
1610	0xc78, 0x70110001,
1611	0xc78, 0x6f120001,
1612	0xc78, 0x6e130001,
1613	0xc78, 0x6d140001,
1614	0xc78, 0x6c150001,
1615	0xc78, 0x6b160001,
1616	0xc78, 0x6a170001,
1617	0xc78, 0x69180001,
1618	0xc78, 0x68190001,
1619	0xc78, 0x671a0001,
1620	0xc78, 0x661b0001,
1621	0xc78, 0x651c0001,
1622	0xc78, 0x641d0001,
1623	0xc78, 0x631e0001,
1624	0xc78, 0x621f0001,
1625	0xc78, 0x61200001,
1626	0xc78, 0x60210001,
1627	0xc78, 0x49220001,
1628	0xc78, 0x48230001,
1629	0xc78, 0x47240001,
1630	0xc78, 0x46250001,
1631	0xc78, 0x45260001,
1632	0xc78, 0x44270001,
1633	0xc78, 0x43280001,
1634	0xc78, 0x42290001,
1635	0xc78, 0x412a0001,
1636	0xc78, 0x402b0001,
1637	0xc78, 0x262c0001,
1638	0xc78, 0x252d0001,
1639	0xc78, 0x242e0001,
1640	0xc78, 0x232f0001,
1641	0xc78, 0x22300001,
1642	0xc78, 0x21310001,
1643	0xc78, 0x20320001,
1644	0xc78, 0x06330001,
1645	0xc78, 0x05340001,
1646	0xc78, 0x04350001,
1647	0xc78, 0x03360001,
1648	0xc78, 0x02370001,
1649	0xc78, 0x01380001,
1650	0xc78, 0x00390001,
1651	0xc78, 0x003a0001,
1652	0xc78, 0x003b0001,
1653	0xc78, 0x003c0001,
1654	0xc78, 0x003d0001,
1655	0xc78, 0x003e0001,
1656	0xc78, 0x003f0001,
1657	0xc78, 0x38000002,
1658	0xc78, 0x38010002,
1659	0xc78, 0x38020002,
1660	0xc78, 0x38030002,
1661	0xc78, 0x38040002,
1662	0xc78, 0x38050002,
1663	0xc78, 0x38060002,
1664	0xc78, 0x38070002,
1665	0xc78, 0x38080002,
1666	0xc78, 0x3c090002,
1667	0xc78, 0x3e0a0002,
1668	0xc78, 0x400b0002,
1669	0xc78, 0x440c0002,
1670	0xc78, 0x480d0002,
1671	0xc78, 0x4c0e0002,
1672	0xc78, 0x500f0002,
1673	0xc78, 0x52100002,
1674	0xc78, 0x56110002,
1675	0xc78, 0x5a120002,
1676	0xc78, 0x5e130002,
1677	0xc78, 0x60140002,
1678	0xc78, 0x60150002,
1679	0xc78, 0x60160002,
1680	0xc78, 0x62170002,
1681	0xc78, 0x62180002,
1682	0xc78, 0x62190002,
1683	0xc78, 0x621a0002,
1684	0xc78, 0x621b0002,
1685	0xc78, 0x621c0002,
1686	0xc78, 0x621d0002,
1687	0xc78, 0x621e0002,
1688	0xc78, 0x621f0002,
1689	0xc78, 0x6e1f0000,
1690};
1691