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 * The full GNU General Public License is included in this distribution in the 15 * file called LICENSE. 16 * 17 * Contact Information: 18 * wlanfae <wlanfae@realtek.com> 19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, 20 * Hsinchu 300, Taiwan. 21 * 22 * Created on 2010/ 5/18, 1:41 23 * 24 * Larry Finger <Larry.Finger@lwfinger.net> 25 * 26 *****************************************************************************/ 27 28 #include "table.h" 29 30 31 u32 RTL8192CEPHY_REG_2TARRAY[PHY_REG_2TARRAY_LENGTH] = { 32 0x024, 0x0011800f, 33 0x028, 0x00ffdb83, 34 0x800, 0x80040002, 35 0x804, 0x00000003, 36 0x808, 0x0000fc00, 37 0x80c, 0x0000000a, 38 0x810, 0x10005388, 39 0x814, 0x020c3d10, 40 0x818, 0x02200385, 41 0x81c, 0x00000000, 42 0x820, 0x01000100, 43 0x824, 0x00390004, 44 0x828, 0x01000100, 45 0x82c, 0x00390004, 46 0x830, 0x27272727, 47 0x834, 0x27272727, 48 0x838, 0x27272727, 49 0x83c, 0x27272727, 50 0x840, 0x00010000, 51 0x844, 0x00010000, 52 0x848, 0x27272727, 53 0x84c, 0x27272727, 54 0x850, 0x00000000, 55 0x854, 0x00000000, 56 0x858, 0x569a569a, 57 0x85c, 0x0c1b25a4, 58 0x860, 0x66e60230, 59 0x864, 0x061f0130, 60 0x868, 0x27272727, 61 0x86c, 0x2b2b2b27, 62 0x870, 0x07000700, 63 0x874, 0x22184000, 64 0x878, 0x08080808, 65 0x87c, 0x00000000, 66 0x880, 0xc0083070, 67 0x884, 0x000004d5, 68 0x888, 0x00000000, 69 0x88c, 0xcc0000c0, 70 0x890, 0x00000800, 71 0x894, 0xfffffffe, 72 0x898, 0x40302010, 73 0x89c, 0x00706050, 74 0x900, 0x00000000, 75 0x904, 0x00000023, 76 0x908, 0x00000000, 77 0x90c, 0x81121313, 78 0xa00, 0x00d047c8, 79 0xa04, 0x80ff000c, 80 0xa08, 0x8c838300, 81 0xa0c, 0x2e68120f, 82 0xa10, 0x9500bb78, 83 0xa14, 0x11144028, 84 0xa18, 0x00881117, 85 0xa1c, 0x89140f00, 86 0xa20, 0x1a1b0000, 87 0xa24, 0x090e1317, 88 0xa28, 0x00000204, 89 0xa2c, 0x00d30000, 90 0xa70, 0x101fbf00, 91 0xa74, 0x00000007, 92 0xc00, 0x48071d40, 93 0xc04, 0x03a05633, 94 0xc08, 0x000000e4, 95 0xc0c, 0x6c6c6c6c, 96 0xc10, 0x08800000, 97 0xc14, 0x40000100, 98 0xc18, 0x08800000, 99 0xc1c, 0x40000100, 100 0xc20, 0x00000000, 101 0xc24, 0x00000000, 102 0xc28, 0x00000000, 103 0xc2c, 0x00000000, 104 0xc30, 0x69e9ac44, 105 0xc34, 0x469652cf, 106 0xc38, 0x49795994, 107 0xc3c, 0x0a97971c, 108 0xc40, 0x1f7c403f, 109 0xc44, 0x000100b7, 110 0xc48, 0xec020107, 111 0xc4c, 0x007f037f, 112 0xc50, 0x69543420, 113 0xc54, 0x43bc0094, 114 0xc58, 0x69543420, 115 0xc5c, 0x433c0094, 116 0xc60, 0x00000000, 117 0xc64, 0x5116848b, 118 0xc68, 0x47c00bff, 119 0xc6c, 0x00000036, 120 0xc70, 0x2c7f000d, 121 0xc74, 0x018610db, 122 0xc78, 0x0000001f, 123 0xc7c, 0x00b91612, 124 0xc80, 0x40000100, 125 0xc84, 0x20f60000, 126 0xc88, 0x40000100, 127 0xc8c, 0x20200000, 128 0xc90, 0x00121820, 129 0xc94, 0x00000000, 130 0xc98, 0x00121820, 131 0xc9c, 0x00007f7f, 132 0xca0, 0x00000000, 133 0xca4, 0x00000080, 134 0xca8, 0x00000000, 135 0xcac, 0x00000000, 136 0xcb0, 0x00000000, 137 0xcb4, 0x00000000, 138 0xcb8, 0x00000000, 139 0xcbc, 0x28000000, 140 0xcc0, 0x00000000, 141 0xcc4, 0x00000000, 142 0xcc8, 0x00000000, 143 0xccc, 0x00000000, 144 0xcd0, 0x00000000, 145 0xcd4, 0x00000000, 146 0xcd8, 0x64b22427, 147 0xcdc, 0x00766932, 148 0xce0, 0x00222222, 149 0xce4, 0x00000000, 150 0xce8, 0x37644302, 151 0xcec, 0x2f97d40c, 152 0xd00, 0x00080740, 153 0xd04, 0x00020403, 154 0xd08, 0x0000907f, 155 0xd0c, 0x20010201, 156 0xd10, 0xa0633333, 157 0xd14, 0x3333bc43, 158 0xd18, 0x7a8f5b6b, 159 0xd2c, 0xcc979975, 160 0xd30, 0x00000000, 161 0xd34, 0x80608000, 162 0xd38, 0x00000000, 163 0xd3c, 0x00027293, 164 0xd40, 0x00000000, 165 0xd44, 0x00000000, 166 0xd48, 0x00000000, 167 0xd4c, 0x00000000, 168 0xd50, 0x6437140a, 169 0xd54, 0x00000000, 170 0xd58, 0x00000000, 171 0xd5c, 0x30032064, 172 0xd60, 0x4653de68, 173 0xd64, 0x04518a3c, 174 0xd68, 0x00002101, 175 0xd6c, 0x2a201c16, 176 0xd70, 0x1812362e, 177 0xd74, 0x322c2220, 178 0xd78, 0x000e3c24, 179 0xe00, 0x2a2a2a2a, 180 0xe04, 0x2a2a2a2a, 181 0xe08, 0x03902a2a, 182 0xe10, 0x2a2a2a2a, 183 0xe14, 0x2a2a2a2a, 184 0xe18, 0x2a2a2a2a, 185 0xe1c, 0x2a2a2a2a, 186 0xe28, 0x00000000, 187 0xe30, 0x1000dc1f, 188 0xe34, 0x10008c1f, 189 0xe38, 0x02140102, 190 0xe3c, 0x681604c2, 191 0xe40, 0x01007c00, 192 0xe44, 0x01004800, 193 0xe48, 0xfb000000, 194 0xe4c, 0x000028d1, 195 0xe50, 0x1000dc1f, 196 0xe54, 0x10008c1f, 197 0xe58, 0x02140102, 198 0xe5c, 0x28160d05, 199 0xe60, 0x00000010, 200 0xe68, 0x001b25a4, 201 0xe6c, 0x63db25a4, 202 0xe70, 0x63db25a4, 203 0xe74, 0x0c1b25a4, 204 0xe78, 0x0c1b25a4, 205 0xe7c, 0x0c1b25a4, 206 0xe80, 0x0c1b25a4, 207 0xe84, 0x63db25a4, 208 0xe88, 0x0c1b25a4, 209 0xe8c, 0x63db25a4, 210 0xed0, 0x63db25a4, 211 0xed4, 0x63db25a4, 212 0xed8, 0x63db25a4, 213 0xedc, 0x001b25a4, 214 0xee0, 0x001b25a4, 215 0xeec, 0x6fdb25a4, 216 0xf14, 0x00000003, 217 0xf4c, 0x00000000, 218 0xf00, 0x00000300, 219 }; 220 221 u32 RTL8192CEPHY_REG_1TARRAY[PHY_REG_1TARRAY_LENGTH] = { 222 0x024, 0x0011800f, 223 0x028, 0x00ffdb83, 224 0x800, 0x80040000, 225 0x804, 0x00000001, 226 0x808, 0x0000fc00, 227 0x80c, 0x0000000a, 228 0x810, 0x10005388, 229 0x814, 0x020c3d10, 230 0x818, 0x02200385, 231 0x81c, 0x00000000, 232 0x820, 0x01000100, 233 0x824, 0x00390004, 234 0x828, 0x00000000, 235 0x82c, 0x00000000, 236 0x830, 0x00000000, 237 0x834, 0x00000000, 238 0x838, 0x00000000, 239 0x83c, 0x00000000, 240 0x840, 0x00010000, 241 0x844, 0x00000000, 242 0x848, 0x00000000, 243 0x84c, 0x00000000, 244 0x850, 0x00000000, 245 0x854, 0x00000000, 246 0x858, 0x569a569a, 247 0x85c, 0x001b25a4, 248 0x860, 0x66e60230, 249 0x864, 0x061f0130, 250 0x868, 0x00000000, 251 0x86c, 0x32323200, 252 0x870, 0x07000700, 253 0x874, 0x22004000, 254 0x878, 0x00000808, 255 0x87c, 0x00000000, 256 0x880, 0xc0083070, 257 0x884, 0x000004d5, 258 0x888, 0x00000000, 259 0x88c, 0xccc000c0, 260 0x890, 0x00000800, 261 0x894, 0xfffffffe, 262 0x898, 0x40302010, 263 0x89c, 0x00706050, 264 0x900, 0x00000000, 265 0x904, 0x00000023, 266 0x908, 0x00000000, 267 0x90c, 0x81121111, 268 0xa00, 0x00d047c8, 269 0xa04, 0x80ff000c, 270 0xa08, 0x8c838300, 271 0xa0c, 0x2e68120f, 272 0xa10, 0x9500bb78, 273 0xa14, 0x11144028, 274 0xa18, 0x00881117, 275 0xa1c, 0x89140f00, 276 0xa20, 0x1a1b0000, 277 0xa24, 0x090e1317, 278 0xa28, 0x00000204, 279 0xa2c, 0x00d30000, 280 0xa70, 0x101fbf00, 281 0xa74, 0x00000007, 282 0xc00, 0x48071d40, 283 0xc04, 0x03a05611, 284 0xc08, 0x000000e4, 285 0xc0c, 0x6c6c6c6c, 286 0xc10, 0x08800000, 287 0xc14, 0x40000100, 288 0xc18, 0x08800000, 289 0xc1c, 0x40000100, 290 0xc20, 0x00000000, 291 0xc24, 0x00000000, 292 0xc28, 0x00000000, 293 0xc2c, 0x00000000, 294 0xc30, 0x69e9ac44, 295 0xc34, 0x469652cf, 296 0xc38, 0x49795994, 297 0xc3c, 0x0a97971c, 298 0xc40, 0x1f7c403f, 299 0xc44, 0x000100b7, 300 0xc48, 0xec020107, 301 0xc4c, 0x007f037f, 302 0xc50, 0x69543420, 303 0xc54, 0x43bc0094, 304 0xc58, 0x69543420, 305 0xc5c, 0x433c0094, 306 0xc60, 0x00000000, 307 0xc64, 0x5116848b, 308 0xc68, 0x47c00bff, 309 0xc6c, 0x00000036, 310 0xc70, 0x2c7f000d, 311 0xc74, 0x018610db, 312 0xc78, 0x0000001f, 313 0xc7c, 0x00b91612, 314 0xc80, 0x40000100, 315 0xc84, 0x20f60000, 316 0xc88, 0x40000100, 317 0xc8c, 0x20200000, 318 0xc90, 0x00121820, 319 0xc94, 0x00000000, 320 0xc98, 0x00121820, 321 0xc9c, 0x00007f7f, 322 0xca0, 0x00000000, 323 0xca4, 0x00000080, 324 0xca8, 0x00000000, 325 0xcac, 0x00000000, 326 0xcb0, 0x00000000, 327 0xcb4, 0x00000000, 328 0xcb8, 0x00000000, 329 0xcbc, 0x28000000, 330 0xcc0, 0x00000000, 331 0xcc4, 0x00000000, 332 0xcc8, 0x00000000, 333 0xccc, 0x00000000, 334 0xcd0, 0x00000000, 335 0xcd4, 0x00000000, 336 0xcd8, 0x64b22427, 337 0xcdc, 0x00766932, 338 0xce0, 0x00222222, 339 0xce4, 0x00000000, 340 0xce8, 0x37644302, 341 0xcec, 0x2f97d40c, 342 0xd00, 0x00080740, 343 0xd04, 0x00020401, 344 0xd08, 0x0000907f, 345 0xd0c, 0x20010201, 346 0xd10, 0xa0633333, 347 0xd14, 0x3333bc43, 348 0xd18, 0x7a8f5b6b, 349 0xd2c, 0xcc979975, 350 0xd30, 0x00000000, 351 0xd34, 0x80608000, 352 0xd38, 0x00000000, 353 0xd3c, 0x00027293, 354 0xd40, 0x00000000, 355 0xd44, 0x00000000, 356 0xd48, 0x00000000, 357 0xd4c, 0x00000000, 358 0xd50, 0x6437140a, 359 0xd54, 0x00000000, 360 0xd58, 0x00000000, 361 0xd5c, 0x30032064, 362 0xd60, 0x4653de68, 363 0xd64, 0x04518a3c, 364 0xd68, 0x00002101, 365 0xd6c, 0x2a201c16, 366 0xd70, 0x1812362e, 367 0xd74, 0x322c2220, 368 0xd78, 0x000e3c24, 369 0xe00, 0x2a2a2a2a, 370 0xe04, 0x2a2a2a2a, 371 0xe08, 0x03902a2a, 372 0xe10, 0x2a2a2a2a, 373 0xe14, 0x2a2a2a2a, 374 0xe18, 0x2a2a2a2a, 375 0xe1c, 0x2a2a2a2a, 376 0xe28, 0x00000000, 377 0xe30, 0x1000dc1f, 378 0xe34, 0x10008c1f, 379 0xe38, 0x02140102, 380 0xe3c, 0x681604c2, 381 0xe40, 0x01007c00, 382 0xe44, 0x01004800, 383 0xe48, 0xfb000000, 384 0xe4c, 0x000028d1, 385 0xe50, 0x1000dc1f, 386 0xe54, 0x10008c1f, 387 0xe58, 0x02140102, 388 0xe5c, 0x28160d05, 389 0xe60, 0x00000010, 390 0xe68, 0x001b25a4, 391 0xe6c, 0x631b25a0, 392 0xe70, 0x631b25a0, 393 0xe74, 0x081b25a0, 394 0xe78, 0x081b25a0, 395 0xe7c, 0x081b25a0, 396 0xe80, 0x081b25a0, 397 0xe84, 0x631b25a0, 398 0xe88, 0x081b25a0, 399 0xe8c, 0x631b25a0, 400 0xed0, 0x631b25a0, 401 0xed4, 0x631b25a0, 402 0xed8, 0x631b25a0, 403 0xedc, 0x001b25a0, 404 0xee0, 0x001b25a0, 405 0xeec, 0x6b1b25a0, 406 0xf14, 0x00000003, 407 0xf4c, 0x00000000, 408 0xf00, 0x00000300, 409 }; 410 411 u32 RTL8192CEPHY_REG_ARRAY_PG[PHY_REG_ARRAY_PGLENGTH] = { 412 0xe00, 0xffffffff, 0x0a0c0c0c, 413 0xe04, 0xffffffff, 0x02040608, 414 0xe08, 0x0000ff00, 0x00000000, 415 0x86c, 0xffffff00, 0x00000000, 416 0xe10, 0xffffffff, 0x0a0c0d0e, 417 0xe14, 0xffffffff, 0x02040608, 418 0xe18, 0xffffffff, 0x0a0c0d0e, 419 0xe1c, 0xffffffff, 0x02040608, 420 0x830, 0xffffffff, 0x0a0c0c0c, 421 0x834, 0xffffffff, 0x02040608, 422 0x838, 0xffffff00, 0x00000000, 423 0x86c, 0x000000ff, 0x00000000, 424 0x83c, 0xffffffff, 0x0a0c0d0e, 425 0x848, 0xffffffff, 0x02040608, 426 0x84c, 0xffffffff, 0x0a0c0d0e, 427 0x868, 0xffffffff, 0x02040608, 428 0xe00, 0xffffffff, 0x00000000, 429 0xe04, 0xffffffff, 0x00000000, 430 0xe08, 0x0000ff00, 0x00000000, 431 0x86c, 0xffffff00, 0x00000000, 432 0xe10, 0xffffffff, 0x00000000, 433 0xe14, 0xffffffff, 0x00000000, 434 0xe18, 0xffffffff, 0x00000000, 435 0xe1c, 0xffffffff, 0x00000000, 436 0x830, 0xffffffff, 0x00000000, 437 0x834, 0xffffffff, 0x00000000, 438 0x838, 0xffffff00, 0x00000000, 439 0x86c, 0x000000ff, 0x00000000, 440 0x83c, 0xffffffff, 0x00000000, 441 0x848, 0xffffffff, 0x00000000, 442 0x84c, 0xffffffff, 0x00000000, 443 0x868, 0xffffffff, 0x00000000, 444 0xe00, 0xffffffff, 0x04040404, 445 0xe04, 0xffffffff, 0x00020204, 446 0xe08, 0x0000ff00, 0x00000000, 447 0x86c, 0xffffff00, 0x00000000, 448 0xe10, 0xffffffff, 0x06060606, 449 0xe14, 0xffffffff, 0x00020406, 450 0xe18, 0xffffffff, 0x06060606, 451 0xe1c, 0xffffffff, 0x00020406, 452 0x830, 0xffffffff, 0x04040404, 453 0x834, 0xffffffff, 0x00020204, 454 0x838, 0xffffff00, 0x00000000, 455 0x86c, 0x000000ff, 0x00000000, 456 0x83c, 0xffffffff, 0x06060606, 457 0x848, 0xffffffff, 0x00020406, 458 0x84c, 0xffffffff, 0x06060606, 459 0x868, 0xffffffff, 0x00020406, 460 0xe00, 0xffffffff, 0x00000000, 461 0xe04, 0xffffffff, 0x00000000, 462 0xe08, 0x0000ff00, 0x00000000, 463 0x86c, 0xffffff00, 0x00000000, 464 0xe10, 0xffffffff, 0x00000000, 465 0xe14, 0xffffffff, 0x00000000, 466 0xe18, 0xffffffff, 0x00000000, 467 0xe1c, 0xffffffff, 0x00000000, 468 0x830, 0xffffffff, 0x00000000, 469 0x834, 0xffffffff, 0x00000000, 470 0x838, 0xffffff00, 0x00000000, 471 0x86c, 0x000000ff, 0x00000000, 472 0x83c, 0xffffffff, 0x00000000, 473 0x848, 0xffffffff, 0x00000000, 474 0x84c, 0xffffffff, 0x00000000, 475 0x868, 0xffffffff, 0x00000000, 476 }; 477 478 u32 RTL8192CERADIOA_2TARRAY[RADIOA_2TARRAYLENGTH] = { 479 0x000, 0x00030159, 480 0x001, 0x00031284, 481 0x002, 0x00098000, 482 0x003, 0x00018c63, 483 0x004, 0x000210e7, 484 0x009, 0x0002044f, 485 0x00a, 0x0001adb0, 486 0x00b, 0x00054867, 487 0x00c, 0x0008992e, 488 0x00d, 0x0000e52c, 489 0x00e, 0x00039ce7, 490 0x00f, 0x00000451, 491 0x019, 0x00000000, 492 0x01a, 0x00010255, 493 0x01b, 0x00060a00, 494 0x01c, 0x000fc378, 495 0x01d, 0x000a1250, 496 0x01e, 0x0004445f, 497 0x01f, 0x00080001, 498 0x020, 0x0000b614, 499 0x021, 0x0006c000, 500 0x022, 0x00000000, 501 0x023, 0x00001558, 502 0x024, 0x00000060, 503 0x025, 0x00000483, 504 0x026, 0x0004f000, 505 0x027, 0x000ec7d9, 506 0x028, 0x000977c0, 507 0x029, 0x00004783, 508 0x02a, 0x00000001, 509 0x02b, 0x00021334, 510 0x02a, 0x00000000, 511 0x02b, 0x00000054, 512 0x02a, 0x00000001, 513 0x02b, 0x00000808, 514 0x02b, 0x00053333, 515 0x02c, 0x0000000c, 516 0x02a, 0x00000002, 517 0x02b, 0x00000808, 518 0x02b, 0x0005b333, 519 0x02c, 0x0000000d, 520 0x02a, 0x00000003, 521 0x02b, 0x00000808, 522 0x02b, 0x00063333, 523 0x02c, 0x0000000d, 524 0x02a, 0x00000004, 525 0x02b, 0x00000808, 526 0x02b, 0x0006b333, 527 0x02c, 0x0000000d, 528 0x02a, 0x00000005, 529 0x02b, 0x00000808, 530 0x02b, 0x00073333, 531 0x02c, 0x0000000d, 532 0x02a, 0x00000006, 533 0x02b, 0x00000709, 534 0x02b, 0x0005b333, 535 0x02c, 0x0000000d, 536 0x02a, 0x00000007, 537 0x02b, 0x00000709, 538 0x02b, 0x00063333, 539 0x02c, 0x0000000d, 540 0x02a, 0x00000008, 541 0x02b, 0x0000060a, 542 0x02b, 0x0004b333, 543 0x02c, 0x0000000d, 544 0x02a, 0x00000009, 545 0x02b, 0x0000060a, 546 0x02b, 0x00053333, 547 0x02c, 0x0000000d, 548 0x02a, 0x0000000a, 549 0x02b, 0x0000060a, 550 0x02b, 0x0005b333, 551 0x02c, 0x0000000d, 552 0x02a, 0x0000000b, 553 0x02b, 0x0000060a, 554 0x02b, 0x00063333, 555 0x02c, 0x0000000d, 556 0x02a, 0x0000000c, 557 0x02b, 0x0000060a, 558 0x02b, 0x0006b333, 559 0x02c, 0x0000000d, 560 0x02a, 0x0000000d, 561 0x02b, 0x0000060a, 562 0x02b, 0x00073333, 563 0x02c, 0x0000000d, 564 0x02a, 0x0000000e, 565 0x02b, 0x0000050b, 566 0x02b, 0x00066666, 567 0x02c, 0x0000001a, 568 0x02a, 0x000e0000, 569 0x010, 0x0004000f, 570 0x011, 0x000e31fc, 571 0x010, 0x0006000f, 572 0x011, 0x000ff9f8, 573 0x010, 0x0002000f, 574 0x011, 0x000203f9, 575 0x010, 0x0003000f, 576 0x011, 0x000ff500, 577 0x010, 0x00000000, 578 0x011, 0x00000000, 579 0x010, 0x0008000f, 580 0x011, 0x0003f100, 581 0x010, 0x0009000f, 582 0x011, 0x00023100, 583 0x012, 0x00032000, 584 0x012, 0x00071000, 585 0x012, 0x000b0000, 586 0x012, 0x000fc000, 587 0x013, 0x000287af, 588 0x013, 0x000244b7, 589 0x013, 0x000204ab, 590 0x013, 0x0001c49f, 591 0x013, 0x00018493, 592 0x013, 0x00014297, 593 0x013, 0x00010295, 594 0x013, 0x0000c298, 595 0x013, 0x0000819c, 596 0x013, 0x000040a8, 597 0x013, 0x0000001c, 598 0x014, 0x0001944c, 599 0x014, 0x00059444, 600 0x014, 0x0009944c, 601 0x014, 0x000d9444, 602 0x015, 0x0000f424, 603 0x015, 0x0004f424, 604 0x015, 0x0008f424, 605 0x015, 0x000cf424, 606 0x016, 0x000e0330, 607 0x016, 0x000a0330, 608 0x016, 0x00060330, 609 0x016, 0x00020330, 610 0x000, 0x00010159, 611 0x018, 0x0000f401, 612 0x0fe, 0x00000000, 613 0x0fe, 0x00000000, 614 0x01f, 0x00080003, 615 0x0fe, 0x00000000, 616 0x0fe, 0x00000000, 617 0x01e, 0x00044457, 618 0x01f, 0x00080000, 619 0x000, 0x00030159, 620 }; 621 622 u32 RTL8192CE_RADIOB_2TARRAY[RADIOB_2TARRAYLENGTH] = { 623 0x000, 0x00030159, 624 0x001, 0x00031284, 625 0x002, 0x00098000, 626 0x003, 0x00018c63, 627 0x004, 0x000210e7, 628 0x009, 0x0002044f, 629 0x00a, 0x0001adb0, 630 0x00b, 0x00054867, 631 0x00c, 0x0008992e, 632 0x00d, 0x0000e52c, 633 0x00e, 0x00039ce7, 634 0x00f, 0x00000451, 635 0x012, 0x00032000, 636 0x012, 0x00071000, 637 0x012, 0x000b0000, 638 0x012, 0x000fc000, 639 0x013, 0x000287af, 640 0x013, 0x000244b7, 641 0x013, 0x000204ab, 642 0x013, 0x0001c49f, 643 0x013, 0x00018493, 644 0x013, 0x00014297, 645 0x013, 0x00010295, 646 0x013, 0x0000c298, 647 0x013, 0x0000819c, 648 0x013, 0x000040a8, 649 0x013, 0x0000001c, 650 0x014, 0x0001944c, 651 0x014, 0x00059444, 652 0x014, 0x0009944c, 653 0x014, 0x000d9444, 654 0x015, 0x0000f424, 655 0x015, 0x0004f424, 656 0x015, 0x0008f424, 657 0x015, 0x000cf424, 658 0x016, 0x000e0330, 659 0x016, 0x000a0330, 660 0x016, 0x00060330, 661 0x016, 0x00020330, 662 }; 663 664 u32 RTL8192CE_RADIOA_1TARRAY[RADIOA_1TARRAYLENGTH] = { 665 0x000, 0x00030159, 666 0x001, 0x00031284, 667 0x002, 0x00098000, 668 0x003, 0x00018c63, 669 0x004, 0x000210e7, 670 0x009, 0x0002044f, 671 0x00a, 0x0001adb0, 672 0x00b, 0x00054867, 673 0x00c, 0x0008992e, 674 0x00d, 0x0000e52c, 675 0x00e, 0x00039ce7, 676 0x00f, 0x00000451, 677 0x019, 0x00000000, 678 0x01a, 0x00010255, 679 0x01b, 0x00060a00, 680 0x01c, 0x000fc378, 681 0x01d, 0x000a1250, 682 0x01e, 0x0004445f, 683 0x01f, 0x00080001, 684 0x020, 0x0000b614, 685 0x021, 0x0006c000, 686 0x022, 0x00000000, 687 0x023, 0x00001558, 688 0x024, 0x00000060, 689 0x025, 0x00000483, 690 0x026, 0x0004f000, 691 0x027, 0x000ec7d9, 692 0x028, 0x000977c0, 693 0x029, 0x00004783, 694 0x02a, 0x00000001, 695 0x02b, 0x00021334, 696 0x02a, 0x00000000, 697 0x02b, 0x00000054, 698 0x02a, 0x00000001, 699 0x02b, 0x00000808, 700 0x02b, 0x00053333, 701 0x02c, 0x0000000c, 702 0x02a, 0x00000002, 703 0x02b, 0x00000808, 704 0x02b, 0x0005b333, 705 0x02c, 0x0000000d, 706 0x02a, 0x00000003, 707 0x02b, 0x00000808, 708 0x02b, 0x00063333, 709 0x02c, 0x0000000d, 710 0x02a, 0x00000004, 711 0x02b, 0x00000808, 712 0x02b, 0x0006b333, 713 0x02c, 0x0000000d, 714 0x02a, 0x00000005, 715 0x02b, 0x00000808, 716 0x02b, 0x00073333, 717 0x02c, 0x0000000d, 718 0x02a, 0x00000006, 719 0x02b, 0x00000709, 720 0x02b, 0x0005b333, 721 0x02c, 0x0000000d, 722 0x02a, 0x00000007, 723 0x02b, 0x00000709, 724 0x02b, 0x00063333, 725 0x02c, 0x0000000d, 726 0x02a, 0x00000008, 727 0x02b, 0x0000060a, 728 0x02b, 0x0004b333, 729 0x02c, 0x0000000d, 730 0x02a, 0x00000009, 731 0x02b, 0x0000060a, 732 0x02b, 0x00053333, 733 0x02c, 0x0000000d, 734 0x02a, 0x0000000a, 735 0x02b, 0x0000060a, 736 0x02b, 0x0005b333, 737 0x02c, 0x0000000d, 738 0x02a, 0x0000000b, 739 0x02b, 0x0000060a, 740 0x02b, 0x00063333, 741 0x02c, 0x0000000d, 742 0x02a, 0x0000000c, 743 0x02b, 0x0000060a, 744 0x02b, 0x0006b333, 745 0x02c, 0x0000000d, 746 0x02a, 0x0000000d, 747 0x02b, 0x0000060a, 748 0x02b, 0x00073333, 749 0x02c, 0x0000000d, 750 0x02a, 0x0000000e, 751 0x02b, 0x0000050b, 752 0x02b, 0x00066666, 753 0x02c, 0x0000001a, 754 0x02a, 0x000e0000, 755 0x010, 0x0004000f, 756 0x011, 0x000e31fc, 757 0x010, 0x0006000f, 758 0x011, 0x000ff9f8, 759 0x010, 0x0002000f, 760 0x011, 0x000203f9, 761 0x010, 0x0003000f, 762 0x011, 0x000ff500, 763 0x010, 0x00000000, 764 0x011, 0x00000000, 765 0x010, 0x0008000f, 766 0x011, 0x0003f100, 767 0x010, 0x0009000f, 768 0x011, 0x00023100, 769 0x012, 0x00032000, 770 0x012, 0x00071000, 771 0x012, 0x000b0000, 772 0x012, 0x000fc000, 773 0x013, 0x000287af, 774 0x013, 0x000244b7, 775 0x013, 0x000204ab, 776 0x013, 0x0001c49f, 777 0x013, 0x00018493, 778 0x013, 0x00014297, 779 0x013, 0x00010295, 780 0x013, 0x0000c298, 781 0x013, 0x0000819c, 782 0x013, 0x000040a8, 783 0x013, 0x0000001c, 784 0x014, 0x0001944c, 785 0x014, 0x00059444, 786 0x014, 0x0009944c, 787 0x014, 0x000d9444, 788 0x015, 0x0000f424, 789 0x015, 0x0004f424, 790 0x015, 0x0008f424, 791 0x015, 0x000cf424, 792 0x016, 0x000e0330, 793 0x016, 0x000a0330, 794 0x016, 0x00060330, 795 0x016, 0x00020330, 796 0x000, 0x00010159, 797 0x018, 0x0000f401, 798 0x0fe, 0x00000000, 799 0x0fe, 0x00000000, 800 0x01f, 0x00080003, 801 0x0fe, 0x00000000, 802 0x0fe, 0x00000000, 803 0x01e, 0x00044457, 804 0x01f, 0x00080000, 805 0x000, 0x00030159, 806 }; 807 808 u32 RTL8192CE_RADIOB_1TARRAY[RADIOB_1TARRAYLENGTH] = { 809 0x0, 810 }; 811 812 u32 RTL8192CEMAC_2T_ARRAY[MAC_2T_ARRAYLENGTH] = { 813 0x420, 0x00000080, 814 0x423, 0x00000000, 815 0x430, 0x00000000, 816 0x431, 0x00000000, 817 0x432, 0x00000000, 818 0x433, 0x00000001, 819 0x434, 0x00000004, 820 0x435, 0x00000005, 821 0x436, 0x00000006, 822 0x437, 0x00000007, 823 0x438, 0x00000000, 824 0x439, 0x00000000, 825 0x43a, 0x00000000, 826 0x43b, 0x00000001, 827 0x43c, 0x00000004, 828 0x43d, 0x00000005, 829 0x43e, 0x00000006, 830 0x43f, 0x00000007, 831 0x440, 0x0000005d, 832 0x441, 0x00000001, 833 0x442, 0x00000000, 834 0x444, 0x00000015, 835 0x445, 0x000000f0, 836 0x446, 0x0000000f, 837 0x447, 0x00000000, 838 0x458, 0x00000041, 839 0x459, 0x000000a8, 840 0x45a, 0x00000072, 841 0x45b, 0x000000b9, 842 0x460, 0x00000088, 843 0x461, 0x00000088, 844 0x462, 0x00000006, 845 0x463, 0x00000003, 846 0x4c8, 0x00000004, 847 0x4c9, 0x00000008, 848 0x4cc, 0x00000002, 849 0x4cd, 0x00000028, 850 0x4ce, 0x00000001, 851 0x500, 0x00000026, 852 0x501, 0x000000a2, 853 0x502, 0x0000002f, 854 0x503, 0x00000000, 855 0x504, 0x00000028, 856 0x505, 0x000000a3, 857 0x506, 0x0000005e, 858 0x507, 0x00000000, 859 0x508, 0x0000002b, 860 0x509, 0x000000a4, 861 0x50a, 0x0000005e, 862 0x50b, 0x00000000, 863 0x50c, 0x0000004f, 864 0x50d, 0x000000a4, 865 0x50e, 0x00000000, 866 0x50f, 0x00000000, 867 0x512, 0x0000001c, 868 0x514, 0x0000000a, 869 0x515, 0x00000010, 870 0x516, 0x0000000a, 871 0x517, 0x00000010, 872 0x51a, 0x00000016, 873 0x524, 0x0000000f, 874 0x525, 0x0000004f, 875 0x546, 0x00000020, 876 0x547, 0x00000000, 877 0x559, 0x00000002, 878 0x55a, 0x00000002, 879 0x55d, 0x000000ff, 880 0x605, 0x00000030, 881 0x608, 0x0000000e, 882 0x609, 0x0000002a, 883 0x652, 0x00000020, 884 0x63c, 0x0000000a, 885 0x63d, 0x0000000a, 886 0x700, 0x00000021, 887 0x701, 0x00000043, 888 0x702, 0x00000065, 889 0x703, 0x00000087, 890 0x708, 0x00000021, 891 0x709, 0x00000043, 892 0x70a, 0x00000065, 893 0x70b, 0x00000087, 894 }; 895 896 u32 RTL8192CEAGCTAB_2TARRAY[AGCTAB_2TARRAYLENGTH] = { 897 0xc78, 0x7b000001, 898 0xc78, 0x7b010001, 899 0xc78, 0x7b020001, 900 0xc78, 0x7b030001, 901 0xc78, 0x7b040001, 902 0xc78, 0x7b050001, 903 0xc78, 0x7a060001, 904 0xc78, 0x79070001, 905 0xc78, 0x78080001, 906 0xc78, 0x77090001, 907 0xc78, 0x760a0001, 908 0xc78, 0x750b0001, 909 0xc78, 0x740c0001, 910 0xc78, 0x730d0001, 911 0xc78, 0x720e0001, 912 0xc78, 0x710f0001, 913 0xc78, 0x70100001, 914 0xc78, 0x6f110001, 915 0xc78, 0x6e120001, 916 0xc78, 0x6d130001, 917 0xc78, 0x6c140001, 918 0xc78, 0x6b150001, 919 0xc78, 0x6a160001, 920 0xc78, 0x69170001, 921 0xc78, 0x68180001, 922 0xc78, 0x67190001, 923 0xc78, 0x661a0001, 924 0xc78, 0x651b0001, 925 0xc78, 0x641c0001, 926 0xc78, 0x631d0001, 927 0xc78, 0x621e0001, 928 0xc78, 0x611f0001, 929 0xc78, 0x60200001, 930 0xc78, 0x49210001, 931 0xc78, 0x48220001, 932 0xc78, 0x47230001, 933 0xc78, 0x46240001, 934 0xc78, 0x45250001, 935 0xc78, 0x44260001, 936 0xc78, 0x43270001, 937 0xc78, 0x42280001, 938 0xc78, 0x41290001, 939 0xc78, 0x402a0001, 940 0xc78, 0x262b0001, 941 0xc78, 0x252c0001, 942 0xc78, 0x242d0001, 943 0xc78, 0x232e0001, 944 0xc78, 0x222f0001, 945 0xc78, 0x21300001, 946 0xc78, 0x20310001, 947 0xc78, 0x06320001, 948 0xc78, 0x05330001, 949 0xc78, 0x04340001, 950 0xc78, 0x03350001, 951 0xc78, 0x02360001, 952 0xc78, 0x01370001, 953 0xc78, 0x00380001, 954 0xc78, 0x00390001, 955 0xc78, 0x003a0001, 956 0xc78, 0x003b0001, 957 0xc78, 0x003c0001, 958 0xc78, 0x003d0001, 959 0xc78, 0x003e0001, 960 0xc78, 0x003f0001, 961 0xc78, 0x7b400001, 962 0xc78, 0x7b410001, 963 0xc78, 0x7b420001, 964 0xc78, 0x7b430001, 965 0xc78, 0x7b440001, 966 0xc78, 0x7b450001, 967 0xc78, 0x7a460001, 968 0xc78, 0x79470001, 969 0xc78, 0x78480001, 970 0xc78, 0x77490001, 971 0xc78, 0x764a0001, 972 0xc78, 0x754b0001, 973 0xc78, 0x744c0001, 974 0xc78, 0x734d0001, 975 0xc78, 0x724e0001, 976 0xc78, 0x714f0001, 977 0xc78, 0x70500001, 978 0xc78, 0x6f510001, 979 0xc78, 0x6e520001, 980 0xc78, 0x6d530001, 981 0xc78, 0x6c540001, 982 0xc78, 0x6b550001, 983 0xc78, 0x6a560001, 984 0xc78, 0x69570001, 985 0xc78, 0x68580001, 986 0xc78, 0x67590001, 987 0xc78, 0x665a0001, 988 0xc78, 0x655b0001, 989 0xc78, 0x645c0001, 990 0xc78, 0x635d0001, 991 0xc78, 0x625e0001, 992 0xc78, 0x615f0001, 993 0xc78, 0x60600001, 994 0xc78, 0x49610001, 995 0xc78, 0x48620001, 996 0xc78, 0x47630001, 997 0xc78, 0x46640001, 998 0xc78, 0x45650001, 999 0xc78, 0x44660001, 1000 0xc78, 0x43670001, 1001 0xc78, 0x42680001, 1002 0xc78, 0x41690001, 1003 0xc78, 0x406a0001, 1004 0xc78, 0x266b0001, 1005 0xc78, 0x256c0001, 1006 0xc78, 0x246d0001, 1007 0xc78, 0x236e0001, 1008 0xc78, 0x226f0001, 1009 0xc78, 0x21700001, 1010 0xc78, 0x20710001, 1011 0xc78, 0x06720001, 1012 0xc78, 0x05730001, 1013 0xc78, 0x04740001, 1014 0xc78, 0x03750001, 1015 0xc78, 0x02760001, 1016 0xc78, 0x01770001, 1017 0xc78, 0x00780001, 1018 0xc78, 0x00790001, 1019 0xc78, 0x007a0001, 1020 0xc78, 0x007b0001, 1021 0xc78, 0x007c0001, 1022 0xc78, 0x007d0001, 1023 0xc78, 0x007e0001, 1024 0xc78, 0x007f0001, 1025 0xc78, 0x3800001e, 1026 0xc78, 0x3801001e, 1027 0xc78, 0x3802001e, 1028 0xc78, 0x3803001e, 1029 0xc78, 0x3804001e, 1030 0xc78, 0x3805001e, 1031 0xc78, 0x3806001e, 1032 0xc78, 0x3807001e, 1033 0xc78, 0x3808001e, 1034 0xc78, 0x3c09001e, 1035 0xc78, 0x3e0a001e, 1036 0xc78, 0x400b001e, 1037 0xc78, 0x440c001e, 1038 0xc78, 0x480d001e, 1039 0xc78, 0x4c0e001e, 1040 0xc78, 0x500f001e, 1041 0xc78, 0x5210001e, 1042 0xc78, 0x5611001e, 1043 0xc78, 0x5a12001e, 1044 0xc78, 0x5e13001e, 1045 0xc78, 0x6014001e, 1046 0xc78, 0x6015001e, 1047 0xc78, 0x6016001e, 1048 0xc78, 0x6217001e, 1049 0xc78, 0x6218001e, 1050 0xc78, 0x6219001e, 1051 0xc78, 0x621a001e, 1052 0xc78, 0x621b001e, 1053 0xc78, 0x621c001e, 1054 0xc78, 0x621d001e, 1055 0xc78, 0x621e001e, 1056 0xc78, 0x621f001e, 1057 }; 1058 1059 u32 RTL8192CEAGCTAB_1TARRAY[AGCTAB_1TARRAYLENGTH] = { 1060 0xc78, 0x7b000001, 1061 0xc78, 0x7b010001, 1062 0xc78, 0x7b020001, 1063 0xc78, 0x7b030001, 1064 0xc78, 0x7b040001, 1065 0xc78, 0x7b050001, 1066 0xc78, 0x7a060001, 1067 0xc78, 0x79070001, 1068 0xc78, 0x78080001, 1069 0xc78, 0x77090001, 1070 0xc78, 0x760a0001, 1071 0xc78, 0x750b0001, 1072 0xc78, 0x740c0001, 1073 0xc78, 0x730d0001, 1074 0xc78, 0x720e0001, 1075 0xc78, 0x710f0001, 1076 0xc78, 0x70100001, 1077 0xc78, 0x6f110001, 1078 0xc78, 0x6e120001, 1079 0xc78, 0x6d130001, 1080 0xc78, 0x6c140001, 1081 0xc78, 0x6b150001, 1082 0xc78, 0x6a160001, 1083 0xc78, 0x69170001, 1084 0xc78, 0x68180001, 1085 0xc78, 0x67190001, 1086 0xc78, 0x661a0001, 1087 0xc78, 0x651b0001, 1088 0xc78, 0x641c0001, 1089 0xc78, 0x631d0001, 1090 0xc78, 0x621e0001, 1091 0xc78, 0x611f0001, 1092 0xc78, 0x60200001, 1093 0xc78, 0x49210001, 1094 0xc78, 0x48220001, 1095 0xc78, 0x47230001, 1096 0xc78, 0x46240001, 1097 0xc78, 0x45250001, 1098 0xc78, 0x44260001, 1099 0xc78, 0x43270001, 1100 0xc78, 0x42280001, 1101 0xc78, 0x41290001, 1102 0xc78, 0x402a0001, 1103 0xc78, 0x262b0001, 1104 0xc78, 0x252c0001, 1105 0xc78, 0x242d0001, 1106 0xc78, 0x232e0001, 1107 0xc78, 0x222f0001, 1108 0xc78, 0x21300001, 1109 0xc78, 0x20310001, 1110 0xc78, 0x06320001, 1111 0xc78, 0x05330001, 1112 0xc78, 0x04340001, 1113 0xc78, 0x03350001, 1114 0xc78, 0x02360001, 1115 0xc78, 0x01370001, 1116 0xc78, 0x00380001, 1117 0xc78, 0x00390001, 1118 0xc78, 0x003a0001, 1119 0xc78, 0x003b0001, 1120 0xc78, 0x003c0001, 1121 0xc78, 0x003d0001, 1122 0xc78, 0x003e0001, 1123 0xc78, 0x003f0001, 1124 0xc78, 0x7b400001, 1125 0xc78, 0x7b410001, 1126 0xc78, 0x7b420001, 1127 0xc78, 0x7b430001, 1128 0xc78, 0x7b440001, 1129 0xc78, 0x7b450001, 1130 0xc78, 0x7a460001, 1131 0xc78, 0x79470001, 1132 0xc78, 0x78480001, 1133 0xc78, 0x77490001, 1134 0xc78, 0x764a0001, 1135 0xc78, 0x754b0001, 1136 0xc78, 0x744c0001, 1137 0xc78, 0x734d0001, 1138 0xc78, 0x724e0001, 1139 0xc78, 0x714f0001, 1140 0xc78, 0x70500001, 1141 0xc78, 0x6f510001, 1142 0xc78, 0x6e520001, 1143 0xc78, 0x6d530001, 1144 0xc78, 0x6c540001, 1145 0xc78, 0x6b550001, 1146 0xc78, 0x6a560001, 1147 0xc78, 0x69570001, 1148 0xc78, 0x68580001, 1149 0xc78, 0x67590001, 1150 0xc78, 0x665a0001, 1151 0xc78, 0x655b0001, 1152 0xc78, 0x645c0001, 1153 0xc78, 0x635d0001, 1154 0xc78, 0x625e0001, 1155 0xc78, 0x615f0001, 1156 0xc78, 0x60600001, 1157 0xc78, 0x49610001, 1158 0xc78, 0x48620001, 1159 0xc78, 0x47630001, 1160 0xc78, 0x46640001, 1161 0xc78, 0x45650001, 1162 0xc78, 0x44660001, 1163 0xc78, 0x43670001, 1164 0xc78, 0x42680001, 1165 0xc78, 0x41690001, 1166 0xc78, 0x406a0001, 1167 0xc78, 0x266b0001, 1168 0xc78, 0x256c0001, 1169 0xc78, 0x246d0001, 1170 0xc78, 0x236e0001, 1171 0xc78, 0x226f0001, 1172 0xc78, 0x21700001, 1173 0xc78, 0x20710001, 1174 0xc78, 0x06720001, 1175 0xc78, 0x05730001, 1176 0xc78, 0x04740001, 1177 0xc78, 0x03750001, 1178 0xc78, 0x02760001, 1179 0xc78, 0x01770001, 1180 0xc78, 0x00780001, 1181 0xc78, 0x00790001, 1182 0xc78, 0x007a0001, 1183 0xc78, 0x007b0001, 1184 0xc78, 0x007c0001, 1185 0xc78, 0x007d0001, 1186 0xc78, 0x007e0001, 1187 0xc78, 0x007f0001, 1188 0xc78, 0x3800001e, 1189 0xc78, 0x3801001e, 1190 0xc78, 0x3802001e, 1191 0xc78, 0x3803001e, 1192 0xc78, 0x3804001e, 1193 0xc78, 0x3805001e, 1194 0xc78, 0x3806001e, 1195 0xc78, 0x3807001e, 1196 0xc78, 0x3808001e, 1197 0xc78, 0x3c09001e, 1198 0xc78, 0x3e0a001e, 1199 0xc78, 0x400b001e, 1200 0xc78, 0x440c001e, 1201 0xc78, 0x480d001e, 1202 0xc78, 0x4c0e001e, 1203 0xc78, 0x500f001e, 1204 0xc78, 0x5210001e, 1205 0xc78, 0x5611001e, 1206 0xc78, 0x5a12001e, 1207 0xc78, 0x5e13001e, 1208 0xc78, 0x6014001e, 1209 0xc78, 0x6015001e, 1210 0xc78, 0x6016001e, 1211 0xc78, 0x6217001e, 1212 0xc78, 0x6218001e, 1213 0xc78, 0x6219001e, 1214 0xc78, 0x621a001e, 1215 0xc78, 0x621b001e, 1216 0xc78, 0x621c001e, 1217 0xc78, 0x621d001e, 1218 0xc78, 0x621e001e, 1219 0xc78, 0x621f001e, 1220 }; 1221