ar9002_initvals.h 143 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180
  1. /*
  2. * Copyright (c) 2010-2011 Atheros Communications Inc.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  11. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  13. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  14. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. static const u32 ar9280Modes_9280_2[][5] = {
  17. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  18. {0x00001030, 0x00000230, 0x00000460, 0x000002c0, 0x00000160},
  19. {0x00001070, 0x00000168, 0x000002d0, 0x00000318, 0x0000018c},
  20. {0x000010b0, 0x00000e60, 0x00001cc0, 0x00007c70, 0x00003e38},
  21. {0x000010f0, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  22. {0x00008014, 0x03e803e8, 0x07d007d0, 0x10801600, 0x08400b00},
  23. {0x0000801c, 0x128d8027, 0x128d804f, 0x12e00057, 0x12e0002b},
  24. {0x00008120, 0x08f04800, 0x08f04800, 0x08f04810, 0x08f04810},
  25. {0x000081d0, 0x00003210, 0x00003210, 0x0000320a, 0x0000320a},
  26. {0x00008318, 0x00003e80, 0x00007d00, 0x00006880, 0x00003440},
  27. {0x00009804, 0x00000300, 0x000003c4, 0x000003c4, 0x00000300},
  28. {0x00009820, 0x02020200, 0x02020200, 0x02020200, 0x02020200},
  29. {0x00009824, 0x01000e0e, 0x01000e0e, 0x01000e0e, 0x01000e0e},
  30. {0x00009828, 0x0a020001, 0x0a020001, 0x0a020001, 0x0a020001},
  31. {0x00009834, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e},
  32. {0x00009838, 0x00000007, 0x00000007, 0x00000007, 0x00000007},
  33. {0x00009840, 0x206a022e, 0x206a022e, 0x206a012e, 0x206a012e},
  34. {0x00009844, 0x0372161e, 0x0372161e, 0x037216a0, 0x037216a0},
  35. {0x00009850, 0x6c4000e2, 0x6d4000e2, 0x6d4000e2, 0x6c4000e2},
  36. {0x00009858, 0x7ec88d2e, 0x7ec88d2e, 0x7ec84d2e, 0x7ec84d2e},
  37. {0x0000985c, 0x31395d5e, 0x3139605e, 0x3139605e, 0x31395d5e},
  38. {0x00009860, 0x00048d18, 0x00048d18, 0x00048d20, 0x00048d20},
  39. {0x00009864, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00},
  40. {0x00009868, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0},
  41. {0x0000986c, 0x06903081, 0x06903081, 0x06903881, 0x06903881},
  42. {0x00009914, 0x000007d0, 0x00000fa0, 0x00001130, 0x00000898},
  43. {0x00009918, 0x0000000a, 0x00000014, 0x00000268, 0x0000000b},
  44. {0x00009924, 0xd00a8a0b, 0xd00a8a0b, 0xd00a8a0d, 0xd00a8a0d},
  45. {0x00009944, 0xffbc1010, 0xffbc1010, 0xffbc1010, 0xffbc1010},
  46. {0x00009960, 0x00000010, 0x00000010, 0x00000010, 0x00000010},
  47. {0x0000a960, 0x00000010, 0x00000010, 0x00000010, 0x00000010},
  48. {0x00009964, 0x00000210, 0x00000210, 0x00000210, 0x00000210},
  49. {0x0000c968, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce},
  50. {0x000099b8, 0x0000001c, 0x0000001c, 0x0000001c, 0x0000001c},
  51. {0x000099bc, 0x00000a00, 0x00000a00, 0x00000c00, 0x00000c00},
  52. {0x000099c0, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4},
  53. {0x0000a204, 0x00000444, 0x00000444, 0x00000444, 0x00000444},
  54. {0x0000a20c, 0x00000014, 0x00000014, 0x0001f019, 0x0001f019},
  55. {0x0000b20c, 0x00000014, 0x00000014, 0x0001f019, 0x0001f019},
  56. {0x0000a21c, 0x1883800a, 0x1883800a, 0x1883800a, 0x1883800a},
  57. {0x0000a230, 0x00000000, 0x00000000, 0x00000210, 0x00000108},
  58. {0x0000a23c, 0x13c88000, 0x13c88000, 0x13c88001, 0x13c88000},
  59. {0x0000a250, 0x001ff000, 0x001ff000, 0x0004a000, 0x0004a000},
  60. {0x0000a358, 0x7999aa02, 0x7999aa02, 0x7999aa0e, 0x7999aa0e},
  61. {0x0000a388, 0x0c000000, 0x0c000000, 0x08000000, 0x0c000000},
  62. {0x0000a3d8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  63. {0x00007894, 0x5a508000, 0x5a508000, 0x5a508000, 0x5a508000},
  64. };
  65. static const u32 ar9280Common_9280_2[][2] = {
  66. /* Addr allmodes */
  67. {0x0000000c, 0x00000000},
  68. {0x00000030, 0x00020015},
  69. {0x00000034, 0x00000005},
  70. {0x00000040, 0x00000000},
  71. {0x00000044, 0x00000008},
  72. {0x00000048, 0x00000008},
  73. {0x0000004c, 0x00000010},
  74. {0x00000050, 0x00000000},
  75. {0x00000054, 0x0000001f},
  76. {0x00000800, 0x00000000},
  77. {0x00000804, 0x00000000},
  78. {0x00000808, 0x00000000},
  79. {0x0000080c, 0x00000000},
  80. {0x00000810, 0x00000000},
  81. {0x00000814, 0x00000000},
  82. {0x00000818, 0x00000000},
  83. {0x0000081c, 0x00000000},
  84. {0x00000820, 0x00000000},
  85. {0x00000824, 0x00000000},
  86. {0x00001040, 0x002ffc0f},
  87. {0x00001044, 0x002ffc0f},
  88. {0x00001048, 0x002ffc0f},
  89. {0x0000104c, 0x002ffc0f},
  90. {0x00001050, 0x002ffc0f},
  91. {0x00001054, 0x002ffc0f},
  92. {0x00001058, 0x002ffc0f},
  93. {0x0000105c, 0x002ffc0f},
  94. {0x00001060, 0x002ffc0f},
  95. {0x00001064, 0x002ffc0f},
  96. {0x00001230, 0x00000000},
  97. {0x00001270, 0x00000000},
  98. {0x00001038, 0x00000000},
  99. {0x00001078, 0x00000000},
  100. {0x000010b8, 0x00000000},
  101. {0x000010f8, 0x00000000},
  102. {0x00001138, 0x00000000},
  103. {0x00001178, 0x00000000},
  104. {0x000011b8, 0x00000000},
  105. {0x000011f8, 0x00000000},
  106. {0x00001238, 0x00000000},
  107. {0x00001278, 0x00000000},
  108. {0x000012b8, 0x00000000},
  109. {0x000012f8, 0x00000000},
  110. {0x00001338, 0x00000000},
  111. {0x00001378, 0x00000000},
  112. {0x000013b8, 0x00000000},
  113. {0x000013f8, 0x00000000},
  114. {0x00001438, 0x00000000},
  115. {0x00001478, 0x00000000},
  116. {0x000014b8, 0x00000000},
  117. {0x000014f8, 0x00000000},
  118. {0x00001538, 0x00000000},
  119. {0x00001578, 0x00000000},
  120. {0x000015b8, 0x00000000},
  121. {0x000015f8, 0x00000000},
  122. {0x00001638, 0x00000000},
  123. {0x00001678, 0x00000000},
  124. {0x000016b8, 0x00000000},
  125. {0x000016f8, 0x00000000},
  126. {0x00001738, 0x00000000},
  127. {0x00001778, 0x00000000},
  128. {0x000017b8, 0x00000000},
  129. {0x000017f8, 0x00000000},
  130. {0x0000103c, 0x00000000},
  131. {0x0000107c, 0x00000000},
  132. {0x000010bc, 0x00000000},
  133. {0x000010fc, 0x00000000},
  134. {0x0000113c, 0x00000000},
  135. {0x0000117c, 0x00000000},
  136. {0x000011bc, 0x00000000},
  137. {0x000011fc, 0x00000000},
  138. {0x0000123c, 0x00000000},
  139. {0x0000127c, 0x00000000},
  140. {0x000012bc, 0x00000000},
  141. {0x000012fc, 0x00000000},
  142. {0x0000133c, 0x00000000},
  143. {0x0000137c, 0x00000000},
  144. {0x000013bc, 0x00000000},
  145. {0x000013fc, 0x00000000},
  146. {0x0000143c, 0x00000000},
  147. {0x0000147c, 0x00000000},
  148. {0x00004030, 0x00000002},
  149. {0x0000403c, 0x00000002},
  150. {0x00004024, 0x0000001f},
  151. {0x00004060, 0x00000000},
  152. {0x00004064, 0x00000000},
  153. {0x00007010, 0x00000033},
  154. {0x00007034, 0x00000002},
  155. {0x00007038, 0x000004c2},
  156. {0x00008004, 0x00000000},
  157. {0x00008008, 0x00000000},
  158. {0x0000800c, 0x00000000},
  159. {0x00008018, 0x00000700},
  160. {0x00008020, 0x00000000},
  161. {0x00008038, 0x00000000},
  162. {0x0000803c, 0x00000000},
  163. {0x00008048, 0x40000000},
  164. {0x00008054, 0x00000000},
  165. {0x00008058, 0x00000000},
  166. {0x0000805c, 0x000fc78f},
  167. {0x00008060, 0x0000000f},
  168. {0x00008064, 0x00000000},
  169. {0x00008070, 0x00000000},
  170. {0x000080c0, 0x2a80001a},
  171. {0x000080c4, 0x05dc01e0},
  172. {0x000080c8, 0x1f402710},
  173. {0x000080cc, 0x01f40000},
  174. {0x000080d0, 0x00001e00},
  175. {0x000080d4, 0x00000000},
  176. {0x000080d8, 0x00400000},
  177. {0x000080e0, 0xffffffff},
  178. {0x000080e4, 0x0000ffff},
  179. {0x000080e8, 0x003f3f3f},
  180. {0x000080ec, 0x00000000},
  181. {0x000080f0, 0x00000000},
  182. {0x000080f4, 0x00000000},
  183. {0x000080f8, 0x00000000},
  184. {0x000080fc, 0x00020000},
  185. {0x00008100, 0x00020000},
  186. {0x00008104, 0x00000001},
  187. {0x00008108, 0x00000052},
  188. {0x0000810c, 0x00000000},
  189. {0x00008110, 0x00000168},
  190. {0x00008118, 0x000100aa},
  191. {0x0000811c, 0x00003210},
  192. {0x00008124, 0x00000000},
  193. {0x00008128, 0x00000000},
  194. {0x0000812c, 0x00000000},
  195. {0x00008130, 0x00000000},
  196. {0x00008134, 0x00000000},
  197. {0x00008138, 0x00000000},
  198. {0x0000813c, 0x00000000},
  199. {0x00008144, 0xffffffff},
  200. {0x00008168, 0x00000000},
  201. {0x0000816c, 0x00000000},
  202. {0x00008170, 0x32143320},
  203. {0x00008174, 0xfaa4fa50},
  204. {0x00008178, 0x00000100},
  205. {0x0000817c, 0x00000000},
  206. {0x000081c0, 0x00000000},
  207. {0x000081ec, 0x00000000},
  208. {0x000081f0, 0x00000000},
  209. {0x000081f4, 0x00000000},
  210. {0x000081f8, 0x00000000},
  211. {0x000081fc, 0x00000000},
  212. {0x00008200, 0x00000000},
  213. {0x00008204, 0x00000000},
  214. {0x00008208, 0x00000000},
  215. {0x0000820c, 0x00000000},
  216. {0x00008210, 0x00000000},
  217. {0x00008214, 0x00000000},
  218. {0x00008218, 0x00000000},
  219. {0x0000821c, 0x00000000},
  220. {0x00008220, 0x00000000},
  221. {0x00008224, 0x00000000},
  222. {0x00008228, 0x00000000},
  223. {0x0000822c, 0x00000000},
  224. {0x00008230, 0x00000000},
  225. {0x00008234, 0x00000000},
  226. {0x00008238, 0x00000000},
  227. {0x0000823c, 0x00000000},
  228. {0x00008240, 0x00100000},
  229. {0x00008244, 0x0010f400},
  230. {0x00008248, 0x00000100},
  231. {0x0000824c, 0x0001e800},
  232. {0x00008250, 0x00000000},
  233. {0x00008254, 0x00000000},
  234. {0x00008258, 0x00000000},
  235. {0x0000825c, 0x400000ff},
  236. {0x00008260, 0x00080922},
  237. {0x00008264, 0x88a00010},
  238. {0x00008270, 0x00000000},
  239. {0x00008274, 0x40000000},
  240. {0x00008278, 0x003e4180},
  241. {0x0000827c, 0x00000000},
  242. {0x00008284, 0x0000002c},
  243. {0x00008288, 0x0000002c},
  244. {0x0000828c, 0x00000000},
  245. {0x00008294, 0x00000000},
  246. {0x00008298, 0x00000000},
  247. {0x0000829c, 0x00000000},
  248. {0x00008300, 0x00000040},
  249. {0x00008314, 0x00000000},
  250. {0x00008328, 0x00000000},
  251. {0x0000832c, 0x00000007},
  252. {0x00008330, 0x00000302},
  253. {0x00008334, 0x00000e00},
  254. {0x00008338, 0x00ff0000},
  255. {0x0000833c, 0x00000000},
  256. {0x00008340, 0x000107ff},
  257. {0x00008344, 0x00481043},
  258. {0x00009808, 0x00000000},
  259. {0x0000980c, 0xafa68e30},
  260. {0x00009810, 0xfd14e000},
  261. {0x00009814, 0x9c0a9f6b},
  262. {0x0000981c, 0x00000000},
  263. {0x0000982c, 0x0000a000},
  264. {0x00009830, 0x00000000},
  265. {0x0000983c, 0x00200400},
  266. {0x0000984c, 0x0040233c},
  267. {0x0000a84c, 0x0040233c},
  268. {0x00009854, 0x00000044},
  269. {0x00009900, 0x00000000},
  270. {0x00009904, 0x00000000},
  271. {0x00009908, 0x00000000},
  272. {0x0000990c, 0x00000000},
  273. {0x00009910, 0x01002310},
  274. {0x0000991c, 0x10000fff},
  275. {0x00009920, 0x04900000},
  276. {0x0000a920, 0x04900000},
  277. {0x00009928, 0x00000001},
  278. {0x0000992c, 0x00000004},
  279. {0x00009934, 0x1e1f2022},
  280. {0x00009938, 0x0a0b0c0d},
  281. {0x0000993c, 0x00000000},
  282. {0x00009948, 0x9280c00a},
  283. {0x0000994c, 0x00020028},
  284. {0x00009954, 0x5f3ca3de},
  285. {0x00009958, 0x2108ecff},
  286. {0x00009940, 0x14750604},
  287. {0x0000c95c, 0x004b6a8e},
  288. {0x00009970, 0x190fb514},
  289. {0x00009974, 0x00000000},
  290. {0x00009978, 0x00000001},
  291. {0x0000997c, 0x00000000},
  292. {0x00009980, 0x00000000},
  293. {0x00009984, 0x00000000},
  294. {0x00009988, 0x00000000},
  295. {0x0000998c, 0x00000000},
  296. {0x00009990, 0x00000000},
  297. {0x00009994, 0x00000000},
  298. {0x00009998, 0x00000000},
  299. {0x0000999c, 0x00000000},
  300. {0x000099a0, 0x00000000},
  301. {0x000099a4, 0x00000001},
  302. {0x000099a8, 0x201fff00},
  303. {0x000099ac, 0x006f0000},
  304. {0x000099b0, 0x03051000},
  305. {0x000099b4, 0x00000820},
  306. {0x000099c4, 0x06336f77},
  307. {0x000099c8, 0x6af6532f},
  308. {0x000099cc, 0x08f186c8},
  309. {0x000099d0, 0x00046384},
  310. {0x000099d4, 0x00000000},
  311. {0x000099d8, 0x00000000},
  312. {0x000099dc, 0x00000000},
  313. {0x000099e0, 0x00000000},
  314. {0x000099e4, 0xaaaaaaaa},
  315. {0x000099e8, 0x3c466478},
  316. {0x000099ec, 0x0cc80caa},
  317. {0x000099f0, 0x00000000},
  318. {0x000099fc, 0x00001042},
  319. {0x0000a208, 0x803e4788},
  320. {0x0000a210, 0x4080a333},
  321. {0x0000a214, 0x40206c10},
  322. {0x0000a218, 0x009c4060},
  323. {0x0000a220, 0x01834061},
  324. {0x0000a224, 0x00000400},
  325. {0x0000a228, 0x000003b5},
  326. {0x0000a22c, 0x233f7180},
  327. {0x0000a234, 0x20202020},
  328. {0x0000a238, 0x20202020},
  329. {0x0000a240, 0x38490a20},
  330. {0x0000a244, 0x00007bb6},
  331. {0x0000a248, 0x0fff3ffc},
  332. {0x0000a24c, 0x00000000},
  333. {0x0000a254, 0x00000000},
  334. {0x0000a258, 0x0cdbd380},
  335. {0x0000a25c, 0x0f0f0f01},
  336. {0x0000a260, 0xdfa91f01},
  337. {0x0000a268, 0x00000000},
  338. {0x0000a26c, 0x0e79e5c6},
  339. {0x0000b26c, 0x0e79e5c6},
  340. {0x0000d270, 0x00820820},
  341. {0x0000a278, 0x1ce739ce},
  342. {0x0000d35c, 0x07ffffef},
  343. {0x0000d360, 0x0fffffe7},
  344. {0x0000d364, 0x17ffffe5},
  345. {0x0000d368, 0x1fffffe4},
  346. {0x0000d36c, 0x37ffffe3},
  347. {0x0000d370, 0x3fffffe3},
  348. {0x0000d374, 0x57ffffe3},
  349. {0x0000d378, 0x5fffffe2},
  350. {0x0000d37c, 0x7fffffe2},
  351. {0x0000d380, 0x7f3c7bba},
  352. {0x0000d384, 0xf3307ff0},
  353. {0x0000a38c, 0x20202020},
  354. {0x0000a390, 0x20202020},
  355. {0x0000a394, 0x1ce739ce},
  356. {0x0000a398, 0x000001ce},
  357. {0x0000a39c, 0x00000001},
  358. {0x0000a3a0, 0x00000000},
  359. {0x0000a3a4, 0x00000000},
  360. {0x0000a3a8, 0x00000000},
  361. {0x0000a3ac, 0x00000000},
  362. {0x0000a3b0, 0x00000000},
  363. {0x0000a3b4, 0x00000000},
  364. {0x0000a3b8, 0x00000000},
  365. {0x0000a3bc, 0x00000000},
  366. {0x0000a3c0, 0x00000000},
  367. {0x0000a3c4, 0x00000000},
  368. {0x0000a3c8, 0x00000246},
  369. {0x0000a3cc, 0x20202020},
  370. {0x0000a3d0, 0x20202020},
  371. {0x0000a3d4, 0x20202020},
  372. {0x0000a3dc, 0x1ce739ce},
  373. {0x0000a3e0, 0x000001ce},
  374. {0x0000a3e4, 0x00000000},
  375. {0x0000a3e8, 0x18c43433},
  376. {0x00007800, 0x00040000},
  377. {0x00007804, 0xdb005012},
  378. {0x00007808, 0x04924914},
  379. {0x0000780c, 0x21084210},
  380. {0x00007810, 0x6d801300},
  381. {0x00007818, 0x07e41000},
  382. {0x00007824, 0x00040000},
  383. {0x00007828, 0xdb005012},
  384. {0x0000782c, 0x04924914},
  385. {0x00007830, 0x21084210},
  386. {0x00007834, 0x6d801300},
  387. {0x0000783c, 0x07e40000},
  388. {0x00007848, 0x00100000},
  389. {0x0000784c, 0x773f0567},
  390. {0x00007850, 0x54214514},
  391. {0x00007854, 0x12035828},
  392. {0x00007858, 0x9259269a},
  393. {0x00007860, 0x52802000},
  394. {0x00007864, 0x0a8e370e},
  395. {0x00007868, 0xc0102850},
  396. {0x0000786c, 0x812d4000},
  397. {0x00007870, 0x807ec400},
  398. {0x00007874, 0x001b6db0},
  399. {0x00007878, 0x00376b63},
  400. {0x0000787c, 0x06db6db6},
  401. {0x00007880, 0x006d8000},
  402. {0x00007884, 0xffeffffe},
  403. {0x00007888, 0xffeffffe},
  404. {0x0000788c, 0x00010000},
  405. {0x00007890, 0x02060aeb},
  406. {0x00007898, 0x2a850160},
  407. };
  408. static const u32 ar9280Modes_fast_clock_9280_2[][3] = {
  409. /* Addr 5G_HT20 5G_HT40 */
  410. {0x00001030, 0x00000268, 0x000004d0},
  411. {0x00001070, 0x0000018c, 0x00000318},
  412. {0x000010b0, 0x00000fd0, 0x00001fa0},
  413. {0x00008014, 0x044c044c, 0x08980898},
  414. {0x0000801c, 0x148ec02b, 0x148ec057},
  415. {0x00008318, 0x000044c0, 0x00008980},
  416. {0x00009820, 0x02020200, 0x02020200},
  417. {0x00009824, 0x01000f0f, 0x01000f0f},
  418. {0x00009828, 0x0b020001, 0x0b020001},
  419. {0x00009834, 0x00000f0f, 0x00000f0f},
  420. {0x00009844, 0x03721821, 0x03721821},
  421. {0x00009914, 0x00000898, 0x00001130},
  422. {0x00009918, 0x0000000b, 0x00000016},
  423. };
  424. static const u32 ar9280Modes_backoff_23db_rxgain_9280_2[][5] = {
  425. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  426. {0x00009a00, 0x00008184, 0x00008184, 0x00000290, 0x00000290},
  427. {0x00009a04, 0x00008188, 0x00008188, 0x00000300, 0x00000300},
  428. {0x00009a08, 0x0000818c, 0x0000818c, 0x00000304, 0x00000304},
  429. {0x00009a0c, 0x00008190, 0x00008190, 0x00000308, 0x00000308},
  430. {0x00009a10, 0x00008194, 0x00008194, 0x0000030c, 0x0000030c},
  431. {0x00009a14, 0x00008200, 0x00008200, 0x00008000, 0x00008000},
  432. {0x00009a18, 0x00008204, 0x00008204, 0x00008004, 0x00008004},
  433. {0x00009a1c, 0x00008208, 0x00008208, 0x00008008, 0x00008008},
  434. {0x00009a20, 0x0000820c, 0x0000820c, 0x0000800c, 0x0000800c},
  435. {0x00009a24, 0x00008210, 0x00008210, 0x00008080, 0x00008080},
  436. {0x00009a28, 0x00008214, 0x00008214, 0x00008084, 0x00008084},
  437. {0x00009a2c, 0x00008280, 0x00008280, 0x00008088, 0x00008088},
  438. {0x00009a30, 0x00008284, 0x00008284, 0x0000808c, 0x0000808c},
  439. {0x00009a34, 0x00008288, 0x00008288, 0x00008100, 0x00008100},
  440. {0x00009a38, 0x0000828c, 0x0000828c, 0x00008104, 0x00008104},
  441. {0x00009a3c, 0x00008290, 0x00008290, 0x00008108, 0x00008108},
  442. {0x00009a40, 0x00008300, 0x00008300, 0x0000810c, 0x0000810c},
  443. {0x00009a44, 0x00008304, 0x00008304, 0x00008110, 0x00008110},
  444. {0x00009a48, 0x00008308, 0x00008308, 0x00008114, 0x00008114},
  445. {0x00009a4c, 0x0000830c, 0x0000830c, 0x00008180, 0x00008180},
  446. {0x00009a50, 0x00008310, 0x00008310, 0x00008184, 0x00008184},
  447. {0x00009a54, 0x00008314, 0x00008314, 0x00008188, 0x00008188},
  448. {0x00009a58, 0x00008380, 0x00008380, 0x0000818c, 0x0000818c},
  449. {0x00009a5c, 0x00008384, 0x00008384, 0x00008190, 0x00008190},
  450. {0x00009a60, 0x00008388, 0x00008388, 0x00008194, 0x00008194},
  451. {0x00009a64, 0x0000838c, 0x0000838c, 0x000081a0, 0x000081a0},
  452. {0x00009a68, 0x00008390, 0x00008390, 0x0000820c, 0x0000820c},
  453. {0x00009a6c, 0x00008394, 0x00008394, 0x000081a8, 0x000081a8},
  454. {0x00009a70, 0x0000a380, 0x0000a380, 0x00008284, 0x00008284},
  455. {0x00009a74, 0x0000a384, 0x0000a384, 0x00008288, 0x00008288},
  456. {0x00009a78, 0x0000a388, 0x0000a388, 0x00008224, 0x00008224},
  457. {0x00009a7c, 0x0000a38c, 0x0000a38c, 0x00008290, 0x00008290},
  458. {0x00009a80, 0x0000a390, 0x0000a390, 0x00008300, 0x00008300},
  459. {0x00009a84, 0x0000a394, 0x0000a394, 0x00008304, 0x00008304},
  460. {0x00009a88, 0x0000a780, 0x0000a780, 0x00008308, 0x00008308},
  461. {0x00009a8c, 0x0000a784, 0x0000a784, 0x0000830c, 0x0000830c},
  462. {0x00009a90, 0x0000a788, 0x0000a788, 0x00008380, 0x00008380},
  463. {0x00009a94, 0x0000a78c, 0x0000a78c, 0x00008384, 0x00008384},
  464. {0x00009a98, 0x0000a790, 0x0000a790, 0x00008700, 0x00008700},
  465. {0x00009a9c, 0x0000a794, 0x0000a794, 0x00008704, 0x00008704},
  466. {0x00009aa0, 0x0000ab84, 0x0000ab84, 0x00008708, 0x00008708},
  467. {0x00009aa4, 0x0000ab88, 0x0000ab88, 0x0000870c, 0x0000870c},
  468. {0x00009aa8, 0x0000ab8c, 0x0000ab8c, 0x00008780, 0x00008780},
  469. {0x00009aac, 0x0000ab90, 0x0000ab90, 0x00008784, 0x00008784},
  470. {0x00009ab0, 0x0000ab94, 0x0000ab94, 0x00008b00, 0x00008b00},
  471. {0x00009ab4, 0x0000af80, 0x0000af80, 0x00008b04, 0x00008b04},
  472. {0x00009ab8, 0x0000af84, 0x0000af84, 0x00008b08, 0x00008b08},
  473. {0x00009abc, 0x0000af88, 0x0000af88, 0x00008b0c, 0x00008b0c},
  474. {0x00009ac0, 0x0000af8c, 0x0000af8c, 0x00008b10, 0x00008b10},
  475. {0x00009ac4, 0x0000af90, 0x0000af90, 0x00008b80, 0x00008b80},
  476. {0x00009ac8, 0x0000af94, 0x0000af94, 0x00008b84, 0x00008b84},
  477. {0x00009acc, 0x0000b380, 0x0000b380, 0x00008b88, 0x00008b88},
  478. {0x00009ad0, 0x0000b384, 0x0000b384, 0x00008b8c, 0x00008b8c},
  479. {0x00009ad4, 0x0000b388, 0x0000b388, 0x00008b90, 0x00008b90},
  480. {0x00009ad8, 0x0000b38c, 0x0000b38c, 0x00008b94, 0x00008b94},
  481. {0x00009adc, 0x0000b390, 0x0000b390, 0x00008b98, 0x00008b98},
  482. {0x00009ae0, 0x0000b394, 0x0000b394, 0x00008ba4, 0x00008ba4},
  483. {0x00009ae4, 0x0000b398, 0x0000b398, 0x00008ba8, 0x00008ba8},
  484. {0x00009ae8, 0x0000b780, 0x0000b780, 0x00008bac, 0x00008bac},
  485. {0x00009aec, 0x0000b784, 0x0000b784, 0x00008bb0, 0x00008bb0},
  486. {0x00009af0, 0x0000b788, 0x0000b788, 0x00008bb4, 0x00008bb4},
  487. {0x00009af4, 0x0000b78c, 0x0000b78c, 0x00008ba1, 0x00008ba1},
  488. {0x00009af8, 0x0000b790, 0x0000b790, 0x00008ba5, 0x00008ba5},
  489. {0x00009afc, 0x0000b794, 0x0000b794, 0x00008ba9, 0x00008ba9},
  490. {0x00009b00, 0x0000b798, 0x0000b798, 0x00008bad, 0x00008bad},
  491. {0x00009b04, 0x0000d784, 0x0000d784, 0x00008bb1, 0x00008bb1},
  492. {0x00009b08, 0x0000d788, 0x0000d788, 0x00008bb5, 0x00008bb5},
  493. {0x00009b0c, 0x0000d78c, 0x0000d78c, 0x00008ba2, 0x00008ba2},
  494. {0x00009b10, 0x0000d790, 0x0000d790, 0x00008ba6, 0x00008ba6},
  495. {0x00009b14, 0x0000f780, 0x0000f780, 0x00008baa, 0x00008baa},
  496. {0x00009b18, 0x0000f784, 0x0000f784, 0x00008bae, 0x00008bae},
  497. {0x00009b1c, 0x0000f788, 0x0000f788, 0x00008bb2, 0x00008bb2},
  498. {0x00009b20, 0x0000f78c, 0x0000f78c, 0x00008bb6, 0x00008bb6},
  499. {0x00009b24, 0x0000f790, 0x0000f790, 0x00008ba3, 0x00008ba3},
  500. {0x00009b28, 0x0000f794, 0x0000f794, 0x00008ba7, 0x00008ba7},
  501. {0x00009b2c, 0x0000f7a4, 0x0000f7a4, 0x00008bab, 0x00008bab},
  502. {0x00009b30, 0x0000f7a8, 0x0000f7a8, 0x00008baf, 0x00008baf},
  503. {0x00009b34, 0x0000f7ac, 0x0000f7ac, 0x00008bb3, 0x00008bb3},
  504. {0x00009b38, 0x0000f7b0, 0x0000f7b0, 0x00008bb7, 0x00008bb7},
  505. {0x00009b3c, 0x0000f7b4, 0x0000f7b4, 0x00008bc3, 0x00008bc3},
  506. {0x00009b40, 0x0000f7a1, 0x0000f7a1, 0x00008bc7, 0x00008bc7},
  507. {0x00009b44, 0x0000f7a5, 0x0000f7a5, 0x00008bcb, 0x00008bcb},
  508. {0x00009b48, 0x0000f7a9, 0x0000f7a9, 0x00008bcf, 0x00008bcf},
  509. {0x00009b4c, 0x0000f7ad, 0x0000f7ad, 0x00008bd3, 0x00008bd3},
  510. {0x00009b50, 0x0000f7b1, 0x0000f7b1, 0x00008bd7, 0x00008bd7},
  511. {0x00009b54, 0x0000f7b5, 0x0000f7b5, 0x00008bdb, 0x00008bdb},
  512. {0x00009b58, 0x0000f7c5, 0x0000f7c5, 0x00008bdb, 0x00008bdb},
  513. {0x00009b5c, 0x0000f7c9, 0x0000f7c9, 0x00008bdb, 0x00008bdb},
  514. {0x00009b60, 0x0000f7cd, 0x0000f7cd, 0x00008bdb, 0x00008bdb},
  515. {0x00009b64, 0x0000f7d1, 0x0000f7d1, 0x00008bdb, 0x00008bdb},
  516. {0x00009b68, 0x0000f7d5, 0x0000f7d5, 0x00008bdb, 0x00008bdb},
  517. {0x00009b6c, 0x0000f7c2, 0x0000f7c2, 0x00008bdb, 0x00008bdb},
  518. {0x00009b70, 0x0000f7c6, 0x0000f7c6, 0x00008bdb, 0x00008bdb},
  519. {0x00009b74, 0x0000f7ca, 0x0000f7ca, 0x00008bdb, 0x00008bdb},
  520. {0x00009b78, 0x0000f7ce, 0x0000f7ce, 0x00008bdb, 0x00008bdb},
  521. {0x00009b7c, 0x0000f7d2, 0x0000f7d2, 0x00008bdb, 0x00008bdb},
  522. {0x00009b80, 0x0000f7d6, 0x0000f7d6, 0x00008bdb, 0x00008bdb},
  523. {0x00009b84, 0x0000f7c3, 0x0000f7c3, 0x00008bdb, 0x00008bdb},
  524. {0x00009b88, 0x0000f7c7, 0x0000f7c7, 0x00008bdb, 0x00008bdb},
  525. {0x00009b8c, 0x0000f7cb, 0x0000f7cb, 0x00008bdb, 0x00008bdb},
  526. {0x00009b90, 0x0000f7d3, 0x0000f7d3, 0x00008bdb, 0x00008bdb},
  527. {0x00009b94, 0x0000f7d7, 0x0000f7d7, 0x00008bdb, 0x00008bdb},
  528. {0x00009b98, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  529. {0x00009b9c, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  530. {0x00009ba0, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  531. {0x00009ba4, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  532. {0x00009ba8, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  533. {0x00009bac, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  534. {0x00009bb0, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  535. {0x00009bb4, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  536. {0x00009bb8, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  537. {0x00009bbc, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  538. {0x00009bc0, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  539. {0x00009bc4, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  540. {0x00009bc8, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  541. {0x00009bcc, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  542. {0x00009bd0, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  543. {0x00009bd4, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  544. {0x00009bd8, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  545. {0x00009bdc, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  546. {0x00009be0, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  547. {0x00009be4, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  548. {0x00009be8, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  549. {0x00009bec, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  550. {0x00009bf0, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  551. {0x00009bf4, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  552. {0x00009bf8, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  553. {0x00009bfc, 0x0000f7db, 0x0000f7db, 0x00008bdb, 0x00008bdb},
  554. {0x00009848, 0x00001066, 0x00001066, 0x00001055, 0x00001055},
  555. {0x0000a848, 0x00001066, 0x00001066, 0x00001055, 0x00001055},
  556. };
  557. static const u32 ar9280Modes_original_rxgain_9280_2[][5] = {
  558. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  559. {0x00009a00, 0x00008184, 0x00008184, 0x00008000, 0x00008000},
  560. {0x00009a04, 0x00008188, 0x00008188, 0x00008000, 0x00008000},
  561. {0x00009a08, 0x0000818c, 0x0000818c, 0x00008000, 0x00008000},
  562. {0x00009a0c, 0x00008190, 0x00008190, 0x00008000, 0x00008000},
  563. {0x00009a10, 0x00008194, 0x00008194, 0x00008000, 0x00008000},
  564. {0x00009a14, 0x00008200, 0x00008200, 0x00008000, 0x00008000},
  565. {0x00009a18, 0x00008204, 0x00008204, 0x00008004, 0x00008004},
  566. {0x00009a1c, 0x00008208, 0x00008208, 0x00008008, 0x00008008},
  567. {0x00009a20, 0x0000820c, 0x0000820c, 0x0000800c, 0x0000800c},
  568. {0x00009a24, 0x00008210, 0x00008210, 0x00008080, 0x00008080},
  569. {0x00009a28, 0x00008214, 0x00008214, 0x00008084, 0x00008084},
  570. {0x00009a2c, 0x00008280, 0x00008280, 0x00008088, 0x00008088},
  571. {0x00009a30, 0x00008284, 0x00008284, 0x0000808c, 0x0000808c},
  572. {0x00009a34, 0x00008288, 0x00008288, 0x00008100, 0x00008100},
  573. {0x00009a38, 0x0000828c, 0x0000828c, 0x00008104, 0x00008104},
  574. {0x00009a3c, 0x00008290, 0x00008290, 0x00008108, 0x00008108},
  575. {0x00009a40, 0x00008300, 0x00008300, 0x0000810c, 0x0000810c},
  576. {0x00009a44, 0x00008304, 0x00008304, 0x00008110, 0x00008110},
  577. {0x00009a48, 0x00008308, 0x00008308, 0x00008114, 0x00008114},
  578. {0x00009a4c, 0x0000830c, 0x0000830c, 0x00008180, 0x00008180},
  579. {0x00009a50, 0x00008310, 0x00008310, 0x00008184, 0x00008184},
  580. {0x00009a54, 0x00008314, 0x00008314, 0x00008188, 0x00008188},
  581. {0x00009a58, 0x00008380, 0x00008380, 0x0000818c, 0x0000818c},
  582. {0x00009a5c, 0x00008384, 0x00008384, 0x00008190, 0x00008190},
  583. {0x00009a60, 0x00008388, 0x00008388, 0x00008194, 0x00008194},
  584. {0x00009a64, 0x0000838c, 0x0000838c, 0x000081a0, 0x000081a0},
  585. {0x00009a68, 0x00008390, 0x00008390, 0x0000820c, 0x0000820c},
  586. {0x00009a6c, 0x00008394, 0x00008394, 0x000081a8, 0x000081a8},
  587. {0x00009a70, 0x0000a380, 0x0000a380, 0x00008284, 0x00008284},
  588. {0x00009a74, 0x0000a384, 0x0000a384, 0x00008288, 0x00008288},
  589. {0x00009a78, 0x0000a388, 0x0000a388, 0x00008224, 0x00008224},
  590. {0x00009a7c, 0x0000a38c, 0x0000a38c, 0x00008290, 0x00008290},
  591. {0x00009a80, 0x0000a390, 0x0000a390, 0x00008300, 0x00008300},
  592. {0x00009a84, 0x0000a394, 0x0000a394, 0x00008304, 0x00008304},
  593. {0x00009a88, 0x0000a780, 0x0000a780, 0x00008308, 0x00008308},
  594. {0x00009a8c, 0x0000a784, 0x0000a784, 0x0000830c, 0x0000830c},
  595. {0x00009a90, 0x0000a788, 0x0000a788, 0x00008380, 0x00008380},
  596. {0x00009a94, 0x0000a78c, 0x0000a78c, 0x00008384, 0x00008384},
  597. {0x00009a98, 0x0000a790, 0x0000a790, 0x00008700, 0x00008700},
  598. {0x00009a9c, 0x0000a794, 0x0000a794, 0x00008704, 0x00008704},
  599. {0x00009aa0, 0x0000ab84, 0x0000ab84, 0x00008708, 0x00008708},
  600. {0x00009aa4, 0x0000ab88, 0x0000ab88, 0x0000870c, 0x0000870c},
  601. {0x00009aa8, 0x0000ab8c, 0x0000ab8c, 0x00008780, 0x00008780},
  602. {0x00009aac, 0x0000ab90, 0x0000ab90, 0x00008784, 0x00008784},
  603. {0x00009ab0, 0x0000ab94, 0x0000ab94, 0x00008b00, 0x00008b00},
  604. {0x00009ab4, 0x0000af80, 0x0000af80, 0x00008b04, 0x00008b04},
  605. {0x00009ab8, 0x0000af84, 0x0000af84, 0x00008b08, 0x00008b08},
  606. {0x00009abc, 0x0000af88, 0x0000af88, 0x00008b0c, 0x00008b0c},
  607. {0x00009ac0, 0x0000af8c, 0x0000af8c, 0x00008b80, 0x00008b80},
  608. {0x00009ac4, 0x0000af90, 0x0000af90, 0x00008b84, 0x00008b84},
  609. {0x00009ac8, 0x0000af94, 0x0000af94, 0x00008b88, 0x00008b88},
  610. {0x00009acc, 0x0000b380, 0x0000b380, 0x00008b8c, 0x00008b8c},
  611. {0x00009ad0, 0x0000b384, 0x0000b384, 0x00008b90, 0x00008b90},
  612. {0x00009ad4, 0x0000b388, 0x0000b388, 0x00008f80, 0x00008f80},
  613. {0x00009ad8, 0x0000b38c, 0x0000b38c, 0x00008f84, 0x00008f84},
  614. {0x00009adc, 0x0000b390, 0x0000b390, 0x00008f88, 0x00008f88},
  615. {0x00009ae0, 0x0000b394, 0x0000b394, 0x00008f8c, 0x00008f8c},
  616. {0x00009ae4, 0x0000b398, 0x0000b398, 0x00008f90, 0x00008f90},
  617. {0x00009ae8, 0x0000b780, 0x0000b780, 0x0000930c, 0x0000930c},
  618. {0x00009aec, 0x0000b784, 0x0000b784, 0x00009310, 0x00009310},
  619. {0x00009af0, 0x0000b788, 0x0000b788, 0x00009384, 0x00009384},
  620. {0x00009af4, 0x0000b78c, 0x0000b78c, 0x00009388, 0x00009388},
  621. {0x00009af8, 0x0000b790, 0x0000b790, 0x00009324, 0x00009324},
  622. {0x00009afc, 0x0000b794, 0x0000b794, 0x00009704, 0x00009704},
  623. {0x00009b00, 0x0000b798, 0x0000b798, 0x000096a4, 0x000096a4},
  624. {0x00009b04, 0x0000d784, 0x0000d784, 0x000096a8, 0x000096a8},
  625. {0x00009b08, 0x0000d788, 0x0000d788, 0x00009710, 0x00009710},
  626. {0x00009b0c, 0x0000d78c, 0x0000d78c, 0x00009714, 0x00009714},
  627. {0x00009b10, 0x0000d790, 0x0000d790, 0x00009720, 0x00009720},
  628. {0x00009b14, 0x0000f780, 0x0000f780, 0x00009724, 0x00009724},
  629. {0x00009b18, 0x0000f784, 0x0000f784, 0x00009728, 0x00009728},
  630. {0x00009b1c, 0x0000f788, 0x0000f788, 0x0000972c, 0x0000972c},
  631. {0x00009b20, 0x0000f78c, 0x0000f78c, 0x000097a0, 0x000097a0},
  632. {0x00009b24, 0x0000f790, 0x0000f790, 0x000097a4, 0x000097a4},
  633. {0x00009b28, 0x0000f794, 0x0000f794, 0x000097a8, 0x000097a8},
  634. {0x00009b2c, 0x0000f7a4, 0x0000f7a4, 0x000097b0, 0x000097b0},
  635. {0x00009b30, 0x0000f7a8, 0x0000f7a8, 0x000097b4, 0x000097b4},
  636. {0x00009b34, 0x0000f7ac, 0x0000f7ac, 0x000097b8, 0x000097b8},
  637. {0x00009b38, 0x0000f7b0, 0x0000f7b0, 0x000097a5, 0x000097a5},
  638. {0x00009b3c, 0x0000f7b4, 0x0000f7b4, 0x000097a9, 0x000097a9},
  639. {0x00009b40, 0x0000f7a1, 0x0000f7a1, 0x000097ad, 0x000097ad},
  640. {0x00009b44, 0x0000f7a5, 0x0000f7a5, 0x000097b1, 0x000097b1},
  641. {0x00009b48, 0x0000f7a9, 0x0000f7a9, 0x000097b5, 0x000097b5},
  642. {0x00009b4c, 0x0000f7ad, 0x0000f7ad, 0x000097b9, 0x000097b9},
  643. {0x00009b50, 0x0000f7b1, 0x0000f7b1, 0x000097c5, 0x000097c5},
  644. {0x00009b54, 0x0000f7b5, 0x0000f7b5, 0x000097c9, 0x000097c9},
  645. {0x00009b58, 0x0000f7c5, 0x0000f7c5, 0x000097d1, 0x000097d1},
  646. {0x00009b5c, 0x0000f7c9, 0x0000f7c9, 0x000097d5, 0x000097d5},
  647. {0x00009b60, 0x0000f7cd, 0x0000f7cd, 0x000097d9, 0x000097d9},
  648. {0x00009b64, 0x0000f7d1, 0x0000f7d1, 0x000097c6, 0x000097c6},
  649. {0x00009b68, 0x0000f7d5, 0x0000f7d5, 0x000097ca, 0x000097ca},
  650. {0x00009b6c, 0x0000f7c2, 0x0000f7c2, 0x000097ce, 0x000097ce},
  651. {0x00009b70, 0x0000f7c6, 0x0000f7c6, 0x000097d2, 0x000097d2},
  652. {0x00009b74, 0x0000f7ca, 0x0000f7ca, 0x000097d6, 0x000097d6},
  653. {0x00009b78, 0x0000f7ce, 0x0000f7ce, 0x000097c3, 0x000097c3},
  654. {0x00009b7c, 0x0000f7d2, 0x0000f7d2, 0x000097c7, 0x000097c7},
  655. {0x00009b80, 0x0000f7d6, 0x0000f7d6, 0x000097cb, 0x000097cb},
  656. {0x00009b84, 0x0000f7c3, 0x0000f7c3, 0x000097cf, 0x000097cf},
  657. {0x00009b88, 0x0000f7c7, 0x0000f7c7, 0x000097d7, 0x000097d7},
  658. {0x00009b8c, 0x0000f7cb, 0x0000f7cb, 0x000097db, 0x000097db},
  659. {0x00009b90, 0x0000f7d3, 0x0000f7d3, 0x000097db, 0x000097db},
  660. {0x00009b94, 0x0000f7d7, 0x0000f7d7, 0x000097db, 0x000097db},
  661. {0x00009b98, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  662. {0x00009b9c, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  663. {0x00009ba0, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  664. {0x00009ba4, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  665. {0x00009ba8, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  666. {0x00009bac, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  667. {0x00009bb0, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  668. {0x00009bb4, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  669. {0x00009bb8, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  670. {0x00009bbc, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  671. {0x00009bc0, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  672. {0x00009bc4, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  673. {0x00009bc8, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  674. {0x00009bcc, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  675. {0x00009bd0, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  676. {0x00009bd4, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  677. {0x00009bd8, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  678. {0x00009bdc, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  679. {0x00009be0, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  680. {0x00009be4, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  681. {0x00009be8, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  682. {0x00009bec, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  683. {0x00009bf0, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  684. {0x00009bf4, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  685. {0x00009bf8, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  686. {0x00009bfc, 0x0000f7db, 0x0000f7db, 0x000097db, 0x000097db},
  687. {0x00009848, 0x00001066, 0x00001066, 0x00001063, 0x00001063},
  688. {0x0000a848, 0x00001066, 0x00001066, 0x00001063, 0x00001063},
  689. };
  690. static const u32 ar9280Modes_backoff_13db_rxgain_9280_2[][5] = {
  691. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  692. {0x00009a00, 0x00008184, 0x00008184, 0x00000290, 0x00000290},
  693. {0x00009a04, 0x00008188, 0x00008188, 0x00000300, 0x00000300},
  694. {0x00009a08, 0x0000818c, 0x0000818c, 0x00000304, 0x00000304},
  695. {0x00009a0c, 0x00008190, 0x00008190, 0x00000308, 0x00000308},
  696. {0x00009a10, 0x00008194, 0x00008194, 0x0000030c, 0x0000030c},
  697. {0x00009a14, 0x00008200, 0x00008200, 0x00008000, 0x00008000},
  698. {0x00009a18, 0x00008204, 0x00008204, 0x00008004, 0x00008004},
  699. {0x00009a1c, 0x00008208, 0x00008208, 0x00008008, 0x00008008},
  700. {0x00009a20, 0x0000820c, 0x0000820c, 0x0000800c, 0x0000800c},
  701. {0x00009a24, 0x00008210, 0x00008210, 0x00008080, 0x00008080},
  702. {0x00009a28, 0x00008214, 0x00008214, 0x00008084, 0x00008084},
  703. {0x00009a2c, 0x00008280, 0x00008280, 0x00008088, 0x00008088},
  704. {0x00009a30, 0x00008284, 0x00008284, 0x0000808c, 0x0000808c},
  705. {0x00009a34, 0x00008288, 0x00008288, 0x00008100, 0x00008100},
  706. {0x00009a38, 0x0000828c, 0x0000828c, 0x00008104, 0x00008104},
  707. {0x00009a3c, 0x00008290, 0x00008290, 0x00008108, 0x00008108},
  708. {0x00009a40, 0x00008300, 0x00008300, 0x0000810c, 0x0000810c},
  709. {0x00009a44, 0x00008304, 0x00008304, 0x00008110, 0x00008110},
  710. {0x00009a48, 0x00008308, 0x00008308, 0x00008114, 0x00008114},
  711. {0x00009a4c, 0x0000830c, 0x0000830c, 0x00008180, 0x00008180},
  712. {0x00009a50, 0x00008310, 0x00008310, 0x00008184, 0x00008184},
  713. {0x00009a54, 0x00008314, 0x00008314, 0x00008188, 0x00008188},
  714. {0x00009a58, 0x00008380, 0x00008380, 0x0000818c, 0x0000818c},
  715. {0x00009a5c, 0x00008384, 0x00008384, 0x00008190, 0x00008190},
  716. {0x00009a60, 0x00008388, 0x00008388, 0x00008194, 0x00008194},
  717. {0x00009a64, 0x0000838c, 0x0000838c, 0x000081a0, 0x000081a0},
  718. {0x00009a68, 0x00008390, 0x00008390, 0x0000820c, 0x0000820c},
  719. {0x00009a6c, 0x00008394, 0x00008394, 0x000081a8, 0x000081a8},
  720. {0x00009a70, 0x0000a380, 0x0000a380, 0x00008284, 0x00008284},
  721. {0x00009a74, 0x0000a384, 0x0000a384, 0x00008288, 0x00008288},
  722. {0x00009a78, 0x0000a388, 0x0000a388, 0x00008224, 0x00008224},
  723. {0x00009a7c, 0x0000a38c, 0x0000a38c, 0x00008290, 0x00008290},
  724. {0x00009a80, 0x0000a390, 0x0000a390, 0x00008300, 0x00008300},
  725. {0x00009a84, 0x0000a394, 0x0000a394, 0x00008304, 0x00008304},
  726. {0x00009a88, 0x0000a780, 0x0000a780, 0x00008308, 0x00008308},
  727. {0x00009a8c, 0x0000a784, 0x0000a784, 0x0000830c, 0x0000830c},
  728. {0x00009a90, 0x0000a788, 0x0000a788, 0x00008380, 0x00008380},
  729. {0x00009a94, 0x0000a78c, 0x0000a78c, 0x00008384, 0x00008384},
  730. {0x00009a98, 0x0000a790, 0x0000a790, 0x00008700, 0x00008700},
  731. {0x00009a9c, 0x0000a794, 0x0000a794, 0x00008704, 0x00008704},
  732. {0x00009aa0, 0x0000ab84, 0x0000ab84, 0x00008708, 0x00008708},
  733. {0x00009aa4, 0x0000ab88, 0x0000ab88, 0x0000870c, 0x0000870c},
  734. {0x00009aa8, 0x0000ab8c, 0x0000ab8c, 0x00008780, 0x00008780},
  735. {0x00009aac, 0x0000ab90, 0x0000ab90, 0x00008784, 0x00008784},
  736. {0x00009ab0, 0x0000ab94, 0x0000ab94, 0x00008b00, 0x00008b00},
  737. {0x00009ab4, 0x0000af80, 0x0000af80, 0x00008b04, 0x00008b04},
  738. {0x00009ab8, 0x0000af84, 0x0000af84, 0x00008b08, 0x00008b08},
  739. {0x00009abc, 0x0000af88, 0x0000af88, 0x00008b0c, 0x00008b0c},
  740. {0x00009ac0, 0x0000af8c, 0x0000af8c, 0x00008b80, 0x00008b80},
  741. {0x00009ac4, 0x0000af90, 0x0000af90, 0x00008b84, 0x00008b84},
  742. {0x00009ac8, 0x0000af94, 0x0000af94, 0x00008b88, 0x00008b88},
  743. {0x00009acc, 0x0000b380, 0x0000b380, 0x00008b8c, 0x00008b8c},
  744. {0x00009ad0, 0x0000b384, 0x0000b384, 0x00008b90, 0x00008b90},
  745. {0x00009ad4, 0x0000b388, 0x0000b388, 0x00008f80, 0x00008f80},
  746. {0x00009ad8, 0x0000b38c, 0x0000b38c, 0x00008f84, 0x00008f84},
  747. {0x00009adc, 0x0000b390, 0x0000b390, 0x00008f88, 0x00008f88},
  748. {0x00009ae0, 0x0000b394, 0x0000b394, 0x00008f8c, 0x00008f8c},
  749. {0x00009ae4, 0x0000b398, 0x0000b398, 0x00008f90, 0x00008f90},
  750. {0x00009ae8, 0x0000b780, 0x0000b780, 0x00009310, 0x00009310},
  751. {0x00009aec, 0x0000b784, 0x0000b784, 0x00009314, 0x00009314},
  752. {0x00009af0, 0x0000b788, 0x0000b788, 0x00009320, 0x00009320},
  753. {0x00009af4, 0x0000b78c, 0x0000b78c, 0x00009324, 0x00009324},
  754. {0x00009af8, 0x0000b790, 0x0000b790, 0x00009328, 0x00009328},
  755. {0x00009afc, 0x0000b794, 0x0000b794, 0x0000932c, 0x0000932c},
  756. {0x00009b00, 0x0000b798, 0x0000b798, 0x00009330, 0x00009330},
  757. {0x00009b04, 0x0000d784, 0x0000d784, 0x00009334, 0x00009334},
  758. {0x00009b08, 0x0000d788, 0x0000d788, 0x00009321, 0x00009321},
  759. {0x00009b0c, 0x0000d78c, 0x0000d78c, 0x00009325, 0x00009325},
  760. {0x00009b10, 0x0000d790, 0x0000d790, 0x00009329, 0x00009329},
  761. {0x00009b14, 0x0000f780, 0x0000f780, 0x0000932d, 0x0000932d},
  762. {0x00009b18, 0x0000f784, 0x0000f784, 0x00009331, 0x00009331},
  763. {0x00009b1c, 0x0000f788, 0x0000f788, 0x00009335, 0x00009335},
  764. {0x00009b20, 0x0000f78c, 0x0000f78c, 0x00009322, 0x00009322},
  765. {0x00009b24, 0x0000f790, 0x0000f790, 0x00009326, 0x00009326},
  766. {0x00009b28, 0x0000f794, 0x0000f794, 0x0000932a, 0x0000932a},
  767. {0x00009b2c, 0x0000f7a4, 0x0000f7a4, 0x0000932e, 0x0000932e},
  768. {0x00009b30, 0x0000f7a8, 0x0000f7a8, 0x00009332, 0x00009332},
  769. {0x00009b34, 0x0000f7ac, 0x0000f7ac, 0x00009336, 0x00009336},
  770. {0x00009b38, 0x0000f7b0, 0x0000f7b0, 0x00009323, 0x00009323},
  771. {0x00009b3c, 0x0000f7b4, 0x0000f7b4, 0x00009327, 0x00009327},
  772. {0x00009b40, 0x0000f7a1, 0x0000f7a1, 0x0000932b, 0x0000932b},
  773. {0x00009b44, 0x0000f7a5, 0x0000f7a5, 0x0000932f, 0x0000932f},
  774. {0x00009b48, 0x0000f7a9, 0x0000f7a9, 0x00009333, 0x00009333},
  775. {0x00009b4c, 0x0000f7ad, 0x0000f7ad, 0x00009337, 0x00009337},
  776. {0x00009b50, 0x0000f7b1, 0x0000f7b1, 0x00009343, 0x00009343},
  777. {0x00009b54, 0x0000f7b5, 0x0000f7b5, 0x00009347, 0x00009347},
  778. {0x00009b58, 0x0000f7c5, 0x0000f7c5, 0x0000934b, 0x0000934b},
  779. {0x00009b5c, 0x0000f7c9, 0x0000f7c9, 0x0000934f, 0x0000934f},
  780. {0x00009b60, 0x0000f7cd, 0x0000f7cd, 0x00009353, 0x00009353},
  781. {0x00009b64, 0x0000f7d1, 0x0000f7d1, 0x00009357, 0x00009357},
  782. {0x00009b68, 0x0000f7d5, 0x0000f7d5, 0x0000935b, 0x0000935b},
  783. {0x00009b6c, 0x0000f7c2, 0x0000f7c2, 0x0000935b, 0x0000935b},
  784. {0x00009b70, 0x0000f7c6, 0x0000f7c6, 0x0000935b, 0x0000935b},
  785. {0x00009b74, 0x0000f7ca, 0x0000f7ca, 0x0000935b, 0x0000935b},
  786. {0x00009b78, 0x0000f7ce, 0x0000f7ce, 0x0000935b, 0x0000935b},
  787. {0x00009b7c, 0x0000f7d2, 0x0000f7d2, 0x0000935b, 0x0000935b},
  788. {0x00009b80, 0x0000f7d6, 0x0000f7d6, 0x0000935b, 0x0000935b},
  789. {0x00009b84, 0x0000f7c3, 0x0000f7c3, 0x0000935b, 0x0000935b},
  790. {0x00009b88, 0x0000f7c7, 0x0000f7c7, 0x0000935b, 0x0000935b},
  791. {0x00009b8c, 0x0000f7cb, 0x0000f7cb, 0x0000935b, 0x0000935b},
  792. {0x00009b90, 0x0000f7d3, 0x0000f7d3, 0x0000935b, 0x0000935b},
  793. {0x00009b94, 0x0000f7d7, 0x0000f7d7, 0x0000935b, 0x0000935b},
  794. {0x00009b98, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  795. {0x00009b9c, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  796. {0x00009ba0, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  797. {0x00009ba4, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  798. {0x00009ba8, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  799. {0x00009bac, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  800. {0x00009bb0, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  801. {0x00009bb4, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  802. {0x00009bb8, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  803. {0x00009bbc, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  804. {0x00009bc0, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  805. {0x00009bc4, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  806. {0x00009bc8, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  807. {0x00009bcc, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  808. {0x00009bd0, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  809. {0x00009bd4, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  810. {0x00009bd8, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  811. {0x00009bdc, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  812. {0x00009be0, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  813. {0x00009be4, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  814. {0x00009be8, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  815. {0x00009bec, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  816. {0x00009bf0, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  817. {0x00009bf4, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  818. {0x00009bf8, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  819. {0x00009bfc, 0x0000f7db, 0x0000f7db, 0x0000935b, 0x0000935b},
  820. {0x00009848, 0x00001066, 0x00001066, 0x0000105a, 0x0000105a},
  821. {0x0000a848, 0x00001066, 0x00001066, 0x0000105a, 0x0000105a},
  822. };
  823. static const u32 ar9280Modes_high_power_tx_gain_9280_2[][5] = {
  824. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  825. {0x0000a274, 0x0a19e652, 0x0a19e652, 0x0a1aa652, 0x0a1aa652},
  826. {0x0000a27c, 0x050739ce, 0x050739ce, 0x050739ce, 0x050739ce},
  827. {0x0000a300, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  828. {0x0000a304, 0x00003002, 0x00003002, 0x00004002, 0x00004002},
  829. {0x0000a308, 0x00006004, 0x00006004, 0x00007008, 0x00007008},
  830. {0x0000a30c, 0x0000a006, 0x0000a006, 0x0000c010, 0x0000c010},
  831. {0x0000a310, 0x0000e012, 0x0000e012, 0x00010012, 0x00010012},
  832. {0x0000a314, 0x00011014, 0x00011014, 0x00013014, 0x00013014},
  833. {0x0000a318, 0x0001504a, 0x0001504a, 0x0001820a, 0x0001820a},
  834. {0x0000a31c, 0x0001904c, 0x0001904c, 0x0001b211, 0x0001b211},
  835. {0x0000a320, 0x0001c04e, 0x0001c04e, 0x0001e213, 0x0001e213},
  836. {0x0000a324, 0x00021092, 0x00021092, 0x00022411, 0x00022411},
  837. {0x0000a328, 0x0002510a, 0x0002510a, 0x00025413, 0x00025413},
  838. {0x0000a32c, 0x0002910c, 0x0002910c, 0x00029811, 0x00029811},
  839. {0x0000a330, 0x0002c18b, 0x0002c18b, 0x0002c813, 0x0002c813},
  840. {0x0000a334, 0x0002f1cc, 0x0002f1cc, 0x00030a14, 0x00030a14},
  841. {0x0000a338, 0x000321eb, 0x000321eb, 0x00035a50, 0x00035a50},
  842. {0x0000a33c, 0x000341ec, 0x000341ec, 0x00039c4c, 0x00039c4c},
  843. {0x0000a340, 0x000341ec, 0x000341ec, 0x0003de8a, 0x0003de8a},
  844. {0x0000a344, 0x000341ec, 0x000341ec, 0x00042e92, 0x00042e92},
  845. {0x0000a348, 0x000341ec, 0x000341ec, 0x00046ed2, 0x00046ed2},
  846. {0x0000a34c, 0x000341ec, 0x000341ec, 0x0004bed5, 0x0004bed5},
  847. {0x0000a350, 0x000341ec, 0x000341ec, 0x0004ff54, 0x0004ff54},
  848. {0x0000a354, 0x000341ec, 0x000341ec, 0x00055fd5, 0x00055fd5},
  849. {0x0000a3ec, 0x00f70081, 0x00f70081, 0x00f70081, 0x00f70081},
  850. {0x00007814, 0x00198eff, 0x00198eff, 0x00198eff, 0x00198eff},
  851. {0x00007838, 0x00198eff, 0x00198eff, 0x00198eff, 0x00198eff},
  852. {0x0000781c, 0x00172000, 0x00172000, 0x00172000, 0x00172000},
  853. {0x00007840, 0x00172000, 0x00172000, 0x00172000, 0x00172000},
  854. {0x00007820, 0xf258a480, 0xf258a480, 0xf258a480, 0xf258a480},
  855. {0x00007844, 0xf258a480, 0xf258a480, 0xf258a480, 0xf258a480},
  856. };
  857. static const u32 ar9280Modes_original_tx_gain_9280_2[][5] = {
  858. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  859. {0x0000a274, 0x0a19c652, 0x0a19c652, 0x0a1aa652, 0x0a1aa652},
  860. {0x0000a27c, 0x050701ce, 0x050701ce, 0x050701ce, 0x050701ce},
  861. {0x0000a300, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  862. {0x0000a304, 0x00003002, 0x00003002, 0x00003002, 0x00003002},
  863. {0x0000a308, 0x00006004, 0x00006004, 0x00008009, 0x00008009},
  864. {0x0000a30c, 0x0000a006, 0x0000a006, 0x0000b00b, 0x0000b00b},
  865. {0x0000a310, 0x0000e012, 0x0000e012, 0x0000e012, 0x0000e012},
  866. {0x0000a314, 0x00011014, 0x00011014, 0x00012048, 0x00012048},
  867. {0x0000a318, 0x0001504a, 0x0001504a, 0x0001604a, 0x0001604a},
  868. {0x0000a31c, 0x0001904c, 0x0001904c, 0x0001a211, 0x0001a211},
  869. {0x0000a320, 0x0001c04e, 0x0001c04e, 0x0001e213, 0x0001e213},
  870. {0x0000a324, 0x00020092, 0x00020092, 0x0002121b, 0x0002121b},
  871. {0x0000a328, 0x0002410a, 0x0002410a, 0x00024412, 0x00024412},
  872. {0x0000a32c, 0x0002710c, 0x0002710c, 0x00028414, 0x00028414},
  873. {0x0000a330, 0x0002b18b, 0x0002b18b, 0x0002b44a, 0x0002b44a},
  874. {0x0000a334, 0x0002e1cc, 0x0002e1cc, 0x00030649, 0x00030649},
  875. {0x0000a338, 0x000321ec, 0x000321ec, 0x0003364b, 0x0003364b},
  876. {0x0000a33c, 0x000321ec, 0x000321ec, 0x00038a49, 0x00038a49},
  877. {0x0000a340, 0x000321ec, 0x000321ec, 0x0003be48, 0x0003be48},
  878. {0x0000a344, 0x000321ec, 0x000321ec, 0x0003ee4a, 0x0003ee4a},
  879. {0x0000a348, 0x000321ec, 0x000321ec, 0x00042e88, 0x00042e88},
  880. {0x0000a34c, 0x000321ec, 0x000321ec, 0x00046e8a, 0x00046e8a},
  881. {0x0000a350, 0x000321ec, 0x000321ec, 0x00049ec9, 0x00049ec9},
  882. {0x0000a354, 0x000321ec, 0x000321ec, 0x0004bf42, 0x0004bf42},
  883. {0x0000a3ec, 0x00f70081, 0x00f70081, 0x00f70081, 0x00f70081},
  884. {0x00007814, 0x0019beff, 0x0019beff, 0x0019beff, 0x0019beff},
  885. {0x00007838, 0x0019beff, 0x0019beff, 0x0019beff, 0x0019beff},
  886. {0x0000781c, 0x00392000, 0x00392000, 0x00392000, 0x00392000},
  887. {0x00007840, 0x00392000, 0x00392000, 0x00392000, 0x00392000},
  888. {0x00007820, 0x92592480, 0x92592480, 0x92592480, 0x92592480},
  889. {0x00007844, 0x92592480, 0x92592480, 0x92592480, 0x92592480},
  890. };
  891. static const u32 ar9280PciePhy_clkreq_off_L1_9280[][2] = {
  892. /* Addr allmodes */
  893. {0x00004040, 0x9248fd00},
  894. {0x00004040, 0x24924924},
  895. {0x00004040, 0xa8000019},
  896. {0x00004040, 0x13160820},
  897. {0x00004040, 0xe5980560},
  898. {0x00004040, 0xc01dcffc},
  899. {0x00004040, 0x1aaabe41},
  900. {0x00004040, 0xbe105554},
  901. {0x00004040, 0x00043007},
  902. {0x00004044, 0x00000000},
  903. };
  904. static const u32 ar9280PciePhy_clkreq_always_on_L1_9280[][2] = {
  905. /* Addr allmodes */
  906. {0x00004040, 0x9248fd00},
  907. {0x00004040, 0x24924924},
  908. {0x00004040, 0xa8000019},
  909. {0x00004040, 0x13160820},
  910. {0x00004040, 0xe5980560},
  911. {0x00004040, 0xc01dcffd},
  912. {0x00004040, 0x1aaabe41},
  913. {0x00004040, 0xbe105554},
  914. {0x00004040, 0x00043007},
  915. {0x00004044, 0x00000000},
  916. };
  917. static const u32 ar9285Modes_9285_1_2[][5] = {
  918. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  919. {0x00001030, 0x00000230, 0x00000460, 0x000002c0, 0x00000160},
  920. {0x00001070, 0x00000168, 0x000002d0, 0x00000318, 0x0000018c},
  921. {0x000010b0, 0x00000e60, 0x00001cc0, 0x00007c70, 0x00003e38},
  922. {0x000010f0, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  923. {0x00008014, 0x03e803e8, 0x07d007d0, 0x10801600, 0x08400b00},
  924. {0x0000801c, 0x128d8027, 0x128d804f, 0x12e00057, 0x12e0002b},
  925. {0x00008318, 0x00003e80, 0x00007d00, 0x00006880, 0x00003440},
  926. {0x00009804, 0x00000300, 0x000003c4, 0x000003c4, 0x00000300},
  927. {0x00009820, 0x02020200, 0x02020200, 0x02020200, 0x02020200},
  928. {0x00009824, 0x01000e0e, 0x01000e0e, 0x01000e0e, 0x01000e0e},
  929. {0x00009828, 0x0a020001, 0x0a020001, 0x0a020001, 0x0a020001},
  930. {0x00009834, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e},
  931. {0x00009838, 0x00000007, 0x00000007, 0x00000007, 0x00000007},
  932. {0x00009840, 0x206a012e, 0x206a012e, 0x206a012e, 0x206a012e},
  933. {0x00009844, 0x0372161e, 0x0372161e, 0x03721620, 0x03721620},
  934. {0x00009848, 0x00001066, 0x00001066, 0x00001053, 0x00001053},
  935. {0x0000a848, 0x00001066, 0x00001066, 0x00001053, 0x00001053},
  936. {0x00009850, 0x6d4000e2, 0x6d4000e2, 0x6d4000e2, 0x6d4000e2},
  937. {0x00009858, 0x7ec84d2e, 0x7ec84d2e, 0x7ec84d2e, 0x7ec84d2e},
  938. {0x0000985c, 0x3139605e, 0x3139605e, 0x3137605e, 0x3137605e},
  939. {0x00009860, 0x00058d18, 0x00058d18, 0x00058d20, 0x00058d20},
  940. {0x00009864, 0x0000fe00, 0x0000fe00, 0x0001ce00, 0x0001ce00},
  941. {0x00009868, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0},
  942. {0x0000986c, 0x06903081, 0x06903081, 0x06903881, 0x06903881},
  943. {0x00009914, 0x000007d0, 0x00000fa0, 0x00001130, 0x00000898},
  944. {0x00009918, 0x0000000a, 0x00000014, 0x00000016, 0x0000000b},
  945. {0x00009924, 0xd00a8007, 0xd00a8007, 0xd00a800d, 0xd00a800d},
  946. {0x00009944, 0xffbc1010, 0xffbc1010, 0xffbc1020, 0xffbc1020},
  947. {0x00009960, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  948. {0x00009964, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  949. {0x000099b8, 0x0000421c, 0x0000421c, 0x0000421c, 0x0000421c},
  950. {0x000099bc, 0x00000600, 0x00000600, 0x00000c00, 0x00000c00},
  951. {0x000099c0, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4},
  952. {0x000099c4, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77},
  953. {0x000099c8, 0x6af6532f, 0x6af6532f, 0x6af6532f, 0x6af6532f},
  954. {0x000099cc, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8},
  955. {0x000099d0, 0x00046384, 0x00046384, 0x00046384, 0x00046384},
  956. {0x000099d4, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  957. {0x000099d8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  958. {0x00009a00, 0x00000000, 0x00000000, 0x00058084, 0x00058084},
  959. {0x00009a04, 0x00000000, 0x00000000, 0x00058088, 0x00058088},
  960. {0x00009a08, 0x00000000, 0x00000000, 0x0005808c, 0x0005808c},
  961. {0x00009a0c, 0x00000000, 0x00000000, 0x00058100, 0x00058100},
  962. {0x00009a10, 0x00000000, 0x00000000, 0x00058104, 0x00058104},
  963. {0x00009a14, 0x00000000, 0x00000000, 0x00058108, 0x00058108},
  964. {0x00009a18, 0x00000000, 0x00000000, 0x0005810c, 0x0005810c},
  965. {0x00009a1c, 0x00000000, 0x00000000, 0x00058110, 0x00058110},
  966. {0x00009a20, 0x00000000, 0x00000000, 0x00058114, 0x00058114},
  967. {0x00009a24, 0x00000000, 0x00000000, 0x00058180, 0x00058180},
  968. {0x00009a28, 0x00000000, 0x00000000, 0x00058184, 0x00058184},
  969. {0x00009a2c, 0x00000000, 0x00000000, 0x00058188, 0x00058188},
  970. {0x00009a30, 0x00000000, 0x00000000, 0x0005818c, 0x0005818c},
  971. {0x00009a34, 0x00000000, 0x00000000, 0x00058190, 0x00058190},
  972. {0x00009a38, 0x00000000, 0x00000000, 0x00058194, 0x00058194},
  973. {0x00009a3c, 0x00000000, 0x00000000, 0x000581a0, 0x000581a0},
  974. {0x00009a40, 0x00000000, 0x00000000, 0x0005820c, 0x0005820c},
  975. {0x00009a44, 0x00000000, 0x00000000, 0x000581a8, 0x000581a8},
  976. {0x00009a48, 0x00000000, 0x00000000, 0x00058284, 0x00058284},
  977. {0x00009a4c, 0x00000000, 0x00000000, 0x00058288, 0x00058288},
  978. {0x00009a50, 0x00000000, 0x00000000, 0x00058224, 0x00058224},
  979. {0x00009a54, 0x00000000, 0x00000000, 0x00058290, 0x00058290},
  980. {0x00009a58, 0x00000000, 0x00000000, 0x00058300, 0x00058300},
  981. {0x00009a5c, 0x00000000, 0x00000000, 0x00058304, 0x00058304},
  982. {0x00009a60, 0x00000000, 0x00000000, 0x00058308, 0x00058308},
  983. {0x00009a64, 0x00000000, 0x00000000, 0x0005830c, 0x0005830c},
  984. {0x00009a68, 0x00000000, 0x00000000, 0x00058380, 0x00058380},
  985. {0x00009a6c, 0x00000000, 0x00000000, 0x00058384, 0x00058384},
  986. {0x00009a70, 0x00000000, 0x00000000, 0x00068700, 0x00068700},
  987. {0x00009a74, 0x00000000, 0x00000000, 0x00068704, 0x00068704},
  988. {0x00009a78, 0x00000000, 0x00000000, 0x00068708, 0x00068708},
  989. {0x00009a7c, 0x00000000, 0x00000000, 0x0006870c, 0x0006870c},
  990. {0x00009a80, 0x00000000, 0x00000000, 0x00068780, 0x00068780},
  991. {0x00009a84, 0x00000000, 0x00000000, 0x00068784, 0x00068784},
  992. {0x00009a88, 0x00000000, 0x00000000, 0x00078b00, 0x00078b00},
  993. {0x00009a8c, 0x00000000, 0x00000000, 0x00078b04, 0x00078b04},
  994. {0x00009a90, 0x00000000, 0x00000000, 0x00078b08, 0x00078b08},
  995. {0x00009a94, 0x00000000, 0x00000000, 0x00078b0c, 0x00078b0c},
  996. {0x00009a98, 0x00000000, 0x00000000, 0x00078b80, 0x00078b80},
  997. {0x00009a9c, 0x00000000, 0x00000000, 0x00078b84, 0x00078b84},
  998. {0x00009aa0, 0x00000000, 0x00000000, 0x00078b88, 0x00078b88},
  999. {0x00009aa4, 0x00000000, 0x00000000, 0x00078b8c, 0x00078b8c},
  1000. {0x00009aa8, 0x00000000, 0x00000000, 0x00078b90, 0x00078b90},
  1001. {0x00009aac, 0x00000000, 0x00000000, 0x000caf80, 0x000caf80},
  1002. {0x00009ab0, 0x00000000, 0x00000000, 0x000caf84, 0x000caf84},
  1003. {0x00009ab4, 0x00000000, 0x00000000, 0x000caf88, 0x000caf88},
  1004. {0x00009ab8, 0x00000000, 0x00000000, 0x000caf8c, 0x000caf8c},
  1005. {0x00009abc, 0x00000000, 0x00000000, 0x000caf90, 0x000caf90},
  1006. {0x00009ac0, 0x00000000, 0x00000000, 0x000db30c, 0x000db30c},
  1007. {0x00009ac4, 0x00000000, 0x00000000, 0x000db310, 0x000db310},
  1008. {0x00009ac8, 0x00000000, 0x00000000, 0x000db384, 0x000db384},
  1009. {0x00009acc, 0x00000000, 0x00000000, 0x000db388, 0x000db388},
  1010. {0x00009ad0, 0x00000000, 0x00000000, 0x000db324, 0x000db324},
  1011. {0x00009ad4, 0x00000000, 0x00000000, 0x000eb704, 0x000eb704},
  1012. {0x00009ad8, 0x00000000, 0x00000000, 0x000eb6a4, 0x000eb6a4},
  1013. {0x00009adc, 0x00000000, 0x00000000, 0x000eb6a8, 0x000eb6a8},
  1014. {0x00009ae0, 0x00000000, 0x00000000, 0x000eb710, 0x000eb710},
  1015. {0x00009ae4, 0x00000000, 0x00000000, 0x000eb714, 0x000eb714},
  1016. {0x00009ae8, 0x00000000, 0x00000000, 0x000eb720, 0x000eb720},
  1017. {0x00009aec, 0x00000000, 0x00000000, 0x000eb724, 0x000eb724},
  1018. {0x00009af0, 0x00000000, 0x00000000, 0x000eb728, 0x000eb728},
  1019. {0x00009af4, 0x00000000, 0x00000000, 0x000eb72c, 0x000eb72c},
  1020. {0x00009af8, 0x00000000, 0x00000000, 0x000eb7a0, 0x000eb7a0},
  1021. {0x00009afc, 0x00000000, 0x00000000, 0x000eb7a4, 0x000eb7a4},
  1022. {0x00009b00, 0x00000000, 0x00000000, 0x000eb7a8, 0x000eb7a8},
  1023. {0x00009b04, 0x00000000, 0x00000000, 0x000eb7b0, 0x000eb7b0},
  1024. {0x00009b08, 0x00000000, 0x00000000, 0x000eb7b4, 0x000eb7b4},
  1025. {0x00009b0c, 0x00000000, 0x00000000, 0x000eb7b8, 0x000eb7b8},
  1026. {0x00009b10, 0x00000000, 0x00000000, 0x000eb7a5, 0x000eb7a5},
  1027. {0x00009b14, 0x00000000, 0x00000000, 0x000eb7a9, 0x000eb7a9},
  1028. {0x00009b18, 0x00000000, 0x00000000, 0x000eb7ad, 0x000eb7ad},
  1029. {0x00009b1c, 0x00000000, 0x00000000, 0x000eb7b1, 0x000eb7b1},
  1030. {0x00009b20, 0x00000000, 0x00000000, 0x000eb7b5, 0x000eb7b5},
  1031. {0x00009b24, 0x00000000, 0x00000000, 0x000eb7b9, 0x000eb7b9},
  1032. {0x00009b28, 0x00000000, 0x00000000, 0x000eb7c5, 0x000eb7c5},
  1033. {0x00009b2c, 0x00000000, 0x00000000, 0x000eb7c9, 0x000eb7c9},
  1034. {0x00009b30, 0x00000000, 0x00000000, 0x000eb7d1, 0x000eb7d1},
  1035. {0x00009b34, 0x00000000, 0x00000000, 0x000eb7d5, 0x000eb7d5},
  1036. {0x00009b38, 0x00000000, 0x00000000, 0x000eb7d9, 0x000eb7d9},
  1037. {0x00009b3c, 0x00000000, 0x00000000, 0x000eb7c6, 0x000eb7c6},
  1038. {0x00009b40, 0x00000000, 0x00000000, 0x000eb7ca, 0x000eb7ca},
  1039. {0x00009b44, 0x00000000, 0x00000000, 0x000eb7ce, 0x000eb7ce},
  1040. {0x00009b48, 0x00000000, 0x00000000, 0x000eb7d2, 0x000eb7d2},
  1041. {0x00009b4c, 0x00000000, 0x00000000, 0x000eb7d6, 0x000eb7d6},
  1042. {0x00009b50, 0x00000000, 0x00000000, 0x000eb7c3, 0x000eb7c3},
  1043. {0x00009b54, 0x00000000, 0x00000000, 0x000eb7c7, 0x000eb7c7},
  1044. {0x00009b58, 0x00000000, 0x00000000, 0x000eb7cb, 0x000eb7cb},
  1045. {0x00009b5c, 0x00000000, 0x00000000, 0x000eb7cf, 0x000eb7cf},
  1046. {0x00009b60, 0x00000000, 0x00000000, 0x000eb7d7, 0x000eb7d7},
  1047. {0x00009b64, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1048. {0x00009b68, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1049. {0x00009b6c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1050. {0x00009b70, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1051. {0x00009b74, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1052. {0x00009b78, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1053. {0x00009b7c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1054. {0x00009b80, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1055. {0x00009b84, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1056. {0x00009b88, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1057. {0x00009b8c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1058. {0x00009b90, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1059. {0x00009b94, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1060. {0x00009b98, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1061. {0x00009b9c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1062. {0x00009ba0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1063. {0x00009ba4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1064. {0x00009ba8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1065. {0x00009bac, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1066. {0x00009bb0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1067. {0x00009bb4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1068. {0x00009bb8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1069. {0x00009bbc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1070. {0x00009bc0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1071. {0x00009bc4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1072. {0x00009bc8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1073. {0x00009bcc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1074. {0x00009bd0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1075. {0x00009bd4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1076. {0x00009bd8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1077. {0x00009bdc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1078. {0x00009be0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1079. {0x00009be4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1080. {0x00009be8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1081. {0x00009bec, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1082. {0x00009bf0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1083. {0x00009bf4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1084. {0x00009bf8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1085. {0x00009bfc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1086. {0x0000aa00, 0x00000000, 0x00000000, 0x00058084, 0x00058084},
  1087. {0x0000aa04, 0x00000000, 0x00000000, 0x00058088, 0x00058088},
  1088. {0x0000aa08, 0x00000000, 0x00000000, 0x0005808c, 0x0005808c},
  1089. {0x0000aa0c, 0x00000000, 0x00000000, 0x00058100, 0x00058100},
  1090. {0x0000aa10, 0x00000000, 0x00000000, 0x00058104, 0x00058104},
  1091. {0x0000aa14, 0x00000000, 0x00000000, 0x00058108, 0x00058108},
  1092. {0x0000aa18, 0x00000000, 0x00000000, 0x0005810c, 0x0005810c},
  1093. {0x0000aa1c, 0x00000000, 0x00000000, 0x00058110, 0x00058110},
  1094. {0x0000aa20, 0x00000000, 0x00000000, 0x00058114, 0x00058114},
  1095. {0x0000aa24, 0x00000000, 0x00000000, 0x00058180, 0x00058180},
  1096. {0x0000aa28, 0x00000000, 0x00000000, 0x00058184, 0x00058184},
  1097. {0x0000aa2c, 0x00000000, 0x00000000, 0x00058188, 0x00058188},
  1098. {0x0000aa30, 0x00000000, 0x00000000, 0x0005818c, 0x0005818c},
  1099. {0x0000aa34, 0x00000000, 0x00000000, 0x00058190, 0x00058190},
  1100. {0x0000aa38, 0x00000000, 0x00000000, 0x00058194, 0x00058194},
  1101. {0x0000aa3c, 0x00000000, 0x00000000, 0x000581a0, 0x000581a0},
  1102. {0x0000aa40, 0x00000000, 0x00000000, 0x0005820c, 0x0005820c},
  1103. {0x0000aa44, 0x00000000, 0x00000000, 0x000581a8, 0x000581a8},
  1104. {0x0000aa48, 0x00000000, 0x00000000, 0x00058284, 0x00058284},
  1105. {0x0000aa4c, 0x00000000, 0x00000000, 0x00058288, 0x00058288},
  1106. {0x0000aa50, 0x00000000, 0x00000000, 0x00058224, 0x00058224},
  1107. {0x0000aa54, 0x00000000, 0x00000000, 0x00058290, 0x00058290},
  1108. {0x0000aa58, 0x00000000, 0x00000000, 0x00058300, 0x00058300},
  1109. {0x0000aa5c, 0x00000000, 0x00000000, 0x00058304, 0x00058304},
  1110. {0x0000aa60, 0x00000000, 0x00000000, 0x00058308, 0x00058308},
  1111. {0x0000aa64, 0x00000000, 0x00000000, 0x0005830c, 0x0005830c},
  1112. {0x0000aa68, 0x00000000, 0x00000000, 0x00058380, 0x00058380},
  1113. {0x0000aa6c, 0x00000000, 0x00000000, 0x00058384, 0x00058384},
  1114. {0x0000aa70, 0x00000000, 0x00000000, 0x00068700, 0x00068700},
  1115. {0x0000aa74, 0x00000000, 0x00000000, 0x00068704, 0x00068704},
  1116. {0x0000aa78, 0x00000000, 0x00000000, 0x00068708, 0x00068708},
  1117. {0x0000aa7c, 0x00000000, 0x00000000, 0x0006870c, 0x0006870c},
  1118. {0x0000aa80, 0x00000000, 0x00000000, 0x00068780, 0x00068780},
  1119. {0x0000aa84, 0x00000000, 0x00000000, 0x00068784, 0x00068784},
  1120. {0x0000aa88, 0x00000000, 0x00000000, 0x00078b00, 0x00078b00},
  1121. {0x0000aa8c, 0x00000000, 0x00000000, 0x00078b04, 0x00078b04},
  1122. {0x0000aa90, 0x00000000, 0x00000000, 0x00078b08, 0x00078b08},
  1123. {0x0000aa94, 0x00000000, 0x00000000, 0x00078b0c, 0x00078b0c},
  1124. {0x0000aa98, 0x00000000, 0x00000000, 0x00078b80, 0x00078b80},
  1125. {0x0000aa9c, 0x00000000, 0x00000000, 0x00078b84, 0x00078b84},
  1126. {0x0000aaa0, 0x00000000, 0x00000000, 0x00078b88, 0x00078b88},
  1127. {0x0000aaa4, 0x00000000, 0x00000000, 0x00078b8c, 0x00078b8c},
  1128. {0x0000aaa8, 0x00000000, 0x00000000, 0x00078b90, 0x00078b90},
  1129. {0x0000aaac, 0x00000000, 0x00000000, 0x000caf80, 0x000caf80},
  1130. {0x0000aab0, 0x00000000, 0x00000000, 0x000caf84, 0x000caf84},
  1131. {0x0000aab4, 0x00000000, 0x00000000, 0x000caf88, 0x000caf88},
  1132. {0x0000aab8, 0x00000000, 0x00000000, 0x000caf8c, 0x000caf8c},
  1133. {0x0000aabc, 0x00000000, 0x00000000, 0x000caf90, 0x000caf90},
  1134. {0x0000aac0, 0x00000000, 0x00000000, 0x000db30c, 0x000db30c},
  1135. {0x0000aac4, 0x00000000, 0x00000000, 0x000db310, 0x000db310},
  1136. {0x0000aac8, 0x00000000, 0x00000000, 0x000db384, 0x000db384},
  1137. {0x0000aacc, 0x00000000, 0x00000000, 0x000db388, 0x000db388},
  1138. {0x0000aad0, 0x00000000, 0x00000000, 0x000db324, 0x000db324},
  1139. {0x0000aad4, 0x00000000, 0x00000000, 0x000eb704, 0x000eb704},
  1140. {0x0000aad8, 0x00000000, 0x00000000, 0x000eb6a4, 0x000eb6a4},
  1141. {0x0000aadc, 0x00000000, 0x00000000, 0x000eb6a8, 0x000eb6a8},
  1142. {0x0000aae0, 0x00000000, 0x00000000, 0x000eb710, 0x000eb710},
  1143. {0x0000aae4, 0x00000000, 0x00000000, 0x000eb714, 0x000eb714},
  1144. {0x0000aae8, 0x00000000, 0x00000000, 0x000eb720, 0x000eb720},
  1145. {0x0000aaec, 0x00000000, 0x00000000, 0x000eb724, 0x000eb724},
  1146. {0x0000aaf0, 0x00000000, 0x00000000, 0x000eb728, 0x000eb728},
  1147. {0x0000aaf4, 0x00000000, 0x00000000, 0x000eb72c, 0x000eb72c},
  1148. {0x0000aaf8, 0x00000000, 0x00000000, 0x000eb7a0, 0x000eb7a0},
  1149. {0x0000aafc, 0x00000000, 0x00000000, 0x000eb7a4, 0x000eb7a4},
  1150. {0x0000ab00, 0x00000000, 0x00000000, 0x000eb7a8, 0x000eb7a8},
  1151. {0x0000ab04, 0x00000000, 0x00000000, 0x000eb7b0, 0x000eb7b0},
  1152. {0x0000ab08, 0x00000000, 0x00000000, 0x000eb7b4, 0x000eb7b4},
  1153. {0x0000ab0c, 0x00000000, 0x00000000, 0x000eb7b8, 0x000eb7b8},
  1154. {0x0000ab10, 0x00000000, 0x00000000, 0x000eb7a5, 0x000eb7a5},
  1155. {0x0000ab14, 0x00000000, 0x00000000, 0x000eb7a9, 0x000eb7a9},
  1156. {0x0000ab18, 0x00000000, 0x00000000, 0x000eb7ad, 0x000eb7ad},
  1157. {0x0000ab1c, 0x00000000, 0x00000000, 0x000eb7b1, 0x000eb7b1},
  1158. {0x0000ab20, 0x00000000, 0x00000000, 0x000eb7b5, 0x000eb7b5},
  1159. {0x0000ab24, 0x00000000, 0x00000000, 0x000eb7b9, 0x000eb7b9},
  1160. {0x0000ab28, 0x00000000, 0x00000000, 0x000eb7c5, 0x000eb7c5},
  1161. {0x0000ab2c, 0x00000000, 0x00000000, 0x000eb7c9, 0x000eb7c9},
  1162. {0x0000ab30, 0x00000000, 0x00000000, 0x000eb7d1, 0x000eb7d1},
  1163. {0x0000ab34, 0x00000000, 0x00000000, 0x000eb7d5, 0x000eb7d5},
  1164. {0x0000ab38, 0x00000000, 0x00000000, 0x000eb7d9, 0x000eb7d9},
  1165. {0x0000ab3c, 0x00000000, 0x00000000, 0x000eb7c6, 0x000eb7c6},
  1166. {0x0000ab40, 0x00000000, 0x00000000, 0x000eb7ca, 0x000eb7ca},
  1167. {0x0000ab44, 0x00000000, 0x00000000, 0x000eb7ce, 0x000eb7ce},
  1168. {0x0000ab48, 0x00000000, 0x00000000, 0x000eb7d2, 0x000eb7d2},
  1169. {0x0000ab4c, 0x00000000, 0x00000000, 0x000eb7d6, 0x000eb7d6},
  1170. {0x0000ab50, 0x00000000, 0x00000000, 0x000eb7c3, 0x000eb7c3},
  1171. {0x0000ab54, 0x00000000, 0x00000000, 0x000eb7c7, 0x000eb7c7},
  1172. {0x0000ab58, 0x00000000, 0x00000000, 0x000eb7cb, 0x000eb7cb},
  1173. {0x0000ab5c, 0x00000000, 0x00000000, 0x000eb7cf, 0x000eb7cf},
  1174. {0x0000ab60, 0x00000000, 0x00000000, 0x000eb7d7, 0x000eb7d7},
  1175. {0x0000ab64, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1176. {0x0000ab68, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1177. {0x0000ab6c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1178. {0x0000ab70, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1179. {0x0000ab74, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1180. {0x0000ab78, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1181. {0x0000ab7c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1182. {0x0000ab80, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1183. {0x0000ab84, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1184. {0x0000ab88, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1185. {0x0000ab8c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1186. {0x0000ab90, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1187. {0x0000ab94, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1188. {0x0000ab98, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1189. {0x0000ab9c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1190. {0x0000aba0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1191. {0x0000aba4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1192. {0x0000aba8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1193. {0x0000abac, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1194. {0x0000abb0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1195. {0x0000abb4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1196. {0x0000abb8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1197. {0x0000abbc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1198. {0x0000abc0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1199. {0x0000abc4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1200. {0x0000abc8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1201. {0x0000abcc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1202. {0x0000abd0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1203. {0x0000abd4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1204. {0x0000abd8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1205. {0x0000abdc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1206. {0x0000abe0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1207. {0x0000abe4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1208. {0x0000abe8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1209. {0x0000abec, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1210. {0x0000abf0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1211. {0x0000abf4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1212. {0x0000abf8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1213. {0x0000abfc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  1214. {0x0000a204, 0x00000004, 0x00000004, 0x00000004, 0x00000004},
  1215. {0x0000a20c, 0x00000014, 0x00000014, 0x0001f000, 0x0001f000},
  1216. {0x0000b20c, 0x00000014, 0x00000014, 0x0001f000, 0x0001f000},
  1217. {0x0000a21c, 0x1883800a, 0x1883800a, 0x1883800a, 0x1883800a},
  1218. {0x0000a230, 0x00000000, 0x00000000, 0x00000210, 0x00000108},
  1219. {0x0000a250, 0x0004f000, 0x0004f000, 0x0004a000, 0x0004a000},
  1220. {0x0000a358, 0x7999aa02, 0x7999aa02, 0x7999aa0e, 0x7999aa0e},
  1221. };
  1222. static const u32 ar9285Common_9285_1_2[][2] = {
  1223. /* Addr allmodes */
  1224. {0x0000000c, 0x00000000},
  1225. {0x00000030, 0x00020045},
  1226. {0x00000034, 0x00000005},
  1227. {0x00000040, 0x00000000},
  1228. {0x00000044, 0x00000008},
  1229. {0x00000048, 0x00000008},
  1230. {0x0000004c, 0x00000010},
  1231. {0x00000050, 0x00000000},
  1232. {0x00000054, 0x0000001f},
  1233. {0x00000800, 0x00000000},
  1234. {0x00000804, 0x00000000},
  1235. {0x00000808, 0x00000000},
  1236. {0x0000080c, 0x00000000},
  1237. {0x00000810, 0x00000000},
  1238. {0x00000814, 0x00000000},
  1239. {0x00000818, 0x00000000},
  1240. {0x0000081c, 0x00000000},
  1241. {0x00000820, 0x00000000},
  1242. {0x00000824, 0x00000000},
  1243. {0x00001040, 0x002ffc0f},
  1244. {0x00001044, 0x002ffc0f},
  1245. {0x00001048, 0x002ffc0f},
  1246. {0x0000104c, 0x002ffc0f},
  1247. {0x00001050, 0x002ffc0f},
  1248. {0x00001054, 0x002ffc0f},
  1249. {0x00001058, 0x002ffc0f},
  1250. {0x0000105c, 0x002ffc0f},
  1251. {0x00001060, 0x002ffc0f},
  1252. {0x00001064, 0x002ffc0f},
  1253. {0x00001230, 0x00000000},
  1254. {0x00001270, 0x00000000},
  1255. {0x00001038, 0x00000000},
  1256. {0x00001078, 0x00000000},
  1257. {0x000010b8, 0x00000000},
  1258. {0x000010f8, 0x00000000},
  1259. {0x00001138, 0x00000000},
  1260. {0x00001178, 0x00000000},
  1261. {0x000011b8, 0x00000000},
  1262. {0x000011f8, 0x00000000},
  1263. {0x00001238, 0x00000000},
  1264. {0x00001278, 0x00000000},
  1265. {0x000012b8, 0x00000000},
  1266. {0x000012f8, 0x00000000},
  1267. {0x00001338, 0x00000000},
  1268. {0x00001378, 0x00000000},
  1269. {0x000013b8, 0x00000000},
  1270. {0x000013f8, 0x00000000},
  1271. {0x00001438, 0x00000000},
  1272. {0x00001478, 0x00000000},
  1273. {0x000014b8, 0x00000000},
  1274. {0x000014f8, 0x00000000},
  1275. {0x00001538, 0x00000000},
  1276. {0x00001578, 0x00000000},
  1277. {0x000015b8, 0x00000000},
  1278. {0x000015f8, 0x00000000},
  1279. {0x00001638, 0x00000000},
  1280. {0x00001678, 0x00000000},
  1281. {0x000016b8, 0x00000000},
  1282. {0x000016f8, 0x00000000},
  1283. {0x00001738, 0x00000000},
  1284. {0x00001778, 0x00000000},
  1285. {0x000017b8, 0x00000000},
  1286. {0x000017f8, 0x00000000},
  1287. {0x0000103c, 0x00000000},
  1288. {0x0000107c, 0x00000000},
  1289. {0x000010bc, 0x00000000},
  1290. {0x000010fc, 0x00000000},
  1291. {0x0000113c, 0x00000000},
  1292. {0x0000117c, 0x00000000},
  1293. {0x000011bc, 0x00000000},
  1294. {0x000011fc, 0x00000000},
  1295. {0x0000123c, 0x00000000},
  1296. {0x0000127c, 0x00000000},
  1297. {0x000012bc, 0x00000000},
  1298. {0x000012fc, 0x00000000},
  1299. {0x0000133c, 0x00000000},
  1300. {0x0000137c, 0x00000000},
  1301. {0x000013bc, 0x00000000},
  1302. {0x000013fc, 0x00000000},
  1303. {0x0000143c, 0x00000000},
  1304. {0x0000147c, 0x00000000},
  1305. {0x00004030, 0x00000002},
  1306. {0x0000403c, 0x00000002},
  1307. {0x00004024, 0x0000001f},
  1308. {0x00004060, 0x00000000},
  1309. {0x00004064, 0x00000000},
  1310. {0x00007010, 0x00000031},
  1311. {0x00007034, 0x00000002},
  1312. {0x00007038, 0x000004c2},
  1313. {0x00008004, 0x00000000},
  1314. {0x00008008, 0x00000000},
  1315. {0x0000800c, 0x00000000},
  1316. {0x00008018, 0x00000700},
  1317. {0x00008020, 0x00000000},
  1318. {0x00008038, 0x00000000},
  1319. {0x0000803c, 0x00000000},
  1320. {0x00008048, 0x00000000},
  1321. {0x00008054, 0x00000000},
  1322. {0x00008058, 0x00000000},
  1323. {0x0000805c, 0x000fc78f},
  1324. {0x00008060, 0x0000000f},
  1325. {0x00008064, 0x00000000},
  1326. {0x00008070, 0x00000000},
  1327. {0x000080c0, 0x2a80001a},
  1328. {0x000080c4, 0x05dc01e0},
  1329. {0x000080c8, 0x1f402710},
  1330. {0x000080cc, 0x01f40000},
  1331. {0x000080d0, 0x00001e00},
  1332. {0x000080d4, 0x00000000},
  1333. {0x000080d8, 0x00400000},
  1334. {0x000080e0, 0xffffffff},
  1335. {0x000080e4, 0x0000ffff},
  1336. {0x000080e8, 0x003f3f3f},
  1337. {0x000080ec, 0x00000000},
  1338. {0x000080f0, 0x00000000},
  1339. {0x000080f4, 0x00000000},
  1340. {0x000080f8, 0x00000000},
  1341. {0x000080fc, 0x00020000},
  1342. {0x00008100, 0x00020000},
  1343. {0x00008104, 0x00000001},
  1344. {0x00008108, 0x00000052},
  1345. {0x0000810c, 0x00000000},
  1346. {0x00008110, 0x00000168},
  1347. {0x00008118, 0x000100aa},
  1348. {0x0000811c, 0x00003210},
  1349. {0x00008120, 0x08f04810},
  1350. {0x00008124, 0x00000000},
  1351. {0x00008128, 0x00000000},
  1352. {0x0000812c, 0x00000000},
  1353. {0x00008130, 0x00000000},
  1354. {0x00008134, 0x00000000},
  1355. {0x00008138, 0x00000000},
  1356. {0x0000813c, 0x00000000},
  1357. {0x00008144, 0xffffffff},
  1358. {0x00008168, 0x00000000},
  1359. {0x0000816c, 0x00000000},
  1360. {0x00008170, 0x32143320},
  1361. {0x00008174, 0xfaa4fa50},
  1362. {0x00008178, 0x00000100},
  1363. {0x0000817c, 0x00000000},
  1364. {0x000081c0, 0x00000000},
  1365. {0x000081d0, 0x0000320a},
  1366. {0x000081ec, 0x00000000},
  1367. {0x000081f0, 0x00000000},
  1368. {0x000081f4, 0x00000000},
  1369. {0x000081f8, 0x00000000},
  1370. {0x000081fc, 0x00000000},
  1371. {0x00008200, 0x00000000},
  1372. {0x00008204, 0x00000000},
  1373. {0x00008208, 0x00000000},
  1374. {0x0000820c, 0x00000000},
  1375. {0x00008210, 0x00000000},
  1376. {0x00008214, 0x00000000},
  1377. {0x00008218, 0x00000000},
  1378. {0x0000821c, 0x00000000},
  1379. {0x00008220, 0x00000000},
  1380. {0x00008224, 0x00000000},
  1381. {0x00008228, 0x00000000},
  1382. {0x0000822c, 0x00000000},
  1383. {0x00008230, 0x00000000},
  1384. {0x00008234, 0x00000000},
  1385. {0x00008238, 0x00000000},
  1386. {0x0000823c, 0x00000000},
  1387. {0x00008240, 0x00100000},
  1388. {0x00008244, 0x0010f400},
  1389. {0x00008248, 0x00000100},
  1390. {0x0000824c, 0x0001e800},
  1391. {0x00008250, 0x00000000},
  1392. {0x00008254, 0x00000000},
  1393. {0x00008258, 0x00000000},
  1394. {0x0000825c, 0x400000ff},
  1395. {0x00008260, 0x00080922},
  1396. {0x00008264, 0x88a00010},
  1397. {0x00008270, 0x00000000},
  1398. {0x00008274, 0x40000000},
  1399. {0x00008278, 0x003e4180},
  1400. {0x0000827c, 0x00000000},
  1401. {0x00008284, 0x0000002c},
  1402. {0x00008288, 0x0000002c},
  1403. {0x0000828c, 0x00000000},
  1404. {0x00008294, 0x00000000},
  1405. {0x00008298, 0x00000000},
  1406. {0x0000829c, 0x00000000},
  1407. {0x00008300, 0x00000040},
  1408. {0x00008314, 0x00000000},
  1409. {0x00008328, 0x00000000},
  1410. {0x0000832c, 0x00000001},
  1411. {0x00008330, 0x00000302},
  1412. {0x00008334, 0x00000e00},
  1413. {0x00008338, 0x00ff0000},
  1414. {0x0000833c, 0x00000000},
  1415. {0x00008340, 0x00010380},
  1416. {0x00008344, 0x00481043},
  1417. {0x00009808, 0x00000000},
  1418. {0x0000980c, 0xafe68e30},
  1419. {0x00009810, 0xfd14e000},
  1420. {0x00009814, 0x9c0a9f6b},
  1421. {0x0000981c, 0x00000000},
  1422. {0x0000982c, 0x0000a000},
  1423. {0x00009830, 0x00000000},
  1424. {0x0000983c, 0x00200400},
  1425. {0x0000984c, 0x0040233c},
  1426. {0x00009854, 0x00000044},
  1427. {0x00009900, 0x00000000},
  1428. {0x00009904, 0x00000000},
  1429. {0x00009908, 0x00000000},
  1430. {0x0000990c, 0x00000000},
  1431. {0x00009910, 0x01002310},
  1432. {0x0000991c, 0x10000fff},
  1433. {0x00009920, 0x04900000},
  1434. {0x00009928, 0x00000001},
  1435. {0x0000992c, 0x00000004},
  1436. {0x00009934, 0x1e1f2022},
  1437. {0x00009938, 0x0a0b0c0d},
  1438. {0x0000993c, 0x00000000},
  1439. {0x00009940, 0x14750604},
  1440. {0x00009948, 0x9280c00a},
  1441. {0x0000994c, 0x00020028},
  1442. {0x00009954, 0x5f3ca3de},
  1443. {0x00009958, 0x2108ecff},
  1444. {0x00009968, 0x000003ce},
  1445. {0x00009970, 0x192bb514},
  1446. {0x00009974, 0x00000000},
  1447. {0x00009978, 0x00000001},
  1448. {0x0000997c, 0x00000000},
  1449. {0x00009980, 0x00000000},
  1450. {0x00009984, 0x00000000},
  1451. {0x00009988, 0x00000000},
  1452. {0x0000998c, 0x00000000},
  1453. {0x00009990, 0x00000000},
  1454. {0x00009994, 0x00000000},
  1455. {0x00009998, 0x00000000},
  1456. {0x0000999c, 0x00000000},
  1457. {0x000099a0, 0x00000000},
  1458. {0x000099a4, 0x00000001},
  1459. {0x000099a8, 0x201fff00},
  1460. {0x000099ac, 0x2def0400},
  1461. {0x000099b0, 0x03051000},
  1462. {0x000099b4, 0x00000820},
  1463. {0x000099dc, 0x00000000},
  1464. {0x000099e0, 0x00000000},
  1465. {0x000099e4, 0xaaaaaaaa},
  1466. {0x000099e8, 0x3c466478},
  1467. {0x000099ec, 0x0cc80caa},
  1468. {0x000099f0, 0x00000000},
  1469. {0x0000a208, 0x803e68c8},
  1470. {0x0000a210, 0x4080a333},
  1471. {0x0000a214, 0x00206c10},
  1472. {0x0000a218, 0x009c4060},
  1473. {0x0000a220, 0x01834061},
  1474. {0x0000a224, 0x00000400},
  1475. {0x0000a228, 0x000003b5},
  1476. {0x0000a22c, 0x00000000},
  1477. {0x0000a234, 0x20202020},
  1478. {0x0000a238, 0x20202020},
  1479. {0x0000a244, 0x00000000},
  1480. {0x0000a248, 0xfffffffc},
  1481. {0x0000a24c, 0x00000000},
  1482. {0x0000a254, 0x00000000},
  1483. {0x0000a258, 0x0ccb5380},
  1484. {0x0000a25c, 0x15151501},
  1485. {0x0000a260, 0xdfa90f01},
  1486. {0x0000a268, 0x00000000},
  1487. {0x0000a26c, 0x0ebae9e6},
  1488. {0x0000d270, 0x0d820820},
  1489. {0x0000d35c, 0x07ffffef},
  1490. {0x0000d360, 0x0fffffe7},
  1491. {0x0000d364, 0x17ffffe5},
  1492. {0x0000d368, 0x1fffffe4},
  1493. {0x0000d36c, 0x37ffffe3},
  1494. {0x0000d370, 0x3fffffe3},
  1495. {0x0000d374, 0x57ffffe3},
  1496. {0x0000d378, 0x5fffffe2},
  1497. {0x0000d37c, 0x7fffffe2},
  1498. {0x0000d380, 0x7f3c7bba},
  1499. {0x0000d384, 0xf3307ff0},
  1500. {0x0000a388, 0x0c000000},
  1501. {0x0000a38c, 0x20202020},
  1502. {0x0000a390, 0x20202020},
  1503. {0x0000a39c, 0x00000001},
  1504. {0x0000a3a0, 0x00000000},
  1505. {0x0000a3a4, 0x00000000},
  1506. {0x0000a3a8, 0x00000000},
  1507. {0x0000a3ac, 0x00000000},
  1508. {0x0000a3b0, 0x00000000},
  1509. {0x0000a3b4, 0x00000000},
  1510. {0x0000a3b8, 0x00000000},
  1511. {0x0000a3bc, 0x00000000},
  1512. {0x0000a3c0, 0x00000000},
  1513. {0x0000a3c4, 0x00000000},
  1514. {0x0000a3cc, 0x20202020},
  1515. {0x0000a3d0, 0x20202020},
  1516. {0x0000a3d4, 0x20202020},
  1517. {0x0000a3e4, 0x00000000},
  1518. {0x0000a3e8, 0x18c43433},
  1519. {0x0000a3ec, 0x00f70081},
  1520. {0x00007800, 0x00140000},
  1521. {0x00007804, 0x0e4548d8},
  1522. {0x00007808, 0x54214514},
  1523. {0x0000780c, 0x02025830},
  1524. {0x00007810, 0x71c0d388},
  1525. {0x0000781c, 0x00000000},
  1526. {0x00007824, 0x00d86fff},
  1527. {0x0000782c, 0x6e36d97b},
  1528. {0x00007834, 0x71400087},
  1529. {0x00007844, 0x000c0db6},
  1530. {0x00007848, 0x6db6246f},
  1531. {0x0000784c, 0x6d9b66db},
  1532. {0x00007850, 0x6d8c6dba},
  1533. {0x00007854, 0x00040000},
  1534. {0x00007858, 0xdb003012},
  1535. {0x0000785c, 0x04924914},
  1536. {0x00007860, 0x21084210},
  1537. {0x00007864, 0xf7d7ffde},
  1538. {0x00007868, 0xc2034080},
  1539. {0x00007870, 0x10142c00},
  1540. };
  1541. static const u32 ar9285Modes_high_power_tx_gain_9285_1_2[][5] = {
  1542. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  1543. {0x0000a300, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  1544. {0x0000a304, 0x00000000, 0x00000000, 0x00006200, 0x00006200},
  1545. {0x0000a308, 0x00000000, 0x00000000, 0x00008201, 0x00008201},
  1546. {0x0000a30c, 0x00000000, 0x00000000, 0x0000b240, 0x0000b240},
  1547. {0x0000a310, 0x00000000, 0x00000000, 0x0000d241, 0x0000d241},
  1548. {0x0000a314, 0x00000000, 0x00000000, 0x0000f600, 0x0000f600},
  1549. {0x0000a318, 0x00000000, 0x00000000, 0x00012800, 0x00012800},
  1550. {0x0000a31c, 0x00000000, 0x00000000, 0x00016802, 0x00016802},
  1551. {0x0000a320, 0x00000000, 0x00000000, 0x0001b805, 0x0001b805},
  1552. {0x0000a324, 0x00000000, 0x00000000, 0x00021a80, 0x00021a80},
  1553. {0x0000a328, 0x00000000, 0x00000000, 0x00028b00, 0x00028b00},
  1554. {0x0000a32c, 0x00000000, 0x00000000, 0x0002ab40, 0x0002ab40},
  1555. {0x0000a330, 0x00000000, 0x00000000, 0x0002cd80, 0x0002cd80},
  1556. {0x0000a334, 0x00000000, 0x00000000, 0x00033d82, 0x00033d82},
  1557. {0x0000a338, 0x0003891e, 0x0003891e, 0x0003891e, 0x0003891e},
  1558. {0x0000a33c, 0x0003a95e, 0x0003a95e, 0x0003a95e, 0x0003a95e},
  1559. {0x0000a340, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1560. {0x0000a344, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1561. {0x0000a348, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1562. {0x0000a34c, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1563. {0x0000a350, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1564. {0x0000a354, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1565. {0x00007814, 0x924934a8, 0x924934a8, 0x924934a8, 0x924934a8},
  1566. {0x00007828, 0x26d2491b, 0x26d2491b, 0x26d2491b, 0x26d2491b},
  1567. {0x00007830, 0xedb6d96e, 0xedb6d96e, 0xedb6d96e, 0xedb6d96e},
  1568. {0x00007838, 0xfac68803, 0xfac68803, 0xfac68803, 0xfac68803},
  1569. {0x0000783c, 0x0001fffe, 0x0001fffe, 0x0001fffe, 0x0001fffe},
  1570. {0x00007840, 0xffeb1a20, 0xffeb1a20, 0xffeb1a20, 0xffeb1a20},
  1571. {0x0000786c, 0x08609ebe, 0x08609ebe, 0x08609ebe, 0x08609ebe},
  1572. {0x00007820, 0x00000c00, 0x00000c00, 0x00000c00, 0x00000c00},
  1573. {0x0000a274, 0x0a22a652, 0x0a22a652, 0x0a216652, 0x0a216652},
  1574. {0x0000a278, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7},
  1575. {0x0000a27c, 0x050380e7, 0x050380e7, 0x050380e7, 0x050380e7},
  1576. {0x0000a394, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7},
  1577. {0x0000a398, 0x000000e7, 0x000000e7, 0x000000e7, 0x000000e7},
  1578. {0x0000a3dc, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7},
  1579. {0x0000a3e0, 0x000000e7, 0x000000e7, 0x000000e7, 0x000000e7},
  1580. };
  1581. static const u32 ar9285Modes_original_tx_gain_9285_1_2[][5] = {
  1582. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  1583. {0x0000a300, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  1584. {0x0000a304, 0x00000000, 0x00000000, 0x00009200, 0x00009200},
  1585. {0x0000a308, 0x00000000, 0x00000000, 0x00010208, 0x00010208},
  1586. {0x0000a30c, 0x00000000, 0x00000000, 0x00019608, 0x00019608},
  1587. {0x0000a310, 0x00000000, 0x00000000, 0x00022618, 0x00022618},
  1588. {0x0000a314, 0x00000000, 0x00000000, 0x0002a6c9, 0x0002a6c9},
  1589. {0x0000a318, 0x00000000, 0x00000000, 0x00031710, 0x00031710},
  1590. {0x0000a31c, 0x00000000, 0x00000000, 0x00035718, 0x00035718},
  1591. {0x0000a320, 0x00000000, 0x00000000, 0x00038758, 0x00038758},
  1592. {0x0000a324, 0x00000000, 0x00000000, 0x0003c75a, 0x0003c75a},
  1593. {0x0000a328, 0x00000000, 0x00000000, 0x0004075c, 0x0004075c},
  1594. {0x0000a32c, 0x00000000, 0x00000000, 0x0004475e, 0x0004475e},
  1595. {0x0000a330, 0x00000000, 0x00000000, 0x0004679f, 0x0004679f},
  1596. {0x0000a334, 0x00000000, 0x00000000, 0x000487df, 0x000487df},
  1597. {0x0000a338, 0x0003891e, 0x0003891e, 0x0003891e, 0x0003891e},
  1598. {0x0000a33c, 0x0003a95e, 0x0003a95e, 0x0003a95e, 0x0003a95e},
  1599. {0x0000a340, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1600. {0x0000a344, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1601. {0x0000a348, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1602. {0x0000a34c, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1603. {0x0000a350, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1604. {0x0000a354, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1605. {0x00007814, 0x924934a8, 0x924934a8, 0x924934a8, 0x924934a8},
  1606. {0x00007828, 0x26d2491b, 0x26d2491b, 0x26d2491b, 0x26d2491b},
  1607. {0x00007830, 0xedb6d96e, 0xedb6d96e, 0xedb6d96e, 0xedb6d96e},
  1608. {0x00007838, 0xfac68801, 0xfac68801, 0xfac68801, 0xfac68801},
  1609. {0x0000783c, 0x0001fffe, 0x0001fffe, 0x0001fffe, 0x0001fffe},
  1610. {0x00007840, 0xffeb1a20, 0xffeb1a20, 0xffeb1a20, 0xffeb1a20},
  1611. {0x0000786c, 0x48609eb4, 0x48609eb4, 0x48609eb4, 0x48609eb4},
  1612. {0x00007820, 0x00000c04, 0x00000c04, 0x00000c04, 0x00000c04},
  1613. {0x0000a274, 0x0a21c652, 0x0a21c652, 0x0a21a652, 0x0a21a652},
  1614. {0x0000a278, 0x39ce739c, 0x39ce739c, 0x39ce739c, 0x39ce739c},
  1615. {0x0000a27c, 0x050e039c, 0x050e039c, 0x050e039c, 0x050e039c},
  1616. {0x0000a394, 0x39ce739c, 0x39ce739c, 0x39ce739c, 0x39ce739c},
  1617. {0x0000a398, 0x0000039c, 0x0000039c, 0x0000039c, 0x0000039c},
  1618. {0x0000a3dc, 0x39ce739c, 0x39ce739c, 0x39ce739c, 0x39ce739c},
  1619. {0x0000a3e0, 0x0000039c, 0x0000039c, 0x0000039c, 0x0000039c},
  1620. };
  1621. static const u32 ar9285Modes_XE2_0_normal_power[][5] = {
  1622. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  1623. {0x0000a300, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  1624. {0x0000a304, 0x00000000, 0x00000000, 0x00009200, 0x00009200},
  1625. {0x0000a308, 0x00000000, 0x00000000, 0x00010208, 0x00010208},
  1626. {0x0000a30c, 0x00000000, 0x00000000, 0x00019608, 0x00019608},
  1627. {0x0000a310, 0x00000000, 0x00000000, 0x00022618, 0x00022618},
  1628. {0x0000a314, 0x00000000, 0x00000000, 0x0002a6c9, 0x0002a6c9},
  1629. {0x0000a318, 0x00000000, 0x00000000, 0x00031710, 0x00031710},
  1630. {0x0000a31c, 0x00000000, 0x00000000, 0x00035718, 0x00035718},
  1631. {0x0000a320, 0x00000000, 0x00000000, 0x00038758, 0x00038758},
  1632. {0x0000a324, 0x00000000, 0x00000000, 0x0003c75a, 0x0003c75a},
  1633. {0x0000a328, 0x00000000, 0x00000000, 0x0004075c, 0x0004075c},
  1634. {0x0000a32c, 0x00000000, 0x00000000, 0x0004475e, 0x0004475e},
  1635. {0x0000a330, 0x00000000, 0x00000000, 0x0004679f, 0x0004679f},
  1636. {0x0000a334, 0x00000000, 0x00000000, 0x000487df, 0x000487df},
  1637. {0x0000a338, 0x0003891e, 0x0003891e, 0x0003891e, 0x0003891e},
  1638. {0x0000a33c, 0x0003a95e, 0x0003a95e, 0x0003a95e, 0x0003a95e},
  1639. {0x0000a340, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1640. {0x0000a344, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1641. {0x0000a348, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1642. {0x0000a34c, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1643. {0x0000a350, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1644. {0x0000a354, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1645. {0x00007814, 0x92497ca8, 0x92497ca8, 0x92497ca8, 0x92497ca8},
  1646. {0x00007828, 0x4ad2491b, 0x4ad2491b, 0x2ad2491b, 0x4ad2491b},
  1647. {0x00007830, 0xedb6da6e, 0xedb6da6e, 0xedb6da6e, 0xedb6da6e},
  1648. {0x00007838, 0xdac71441, 0xdac71441, 0xdac71441, 0xdac71441},
  1649. {0x0000783c, 0x2481f6fe, 0x2481f6fe, 0x2481f6fe, 0x2481f6fe},
  1650. {0x00007840, 0xba5f638c, 0xba5f638c, 0xba5f638c, 0xba5f638c},
  1651. {0x0000786c, 0x48609eb4, 0x48609eb4, 0x48609eb4, 0x48609eb4},
  1652. {0x00007820, 0x00000c04, 0x00000c04, 0x00000c04, 0x00000c04},
  1653. {0x0000a274, 0x0a21c652, 0x0a21c652, 0x0a21a652, 0x0a21a652},
  1654. {0x0000a278, 0x39ce739c, 0x39ce739c, 0x39ce739c, 0x39ce739c},
  1655. {0x0000a27c, 0x050e039c, 0x050e039c, 0x050e039c, 0x050e039c},
  1656. {0x0000a394, 0x39ce739c, 0x39ce739c, 0x39ce739c, 0x39ce739c},
  1657. {0x0000a398, 0x0000039c, 0x0000039c, 0x0000039c, 0x0000039c},
  1658. {0x0000a3dc, 0x39ce739c, 0x39ce739c, 0x39ce739c, 0x39ce739c},
  1659. {0x0000a3e0, 0x0000039c, 0x0000039c, 0x0000039c, 0x0000039c},
  1660. };
  1661. static const u32 ar9285Modes_XE2_0_high_power[][5] = {
  1662. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  1663. {0x0000a300, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  1664. {0x0000a304, 0x00000000, 0x00000000, 0x00006200, 0x00006200},
  1665. {0x0000a308, 0x00000000, 0x00000000, 0x00008201, 0x00008201},
  1666. {0x0000a30c, 0x00000000, 0x00000000, 0x0000b240, 0x0000b240},
  1667. {0x0000a310, 0x00000000, 0x00000000, 0x0000d241, 0x0000d241},
  1668. {0x0000a314, 0x00000000, 0x00000000, 0x0000f600, 0x0000f600},
  1669. {0x0000a318, 0x00000000, 0x00000000, 0x00012800, 0x00012800},
  1670. {0x0000a31c, 0x00000000, 0x00000000, 0x00016802, 0x00016802},
  1671. {0x0000a320, 0x00000000, 0x00000000, 0x0001b805, 0x0001b805},
  1672. {0x0000a324, 0x00000000, 0x00000000, 0x00021a80, 0x00021a80},
  1673. {0x0000a328, 0x00000000, 0x00000000, 0x00028b00, 0x00028b00},
  1674. {0x0000a32c, 0x00000000, 0x00000000, 0x0002ab40, 0x0002ab40},
  1675. {0x0000a330, 0x00000000, 0x00000000, 0x0002cd80, 0x0002cd80},
  1676. {0x0000a334, 0x00000000, 0x00000000, 0x00033d82, 0x00033d82},
  1677. {0x0000a338, 0x0003891e, 0x0003891e, 0x0003891e, 0x0003891e},
  1678. {0x0000a33c, 0x0003a95e, 0x0003a95e, 0x0003a95e, 0x0003a95e},
  1679. {0x0000a340, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1680. {0x0000a344, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1681. {0x0000a348, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1682. {0x0000a34c, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1683. {0x0000a350, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1684. {0x0000a354, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  1685. {0x00007814, 0x92497ca8, 0x92497ca8, 0x92497ca8, 0x92497ca8},
  1686. {0x00007828, 0x4ad2491b, 0x4ad2491b, 0x2ad2491b, 0x4ad2491b},
  1687. {0x00007830, 0xedb6da6e, 0xedb6da6e, 0xedb6da6e, 0xedb6da6e},
  1688. {0x00007838, 0xdac71443, 0xdac71443, 0xdac71443, 0xdac71443},
  1689. {0x0000783c, 0x2481f6fe, 0x2481f6fe, 0x2481f6fe, 0x2481f6fe},
  1690. {0x00007840, 0xba5f638c, 0xba5f638c, 0xba5f638c, 0xba5f638c},
  1691. {0x0000786c, 0x08609ebe, 0x08609ebe, 0x08609ebe, 0x08609ebe},
  1692. {0x00007820, 0x00000c00, 0x00000c00, 0x00000c00, 0x00000c00},
  1693. {0x0000a274, 0x0a22a652, 0x0a22a652, 0x0a216652, 0x0a216652},
  1694. {0x0000a278, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7},
  1695. {0x0000a27c, 0x050380e7, 0x050380e7, 0x050380e7, 0x050380e7},
  1696. {0x0000a394, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7},
  1697. {0x0000a398, 0x000000e7, 0x000000e7, 0x000000e7, 0x000000e7},
  1698. {0x0000a3dc, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7},
  1699. {0x0000a3e0, 0x000000e7, 0x000000e7, 0x000000e7, 0x000000e7},
  1700. };
  1701. static const u32 ar9287Modes_9287_1_1[][5] = {
  1702. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  1703. {0x00001030, 0x00000000, 0x00000000, 0x000002c0, 0x00000160},
  1704. {0x00001070, 0x00000000, 0x00000000, 0x00000318, 0x0000018c},
  1705. {0x000010b0, 0x00000000, 0x00000000, 0x00007c70, 0x00003e38},
  1706. {0x000010f0, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  1707. {0x00008014, 0x00000000, 0x00000000, 0x10801600, 0x08400b00},
  1708. {0x0000801c, 0x00000000, 0x00000000, 0x12e00057, 0x12e0002b},
  1709. {0x00008120, 0x08f04800, 0x08f04800, 0x08f04810, 0x08f04810},
  1710. {0x000081d0, 0x00003200, 0x00003200, 0x0000320a, 0x0000320a},
  1711. {0x00008318, 0x00000000, 0x00000000, 0x00006880, 0x00003440},
  1712. {0x00009804, 0x00000000, 0x00000000, 0x000003c4, 0x00000300},
  1713. {0x00009820, 0x00000000, 0x00000000, 0x02020200, 0x02020200},
  1714. {0x00009824, 0x00000000, 0x00000000, 0x01000e0e, 0x01000e0e},
  1715. {0x00009828, 0x00000000, 0x00000000, 0x3a020001, 0x3a020001},
  1716. {0x00009834, 0x00000000, 0x00000000, 0x00000e0e, 0x00000e0e},
  1717. {0x00009838, 0x00000003, 0x00000003, 0x00000007, 0x00000007},
  1718. {0x00009840, 0x206a002e, 0x206a002e, 0x206a012e, 0x206a012e},
  1719. {0x00009844, 0x03720000, 0x03720000, 0x037216a0, 0x037216a0},
  1720. {0x00009850, 0x60000000, 0x60000000, 0x6d4000e2, 0x6c4000e2},
  1721. {0x00009858, 0x7c000d00, 0x7c000d00, 0x7ec84d2e, 0x7ec84d2e},
  1722. {0x0000985c, 0x3100005e, 0x3100005e, 0x3139605e, 0x31395d5e},
  1723. {0x00009860, 0x00058d00, 0x00058d00, 0x00058d20, 0x00058d20},
  1724. {0x00009864, 0x00000e00, 0x00000e00, 0x0001ce00, 0x0001ce00},
  1725. {0x00009868, 0x000040c0, 0x000040c0, 0x5ac640d0, 0x5ac640d0},
  1726. {0x0000986c, 0x00000080, 0x00000080, 0x06903881, 0x06903881},
  1727. {0x00009914, 0x00000000, 0x00000000, 0x00001130, 0x00000898},
  1728. {0x00009918, 0x00000000, 0x00000000, 0x00000016, 0x0000000b},
  1729. {0x00009924, 0xd00a8a01, 0xd00a8a01, 0xd00a8a0d, 0xd00a8a0d},
  1730. {0x00009944, 0xefbc0000, 0xefbc0000, 0xefbc1010, 0xefbc1010},
  1731. {0x00009960, 0x00000000, 0x00000000, 0x00000010, 0x00000010},
  1732. {0x0000a960, 0x00000000, 0x00000000, 0x00000010, 0x00000010},
  1733. {0x00009964, 0x00000000, 0x00000000, 0x00000210, 0x00000210},
  1734. {0x0000c968, 0x00000200, 0x00000200, 0x000003ce, 0x000003ce},
  1735. {0x000099b8, 0x00000000, 0x00000000, 0x0000001c, 0x0000001c},
  1736. {0x000099bc, 0x00000000, 0x00000000, 0x00000c00, 0x00000c00},
  1737. {0x000099c0, 0x00000000, 0x00000000, 0x05eea6d4, 0x05eea6d4},
  1738. {0x0000a204, 0x00000440, 0x00000440, 0x00000444, 0x00000444},
  1739. {0x0000a20c, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  1740. {0x0000b20c, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  1741. {0x0000a21c, 0x1803800a, 0x1803800a, 0x1883800a, 0x1883800a},
  1742. {0x0000a230, 0x00000000, 0x00000000, 0x00000210, 0x00000108},
  1743. {0x0000a250, 0x00000000, 0x00000000, 0x0004a000, 0x0004a000},
  1744. {0x0000a358, 0x7999aa02, 0x7999aa02, 0x7999aa0e, 0x7999aa0e},
  1745. {0x0000a3d8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  1746. };
  1747. static const u32 ar9287Common_9287_1_1[][2] = {
  1748. /* Addr allmodes */
  1749. {0x0000000c, 0x00000000},
  1750. {0x00000030, 0x00020015},
  1751. {0x00000034, 0x00000005},
  1752. {0x00000040, 0x00000000},
  1753. {0x00000044, 0x00000008},
  1754. {0x00000048, 0x00000008},
  1755. {0x0000004c, 0x00000010},
  1756. {0x00000050, 0x00000000},
  1757. {0x00000054, 0x0000001f},
  1758. {0x00000800, 0x00000000},
  1759. {0x00000804, 0x00000000},
  1760. {0x00000808, 0x00000000},
  1761. {0x0000080c, 0x00000000},
  1762. {0x00000810, 0x00000000},
  1763. {0x00000814, 0x00000000},
  1764. {0x00000818, 0x00000000},
  1765. {0x0000081c, 0x00000000},
  1766. {0x00000820, 0x00000000},
  1767. {0x00000824, 0x00000000},
  1768. {0x00001040, 0x002ffc0f},
  1769. {0x00001044, 0x002ffc0f},
  1770. {0x00001048, 0x002ffc0f},
  1771. {0x0000104c, 0x002ffc0f},
  1772. {0x00001050, 0x002ffc0f},
  1773. {0x00001054, 0x002ffc0f},
  1774. {0x00001058, 0x002ffc0f},
  1775. {0x0000105c, 0x002ffc0f},
  1776. {0x00001060, 0x002ffc0f},
  1777. {0x00001064, 0x002ffc0f},
  1778. {0x00001230, 0x00000000},
  1779. {0x00001270, 0x00000000},
  1780. {0x00001038, 0x00000000},
  1781. {0x00001078, 0x00000000},
  1782. {0x000010b8, 0x00000000},
  1783. {0x000010f8, 0x00000000},
  1784. {0x00001138, 0x00000000},
  1785. {0x00001178, 0x00000000},
  1786. {0x000011b8, 0x00000000},
  1787. {0x000011f8, 0x00000000},
  1788. {0x00001238, 0x00000000},
  1789. {0x00001278, 0x00000000},
  1790. {0x000012b8, 0x00000000},
  1791. {0x000012f8, 0x00000000},
  1792. {0x00001338, 0x00000000},
  1793. {0x00001378, 0x00000000},
  1794. {0x000013b8, 0x00000000},
  1795. {0x000013f8, 0x00000000},
  1796. {0x00001438, 0x00000000},
  1797. {0x00001478, 0x00000000},
  1798. {0x000014b8, 0x00000000},
  1799. {0x000014f8, 0x00000000},
  1800. {0x00001538, 0x00000000},
  1801. {0x00001578, 0x00000000},
  1802. {0x000015b8, 0x00000000},
  1803. {0x000015f8, 0x00000000},
  1804. {0x00001638, 0x00000000},
  1805. {0x00001678, 0x00000000},
  1806. {0x000016b8, 0x00000000},
  1807. {0x000016f8, 0x00000000},
  1808. {0x00001738, 0x00000000},
  1809. {0x00001778, 0x00000000},
  1810. {0x000017b8, 0x00000000},
  1811. {0x000017f8, 0x00000000},
  1812. {0x0000103c, 0x00000000},
  1813. {0x0000107c, 0x00000000},
  1814. {0x000010bc, 0x00000000},
  1815. {0x000010fc, 0x00000000},
  1816. {0x0000113c, 0x00000000},
  1817. {0x0000117c, 0x00000000},
  1818. {0x000011bc, 0x00000000},
  1819. {0x000011fc, 0x00000000},
  1820. {0x0000123c, 0x00000000},
  1821. {0x0000127c, 0x00000000},
  1822. {0x000012bc, 0x00000000},
  1823. {0x000012fc, 0x00000000},
  1824. {0x0000133c, 0x00000000},
  1825. {0x0000137c, 0x00000000},
  1826. {0x000013bc, 0x00000000},
  1827. {0x000013fc, 0x00000000},
  1828. {0x0000143c, 0x00000000},
  1829. {0x0000147c, 0x00000000},
  1830. {0x00004030, 0x00000002},
  1831. {0x0000403c, 0x00000002},
  1832. {0x00004024, 0x0000001f},
  1833. {0x00004060, 0x00000000},
  1834. {0x00004064, 0x00000000},
  1835. {0x00007010, 0x00000033},
  1836. {0x00007020, 0x00000000},
  1837. {0x00007034, 0x00000002},
  1838. {0x00007038, 0x000004c2},
  1839. {0x00008004, 0x00000000},
  1840. {0x00008008, 0x00000000},
  1841. {0x0000800c, 0x00000000},
  1842. {0x00008018, 0x00000700},
  1843. {0x00008020, 0x00000000},
  1844. {0x00008038, 0x00000000},
  1845. {0x0000803c, 0x00000000},
  1846. {0x00008048, 0x40000000},
  1847. {0x00008054, 0x00000000},
  1848. {0x00008058, 0x00000000},
  1849. {0x0000805c, 0x000fc78f},
  1850. {0x00008060, 0x0000000f},
  1851. {0x00008064, 0x00000000},
  1852. {0x00008070, 0x00000000},
  1853. {0x000080c0, 0x2a80001a},
  1854. {0x000080c4, 0x05dc01e0},
  1855. {0x000080c8, 0x1f402710},
  1856. {0x000080cc, 0x01f40000},
  1857. {0x000080d0, 0x00001e00},
  1858. {0x000080d4, 0x00000000},
  1859. {0x000080d8, 0x00400000},
  1860. {0x000080e0, 0xffffffff},
  1861. {0x000080e4, 0x0000ffff},
  1862. {0x000080e8, 0x003f3f3f},
  1863. {0x000080ec, 0x00000000},
  1864. {0x000080f0, 0x00000000},
  1865. {0x000080f4, 0x00000000},
  1866. {0x000080f8, 0x00000000},
  1867. {0x000080fc, 0x00020000},
  1868. {0x00008100, 0x00020000},
  1869. {0x00008104, 0x00000001},
  1870. {0x00008108, 0x00000052},
  1871. {0x0000810c, 0x00000000},
  1872. {0x00008110, 0x00000168},
  1873. {0x00008118, 0x000100aa},
  1874. {0x0000811c, 0x00003210},
  1875. {0x00008124, 0x00000000},
  1876. {0x00008128, 0x00000000},
  1877. {0x0000812c, 0x00000000},
  1878. {0x00008130, 0x00000000},
  1879. {0x00008134, 0x00000000},
  1880. {0x00008138, 0x00000000},
  1881. {0x0000813c, 0x00000000},
  1882. {0x00008144, 0xffffffff},
  1883. {0x00008168, 0x00000000},
  1884. {0x0000816c, 0x00000000},
  1885. {0x00008170, 0x18487320},
  1886. {0x00008174, 0xfaa4fa50},
  1887. {0x00008178, 0x00000100},
  1888. {0x0000817c, 0x00000000},
  1889. {0x000081c0, 0x00000000},
  1890. {0x000081c4, 0x00000000},
  1891. {0x000081d4, 0x00000000},
  1892. {0x000081ec, 0x00000000},
  1893. {0x000081f0, 0x00000000},
  1894. {0x000081f4, 0x00000000},
  1895. {0x000081f8, 0x00000000},
  1896. {0x000081fc, 0x00000000},
  1897. {0x00008200, 0x00000000},
  1898. {0x00008204, 0x00000000},
  1899. {0x00008208, 0x00000000},
  1900. {0x0000820c, 0x00000000},
  1901. {0x00008210, 0x00000000},
  1902. {0x00008214, 0x00000000},
  1903. {0x00008218, 0x00000000},
  1904. {0x0000821c, 0x00000000},
  1905. {0x00008220, 0x00000000},
  1906. {0x00008224, 0x00000000},
  1907. {0x00008228, 0x00000000},
  1908. {0x0000822c, 0x00000000},
  1909. {0x00008230, 0x00000000},
  1910. {0x00008234, 0x00000000},
  1911. {0x00008238, 0x00000000},
  1912. {0x0000823c, 0x00000000},
  1913. {0x00008240, 0x00100000},
  1914. {0x00008244, 0x0010f400},
  1915. {0x00008248, 0x00000100},
  1916. {0x0000824c, 0x0001e800},
  1917. {0x00008250, 0x00000000},
  1918. {0x00008254, 0x00000000},
  1919. {0x00008258, 0x00000000},
  1920. {0x0000825c, 0x400000ff},
  1921. {0x00008260, 0x00080922},
  1922. {0x00008264, 0x88a00010},
  1923. {0x00008270, 0x00000000},
  1924. {0x00008274, 0x40000000},
  1925. {0x00008278, 0x003e4180},
  1926. {0x0000827c, 0x00000000},
  1927. {0x00008284, 0x0000002c},
  1928. {0x00008288, 0x0000002c},
  1929. {0x0000828c, 0x000000ff},
  1930. {0x00008294, 0x00000000},
  1931. {0x00008298, 0x00000000},
  1932. {0x0000829c, 0x00000000},
  1933. {0x00008300, 0x00000040},
  1934. {0x00008314, 0x00000000},
  1935. {0x00008328, 0x00000000},
  1936. {0x0000832c, 0x00000007},
  1937. {0x00008330, 0x00000302},
  1938. {0x00008334, 0x00000e00},
  1939. {0x00008338, 0x00ff0000},
  1940. {0x0000833c, 0x00000000},
  1941. {0x00008340, 0x000107ff},
  1942. {0x00008344, 0x01c81043},
  1943. {0x00008360, 0xffffffff},
  1944. {0x00008364, 0xffffffff},
  1945. {0x00008368, 0x00000000},
  1946. {0x00008370, 0x00000000},
  1947. {0x00008374, 0x000000ff},
  1948. {0x00008378, 0x00000000},
  1949. {0x0000837c, 0x00000000},
  1950. {0x00008380, 0xffffffff},
  1951. {0x00008384, 0xffffffff},
  1952. {0x00008390, 0x0fffffff},
  1953. {0x00008394, 0x0fffffff},
  1954. {0x00008398, 0x00000000},
  1955. {0x0000839c, 0x00000000},
  1956. {0x000083a0, 0x00000000},
  1957. {0x00009808, 0x00000000},
  1958. {0x0000980c, 0xafe68e30},
  1959. {0x00009810, 0xfd14e000},
  1960. {0x00009814, 0x9c0a9f6b},
  1961. {0x0000981c, 0x00000000},
  1962. {0x0000982c, 0x0000a000},
  1963. {0x00009830, 0x00000000},
  1964. {0x0000983c, 0x00200400},
  1965. {0x0000984c, 0x0040233c},
  1966. {0x0000a84c, 0x0040233c},
  1967. {0x00009854, 0x00000044},
  1968. {0x00009900, 0x00000000},
  1969. {0x00009904, 0x00000000},
  1970. {0x00009908, 0x00000000},
  1971. {0x0000990c, 0x00000000},
  1972. {0x00009910, 0x10002310},
  1973. {0x0000991c, 0x10000fff},
  1974. {0x00009920, 0x04900000},
  1975. {0x0000a920, 0x04900000},
  1976. {0x00009928, 0x00000001},
  1977. {0x0000992c, 0x00000004},
  1978. {0x00009930, 0x00000000},
  1979. {0x0000a930, 0x00000000},
  1980. {0x00009934, 0x1e1f2022},
  1981. {0x00009938, 0x0a0b0c0d},
  1982. {0x0000993c, 0x00000000},
  1983. {0x00009948, 0x9280c00a},
  1984. {0x0000994c, 0x00020028},
  1985. {0x00009954, 0x5f3ca3de},
  1986. {0x00009958, 0x0108ecff},
  1987. {0x00009940, 0x14750604},
  1988. {0x0000c95c, 0x004b6a8e},
  1989. {0x00009970, 0x990bb514},
  1990. {0x00009974, 0x00000000},
  1991. {0x00009978, 0x00000001},
  1992. {0x0000997c, 0x00000000},
  1993. {0x000099a0, 0x00000000},
  1994. {0x000099a4, 0x00000001},
  1995. {0x000099a8, 0x201fff00},
  1996. {0x000099ac, 0x0c6f0000},
  1997. {0x000099b0, 0x03051000},
  1998. {0x000099b4, 0x00000820},
  1999. {0x000099c4, 0x06336f77},
  2000. {0x000099c8, 0x6af6532f},
  2001. {0x000099cc, 0x08f186c8},
  2002. {0x000099d0, 0x00046384},
  2003. {0x000099dc, 0x00000000},
  2004. {0x000099e0, 0x00000000},
  2005. {0x000099e4, 0xaaaaaaaa},
  2006. {0x000099e8, 0x3c466478},
  2007. {0x000099ec, 0x0cc80caa},
  2008. {0x000099f0, 0x00000000},
  2009. {0x000099fc, 0x00001042},
  2010. {0x0000a208, 0x803e4788},
  2011. {0x0000a210, 0x4080a333},
  2012. {0x0000a214, 0x40206c10},
  2013. {0x0000a218, 0x009c4060},
  2014. {0x0000a220, 0x01834061},
  2015. {0x0000a224, 0x00000400},
  2016. {0x0000a228, 0x000003b5},
  2017. {0x0000a22c, 0x233f7180},
  2018. {0x0000a234, 0x20202020},
  2019. {0x0000a238, 0x20202020},
  2020. {0x0000a23c, 0x13c889af},
  2021. {0x0000a240, 0x38490a20},
  2022. {0x0000a244, 0x00000000},
  2023. {0x0000a248, 0xfffffffc},
  2024. {0x0000a24c, 0x00000000},
  2025. {0x0000a254, 0x00000000},
  2026. {0x0000a258, 0x0cdbd380},
  2027. {0x0000a25c, 0x0f0f0f01},
  2028. {0x0000a260, 0xdfa91f01},
  2029. {0x0000a264, 0x00418a11},
  2030. {0x0000b264, 0x00418a11},
  2031. {0x0000a268, 0x00000000},
  2032. {0x0000a26c, 0x0e79e5c6},
  2033. {0x0000b26c, 0x0e79e5c6},
  2034. {0x0000d270, 0x00820820},
  2035. {0x0000a278, 0x1ce739ce},
  2036. {0x0000a27c, 0x050701ce},
  2037. {0x0000d35c, 0x07ffffef},
  2038. {0x0000d360, 0x0fffffe7},
  2039. {0x0000d364, 0x17ffffe5},
  2040. {0x0000d368, 0x1fffffe4},
  2041. {0x0000d36c, 0x37ffffe3},
  2042. {0x0000d370, 0x3fffffe3},
  2043. {0x0000d374, 0x57ffffe3},
  2044. {0x0000d378, 0x5fffffe2},
  2045. {0x0000d37c, 0x7fffffe2},
  2046. {0x0000d380, 0x7f3c7bba},
  2047. {0x0000d384, 0xf3307ff0},
  2048. {0x0000a388, 0x0c000000},
  2049. {0x0000a38c, 0x20202020},
  2050. {0x0000a390, 0x20202020},
  2051. {0x0000a394, 0x1ce739ce},
  2052. {0x0000a398, 0x000001ce},
  2053. {0x0000b398, 0x000001ce},
  2054. {0x0000a39c, 0x00000001},
  2055. {0x0000a3c8, 0x00000246},
  2056. {0x0000a3cc, 0x20202020},
  2057. {0x0000a3d0, 0x20202020},
  2058. {0x0000a3d4, 0x20202020},
  2059. {0x0000a3dc, 0x1ce739ce},
  2060. {0x0000a3e0, 0x000001ce},
  2061. {0x0000a3e4, 0x00000000},
  2062. {0x0000a3e8, 0x18c43433},
  2063. {0x0000a3ec, 0x00f70081},
  2064. {0x0000a3f0, 0x01036a1e},
  2065. {0x0000a3f4, 0x00000000},
  2066. {0x0000b3f4, 0x00000000},
  2067. {0x0000a7d8, 0x000003f1},
  2068. {0x00007800, 0x00000800},
  2069. {0x00007804, 0x6c35ffd2},
  2070. {0x00007808, 0x6db6c000},
  2071. {0x0000780c, 0x6db6cb30},
  2072. {0x00007810, 0x6db6cb6c},
  2073. {0x00007814, 0x0501e200},
  2074. {0x00007818, 0x0094128d},
  2075. {0x0000781c, 0x976ee392},
  2076. {0x00007820, 0xf75ff6fc},
  2077. {0x00007824, 0x00040000},
  2078. {0x00007828, 0xdb003012},
  2079. {0x0000782c, 0x04924914},
  2080. {0x00007830, 0x21084210},
  2081. {0x00007834, 0x00140000},
  2082. {0x00007838, 0x0e4548d8},
  2083. {0x0000783c, 0x54214514},
  2084. {0x00007840, 0x02025830},
  2085. {0x00007844, 0x71c0d388},
  2086. {0x00007848, 0x934934a8},
  2087. {0x00007850, 0x00000000},
  2088. {0x00007854, 0x00000800},
  2089. {0x00007858, 0x6c35ffd2},
  2090. {0x0000785c, 0x6db6c000},
  2091. {0x00007860, 0x6db6cb30},
  2092. {0x00007864, 0x6db6cb6c},
  2093. {0x00007868, 0x0501e200},
  2094. {0x0000786c, 0x0094128d},
  2095. {0x00007870, 0x976ee392},
  2096. {0x00007874, 0xf75ff6fc},
  2097. {0x00007878, 0x00040000},
  2098. {0x0000787c, 0xdb003012},
  2099. {0x00007880, 0x04924914},
  2100. {0x00007884, 0x21084210},
  2101. {0x00007888, 0x001b6db0},
  2102. {0x0000788c, 0x00376b63},
  2103. {0x00007890, 0x06db6db6},
  2104. {0x00007894, 0x006d8000},
  2105. {0x00007898, 0x48100000},
  2106. {0x0000789c, 0x00000000},
  2107. {0x000078a0, 0x08000000},
  2108. {0x000078a4, 0x0007ffd8},
  2109. {0x000078a8, 0x0007ffd8},
  2110. {0x000078ac, 0x001c0020},
  2111. {0x000078b0, 0x00060aeb},
  2112. {0x000078b4, 0x40008080},
  2113. {0x000078b8, 0x2a850160},
  2114. };
  2115. static const u32 ar9287Common_normal_cck_fir_coeff_9287_1_1[][2] = {
  2116. /* Addr allmodes */
  2117. {0x0000a1f4, 0x00fffeff},
  2118. {0x0000a1f8, 0x00f5f9ff},
  2119. {0x0000a1fc, 0xb79f6427},
  2120. };
  2121. static const u32 ar9287Common_japan_2484_cck_fir_coeff_9287_1_1[][2] = {
  2122. /* Addr allmodes */
  2123. {0x0000a1f4, 0x00000000},
  2124. {0x0000a1f8, 0xefff0301},
  2125. {0x0000a1fc, 0xca9228ee},
  2126. };
  2127. static const u32 ar9287Modes_tx_gain_9287_1_1[][5] = {
  2128. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  2129. {0x0000a300, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  2130. {0x0000a304, 0x00000000, 0x00000000, 0x00004002, 0x00004002},
  2131. {0x0000a308, 0x00000000, 0x00000000, 0x00008004, 0x00008004},
  2132. {0x0000a30c, 0x00000000, 0x00000000, 0x0000c00a, 0x0000c00a},
  2133. {0x0000a310, 0x00000000, 0x00000000, 0x0001000c, 0x0001000c},
  2134. {0x0000a314, 0x00000000, 0x00000000, 0x0001420b, 0x0001420b},
  2135. {0x0000a318, 0x00000000, 0x00000000, 0x0001824a, 0x0001824a},
  2136. {0x0000a31c, 0x00000000, 0x00000000, 0x0001c44a, 0x0001c44a},
  2137. {0x0000a320, 0x00000000, 0x00000000, 0x0002064a, 0x0002064a},
  2138. {0x0000a324, 0x00000000, 0x00000000, 0x0002484a, 0x0002484a},
  2139. {0x0000a328, 0x00000000, 0x00000000, 0x00028a4a, 0x00028a4a},
  2140. {0x0000a32c, 0x00000000, 0x00000000, 0x0002cc4a, 0x0002cc4a},
  2141. {0x0000a330, 0x00000000, 0x00000000, 0x00030e4a, 0x00030e4a},
  2142. {0x0000a334, 0x00000000, 0x00000000, 0x00034e8a, 0x00034e8a},
  2143. {0x0000a338, 0x00000000, 0x00000000, 0x00038e8c, 0x00038e8c},
  2144. {0x0000a33c, 0x00000000, 0x00000000, 0x0003cecc, 0x0003cecc},
  2145. {0x0000a340, 0x00000000, 0x00000000, 0x00040ed4, 0x00040ed4},
  2146. {0x0000a344, 0x00000000, 0x00000000, 0x00044edc, 0x00044edc},
  2147. {0x0000a348, 0x00000000, 0x00000000, 0x00048ede, 0x00048ede},
  2148. {0x0000a34c, 0x00000000, 0x00000000, 0x0004cf1e, 0x0004cf1e},
  2149. {0x0000a350, 0x00000000, 0x00000000, 0x00050f5e, 0x00050f5e},
  2150. {0x0000a354, 0x00000000, 0x00000000, 0x00054f9e, 0x00054f9e},
  2151. {0x0000a780, 0x00000000, 0x00000000, 0x00000062, 0x00000062},
  2152. {0x0000a784, 0x00000000, 0x00000000, 0x00004064, 0x00004064},
  2153. {0x0000a788, 0x00000000, 0x00000000, 0x000080a4, 0x000080a4},
  2154. {0x0000a78c, 0x00000000, 0x00000000, 0x0000c0aa, 0x0000c0aa},
  2155. {0x0000a790, 0x00000000, 0x00000000, 0x000100ac, 0x000100ac},
  2156. {0x0000a794, 0x00000000, 0x00000000, 0x000140b4, 0x000140b4},
  2157. {0x0000a798, 0x00000000, 0x00000000, 0x000180f4, 0x000180f4},
  2158. {0x0000a79c, 0x00000000, 0x00000000, 0x0001c134, 0x0001c134},
  2159. {0x0000a7a0, 0x00000000, 0x00000000, 0x00020174, 0x00020174},
  2160. {0x0000a7a4, 0x00000000, 0x00000000, 0x0002417c, 0x0002417c},
  2161. {0x0000a7a8, 0x00000000, 0x00000000, 0x0002817e, 0x0002817e},
  2162. {0x0000a7ac, 0x00000000, 0x00000000, 0x0002c1be, 0x0002c1be},
  2163. {0x0000a7b0, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2164. {0x0000a7b4, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2165. {0x0000a7b8, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2166. {0x0000a7bc, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2167. {0x0000a7c0, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2168. {0x0000a7c4, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2169. {0x0000a7c8, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2170. {0x0000a7cc, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2171. {0x0000a7d0, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2172. {0x0000a7d4, 0x00000000, 0x00000000, 0x000301fe, 0x000301fe},
  2173. {0x0000a274, 0x0a180000, 0x0a180000, 0x0a1aa000, 0x0a1aa000},
  2174. };
  2175. static const u32 ar9287Modes_rx_gain_9287_1_1[][5] = {
  2176. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  2177. {0x00009a00, 0x00000000, 0x00000000, 0x0000a120, 0x0000a120},
  2178. {0x00009a04, 0x00000000, 0x00000000, 0x0000a124, 0x0000a124},
  2179. {0x00009a08, 0x00000000, 0x00000000, 0x0000a128, 0x0000a128},
  2180. {0x00009a0c, 0x00000000, 0x00000000, 0x0000a12c, 0x0000a12c},
  2181. {0x00009a10, 0x00000000, 0x00000000, 0x0000a130, 0x0000a130},
  2182. {0x00009a14, 0x00000000, 0x00000000, 0x0000a194, 0x0000a194},
  2183. {0x00009a18, 0x00000000, 0x00000000, 0x0000a198, 0x0000a198},
  2184. {0x00009a1c, 0x00000000, 0x00000000, 0x0000a20c, 0x0000a20c},
  2185. {0x00009a20, 0x00000000, 0x00000000, 0x0000a210, 0x0000a210},
  2186. {0x00009a24, 0x00000000, 0x00000000, 0x0000a284, 0x0000a284},
  2187. {0x00009a28, 0x00000000, 0x00000000, 0x0000a288, 0x0000a288},
  2188. {0x00009a2c, 0x00000000, 0x00000000, 0x0000a28c, 0x0000a28c},
  2189. {0x00009a30, 0x00000000, 0x00000000, 0x0000a290, 0x0000a290},
  2190. {0x00009a34, 0x00000000, 0x00000000, 0x0000a294, 0x0000a294},
  2191. {0x00009a38, 0x00000000, 0x00000000, 0x0000a2a0, 0x0000a2a0},
  2192. {0x00009a3c, 0x00000000, 0x00000000, 0x0000a2a4, 0x0000a2a4},
  2193. {0x00009a40, 0x00000000, 0x00000000, 0x0000a2a8, 0x0000a2a8},
  2194. {0x00009a44, 0x00000000, 0x00000000, 0x0000a2ac, 0x0000a2ac},
  2195. {0x00009a48, 0x00000000, 0x00000000, 0x0000a2b0, 0x0000a2b0},
  2196. {0x00009a4c, 0x00000000, 0x00000000, 0x0000a2b4, 0x0000a2b4},
  2197. {0x00009a50, 0x00000000, 0x00000000, 0x0000a2b8, 0x0000a2b8},
  2198. {0x00009a54, 0x00000000, 0x00000000, 0x0000a2c4, 0x0000a2c4},
  2199. {0x00009a58, 0x00000000, 0x00000000, 0x0000a708, 0x0000a708},
  2200. {0x00009a5c, 0x00000000, 0x00000000, 0x0000a70c, 0x0000a70c},
  2201. {0x00009a60, 0x00000000, 0x00000000, 0x0000a710, 0x0000a710},
  2202. {0x00009a64, 0x00000000, 0x00000000, 0x0000ab04, 0x0000ab04},
  2203. {0x00009a68, 0x00000000, 0x00000000, 0x0000ab08, 0x0000ab08},
  2204. {0x00009a6c, 0x00000000, 0x00000000, 0x0000ab0c, 0x0000ab0c},
  2205. {0x00009a70, 0x00000000, 0x00000000, 0x0000ab10, 0x0000ab10},
  2206. {0x00009a74, 0x00000000, 0x00000000, 0x0000ab14, 0x0000ab14},
  2207. {0x00009a78, 0x00000000, 0x00000000, 0x0000ab18, 0x0000ab18},
  2208. {0x00009a7c, 0x00000000, 0x00000000, 0x0000ab8c, 0x0000ab8c},
  2209. {0x00009a80, 0x00000000, 0x00000000, 0x0000ab90, 0x0000ab90},
  2210. {0x00009a84, 0x00000000, 0x00000000, 0x0000ab94, 0x0000ab94},
  2211. {0x00009a88, 0x00000000, 0x00000000, 0x0000ab98, 0x0000ab98},
  2212. {0x00009a8c, 0x00000000, 0x00000000, 0x0000aba4, 0x0000aba4},
  2213. {0x00009a90, 0x00000000, 0x00000000, 0x0000aba8, 0x0000aba8},
  2214. {0x00009a94, 0x00000000, 0x00000000, 0x0000cb04, 0x0000cb04},
  2215. {0x00009a98, 0x00000000, 0x00000000, 0x0000cb08, 0x0000cb08},
  2216. {0x00009a9c, 0x00000000, 0x00000000, 0x0000cb0c, 0x0000cb0c},
  2217. {0x00009aa0, 0x00000000, 0x00000000, 0x0000cb10, 0x0000cb10},
  2218. {0x00009aa4, 0x00000000, 0x00000000, 0x0000cb14, 0x0000cb14},
  2219. {0x00009aa8, 0x00000000, 0x00000000, 0x0000cb18, 0x0000cb18},
  2220. {0x00009aac, 0x00000000, 0x00000000, 0x0000cb8c, 0x0000cb8c},
  2221. {0x00009ab0, 0x00000000, 0x00000000, 0x0000cb90, 0x0000cb90},
  2222. {0x00009ab4, 0x00000000, 0x00000000, 0x0000cf18, 0x0000cf18},
  2223. {0x00009ab8, 0x00000000, 0x00000000, 0x0000cf24, 0x0000cf24},
  2224. {0x00009abc, 0x00000000, 0x00000000, 0x0000cf28, 0x0000cf28},
  2225. {0x00009ac0, 0x00000000, 0x00000000, 0x0000d314, 0x0000d314},
  2226. {0x00009ac4, 0x00000000, 0x00000000, 0x0000d318, 0x0000d318},
  2227. {0x00009ac8, 0x00000000, 0x00000000, 0x0000d38c, 0x0000d38c},
  2228. {0x00009acc, 0x00000000, 0x00000000, 0x0000d390, 0x0000d390},
  2229. {0x00009ad0, 0x00000000, 0x00000000, 0x0000d394, 0x0000d394},
  2230. {0x00009ad4, 0x00000000, 0x00000000, 0x0000d398, 0x0000d398},
  2231. {0x00009ad8, 0x00000000, 0x00000000, 0x0000d3a4, 0x0000d3a4},
  2232. {0x00009adc, 0x00000000, 0x00000000, 0x0000d3a8, 0x0000d3a8},
  2233. {0x00009ae0, 0x00000000, 0x00000000, 0x0000d3ac, 0x0000d3ac},
  2234. {0x00009ae4, 0x00000000, 0x00000000, 0x0000d3b0, 0x0000d3b0},
  2235. {0x00009ae8, 0x00000000, 0x00000000, 0x0000f380, 0x0000f380},
  2236. {0x00009aec, 0x00000000, 0x00000000, 0x0000f384, 0x0000f384},
  2237. {0x00009af0, 0x00000000, 0x00000000, 0x0000f388, 0x0000f388},
  2238. {0x00009af4, 0x00000000, 0x00000000, 0x0000f710, 0x0000f710},
  2239. {0x00009af8, 0x00000000, 0x00000000, 0x0000f714, 0x0000f714},
  2240. {0x00009afc, 0x00000000, 0x00000000, 0x0000f718, 0x0000f718},
  2241. {0x00009b00, 0x00000000, 0x00000000, 0x0000fb10, 0x0000fb10},
  2242. {0x00009b04, 0x00000000, 0x00000000, 0x0000fb14, 0x0000fb14},
  2243. {0x00009b08, 0x00000000, 0x00000000, 0x0000fb18, 0x0000fb18},
  2244. {0x00009b0c, 0x00000000, 0x00000000, 0x0000fb8c, 0x0000fb8c},
  2245. {0x00009b10, 0x00000000, 0x00000000, 0x0000fb90, 0x0000fb90},
  2246. {0x00009b14, 0x00000000, 0x00000000, 0x0000fb94, 0x0000fb94},
  2247. {0x00009b18, 0x00000000, 0x00000000, 0x0000ff8c, 0x0000ff8c},
  2248. {0x00009b1c, 0x00000000, 0x00000000, 0x0000ff90, 0x0000ff90},
  2249. {0x00009b20, 0x00000000, 0x00000000, 0x0000ff94, 0x0000ff94},
  2250. {0x00009b24, 0x00000000, 0x00000000, 0x0000ffa0, 0x0000ffa0},
  2251. {0x00009b28, 0x00000000, 0x00000000, 0x0000ffa4, 0x0000ffa4},
  2252. {0x00009b2c, 0x00000000, 0x00000000, 0x0000ffa8, 0x0000ffa8},
  2253. {0x00009b30, 0x00000000, 0x00000000, 0x0000ffac, 0x0000ffac},
  2254. {0x00009b34, 0x00000000, 0x00000000, 0x0000ffb0, 0x0000ffb0},
  2255. {0x00009b38, 0x00000000, 0x00000000, 0x0000ffb4, 0x0000ffb4},
  2256. {0x00009b3c, 0x00000000, 0x00000000, 0x0000ffa1, 0x0000ffa1},
  2257. {0x00009b40, 0x00000000, 0x00000000, 0x0000ffa5, 0x0000ffa5},
  2258. {0x00009b44, 0x00000000, 0x00000000, 0x0000ffa9, 0x0000ffa9},
  2259. {0x00009b48, 0x00000000, 0x00000000, 0x0000ffad, 0x0000ffad},
  2260. {0x00009b4c, 0x00000000, 0x00000000, 0x0000ffb1, 0x0000ffb1},
  2261. {0x00009b50, 0x00000000, 0x00000000, 0x0000ffb5, 0x0000ffb5},
  2262. {0x00009b54, 0x00000000, 0x00000000, 0x0000ffb9, 0x0000ffb9},
  2263. {0x00009b58, 0x00000000, 0x00000000, 0x0000ffc5, 0x0000ffc5},
  2264. {0x00009b5c, 0x00000000, 0x00000000, 0x0000ffc9, 0x0000ffc9},
  2265. {0x00009b60, 0x00000000, 0x00000000, 0x0000ffcd, 0x0000ffcd},
  2266. {0x00009b64, 0x00000000, 0x00000000, 0x0000ffd1, 0x0000ffd1},
  2267. {0x00009b68, 0x00000000, 0x00000000, 0x0000ffd5, 0x0000ffd5},
  2268. {0x00009b6c, 0x00000000, 0x00000000, 0x0000ffc2, 0x0000ffc2},
  2269. {0x00009b70, 0x00000000, 0x00000000, 0x0000ffc6, 0x0000ffc6},
  2270. {0x00009b74, 0x00000000, 0x00000000, 0x0000ffca, 0x0000ffca},
  2271. {0x00009b78, 0x00000000, 0x00000000, 0x0000ffce, 0x0000ffce},
  2272. {0x00009b7c, 0x00000000, 0x00000000, 0x0000ffd2, 0x0000ffd2},
  2273. {0x00009b80, 0x00000000, 0x00000000, 0x0000ffd6, 0x0000ffd6},
  2274. {0x00009b84, 0x00000000, 0x00000000, 0x0000ffda, 0x0000ffda},
  2275. {0x00009b88, 0x00000000, 0x00000000, 0x0000ffc7, 0x0000ffc7},
  2276. {0x00009b8c, 0x00000000, 0x00000000, 0x0000ffcb, 0x0000ffcb},
  2277. {0x00009b90, 0x00000000, 0x00000000, 0x0000ffcf, 0x0000ffcf},
  2278. {0x00009b94, 0x00000000, 0x00000000, 0x0000ffd3, 0x0000ffd3},
  2279. {0x00009b98, 0x00000000, 0x00000000, 0x0000ffd7, 0x0000ffd7},
  2280. {0x00009b9c, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2281. {0x00009ba0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2282. {0x00009ba4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2283. {0x00009ba8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2284. {0x00009bac, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2285. {0x00009bb0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2286. {0x00009bb4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2287. {0x00009bb8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2288. {0x00009bbc, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2289. {0x00009bc0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2290. {0x00009bc4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2291. {0x00009bc8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2292. {0x00009bcc, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2293. {0x00009bd0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2294. {0x00009bd4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2295. {0x00009bd8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2296. {0x00009bdc, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2297. {0x00009be0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2298. {0x00009be4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2299. {0x00009be8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2300. {0x00009bec, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2301. {0x00009bf0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2302. {0x00009bf4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2303. {0x00009bf8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2304. {0x00009bfc, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2305. {0x0000aa00, 0x00000000, 0x00000000, 0x0000a120, 0x0000a120},
  2306. {0x0000aa04, 0x00000000, 0x00000000, 0x0000a124, 0x0000a124},
  2307. {0x0000aa08, 0x00000000, 0x00000000, 0x0000a128, 0x0000a128},
  2308. {0x0000aa0c, 0x00000000, 0x00000000, 0x0000a12c, 0x0000a12c},
  2309. {0x0000aa10, 0x00000000, 0x00000000, 0x0000a130, 0x0000a130},
  2310. {0x0000aa14, 0x00000000, 0x00000000, 0x0000a194, 0x0000a194},
  2311. {0x0000aa18, 0x00000000, 0x00000000, 0x0000a198, 0x0000a198},
  2312. {0x0000aa1c, 0x00000000, 0x00000000, 0x0000a20c, 0x0000a20c},
  2313. {0x0000aa20, 0x00000000, 0x00000000, 0x0000a210, 0x0000a210},
  2314. {0x0000aa24, 0x00000000, 0x00000000, 0x0000a284, 0x0000a284},
  2315. {0x0000aa28, 0x00000000, 0x00000000, 0x0000a288, 0x0000a288},
  2316. {0x0000aa2c, 0x00000000, 0x00000000, 0x0000a28c, 0x0000a28c},
  2317. {0x0000aa30, 0x00000000, 0x00000000, 0x0000a290, 0x0000a290},
  2318. {0x0000aa34, 0x00000000, 0x00000000, 0x0000a294, 0x0000a294},
  2319. {0x0000aa38, 0x00000000, 0x00000000, 0x0000a2a0, 0x0000a2a0},
  2320. {0x0000aa3c, 0x00000000, 0x00000000, 0x0000a2a4, 0x0000a2a4},
  2321. {0x0000aa40, 0x00000000, 0x00000000, 0x0000a2a8, 0x0000a2a8},
  2322. {0x0000aa44, 0x00000000, 0x00000000, 0x0000a2ac, 0x0000a2ac},
  2323. {0x0000aa48, 0x00000000, 0x00000000, 0x0000a2b0, 0x0000a2b0},
  2324. {0x0000aa4c, 0x00000000, 0x00000000, 0x0000a2b4, 0x0000a2b4},
  2325. {0x0000aa50, 0x00000000, 0x00000000, 0x0000a2b8, 0x0000a2b8},
  2326. {0x0000aa54, 0x00000000, 0x00000000, 0x0000a2c4, 0x0000a2c4},
  2327. {0x0000aa58, 0x00000000, 0x00000000, 0x0000a708, 0x0000a708},
  2328. {0x0000aa5c, 0x00000000, 0x00000000, 0x0000a70c, 0x0000a70c},
  2329. {0x0000aa60, 0x00000000, 0x00000000, 0x0000a710, 0x0000a710},
  2330. {0x0000aa64, 0x00000000, 0x00000000, 0x0000ab04, 0x0000ab04},
  2331. {0x0000aa68, 0x00000000, 0x00000000, 0x0000ab08, 0x0000ab08},
  2332. {0x0000aa6c, 0x00000000, 0x00000000, 0x0000ab0c, 0x0000ab0c},
  2333. {0x0000aa70, 0x00000000, 0x00000000, 0x0000ab10, 0x0000ab10},
  2334. {0x0000aa74, 0x00000000, 0x00000000, 0x0000ab14, 0x0000ab14},
  2335. {0x0000aa78, 0x00000000, 0x00000000, 0x0000ab18, 0x0000ab18},
  2336. {0x0000aa7c, 0x00000000, 0x00000000, 0x0000ab8c, 0x0000ab8c},
  2337. {0x0000aa80, 0x00000000, 0x00000000, 0x0000ab90, 0x0000ab90},
  2338. {0x0000aa84, 0x00000000, 0x00000000, 0x0000ab94, 0x0000ab94},
  2339. {0x0000aa88, 0x00000000, 0x00000000, 0x0000ab98, 0x0000ab98},
  2340. {0x0000aa8c, 0x00000000, 0x00000000, 0x0000aba4, 0x0000aba4},
  2341. {0x0000aa90, 0x00000000, 0x00000000, 0x0000aba8, 0x0000aba8},
  2342. {0x0000aa94, 0x00000000, 0x00000000, 0x0000cb04, 0x0000cb04},
  2343. {0x0000aa98, 0x00000000, 0x00000000, 0x0000cb08, 0x0000cb08},
  2344. {0x0000aa9c, 0x00000000, 0x00000000, 0x0000cb0c, 0x0000cb0c},
  2345. {0x0000aaa0, 0x00000000, 0x00000000, 0x0000cb10, 0x0000cb10},
  2346. {0x0000aaa4, 0x00000000, 0x00000000, 0x0000cb14, 0x0000cb14},
  2347. {0x0000aaa8, 0x00000000, 0x00000000, 0x0000cb18, 0x0000cb18},
  2348. {0x0000aaac, 0x00000000, 0x00000000, 0x0000cb8c, 0x0000cb8c},
  2349. {0x0000aab0, 0x00000000, 0x00000000, 0x0000cb90, 0x0000cb90},
  2350. {0x0000aab4, 0x00000000, 0x00000000, 0x0000cf18, 0x0000cf18},
  2351. {0x0000aab8, 0x00000000, 0x00000000, 0x0000cf24, 0x0000cf24},
  2352. {0x0000aabc, 0x00000000, 0x00000000, 0x0000cf28, 0x0000cf28},
  2353. {0x0000aac0, 0x00000000, 0x00000000, 0x0000d314, 0x0000d314},
  2354. {0x0000aac4, 0x00000000, 0x00000000, 0x0000d318, 0x0000d318},
  2355. {0x0000aac8, 0x00000000, 0x00000000, 0x0000d38c, 0x0000d38c},
  2356. {0x0000aacc, 0x00000000, 0x00000000, 0x0000d390, 0x0000d390},
  2357. {0x0000aad0, 0x00000000, 0x00000000, 0x0000d394, 0x0000d394},
  2358. {0x0000aad4, 0x00000000, 0x00000000, 0x0000d398, 0x0000d398},
  2359. {0x0000aad8, 0x00000000, 0x00000000, 0x0000d3a4, 0x0000d3a4},
  2360. {0x0000aadc, 0x00000000, 0x00000000, 0x0000d3a8, 0x0000d3a8},
  2361. {0x0000aae0, 0x00000000, 0x00000000, 0x0000d3ac, 0x0000d3ac},
  2362. {0x0000aae4, 0x00000000, 0x00000000, 0x0000d3b0, 0x0000d3b0},
  2363. {0x0000aae8, 0x00000000, 0x00000000, 0x0000f380, 0x0000f380},
  2364. {0x0000aaec, 0x00000000, 0x00000000, 0x0000f384, 0x0000f384},
  2365. {0x0000aaf0, 0x00000000, 0x00000000, 0x0000f388, 0x0000f388},
  2366. {0x0000aaf4, 0x00000000, 0x00000000, 0x0000f710, 0x0000f710},
  2367. {0x0000aaf8, 0x00000000, 0x00000000, 0x0000f714, 0x0000f714},
  2368. {0x0000aafc, 0x00000000, 0x00000000, 0x0000f718, 0x0000f718},
  2369. {0x0000ab00, 0x00000000, 0x00000000, 0x0000fb10, 0x0000fb10},
  2370. {0x0000ab04, 0x00000000, 0x00000000, 0x0000fb14, 0x0000fb14},
  2371. {0x0000ab08, 0x00000000, 0x00000000, 0x0000fb18, 0x0000fb18},
  2372. {0x0000ab0c, 0x00000000, 0x00000000, 0x0000fb8c, 0x0000fb8c},
  2373. {0x0000ab10, 0x00000000, 0x00000000, 0x0000fb90, 0x0000fb90},
  2374. {0x0000ab14, 0x00000000, 0x00000000, 0x0000fb94, 0x0000fb94},
  2375. {0x0000ab18, 0x00000000, 0x00000000, 0x0000ff8c, 0x0000ff8c},
  2376. {0x0000ab1c, 0x00000000, 0x00000000, 0x0000ff90, 0x0000ff90},
  2377. {0x0000ab20, 0x00000000, 0x00000000, 0x0000ff94, 0x0000ff94},
  2378. {0x0000ab24, 0x00000000, 0x00000000, 0x0000ffa0, 0x0000ffa0},
  2379. {0x0000ab28, 0x00000000, 0x00000000, 0x0000ffa4, 0x0000ffa4},
  2380. {0x0000ab2c, 0x00000000, 0x00000000, 0x0000ffa8, 0x0000ffa8},
  2381. {0x0000ab30, 0x00000000, 0x00000000, 0x0000ffac, 0x0000ffac},
  2382. {0x0000ab34, 0x00000000, 0x00000000, 0x0000ffb0, 0x0000ffb0},
  2383. {0x0000ab38, 0x00000000, 0x00000000, 0x0000ffb4, 0x0000ffb4},
  2384. {0x0000ab3c, 0x00000000, 0x00000000, 0x0000ffa1, 0x0000ffa1},
  2385. {0x0000ab40, 0x00000000, 0x00000000, 0x0000ffa5, 0x0000ffa5},
  2386. {0x0000ab44, 0x00000000, 0x00000000, 0x0000ffa9, 0x0000ffa9},
  2387. {0x0000ab48, 0x00000000, 0x00000000, 0x0000ffad, 0x0000ffad},
  2388. {0x0000ab4c, 0x00000000, 0x00000000, 0x0000ffb1, 0x0000ffb1},
  2389. {0x0000ab50, 0x00000000, 0x00000000, 0x0000ffb5, 0x0000ffb5},
  2390. {0x0000ab54, 0x00000000, 0x00000000, 0x0000ffb9, 0x0000ffb9},
  2391. {0x0000ab58, 0x00000000, 0x00000000, 0x0000ffc5, 0x0000ffc5},
  2392. {0x0000ab5c, 0x00000000, 0x00000000, 0x0000ffc9, 0x0000ffc9},
  2393. {0x0000ab60, 0x00000000, 0x00000000, 0x0000ffcd, 0x0000ffcd},
  2394. {0x0000ab64, 0x00000000, 0x00000000, 0x0000ffd1, 0x0000ffd1},
  2395. {0x0000ab68, 0x00000000, 0x00000000, 0x0000ffd5, 0x0000ffd5},
  2396. {0x0000ab6c, 0x00000000, 0x00000000, 0x0000ffc2, 0x0000ffc2},
  2397. {0x0000ab70, 0x00000000, 0x00000000, 0x0000ffc6, 0x0000ffc6},
  2398. {0x0000ab74, 0x00000000, 0x00000000, 0x0000ffca, 0x0000ffca},
  2399. {0x0000ab78, 0x00000000, 0x00000000, 0x0000ffce, 0x0000ffce},
  2400. {0x0000ab7c, 0x00000000, 0x00000000, 0x0000ffd2, 0x0000ffd2},
  2401. {0x0000ab80, 0x00000000, 0x00000000, 0x0000ffd6, 0x0000ffd6},
  2402. {0x0000ab84, 0x00000000, 0x00000000, 0x0000ffda, 0x0000ffda},
  2403. {0x0000ab88, 0x00000000, 0x00000000, 0x0000ffc7, 0x0000ffc7},
  2404. {0x0000ab8c, 0x00000000, 0x00000000, 0x0000ffcb, 0x0000ffcb},
  2405. {0x0000ab90, 0x00000000, 0x00000000, 0x0000ffcf, 0x0000ffcf},
  2406. {0x0000ab94, 0x00000000, 0x00000000, 0x0000ffd3, 0x0000ffd3},
  2407. {0x0000ab98, 0x00000000, 0x00000000, 0x0000ffd7, 0x0000ffd7},
  2408. {0x0000ab9c, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2409. {0x0000aba0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2410. {0x0000aba4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2411. {0x0000aba8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2412. {0x0000abac, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2413. {0x0000abb0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2414. {0x0000abb4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2415. {0x0000abb8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2416. {0x0000abbc, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2417. {0x0000abc0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2418. {0x0000abc4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2419. {0x0000abc8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2420. {0x0000abcc, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2421. {0x0000abd0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2422. {0x0000abd4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2423. {0x0000abd8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2424. {0x0000abdc, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2425. {0x0000abe0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2426. {0x0000abe4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2427. {0x0000abe8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2428. {0x0000abec, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2429. {0x0000abf0, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2430. {0x0000abf4, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2431. {0x0000abf8, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2432. {0x0000abfc, 0x00000000, 0x00000000, 0x0000ffdb, 0x0000ffdb},
  2433. {0x00009848, 0x00000000, 0x00000000, 0x00001067, 0x00001067},
  2434. {0x0000a848, 0x00000000, 0x00000000, 0x00001067, 0x00001067},
  2435. };
  2436. static const u32 ar9271Modes_9271[][5] = {
  2437. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  2438. {0x00001030, 0x00000230, 0x00000460, 0x000002c0, 0x00000160},
  2439. {0x00001070, 0x00000168, 0x000002d0, 0x00000318, 0x0000018c},
  2440. {0x000010b0, 0x00000e60, 0x00001cc0, 0x00007c70, 0x00003e38},
  2441. {0x000010f0, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  2442. {0x00008014, 0x03e803e8, 0x07d007d0, 0x10801600, 0x08400b00},
  2443. {0x0000801c, 0x128d8027, 0x128d804f, 0x12e00057, 0x12e0002b},
  2444. {0x00008318, 0x00003e80, 0x00007d00, 0x00006880, 0x00003440},
  2445. {0x00009804, 0x00000300, 0x000003c4, 0x000003c4, 0x00000300},
  2446. {0x00009820, 0x02020200, 0x02020200, 0x02020200, 0x02020200},
  2447. {0x00009824, 0x01000e0e, 0x01000e0e, 0x01000e0e, 0x01000e0e},
  2448. {0x00009828, 0x3a020001, 0x3a020001, 0x3a020001, 0x3a020001},
  2449. {0x00009834, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e},
  2450. {0x00009838, 0x00000007, 0x00000007, 0x00000007, 0x00000007},
  2451. {0x00009840, 0x206a012e, 0x206a012e, 0x206a012e, 0x206a012e},
  2452. {0x00009844, 0x0372161e, 0x0372161e, 0x03721620, 0x03721620},
  2453. {0x00009848, 0x00001066, 0x00001066, 0x00001053, 0x00001053},
  2454. {0x0000a848, 0x00001066, 0x00001066, 0x00001053, 0x00001053},
  2455. {0x00009850, 0x6d4000e2, 0x6d4000e2, 0x6d4000e2, 0x6d4000e2},
  2456. {0x00009858, 0x7ec84d2e, 0x7ec84d2e, 0x7ec84d2e, 0x7ec84d2e},
  2457. {0x0000985c, 0x3139605e, 0x3139605e, 0x3137605e, 0x3137605e},
  2458. {0x00009860, 0x00058d18, 0x00058d18, 0x00058d18, 0x00058d18},
  2459. {0x00009864, 0x0000fe00, 0x0000fe00, 0x0001ce00, 0x0001ce00},
  2460. {0x00009868, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0},
  2461. {0x0000986c, 0x06903081, 0x06903081, 0x06903881, 0x06903881},
  2462. {0x00009910, 0x30002310, 0x30002310, 0x30002310, 0x30002310},
  2463. {0x00009914, 0x000007d0, 0x00000fa0, 0x00001130, 0x00000898},
  2464. {0x00009918, 0x0000000a, 0x00000014, 0x00000016, 0x0000000b},
  2465. {0x00009924, 0xd00a8007, 0xd00a8007, 0xd00a800d, 0xd00a800d},
  2466. {0x00009944, 0xffbc1010, 0xffbc1010, 0xffbc1020, 0xffbc1020},
  2467. {0x00009960, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  2468. {0x00009964, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  2469. {0x000099b8, 0x0000421c, 0x0000421c, 0x0000421c, 0x0000421c},
  2470. {0x000099bc, 0x00000600, 0x00000600, 0x00000c00, 0x00000c00},
  2471. {0x000099c0, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4},
  2472. {0x000099c4, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77},
  2473. {0x000099c8, 0x6af6532f, 0x6af6532f, 0x6af6532f, 0x6af6532f},
  2474. {0x000099cc, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8},
  2475. {0x000099d0, 0x00046384, 0x00046384, 0x00046384, 0x00046384},
  2476. {0x000099d4, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  2477. {0x000099d8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  2478. {0x00009a00, 0x00000000, 0x00000000, 0x00058084, 0x00058084},
  2479. {0x00009a04, 0x00000000, 0x00000000, 0x00058088, 0x00058088},
  2480. {0x00009a08, 0x00000000, 0x00000000, 0x0005808c, 0x0005808c},
  2481. {0x00009a0c, 0x00000000, 0x00000000, 0x00058100, 0x00058100},
  2482. {0x00009a10, 0x00000000, 0x00000000, 0x00058104, 0x00058104},
  2483. {0x00009a14, 0x00000000, 0x00000000, 0x00058108, 0x00058108},
  2484. {0x00009a18, 0x00000000, 0x00000000, 0x0005810c, 0x0005810c},
  2485. {0x00009a1c, 0x00000000, 0x00000000, 0x00058110, 0x00058110},
  2486. {0x00009a20, 0x00000000, 0x00000000, 0x00058114, 0x00058114},
  2487. {0x00009a24, 0x00000000, 0x00000000, 0x00058180, 0x00058180},
  2488. {0x00009a28, 0x00000000, 0x00000000, 0x00058184, 0x00058184},
  2489. {0x00009a2c, 0x00000000, 0x00000000, 0x00058188, 0x00058188},
  2490. {0x00009a30, 0x00000000, 0x00000000, 0x0005818c, 0x0005818c},
  2491. {0x00009a34, 0x00000000, 0x00000000, 0x00058190, 0x00058190},
  2492. {0x00009a38, 0x00000000, 0x00000000, 0x00058194, 0x00058194},
  2493. {0x00009a3c, 0x00000000, 0x00000000, 0x000581a0, 0x000581a0},
  2494. {0x00009a40, 0x00000000, 0x00000000, 0x0005820c, 0x0005820c},
  2495. {0x00009a44, 0x00000000, 0x00000000, 0x000581a8, 0x000581a8},
  2496. {0x00009a48, 0x00000000, 0x00000000, 0x00058284, 0x00058284},
  2497. {0x00009a4c, 0x00000000, 0x00000000, 0x00058288, 0x00058288},
  2498. {0x00009a50, 0x00000000, 0x00000000, 0x00058224, 0x00058224},
  2499. {0x00009a54, 0x00000000, 0x00000000, 0x00058290, 0x00058290},
  2500. {0x00009a58, 0x00000000, 0x00000000, 0x00058300, 0x00058300},
  2501. {0x00009a5c, 0x00000000, 0x00000000, 0x00058304, 0x00058304},
  2502. {0x00009a60, 0x00000000, 0x00000000, 0x00058308, 0x00058308},
  2503. {0x00009a64, 0x00000000, 0x00000000, 0x0005830c, 0x0005830c},
  2504. {0x00009a68, 0x00000000, 0x00000000, 0x00058380, 0x00058380},
  2505. {0x00009a6c, 0x00000000, 0x00000000, 0x00058384, 0x00058384},
  2506. {0x00009a70, 0x00000000, 0x00000000, 0x00068700, 0x00068700},
  2507. {0x00009a74, 0x00000000, 0x00000000, 0x00068704, 0x00068704},
  2508. {0x00009a78, 0x00000000, 0x00000000, 0x00068708, 0x00068708},
  2509. {0x00009a7c, 0x00000000, 0x00000000, 0x0006870c, 0x0006870c},
  2510. {0x00009a80, 0x00000000, 0x00000000, 0x00068780, 0x00068780},
  2511. {0x00009a84, 0x00000000, 0x00000000, 0x00068784, 0x00068784},
  2512. {0x00009a88, 0x00000000, 0x00000000, 0x00078b00, 0x00078b00},
  2513. {0x00009a8c, 0x00000000, 0x00000000, 0x00078b04, 0x00078b04},
  2514. {0x00009a90, 0x00000000, 0x00000000, 0x00078b08, 0x00078b08},
  2515. {0x00009a94, 0x00000000, 0x00000000, 0x00078b0c, 0x00078b0c},
  2516. {0x00009a98, 0x00000000, 0x00000000, 0x00078b80, 0x00078b80},
  2517. {0x00009a9c, 0x00000000, 0x00000000, 0x00078b84, 0x00078b84},
  2518. {0x00009aa0, 0x00000000, 0x00000000, 0x00078b88, 0x00078b88},
  2519. {0x00009aa4, 0x00000000, 0x00000000, 0x00078b8c, 0x00078b8c},
  2520. {0x00009aa8, 0x00000000, 0x00000000, 0x00078b90, 0x00078b90},
  2521. {0x00009aac, 0x00000000, 0x00000000, 0x000caf80, 0x000caf80},
  2522. {0x00009ab0, 0x00000000, 0x00000000, 0x000caf84, 0x000caf84},
  2523. {0x00009ab4, 0x00000000, 0x00000000, 0x000caf88, 0x000caf88},
  2524. {0x00009ab8, 0x00000000, 0x00000000, 0x000caf8c, 0x000caf8c},
  2525. {0x00009abc, 0x00000000, 0x00000000, 0x000caf90, 0x000caf90},
  2526. {0x00009ac0, 0x00000000, 0x00000000, 0x000db30c, 0x000db30c},
  2527. {0x00009ac4, 0x00000000, 0x00000000, 0x000db310, 0x000db310},
  2528. {0x00009ac8, 0x00000000, 0x00000000, 0x000db384, 0x000db384},
  2529. {0x00009acc, 0x00000000, 0x00000000, 0x000db388, 0x000db388},
  2530. {0x00009ad0, 0x00000000, 0x00000000, 0x000db324, 0x000db324},
  2531. {0x00009ad4, 0x00000000, 0x00000000, 0x000eb704, 0x000eb704},
  2532. {0x00009ad8, 0x00000000, 0x00000000, 0x000eb6a4, 0x000eb6a4},
  2533. {0x00009adc, 0x00000000, 0x00000000, 0x000eb6a8, 0x000eb6a8},
  2534. {0x00009ae0, 0x00000000, 0x00000000, 0x000eb710, 0x000eb710},
  2535. {0x00009ae4, 0x00000000, 0x00000000, 0x000eb714, 0x000eb714},
  2536. {0x00009ae8, 0x00000000, 0x00000000, 0x000eb720, 0x000eb720},
  2537. {0x00009aec, 0x00000000, 0x00000000, 0x000eb724, 0x000eb724},
  2538. {0x00009af0, 0x00000000, 0x00000000, 0x000eb728, 0x000eb728},
  2539. {0x00009af4, 0x00000000, 0x00000000, 0x000eb72c, 0x000eb72c},
  2540. {0x00009af8, 0x00000000, 0x00000000, 0x000eb7a0, 0x000eb7a0},
  2541. {0x00009afc, 0x00000000, 0x00000000, 0x000eb7a4, 0x000eb7a4},
  2542. {0x00009b00, 0x00000000, 0x00000000, 0x000eb7a8, 0x000eb7a8},
  2543. {0x00009b04, 0x00000000, 0x00000000, 0x000eb7b0, 0x000eb7b0},
  2544. {0x00009b08, 0x00000000, 0x00000000, 0x000eb7b4, 0x000eb7b4},
  2545. {0x00009b0c, 0x00000000, 0x00000000, 0x000eb7b8, 0x000eb7b8},
  2546. {0x00009b10, 0x00000000, 0x00000000, 0x000eb7a5, 0x000eb7a5},
  2547. {0x00009b14, 0x00000000, 0x00000000, 0x000eb7a9, 0x000eb7a9},
  2548. {0x00009b18, 0x00000000, 0x00000000, 0x000eb7ad, 0x000eb7ad},
  2549. {0x00009b1c, 0x00000000, 0x00000000, 0x000eb7b1, 0x000eb7b1},
  2550. {0x00009b20, 0x00000000, 0x00000000, 0x000eb7b5, 0x000eb7b5},
  2551. {0x00009b24, 0x00000000, 0x00000000, 0x000eb7b9, 0x000eb7b9},
  2552. {0x00009b28, 0x00000000, 0x00000000, 0x000eb7c5, 0x000eb7c5},
  2553. {0x00009b2c, 0x00000000, 0x00000000, 0x000eb7c9, 0x000eb7c9},
  2554. {0x00009b30, 0x00000000, 0x00000000, 0x000eb7d1, 0x000eb7d1},
  2555. {0x00009b34, 0x00000000, 0x00000000, 0x000eb7d5, 0x000eb7d5},
  2556. {0x00009b38, 0x00000000, 0x00000000, 0x000eb7d9, 0x000eb7d9},
  2557. {0x00009b3c, 0x00000000, 0x00000000, 0x000eb7c6, 0x000eb7c6},
  2558. {0x00009b40, 0x00000000, 0x00000000, 0x000eb7ca, 0x000eb7ca},
  2559. {0x00009b44, 0x00000000, 0x00000000, 0x000eb7ce, 0x000eb7ce},
  2560. {0x00009b48, 0x00000000, 0x00000000, 0x000eb7d2, 0x000eb7d2},
  2561. {0x00009b4c, 0x00000000, 0x00000000, 0x000eb7d6, 0x000eb7d6},
  2562. {0x00009b50, 0x00000000, 0x00000000, 0x000eb7c3, 0x000eb7c3},
  2563. {0x00009b54, 0x00000000, 0x00000000, 0x000eb7c7, 0x000eb7c7},
  2564. {0x00009b58, 0x00000000, 0x00000000, 0x000eb7cb, 0x000eb7cb},
  2565. {0x00009b5c, 0x00000000, 0x00000000, 0x000eb7cf, 0x000eb7cf},
  2566. {0x00009b60, 0x00000000, 0x00000000, 0x000eb7d7, 0x000eb7d7},
  2567. {0x00009b64, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2568. {0x00009b68, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2569. {0x00009b6c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2570. {0x00009b70, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2571. {0x00009b74, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2572. {0x00009b78, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2573. {0x00009b7c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2574. {0x00009b80, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2575. {0x00009b84, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2576. {0x00009b88, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2577. {0x00009b8c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2578. {0x00009b90, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2579. {0x00009b94, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2580. {0x00009b98, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2581. {0x00009b9c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2582. {0x00009ba0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2583. {0x00009ba4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2584. {0x00009ba8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2585. {0x00009bac, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2586. {0x00009bb0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2587. {0x00009bb4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2588. {0x00009bb8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2589. {0x00009bbc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2590. {0x00009bc0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2591. {0x00009bc4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2592. {0x00009bc8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2593. {0x00009bcc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2594. {0x00009bd0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2595. {0x00009bd4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2596. {0x00009bd8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2597. {0x00009bdc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2598. {0x00009be0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2599. {0x00009be4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2600. {0x00009be8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2601. {0x00009bec, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2602. {0x00009bf0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2603. {0x00009bf4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2604. {0x00009bf8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2605. {0x00009bfc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2606. {0x0000aa00, 0x00000000, 0x00000000, 0x00058084, 0x00058084},
  2607. {0x0000aa04, 0x00000000, 0x00000000, 0x00058088, 0x00058088},
  2608. {0x0000aa08, 0x00000000, 0x00000000, 0x0005808c, 0x0005808c},
  2609. {0x0000aa0c, 0x00000000, 0x00000000, 0x00058100, 0x00058100},
  2610. {0x0000aa10, 0x00000000, 0x00000000, 0x00058104, 0x00058104},
  2611. {0x0000aa14, 0x00000000, 0x00000000, 0x00058108, 0x00058108},
  2612. {0x0000aa18, 0x00000000, 0x00000000, 0x0005810c, 0x0005810c},
  2613. {0x0000aa1c, 0x00000000, 0x00000000, 0x00058110, 0x00058110},
  2614. {0x0000aa20, 0x00000000, 0x00000000, 0x00058114, 0x00058114},
  2615. {0x0000aa24, 0x00000000, 0x00000000, 0x00058180, 0x00058180},
  2616. {0x0000aa28, 0x00000000, 0x00000000, 0x00058184, 0x00058184},
  2617. {0x0000aa2c, 0x00000000, 0x00000000, 0x00058188, 0x00058188},
  2618. {0x0000aa30, 0x00000000, 0x00000000, 0x0005818c, 0x0005818c},
  2619. {0x0000aa34, 0x00000000, 0x00000000, 0x00058190, 0x00058190},
  2620. {0x0000aa38, 0x00000000, 0x00000000, 0x00058194, 0x00058194},
  2621. {0x0000aa3c, 0x00000000, 0x00000000, 0x000581a0, 0x000581a0},
  2622. {0x0000aa40, 0x00000000, 0x00000000, 0x0005820c, 0x0005820c},
  2623. {0x0000aa44, 0x00000000, 0x00000000, 0x000581a8, 0x000581a8},
  2624. {0x0000aa48, 0x00000000, 0x00000000, 0x00058284, 0x00058284},
  2625. {0x0000aa4c, 0x00000000, 0x00000000, 0x00058288, 0x00058288},
  2626. {0x0000aa50, 0x00000000, 0x00000000, 0x00058224, 0x00058224},
  2627. {0x0000aa54, 0x00000000, 0x00000000, 0x00058290, 0x00058290},
  2628. {0x0000aa58, 0x00000000, 0x00000000, 0x00058300, 0x00058300},
  2629. {0x0000aa5c, 0x00000000, 0x00000000, 0x00058304, 0x00058304},
  2630. {0x0000aa60, 0x00000000, 0x00000000, 0x00058308, 0x00058308},
  2631. {0x0000aa64, 0x00000000, 0x00000000, 0x0005830c, 0x0005830c},
  2632. {0x0000aa68, 0x00000000, 0x00000000, 0x00058380, 0x00058380},
  2633. {0x0000aa6c, 0x00000000, 0x00000000, 0x00058384, 0x00058384},
  2634. {0x0000aa70, 0x00000000, 0x00000000, 0x00068700, 0x00068700},
  2635. {0x0000aa74, 0x00000000, 0x00000000, 0x00068704, 0x00068704},
  2636. {0x0000aa78, 0x00000000, 0x00000000, 0x00068708, 0x00068708},
  2637. {0x0000aa7c, 0x00000000, 0x00000000, 0x0006870c, 0x0006870c},
  2638. {0x0000aa80, 0x00000000, 0x00000000, 0x00068780, 0x00068780},
  2639. {0x0000aa84, 0x00000000, 0x00000000, 0x00068784, 0x00068784},
  2640. {0x0000aa88, 0x00000000, 0x00000000, 0x00078b00, 0x00078b00},
  2641. {0x0000aa8c, 0x00000000, 0x00000000, 0x00078b04, 0x00078b04},
  2642. {0x0000aa90, 0x00000000, 0x00000000, 0x00078b08, 0x00078b08},
  2643. {0x0000aa94, 0x00000000, 0x00000000, 0x00078b0c, 0x00078b0c},
  2644. {0x0000aa98, 0x00000000, 0x00000000, 0x00078b80, 0x00078b80},
  2645. {0x0000aa9c, 0x00000000, 0x00000000, 0x00078b84, 0x00078b84},
  2646. {0x0000aaa0, 0x00000000, 0x00000000, 0x00078b88, 0x00078b88},
  2647. {0x0000aaa4, 0x00000000, 0x00000000, 0x00078b8c, 0x00078b8c},
  2648. {0x0000aaa8, 0x00000000, 0x00000000, 0x00078b90, 0x00078b90},
  2649. {0x0000aaac, 0x00000000, 0x00000000, 0x000caf80, 0x000caf80},
  2650. {0x0000aab0, 0x00000000, 0x00000000, 0x000caf84, 0x000caf84},
  2651. {0x0000aab4, 0x00000000, 0x00000000, 0x000caf88, 0x000caf88},
  2652. {0x0000aab8, 0x00000000, 0x00000000, 0x000caf8c, 0x000caf8c},
  2653. {0x0000aabc, 0x00000000, 0x00000000, 0x000caf90, 0x000caf90},
  2654. {0x0000aac0, 0x00000000, 0x00000000, 0x000db30c, 0x000db30c},
  2655. {0x0000aac4, 0x00000000, 0x00000000, 0x000db310, 0x000db310},
  2656. {0x0000aac8, 0x00000000, 0x00000000, 0x000db384, 0x000db384},
  2657. {0x0000aacc, 0x00000000, 0x00000000, 0x000db388, 0x000db388},
  2658. {0x0000aad0, 0x00000000, 0x00000000, 0x000db324, 0x000db324},
  2659. {0x0000aad4, 0x00000000, 0x00000000, 0x000eb704, 0x000eb704},
  2660. {0x0000aad8, 0x00000000, 0x00000000, 0x000eb6a4, 0x000eb6a4},
  2661. {0x0000aadc, 0x00000000, 0x00000000, 0x000eb6a8, 0x000eb6a8},
  2662. {0x0000aae0, 0x00000000, 0x00000000, 0x000eb710, 0x000eb710},
  2663. {0x0000aae4, 0x00000000, 0x00000000, 0x000eb714, 0x000eb714},
  2664. {0x0000aae8, 0x00000000, 0x00000000, 0x000eb720, 0x000eb720},
  2665. {0x0000aaec, 0x00000000, 0x00000000, 0x000eb724, 0x000eb724},
  2666. {0x0000aaf0, 0x00000000, 0x00000000, 0x000eb728, 0x000eb728},
  2667. {0x0000aaf4, 0x00000000, 0x00000000, 0x000eb72c, 0x000eb72c},
  2668. {0x0000aaf8, 0x00000000, 0x00000000, 0x000eb7a0, 0x000eb7a0},
  2669. {0x0000aafc, 0x00000000, 0x00000000, 0x000eb7a4, 0x000eb7a4},
  2670. {0x0000ab00, 0x00000000, 0x00000000, 0x000eb7a8, 0x000eb7a8},
  2671. {0x0000ab04, 0x00000000, 0x00000000, 0x000eb7b0, 0x000eb7b0},
  2672. {0x0000ab08, 0x00000000, 0x00000000, 0x000eb7b4, 0x000eb7b4},
  2673. {0x0000ab0c, 0x00000000, 0x00000000, 0x000eb7b8, 0x000eb7b8},
  2674. {0x0000ab10, 0x00000000, 0x00000000, 0x000eb7a5, 0x000eb7a5},
  2675. {0x0000ab14, 0x00000000, 0x00000000, 0x000eb7a9, 0x000eb7a9},
  2676. {0x0000ab18, 0x00000000, 0x00000000, 0x000eb7ad, 0x000eb7ad},
  2677. {0x0000ab1c, 0x00000000, 0x00000000, 0x000eb7b1, 0x000eb7b1},
  2678. {0x0000ab20, 0x00000000, 0x00000000, 0x000eb7b5, 0x000eb7b5},
  2679. {0x0000ab24, 0x00000000, 0x00000000, 0x000eb7b9, 0x000eb7b9},
  2680. {0x0000ab28, 0x00000000, 0x00000000, 0x000eb7c5, 0x000eb7c5},
  2681. {0x0000ab2c, 0x00000000, 0x00000000, 0x000eb7c9, 0x000eb7c9},
  2682. {0x0000ab30, 0x00000000, 0x00000000, 0x000eb7d1, 0x000eb7d1},
  2683. {0x0000ab34, 0x00000000, 0x00000000, 0x000eb7d5, 0x000eb7d5},
  2684. {0x0000ab38, 0x00000000, 0x00000000, 0x000eb7d9, 0x000eb7d9},
  2685. {0x0000ab3c, 0x00000000, 0x00000000, 0x000eb7c6, 0x000eb7c6},
  2686. {0x0000ab40, 0x00000000, 0x00000000, 0x000eb7ca, 0x000eb7ca},
  2687. {0x0000ab44, 0x00000000, 0x00000000, 0x000eb7ce, 0x000eb7ce},
  2688. {0x0000ab48, 0x00000000, 0x00000000, 0x000eb7d2, 0x000eb7d2},
  2689. {0x0000ab4c, 0x00000000, 0x00000000, 0x000eb7d6, 0x000eb7d6},
  2690. {0x0000ab50, 0x00000000, 0x00000000, 0x000eb7c3, 0x000eb7c3},
  2691. {0x0000ab54, 0x00000000, 0x00000000, 0x000eb7c7, 0x000eb7c7},
  2692. {0x0000ab58, 0x00000000, 0x00000000, 0x000eb7cb, 0x000eb7cb},
  2693. {0x0000ab5c, 0x00000000, 0x00000000, 0x000eb7cf, 0x000eb7cf},
  2694. {0x0000ab60, 0x00000000, 0x00000000, 0x000eb7d7, 0x000eb7d7},
  2695. {0x0000ab64, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2696. {0x0000ab68, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2697. {0x0000ab6c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2698. {0x0000ab70, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2699. {0x0000ab74, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2700. {0x0000ab78, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2701. {0x0000ab7c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2702. {0x0000ab80, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2703. {0x0000ab84, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2704. {0x0000ab88, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2705. {0x0000ab8c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2706. {0x0000ab90, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2707. {0x0000ab94, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2708. {0x0000ab98, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2709. {0x0000ab9c, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2710. {0x0000aba0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2711. {0x0000aba4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2712. {0x0000aba8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2713. {0x0000abac, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2714. {0x0000abb0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2715. {0x0000abb4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2716. {0x0000abb8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2717. {0x0000abbc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2718. {0x0000abc0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2719. {0x0000abc4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2720. {0x0000abc8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2721. {0x0000abcc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2722. {0x0000abd0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2723. {0x0000abd4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2724. {0x0000abd8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2725. {0x0000abdc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2726. {0x0000abe0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2727. {0x0000abe4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2728. {0x0000abe8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2729. {0x0000abec, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2730. {0x0000abf0, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2731. {0x0000abf4, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2732. {0x0000abf8, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2733. {0x0000abfc, 0x00000000, 0x00000000, 0x000eb7db, 0x000eb7db},
  2734. {0x0000a204, 0x00000004, 0x00000004, 0x00000004, 0x00000004},
  2735. {0x0000a20c, 0x00000014, 0x00000014, 0x0001f000, 0x0001f000},
  2736. {0x0000b20c, 0x00000014, 0x00000014, 0x0001f000, 0x0001f000},
  2737. {0x0000a21c, 0x1883800a, 0x1883800a, 0x1883800a, 0x1883800a},
  2738. {0x0000a230, 0x00000000, 0x00000000, 0x00000210, 0x00000108},
  2739. {0x0000a250, 0x0004f000, 0x0004f000, 0x0004a000, 0x0004a000},
  2740. {0x0000a358, 0x7999aa02, 0x7999aa02, 0x7999aa0e, 0x7999aa0e},
  2741. };
  2742. static const u32 ar9271Common_9271[][2] = {
  2743. /* Addr allmodes */
  2744. {0x0000000c, 0x00000000},
  2745. {0x00000030, 0x00020045},
  2746. {0x00000034, 0x00000005},
  2747. {0x00000040, 0x00000000},
  2748. {0x00000044, 0x00000008},
  2749. {0x00000048, 0x00000008},
  2750. {0x0000004c, 0x00000010},
  2751. {0x00000050, 0x00000000},
  2752. {0x00000054, 0x0000001f},
  2753. {0x00000800, 0x00000000},
  2754. {0x00000804, 0x00000000},
  2755. {0x00000808, 0x00000000},
  2756. {0x0000080c, 0x00000000},
  2757. {0x00000810, 0x00000000},
  2758. {0x00000814, 0x00000000},
  2759. {0x00000818, 0x00000000},
  2760. {0x0000081c, 0x00000000},
  2761. {0x00000820, 0x00000000},
  2762. {0x00000824, 0x00000000},
  2763. {0x00001040, 0x002ffc0f},
  2764. {0x00001044, 0x002ffc0f},
  2765. {0x00001048, 0x002ffc0f},
  2766. {0x0000104c, 0x002ffc0f},
  2767. {0x00001050, 0x002ffc0f},
  2768. {0x00001054, 0x002ffc0f},
  2769. {0x00001058, 0x002ffc0f},
  2770. {0x0000105c, 0x002ffc0f},
  2771. {0x00001060, 0x002ffc0f},
  2772. {0x00001064, 0x002ffc0f},
  2773. {0x00001230, 0x00000000},
  2774. {0x00001270, 0x00000000},
  2775. {0x00001038, 0x00000000},
  2776. {0x00001078, 0x00000000},
  2777. {0x000010b8, 0x00000000},
  2778. {0x000010f8, 0x00000000},
  2779. {0x00001138, 0x00000000},
  2780. {0x00001178, 0x00000000},
  2781. {0x000011b8, 0x00000000},
  2782. {0x000011f8, 0x00000000},
  2783. {0x00001238, 0x00000000},
  2784. {0x00001278, 0x00000000},
  2785. {0x000012b8, 0x00000000},
  2786. {0x000012f8, 0x00000000},
  2787. {0x00001338, 0x00000000},
  2788. {0x00001378, 0x00000000},
  2789. {0x000013b8, 0x00000000},
  2790. {0x000013f8, 0x00000000},
  2791. {0x00001438, 0x00000000},
  2792. {0x00001478, 0x00000000},
  2793. {0x000014b8, 0x00000000},
  2794. {0x000014f8, 0x00000000},
  2795. {0x00001538, 0x00000000},
  2796. {0x00001578, 0x00000000},
  2797. {0x000015b8, 0x00000000},
  2798. {0x000015f8, 0x00000000},
  2799. {0x00001638, 0x00000000},
  2800. {0x00001678, 0x00000000},
  2801. {0x000016b8, 0x00000000},
  2802. {0x000016f8, 0x00000000},
  2803. {0x00001738, 0x00000000},
  2804. {0x00001778, 0x00000000},
  2805. {0x000017b8, 0x00000000},
  2806. {0x000017f8, 0x00000000},
  2807. {0x0000103c, 0x00000000},
  2808. {0x0000107c, 0x00000000},
  2809. {0x000010bc, 0x00000000},
  2810. {0x000010fc, 0x00000000},
  2811. {0x0000113c, 0x00000000},
  2812. {0x0000117c, 0x00000000},
  2813. {0x000011bc, 0x00000000},
  2814. {0x000011fc, 0x00000000},
  2815. {0x0000123c, 0x00000000},
  2816. {0x0000127c, 0x00000000},
  2817. {0x000012bc, 0x00000000},
  2818. {0x000012fc, 0x00000000},
  2819. {0x0000133c, 0x00000000},
  2820. {0x0000137c, 0x00000000},
  2821. {0x000013bc, 0x00000000},
  2822. {0x000013fc, 0x00000000},
  2823. {0x0000143c, 0x00000000},
  2824. {0x0000147c, 0x00000000},
  2825. {0x00004030, 0x00000002},
  2826. {0x0000403c, 0x00000002},
  2827. {0x00004024, 0x0000001f},
  2828. {0x00004060, 0x00000000},
  2829. {0x00004064, 0x00000000},
  2830. {0x00008004, 0x00000000},
  2831. {0x00008008, 0x00000000},
  2832. {0x0000800c, 0x00000000},
  2833. {0x00008018, 0x00000700},
  2834. {0x00008020, 0x00000000},
  2835. {0x00008038, 0x00000000},
  2836. {0x0000803c, 0x00000000},
  2837. {0x00008048, 0x00000000},
  2838. {0x00008054, 0x00000000},
  2839. {0x00008058, 0x00000000},
  2840. {0x0000805c, 0x000fc78f},
  2841. {0x00008060, 0x0000000f},
  2842. {0x00008064, 0x00000000},
  2843. {0x00008070, 0x00000000},
  2844. {0x000080b0, 0x00000000},
  2845. {0x000080b4, 0x00000000},
  2846. {0x000080b8, 0x00000000},
  2847. {0x000080bc, 0x00000000},
  2848. {0x000080c0, 0x2a80001a},
  2849. {0x000080c4, 0x05dc01e0},
  2850. {0x000080c8, 0x1f402710},
  2851. {0x000080cc, 0x01f40000},
  2852. {0x000080d0, 0x00001e00},
  2853. {0x000080d4, 0x00000000},
  2854. {0x000080d8, 0x00400000},
  2855. {0x000080e0, 0xffffffff},
  2856. {0x000080e4, 0x0000ffff},
  2857. {0x000080e8, 0x003f3f3f},
  2858. {0x000080ec, 0x00000000},
  2859. {0x000080f0, 0x00000000},
  2860. {0x000080f4, 0x00000000},
  2861. {0x000080f8, 0x00000000},
  2862. {0x000080fc, 0x00020000},
  2863. {0x00008100, 0x00020000},
  2864. {0x00008104, 0x00000001},
  2865. {0x00008108, 0x00000052},
  2866. {0x0000810c, 0x00000000},
  2867. {0x00008110, 0x00000168},
  2868. {0x00008118, 0x000100aa},
  2869. {0x0000811c, 0x00003210},
  2870. {0x00008120, 0x08f04810},
  2871. {0x00008124, 0x00000000},
  2872. {0x00008128, 0x00000000},
  2873. {0x0000812c, 0x00000000},
  2874. {0x00008130, 0x00000000},
  2875. {0x00008134, 0x00000000},
  2876. {0x00008138, 0x00000000},
  2877. {0x0000813c, 0x00000000},
  2878. {0x00008144, 0xffffffff},
  2879. {0x00008168, 0x00000000},
  2880. {0x0000816c, 0x00000000},
  2881. {0x00008170, 0x32143320},
  2882. {0x00008174, 0xfaa4fa50},
  2883. {0x00008178, 0x00000100},
  2884. {0x0000817c, 0x00000000},
  2885. {0x000081c0, 0x00000000},
  2886. {0x000081d0, 0x0000320a},
  2887. {0x000081ec, 0x00000000},
  2888. {0x000081f0, 0x00000000},
  2889. {0x000081f4, 0x00000000},
  2890. {0x000081f8, 0x00000000},
  2891. {0x000081fc, 0x00000000},
  2892. {0x00008200, 0x00000000},
  2893. {0x00008204, 0x00000000},
  2894. {0x00008208, 0x00000000},
  2895. {0x0000820c, 0x00000000},
  2896. {0x00008210, 0x00000000},
  2897. {0x00008214, 0x00000000},
  2898. {0x00008218, 0x00000000},
  2899. {0x0000821c, 0x00000000},
  2900. {0x00008220, 0x00000000},
  2901. {0x00008224, 0x00000000},
  2902. {0x00008228, 0x00000000},
  2903. {0x0000822c, 0x00000000},
  2904. {0x00008230, 0x00000000},
  2905. {0x00008234, 0x00000000},
  2906. {0x00008238, 0x00000000},
  2907. {0x0000823c, 0x00000000},
  2908. {0x00008240, 0x00100000},
  2909. {0x00008244, 0x0010f400},
  2910. {0x00008248, 0x00000100},
  2911. {0x0000824c, 0x0001e800},
  2912. {0x00008250, 0x00000000},
  2913. {0x00008254, 0x00000000},
  2914. {0x00008258, 0x00000000},
  2915. {0x0000825c, 0x400000ff},
  2916. {0x00008260, 0x00080922},
  2917. {0x00008264, 0x88a00010},
  2918. {0x00008270, 0x00000000},
  2919. {0x00008274, 0x40000000},
  2920. {0x00008278, 0x003e4180},
  2921. {0x0000827c, 0x00000000},
  2922. {0x00008284, 0x0000002c},
  2923. {0x00008288, 0x0000002c},
  2924. {0x0000828c, 0x00000000},
  2925. {0x00008294, 0x00000000},
  2926. {0x00008298, 0x00000000},
  2927. {0x0000829c, 0x00000000},
  2928. {0x00008300, 0x00000040},
  2929. {0x00008314, 0x00000000},
  2930. {0x00008328, 0x00000000},
  2931. {0x0000832c, 0x00000001},
  2932. {0x00008330, 0x00000302},
  2933. {0x00008334, 0x00000e00},
  2934. {0x00008338, 0x00ff0000},
  2935. {0x0000833c, 0x00000000},
  2936. {0x00008340, 0x00010380},
  2937. {0x00008344, 0x00581043},
  2938. {0x00007010, 0x00000030},
  2939. {0x00007034, 0x00000002},
  2940. {0x00007038, 0x000004c2},
  2941. {0x00007800, 0x00140000},
  2942. {0x00007804, 0x0e4548d8},
  2943. {0x00007808, 0x54214514},
  2944. {0x0000780c, 0x02025820},
  2945. {0x00007810, 0x71c0d388},
  2946. {0x00007814, 0x924934a8},
  2947. {0x0000781c, 0x00000000},
  2948. {0x00007828, 0x66964300},
  2949. {0x0000782c, 0x8db6d961},
  2950. {0x00007830, 0x8db6d96c},
  2951. {0x00007834, 0x6140008b},
  2952. {0x0000783c, 0x72ee0a72},
  2953. {0x00007840, 0xbbfffffc},
  2954. {0x00007844, 0x000c0db6},
  2955. {0x00007848, 0x6db6246f},
  2956. {0x0000784c, 0x6d9b66db},
  2957. {0x00007850, 0x6d8c6dba},
  2958. {0x00007854, 0x00040000},
  2959. {0x00007858, 0xdb003012},
  2960. {0x0000785c, 0x04924914},
  2961. {0x00007860, 0x21084210},
  2962. {0x00007864, 0xf7d7ffde},
  2963. {0x00007868, 0xc2034080},
  2964. {0x00007870, 0x10142c00},
  2965. {0x00009808, 0x00000000},
  2966. {0x0000980c, 0xafe68e30},
  2967. {0x00009810, 0xfd14e000},
  2968. {0x00009814, 0x9c0a9f6b},
  2969. {0x0000981c, 0x00000000},
  2970. {0x0000982c, 0x0000a000},
  2971. {0x00009830, 0x00000000},
  2972. {0x0000983c, 0x00200400},
  2973. {0x0000984c, 0x0040233c},
  2974. {0x00009854, 0x00000044},
  2975. {0x00009900, 0x00000000},
  2976. {0x00009904, 0x00000000},
  2977. {0x00009908, 0x00000000},
  2978. {0x0000990c, 0x00000000},
  2979. {0x0000991c, 0x10000fff},
  2980. {0x00009920, 0x04900000},
  2981. {0x00009928, 0x00000001},
  2982. {0x0000992c, 0x00000004},
  2983. {0x00009934, 0x1e1f2022},
  2984. {0x00009938, 0x0a0b0c0d},
  2985. {0x0000993c, 0x00000000},
  2986. {0x00009940, 0x14750604},
  2987. {0x00009948, 0x9280c00a},
  2988. {0x0000994c, 0x00020028},
  2989. {0x00009954, 0x5f3ca3de},
  2990. {0x00009958, 0x0108ecff},
  2991. {0x00009968, 0x000003ce},
  2992. {0x00009970, 0x192bb514},
  2993. {0x00009974, 0x00000000},
  2994. {0x00009978, 0x00000001},
  2995. {0x0000997c, 0x00000000},
  2996. {0x00009980, 0x00000000},
  2997. {0x00009984, 0x00000000},
  2998. {0x00009988, 0x00000000},
  2999. {0x0000998c, 0x00000000},
  3000. {0x00009990, 0x00000000},
  3001. {0x00009994, 0x00000000},
  3002. {0x00009998, 0x00000000},
  3003. {0x0000999c, 0x00000000},
  3004. {0x000099a0, 0x00000000},
  3005. {0x000099a4, 0x00000001},
  3006. {0x000099a8, 0x201fff00},
  3007. {0x000099ac, 0x2def0400},
  3008. {0x000099b0, 0x03051000},
  3009. {0x000099b4, 0x00000820},
  3010. {0x000099dc, 0x00000000},
  3011. {0x000099e0, 0x00000000},
  3012. {0x000099e4, 0xaaaaaaaa},
  3013. {0x000099e8, 0x3c466478},
  3014. {0x000099ec, 0x0cc80caa},
  3015. {0x000099f0, 0x00000000},
  3016. {0x0000a208, 0x803e68c8},
  3017. {0x0000a210, 0x4080a333},
  3018. {0x0000a214, 0x00206c10},
  3019. {0x0000a218, 0x009c4060},
  3020. {0x0000a220, 0x01834061},
  3021. {0x0000a224, 0x00000400},
  3022. {0x0000a228, 0x000003b5},
  3023. {0x0000a22c, 0x00000000},
  3024. {0x0000a234, 0x20202020},
  3025. {0x0000a238, 0x20202020},
  3026. {0x0000a244, 0x00000000},
  3027. {0x0000a248, 0xfffffffc},
  3028. {0x0000a24c, 0x00000000},
  3029. {0x0000a254, 0x00000000},
  3030. {0x0000a258, 0x0ccb5380},
  3031. {0x0000a25c, 0x15151501},
  3032. {0x0000a260, 0xdfa90f01},
  3033. {0x0000a268, 0x00000000},
  3034. {0x0000a26c, 0x0ebae9e6},
  3035. {0x0000a388, 0x0c000000},
  3036. {0x0000a38c, 0x20202020},
  3037. {0x0000a390, 0x20202020},
  3038. {0x0000a39c, 0x00000001},
  3039. {0x0000a3a0, 0x00000000},
  3040. {0x0000a3a4, 0x00000000},
  3041. {0x0000a3a8, 0x00000000},
  3042. {0x0000a3ac, 0x00000000},
  3043. {0x0000a3b0, 0x00000000},
  3044. {0x0000a3b4, 0x00000000},
  3045. {0x0000a3b8, 0x00000000},
  3046. {0x0000a3bc, 0x00000000},
  3047. {0x0000a3c0, 0x00000000},
  3048. {0x0000a3c4, 0x00000000},
  3049. {0x0000a3cc, 0x20202020},
  3050. {0x0000a3d0, 0x20202020},
  3051. {0x0000a3d4, 0x20202020},
  3052. {0x0000a3e4, 0x00000000},
  3053. {0x0000a3e8, 0x18c43433},
  3054. {0x0000a3ec, 0x00f70081},
  3055. {0x0000a3f0, 0x01036a2f},
  3056. {0x0000a3f4, 0x00000000},
  3057. {0x0000d270, 0x0d820820},
  3058. {0x0000d35c, 0x07ffffef},
  3059. {0x0000d360, 0x0fffffe7},
  3060. {0x0000d364, 0x17ffffe5},
  3061. {0x0000d368, 0x1fffffe4},
  3062. {0x0000d36c, 0x37ffffe3},
  3063. {0x0000d370, 0x3fffffe3},
  3064. {0x0000d374, 0x57ffffe3},
  3065. {0x0000d378, 0x5fffffe2},
  3066. {0x0000d37c, 0x7fffffe2},
  3067. {0x0000d380, 0x7f3c7bba},
  3068. {0x0000d384, 0xf3307ff0},
  3069. };
  3070. static const u32 ar9271Modes_9271_ANI_reg[][5] = {
  3071. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  3072. {0x00009850, 0x6d4000e2, 0x6d4000e2, 0x6d4000e2, 0x6d4000e2},
  3073. {0x0000985c, 0x3139605e, 0x3139605e, 0x3137605e, 0x3137605e},
  3074. {0x00009858, 0x7ec84d2e, 0x7ec84d2e, 0x7ec84d2e, 0x7ec84d2e},
  3075. {0x0000986c, 0x06903881, 0x06903881, 0x06903881, 0x06903881},
  3076. {0x00009868, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0},
  3077. {0x0000a208, 0x803e68c8, 0x803e68c8, 0x803e68c8, 0x803e68c8},
  3078. {0x00009924, 0xd00a8007, 0xd00a8007, 0xd00a800d, 0xd00a800d},
  3079. {0x000099c0, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4},
  3080. };
  3081. static const u32 ar9271Modes_normal_power_tx_gain_9271[][5] = {
  3082. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  3083. {0x0000a300, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
  3084. {0x0000a304, 0x00000000, 0x00000000, 0x00009200, 0x00009200},
  3085. {0x0000a308, 0x00000000, 0x00000000, 0x00010208, 0x00010208},
  3086. {0x0000a30c, 0x00000000, 0x00000000, 0x00019608, 0x00019608},
  3087. {0x0000a310, 0x00000000, 0x00000000, 0x0001e610, 0x0001e610},
  3088. {0x0000a314, 0x00000000, 0x00000000, 0x00024650, 0x00024650},
  3089. {0x0000a318, 0x00000000, 0x00000000, 0x0002d6d0, 0x0002d6d0},
  3090. {0x0000a31c, 0x00000000, 0x00000000, 0x000316d2, 0x000316d2},
  3091. {0x0000a320, 0x00000000, 0x00000000, 0x00039758, 0x00039758},
  3092. {0x0000a324, 0x00000000, 0x00000000, 0x0003b759, 0x0003b759},
  3093. {0x0000a328, 0x00000000, 0x00000000, 0x0003d75a, 0x0003d75a},
  3094. {0x0000a32c, 0x00000000, 0x00000000, 0x0004175c, 0x0004175c},
  3095. {0x0000a330, 0x00000000, 0x00000000, 0x0004575e, 0x0004575e},
  3096. {0x0000a334, 0x000368de, 0x000368de, 0x0004979f, 0x0004979f},
  3097. {0x0000a338, 0x0003891e, 0x0003891e, 0x0004d7df, 0x0004d7df},
  3098. {0x0000a33c, 0x0003a95e, 0x0003a95e, 0x0003a95e, 0x0003a95e},
  3099. {0x0000a340, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3100. {0x0000a344, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3101. {0x0000a348, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3102. {0x0000a34c, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3103. {0x0000a350, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3104. {0x0000a354, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3105. {0x00007838, 0x00000029, 0x00000029, 0x00000029, 0x00000029},
  3106. {0x00007824, 0x00d8abff, 0x00d8abff, 0x00d8abff, 0x00d8abff},
  3107. {0x0000786c, 0x48609eb4, 0x48609eb4, 0x48609eb4, 0x48609eb4},
  3108. {0x00007820, 0x00000c04, 0x00000c04, 0x00000c04, 0x00000c04},
  3109. {0x0000a274, 0x0a21c652, 0x0a21c652, 0x0a21c652, 0x0a21c652},
  3110. {0x0000a278, 0x3bdef7bd, 0x3bdef7bd, 0x3bdef7bd, 0x3bdef7bd},
  3111. {0x0000a27c, 0x050e83bd, 0x050e83bd, 0x050e83bd, 0x050e83bd},
  3112. {0x0000a394, 0x3bdef7bd, 0x3bdef7bd, 0x3bdef7bd, 0x3bdef7bd},
  3113. {0x0000a398, 0x000003bd, 0x000003bd, 0x000003bd, 0x000003bd},
  3114. {0x0000a3dc, 0x3bdef7bd, 0x3bdef7bd, 0x3bdef7bd, 0x3bdef7bd},
  3115. {0x0000a3e0, 0x000003bd, 0x000003bd, 0x000003bd, 0x000003bd},
  3116. };
  3117. static const u32 ar9271Modes_high_power_tx_gain_9271[][5] = {
  3118. /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
  3119. {0x0000a300, 0x00000000, 0x00000000, 0x00010000, 0x00010000},
  3120. {0x0000a304, 0x00000000, 0x00000000, 0x00016200, 0x00016200},
  3121. {0x0000a308, 0x00000000, 0x00000000, 0x00018201, 0x00018201},
  3122. {0x0000a30c, 0x00000000, 0x00000000, 0x0001b240, 0x0001b240},
  3123. {0x0000a310, 0x00000000, 0x00000000, 0x0001d241, 0x0001d241},
  3124. {0x0000a314, 0x00000000, 0x00000000, 0x0001f600, 0x0001f600},
  3125. {0x0000a318, 0x00000000, 0x00000000, 0x00022800, 0x00022800},
  3126. {0x0000a31c, 0x00000000, 0x00000000, 0x00026802, 0x00026802},
  3127. {0x0000a320, 0x00000000, 0x00000000, 0x0002b805, 0x0002b805},
  3128. {0x0000a324, 0x00000000, 0x00000000, 0x0002ea41, 0x0002ea41},
  3129. {0x0000a328, 0x00000000, 0x00000000, 0x00038b00, 0x00038b00},
  3130. {0x0000a32c, 0x00000000, 0x00000000, 0x0003ab40, 0x0003ab40},
  3131. {0x0000a330, 0x00000000, 0x00000000, 0x0003cd80, 0x0003cd80},
  3132. {0x0000a334, 0x000368de, 0x000368de, 0x000368de, 0x000368de},
  3133. {0x0000a338, 0x0003891e, 0x0003891e, 0x0003891e, 0x0003891e},
  3134. {0x0000a33c, 0x0003a95e, 0x0003a95e, 0x0003a95e, 0x0003a95e},
  3135. {0x0000a340, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3136. {0x0000a344, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3137. {0x0000a348, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3138. {0x0000a34c, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3139. {0x0000a350, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3140. {0x0000a354, 0x0003e9df, 0x0003e9df, 0x0003e9df, 0x0003e9df},
  3141. {0x00007838, 0x0000002b, 0x0000002b, 0x0000002b, 0x0000002b},
  3142. {0x00007824, 0x00d8a7ff, 0x00d8a7ff, 0x00d8a7ff, 0x00d8a7ff},
  3143. {0x0000786c, 0x08609eb6, 0x08609eb6, 0x08609eba, 0x08609eba},
  3144. {0x00007820, 0x00000c00, 0x00000c00, 0x00000c00, 0x00000c00},
  3145. {0x0000a274, 0x0a22a652, 0x0a22a652, 0x0a214652, 0x0a214652},
  3146. {0x0000a278, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7, 0x0e739ce7},
  3147. {0x0000a27c, 0x05018063, 0x05038063, 0x05018063, 0x05018063},
  3148. {0x0000a394, 0x06318c63, 0x06318c63, 0x06318c63, 0x06318c63},
  3149. {0x0000a398, 0x00000063, 0x00000063, 0x00000063, 0x00000063},
  3150. {0x0000a3dc, 0x06318c63, 0x06318c63, 0x06318c63, 0x06318c63},
  3151. {0x0000a3e0, 0x00000063, 0x00000063, 0x00000063, 0x00000063},
  3152. };