1 /******************************************************************************
3 * Copyright(c) 2009-2010 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 * 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
18 * The full GNU General Public License is included in this distribution in the
19 * file called LICENSE.
21 * Contact Information:
22 * wlanfae <wlanfae@realtek.com>
23 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
24 * Hsinchu 300, Taiwan.
26 * Larry Finger <Larry.Finger@lwfinger.net>
28 * Created on 2010/12/23, 6:38
29 *****************************************************************************/
31 #include <linux/types.h>
35 u32 rtl8192de_phy_reg_2tarray
[PHY_REG_2T_ARRAYLENGTH
] = {
228 u32 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,
439 u32 rtl8192de_radioa_2tarray
[RADIOA_2T_ARRAYLENGTH
] = {
631 u32 rtl8192de_radiob_2tarray
[RADIOB_2T_ARRAYLENGTH
] = {
826 u32 rtl8192de_radioa_2t_int_paarray
[RADIOA_2T_INT_PA_ARRAYLENGTH
] = {
1018 u32 rtl8192de_radiob_2t_int_paarray
[RADIOB_2T_INT_PA_ARRAYLENGTH
] = {
1213 u32 rtl8192de_mac_2tarray
[MAC_2T_ARRAYLENGTH
] = {
1296 u32 rtl8192de_agctab_array
[AGCTAB_ARRAYLENGTH
] = {
1492 u32 rtl8192de_agctab_5garray
[AGCTAB_5G_ARRAYLENGTH
] = {
1592 u32 rtl8192de_agctab_2garray
[AGCTAB_2G_ARRAYLENGTH
] = {