cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

table.c (18606B)


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