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