HalHWImg8812A_TestChip_RF.c 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
  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. *
  19. ******************************************************************************/
  20. #include "../odm_precomp.h"
  21. #if (RTL8812A_SUPPORT == 1)
  22. static BOOLEAN
  23. CheckCondition(
  24. const u4Byte Condition,
  25. const u4Byte Hex
  26. )
  27. {
  28. u4Byte _board = (Hex & 0x000000FF);
  29. u4Byte _interface = (Hex & 0x0000FF00) >> 8;
  30. u4Byte _platform = (Hex & 0x00FF0000) >> 16;
  31. u4Byte cond = Condition;
  32. if ( Condition == 0xCDCDCDCD )
  33. return TRUE;
  34. cond = Condition & 0x000000FF;
  35. if ( (_board != cond) && (cond != 0xFF) )
  36. return FALSE;
  37. cond = Condition & 0x0000FF00;
  38. cond = cond >> 8;
  39. if ( ((_interface & cond) == 0) && (cond != 0x07) )
  40. return FALSE;
  41. cond = Condition & 0x00FF0000;
  42. cond = cond >> 16;
  43. if ( ((_platform & cond) == 0) && (cond != 0x0F) )
  44. return FALSE;
  45. return TRUE;
  46. }
  47. /******************************************************************************
  48. * RadioA.TXT
  49. ******************************************************************************/
  50. u4Byte Array_TC_8812A_RadioA[] = {
  51. 0x000, 0x00010000,
  52. 0x018, 0x0001712A,
  53. 0x056, 0x00051CF2,
  54. 0x066, 0x00040000,
  55. 0x01E, 0x000F8000,
  56. 0x089, 0x00000080,
  57. 0xFF0F0740, 0xABCD,
  58. 0x086, 0x00014B38,
  59. 0xFF0F07C0, 0xCDEF,
  60. 0x086, 0x00014B38,
  61. 0xFF0F07D8, 0xCDEF,
  62. 0x086, 0x00014B3C,
  63. 0xCDCDCDCD, 0xCDCD,
  64. 0x086, 0x00014B38,
  65. 0xFF0F0740, 0xDEAD,
  66. 0x0B1, 0x0001FC1A,
  67. 0x0B3, 0x000F0810,
  68. 0x0B4, 0x0001A78D,
  69. 0x0BA, 0x00086180,
  70. 0x018, 0x00000006,
  71. 0x0EF, 0x00002000,
  72. 0x03B, 0x00038A58,
  73. 0x03B, 0x00037A58,
  74. 0x03B, 0x0002A590,
  75. 0x03B, 0x00027A50,
  76. 0x03B, 0x00018248,
  77. 0x03B, 0x00010240,
  78. 0x03B, 0x00008240,
  79. 0x03B, 0x00000240,
  80. 0x0EF, 0x00000100,
  81. 0xFF0F07D8, 0xABCD,
  82. 0x034, 0x0000A4EE,
  83. 0x034, 0x00009076,
  84. 0x034, 0x00008073,
  85. 0x034, 0x00007070,
  86. 0x034, 0x0000606D,
  87. 0x034, 0x0000506A,
  88. 0x034, 0x00004049,
  89. 0x034, 0x00003046,
  90. 0x034, 0x00002028,
  91. 0x034, 0x00001025,
  92. 0x034, 0x00000022,
  93. 0xCDCDCDCD, 0xCDCD,
  94. 0x034, 0x0000ADF4,
  95. 0x034, 0x00009DF1,
  96. 0x034, 0x00008DEE,
  97. 0x034, 0x00007DEB,
  98. 0x034, 0x00006DE8,
  99. 0x034, 0x00005CEC,
  100. 0x034, 0x00004CE9,
  101. 0x034, 0x000034EA,
  102. 0x034, 0x000024E7,
  103. 0x034, 0x0000146B,
  104. 0x034, 0x0000006D,
  105. 0xFF0F07D8, 0xDEAD,
  106. 0x0EF, 0x00000000,
  107. 0x0EF, 0x000020A2,
  108. 0x0DF, 0x00000080,
  109. 0x035, 0x00000192,
  110. 0x035, 0x00008192,
  111. 0x035, 0x00010192,
  112. 0x036, 0x00000024,
  113. 0x036, 0x00008024,
  114. 0x036, 0x00010024,
  115. 0x036, 0x00018024,
  116. 0x0EF, 0x00000000,
  117. 0x051, 0x00000C21,
  118. 0x052, 0x000006D9,
  119. 0x053, 0x000FC649,
  120. 0x054, 0x0000017E,
  121. 0x0EF, 0x00000002,
  122. 0x008, 0x00008400,
  123. 0x018, 0x0001712A,
  124. 0x0EF, 0x00001000,
  125. 0x03A, 0x00000080,
  126. 0x03B, 0x0003A02C,
  127. 0x03C, 0x00004000,
  128. 0x03A, 0x00000400,
  129. 0x03B, 0x0003202C,
  130. 0x03C, 0x00010000,
  131. 0x03A, 0x000000A0,
  132. 0x03B, 0x0002B064,
  133. 0x03C, 0x00004000,
  134. 0x03A, 0x000000D8,
  135. 0x03B, 0x00023070,
  136. 0x03C, 0x00004000,
  137. 0x03A, 0x00000468,
  138. 0x03B, 0x0001B870,
  139. 0x03C, 0x00010000,
  140. 0x03A, 0x00000098,
  141. 0x03B, 0x00012085,
  142. 0x03C, 0x000E4000,
  143. 0x03A, 0x00000418,
  144. 0x03B, 0x0000A080,
  145. 0x03C, 0x000F0000,
  146. 0x03A, 0x00000418,
  147. 0x03B, 0x00002080,
  148. 0x03C, 0x00010000,
  149. 0x03A, 0x00000080,
  150. 0x03B, 0x0007A02C,
  151. 0x03C, 0x00004000,
  152. 0x03A, 0x00000400,
  153. 0x03B, 0x0007202C,
  154. 0x03C, 0x00010000,
  155. 0x03A, 0x000000A0,
  156. 0x03B, 0x0006B064,
  157. 0x03C, 0x00004000,
  158. 0x03A, 0x000000D8,
  159. 0x03B, 0x00023070,
  160. 0x03C, 0x00004000,
  161. 0x03A, 0x00000468,
  162. 0x03B, 0x0005B870,
  163. 0x03C, 0x00010000,
  164. 0x03A, 0x00000098,
  165. 0x03B, 0x00052085,
  166. 0x03C, 0x000E4000,
  167. 0x03A, 0x00000418,
  168. 0x03B, 0x0004A080,
  169. 0x03C, 0x000F0000,
  170. 0x03A, 0x00000418,
  171. 0x03B, 0x00042080,
  172. 0x03C, 0x00010000,
  173. 0x03A, 0x00000080,
  174. 0x03B, 0x000BA02C,
  175. 0x03C, 0x00004000,
  176. 0x03A, 0x00000400,
  177. 0x03B, 0x000B202C,
  178. 0x03C, 0x00010000,
  179. 0x03A, 0x000000A0,
  180. 0x03B, 0x000AB064,
  181. 0x03C, 0x00004000,
  182. 0x03A, 0x000000D8,
  183. 0x03B, 0x000A3070,
  184. 0x03C, 0x00004000,
  185. 0x03A, 0x00000468,
  186. 0x03B, 0x0009B870,
  187. 0x03C, 0x00010000,
  188. 0x03A, 0x00000098,
  189. 0x03B, 0x00092085,
  190. 0x03C, 0x000E4000,
  191. 0x03A, 0x00000418,
  192. 0x03B, 0x0008A080,
  193. 0x03C, 0x000F0000,
  194. 0x03A, 0x00000418,
  195. 0x03B, 0x00082080,
  196. 0x03C, 0x00010000,
  197. 0x0EF, 0x00001100,
  198. 0xFF0F0740, 0xABCD,
  199. 0x034, 0x0004A0B2,
  200. 0x034, 0x000490AF,
  201. 0x034, 0x00048070,
  202. 0x034, 0x0004706D,
  203. 0x034, 0x00046050,
  204. 0x034, 0x0004504D,
  205. 0x034, 0x0004404A,
  206. 0x034, 0x00043047,
  207. 0x034, 0x0004200A,
  208. 0x034, 0x00041007,
  209. 0x034, 0x00040004,
  210. 0xFF0F07C0, 0xCDEF,
  211. 0x034, 0x0004A0B2,
  212. 0x034, 0x000490AF,
  213. 0x034, 0x00048070,
  214. 0x034, 0x0004706D,
  215. 0x034, 0x00046050,
  216. 0x034, 0x0004504D,
  217. 0x034, 0x0004404A,
  218. 0x034, 0x00043047,
  219. 0x034, 0x0004200A,
  220. 0x034, 0x00041007,
  221. 0x034, 0x00040004,
  222. 0xFF0F07D8, 0xCDEF,
  223. 0x034, 0x0004A0B2,
  224. 0x034, 0x000490AF,
  225. 0x034, 0x00048070,
  226. 0x034, 0x0004706D,
  227. 0x034, 0x00046050,
  228. 0x034, 0x0004504D,
  229. 0x034, 0x0004404A,
  230. 0x034, 0x00043047,
  231. 0x034, 0x0004200A,
  232. 0x034, 0x00041007,
  233. 0x034, 0x00040004,
  234. 0xCDCDCDCD, 0xCDCD,
  235. 0x034, 0x0004ADF5,
  236. 0x034, 0x00049DF2,
  237. 0x034, 0x00048DEF,
  238. 0x034, 0x00047DEC,
  239. 0x034, 0x00046DE9,
  240. 0x034, 0x00045DC9,
  241. 0x034, 0x00044CE8,
  242. 0x034, 0x000438CA,
  243. 0x034, 0x00042889,
  244. 0x034, 0x0004184A,
  245. 0x034, 0x0004044A,
  246. 0xFF0F0740, 0xDEAD,
  247. 0xFF0F0740, 0xABCD,
  248. 0x034, 0x0002A0B2,
  249. 0x034, 0x000290AF,
  250. 0x034, 0x00028070,
  251. 0x034, 0x0002706D,
  252. 0x034, 0x00026050,
  253. 0x034, 0x0002504D,
  254. 0x034, 0x0002404A,
  255. 0x034, 0x00023047,
  256. 0x034, 0x0002200A,
  257. 0x034, 0x00021007,
  258. 0x034, 0x00020004,
  259. 0xFF0F07C0, 0xCDEF,
  260. 0x034, 0x0002A0B2,
  261. 0x034, 0x000290AF,
  262. 0x034, 0x00028070,
  263. 0x034, 0x0002706D,
  264. 0x034, 0x00026050,
  265. 0x034, 0x0002504D,
  266. 0x034, 0x0002404A,
  267. 0x034, 0x00023047,
  268. 0x034, 0x0002200A,
  269. 0x034, 0x00021007,
  270. 0x034, 0x00020004,
  271. 0xFF0F07D8, 0xCDEF,
  272. 0x034, 0x0002A0B2,
  273. 0x034, 0x000290AF,
  274. 0x034, 0x00028070,
  275. 0x034, 0x0002706D,
  276. 0x034, 0x00026050,
  277. 0x034, 0x0002504D,
  278. 0x034, 0x0002404A,
  279. 0x034, 0x00023047,
  280. 0x034, 0x0002200A,
  281. 0x034, 0x00021007,
  282. 0x034, 0x00020004,
  283. 0xCDCDCDCD, 0xCDCD,
  284. 0x034, 0x0002ADF5,
  285. 0x034, 0x00029DF2,
  286. 0x034, 0x00028DEF,
  287. 0x034, 0x00027DEC,
  288. 0x034, 0x00026DE9,
  289. 0x034, 0x00025DC9,
  290. 0x034, 0x00024CE8,
  291. 0x034, 0x000238CA,
  292. 0x034, 0x00022889,
  293. 0x034, 0x0002184A,
  294. 0x034, 0x0002044A,
  295. 0xFF0F0740, 0xDEAD,
  296. 0xFF0F0740, 0xABCD,
  297. 0x034, 0x0000A0B2,
  298. 0x034, 0x000090AF,
  299. 0x034, 0x00008070,
  300. 0x034, 0x0000706D,
  301. 0x034, 0x00006050,
  302. 0x034, 0x0000504D,
  303. 0x034, 0x0000404A,
  304. 0x034, 0x00003047,
  305. 0x034, 0x0000200A,
  306. 0x034, 0x00001007,
  307. 0x034, 0x00000004,
  308. 0xFF0F07C0, 0xCDEF,
  309. 0x034, 0x0000A0B2,
  310. 0x034, 0x000090AF,
  311. 0x034, 0x00008070,
  312. 0x034, 0x0000706D,
  313. 0x034, 0x00006050,
  314. 0x034, 0x0000504D,
  315. 0x034, 0x0000404A,
  316. 0x034, 0x00003047,
  317. 0x034, 0x0000200A,
  318. 0x034, 0x00001007,
  319. 0x034, 0x00000004,
  320. 0xFF0F07D8, 0xCDEF,
  321. 0x034, 0x0000A0B2,
  322. 0x034, 0x000090AF,
  323. 0x034, 0x00008070,
  324. 0x034, 0x0000706D,
  325. 0x034, 0x00006050,
  326. 0x034, 0x0000504D,
  327. 0x034, 0x0000404A,
  328. 0x034, 0x00003047,
  329. 0x034, 0x0000200A,
  330. 0x034, 0x00001007,
  331. 0x034, 0x00000004,
  332. 0xCDCDCDCD, 0xCDCD,
  333. 0x034, 0x0000AFF7,
  334. 0x034, 0x00009DF7,
  335. 0x034, 0x00008DF4,
  336. 0x034, 0x00007DF1,
  337. 0x034, 0x00006DEE,
  338. 0x034, 0x00005DCD,
  339. 0x034, 0x00004CEB,
  340. 0x034, 0x000038CC,
  341. 0x034, 0x0000288B,
  342. 0x034, 0x0000184C,
  343. 0x034, 0x0000044C,
  344. 0xFF0F0740, 0xDEAD,
  345. 0x0EF, 0x00000000,
  346. 0xFF0F0740, 0xABCD,
  347. 0x018, 0x0001712A,
  348. 0x0EF, 0x00000040,
  349. 0x035, 0x000001D4,
  350. 0x035, 0x000081D4,
  351. 0x035, 0x000101D4,
  352. 0x035, 0x000201B4,
  353. 0x035, 0x000281B4,
  354. 0x035, 0x000301B4,
  355. 0x035, 0x000401B4,
  356. 0x035, 0x000481B4,
  357. 0x035, 0x000501B4,
  358. 0xFF0F07C0, 0xCDEF,
  359. 0x018, 0x0001712A,
  360. 0x0EF, 0x00000040,
  361. 0x035, 0x000001D4,
  362. 0x035, 0x000081D4,
  363. 0x035, 0x000101D4,
  364. 0x035, 0x000201B4,
  365. 0x035, 0x000281B4,
  366. 0x035, 0x000301B4,
  367. 0x035, 0x000401B4,
  368. 0x035, 0x000481B4,
  369. 0x035, 0x000501B4,
  370. 0xFF0F07D8, 0xCDEF,
  371. 0x018, 0x0001712A,
  372. 0x0EF, 0x00000040,
  373. 0x035, 0x000001D4,
  374. 0x035, 0x000081D4,
  375. 0x035, 0x000101D4,
  376. 0x035, 0x000201B4,
  377. 0x035, 0x000281B4,
  378. 0x035, 0x000301B4,
  379. 0x035, 0x000401B4,
  380. 0x035, 0x000481B4,
  381. 0x035, 0x000501B4,
  382. 0xCDCDCDCD, 0xCDCD,
  383. 0x018, 0x0001712A,
  384. 0x0EF, 0x00000040,
  385. 0x035, 0x00000188,
  386. 0x035, 0x00008188,
  387. 0x035, 0x00010185,
  388. 0x035, 0x000201D7,
  389. 0x035, 0x000281D7,
  390. 0x035, 0x000301D5,
  391. 0x035, 0x000401D8,
  392. 0x035, 0x000481D8,
  393. 0x035, 0x000501D5,
  394. 0xFF0F0740, 0xDEAD,
  395. 0x0EF, 0x00000000,
  396. 0xFF0F0740, 0xABCD,
  397. 0x018, 0x0001712A,
  398. 0x0EF, 0x00000010,
  399. 0x036, 0x00004BFB,
  400. 0x036, 0x0000CBFB,
  401. 0x036, 0x00014BFB,
  402. 0x036, 0x0001CBFB,
  403. 0x036, 0x00024F4B,
  404. 0x036, 0x0002CF4B,
  405. 0x036, 0x00034F4B,
  406. 0x036, 0x0003CF4B,
  407. 0x036, 0x00044F4B,
  408. 0x036, 0x0004CF4B,
  409. 0x036, 0x00054F4B,
  410. 0x036, 0x0005CF4B,
  411. 0xFF0F07C0, 0xCDEF,
  412. 0x018, 0x0001712A,
  413. 0x0EF, 0x00000010,
  414. 0x036, 0x00004BFB,
  415. 0x036, 0x0000CBFB,
  416. 0x036, 0x00014BFB,
  417. 0x036, 0x0001CBFB,
  418. 0x036, 0x00024F4B,
  419. 0x036, 0x0002CF4B,
  420. 0x036, 0x00034F4B,
  421. 0x036, 0x0003CF4B,
  422. 0x036, 0x00044F4B,
  423. 0x036, 0x0004CF4B,
  424. 0x036, 0x00054F4B,
  425. 0x036, 0x0005CF4B,
  426. 0xFF0F07D8, 0xCDEF,
  427. 0x018, 0x0001712A,
  428. 0x0EF, 0x00000010,
  429. 0x036, 0x00004BFB,
  430. 0x036, 0x0000CBFB,
  431. 0x036, 0x00014BFB,
  432. 0x036, 0x0001CBFB,
  433. 0x036, 0x00024F4B,
  434. 0x036, 0x0002CF4B,
  435. 0x036, 0x00034F4B,
  436. 0x036, 0x0003CF4B,
  437. 0x036, 0x00044F4B,
  438. 0x036, 0x0004CF4B,
  439. 0x036, 0x00054F4B,
  440. 0x036, 0x0005CF4B,
  441. 0xCDCDCDCD, 0xCDCD,
  442. 0x018, 0x0001712A,
  443. 0x0EF, 0x00000010,
  444. 0x036, 0x00084EB4,
  445. 0x036, 0x0008C9B4,
  446. 0x036, 0x000949B4,
  447. 0x036, 0x0009C9B4,
  448. 0x036, 0x000A4935,
  449. 0x036, 0x000AC935,
  450. 0x036, 0x000B4935,
  451. 0x036, 0x000BC935,
  452. 0x036, 0x000C4EB4,
  453. 0x036, 0x000CCEB4,
  454. 0x036, 0x000D4EB4,
  455. 0x036, 0x000DCEB4,
  456. 0xFF0F0740, 0xDEAD,
  457. 0x0EF, 0x00000000,
  458. 0x0EF, 0x00000008,
  459. 0xFF0F0740, 0xABCD,
  460. 0x03C, 0x000002CC,
  461. 0x03C, 0x00000522,
  462. 0x03C, 0x00000902,
  463. 0xFF0F07C0, 0xCDEF,
  464. 0x03C, 0x000002CC,
  465. 0x03C, 0x00000522,
  466. 0x03C, 0x00000902,
  467. 0xFF0F07D8, 0xCDEF,
  468. 0x03C, 0x000002CC,
  469. 0x03C, 0x00000522,
  470. 0x03C, 0x00000902,
  471. 0xCDCDCDCD, 0xCDCD,
  472. 0x03C, 0x000002AA,
  473. 0x03C, 0x000005A2,
  474. 0x03C, 0x00000880,
  475. 0xFF0F0740, 0xDEAD,
  476. 0x0EF, 0x00000000,
  477. 0x018, 0x0001712A,
  478. 0x0EF, 0x00000002,
  479. 0x0DF, 0x00000080,
  480. 0x01F, 0x00040064,
  481. 0xFF0F0740, 0xABCD,
  482. 0x061, 0x000FDD43,
  483. 0x062, 0x00038F4B,
  484. 0x063, 0x00032117,
  485. 0x064, 0x000194AC,
  486. 0x065, 0x000931D1,
  487. 0xFF0F07C0, 0xCDEF,
  488. 0x061, 0x000FDD43,
  489. 0x062, 0x00038F4B,
  490. 0x063, 0x00032117,
  491. 0x064, 0x000194AC,
  492. 0x065, 0x000931D1,
  493. 0xFF0F07D8, 0xCDEF,
  494. 0x061, 0x000FDD43,
  495. 0x062, 0x00038F4B,
  496. 0x063, 0x00032117,
  497. 0x064, 0x000194AC,
  498. 0x065, 0x000931D1,
  499. 0xCDCDCDCD, 0xCDCD,
  500. 0x061, 0x000E5D53,
  501. 0x062, 0x00038FCD,
  502. 0x063, 0x000314EB,
  503. 0x064, 0x000196AC,
  504. 0x065, 0x000931D7,
  505. 0xFF0F0740, 0xDEAD,
  506. 0x008, 0x00008400,
  507. 0x01C, 0x000739D2,
  508. 0x0B4, 0x0001E78D,
  509. 0x018, 0x0001F12A,
  510. 0x0FE, 0x00000000,
  511. 0x0FE, 0x00000000,
  512. 0x0FE, 0x00000000,
  513. 0x0FE, 0x00000000,
  514. 0x0B4, 0x0001A78D,
  515. };
  516. void
  517. ODM_ReadAndConfig_TC_8812A_RadioA(
  518. IN PDM_ODM_T pDM_Odm
  519. )
  520. {
  521. #define READ_NEXT_PAIR(v1, v2, i) do { i += 2; v1 = Array[i]; v2 = Array[i+1]; } while(0)
  522. u4Byte hex = 0;
  523. u4Byte i = 0;
  524. u2Byte count = 0;
  525. pu4Byte ptr_array = NULL;
  526. u1Byte platform = pDM_Odm->SupportPlatform;
  527. u1Byte _interface = pDM_Odm->SupportInterface;
  528. u1Byte board = pDM_Odm->BoardType;
  529. u4Byte ArrayLen = sizeof(Array_TC_8812A_RadioA)/sizeof(u4Byte);
  530. pu4Byte Array = Array_TC_8812A_RadioA;
  531. hex += board;
  532. hex += _interface << 8;
  533. hex += platform << 16;
  534. hex += 0xFF000000;
  535. ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_TRACE, ("===> ODM_ReadAndConfig_TC_8812A_RadioA, hex = 0x%X\n", hex));
  536. for (i = 0; i < ArrayLen; i += 2 )
  537. {
  538. u4Byte v1 = Array[i];
  539. u4Byte v2 = Array[i+1];
  540. // This (offset, data) pair meets the condition.
  541. if ( v1 < 0xCDCDCDCD )
  542. {
  543. odm_ConfigRF_RadioA_8812A(pDM_Odm, v1, v2);
  544. continue;
  545. }
  546. else
  547. { // This line is the start line of branch.
  548. if ( !CheckCondition(Array[i], hex) )
  549. { // Discard the following (offset, data) pairs.
  550. READ_NEXT_PAIR(v1, v2, i);
  551. while (v2 != 0xDEAD &&
  552. v2 != 0xCDEF &&
  553. v2 != 0xCDCD && i < ArrayLen -2)
  554. {
  555. READ_NEXT_PAIR(v1, v2, i);
  556. }
  557. i -= 2; // prevent from for-loop += 2
  558. }
  559. else // Configure matched pairs and skip to end of if-else.
  560. {
  561. READ_NEXT_PAIR(v1, v2, i);
  562. while (v2 != 0xDEAD &&
  563. v2 != 0xCDEF &&
  564. v2 != 0xCDCD && i < ArrayLen -2)
  565. {
  566. odm_ConfigRF_RadioA_8812A(pDM_Odm, v1, v2);
  567. READ_NEXT_PAIR(v1, v2, i);
  568. }
  569. while (v2 != 0xDEAD && i < ArrayLen -2)
  570. {
  571. READ_NEXT_PAIR(v1, v2, i);
  572. }
  573. }
  574. }
  575. }
  576. }
  577. /******************************************************************************
  578. * RadioB.TXT
  579. ******************************************************************************/
  580. u4Byte Array_TC_8812A_RadioB[] = {
  581. 0x056, 0x00051CF2,
  582. 0x066, 0x00040000,
  583. 0x089, 0x00000080,
  584. 0xFF0F0740, 0xABCD,
  585. 0x086, 0x00014B38,
  586. 0xFF0F07C0, 0xCDEF,
  587. 0x086, 0x00014B38,
  588. 0xFF0F07D8, 0xCDEF,
  589. 0x086, 0x00014B3C,
  590. 0xCDCDCDCD, 0xCDCD,
  591. 0x086, 0x00014B38,
  592. 0xFF0F0740, 0xDEAD,
  593. 0x018, 0x00000006,
  594. 0x0EF, 0x00002000,
  595. 0x03B, 0x00038A58,
  596. 0x03B, 0x00037A58,
  597. 0x03B, 0x0002A590,
  598. 0x03B, 0x00027A50,
  599. 0x03B, 0x00018248,
  600. 0x03B, 0x00010240,
  601. 0x03B, 0x00008240,
  602. 0x03B, 0x00000240,
  603. 0x0EF, 0x00000100,
  604. 0xFF0F07D8, 0xABCD,
  605. 0x034, 0x0000A4EE,
  606. 0x034, 0x00009076,
  607. 0x034, 0x00008073,
  608. 0x034, 0x00007070,
  609. 0x034, 0x0000606D,
  610. 0x034, 0x0000506A,
  611. 0x034, 0x00004049,
  612. 0x034, 0x00003046,
  613. 0x034, 0x00002028,
  614. 0x034, 0x00001025,
  615. 0x034, 0x00000022,
  616. 0xCDCDCDCD, 0xCDCD,
  617. 0x034, 0x0000ADF4,
  618. 0x034, 0x00009DF1,
  619. 0x034, 0x00008DEE,
  620. 0x034, 0x00007DEB,
  621. 0x034, 0x00006DE8,
  622. 0x034, 0x00005CEC,
  623. 0x034, 0x00004CE9,
  624. 0x034, 0x000034EA,
  625. 0x034, 0x000024E7,
  626. 0x034, 0x0000146B,
  627. 0x034, 0x0000006D,
  628. 0xFF0F07D8, 0xDEAD,
  629. 0x0EF, 0x00000000,
  630. 0x0EF, 0x000020A2,
  631. 0x0DF, 0x00000080,
  632. 0x035, 0x00000192,
  633. 0x035, 0x00008192,
  634. 0x035, 0x00010192,
  635. 0x036, 0x00000024,
  636. 0x036, 0x00008024,
  637. 0x036, 0x00010024,
  638. 0x036, 0x00018024,
  639. 0x0EF, 0x00000000,
  640. 0x051, 0x00000C21,
  641. 0x052, 0x000006D9,
  642. 0x053, 0x000FC649,
  643. 0x054, 0x0000017E,
  644. 0x0EF, 0x00000002,
  645. 0x008, 0x00008400,
  646. 0x018, 0x0001712A,
  647. 0x0EF, 0x00001000,
  648. 0x03A, 0x00000080,
  649. 0x03B, 0x0003A02C,
  650. 0x03C, 0x00004000,
  651. 0x03A, 0x00000400,
  652. 0x03B, 0x0003202C,
  653. 0x03C, 0x00010000,
  654. 0x03A, 0x000000A0,
  655. 0x03B, 0x0002B064,
  656. 0x03C, 0x00004000,
  657. 0x03A, 0x000000D8,
  658. 0x03B, 0x00023070,
  659. 0x03C, 0x00004000,
  660. 0x03A, 0x00000468,
  661. 0x03B, 0x0001B870,
  662. 0x03C, 0x00010000,
  663. 0x03A, 0x00000098,
  664. 0x03B, 0x00012085,
  665. 0x03C, 0x000E4000,
  666. 0x03A, 0x00000418,
  667. 0x03B, 0x0000A080,
  668. 0x03C, 0x000F0000,
  669. 0x03A, 0x00000418,
  670. 0x03B, 0x00002080,
  671. 0x03C, 0x00010000,
  672. 0x03A, 0x00000080,
  673. 0x03B, 0x0007A02C,
  674. 0x03C, 0x00004000,
  675. 0x03A, 0x00000400,
  676. 0x03B, 0x0007202C,
  677. 0x03C, 0x00010000,
  678. 0x03A, 0x000000A0,
  679. 0x03B, 0x0006B064,
  680. 0x03C, 0x00004000,
  681. 0x03A, 0x000000D8,
  682. 0x03B, 0x00063070,
  683. 0x03C, 0x00004000,
  684. 0x03A, 0x00000468,
  685. 0x03B, 0x0005B870,
  686. 0x03C, 0x00010000,
  687. 0x03A, 0x00000098,
  688. 0x03B, 0x00052085,
  689. 0x03C, 0x000E4000,
  690. 0x03A, 0x00000418,
  691. 0x03B, 0x0004A080,
  692. 0x03C, 0x000F0000,
  693. 0x03A, 0x00000418,
  694. 0x03B, 0x00042080,
  695. 0x03C, 0x00010000,
  696. 0x03A, 0x00000080,
  697. 0x03B, 0x000BA02C,
  698. 0x03C, 0x00004000,
  699. 0x03A, 0x00000400,
  700. 0x03B, 0x000B202C,
  701. 0x03C, 0x00010000,
  702. 0x03A, 0x000000A0,
  703. 0x03B, 0x000AB064,
  704. 0x03C, 0x00004000,
  705. 0x03A, 0x000000D8,
  706. 0x03B, 0x000A3070,
  707. 0x03C, 0x00004000,
  708. 0x03A, 0x00000468,
  709. 0x03B, 0x0009B870,
  710. 0x03C, 0x00010000,
  711. 0x03A, 0x00000098,
  712. 0x03B, 0x00092085,
  713. 0x03C, 0x000E4000,
  714. 0x03A, 0x00000418,
  715. 0x03B, 0x0008A080,
  716. 0x03C, 0x000F0000,
  717. 0x03A, 0x00000418,
  718. 0x03B, 0x00082080,
  719. 0x03C, 0x00010000,
  720. 0x0EF, 0x00001100,
  721. 0xFF0F0740, 0xABCD,
  722. 0x034, 0x0004A0B2,
  723. 0x034, 0x000490AF,
  724. 0x034, 0x00048070,
  725. 0x034, 0x0004706D,
  726. 0x034, 0x00046050,
  727. 0x034, 0x0004504D,
  728. 0x034, 0x0004404A,
  729. 0x034, 0x00043047,
  730. 0x034, 0x0004200A,
  731. 0x034, 0x00041007,
  732. 0x034, 0x00040004,
  733. 0xFF0F07C0, 0xCDEF,
  734. 0x034, 0x0004A0B2,
  735. 0x034, 0x000490AF,
  736. 0x034, 0x00048070,
  737. 0x034, 0x0004706D,
  738. 0x034, 0x00046050,
  739. 0x034, 0x0004504D,
  740. 0x034, 0x0004404A,
  741. 0x034, 0x00043047,
  742. 0x034, 0x0004200A,
  743. 0x034, 0x00041007,
  744. 0x034, 0x00040004,
  745. 0xFF0F07D8, 0xCDEF,
  746. 0x034, 0x0004A0B2,
  747. 0x034, 0x000490AF,
  748. 0x034, 0x00048070,
  749. 0x034, 0x0004706D,
  750. 0x034, 0x00046050,
  751. 0x034, 0x0004504D,
  752. 0x034, 0x0004404A,
  753. 0x034, 0x00043047,
  754. 0x034, 0x0004200A,
  755. 0x034, 0x00041007,
  756. 0x034, 0x00040004,
  757. 0xCDCDCDCD, 0xCDCD,
  758. 0x034, 0x0004ADF5,
  759. 0x034, 0x00049DF2,
  760. 0x034, 0x00048DEF,
  761. 0x034, 0x00047DEC,
  762. 0x034, 0x00046DE9,
  763. 0x034, 0x00045DC9,
  764. 0x034, 0x00044CE8,
  765. 0x034, 0x000438CA,
  766. 0x034, 0x00042889,
  767. 0x034, 0x0004184A,
  768. 0x034, 0x0004044A,
  769. 0xFF0F0740, 0xDEAD,
  770. 0xFF0F0740, 0xABCD,
  771. 0x034, 0x0002A0B2,
  772. 0x034, 0x000290AF,
  773. 0x034, 0x00028070,
  774. 0x034, 0x0002706D,
  775. 0x034, 0x00026050,
  776. 0x034, 0x0002504D,
  777. 0x034, 0x0002404A,
  778. 0x034, 0x00023047,
  779. 0x034, 0x0002200A,
  780. 0x034, 0x00021007,
  781. 0x034, 0x00020004,
  782. 0xFF0F07C0, 0xCDEF,
  783. 0x034, 0x0002A0B2,
  784. 0x034, 0x000290AF,
  785. 0x034, 0x00028070,
  786. 0x034, 0x0002706D,
  787. 0x034, 0x00026050,
  788. 0x034, 0x0002504D,
  789. 0x034, 0x0002404A,
  790. 0x034, 0x00023047,
  791. 0x034, 0x0002200A,
  792. 0x034, 0x00021007,
  793. 0x034, 0x00020004,
  794. 0xFF0F07D8, 0xCDEF,
  795. 0x034, 0x0002A0B2,
  796. 0x034, 0x000290AF,
  797. 0x034, 0x00028070,
  798. 0x034, 0x0002706D,
  799. 0x034, 0x00026050,
  800. 0x034, 0x0002504D,
  801. 0x034, 0x0002404A,
  802. 0x034, 0x00023047,
  803. 0x034, 0x0002200A,
  804. 0x034, 0x00021007,
  805. 0x034, 0x00020004,
  806. 0xCDCDCDCD, 0xCDCD,
  807. 0x034, 0x0002ADF5,
  808. 0x034, 0x00029DF2,
  809. 0x034, 0x00028DEF,
  810. 0x034, 0x00027DEC,
  811. 0x034, 0x00026DE9,
  812. 0x034, 0x00025DC9,
  813. 0x034, 0x00024CE8,
  814. 0x034, 0x000238CA,
  815. 0x034, 0x00022889,
  816. 0x034, 0x0002184A,
  817. 0x034, 0x0002044A,
  818. 0xFF0F0740, 0xDEAD,
  819. 0xFF0F0740, 0xABCD,
  820. 0x034, 0x0000A0B2,
  821. 0x034, 0x000090AF,
  822. 0x034, 0x00008070,
  823. 0x034, 0x0000706D,
  824. 0x034, 0x00006050,
  825. 0x034, 0x0000504D,
  826. 0x034, 0x0000404A,
  827. 0x034, 0x00003047,
  828. 0x034, 0x0000200A,
  829. 0x034, 0x00001007,
  830. 0x034, 0x00000004,
  831. 0xFF0F07C0, 0xCDEF,
  832. 0x034, 0x0000A0B2,
  833. 0x034, 0x000090AF,
  834. 0x034, 0x00008070,
  835. 0x034, 0x0000706D,
  836. 0x034, 0x00006050,
  837. 0x034, 0x0000504D,
  838. 0x034, 0x0000404A,
  839. 0x034, 0x00003047,
  840. 0x034, 0x0000200A,
  841. 0x034, 0x00001007,
  842. 0x034, 0x00000004,
  843. 0xFF0F07D8, 0xCDEF,
  844. 0x034, 0x0000A0B2,
  845. 0x034, 0x000090AF,
  846. 0x034, 0x00008070,
  847. 0x034, 0x0000706D,
  848. 0x034, 0x00006050,
  849. 0x034, 0x0000504D,
  850. 0x034, 0x0000404A,
  851. 0x034, 0x00003047,
  852. 0x034, 0x0000200A,
  853. 0x034, 0x00001007,
  854. 0x034, 0x00000004,
  855. 0xCDCDCDCD, 0xCDCD,
  856. 0x034, 0x0000AFF7,
  857. 0x034, 0x00009DF7,
  858. 0x034, 0x00008DF4,
  859. 0x034, 0x00007DF1,
  860. 0x034, 0x00006DEE,
  861. 0x034, 0x00005DCD,
  862. 0x034, 0x00004CEB,
  863. 0x034, 0x000038CC,
  864. 0x034, 0x0000288B,
  865. 0x034, 0x0000184C,
  866. 0x034, 0x0000044C,
  867. 0xFF0F0740, 0xDEAD,
  868. 0x0EF, 0x00000000,
  869. 0xFF0F0740, 0xABCD,
  870. 0x018, 0x0001712A,
  871. 0x0EF, 0x00000040,
  872. 0x035, 0x000001C5,
  873. 0x035, 0x000081C5,
  874. 0x035, 0x000101C5,
  875. 0x035, 0x00020174,
  876. 0x035, 0x00028174,
  877. 0x035, 0x00030174,
  878. 0x035, 0x00040185,
  879. 0x035, 0x00048185,
  880. 0x035, 0x00050185,
  881. 0x0EF, 0x00000000,
  882. 0xFF0F07C0, 0xCDEF,
  883. 0x018, 0x0001712A,
  884. 0x0EF, 0x00000040,
  885. 0x035, 0x000001C5,
  886. 0x035, 0x000081C5,
  887. 0x035, 0x000101C5,
  888. 0x035, 0x00020174,
  889. 0x035, 0x00028174,
  890. 0x035, 0x00030174,
  891. 0x035, 0x00040185,
  892. 0x035, 0x00048185,
  893. 0x035, 0x00050185,
  894. 0x0EF, 0x00000000,
  895. 0xFF0F07D8, 0xCDEF,
  896. 0x018, 0x0001712A,
  897. 0x0EF, 0x00000040,
  898. 0x035, 0x000001C5,
  899. 0x035, 0x000081C5,
  900. 0x035, 0x000101C5,
  901. 0x035, 0x00020174,
  902. 0x035, 0x00028174,
  903. 0x035, 0x00030174,
  904. 0x035, 0x00040185,
  905. 0x035, 0x00048185,
  906. 0x035, 0x00050185,
  907. 0x0EF, 0x00000000,
  908. 0xCDCDCDCD, 0xCDCD,
  909. 0x018, 0x0001712A,
  910. 0x0EF, 0x00000040,
  911. 0x035, 0x00000186,
  912. 0x035, 0x00008186,
  913. 0x035, 0x00010185,
  914. 0x035, 0x000201D5,
  915. 0x035, 0x000281D5,
  916. 0x035, 0x000301D5,
  917. 0x035, 0x000401D5,
  918. 0x035, 0x000481D5,
  919. 0x035, 0x000501D5,
  920. 0x0EF, 0x00000000,
  921. 0xFF0F0740, 0xDEAD,
  922. 0xFF0F0740, 0xABCD,
  923. 0x018, 0x0001712A,
  924. 0x0EF, 0x00000010,
  925. 0x036, 0x00005B8B,
  926. 0x036, 0x0000DB8B,
  927. 0x036, 0x00015B8B,
  928. 0x036, 0x0001DB8B,
  929. 0x036, 0x000262DB,
  930. 0x036, 0x0002E2DB,
  931. 0x036, 0x000362DB,
  932. 0x036, 0x0003E2DB,
  933. 0x036, 0x0004553B,
  934. 0x036, 0x0004D53B,
  935. 0x036, 0x0005553B,
  936. 0x036, 0x0005D53B,
  937. 0xFF0F07C0, 0xCDEF,
  938. 0x018, 0x0001712A,
  939. 0x0EF, 0x00000010,
  940. 0x036, 0x00005B8B,
  941. 0x036, 0x0000DB8B,
  942. 0x036, 0x00015B8B,
  943. 0x036, 0x0001DB8B,
  944. 0x036, 0x000262DB,
  945. 0x036, 0x0002E2DB,
  946. 0x036, 0x000362DB,
  947. 0x036, 0x0003E2DB,
  948. 0x036, 0x0004553B,
  949. 0x036, 0x0004D53B,
  950. 0x036, 0x0005553B,
  951. 0x036, 0x0005D53B,
  952. 0xFF0F07D8, 0xCDEF,
  953. 0x018, 0x0001712A,
  954. 0x0EF, 0x00000010,
  955. 0x036, 0x00005B8B,
  956. 0x036, 0x0000DB8B,
  957. 0x036, 0x00015B8B,
  958. 0x036, 0x0001DB8B,
  959. 0x036, 0x000262DB,
  960. 0x036, 0x0002E2DB,
  961. 0x036, 0x000362DB,
  962. 0x036, 0x0003E2DB,
  963. 0x036, 0x0004553B,
  964. 0x036, 0x0004D53B,
  965. 0x036, 0x0005553B,
  966. 0x036, 0x0005D53B,
  967. 0xCDCDCDCD, 0xCDCD,
  968. 0x018, 0x0001712A,
  969. 0x0EF, 0x00000010,
  970. 0x036, 0x00084EB4,
  971. 0x036, 0x0008C9B4,
  972. 0x036, 0x000949B4,
  973. 0x036, 0x0009C9B4,
  974. 0x036, 0x000A4935,
  975. 0x036, 0x000AC935,
  976. 0x036, 0x000B4935,
  977. 0x036, 0x000BC935,
  978. 0x036, 0x000C4EB4,
  979. 0x036, 0x000CCEB4,
  980. 0x036, 0x000D4EB4,
  981. 0x036, 0x000DCEB4,
  982. 0xFF0F0740, 0xDEAD,
  983. 0x0EF, 0x00000000,
  984. 0x0EF, 0x00000008,
  985. 0xFF0F0740, 0xABCD,
  986. 0x03C, 0x000002DC,
  987. 0x03C, 0x00000524,
  988. 0x03C, 0x00000902,
  989. 0xFF0F07C0, 0xCDEF,
  990. 0x03C, 0x000002DC,
  991. 0x03C, 0x00000524,
  992. 0x03C, 0x00000902,
  993. 0xFF0F07D8, 0xCDEF,
  994. 0x03C, 0x000002DC,
  995. 0x03C, 0x00000524,
  996. 0x03C, 0x00000902,
  997. 0xCDCDCDCD, 0xCDCD,
  998. 0x03C, 0x000002AA,
  999. 0x03C, 0x000005A2,
  1000. 0x03C, 0x00000880,
  1001. 0xFF0F0740, 0xDEAD,
  1002. 0x0EF, 0x00000000,
  1003. 0x018, 0x0001712A,
  1004. 0x0EF, 0x00000002,
  1005. 0x0DF, 0x00000080,
  1006. 0xFF0F0740, 0xABCD,
  1007. 0x061, 0x000EAC43,
  1008. 0x062, 0x00038F47,
  1009. 0x063, 0x00031157,
  1010. 0x064, 0x0001C4AC,
  1011. 0x065, 0x000931D1,
  1012. 0xFF0F07C0, 0xCDEF,
  1013. 0x061, 0x000EAC43,
  1014. 0x062, 0x00038F47,
  1015. 0x063, 0x00031157,
  1016. 0x064, 0x0001C4AC,
  1017. 0x065, 0x000931D1,
  1018. 0xFF0F07D8, 0xCDEF,
  1019. 0x061, 0x000EAC43,
  1020. 0x062, 0x00038F47,
  1021. 0x063, 0x00031157,
  1022. 0x064, 0x0001C4AC,
  1023. 0x065, 0x000931D1,
  1024. 0xCDCDCDCD, 0xCDCD,
  1025. 0x061, 0x000E5D53,
  1026. 0x062, 0x00038FCD,
  1027. 0x063, 0x000314EB,
  1028. 0x064, 0x000196AC,
  1029. 0x065, 0x000931D7,
  1030. 0xFF0F0740, 0xDEAD,
  1031. 0x008, 0x00008400,
  1032. };
  1033. void
  1034. ODM_ReadAndConfig_TC_8812A_RadioB(
  1035. IN PDM_ODM_T pDM_Odm
  1036. )
  1037. {
  1038. #define READ_NEXT_PAIR(v1, v2, i) do { i += 2; v1 = Array[i]; v2 = Array[i+1]; } while(0)
  1039. u4Byte hex = 0;
  1040. u4Byte i = 0;
  1041. u2Byte count = 0;
  1042. pu4Byte ptr_array = NULL;
  1043. u1Byte platform = pDM_Odm->SupportPlatform;
  1044. u1Byte _interface = pDM_Odm->SupportInterface;
  1045. u1Byte board = pDM_Odm->BoardType;
  1046. u4Byte ArrayLen = sizeof(Array_TC_8812A_RadioB)/sizeof(u4Byte);
  1047. pu4Byte Array = Array_TC_8812A_RadioB;
  1048. hex += board;
  1049. hex += _interface << 8;
  1050. hex += platform << 16;
  1051. hex += 0xFF000000;
  1052. ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_TRACE, ("===> ODM_ReadAndConfig_TC_8812A_RadioB, hex = 0x%X\n", hex));
  1053. for (i = 0; i < ArrayLen; i += 2 )
  1054. {
  1055. u4Byte v1 = Array[i];
  1056. u4Byte v2 = Array[i+1];
  1057. // This (offset, data) pair meets the condition.
  1058. if ( v1 < 0xCDCDCDCD )
  1059. {
  1060. odm_ConfigRF_RadioB_8812A(pDM_Odm, v1, v2);
  1061. continue;
  1062. }
  1063. else
  1064. { // This line is the start line of branch.
  1065. if ( !CheckCondition(Array[i], hex) )
  1066. { // Discard the following (offset, data) pairs.
  1067. READ_NEXT_PAIR(v1, v2, i);
  1068. while (v2 != 0xDEAD &&
  1069. v2 != 0xCDEF &&
  1070. v2 != 0xCDCD && i < ArrayLen -2)
  1071. {
  1072. READ_NEXT_PAIR(v1, v2, i);
  1073. }
  1074. i -= 2; // prevent from for-loop += 2
  1075. }
  1076. else // Configure matched pairs and skip to end of if-else.
  1077. {
  1078. READ_NEXT_PAIR(v1, v2, i);
  1079. while (v2 != 0xDEAD &&
  1080. v2 != 0xCDEF &&
  1081. v2 != 0xCDCD && i < ArrayLen -2)
  1082. {
  1083. odm_ConfigRF_RadioB_8812A(pDM_Odm, v1, v2);
  1084. READ_NEXT_PAIR(v1, v2, i);
  1085. }
  1086. while (v2 != 0xDEAD && i < ArrayLen -2)
  1087. {
  1088. READ_NEXT_PAIR(v1, v2, i);
  1089. }
  1090. }
  1091. }
  1092. }
  1093. }
  1094. /******************************************************************************
  1095. * TxPowerTrack_AP.TXT
  1096. ******************************************************************************/
  1097. u1Byte gDeltaSwingTableIdx_TC_5GB_N__8812A[][DELTA_SWINGIDX_SIZE] = {
  1098. {0, 1, 1, 2, 2, 3, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 11, 12, 12, 13, 13, 14, 14, 14, 14, 14, 14, 14},
  1099. {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 19, 20, 20, 20},
  1100. {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 20, 21, 21, 21},
  1101. };
  1102. u1Byte gDeltaSwingTableIdx_TC_5GB_P__8812A[][DELTA_SWINGIDX_SIZE] = {
  1103. {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 16, 17, 17, 18, 19, 20, 20, 20},
  1104. {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 19, 20, 20, 20},
  1105. {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 20, 21, 21, 21},
  1106. };
  1107. u1Byte gDeltaSwingTableIdx_TC_5GA_N__8812A[][DELTA_SWINGIDX_SIZE] = {
  1108. {0, 1, 2, 3, 3, 4, 4, 5, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 14, 14, 14, 14, 14},
  1109. {0, 1, 2, 3, 3, 4, 5, 6, 6, 6, 7, 7, 8, 8, 9, 10, 11, 11, 12, 13, 13, 14, 15, 16, 16, 16, 16, 16, 16, 16},
  1110. {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 10, 11, 11, 12, 13, 14, 14, 15, 15, 16, 16, 16, 16, 16, 16, 16},
  1111. };
  1112. u1Byte gDeltaSwingTableIdx_TC_5GA_P__8812A[][DELTA_SWINGIDX_SIZE] = {
  1113. {0, 1, 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 8, 9, 10, 11, 11, 12, 13, 14, 14, 15, 15, 16, 16, 17, 18, 19, 19, 19},
  1114. {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 20, 21, 21, 21},
  1115. {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 20, 21, 21, 21},
  1116. };
  1117. u1Byte gDeltaSwingTableIdx_TC_2GB_N__8812A[] = {0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11};
  1118. u1Byte gDeltaSwingTableIdx_TC_2GB_P__8812A[] = {0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9};
  1119. u1Byte gDeltaSwingTableIdx_TC_2GA_N__8812A[] = {0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 8, 8, 9, 9, 9, 10, 10, 10, 10, 11, 11};
  1120. u1Byte gDeltaSwingTableIdx_TC_2GA_P__8812A[] = {0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9};
  1121. u1Byte gDeltaSwingTableIdx_TC_2GCCKB_N__8812A[] = {0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11};
  1122. u1Byte gDeltaSwingTableIdx_TC_2GCCKB_P__8812A[] = {0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9};
  1123. u1Byte gDeltaSwingTableIdx_TC_2GCCKA_N__8812A[] = {0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 8, 8, 9, 9, 9, 10, 10, 10, 10, 11, 11};
  1124. u1Byte gDeltaSwingTableIdx_TC_2GCCKA_P__8812A[] = {0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9};
  1125. void
  1126. ODM_ReadAndConfig_TC_8812A_TxPowerTrack_AP(
  1127. IN PDM_ODM_T pDM_Odm
  1128. )
  1129. {
  1130. PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
  1131. ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_TRACE, ("===> ODM_ReadAndConfig_MP_TC_8812A\n"));
  1132. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GA_P, gDeltaSwingTableIdx_TC_2GA_P__8812A, DELTA_SWINGIDX_SIZE);
  1133. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GA_N, gDeltaSwingTableIdx_TC_2GA_N__8812A, DELTA_SWINGIDX_SIZE);
  1134. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GB_P, gDeltaSwingTableIdx_TC_2GB_P__8812A, DELTA_SWINGIDX_SIZE);
  1135. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GB_N, gDeltaSwingTableIdx_TC_2GB_N__8812A, DELTA_SWINGIDX_SIZE);
  1136. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKA_P, gDeltaSwingTableIdx_TC_2GCCKA_P__8812A, DELTA_SWINGIDX_SIZE);
  1137. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKA_N, gDeltaSwingTableIdx_TC_2GCCKA_N__8812A, DELTA_SWINGIDX_SIZE);
  1138. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKB_P, gDeltaSwingTableIdx_TC_2GCCKB_P__8812A, DELTA_SWINGIDX_SIZE);
  1139. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKB_N, gDeltaSwingTableIdx_TC_2GCCKB_N__8812A, DELTA_SWINGIDX_SIZE);
  1140. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GA_P, gDeltaSwingTableIdx_TC_5GA_P__8812A, DELTA_SWINGIDX_SIZE*3);
  1141. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GA_N, gDeltaSwingTableIdx_TC_5GA_N__8812A, DELTA_SWINGIDX_SIZE*3);
  1142. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GB_P, gDeltaSwingTableIdx_TC_5GB_P__8812A, DELTA_SWINGIDX_SIZE*3);
  1143. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GB_N, gDeltaSwingTableIdx_TC_5GB_N__8812A, DELTA_SWINGIDX_SIZE*3);
  1144. }
  1145. /******************************************************************************
  1146. * TxPowerTrack_PCIE.TXT
  1147. ******************************************************************************/
  1148. u1Byte gDeltaSwingTableIdx_TC_5GB_N_PCIE_8812A[][DELTA_SWINGIDX_SIZE] = {
  1149. {0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 9, 9, 9, 10, 10, 11, 11, 12, 12, 13},
  1150. {0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11},
  1151. {0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1152. };
  1153. u1Byte gDeltaSwingTableIdx_TC_5GB_P_PCIE_8812A[][DELTA_SWINGIDX_SIZE] = {
  1154. {0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11},
  1155. {0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11},
  1156. {0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1157. };
  1158. u1Byte gDeltaSwingTableIdx_TC_5GA_N_PCIE_8812A[][DELTA_SWINGIDX_SIZE] = {
  1159. {0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 13, 13, 13},
  1160. {0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 8, 9, 9, 10, 10, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13},
  1161. {0, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 15, 16, 16, 16, 17, 17, 18, 18},
  1162. };
  1163. u1Byte gDeltaSwingTableIdx_TC_5GA_P_PCIE_8812A[][DELTA_SWINGIDX_SIZE] = {
  1164. {0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11},
  1165. {0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1166. {0, 1, 1, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1167. };
  1168. u1Byte gDeltaSwingTableIdx_TC_2GB_N_PCIE_8812A[] = {0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11};
  1169. u1Byte gDeltaSwingTableIdx_TC_2GB_P_PCIE_8812A[] = {0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9};
  1170. u1Byte gDeltaSwingTableIdx_TC_2GA_N_PCIE_8812A[] = {0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 8, 8, 9, 9, 9, 10, 10, 10, 10, 11, 11};
  1171. u1Byte gDeltaSwingTableIdx_TC_2GA_P_PCIE_8812A[] = {0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9};
  1172. u1Byte gDeltaSwingTableIdx_TC_2GCCKB_N_PCIE_8812A[] = {0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11};
  1173. u1Byte gDeltaSwingTableIdx_TC_2GCCKB_P_PCIE_8812A[] = {0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9};
  1174. u1Byte gDeltaSwingTableIdx_TC_2GCCKA_N_PCIE_8812A[] = {0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 7, 8, 8, 9, 9, 9, 10, 10, 10, 10, 11, 11};
  1175. u1Byte gDeltaSwingTableIdx_TC_2GCCKA_P_PCIE_8812A[] = {0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9};
  1176. void
  1177. ODM_ReadAndConfig_TC_8812A_TxPowerTrack_PCIE(
  1178. IN PDM_ODM_T pDM_Odm
  1179. )
  1180. {
  1181. PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
  1182. ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_TRACE, ("===> ODM_ReadAndConfig_MP_TC_8812A\n"));
  1183. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GA_P, gDeltaSwingTableIdx_TC_2GA_P_PCIE_8812A, DELTA_SWINGIDX_SIZE);
  1184. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GA_N, gDeltaSwingTableIdx_TC_2GA_N_PCIE_8812A, DELTA_SWINGIDX_SIZE);
  1185. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GB_P, gDeltaSwingTableIdx_TC_2GB_P_PCIE_8812A, DELTA_SWINGIDX_SIZE);
  1186. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GB_N, gDeltaSwingTableIdx_TC_2GB_N_PCIE_8812A, DELTA_SWINGIDX_SIZE);
  1187. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKA_P, gDeltaSwingTableIdx_TC_2GCCKA_P_PCIE_8812A, DELTA_SWINGIDX_SIZE);
  1188. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKA_N, gDeltaSwingTableIdx_TC_2GCCKA_N_PCIE_8812A, DELTA_SWINGIDX_SIZE);
  1189. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKB_P, gDeltaSwingTableIdx_TC_2GCCKB_P_PCIE_8812A, DELTA_SWINGIDX_SIZE);
  1190. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKB_N, gDeltaSwingTableIdx_TC_2GCCKB_N_PCIE_8812A, DELTA_SWINGIDX_SIZE);
  1191. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GA_P, gDeltaSwingTableIdx_TC_5GA_P_PCIE_8812A, DELTA_SWINGIDX_SIZE*3);
  1192. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GA_N, gDeltaSwingTableIdx_TC_5GA_N_PCIE_8812A, DELTA_SWINGIDX_SIZE*3);
  1193. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GB_P, gDeltaSwingTableIdx_TC_5GB_P_PCIE_8812A, DELTA_SWINGIDX_SIZE*3);
  1194. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GB_N, gDeltaSwingTableIdx_TC_5GB_N_PCIE_8812A, DELTA_SWINGIDX_SIZE*3);
  1195. }
  1196. /******************************************************************************
  1197. * TxPowerTrack_USB.TXT
  1198. ******************************************************************************/
  1199. u1Byte gDeltaSwingTableIdx_TC_5GB_N_USB_8812A[][DELTA_SWINGIDX_SIZE] = {
  1200. {0, 1, 1, 2, 2, 3, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 14, 14, 14, 14},
  1201. {0, 1, 1, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1202. {0, 1, 1, 2, 3, 3, 4, 5, 6, 7, 7, 8, 8, 9, 9, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1203. };
  1204. u1Byte gDeltaSwingTableIdx_TC_5GB_P_USB_8812A[][DELTA_SWINGIDX_SIZE] = {
  1205. {0, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1206. {0, 1, 1, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1207. {0, 1, 1, 2, 3, 3, 4, 5, 6, 7, 7, 8, 8, 9, 9, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1208. };
  1209. u1Byte gDeltaSwingTableIdx_TC_5GA_N_USB_8812A[][DELTA_SWINGIDX_SIZE] = {
  1210. {0, 1, 1, 2, 2, 3, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 15, 15, 15, 15, 15},
  1211. {0, 1, 1, 2, 2, 3, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 15, 15, 15, 15, 15},
  1212. {0, 1, 1, 2, 2, 3, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 15, 15, 15, 15, 15},
  1213. };
  1214. u1Byte gDeltaSwingTableIdx_TC_5GA_P_USB_8812A[][DELTA_SWINGIDX_SIZE] = {
  1215. {0, 1, 1, 2, 2, 3, 4, 5, 6, 7, 7, 8, 8, 9, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1216. {0, 1, 1, 2, 3, 3, 4, 5, 6, 7, 7, 8, 8, 9, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1217. {0, 1, 1, 2, 3, 3, 4, 5, 6, 7, 7, 8, 8, 9, 10, 11, 11, 12, 12, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11},
  1218. };
  1219. u1Byte gDeltaSwingTableIdx_TC_2GB_N_USB_8812A[] = {0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11};
  1220. u1Byte gDeltaSwingTableIdx_TC_2GB_P_USB_8812A[] = {0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7};
  1221. u1Byte gDeltaSwingTableIdx_TC_2GA_N_USB_8812A[] = {0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 9, 10, 10, 10, 10, 10, 10};
  1222. u1Byte gDeltaSwingTableIdx_TC_2GA_P_USB_8812A[] = {0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7};
  1223. u1Byte gDeltaSwingTableIdx_TC_2GCCKB_N_USB_8812A[] = {0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11};
  1224. u1Byte gDeltaSwingTableIdx_TC_2GCCKB_P_USB_8812A[] = {0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7};
  1225. u1Byte gDeltaSwingTableIdx_TC_2GCCKA_N_USB_8812A[] = {0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 9, 10, 10, 10, 10, 10, 10};
  1226. u1Byte gDeltaSwingTableIdx_TC_2GCCKA_P_USB_8812A[] = {0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7};
  1227. void
  1228. ODM_ReadAndConfig_TC_8812A_TxPowerTrack_USB(
  1229. IN PDM_ODM_T pDM_Odm
  1230. )
  1231. {
  1232. PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
  1233. ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_TRACE, ("===> ODM_ReadAndConfig_MP_TC_8812A\n"));
  1234. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GA_P, gDeltaSwingTableIdx_TC_2GA_P_USB_8812A, DELTA_SWINGIDX_SIZE);
  1235. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GA_N, gDeltaSwingTableIdx_TC_2GA_N_USB_8812A, DELTA_SWINGIDX_SIZE);
  1236. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GB_P, gDeltaSwingTableIdx_TC_2GB_P_USB_8812A, DELTA_SWINGIDX_SIZE);
  1237. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GB_N, gDeltaSwingTableIdx_TC_2GB_N_USB_8812A, DELTA_SWINGIDX_SIZE);
  1238. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKA_P, gDeltaSwingTableIdx_TC_2GCCKA_P_USB_8812A, DELTA_SWINGIDX_SIZE);
  1239. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKA_N, gDeltaSwingTableIdx_TC_2GCCKA_N_USB_8812A, DELTA_SWINGIDX_SIZE);
  1240. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKB_P, gDeltaSwingTableIdx_TC_2GCCKB_P_USB_8812A, DELTA_SWINGIDX_SIZE);
  1241. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_2GCCKB_N, gDeltaSwingTableIdx_TC_2GCCKB_N_USB_8812A, DELTA_SWINGIDX_SIZE);
  1242. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GA_P, gDeltaSwingTableIdx_TC_5GA_P_USB_8812A, DELTA_SWINGIDX_SIZE*3);
  1243. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GA_N, gDeltaSwingTableIdx_TC_5GA_N_USB_8812A, DELTA_SWINGIDX_SIZE*3);
  1244. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GB_P, gDeltaSwingTableIdx_TC_5GB_P_USB_8812A, DELTA_SWINGIDX_SIZE*3);
  1245. ODM_MoveMemory(pDM_Odm, pRFCalibrateInfo->DeltaSwingTableIdx_5GB_N, gDeltaSwingTableIdx_TC_5GB_N_USB_8812A, DELTA_SWINGIDX_SIZE*3);
  1246. }
  1247. /******************************************************************************
  1248. * TXPWR_LMT.TXT
  1249. ******************************************************************************/
  1250. pu1Byte Array_TC_8812A_TXPWR_LMT[] = {
  1251. "FCC", "2.4G", "20M", "CCK", "1T", "01", "36",
  1252. "ETSI", "2.4G", "20M", "CCK", "1T", "01", "32",
  1253. "MKK", "2.4G", "20M", "CCK", "1T", "01", "32",
  1254. "FCC", "2.4G", "20M", "CCK", "1T", "02", "36",
  1255. "ETSI", "2.4G", "20M", "CCK", "1T", "02", "32",
  1256. "MKK", "2.4G", "20M", "CCK", "1T", "02", "32",
  1257. "FCC", "2.4G", "20M", "CCK", "1T", "03", "36",
  1258. "ETSI", "2.4G", "20M", "CCK", "1T", "03", "32",
  1259. "MKK", "2.4G", "20M", "CCK", "1T", "03", "32",
  1260. "FCC", "2.4G", "20M", "CCK", "1T", "04", "36",
  1261. "ETSI", "2.4G", "20M", "CCK", "1T", "04", "32",
  1262. "MKK", "2.4G", "20M", "CCK", "1T", "04", "32",
  1263. "FCC", "2.4G", "20M", "CCK", "1T", "05", "36",
  1264. "ETSI", "2.4G", "20M", "CCK", "1T", "05", "32",
  1265. "MKK", "2.4G", "20M", "CCK", "1T", "05", "32",
  1266. "FCC", "2.4G", "20M", "CCK", "1T", "06", "36",
  1267. "ETSI", "2.4G", "20M", "CCK", "1T", "06", "32",
  1268. "MKK", "2.4G", "20M", "CCK", "1T", "06", "32",
  1269. "FCC", "2.4G", "20M", "CCK", "1T", "07", "36",
  1270. "ETSI", "2.4G", "20M", "CCK", "1T", "07", "32",
  1271. "MKK", "2.4G", "20M", "CCK", "1T", "07", "32",
  1272. "FCC", "2.4G", "20M", "CCK", "1T", "08", "36",
  1273. "ETSI", "2.4G", "20M", "CCK", "1T", "08", "32",
  1274. "MKK", "2.4G", "20M", "CCK", "1T", "08", "32",
  1275. "FCC", "2.4G", "20M", "CCK", "1T", "09", "36",
  1276. "ETSI", "2.4G", "20M", "CCK", "1T", "09", "32",
  1277. "MKK", "2.4G", "20M", "CCK", "1T", "09", "32",
  1278. "FCC", "2.4G", "20M", "CCK", "1T", "10", "36",
  1279. "ETSI", "2.4G", "20M", "CCK", "1T", "10", "32",
  1280. "MKK", "2.4G", "20M", "CCK", "1T", "10", "32",
  1281. "FCC", "2.4G", "20M", "CCK", "1T", "11", "36",
  1282. "ETSI", "2.4G", "20M", "CCK", "1T", "11", "32",
  1283. "MKK", "2.4G", "20M", "CCK", "1T", "11", "32",
  1284. "FCC", "2.4G", "20M", "CCK", "1T", "12", "63",
  1285. "ETSI", "2.4G", "20M", "CCK", "1T", "12", "32",
  1286. "MKK", "2.4G", "20M", "CCK", "1T", "12", "32",
  1287. "FCC", "2.4G", "20M", "CCK", "1T", "13", "63",
  1288. "ETSI", "2.4G", "20M", "CCK", "1T", "13", "32",
  1289. "MKK", "2.4G", "20M", "CCK", "1T", "13", "32",
  1290. "FCC", "2.4G", "20M", "CCK", "1T", "14", "63",
  1291. "ETSI", "2.4G", "20M", "CCK", "1T", "14", "63",
  1292. "MKK", "2.4G", "20M", "CCK", "1T", "14", "32",
  1293. "FCC", "2.4G", "20M", "OFDM", "1T", "01", "34",
  1294. "ETSI", "2.4G", "20M", "OFDM", "1T", "01", "32",
  1295. "MKK", "2.4G", "20M", "OFDM", "1T", "01", "32",
  1296. "FCC", "2.4G", "20M", "OFDM", "1T", "02", "36",
  1297. "ETSI", "2.4G", "20M", "OFDM", "1T", "02", "32",
  1298. "MKK", "2.4G", "20M", "OFDM", "1T", "02", "32",
  1299. "FCC", "2.4G", "20M", "OFDM", "1T", "03", "36",
  1300. "ETSI", "2.4G", "20M", "OFDM", "1T", "03", "32",
  1301. "MKK", "2.4G", "20M", "OFDM", "1T", "03", "32",
  1302. "FCC", "2.4G", "20M", "OFDM", "1T", "04", "36",
  1303. "ETSI", "2.4G", "20M", "OFDM", "1T", "04", "32",
  1304. "MKK", "2.4G", "20M", "OFDM", "1T", "04", "32",
  1305. "FCC", "2.4G", "20M", "OFDM", "1T", "05", "36",
  1306. "ETSI", "2.4G", "20M", "OFDM", "1T", "05", "32",
  1307. "MKK", "2.4G", "20M", "OFDM", "1T", "05", "32",
  1308. "FCC", "2.4G", "20M", "OFDM", "1T", "06", "36",
  1309. "ETSI", "2.4G", "20M", "OFDM", "1T", "06", "32",
  1310. "MKK", "2.4G", "20M", "OFDM", "1T", "06", "32",
  1311. "FCC", "2.4G", "20M", "OFDM", "1T", "07", "36",
  1312. "ETSI", "2.4G", "20M", "OFDM", "1T", "07", "32",
  1313. "MKK", "2.4G", "20M", "OFDM", "1T", "07", "32",
  1314. "FCC", "2.4G", "20M", "OFDM", "1T", "08", "36",
  1315. "ETSI", "2.4G", "20M", "OFDM", "1T", "08", "32",
  1316. "MKK", "2.4G", "20M", "OFDM", "1T", "08", "32",
  1317. "FCC", "2.4G", "20M", "OFDM", "1T", "09", "36",
  1318. "ETSI", "2.4G", "20M", "OFDM", "1T", "09", "32",
  1319. "MKK", "2.4G", "20M", "OFDM", "1T", "09", "32",
  1320. "FCC", "2.4G", "20M", "OFDM", "1T", "10", "36",
  1321. "ETSI", "2.4G", "20M", "OFDM", "1T", "10", "32",
  1322. "MKK", "2.4G", "20M", "OFDM", "1T", "10", "32",
  1323. "FCC", "2.4G", "20M", "OFDM", "1T", "11", "32",
  1324. "ETSI", "2.4G", "20M", "OFDM", "1T", "11", "32",
  1325. "MKK", "2.4G", "20M", "OFDM", "1T", "11", "32",
  1326. "FCC", "2.4G", "20M", "OFDM", "1T", "12", "63",
  1327. "ETSI", "2.4G", "20M", "OFDM", "1T", "12", "32",
  1328. "MKK", "2.4G", "20M", "OFDM", "1T", "12", "32",
  1329. "FCC", "2.4G", "20M", "OFDM", "1T", "13", "63",
  1330. "ETSI", "2.4G", "20M", "OFDM", "1T", "13", "32",
  1331. "MKK", "2.4G", "20M", "OFDM", "1T", "13", "32",
  1332. "FCC", "2.4G", "20M", "OFDM", "1T", "14", "63",
  1333. "ETSI", "2.4G", "20M", "OFDM", "1T", "14", "63",
  1334. "MKK", "2.4G", "20M", "OFDM", "1T", "14", "63",
  1335. "FCC", "2.4G", "20M", "HT", "1T", "01", "34",
  1336. "ETSI", "2.4G", "20M", "HT", "1T", "01", "32",
  1337. "MKK", "2.4G", "20M", "HT", "1T", "01", "32",
  1338. "FCC", "2.4G", "20M", "HT", "1T", "02", "36",
  1339. "ETSI", "2.4G", "20M", "HT", "1T", "02", "32",
  1340. "MKK", "2.4G", "20M", "HT", "1T", "02", "32",
  1341. "FCC", "2.4G", "20M", "HT", "1T", "03", "36",
  1342. "ETSI", "2.4G", "20M", "HT", "1T", "03", "32",
  1343. "MKK", "2.4G", "20M", "HT", "1T", "03", "32",
  1344. "FCC", "2.4G", "20M", "HT", "1T", "04", "36",
  1345. "ETSI", "2.4G", "20M", "HT", "1T", "04", "32",
  1346. "MKK", "2.4G", "20M", "HT", "1T", "04", "32",
  1347. "FCC", "2.4G", "20M", "HT", "1T", "05", "36",
  1348. "ETSI", "2.4G", "20M", "HT", "1T", "05", "32",
  1349. "MKK", "2.4G", "20M", "HT", "1T", "05", "32",
  1350. "FCC", "2.4G", "20M", "HT", "1T", "06", "36",
  1351. "ETSI", "2.4G", "20M", "HT", "1T", "06", "32",
  1352. "MKK", "2.4G", "20M", "HT", "1T", "06", "32",
  1353. "FCC", "2.4G", "20M", "HT", "1T", "07", "36",
  1354. "ETSI", "2.4G", "20M", "HT", "1T", "07", "32",
  1355. "MKK", "2.4G", "20M", "HT", "1T", "07", "32",
  1356. "FCC", "2.4G", "20M", "HT", "1T", "08", "36",
  1357. "ETSI", "2.4G", "20M", "HT", "1T", "08", "32",
  1358. "MKK", "2.4G", "20M", "HT", "1T", "08", "32",
  1359. "FCC", "2.4G", "20M", "HT", "1T", "09", "36",
  1360. "ETSI", "2.4G", "20M", "HT", "1T", "09", "32",
  1361. "MKK", "2.4G", "20M", "HT", "1T", "09", "32",
  1362. "FCC", "2.4G", "20M", "HT", "1T", "10", "36",
  1363. "ETSI", "2.4G", "20M", "HT", "1T", "10", "32",
  1364. "MKK", "2.4G", "20M", "HT", "1T", "10", "32",
  1365. "FCC", "2.4G", "20M", "HT", "1T", "11", "32",
  1366. "ETSI", "2.4G", "20M", "HT", "1T", "11", "32",
  1367. "MKK", "2.4G", "20M", "HT", "1T", "11", "32",
  1368. "FCC", "2.4G", "20M", "HT", "1T", "12", "63",
  1369. "ETSI", "2.4G", "20M", "HT", "1T", "12", "32",
  1370. "MKK", "2.4G", "20M", "HT", "1T", "12", "32",
  1371. "FCC", "2.4G", "20M", "HT", "1T", "13", "63",
  1372. "ETSI", "2.4G", "20M", "HT", "1T", "13", "32",
  1373. "MKK", "2.4G", "20M", "HT", "1T", "13", "32",
  1374. "FCC", "2.4G", "20M", "HT", "1T", "14", "63",
  1375. "ETSI", "2.4G", "20M", "HT", "1T", "14", "63",
  1376. "MKK", "2.4G", "20M", "HT", "1T", "14", "63",
  1377. "FCC", "2.4G", "20M", "HT", "2T", "01", "32",
  1378. "ETSI", "2.4G", "20M", "HT", "2T", "01", "32",
  1379. "MKK", "2.4G", "20M", "HT", "2T", "01", "32",
  1380. "FCC", "2.4G", "20M", "HT", "2T", "02", "34",
  1381. "ETSI", "2.4G", "20M", "HT", "2T", "02", "32",
  1382. "MKK", "2.4G", "20M", "HT", "2T", "02", "32",
  1383. "FCC", "2.4G", "20M", "HT", "2T", "03", "34",
  1384. "ETSI", "2.4G", "20M", "HT", "2T", "03", "32",
  1385. "MKK", "2.4G", "20M", "HT", "2T", "03", "32",
  1386. "FCC", "2.4G", "20M", "HT", "2T", "04", "34",
  1387. "ETSI", "2.4G", "20M", "HT", "2T", "04", "32",
  1388. "MKK", "2.4G", "20M", "HT", "2T", "04", "32",
  1389. "FCC", "2.4G", "20M", "HT", "2T", "05", "34",
  1390. "ETSI", "2.4G", "20M", "HT", "2T", "05", "32",
  1391. "MKK", "2.4G", "20M", "HT", "2T", "05", "32",
  1392. "FCC", "2.4G", "20M", "HT", "2T", "06", "34",
  1393. "ETSI", "2.4G", "20M", "HT", "2T", "06", "32",
  1394. "MKK", "2.4G", "20M", "HT", "2T", "06", "32",
  1395. "FCC", "2.4G", "20M", "HT", "2T", "07", "34",
  1396. "ETSI", "2.4G", "20M", "HT", "2T", "07", "32",
  1397. "MKK", "2.4G", "20M", "HT", "2T", "07", "32",
  1398. "FCC", "2.4G", "20M", "HT", "2T", "08", "34",
  1399. "ETSI", "2.4G", "20M", "HT", "2T", "08", "32",
  1400. "MKK", "2.4G", "20M", "HT", "2T", "08", "32",
  1401. "FCC", "2.4G", "20M", "HT", "2T", "09", "34",
  1402. "ETSI", "2.4G", "20M", "HT", "2T", "09", "32",
  1403. "MKK", "2.4G", "20M", "HT", "2T", "09", "32",
  1404. "FCC", "2.4G", "20M", "HT", "2T", "10", "34",
  1405. "ETSI", "2.4G", "20M", "HT", "2T", "10", "32",
  1406. "MKK", "2.4G", "20M", "HT", "2T", "10", "32",
  1407. "FCC", "2.4G", "20M", "HT", "2T", "11", "30",
  1408. "ETSI", "2.4G", "20M", "HT", "2T", "11", "32",
  1409. "MKK", "2.4G", "20M", "HT", "2T", "11", "32",
  1410. "FCC", "2.4G", "20M", "HT", "2T", "12", "63",
  1411. "ETSI", "2.4G", "20M", "HT", "2T", "12", "32",
  1412. "MKK", "2.4G", "20M", "HT", "2T", "12", "32",
  1413. "FCC", "2.4G", "20M", "HT", "2T", "13", "63",
  1414. "ETSI", "2.4G", "20M", "HT", "2T", "13", "32",
  1415. "MKK", "2.4G", "20M", "HT", "2T", "13", "32",
  1416. "FCC", "2.4G", "20M", "HT", "2T", "14", "63",
  1417. "ETSI", "2.4G", "20M", "HT", "2T", "14", "63",
  1418. "MKK", "2.4G", "20M", "HT", "2T", "14", "63",
  1419. "FCC", "2.4G", "40M", "HT", "1T", "01", "63",
  1420. "ETSI", "2.4G", "40M", "HT", "1T", "01", "63",
  1421. "MKK", "2.4G", "40M", "HT", "1T", "01", "63",
  1422. "FCC", "2.4G", "40M", "HT", "1T", "02", "63",
  1423. "ETSI", "2.4G", "40M", "HT", "1T", "02", "63",
  1424. "MKK", "2.4G", "40M", "HT", "1T", "02", "63",
  1425. "FCC", "2.4G", "40M", "HT", "1T", "03", "32",
  1426. "ETSI", "2.4G", "40M", "HT", "1T", "03", "32",
  1427. "MKK", "2.4G", "40M", "HT", "1T", "03", "32",
  1428. "FCC", "2.4G", "40M", "HT", "1T", "04", "36",
  1429. "ETSI", "2.4G", "40M", "HT", "1T", "04", "32",
  1430. "MKK", "2.4G", "40M", "HT", "1T", "04", "32",
  1431. "FCC", "2.4G", "40M", "HT", "1T", "05", "36",
  1432. "ETSI", "2.4G", "40M", "HT", "1T", "05", "32",
  1433. "MKK", "2.4G", "40M", "HT", "1T", "05", "32",
  1434. "FCC", "2.4G", "40M", "HT", "1T", "06", "36",
  1435. "ETSI", "2.4G", "40M", "HT", "1T", "06", "32",
  1436. "MKK", "2.4G", "40M", "HT", "1T", "06", "32",
  1437. "FCC", "2.4G", "40M", "HT", "1T", "07", "36",
  1438. "ETSI", "2.4G", "40M", "HT", "1T", "07", "32",
  1439. "MKK", "2.4G", "40M", "HT", "1T", "07", "32",
  1440. "FCC", "2.4G", "40M", "HT", "1T", "08", "36",
  1441. "ETSI", "2.4G", "40M", "HT", "1T", "08", "32",
  1442. "MKK", "2.4G", "40M", "HT", "1T", "08", "32",
  1443. "FCC", "2.4G", "40M", "HT", "1T", "09", "36",
  1444. "ETSI", "2.4G", "40M", "HT", "1T", "09", "32",
  1445. "MKK", "2.4G", "40M", "HT", "1T", "09", "32",
  1446. "FCC", "2.4G", "40M", "HT", "1T", "10", "36",
  1447. "ETSI", "2.4G", "40M", "HT", "1T", "10", "32",
  1448. "MKK", "2.4G", "40M", "HT", "1T", "10", "32",
  1449. "FCC", "2.4G", "40M", "HT", "1T", "11", "32",
  1450. "ETSI", "2.4G", "40M", "HT", "1T", "11", "32",
  1451. "MKK", "2.4G", "40M", "HT", "1T", "11", "32",
  1452. "FCC", "2.4G", "40M", "HT", "1T", "12", "63",
  1453. "ETSI", "2.4G", "40M", "HT", "1T", "12", "32",
  1454. "MKK", "2.4G", "40M", "HT", "1T", "12", "32",
  1455. "FCC", "2.4G", "40M", "HT", "1T", "13", "63",
  1456. "ETSI", "2.4G", "40M", "HT", "1T", "13", "32",
  1457. "MKK", "2.4G", "40M", "HT", "1T", "13", "32",
  1458. "FCC", "2.4G", "40M", "HT", "1T", "14", "63",
  1459. "ETSI", "2.4G", "40M", "HT", "1T", "14", "63",
  1460. "MKK", "2.4G", "40M", "HT", "1T", "14", "63",
  1461. "FCC", "2.4G", "40M", "HT", "2T", "01", "63",
  1462. "ETSI", "2.4G", "40M", "HT", "2T", "01", "63",
  1463. "MKK", "2.4G", "40M", "HT", "2T", "01", "63",
  1464. "FCC", "2.4G", "40M", "HT", "2T", "02", "63",
  1465. "ETSI", "2.4G", "40M", "HT", "2T", "02", "63",
  1466. "MKK", "2.4G", "40M", "HT", "2T", "02", "63",
  1467. "FCC", "2.4G", "40M", "HT", "2T", "03", "30",
  1468. "ETSI", "2.4G", "40M", "HT", "2T", "03", "30",
  1469. "MKK", "2.4G", "40M", "HT", "2T", "03", "30",
  1470. "FCC", "2.4G", "40M", "HT", "2T", "04", "34",
  1471. "ETSI", "2.4G", "40M", "HT", "2T", "04", "30",
  1472. "MKK", "2.4G", "40M", "HT", "2T", "04", "30",
  1473. "FCC", "2.4G", "40M", "HT", "2T", "05", "34",
  1474. "ETSI", "2.4G", "40M", "HT", "2T", "05", "30",
  1475. "MKK", "2.4G", "40M", "HT", "2T", "05", "30",
  1476. "FCC", "2.4G", "40M", "HT", "2T", "06", "34",
  1477. "ETSI", "2.4G", "40M", "HT", "2T", "06", "30",
  1478. "MKK", "2.4G", "40M", "HT", "2T", "06", "30",
  1479. "FCC", "2.4G", "40M", "HT", "2T", "07", "34",
  1480. "ETSI", "2.4G", "40M", "HT", "2T", "07", "30",
  1481. "MKK", "2.4G", "40M", "HT", "2T", "07", "30",
  1482. "FCC", "2.4G", "40M", "HT", "2T", "08", "34",
  1483. "ETSI", "2.4G", "40M", "HT", "2T", "08", "30",
  1484. "MKK", "2.4G", "40M", "HT", "2T", "08", "30",
  1485. "FCC", "2.4G", "40M", "HT", "2T", "09", "34",
  1486. "ETSI", "2.4G", "40M", "HT", "2T", "09", "30",
  1487. "MKK", "2.4G", "40M", "HT", "2T", "09", "30",
  1488. "FCC", "2.4G", "40M", "HT", "2T", "10", "34",
  1489. "ETSI", "2.4G", "40M", "HT", "2T", "10", "30",
  1490. "MKK", "2.4G", "40M", "HT", "2T", "10", "30",
  1491. "FCC", "2.4G", "40M", "HT", "2T", "11", "30",
  1492. "ETSI", "2.4G", "40M", "HT", "2T", "11", "30",
  1493. "MKK", "2.4G", "40M", "HT", "2T", "11", "30",
  1494. "FCC", "2.4G", "40M", "HT", "2T", "12", "63",
  1495. "ETSI", "2.4G", "40M", "HT", "2T", "12", "32",
  1496. "MKK", "2.4G", "40M", "HT", "2T", "12", "32",
  1497. "FCC", "2.4G", "40M", "HT", "2T", "13", "63",
  1498. "ETSI", "2.4G", "40M", "HT", "2T", "13", "32",
  1499. "MKK", "2.4G", "40M", "HT", "2T", "13", "32",
  1500. "FCC", "2.4G", "40M", "HT", "2T", "14", "63",
  1501. "ETSI", "2.4G", "40M", "HT", "2T", "14", "63",
  1502. "MKK", "2.4G", "40M", "HT", "2T", "14", "63",
  1503. "FCC", "5G", "20M", "OFDM", "1T", "36", "30",
  1504. "ETSI", "5G", "20M", "OFDM", "1T", "36", "32",
  1505. "MKK", "5G", "20M", "OFDM", "1T", "36", "32",
  1506. "FCC", "5G", "20M", "OFDM", "1T", "40", "30",
  1507. "ETSI", "5G", "20M", "OFDM", "1T", "40", "32",
  1508. "MKK", "5G", "20M", "OFDM", "1T", "40", "32",
  1509. "FCC", "5G", "20M", "OFDM", "1T", "44", "30",
  1510. "ETSI", "5G", "20M", "OFDM", "1T", "44", "32",
  1511. "MKK", "5G", "20M", "OFDM", "1T", "44", "32",
  1512. "FCC", "5G", "20M", "OFDM", "1T", "48", "30",
  1513. "ETSI", "5G", "20M", "OFDM", "1T", "48", "32",
  1514. "MKK", "5G", "20M", "OFDM", "1T", "48", "32",
  1515. "FCC", "5G", "20M", "OFDM", "1T", "52", "36",
  1516. "ETSI", "5G", "20M", "OFDM", "1T", "52", "32",
  1517. "MKK", "5G", "20M", "OFDM", "1T", "52", "32",
  1518. "FCC", "5G", "20M", "OFDM", "1T", "56", "34",
  1519. "ETSI", "5G", "20M", "OFDM", "1T", "56", "32",
  1520. "MKK", "5G", "20M", "OFDM", "1T", "56", "32",
  1521. "FCC", "5G", "20M", "OFDM", "1T", "60", "32",
  1522. "ETSI", "5G", "20M", "OFDM", "1T", "60", "32",
  1523. "MKK", "5G", "20M", "OFDM", "1T", "60", "32",
  1524. "FCC", "5G", "20M", "OFDM", "1T", "64", "28",
  1525. "ETSI", "5G", "20M", "OFDM", "1T", "64", "32",
  1526. "MKK", "5G", "20M", "OFDM", "1T", "64", "32",
  1527. "FCC", "5G", "20M", "OFDM", "1T", "100", "30",
  1528. "ETSI", "5G", "20M", "OFDM", "1T", "100", "32",
  1529. "MKK", "5G", "20M", "OFDM", "1T", "100", "32",
  1530. "FCC", "5G", "20M", "OFDM", "1T", "114", "30",
  1531. "ETSI", "5G", "20M", "OFDM", "1T", "114", "32",
  1532. "MKK", "5G", "20M", "OFDM", "1T", "114", "32",
  1533. "FCC", "5G", "20M", "OFDM", "1T", "108", "32",
  1534. "ETSI", "5G", "20M", "OFDM", "1T", "108", "32",
  1535. "MKK", "5G", "20M", "OFDM", "1T", "108", "32",
  1536. "FCC", "5G", "20M", "OFDM", "1T", "112", "34",
  1537. "ETSI", "5G", "20M", "OFDM", "1T", "112", "32",
  1538. "MKK", "5G", "20M", "OFDM", "1T", "112", "32",
  1539. "FCC", "5G", "20M", "OFDM", "1T", "116", "34",
  1540. "ETSI", "5G", "20M", "OFDM", "1T", "116", "32",
  1541. "MKK", "5G", "20M", "OFDM", "1T", "116", "32",
  1542. "FCC", "5G", "20M", "OFDM", "1T", "120", "36",
  1543. "ETSI", "5G", "20M", "OFDM", "1T", "120", "32",
  1544. "MKK", "5G", "20M", "OFDM", "1T", "120", "32",
  1545. "FCC", "5G", "20M", "OFDM", "1T", "124", "34",
  1546. "ETSI", "5G", "20M", "OFDM", "1T", "124", "32",
  1547. "MKK", "5G", "20M", "OFDM", "1T", "124", "32",
  1548. "FCC", "5G", "20M", "OFDM", "1T", "128", "32",
  1549. "ETSI", "5G", "20M", "OFDM", "1T", "128", "32",
  1550. "MKK", "5G", "20M", "OFDM", "1T", "128", "32",
  1551. "FCC", "5G", "20M", "OFDM", "1T", "132", "30",
  1552. "ETSI", "5G", "20M", "OFDM", "1T", "132", "32",
  1553. "MKK", "5G", "20M", "OFDM", "1T", "132", "32",
  1554. "FCC", "5G", "20M", "OFDM", "1T", "136", "30",
  1555. "ETSI", "5G", "20M", "OFDM", "1T", "136", "32",
  1556. "MKK", "5G", "20M", "OFDM", "1T", "136", "32",
  1557. "FCC", "5G", "20M", "OFDM", "1T", "140", "28",
  1558. "ETSI", "5G", "20M", "OFDM", "1T", "140", "32",
  1559. "MKK", "5G", "20M", "OFDM", "1T", "140", "32",
  1560. "FCC", "5G", "20M", "OFDM", "1T", "149", "36",
  1561. "ETSI", "5G", "20M", "OFDM", "1T", "149", "32",
  1562. "MKK", "5G", "20M", "OFDM", "1T", "149", "63",
  1563. "FCC", "5G", "20M", "OFDM", "1T", "153", "36",
  1564. "ETSI", "5G", "20M", "OFDM", "1T", "153", "32",
  1565. "MKK", "5G", "20M", "OFDM", "1T", "153", "63",
  1566. "FCC", "5G", "20M", "OFDM", "1T", "157", "36",
  1567. "ETSI", "5G", "20M", "OFDM", "1T", "157", "32",
  1568. "MKK", "5G", "20M", "OFDM", "1T", "157", "63",
  1569. "FCC", "5G", "20M", "OFDM", "1T", "161", "36",
  1570. "ETSI", "5G", "20M", "OFDM", "1T", "161", "32",
  1571. "MKK", "5G", "20M", "OFDM", "1T", "161", "63",
  1572. "FCC", "5G", "20M", "OFDM", "1T", "165", "36",
  1573. "ETSI", "5G", "20M", "OFDM", "1T", "165", "32",
  1574. "MKK", "5G", "20M", "OFDM", "1T", "165", "63",
  1575. "FCC", "5G", "20M", "HT", "1T", "36", "30",
  1576. "ETSI", "5G", "20M", "HT", "1T", "36", "32",
  1577. "MKK", "5G", "20M", "HT", "1T", "36", "32",
  1578. "FCC", "5G", "20M", "HT", "1T", "40", "30",
  1579. "ETSI", "5G", "20M", "HT", "1T", "40", "32",
  1580. "MKK", "5G", "20M", "HT", "1T", "40", "32",
  1581. "FCC", "5G", "20M", "HT", "1T", "44", "30",
  1582. "ETSI", "5G", "20M", "HT", "1T", "44", "32",
  1583. "MKK", "5G", "20M", "HT", "1T", "44", "32",
  1584. "FCC", "5G", "20M", "HT", "1T", "48", "30",
  1585. "ETSI", "5G", "20M", "HT", "1T", "48", "32",
  1586. "MKK", "5G", "20M", "HT", "1T", "48", "32",
  1587. "FCC", "5G", "20M", "HT", "1T", "52", "36",
  1588. "ETSI", "5G", "20M", "HT", "1T", "52", "32",
  1589. "MKK", "5G", "20M", "HT", "1T", "52", "32",
  1590. "FCC", "5G", "20M", "HT", "1T", "56", "34",
  1591. "ETSI", "5G", "20M", "HT", "1T", "56", "32",
  1592. "MKK", "5G", "20M", "HT", "1T", "56", "32",
  1593. "FCC", "5G", "20M", "HT", "1T", "60", "32",
  1594. "ETSI", "5G", "20M", "HT", "1T", "60", "32",
  1595. "MKK", "5G", "20M", "HT", "1T", "60", "32",
  1596. "FCC", "5G", "20M", "HT", "1T", "64", "28",
  1597. "ETSI", "5G", "20M", "HT", "1T", "64", "32",
  1598. "MKK", "5G", "20M", "HT", "1T", "64", "32",
  1599. "FCC", "5G", "20M", "HT", "1T", "100", "30",
  1600. "ETSI", "5G", "20M", "HT", "1T", "100", "32",
  1601. "MKK", "5G", "20M", "HT", "1T", "100", "32",
  1602. "FCC", "5G", "20M", "HT", "1T", "114", "30",
  1603. "ETSI", "5G", "20M", "HT", "1T", "114", "32",
  1604. "MKK", "5G", "20M", "HT", "1T", "114", "32",
  1605. "FCC", "5G", "20M", "HT", "1T", "108", "32",
  1606. "ETSI", "5G", "20M", "HT", "1T", "108", "32",
  1607. "MKK", "5G", "20M", "HT", "1T", "108", "32",
  1608. "FCC", "5G", "20M", "HT", "1T", "112", "34",
  1609. "ETSI", "5G", "20M", "HT", "1T", "112", "32",
  1610. "MKK", "5G", "20M", "HT", "1T", "112", "32",
  1611. "FCC", "5G", "20M", "HT", "1T", "116", "34",
  1612. "ETSI", "5G", "20M", "HT", "1T", "116", "32",
  1613. "MKK", "5G", "20M", "HT", "1T", "116", "32",
  1614. "FCC", "5G", "20M", "HT", "1T", "120", "36",
  1615. "ETSI", "5G", "20M", "HT", "1T", "120", "32",
  1616. "MKK", "5G", "20M", "HT", "1T", "120", "32",
  1617. "FCC", "5G", "20M", "HT", "1T", "124", "34",
  1618. "ETSI", "5G", "20M", "HT", "1T", "124", "32",
  1619. "MKK", "5G", "20M", "HT", "1T", "124", "32",
  1620. "FCC", "5G", "20M", "HT", "1T", "128", "32",
  1621. "ETSI", "5G", "20M", "HT", "1T", "128", "32",
  1622. "MKK", "5G", "20M", "HT", "1T", "128", "32",
  1623. "FCC", "5G", "20M", "HT", "1T", "132", "30",
  1624. "ETSI", "5G", "20M", "HT", "1T", "132", "32",
  1625. "MKK", "5G", "20M", "HT", "1T", "132", "32",
  1626. "FCC", "5G", "20M", "HT", "1T", "136", "30",
  1627. "ETSI", "5G", "20M", "HT", "1T", "136", "32",
  1628. "MKK", "5G", "20M", "HT", "1T", "136", "32",
  1629. "FCC", "5G", "20M", "HT", "1T", "140", "28",
  1630. "ETSI", "5G", "20M", "HT", "1T", "140", "32",
  1631. "MKK", "5G", "20M", "HT", "1T", "140", "32",
  1632. "FCC", "5G", "20M", "HT", "1T", "149", "36",
  1633. "ETSI", "5G", "20M", "HT", "1T", "149", "32",
  1634. "MKK", "5G", "20M", "HT", "1T", "149", "63",
  1635. "FCC", "5G", "20M", "HT", "1T", "153", "36",
  1636. "ETSI", "5G", "20M", "HT", "1T", "153", "32",
  1637. "MKK", "5G", "20M", "HT", "1T", "153", "63",
  1638. "FCC", "5G", "20M", "HT", "1T", "157", "36",
  1639. "ETSI", "5G", "20M", "HT", "1T", "157", "32",
  1640. "MKK", "5G", "20M", "HT", "1T", "157", "63",
  1641. "FCC", "5G", "20M", "HT", "1T", "161", "36",
  1642. "ETSI", "5G", "20M", "HT", "1T", "161", "32",
  1643. "MKK", "5G", "20M", "HT", "1T", "161", "63",
  1644. "FCC", "5G", "20M", "HT", "1T", "165", "36",
  1645. "ETSI", "5G", "20M", "HT", "1T", "165", "32",
  1646. "MKK", "5G", "20M", "HT", "1T", "165", "63",
  1647. "FCC", "5G", "20M", "HT", "2T", "36", "28",
  1648. "ETSI", "5G", "20M", "HT", "2T", "36", "30",
  1649. "MKK", "5G", "20M", "HT", "2T", "36", "30",
  1650. "FCC", "5G", "20M", "HT", "2T", "40", "28",
  1651. "ETSI", "5G", "20M", "HT", "2T", "40", "30",
  1652. "MKK", "5G", "20M", "HT", "2T", "40", "30",
  1653. "FCC", "5G", "20M", "HT", "2T", "44", "28",
  1654. "ETSI", "5G", "20M", "HT", "2T", "44", "30",
  1655. "MKK", "5G", "20M", "HT", "2T", "44", "30",
  1656. "FCC", "5G", "20M", "HT", "2T", "48", "28",
  1657. "ETSI", "5G", "20M", "HT", "2T", "48", "30",
  1658. "MKK", "5G", "20M", "HT", "2T", "48", "30",
  1659. "FCC", "5G", "20M", "HT", "2T", "52", "34",
  1660. "ETSI", "5G", "20M", "HT", "2T", "52", "30",
  1661. "MKK", "5G", "20M", "HT", "2T", "52", "30",
  1662. "FCC", "5G", "20M", "HT", "2T", "56", "32",
  1663. "ETSI", "5G", "20M", "HT", "2T", "56", "30",
  1664. "MKK", "5G", "20M", "HT", "2T", "56", "30",
  1665. "FCC", "5G", "20M", "HT", "2T", "60", "30",
  1666. "ETSI", "5G", "20M", "HT", "2T", "60", "30",
  1667. "MKK", "5G", "20M", "HT", "2T", "60", "30",
  1668. "FCC", "5G", "20M", "HT", "2T", "64", "26",
  1669. "ETSI", "5G", "20M", "HT", "2T", "64", "30",
  1670. "MKK", "5G", "20M", "HT", "2T", "64", "30",
  1671. "FCC", "5G", "20M", "HT", "2T", "100", "28",
  1672. "ETSI", "5G", "20M", "HT", "2T", "100", "30",
  1673. "MKK", "5G", "20M", "HT", "2T", "100", "30",
  1674. "FCC", "5G", "20M", "HT", "2T", "114", "28",
  1675. "ETSI", "5G", "20M", "HT", "2T", "114", "30",
  1676. "MKK", "5G", "20M", "HT", "2T", "114", "30",
  1677. "FCC", "5G", "20M", "HT", "2T", "108", "30",
  1678. "ETSI", "5G", "20M", "HT", "2T", "108", "30",
  1679. "MKK", "5G", "20M", "HT", "2T", "108", "30",
  1680. "FCC", "5G", "20M", "HT", "2T", "112", "32",
  1681. "ETSI", "5G", "20M", "HT", "2T", "112", "30",
  1682. "MKK", "5G", "20M", "HT", "2T", "112", "30",
  1683. "FCC", "5G", "20M", "HT", "2T", "116", "32",
  1684. "ETSI", "5G", "20M", "HT", "2T", "116", "30",
  1685. "MKK", "5G", "20M", "HT", "2T", "116", "30",
  1686. "FCC", "5G", "20M", "HT", "2T", "120", "34",
  1687. "ETSI", "5G", "20M", "HT", "2T", "120", "30",
  1688. "MKK", "5G", "20M", "HT", "2T", "120", "30",
  1689. "FCC", "5G", "20M", "HT", "2T", "124", "32",
  1690. "ETSI", "5G", "20M", "HT", "2T", "124", "30",
  1691. "MKK", "5G", "20M", "HT", "2T", "124", "30",
  1692. "FCC", "5G", "20M", "HT", "2T", "128", "30",
  1693. "ETSI", "5G", "20M", "HT", "2T", "128", "30",
  1694. "MKK", "5G", "20M", "HT", "2T", "128", "30",
  1695. "FCC", "5G", "20M", "HT", "2T", "132", "28",
  1696. "ETSI", "5G", "20M", "HT", "2T", "132", "30",
  1697. "MKK", "5G", "20M", "HT", "2T", "132", "30",
  1698. "FCC", "5G", "20M", "HT", "2T", "136", "28",
  1699. "ETSI", "5G", "20M", "HT", "2T", "136", "30",
  1700. "MKK", "5G", "20M", "HT", "2T", "136", "30",
  1701. "FCC", "5G", "20M", "HT", "2T", "140", "26",
  1702. "ETSI", "5G", "20M", "HT", "2T", "140", "30",
  1703. "MKK", "5G", "20M", "HT", "2T", "140", "30",
  1704. "FCC", "5G", "20M", "HT", "2T", "149", "34",
  1705. "ETSI", "5G", "20M", "HT", "2T", "149", "30",
  1706. "MKK", "5G", "20M", "HT", "2T", "149", "63",
  1707. "FCC", "5G", "20M", "HT", "2T", "153", "34",
  1708. "ETSI", "5G", "20M", "HT", "2T", "153", "30",
  1709. "MKK", "5G", "20M", "HT", "2T", "153", "63",
  1710. "FCC", "5G", "20M", "HT", "2T", "157", "34",
  1711. "ETSI", "5G", "20M", "HT", "2T", "157", "30",
  1712. "MKK", "5G", "20M", "HT", "2T", "157", "63",
  1713. "FCC", "5G", "20M", "HT", "2T", "161", "34",
  1714. "ETSI", "5G", "20M", "HT", "2T", "161", "30",
  1715. "MKK", "5G", "20M", "HT", "2T", "161", "63",
  1716. "FCC", "5G", "20M", "HT", "2T", "165", "34",
  1717. "ETSI", "5G", "20M", "HT", "2T", "165", "30",
  1718. "MKK", "5G", "20M", "HT", "2T", "165", "63",
  1719. "FCC", "5G", "40M", "HT", "1T", "38", "30",
  1720. "ETSI", "5G", "40M", "HT", "1T", "38", "32",
  1721. "MKK", "5G", "40M", "HT", "1T", "38", "32",
  1722. "FCC", "5G", "40M", "HT", "1T", "46", "30",
  1723. "ETSI", "5G", "40M", "HT", "1T", "46", "32",
  1724. "MKK", "5G", "40M", "HT", "1T", "46", "32",
  1725. "FCC", "5G", "40M", "HT", "1T", "54", "32",
  1726. "ETSI", "5G", "40M", "HT", "1T", "54", "32",
  1727. "MKK", "5G", "40M", "HT", "1T", "54", "32",
  1728. "FCC", "5G", "40M", "HT", "1T", "62", "32",
  1729. "ETSI", "5G", "40M", "HT", "1T", "62", "32",
  1730. "MKK", "5G", "40M", "HT", "1T", "62", "32",
  1731. "FCC", "5G", "40M", "HT", "1T", "102", "28",
  1732. "ETSI", "5G", "40M", "HT", "1T", "102", "32",
  1733. "MKK", "5G", "40M", "HT", "1T", "102", "32",
  1734. "FCC", "5G", "40M", "HT", "1T", "110", "32",
  1735. "ETSI", "5G", "40M", "HT", "1T", "110", "32",
  1736. "MKK", "5G", "40M", "HT", "1T", "110", "32",
  1737. "FCC", "5G", "40M", "HT", "1T", "118", "36",
  1738. "ETSI", "5G", "40M", "HT", "1T", "118", "32",
  1739. "MKK", "5G", "40M", "HT", "1T", "118", "32",
  1740. "FCC", "5G", "40M", "HT", "1T", "126", "34",
  1741. "ETSI", "5G", "40M", "HT", "1T", "126", "32",
  1742. "MKK", "5G", "40M", "HT", "1T", "126", "32",
  1743. "FCC", "5G", "40M", "HT", "1T", "134", "32",
  1744. "ETSI", "5G", "40M", "HT", "1T", "134", "32",
  1745. "MKK", "5G", "40M", "HT", "1T", "134", "32",
  1746. "FCC", "5G", "40M", "HT", "1T", "151", "36",
  1747. "ETSI", "5G", "40M", "HT", "1T", "151", "32",
  1748. "MKK", "5G", "40M", "HT", "1T", "151", "63",
  1749. "FCC", "5G", "40M", "HT", "1T", "159", "36",
  1750. "ETSI", "5G", "40M", "HT", "1T", "159", "32",
  1751. "MKK", "5G", "40M", "HT", "1T", "159", "63",
  1752. "FCC", "5G", "40M", "HT", "2T", "38", "28",
  1753. "ETSI", "5G", "40M", "HT", "2T", "38", "30",
  1754. "MKK", "5G", "40M", "HT", "2T", "38", "30",
  1755. "FCC", "5G", "40M", "HT", "2T", "46", "28",
  1756. "ETSI", "5G", "40M", "HT", "2T", "46", "30",
  1757. "MKK", "5G", "40M", "HT", "2T", "46", "30",
  1758. "FCC", "5G", "40M", "HT", "2T", "54", "30",
  1759. "ETSI", "5G", "40M", "HT", "2T", "54", "30",
  1760. "MKK", "5G", "40M", "HT", "2T", "54", "30",
  1761. "FCC", "5G", "40M", "HT", "2T", "62", "30",
  1762. "ETSI", "5G", "40M", "HT", "2T", "62", "30",
  1763. "MKK", "5G", "40M", "HT", "2T", "62", "30",
  1764. "FCC", "5G", "40M", "HT", "2T", "102", "26",
  1765. "ETSI", "5G", "40M", "HT", "2T", "102", "30",
  1766. "MKK", "5G", "40M", "HT", "2T", "102", "30",
  1767. "FCC", "5G", "40M", "HT", "2T", "110", "30",
  1768. "ETSI", "5G", "40M", "HT", "2T", "110", "30",
  1769. "MKK", "5G", "40M", "HT", "2T", "110", "30",
  1770. "FCC", "5G", "40M", "HT", "2T", "118", "34",
  1771. "ETSI", "5G", "40M", "HT", "2T", "118", "30",
  1772. "MKK", "5G", "40M", "HT", "2T", "118", "30",
  1773. "FCC", "5G", "40M", "HT", "2T", "126", "32",
  1774. "ETSI", "5G", "40M", "HT", "2T", "126", "30",
  1775. "MKK", "5G", "40M", "HT", "2T", "126", "30",
  1776. "FCC", "5G", "40M", "HT", "2T", "134", "30",
  1777. "ETSI", "5G", "40M", "HT", "2T", "134", "30",
  1778. "MKK", "5G", "40M", "HT", "2T", "134", "30",
  1779. "FCC", "5G", "40M", "HT", "2T", "151", "34",
  1780. "ETSI", "5G", "40M", "HT", "2T", "151", "30",
  1781. "MKK", "5G", "40M", "HT", "2T", "151", "63",
  1782. "FCC", "5G", "40M", "HT", "2T", "159", "34",
  1783. "ETSI", "5G", "40M", "HT", "2T", "159", "30",
  1784. "MKK", "5G", "40M", "HT", "2T", "159", "63",
  1785. "FCC", "5G", "80M", "VHT", "1T", "42", "30",
  1786. "ETSI", "5G", "80M", "VHT", "1T", "42", "32",
  1787. "MKK", "5G", "80M", "VHT", "1T", "42", "32",
  1788. "FCC", "5G", "80M", "VHT", "1T", "58", "28",
  1789. "ETSI", "5G", "80M", "VHT", "1T", "58", "32",
  1790. "MKK", "5G", "80M", "VHT", "1T", "58", "32",
  1791. "FCC", "5G", "80M", "VHT", "1T", "106", "30",
  1792. "ETSI", "5G", "80M", "VHT", "1T", "106", "32",
  1793. "MKK", "5G", "80M", "VHT", "1T", "106", "32",
  1794. "FCC", "5G", "80M", "VHT", "1T", "122", "34",
  1795. "ETSI", "5G", "80M", "VHT", "1T", "122", "32",
  1796. "MKK", "5G", "80M", "VHT", "1T", "122", "32",
  1797. "FCC", "5G", "80M", "VHT", "1T", "155", "36",
  1798. "ETSI", "5G", "80M", "VHT", "1T", "155", "32",
  1799. "MKK", "5G", "80M", "VHT", "1T", "155", "63",
  1800. "FCC", "5G", "80M", "VHT", "2T", "42", "28",
  1801. "ETSI", "5G", "80M", "VHT", "2T", "42", "30",
  1802. "MKK", "5G", "80M", "VHT", "2T", "42", "30",
  1803. "FCC", "5G", "80M", "VHT", "2T", "58", "26",
  1804. "ETSI", "5G", "80M", "VHT", "2T", "58", "30",
  1805. "MKK", "5G", "80M", "VHT", "2T", "58", "30",
  1806. "FCC", "5G", "80M", "VHT", "2T", "106", "28",
  1807. "ETSI", "5G", "80M", "VHT", "2T", "106", "30",
  1808. "MKK", "5G", "80M", "VHT", "2T", "106", "30",
  1809. "FCC", "5G", "80M", "VHT", "2T", "122", "32",
  1810. "ETSI", "5G", "80M", "VHT", "2T", "122", "30",
  1811. "MKK", "5G", "80M", "VHT", "2T", "122", "30",
  1812. "FCC", "5G", "80M", "VHT", "2T", "155", "34",
  1813. "ETSI", "5G", "80M", "VHT", "2T", "155", "30",
  1814. "MKK", "5G", "80M", "VHT", "2T", "155", "63"
  1815. };
  1816. void
  1817. ODM_ReadAndConfig_TC_8812A_TXPWR_LMT(
  1818. IN PDM_ODM_T pDM_Odm
  1819. )
  1820. {
  1821. u4Byte i = 0;
  1822. u4Byte ArrayLen = sizeof(Array_TC_8812A_TXPWR_LMT)/sizeof(pu1Byte);
  1823. pu1Byte *Array = Array_TC_8812A_TXPWR_LMT;
  1824. ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_TRACE, ("===> ODM_ReadAndConfig_TC_8812A_TXPWR_LMT\n"));
  1825. for (i = 0; i < ArrayLen; i += 7 )
  1826. {
  1827. pu1Byte regulation = Array[i];
  1828. pu1Byte band = Array[i+1];
  1829. pu1Byte bandwidth = Array[i+2];
  1830. pu1Byte rate = Array[i+3];
  1831. pu1Byte rfPath = Array[i+4];
  1832. pu1Byte chnl = Array[i+5];
  1833. pu1Byte val = Array[i+6];
  1834. odm_ConfigBB_TXPWR_LMT_8812A(pDM_Odm, regulation, band, bandwidth, rate, rfPath, chnl, val);
  1835. }
  1836. }
  1837. #endif // end of HWIMG_SUPPORT