table.c 19 KB

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