1 /******************************************************************************
3 * Copyright(c) 2009-2012 Realtek Corporation.
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.
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
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 * Created on 2010/12/23, 6:38
25 *****************************************************************************/
27 #include <linux/types.h>
31 u32 rtl8192de_phy_reg_2tarray
[PHY_REG_2T_ARRAYLENGTH
] = {
224 u32 rtl8192de_phy_reg_array_pg
[PHY_REG_ARRAY_PG_LENGTH
] = {
225 0xe00, 0xffffffff, 0x07090c0c,
226 0xe04, 0xffffffff, 0x01020405,
227 0xe08, 0x0000ff00, 0x00000000,
228 0x86c, 0xffffff00, 0x00000000,
229 0xe10, 0xffffffff, 0x0b0c0c0e,
230 0xe14, 0xffffffff, 0x01030506,
231 0xe18, 0xffffffff, 0x0b0c0d0e,
232 0xe1c, 0xffffffff, 0x01030509,
233 0x830, 0xffffffff, 0x07090c0c,
234 0x834, 0xffffffff, 0x01020405,
235 0x838, 0xffffff00, 0x00000000,
236 0x86c, 0x000000ff, 0x00000000,
237 0x83c, 0xffffffff, 0x0b0c0c0e,
238 0x848, 0xffffffff, 0x01030506,
239 0x84c, 0xffffffff, 0x0b0c0d0e,
240 0x868, 0xffffffff, 0x01030509,
241 0xe00, 0xffffffff, 0x00000000,
242 0xe04, 0xffffffff, 0x00000000,
243 0xe08, 0x0000ff00, 0x00000000,
244 0x86c, 0xffffff00, 0x00000000,
245 0xe10, 0xffffffff, 0x00000000,
246 0xe14, 0xffffffff, 0x00000000,
247 0xe18, 0xffffffff, 0x00000000,
248 0xe1c, 0xffffffff, 0x00000000,
249 0x830, 0xffffffff, 0x00000000,
250 0x834, 0xffffffff, 0x00000000,
251 0x838, 0xffffff00, 0x00000000,
252 0x86c, 0x000000ff, 0x00000000,
253 0x83c, 0xffffffff, 0x00000000,
254 0x848, 0xffffffff, 0x00000000,
255 0x84c, 0xffffffff, 0x00000000,
256 0x868, 0xffffffff, 0x00000000,
257 0xe00, 0xffffffff, 0x04040404,
258 0xe04, 0xffffffff, 0x00020204,
259 0xe08, 0x0000ff00, 0x00000000,
260 0x86c, 0xffffff00, 0x00000000,
261 0xe10, 0xffffffff, 0x06060606,
262 0xe14, 0xffffffff, 0x00020406,
263 0xe18, 0xffffffff, 0x00000000,
264 0xe1c, 0xffffffff, 0x00000000,
265 0x830, 0xffffffff, 0x04040404,
266 0x834, 0xffffffff, 0x00020204,
267 0x838, 0xffffff00, 0x00000000,
268 0x86c, 0x000000ff, 0x00000000,
269 0x83c, 0xffffffff, 0x06060606,
270 0x848, 0xffffffff, 0x00020406,
271 0x84c, 0xffffffff, 0x00000000,
272 0x868, 0xffffffff, 0x00000000,
273 0xe00, 0xffffffff, 0x00000000,
274 0xe04, 0xffffffff, 0x00000000,
275 0xe08, 0x0000ff00, 0x00000000,
276 0x86c, 0xffffff00, 0x00000000,
277 0xe10, 0xffffffff, 0x00000000,
278 0xe14, 0xffffffff, 0x00000000,
279 0xe18, 0xffffffff, 0x00000000,
280 0xe1c, 0xffffffff, 0x00000000,
281 0x830, 0xffffffff, 0x00000000,
282 0x834, 0xffffffff, 0x00000000,
283 0x838, 0xffffff00, 0x00000000,
284 0x86c, 0x000000ff, 0x00000000,
285 0x83c, 0xffffffff, 0x00000000,
286 0x848, 0xffffffff, 0x00000000,
287 0x84c, 0xffffffff, 0x00000000,
288 0x868, 0xffffffff, 0x00000000,
289 0xe00, 0xffffffff, 0x00000000,
290 0xe04, 0xffffffff, 0x00000000,
291 0xe08, 0x0000ff00, 0x00000000,
292 0x86c, 0xffffff00, 0x00000000,
293 0xe10, 0xffffffff, 0x00000000,
294 0xe14, 0xffffffff, 0x00000000,
295 0xe18, 0xffffffff, 0x00000000,
296 0xe1c, 0xffffffff, 0x00000000,
297 0x830, 0xffffffff, 0x00000000,
298 0x834, 0xffffffff, 0x00000000,
299 0x838, 0xffffff00, 0x00000000,
300 0x86c, 0x000000ff, 0x00000000,
301 0x83c, 0xffffffff, 0x00000000,
302 0x848, 0xffffffff, 0x00000000,
303 0x84c, 0xffffffff, 0x00000000,
304 0x868, 0xffffffff, 0x00000000,
305 0xe00, 0xffffffff, 0x04040404,
306 0xe04, 0xffffffff, 0x00020204,
307 0xe08, 0x0000ff00, 0x00000000,
308 0x86c, 0xffffff00, 0x00000000,
309 0xe10, 0xffffffff, 0x00000000,
310 0xe14, 0xffffffff, 0x00000000,
311 0xe18, 0xffffffff, 0x00000000,
312 0xe1c, 0xffffffff, 0x00000000,
313 0x830, 0xffffffff, 0x04040404,
314 0x834, 0xffffffff, 0x00020204,
315 0x838, 0xffffff00, 0x00000000,
316 0x86c, 0x000000ff, 0x00000000,
317 0x83c, 0xffffffff, 0x00000000,
318 0x848, 0xffffffff, 0x00000000,
319 0x84c, 0xffffffff, 0x00000000,
320 0x868, 0xffffffff, 0x00000000,
321 0xe00, 0xffffffff, 0x00000000,
322 0xe04, 0xffffffff, 0x00000000,
323 0xe08, 0x0000ff00, 0x00000000,
324 0x86c, 0xffffff00, 0x00000000,
325 0xe10, 0xffffffff, 0x00000000,
326 0xe14, 0xffffffff, 0x00000000,
327 0xe18, 0xffffffff, 0x00000000,
328 0xe1c, 0xffffffff, 0x00000000,
329 0x830, 0xffffffff, 0x00000000,
330 0x834, 0xffffffff, 0x00000000,
331 0x838, 0xffffff00, 0x00000000,
332 0x86c, 0x000000ff, 0x00000000,
333 0x83c, 0xffffffff, 0x00000000,
334 0x848, 0xffffffff, 0x00000000,
335 0x84c, 0xffffffff, 0x00000000,
336 0x868, 0xffffffff, 0x00000000,
337 0xe00, 0xffffffff, 0x04040404,
338 0xe04, 0xffffffff, 0x00020204,
339 0xe08, 0x0000ff00, 0x00000000,
340 0x86c, 0xffffff00, 0x00000000,
341 0xe10, 0xffffffff, 0x08080808,
342 0xe14, 0xffffffff, 0x00040408,
343 0xe18, 0xffffffff, 0x00000000,
344 0xe1c, 0xffffffff, 0x00000000,
345 0x830, 0xffffffff, 0x04040404,
346 0x834, 0xffffffff, 0x00020204,
347 0x838, 0xffffff00, 0x00000000,
348 0x86c, 0x000000ff, 0x00000000,
349 0x83c, 0xffffffff, 0x08080808,
350 0x848, 0xffffffff, 0x00040408,
351 0x84c, 0xffffffff, 0x00000000,
352 0x868, 0xffffffff, 0x00000000,
353 0xe00, 0xffffffff, 0x04040404,
354 0xe04, 0xffffffff, 0x00020204,
355 0xe08, 0x0000ff00, 0x00000000,
356 0x86c, 0xffffff00, 0x00000000,
357 0xe10, 0xffffffff, 0x08080808,
358 0xe14, 0xffffffff, 0x00040408,
359 0xe18, 0xffffffff, 0x00000000,
360 0xe1c, 0xffffffff, 0x00000000,
361 0x830, 0xffffffff, 0x04040404,
362 0x834, 0xffffffff, 0x00020204,
363 0x838, 0xffffff00, 0x00000000,
364 0x86c, 0x000000ff, 0x00000000,
365 0x83c, 0xffffffff, 0x08080808,
366 0x848, 0xffffffff, 0x00040408,
367 0x84c, 0xffffffff, 0x00000000,
368 0x868, 0xffffffff, 0x00000000,
369 0xe00, 0xffffffff, 0x04040404,
370 0xe04, 0xffffffff, 0x00020204,
371 0xe08, 0x0000ff00, 0x00000000,
372 0x86c, 0xffffff00, 0x00000000,
373 0xe10, 0xffffffff, 0x08080808,
374 0xe14, 0xffffffff, 0x00040408,
375 0xe18, 0xffffffff, 0x00000000,
376 0xe1c, 0xffffffff, 0x00000000,
377 0x830, 0xffffffff, 0x04040404,
378 0x834, 0xffffffff, 0x00020204,
379 0x838, 0xffffff00, 0x00000000,
380 0x86c, 0x000000ff, 0x00000000,
381 0x83c, 0xffffffff, 0x08080808,
382 0x848, 0xffffffff, 0x00040408,
383 0x84c, 0xffffffff, 0x00000000,
384 0x868, 0xffffffff, 0x00000000,
385 0xe00, 0xffffffff, 0x04040404,
386 0xe04, 0xffffffff, 0x00020204,
387 0xe08, 0x0000ff00, 0x00000000,
388 0x86c, 0xffffff00, 0x00000000,
389 0xe10, 0xffffffff, 0x08080808,
390 0xe14, 0xffffffff, 0x00040408,
391 0xe18, 0xffffffff, 0x00000000,
392 0xe1c, 0xffffffff, 0x00000000,
393 0x830, 0xffffffff, 0x04040404,
394 0x834, 0xffffffff, 0x00020204,
395 0x838, 0xffffff00, 0x00000000,
396 0x86c, 0x000000ff, 0x00000000,
397 0x83c, 0xffffffff, 0x08080808,
398 0x848, 0xffffffff, 0x00040408,
399 0x84c, 0xffffffff, 0x00000000,
400 0x868, 0xffffffff, 0x00000000,
401 0xe00, 0xffffffff, 0x04040404,
402 0xe04, 0xffffffff, 0x00020204,
403 0xe08, 0x0000ff00, 0x00000000,
404 0x86c, 0xffffff00, 0x00000000,
405 0xe10, 0xffffffff, 0x08080808,
406 0xe14, 0xffffffff, 0x00040408,
407 0xe18, 0xffffffff, 0x00000000,
408 0xe1c, 0xffffffff, 0x00000000,
409 0x830, 0xffffffff, 0x04040404,
410 0x834, 0xffffffff, 0x00020204,
411 0x838, 0xffffff00, 0x00000000,
412 0x86c, 0x000000ff, 0x00000000,
413 0x83c, 0xffffffff, 0x08080808,
414 0x848, 0xffffffff, 0x00040408,
415 0x84c, 0xffffffff, 0x00000000,
416 0x868, 0xffffffff, 0x00000000,
417 0xe00, 0xffffffff, 0x04040404,
418 0xe04, 0xffffffff, 0x00020204,
419 0xe08, 0x0000ff00, 0x00000000,
420 0x86c, 0xffffff00, 0x00000000,
421 0xe10, 0xffffffff, 0x08080808,
422 0xe14, 0xffffffff, 0x00040408,
423 0xe18, 0xffffffff, 0x00000000,
424 0xe1c, 0xffffffff, 0x00000000,
425 0x830, 0xffffffff, 0x04040404,
426 0x834, 0xffffffff, 0x00020204,
427 0x838, 0xffffff00, 0x00000000,
428 0x86c, 0x000000ff, 0x00000000,
429 0x83c, 0xffffffff, 0x08080808,
430 0x848, 0xffffffff, 0x00040408,
431 0x84c, 0xffffffff, 0x00000000,
432 0x868, 0xffffffff, 0x00000000,
435 u32 rtl8192de_radioa_2tarray
[RADIOA_2T_ARRAYLENGTH
] = {
627 u32 rtl8192de_radiob_2tarray
[RADIOB_2T_ARRAYLENGTH
] = {
822 u32 rtl8192de_radioa_2t_int_paarray
[RADIOA_2T_INT_PA_ARRAYLENGTH
] = {
1014 u32 rtl8192de_radiob_2t_int_paarray
[RADIOB_2T_INT_PA_ARRAYLENGTH
] = {
1209 u32 rtl8192de_mac_2tarray
[MAC_2T_ARRAYLENGTH
] = {
1292 u32 rtl8192de_agctab_array
[AGCTAB_ARRAYLENGTH
] = {
1488 u32 rtl8192de_agctab_5garray
[AGCTAB_5G_ARRAYLENGTH
] = {
1588 u32 rtl8192de_agctab_2garray
[AGCTAB_2G_ARRAYLENGTH
] = {