root/drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.c

/* [<][>][^][v][top][bottom][index][help] */
   1 // SPDX-License-Identifier: GPL-2.0
   2 /*
   3  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
   4  *
   5  * Contact Information: wlanfae <wlanfae@realtek.com>
   6  */
   7 #include "r8192E_hwimg.h"
   8 
   9 u32 Rtl8192PciEPHY_REGArray[PHY_REGArrayLengthPciE] = {0x0,};
  10 
  11 u32 Rtl8192PciEPHY_REG_1T2RArray[PHY_REG_1T2RArrayLengthPciE] = {
  12         0x800, 0x00000000,
  13         0x804, 0x00000001,
  14         0x808, 0x0000fc00,
  15         0x80c, 0x0000001c,
  16         0x810, 0x801010aa,
  17         0x814, 0x008514d0,
  18         0x818, 0x00000040,
  19         0x81c, 0x00000000,
  20         0x820, 0x00000004,
  21         0x824, 0x00690000,
  22         0x828, 0x00000004,
  23         0x82c, 0x00e90000,
  24         0x830, 0x00000004,
  25         0x834, 0x00690000,
  26         0x838, 0x00000004,
  27         0x83c, 0x00e90000,
  28         0x840, 0x00000000,
  29         0x844, 0x00000000,
  30         0x848, 0x00000000,
  31         0x84c, 0x00000000,
  32         0x850, 0x00000000,
  33         0x854, 0x00000000,
  34         0x858, 0x65a965a9,
  35         0x85c, 0x65a965a9,
  36         0x860, 0x001f0010,
  37         0x864, 0x007f0010,
  38         0x868, 0x001f0010,
  39         0x86c, 0x007f0010,
  40         0x870, 0x0f100f70,
  41         0x874, 0x0f100f70,
  42         0x878, 0x00000000,
  43         0x87c, 0x00000000,
  44         0x880, 0x6870e36c,
  45         0x884, 0xe3573600,
  46         0x888, 0x4260c340,
  47         0x88c, 0x0000ff00,
  48         0x890, 0x00000000,
  49         0x894, 0xfffffffe,
  50         0x898, 0x4c42382f,
  51         0x89c, 0x00656056,
  52         0x8b0, 0x00000000,
  53         0x8e0, 0x00000000,
  54         0x8e4, 0x00000000,
  55         0x900, 0x00000000,
  56         0x904, 0x00000023,
  57         0x908, 0x00000000,
  58         0x90c, 0x31121311,
  59         0xa00, 0x00d0c7d8,
  60         0xa04, 0x811f0008,
  61         0xa08, 0x80cd8300,
  62         0xa0c, 0x2e62740f,
  63         0xa10, 0x95009b78,
  64         0xa14, 0x11145008,
  65         0xa18, 0x00881117,
  66         0xa1c, 0x89140fa0,
  67         0xa20, 0x1a1b0000,
  68         0xa24, 0x090e1317,
  69         0xa28, 0x00000204,
  70         0xa2c, 0x00000000,
  71         0xc00, 0x00000040,
  72         0xc04, 0x00005433,
  73         0xc08, 0x000000e4,
  74         0xc0c, 0x6c6c6c6c,
  75         0xc10, 0x08800000,
  76         0xc14, 0x40000100,
  77         0xc18, 0x08000000,
  78         0xc1c, 0x40000100,
  79         0xc20, 0x08000000,
  80         0xc24, 0x40000100,
  81         0xc28, 0x08000000,
  82         0xc2c, 0x40000100,
  83         0xc30, 0x6de9ac44,
  84         0xc34, 0x465c52cd,
  85         0xc38, 0x497f5994,
  86         0xc3c, 0x0a969764,
  87         0xc40, 0x1f7c403f,
  88         0xc44, 0x000100b7,
  89         0xc48, 0xec020000,
  90         0xc4c, 0x00000300,
  91         0xc50, 0x69543420,
  92         0xc54, 0x433c0094,
  93         0xc58, 0x69543420,
  94         0xc5c, 0x433c0094,
  95         0xc60, 0x69543420,
  96         0xc64, 0x433c0094,
  97         0xc68, 0x69543420,
  98         0xc6c, 0x433c0094,
  99         0xc70, 0x2c7f000d,
 100         0xc74, 0x0186175b,
 101         0xc78, 0x0000001f,
 102         0xc7c, 0x00b91612,
 103         0xc80, 0x40000100,
 104         0xc84, 0x20000000,
 105         0xc88, 0x40000100,
 106         0xc8c, 0x20200000,
 107         0xc90, 0x40000100,
 108         0xc94, 0x00000000,
 109         0xc98, 0x40000100,
 110         0xc9c, 0x00000000,
 111         0xca0, 0x00492492,
 112         0xca4, 0x00000000,
 113         0xca8, 0x00000000,
 114         0xcac, 0x00000000,
 115         0xcb0, 0x00000000,
 116         0xcb4, 0x00000000,
 117         0xcb8, 0x00000000,
 118         0xcbc, 0x00492492,
 119         0xcc0, 0x00000000,
 120         0xcc4, 0x00000000,
 121         0xcc8, 0x00000000,
 122         0xccc, 0x00000000,
 123         0xcd0, 0x00000000,
 124         0xcd4, 0x00000000,
 125         0xcd8, 0x64b22427,
 126         0xcdc, 0x00766932,
 127         0xce0, 0x00222222,
 128         0xd00, 0x00000750,
 129         0xd04, 0x00000403,
 130         0xd08, 0x0000907f,
 131         0xd0c, 0x00000001,
 132         0xd10, 0xa0633333,
 133         0xd14, 0x33333c63,
 134         0xd18, 0x6a8f5b6b,
 135         0xd1c, 0x00000000,
 136         0xd20, 0x00000000,
 137         0xd24, 0x00000000,
 138         0xd28, 0x00000000,
 139         0xd2c, 0xcc979975,
 140         0xd30, 0x00000000,
 141         0xd34, 0x00000000,
 142         0xd38, 0x00000000,
 143         0xd3c, 0x00027293,
 144         0xd40, 0x00000000,
 145         0xd44, 0x00000000,
 146         0xd48, 0x00000000,
 147         0xd4c, 0x00000000,
 148         0xd50, 0x6437140a,
 149         0xd54, 0x024dbd02,
 150         0xd58, 0x00000000,
 151         0xd5c, 0x04032064,
 152         0xe00, 0x161a1a1a,
 153         0xe04, 0x12121416,
 154         0xe08, 0x00001800,
 155         0xe0c, 0x00000000,
 156         0xe10, 0x161a1a1a,
 157         0xe14, 0x12121416,
 158         0xe18, 0x161a1a1a,
 159         0xe1c, 0x12121416,
 160 };
 161 
 162 u32 Rtl8192PciERadioA_Array[RadioA_ArrayLengthPciE] = {
 163         0x019, 0x00000003,
 164         0x000, 0x000000bf,
 165         0x001, 0x00000ee0,
 166         0x002, 0x0000004c,
 167         0x003, 0x000007f1,
 168         0x004, 0x00000975,
 169         0x005, 0x00000c58,
 170         0x006, 0x00000ae6,
 171         0x007, 0x000000ca,
 172         0x008, 0x00000e1c,
 173         0x009, 0x000007f0,
 174         0x00a, 0x000009d0,
 175         0x00b, 0x000001ba,
 176         0x00c, 0x00000240,
 177         0x00e, 0x00000020,
 178         0x00f, 0x00000990,
 179         0x012, 0x00000806,
 180         0x014, 0x000005ab,
 181         0x015, 0x00000f80,
 182         0x016, 0x00000020,
 183         0x017, 0x00000597,
 184         0x018, 0x0000050a,
 185         0x01a, 0x00000f80,
 186         0x01b, 0x00000f5e,
 187         0x01c, 0x00000008,
 188         0x01d, 0x00000607,
 189         0x01e, 0x000006cc,
 190         0x01f, 0x00000000,
 191         0x020, 0x000001a5,
 192         0x01f, 0x00000001,
 193         0x020, 0x00000165,
 194         0x01f, 0x00000002,
 195         0x020, 0x000000c6,
 196         0x01f, 0x00000003,
 197         0x020, 0x00000086,
 198         0x01f, 0x00000004,
 199         0x020, 0x00000046,
 200         0x01f, 0x00000005,
 201         0x020, 0x000001e6,
 202         0x01f, 0x00000006,
 203         0x020, 0x000001a6,
 204         0x01f, 0x00000007,
 205         0x020, 0x00000166,
 206         0x01f, 0x00000008,
 207         0x020, 0x000000c7,
 208         0x01f, 0x00000009,
 209         0x020, 0x00000087,
 210         0x01f, 0x0000000a,
 211         0x020, 0x000000f7,
 212         0x01f, 0x0000000b,
 213         0x020, 0x000000d7,
 214         0x01f, 0x0000000c,
 215         0x020, 0x000000b7,
 216         0x01f, 0x0000000d,
 217         0x020, 0x00000097,
 218         0x01f, 0x0000000e,
 219         0x020, 0x00000077,
 220         0x01f, 0x0000000f,
 221         0x020, 0x00000057,
 222         0x01f, 0x00000010,
 223         0x020, 0x00000037,
 224         0x01f, 0x00000011,
 225         0x020, 0x000000fb,
 226         0x01f, 0x00000012,
 227         0x020, 0x000000db,
 228         0x01f, 0x00000013,
 229         0x020, 0x000000bb,
 230         0x01f, 0x00000014,
 231         0x020, 0x000000ff,
 232         0x01f, 0x00000015,
 233         0x020, 0x000000e3,
 234         0x01f, 0x00000016,
 235         0x020, 0x000000c3,
 236         0x01f, 0x00000017,
 237         0x020, 0x000000a3,
 238         0x01f, 0x00000018,
 239         0x020, 0x00000083,
 240         0x01f, 0x00000019,
 241         0x020, 0x00000063,
 242         0x01f, 0x0000001a,
 243         0x020, 0x00000043,
 244         0x01f, 0x0000001b,
 245         0x020, 0x00000023,
 246         0x01f, 0x0000001c,
 247         0x020, 0x00000003,
 248         0x01f, 0x0000001d,
 249         0x020, 0x000001e3,
 250         0x01f, 0x0000001e,
 251         0x020, 0x000001c3,
 252         0x01f, 0x0000001f,
 253         0x020, 0x000001a3,
 254         0x01f, 0x00000020,
 255         0x020, 0x00000183,
 256         0x01f, 0x00000021,
 257         0x020, 0x00000163,
 258         0x01f, 0x00000022,
 259         0x020, 0x00000143,
 260         0x01f, 0x00000023,
 261         0x020, 0x00000123,
 262         0x01f, 0x00000024,
 263         0x020, 0x00000103,
 264         0x023, 0x00000203,
 265         0x024, 0x00000100,
 266         0x00b, 0x000001ba,
 267         0x02c, 0x000003d7,
 268         0x02d, 0x00000ff0,
 269         0x000, 0x00000037,
 270         0x004, 0x00000160,
 271         0x007, 0x00000080,
 272         0x002, 0x0000088d,
 273         0x0fe, 0x00000000,
 274         0x0fe, 0x00000000,
 275         0x016, 0x00000200,
 276         0x016, 0x00000380,
 277         0x016, 0x00000020,
 278         0x016, 0x000001a0,
 279         0x000, 0x000000bf,
 280         0x00d, 0x0000001f,
 281         0x00d, 0x00000c9f,
 282         0x002, 0x0000004d,
 283         0x000, 0x00000cbf,
 284         0x004, 0x00000975,
 285         0x007, 0x00000700,
 286 };
 287 
 288 u32 Rtl8192PciERadioB_Array[RadioB_ArrayLengthPciE] = {
 289         0x019, 0x00000003,
 290         0x000, 0x000000bf,
 291         0x001, 0x000006e0,
 292         0x002, 0x0000004c,
 293         0x003, 0x000007f1,
 294         0x004, 0x00000975,
 295         0x005, 0x00000c58,
 296         0x006, 0x00000ae6,
 297         0x007, 0x000000ca,
 298         0x008, 0x00000e1c,
 299         0x000, 0x000000b7,
 300         0x00a, 0x00000850,
 301         0x000, 0x000000bf,
 302         0x00b, 0x000001ba,
 303         0x00c, 0x00000240,
 304         0x00e, 0x00000020,
 305         0x015, 0x00000f80,
 306         0x016, 0x00000020,
 307         0x017, 0x00000597,
 308         0x018, 0x0000050a,
 309         0x01a, 0x00000e00,
 310         0x01b, 0x00000f5e,
 311         0x01d, 0x00000607,
 312         0x01e, 0x000006cc,
 313         0x00b, 0x000001ba,
 314         0x023, 0x00000203,
 315         0x024, 0x00000100,
 316         0x000, 0x00000037,
 317         0x004, 0x00000160,
 318         0x016, 0x00000200,
 319         0x016, 0x00000380,
 320         0x016, 0x00000020,
 321         0x016, 0x000001a0,
 322         0x00d, 0x00000ccc,
 323         0x000, 0x000000bf,
 324         0x002, 0x0000004d,
 325         0x000, 0x00000cbf,
 326         0x004, 0x00000975,
 327         0x007, 0x00000700,
 328 };
 329 
 330 u32 Rtl8192PciERadioC_Array[RadioC_ArrayLengthPciE] = {
 331         0x0,  };
 332 
 333 u32 Rtl8192PciERadioD_Array[RadioD_ArrayLengthPciE] = {
 334         0x0, };
 335 
 336 u32 Rtl8192PciEMACPHY_Array[] = {
 337         0x03c, 0xffff0000, 0x00000f0f,
 338         0x340, 0xffffffff, 0x161a1a1a,
 339         0x344, 0xffffffff, 0x12121416,
 340         0x348, 0x0000ffff, 0x00001818,
 341         0x12c, 0xffffffff, 0x04000802,
 342         0x318, 0x00000fff, 0x00000100,
 343 };
 344 
 345 u32 Rtl8192PciEMACPHY_Array_PG[] = {
 346         0x03c, 0xffff0000, 0x00000f0f,
 347         0xe00, 0xffffffff, 0x06090909,
 348         0xe04, 0xffffffff, 0x00030306,
 349         0xe08, 0x0000ff00, 0x00000000,
 350         0xe10, 0xffffffff, 0x0a0c0d0f,
 351         0xe14, 0xffffffff, 0x06070809,
 352         0xe18, 0xffffffff, 0x0a0c0d0f,
 353         0xe1c, 0xffffffff, 0x06070809,
 354         0x12c, 0xffffffff, 0x04000802,
 355         0x318, 0x00000fff, 0x00000800,
 356 };
 357 
 358 u32 Rtl8192PciEAGCTAB_Array[AGCTAB_ArrayLengthPciE] = {
 359         0xc78, 0x7d000001,
 360         0xc78, 0x7d010001,
 361         0xc78, 0x7d020001,
 362         0xc78, 0x7d030001,
 363         0xc78, 0x7d040001,
 364         0xc78, 0x7d050001,
 365         0xc78, 0x7c060001,
 366         0xc78, 0x7b070001,
 367         0xc78, 0x7a080001,
 368         0xc78, 0x79090001,
 369         0xc78, 0x780a0001,
 370         0xc78, 0x770b0001,
 371         0xc78, 0x760c0001,
 372         0xc78, 0x750d0001,
 373         0xc78, 0x740e0001,
 374         0xc78, 0x730f0001,
 375         0xc78, 0x72100001,
 376         0xc78, 0x71110001,
 377         0xc78, 0x70120001,
 378         0xc78, 0x6f130001,
 379         0xc78, 0x6e140001,
 380         0xc78, 0x6d150001,
 381         0xc78, 0x6c160001,
 382         0xc78, 0x6b170001,
 383         0xc78, 0x6a180001,
 384         0xc78, 0x69190001,
 385         0xc78, 0x681a0001,
 386         0xc78, 0x671b0001,
 387         0xc78, 0x661c0001,
 388         0xc78, 0x651d0001,
 389         0xc78, 0x641e0001,
 390         0xc78, 0x491f0001,
 391         0xc78, 0x48200001,
 392         0xc78, 0x47210001,
 393         0xc78, 0x46220001,
 394         0xc78, 0x45230001,
 395         0xc78, 0x44240001,
 396         0xc78, 0x43250001,
 397         0xc78, 0x28260001,
 398         0xc78, 0x27270001,
 399         0xc78, 0x26280001,
 400         0xc78, 0x25290001,
 401         0xc78, 0x242a0001,
 402         0xc78, 0x232b0001,
 403         0xc78, 0x222c0001,
 404         0xc78, 0x212d0001,
 405         0xc78, 0x202e0001,
 406         0xc78, 0x0a2f0001,
 407         0xc78, 0x08300001,
 408         0xc78, 0x06310001,
 409         0xc78, 0x05320001,
 410         0xc78, 0x04330001,
 411         0xc78, 0x03340001,
 412         0xc78, 0x02350001,
 413         0xc78, 0x01360001,
 414         0xc78, 0x00370001,
 415         0xc78, 0x00380001,
 416         0xc78, 0x00390001,
 417         0xc78, 0x003a0001,
 418         0xc78, 0x003b0001,
 419         0xc78, 0x003c0001,
 420         0xc78, 0x003d0001,
 421         0xc78, 0x003e0001,
 422         0xc78, 0x003f0001,
 423         0xc78, 0x7d400001,
 424         0xc78, 0x7d410001,
 425         0xc78, 0x7d420001,
 426         0xc78, 0x7d430001,
 427         0xc78, 0x7d440001,
 428         0xc78, 0x7d450001,
 429         0xc78, 0x7c460001,
 430         0xc78, 0x7b470001,
 431         0xc78, 0x7a480001,
 432         0xc78, 0x79490001,
 433         0xc78, 0x784a0001,
 434         0xc78, 0x774b0001,
 435         0xc78, 0x764c0001,
 436         0xc78, 0x754d0001,
 437         0xc78, 0x744e0001,
 438         0xc78, 0x734f0001,
 439         0xc78, 0x72500001,
 440         0xc78, 0x71510001,
 441         0xc78, 0x70520001,
 442         0xc78, 0x6f530001,
 443         0xc78, 0x6e540001,
 444         0xc78, 0x6d550001,
 445         0xc78, 0x6c560001,
 446         0xc78, 0x6b570001,
 447         0xc78, 0x6a580001,
 448         0xc78, 0x69590001,
 449         0xc78, 0x685a0001,
 450         0xc78, 0x675b0001,
 451         0xc78, 0x665c0001,
 452         0xc78, 0x655d0001,
 453         0xc78, 0x645e0001,
 454         0xc78, 0x495f0001,
 455         0xc78, 0x48600001,
 456         0xc78, 0x47610001,
 457         0xc78, 0x46620001,
 458         0xc78, 0x45630001,
 459         0xc78, 0x44640001,
 460         0xc78, 0x43650001,
 461         0xc78, 0x28660001,
 462         0xc78, 0x27670001,
 463         0xc78, 0x26680001,
 464         0xc78, 0x25690001,
 465         0xc78, 0x246a0001,
 466         0xc78, 0x236b0001,
 467         0xc78, 0x226c0001,
 468         0xc78, 0x216d0001,
 469         0xc78, 0x206e0001,
 470         0xc78, 0x0a6f0001,
 471         0xc78, 0x08700001,
 472         0xc78, 0x06710001,
 473         0xc78, 0x05720001,
 474         0xc78, 0x04730001,
 475         0xc78, 0x03740001,
 476         0xc78, 0x02750001,
 477         0xc78, 0x01760001,
 478         0xc78, 0x00770001,
 479         0xc78, 0x00780001,
 480         0xc78, 0x00790001,
 481         0xc78, 0x007a0001,
 482         0xc78, 0x007b0001,
 483         0xc78, 0x007c0001,
 484         0xc78, 0x007d0001,
 485         0xc78, 0x007e0001,
 486         0xc78, 0x007f0001,
 487         0xc78, 0x2e00001e,
 488         0xc78, 0x2e01001e,
 489         0xc78, 0x2e02001e,
 490         0xc78, 0x2e03001e,
 491         0xc78, 0x2e04001e,
 492         0xc78, 0x2e05001e,
 493         0xc78, 0x3006001e,
 494         0xc78, 0x3407001e,
 495         0xc78, 0x3908001e,
 496         0xc78, 0x3c09001e,
 497         0xc78, 0x3f0a001e,
 498         0xc78, 0x420b001e,
 499         0xc78, 0x440c001e,
 500         0xc78, 0x450d001e,
 501         0xc78, 0x460e001e,
 502         0xc78, 0x460f001e,
 503         0xc78, 0x4710001e,
 504         0xc78, 0x4811001e,
 505         0xc78, 0x4912001e,
 506         0xc78, 0x4a13001e,
 507         0xc78, 0x4b14001e,
 508         0xc78, 0x4b15001e,
 509         0xc78, 0x4c16001e,
 510         0xc78, 0x4d17001e,
 511         0xc78, 0x4e18001e,
 512         0xc78, 0x4f19001e,
 513         0xc78, 0x4f1a001e,
 514         0xc78, 0x501b001e,
 515         0xc78, 0x511c001e,
 516         0xc78, 0x521d001e,
 517         0xc78, 0x521e001e,
 518         0xc78, 0x531f001e,
 519         0xc78, 0x5320001e,
 520         0xc78, 0x5421001e,
 521         0xc78, 0x5522001e,
 522         0xc78, 0x5523001e,
 523         0xc78, 0x5624001e,
 524         0xc78, 0x5725001e,
 525         0xc78, 0x5726001e,
 526         0xc78, 0x5827001e,
 527         0xc78, 0x5828001e,
 528         0xc78, 0x5929001e,
 529         0xc78, 0x592a001e,
 530         0xc78, 0x5a2b001e,
 531         0xc78, 0x5b2c001e,
 532         0xc78, 0x5c2d001e,
 533         0xc78, 0x5c2e001e,
 534         0xc78, 0x5d2f001e,
 535         0xc78, 0x5e30001e,
 536         0xc78, 0x5f31001e,
 537         0xc78, 0x6032001e,
 538         0xc78, 0x6033001e,
 539         0xc78, 0x6134001e,
 540         0xc78, 0x6235001e,
 541         0xc78, 0x6336001e,
 542         0xc78, 0x6437001e,
 543         0xc78, 0x6438001e,
 544         0xc78, 0x6539001e,
 545         0xc78, 0x663a001e,
 546         0xc78, 0x673b001e,
 547         0xc78, 0x673c001e,
 548         0xc78, 0x683d001e,
 549         0xc78, 0x693e001e,
 550         0xc78, 0x6a3f001e,
 551 };

/* [<][>][^][v][top][bottom][index][help] */