phy_n.c 918 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820
  1. /*
  2. * Copyright (c) 2010 Broadcom Corporation
  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 ANY
  11. * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  13. * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  14. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  17. #include <linux/kernel.h>
  18. #include <linux/delay.h>
  19. #include <linux/cordic.h>
  20. #include <brcm_hw_ids.h>
  21. #include <aiutils.h>
  22. #include <chipcommon.h>
  23. #include <pmu.h>
  24. #include <d11.h>
  25. #include <phy_shim.h>
  26. #include "phy_int.h"
  27. #include "phy_hal.h"
  28. #include "phy_radio.h"
  29. #include "phyreg_n.h"
  30. #include "phytbl_n.h"
  31. #include "soc.h"
  32. #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \
  33. read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  34. ((core == PHY_CORE_0) ? \
  35. radio_type##_##jspace##0 : \
  36. radio_type##_##jspace##1))
  37. #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \
  38. write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  39. ((core == PHY_CORE_0) ? \
  40. radio_type##_##jspace##0 : \
  41. radio_type##_##jspace##1), value)
  42. #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \
  43. write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
  44. #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \
  45. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  46. radio_type##_##jspace##0##_##reg_name : \
  47. radio_type##_##jspace##1##_##reg_name))
  48. #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \
  49. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  50. radio_type##_##jspace##0##_##reg_name : \
  51. radio_type##_##jspace##1##_##reg_name), \
  52. value)
  53. #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \
  54. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  55. radio_type##_##reg_name##_##jspace##0 : \
  56. radio_type##_##reg_name##_##jspace##1))
  57. #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \
  58. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  59. radio_type##_##reg_name##_##jspace##0 : \
  60. radio_type##_##reg_name##_##jspace##1), \
  61. value)
  62. #define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ 40
  63. #define NPHY_ACI_CHANNEL_DELTA 5
  64. #define NPHY_ACI_CHANNEL_SKIP 4
  65. #define NPHY_ACI_40MHZ_CHANNEL_DELTA 6
  66. #define NPHY_ACI_40MHZ_CHANNEL_SKIP 5
  67. #define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3 6
  68. #define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3 5
  69. #define NPHY_ACI_CHANNEL_DELTA_GE_REV3 4
  70. #define NPHY_ACI_CHANNEL_SKIP_GE_REV3 3
  71. #define NPHY_NOISE_NOASSOC_GLITCH_TH_UP 2
  72. #define NPHY_NOISE_NOASSOC_GLITCH_TH_DN 8
  73. #define NPHY_NOISE_ASSOC_GLITCH_TH_UP 2
  74. #define NPHY_NOISE_ASSOC_GLITCH_TH_DN 8
  75. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP 2
  76. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN 8
  77. #define NPHY_NOISE_NOASSOC_ENTER_TH 400
  78. #define NPHY_NOISE_ASSOC_ENTER_TH 400
  79. #define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH 400
  80. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX 44
  81. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7 56
  82. #define NPHY_NOISE_NOASSOC_CRSIDX_INCR 16
  83. #define NPHY_NOISE_ASSOC_CRSIDX_INCR 8
  84. #define NPHY_IS_SROM_REINTERPRET NREV_GE(pi->pubpi.phy_rev, 5)
  85. #define NPHY_RSSICAL_MAXREAD 31
  86. #define NPHY_RSSICAL_NPOLL 8
  87. #define NPHY_RSSICAL_MAXD (1<<20)
  88. #define NPHY_MIN_RXIQ_PWR 2
  89. #define NPHY_RSSICAL_W1_TARGET 25
  90. #define NPHY_RSSICAL_W2_TARGET NPHY_RSSICAL_W1_TARGET
  91. #define NPHY_RSSICAL_NB_TARGET 0
  92. #define NPHY_RSSICAL_W1_TARGET_REV3 29
  93. #define NPHY_RSSICAL_W2_TARGET_REV3 NPHY_RSSICAL_W1_TARGET_REV3
  94. #define NPHY_CALSANITY_RSSI_NB_MAX_POS 9
  95. #define NPHY_CALSANITY_RSSI_NB_MAX_NEG -9
  96. #define NPHY_CALSANITY_RSSI_W1_MAX_POS 12
  97. #define NPHY_CALSANITY_RSSI_W1_MAX_NEG (NPHY_RSSICAL_W1_TARGET - \
  98. NPHY_RSSICAL_MAXREAD)
  99. #define NPHY_CALSANITY_RSSI_W2_MAX_POS NPHY_CALSANITY_RSSI_W1_MAX_POS
  100. #define NPHY_CALSANITY_RSSI_W2_MAX_NEG (NPHY_RSSICAL_W2_TARGET - \
  101. NPHY_RSSICAL_MAXREAD)
  102. #define NPHY_RSSI_SXT(x) ((s8) (-((x) & 0x20) + ((x) & 0x1f)))
  103. #define NPHY_RSSI_NB_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_NB_MAX_POS) || \
  104. ((x) < NPHY_CALSANITY_RSSI_NB_MAX_NEG))
  105. #define NPHY_RSSI_W1_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W1_MAX_POS) || \
  106. ((x) < NPHY_CALSANITY_RSSI_W1_MAX_NEG))
  107. #define NPHY_RSSI_W2_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W2_MAX_POS) || \
  108. ((x) < NPHY_CALSANITY_RSSI_W2_MAX_NEG))
  109. #define NPHY_IQCAL_NUMGAINS 9
  110. #define NPHY_N_GCTL 0x66
  111. #define NPHY_PAPD_EPS_TBL_SIZE 64
  112. #define NPHY_PAPD_SCL_TBL_SIZE 64
  113. #define NPHY_NUM_DIG_FILT_COEFFS 15
  114. #define NPHY_PAPD_COMP_OFF 0
  115. #define NPHY_PAPD_COMP_ON 1
  116. #define NPHY_SROM_TEMPSHIFT 32
  117. #define NPHY_SROM_MAXTEMPOFFSET 16
  118. #define NPHY_SROM_MINTEMPOFFSET -16
  119. #define NPHY_CAL_MAXTEMPDELTA 64
  120. #define NPHY_NOISEVAR_TBLLEN40 256
  121. #define NPHY_NOISEVAR_TBLLEN20 128
  122. #define NPHY_ANARXLPFBW_REDUCTIONFACT 7
  123. #define NPHY_ADJUSTED_MINCRSPOWER 0x1e
  124. /* 5357 Chip specific ChipControl register bits */
  125. #define CCTRL5357_EXTPA (1<<14) /* extPA in ChipControl 1, bit 14 */
  126. #define CCTRL5357_ANT_MUX_2o3 (1<<15) /* 2o3 in ChipControl 1, bit 15 */
  127. #define NPHY_CAL_TSSISAMPS 64
  128. #define NPHY_TEST_TONE_FREQ_40MHz 4000
  129. #define NPHY_TEST_TONE_FREQ_20MHz 2500
  130. #define MAX_205x_RCAL_WAITLOOPS 10000
  131. #define NPHY_RXCAL_TONEAMP 181
  132. #define NPHY_RXCAL_TONEFREQ_40MHz 4000
  133. #define NPHY_RXCAL_TONEFREQ_20MHz 2000
  134. #define TXFILT_SHAPING_OFDM20 0
  135. #define TXFILT_SHAPING_OFDM40 1
  136. #define TXFILT_SHAPING_CCK 2
  137. #define TXFILT_DEFAULT_OFDM20 3
  138. #define TXFILT_DEFAULT_OFDM40 4
  139. struct nphy_iqcal_params {
  140. u16 txlpf;
  141. u16 txgm;
  142. u16 pga;
  143. u16 pad;
  144. u16 ipa;
  145. u16 cal_gain;
  146. u16 ncorr[5];
  147. };
  148. struct nphy_txiqcal_ladder {
  149. u8 percent;
  150. u8 g_env;
  151. };
  152. struct nphy_ipa_txcalgains {
  153. struct nphy_txgains gains;
  154. bool useindex;
  155. u8 index;
  156. };
  157. struct nphy_papd_restore_state {
  158. u16 fbmix[2];
  159. u16 vga_master[2];
  160. u16 intpa_master[2];
  161. u16 afectrl[2];
  162. u16 afeoverride[2];
  163. u16 pwrup[2];
  164. u16 atten[2];
  165. u16 mm;
  166. };
  167. struct nphy_ipa_txrxgain {
  168. u16 hpvga;
  169. u16 lpf_biq1;
  170. u16 lpf_biq0;
  171. u16 lna2;
  172. u16 lna1;
  173. s8 txpwrindex;
  174. };
  175. #define NPHY_IPA_RXCAL_MAXGAININDEX (6 - 1)
  176. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz[] = {
  177. {0, 0, 0, 0, 0, 100},
  178. {0, 0, 0, 0, 0, 50},
  179. {0, 0, 0, 0, 0, -1},
  180. {0, 0, 0, 3, 0, -1},
  181. {0, 0, 3, 3, 0, -1},
  182. {0, 2, 3, 3, 0, -1}
  183. };
  184. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz[] = {
  185. {0, 0, 0, 0, 0, 128},
  186. {0, 0, 0, 0, 0, 70},
  187. {0, 0, 0, 0, 0, 20},
  188. {0, 0, 0, 3, 0, 20},
  189. {0, 0, 3, 3, 0, 20},
  190. {0, 2, 3, 3, 0, 20}
  191. };
  192. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz_rev7[] = {
  193. {0, 0, 0, 0, 0, 100},
  194. {0, 0, 0, 0, 0, 50},
  195. {0, 0, 0, 0, 0, -1},
  196. {0, 0, 0, 3, 0, -1},
  197. {0, 0, 3, 3, 0, -1},
  198. {0, 0, 5, 3, 0, -1}
  199. };
  200. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz_rev7[] = {
  201. {0, 0, 0, 0, 0, 10},
  202. {0, 0, 0, 1, 0, 10},
  203. {0, 0, 1, 2, 0, 10},
  204. {0, 0, 1, 3, 0, 10},
  205. {0, 0, 4, 3, 0, 10},
  206. {0, 0, 6, 3, 0, 10}
  207. };
  208. enum {
  209. NPHY_RXCAL_GAIN_INIT = 0,
  210. NPHY_RXCAL_GAIN_UP,
  211. NPHY_RXCAL_GAIN_DOWN
  212. };
  213. #define wlc_phy_get_papd_nphy(pi) \
  214. (read_phy_reg((pi), 0x1e7) & \
  215. ((0x1 << 15) | \
  216. (0x1 << 14) | \
  217. (0x1 << 13)))
  218. static const u16 NPHY_IPA_REV4_txdigi_filtcoeffs[][NPHY_NUM_DIG_FILT_COEFFS] = {
  219. {-377, 137, -407, 208, -1527, 956, 93, 186, 93,
  220. 230, -44, 230, 201, -191, 201},
  221. {-77, 20, -98, 49, -93, 60, 56, 111, 56, 26, -5,
  222. 26, 34, -32, 34},
  223. {-360, 164, -376, 164, -1533, 576, 308, -314, 308,
  224. 121, -73, 121, 91, 124, 91},
  225. {-295, 200, -363, 142, -1391, 826, 151, 301, 151,
  226. 151, 301, 151, 602, -752, 602},
  227. {-92, 58, -96, 49, -104, 44, 17, 35, 17,
  228. 12, 25, 12, 13, 27, 13},
  229. {-375, 136, -399, 209, -1479, 949, 130, 260, 130,
  230. 230, -44, 230, 201, -191, 201},
  231. {0xed9, 0xc8, 0xe95, 0x8e, 0xa91, 0x33a, 0x97, 0x12d, 0x97,
  232. 0x97, 0x12d, 0x97, 0x25a, 0xd10, 0x25a}
  233. };
  234. struct chan_info_nphy_2055 {
  235. u16 chan;
  236. u16 freq;
  237. uint unknown;
  238. u8 RF_pll_ref;
  239. u8 RF_rf_pll_mod1;
  240. u8 RF_rf_pll_mod0;
  241. u8 RF_vco_cap_tail;
  242. u8 RF_vco_cal1;
  243. u8 RF_vco_cal2;
  244. u8 RF_pll_lf_c1;
  245. u8 RF_pll_lf_r1;
  246. u8 RF_pll_lf_c2;
  247. u8 RF_lgbuf_cen_buf;
  248. u8 RF_lgen_tune1;
  249. u8 RF_lgen_tune2;
  250. u8 RF_core1_lgbuf_a_tune;
  251. u8 RF_core1_lgbuf_g_tune;
  252. u8 RF_core1_rxrf_reg1;
  253. u8 RF_core1_tx_pga_pad_tn;
  254. u8 RF_core1_tx_mx_bgtrim;
  255. u8 RF_core2_lgbuf_a_tune;
  256. u8 RF_core2_lgbuf_g_tune;
  257. u8 RF_core2_rxrf_reg1;
  258. u8 RF_core2_tx_pga_pad_tn;
  259. u8 RF_core2_tx_mx_bgtrim;
  260. u16 PHY_BW1a;
  261. u16 PHY_BW2;
  262. u16 PHY_BW3;
  263. u16 PHY_BW4;
  264. u16 PHY_BW5;
  265. u16 PHY_BW6;
  266. };
  267. struct chan_info_nphy_radio205x {
  268. u16 chan;
  269. u16 freq;
  270. u8 RF_SYN_pll_vcocal1;
  271. u8 RF_SYN_pll_vcocal2;
  272. u8 RF_SYN_pll_refdiv;
  273. u8 RF_SYN_pll_mmd2;
  274. u8 RF_SYN_pll_mmd1;
  275. u8 RF_SYN_pll_loopfilter1;
  276. u8 RF_SYN_pll_loopfilter2;
  277. u8 RF_SYN_pll_loopfilter3;
  278. u8 RF_SYN_pll_loopfilter4;
  279. u8 RF_SYN_pll_loopfilter5;
  280. u8 RF_SYN_reserved_addr27;
  281. u8 RF_SYN_reserved_addr28;
  282. u8 RF_SYN_reserved_addr29;
  283. u8 RF_SYN_logen_VCOBUF1;
  284. u8 RF_SYN_logen_MIXER2;
  285. u8 RF_SYN_logen_BUF3;
  286. u8 RF_SYN_logen_BUF4;
  287. u8 RF_RX0_lnaa_tune;
  288. u8 RF_RX0_lnag_tune;
  289. u8 RF_TX0_intpaa_boost_tune;
  290. u8 RF_TX0_intpag_boost_tune;
  291. u8 RF_TX0_pada_boost_tune;
  292. u8 RF_TX0_padg_boost_tune;
  293. u8 RF_TX0_pgaa_boost_tune;
  294. u8 RF_TX0_pgag_boost_tune;
  295. u8 RF_TX0_mixa_boost_tune;
  296. u8 RF_TX0_mixg_boost_tune;
  297. u8 RF_RX1_lnaa_tune;
  298. u8 RF_RX1_lnag_tune;
  299. u8 RF_TX1_intpaa_boost_tune;
  300. u8 RF_TX1_intpag_boost_tune;
  301. u8 RF_TX1_pada_boost_tune;
  302. u8 RF_TX1_padg_boost_tune;
  303. u8 RF_TX1_pgaa_boost_tune;
  304. u8 RF_TX1_pgag_boost_tune;
  305. u8 RF_TX1_mixa_boost_tune;
  306. u8 RF_TX1_mixg_boost_tune;
  307. u16 PHY_BW1a;
  308. u16 PHY_BW2;
  309. u16 PHY_BW3;
  310. u16 PHY_BW4;
  311. u16 PHY_BW5;
  312. u16 PHY_BW6;
  313. };
  314. struct chan_info_nphy_radio2057 {
  315. u16 chan;
  316. u16 freq;
  317. u8 RF_vcocal_countval0;
  318. u8 RF_vcocal_countval1;
  319. u8 RF_rfpll_refmaster_sparextalsize;
  320. u8 RF_rfpll_loopfilter_r1;
  321. u8 RF_rfpll_loopfilter_c2;
  322. u8 RF_rfpll_loopfilter_c1;
  323. u8 RF_cp_kpd_idac;
  324. u8 RF_rfpll_mmd0;
  325. u8 RF_rfpll_mmd1;
  326. u8 RF_vcobuf_tune;
  327. u8 RF_logen_mx2g_tune;
  328. u8 RF_logen_mx5g_tune;
  329. u8 RF_logen_indbuf2g_tune;
  330. u8 RF_logen_indbuf5g_tune;
  331. u8 RF_txmix2g_tune_boost_pu_core0;
  332. u8 RF_pad2g_tune_pus_core0;
  333. u8 RF_pga_boost_tune_core0;
  334. u8 RF_txmix5g_boost_tune_core0;
  335. u8 RF_pad5g_tune_misc_pus_core0;
  336. u8 RF_lna2g_tune_core0;
  337. u8 RF_lna5g_tune_core0;
  338. u8 RF_txmix2g_tune_boost_pu_core1;
  339. u8 RF_pad2g_tune_pus_core1;
  340. u8 RF_pga_boost_tune_core1;
  341. u8 RF_txmix5g_boost_tune_core1;
  342. u8 RF_pad5g_tune_misc_pus_core1;
  343. u8 RF_lna2g_tune_core1;
  344. u8 RF_lna5g_tune_core1;
  345. u16 PHY_BW1a;
  346. u16 PHY_BW2;
  347. u16 PHY_BW3;
  348. u16 PHY_BW4;
  349. u16 PHY_BW5;
  350. u16 PHY_BW6;
  351. };
  352. struct chan_info_nphy_radio2057_rev5 {
  353. u16 chan;
  354. u16 freq;
  355. u8 RF_vcocal_countval0;
  356. u8 RF_vcocal_countval1;
  357. u8 RF_rfpll_refmaster_sparextalsize;
  358. u8 RF_rfpll_loopfilter_r1;
  359. u8 RF_rfpll_loopfilter_c2;
  360. u8 RF_rfpll_loopfilter_c1;
  361. u8 RF_cp_kpd_idac;
  362. u8 RF_rfpll_mmd0;
  363. u8 RF_rfpll_mmd1;
  364. u8 RF_vcobuf_tune;
  365. u8 RF_logen_mx2g_tune;
  366. u8 RF_logen_indbuf2g_tune;
  367. u8 RF_txmix2g_tune_boost_pu_core0;
  368. u8 RF_pad2g_tune_pus_core0;
  369. u8 RF_lna2g_tune_core0;
  370. u8 RF_txmix2g_tune_boost_pu_core1;
  371. u8 RF_pad2g_tune_pus_core1;
  372. u8 RF_lna2g_tune_core1;
  373. u16 PHY_BW1a;
  374. u16 PHY_BW2;
  375. u16 PHY_BW3;
  376. u16 PHY_BW4;
  377. u16 PHY_BW5;
  378. u16 PHY_BW6;
  379. };
  380. struct nphy_sfo_cfg {
  381. u16 PHY_BW1a;
  382. u16 PHY_BW2;
  383. u16 PHY_BW3;
  384. u16 PHY_BW4;
  385. u16 PHY_BW5;
  386. u16 PHY_BW6;
  387. };
  388. static const struct chan_info_nphy_2055 chan_info_nphy_2055[] = {
  389. {
  390. 184, 4920, 3280, 0x71, 0x01, 0xEC, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  391. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  392. 0x0F, 0x8F, 0x7B4, 0x7B0, 0x7AC, 0x214, 0x215, 0x216},
  393. {
  394. 186, 4930, 3287, 0x71, 0x01, 0xED, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  395. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  396. 0x0F, 0x8F, 0x7B8, 0x7B4, 0x7B0, 0x213, 0x214, 0x215},
  397. {
  398. 188, 4940, 3293, 0x71, 0x01, 0xEE, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  399. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  400. 0x0F, 0x8F, 0x7BC, 0x7B8, 0x7B4, 0x212, 0x213, 0x214},
  401. {
  402. 190, 4950, 3300, 0x71, 0x01, 0xEF, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  403. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  404. 0x0F, 0x8F, 0x7C0, 0x7BC, 0x7B8, 0x211, 0x212, 0x213},
  405. {
  406. 192, 4960, 3307, 0x71, 0x01, 0xF0, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  407. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  408. 0x0F, 0x8F, 0x7C4, 0x7C0, 0x7BC, 0x20F, 0x211, 0x212},
  409. {
  410. 194, 4970, 3313, 0x71, 0x01, 0xF1, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  411. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  412. 0x0F, 0x8F, 0x7C8, 0x7C4, 0x7C0, 0x20E, 0x20F, 0x211},
  413. {
  414. 196, 4980, 3320, 0x71, 0x01, 0xF2, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  415. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  416. 0x0F, 0x8F, 0x7CC, 0x7C8, 0x7C4, 0x20D, 0x20E, 0x20F},
  417. {
  418. 198, 4990, 3327, 0x71, 0x01, 0xF3, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  419. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  420. 0x0F, 0x8F, 0x7D0, 0x7CC, 0x7C8, 0x20C, 0x20D, 0x20E},
  421. {
  422. 200, 5000, 3333, 0x71, 0x01, 0xF4, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  423. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  424. 0x0F, 0x8F, 0x7D4, 0x7D0, 0x7CC, 0x20B, 0x20C, 0x20D},
  425. {
  426. 202, 5010, 3340, 0x71, 0x01, 0xF5, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  427. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  428. 0x0F, 0x8F, 0x7D8, 0x7D4, 0x7D0, 0x20A, 0x20B, 0x20C},
  429. {
  430. 204, 5020, 3347, 0x71, 0x01, 0xF6, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  431. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  432. 0x0F, 0x8F, 0x7DC, 0x7D8, 0x7D4, 0x209, 0x20A, 0x20B},
  433. {
  434. 206, 5030, 3353, 0x71, 0x01, 0xF7, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  435. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  436. 0x0F, 0x8F, 0x7E0, 0x7DC, 0x7D8, 0x208, 0x209, 0x20A},
  437. {
  438. 208, 5040, 3360, 0x71, 0x01, 0xF8, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  439. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  440. 0x0F, 0x8F, 0x7E4, 0x7E0, 0x7DC, 0x207, 0x208, 0x209},
  441. {
  442. 210, 5050, 3367, 0x71, 0x01, 0xF9, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  443. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  444. 0x0F, 0x8F, 0x7E8, 0x7E4, 0x7E0, 0x206, 0x207, 0x208},
  445. {
  446. 212, 5060, 3373, 0x71, 0x01, 0xFA, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  447. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  448. 0x0F, 0x8E, 0x7EC, 0x7E8, 0x7E4, 0x205, 0x206, 0x207},
  449. {
  450. 214, 5070, 3380, 0x71, 0x01, 0xFB, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  451. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  452. 0x0F, 0x8E, 0x7F0, 0x7EC, 0x7E8, 0x204, 0x205, 0x206},
  453. {
  454. 216, 5080, 3387, 0x71, 0x01, 0xFC, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  455. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  456. 0x0F, 0x8D, 0x7F4, 0x7F0, 0x7EC, 0x203, 0x204, 0x205},
  457. {
  458. 218, 5090, 3393, 0x71, 0x01, 0xFD, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  459. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  460. 0x0F, 0x8D, 0x7F8, 0x7F4, 0x7F0, 0x202, 0x203, 0x204},
  461. {
  462. 220, 5100, 3400, 0x71, 0x01, 0xFE, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  463. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  464. 0x0F, 0x8D, 0x7FC, 0x7F8, 0x7F4, 0x201, 0x202, 0x203},
  465. {
  466. 222, 5110, 3407, 0x71, 0x01, 0xFF, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  467. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  468. 0x0F, 0x8D, 0x800, 0x7FC, 0x7F8, 0x200, 0x201, 0x202},
  469. {
  470. 224, 5120, 3413, 0x71, 0x02, 0x00, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  471. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  472. 0x0F, 0x8C, 0x804, 0x800, 0x7FC, 0x1FF, 0x200, 0x201},
  473. {
  474. 226, 5130, 3420, 0x71, 0x02, 0x01, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  475. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  476. 0x0F, 0x8C, 0x808, 0x804, 0x800, 0x1FE, 0x1FF, 0x200},
  477. {
  478. 228, 5140, 3427, 0x71, 0x02, 0x02, 0x0C, 0xC6, 0x01, 0x04, 0x0A,
  479. 0x00, 0x8D, 0x99, 0x99, 0xDD, 0x00, 0x0C, 0x0E, 0x8B, 0xDD, 0x00, 0x0C,
  480. 0x0E, 0x8B, 0x80C, 0x808, 0x804, 0x1FD, 0x1FE, 0x1FF},
  481. {
  482. 32, 5160, 3440, 0x71, 0x02, 0x04, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  483. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  484. 0x0D, 0x8A, 0x814, 0x810, 0x80C, 0x1FB, 0x1FC, 0x1FD},
  485. {
  486. 34, 5170, 3447, 0x71, 0x02, 0x05, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  487. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  488. 0x0D, 0x8A, 0x818, 0x814, 0x810, 0x1FA, 0x1FB, 0x1FC},
  489. {
  490. 36, 5180, 3453, 0x71, 0x02, 0x06, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  491. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  492. 0x0C, 0x89, 0x81C, 0x818, 0x814, 0x1F9, 0x1FA, 0x1FB},
  493. {
  494. 38, 5190, 3460, 0x71, 0x02, 0x07, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  495. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  496. 0x0C, 0x89, 0x820, 0x81C, 0x818, 0x1F8, 0x1F9, 0x1FA},
  497. {
  498. 40, 5200, 3467, 0x71, 0x02, 0x08, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  499. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  500. 0x0B, 0x89, 0x824, 0x820, 0x81C, 0x1F7, 0x1F8, 0x1F9},
  501. {
  502. 42, 5210, 3473, 0x71, 0x02, 0x09, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  503. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  504. 0x0B, 0x89, 0x828, 0x824, 0x820, 0x1F6, 0x1F7, 0x1F8},
  505. {
  506. 44, 5220, 3480, 0x71, 0x02, 0x0A, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  507. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  508. 0x0A, 0x88, 0x82C, 0x828, 0x824, 0x1F5, 0x1F6, 0x1F7},
  509. {
  510. 46, 5230, 3487, 0x71, 0x02, 0x0B, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  511. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  512. 0x0A, 0x88, 0x830, 0x82C, 0x828, 0x1F4, 0x1F5, 0x1F6},
  513. {
  514. 48, 5240, 3493, 0x71, 0x02, 0x0C, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  515. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  516. 0x0A, 0x87, 0x834, 0x830, 0x82C, 0x1F3, 0x1F4, 0x1F5},
  517. {
  518. 50, 5250, 3500, 0x71, 0x02, 0x0D, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  519. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  520. 0x0A, 0x87, 0x838, 0x834, 0x830, 0x1F2, 0x1F3, 0x1F4},
  521. {
  522. 52, 5260, 3507, 0x71, 0x02, 0x0E, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  523. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  524. 0x09, 0x87, 0x83C, 0x838, 0x834, 0x1F1, 0x1F2, 0x1F3},
  525. {
  526. 54, 5270, 3513, 0x71, 0x02, 0x0F, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  527. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  528. 0x09, 0x87, 0x840, 0x83C, 0x838, 0x1F0, 0x1F1, 0x1F2},
  529. {
  530. 56, 5280, 3520, 0x71, 0x02, 0x10, 0x09, 0x91, 0x01, 0x04, 0x0A,
  531. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  532. 0x08, 0x86, 0x844, 0x840, 0x83C, 0x1F0, 0x1F0, 0x1F1},
  533. {
  534. 58, 5290, 3527, 0x71, 0x02, 0x11, 0x09, 0x91, 0x01, 0x04, 0x0A,
  535. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  536. 0x08, 0x86, 0x848, 0x844, 0x840, 0x1EF, 0x1F0, 0x1F0},
  537. {
  538. 60, 5300, 3533, 0x71, 0x02, 0x12, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  539. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  540. 0x07, 0x85, 0x84C, 0x848, 0x844, 0x1EE, 0x1EF, 0x1F0},
  541. {
  542. 62, 5310, 3540, 0x71, 0x02, 0x13, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  543. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  544. 0x07, 0x85, 0x850, 0x84C, 0x848, 0x1ED, 0x1EE, 0x1EF},
  545. {
  546. 64, 5320, 3547, 0x71, 0x02, 0x14, 0x09, 0x83, 0x01, 0x04, 0x0A,
  547. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  548. 0x07, 0x84, 0x854, 0x850, 0x84C, 0x1EC, 0x1ED, 0x1EE},
  549. {
  550. 66, 5330, 3553, 0x71, 0x02, 0x15, 0x09, 0x83, 0x01, 0x04, 0x0A,
  551. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  552. 0x07, 0x84, 0x858, 0x854, 0x850, 0x1EB, 0x1EC, 0x1ED},
  553. {
  554. 68, 5340, 3560, 0x71, 0x02, 0x16, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  555. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  556. 0x06, 0x84, 0x85C, 0x858, 0x854, 0x1EA, 0x1EB, 0x1EC},
  557. {
  558. 70, 5350, 3567, 0x71, 0x02, 0x17, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  559. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  560. 0x06, 0x84, 0x860, 0x85C, 0x858, 0x1E9, 0x1EA, 0x1EB},
  561. {
  562. 72, 5360, 3573, 0x71, 0x02, 0x18, 0x08, 0x75, 0x01, 0x04, 0x0A,
  563. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  564. 0x05, 0x83, 0x864, 0x860, 0x85C, 0x1E8, 0x1E9, 0x1EA},
  565. {
  566. 74, 5370, 3580, 0x71, 0x02, 0x19, 0x08, 0x75, 0x01, 0x04, 0x0A,
  567. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  568. 0x05, 0x83, 0x868, 0x864, 0x860, 0x1E7, 0x1E8, 0x1E9},
  569. {
  570. 76, 5380, 3587, 0x71, 0x02, 0x1A, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  571. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  572. 0x04, 0x82, 0x86C, 0x868, 0x864, 0x1E6, 0x1E7, 0x1E8},
  573. {
  574. 78, 5390, 3593, 0x71, 0x02, 0x1B, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  575. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  576. 0x04, 0x82, 0x870, 0x86C, 0x868, 0x1E5, 0x1E6, 0x1E7},
  577. {
  578. 80, 5400, 3600, 0x71, 0x02, 0x1C, 0x07, 0x67, 0x01, 0x04, 0x0A,
  579. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  580. 0x04, 0x81, 0x874, 0x870, 0x86C, 0x1E5, 0x1E5, 0x1E6},
  581. {
  582. 82, 5410, 3607, 0x71, 0x02, 0x1D, 0x07, 0x67, 0x01, 0x04, 0x0A,
  583. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  584. 0x04, 0x81, 0x878, 0x874, 0x870, 0x1E4, 0x1E5, 0x1E5},
  585. {
  586. 84, 5420, 3613, 0x71, 0x02, 0x1E, 0x07, 0x61, 0x01, 0x04, 0x0A,
  587. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  588. 0x03, 0x80, 0x87C, 0x878, 0x874, 0x1E3, 0x1E4, 0x1E5},
  589. {
  590. 86, 5430, 3620, 0x71, 0x02, 0x1F, 0x07, 0x61, 0x01, 0x04, 0x0A,
  591. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  592. 0x03, 0x80, 0x880, 0x87C, 0x878, 0x1E2, 0x1E3, 0x1E4},
  593. {
  594. 88, 5440, 3627, 0x71, 0x02, 0x20, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  595. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  596. 0x02, 0x80, 0x884, 0x880, 0x87C, 0x1E1, 0x1E2, 0x1E3},
  597. {
  598. 90, 5450, 3633, 0x71, 0x02, 0x21, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  599. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  600. 0x02, 0x80, 0x888, 0x884, 0x880, 0x1E0, 0x1E1, 0x1E2},
  601. {
  602. 92, 5460, 3640, 0x71, 0x02, 0x22, 0x06, 0x53, 0x01, 0x04, 0x0A,
  603. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  604. 0x01, 0x80, 0x88C, 0x888, 0x884, 0x1DF, 0x1E0, 0x1E1},
  605. {
  606. 94, 5470, 3647, 0x71, 0x02, 0x23, 0x06, 0x53, 0x01, 0x04, 0x0A,
  607. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  608. 0x01, 0x80, 0x890, 0x88C, 0x888, 0x1DE, 0x1DF, 0x1E0},
  609. {
  610. 96, 5480, 3653, 0x71, 0x02, 0x24, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  611. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  612. 0x00, 0x80, 0x894, 0x890, 0x88C, 0x1DD, 0x1DE, 0x1DF},
  613. {
  614. 98, 5490, 3660, 0x71, 0x02, 0x25, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  615. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  616. 0x00, 0x80, 0x898, 0x894, 0x890, 0x1DD, 0x1DD, 0x1DE},
  617. {
  618. 100, 5500, 3667, 0x71, 0x02, 0x26, 0x06, 0x47, 0x01, 0x04, 0x0A,
  619. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  620. 0x00, 0x80, 0x89C, 0x898, 0x894, 0x1DC, 0x1DD, 0x1DD},
  621. {
  622. 102, 5510, 3673, 0x71, 0x02, 0x27, 0x06, 0x47, 0x01, 0x04, 0x0A,
  623. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  624. 0x00, 0x80, 0x8A0, 0x89C, 0x898, 0x1DB, 0x1DC, 0x1DD},
  625. {
  626. 104, 5520, 3680, 0x71, 0x02, 0x28, 0x05, 0x40, 0x01, 0x04, 0x0A,
  627. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  628. 0x00, 0x80, 0x8A4, 0x8A0, 0x89C, 0x1DA, 0x1DB, 0x1DC},
  629. {
  630. 106, 5530, 3687, 0x71, 0x02, 0x29, 0x05, 0x40, 0x01, 0x04, 0x0A,
  631. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  632. 0x00, 0x80, 0x8A8, 0x8A4, 0x8A0, 0x1D9, 0x1DA, 0x1DB},
  633. {
  634. 108, 5540, 3693, 0x71, 0x02, 0x2A, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  635. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  636. 0x00, 0x80, 0x8AC, 0x8A8, 0x8A4, 0x1D8, 0x1D9, 0x1DA},
  637. {
  638. 110, 5550, 3700, 0x71, 0x02, 0x2B, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  639. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  640. 0x00, 0x80, 0x8B0, 0x8AC, 0x8A8, 0x1D7, 0x1D8, 0x1D9},
  641. {
  642. 112, 5560, 3707, 0x71, 0x02, 0x2C, 0x05, 0x34, 0x01, 0x04, 0x0A,
  643. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  644. 0x00, 0x80, 0x8B4, 0x8B0, 0x8AC, 0x1D7, 0x1D7, 0x1D8},
  645. {
  646. 114, 5570, 3713, 0x71, 0x02, 0x2D, 0x05, 0x34, 0x01, 0x04, 0x0A,
  647. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  648. 0x00, 0x80, 0x8B8, 0x8B4, 0x8B0, 0x1D6, 0x1D7, 0x1D7},
  649. {
  650. 116, 5580, 3720, 0x71, 0x02, 0x2E, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  651. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  652. 0x00, 0x80, 0x8BC, 0x8B8, 0x8B4, 0x1D5, 0x1D6, 0x1D7},
  653. {
  654. 118, 5590, 3727, 0x71, 0x02, 0x2F, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  655. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  656. 0x00, 0x80, 0x8C0, 0x8BC, 0x8B8, 0x1D4, 0x1D5, 0x1D6},
  657. {
  658. 120, 5600, 3733, 0x71, 0x02, 0x30, 0x04, 0x28, 0x01, 0x04, 0x0A,
  659. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  660. 0x00, 0x80, 0x8C4, 0x8C0, 0x8BC, 0x1D3, 0x1D4, 0x1D5},
  661. {
  662. 122, 5610, 3740, 0x71, 0x02, 0x31, 0x04, 0x28, 0x01, 0x04, 0x0A,
  663. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  664. 0x00, 0x80, 0x8C8, 0x8C4, 0x8C0, 0x1D2, 0x1D3, 0x1D4},
  665. {
  666. 124, 5620, 3747, 0x71, 0x02, 0x32, 0x04, 0x21, 0x01, 0x04, 0x0A,
  667. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  668. 0x00, 0x80, 0x8CC, 0x8C8, 0x8C4, 0x1D2, 0x1D2, 0x1D3},
  669. {
  670. 126, 5630, 3753, 0x71, 0x02, 0x33, 0x04, 0x21, 0x01, 0x04, 0x0A,
  671. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  672. 0x00, 0x80, 0x8D0, 0x8CC, 0x8C8, 0x1D1, 0x1D2, 0x1D2},
  673. {
  674. 128, 5640, 3760, 0x71, 0x02, 0x34, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  675. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  676. 0x00, 0x80, 0x8D4, 0x8D0, 0x8CC, 0x1D0, 0x1D1, 0x1D2},
  677. {
  678. 130, 5650, 3767, 0x71, 0x02, 0x35, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  679. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  680. 0x00, 0x80, 0x8D8, 0x8D4, 0x8D0, 0x1CF, 0x1D0, 0x1D1},
  681. {
  682. 132, 5660, 3773, 0x71, 0x02, 0x36, 0x03, 0x16, 0x01, 0x04, 0x0A,
  683. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  684. 0x00, 0x80, 0x8DC, 0x8D8, 0x8D4, 0x1CE, 0x1CF, 0x1D0},
  685. {
  686. 134, 5670, 3780, 0x71, 0x02, 0x37, 0x03, 0x16, 0x01, 0x04, 0x0A,
  687. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  688. 0x00, 0x80, 0x8E0, 0x8DC, 0x8D8, 0x1CE, 0x1CE, 0x1CF},
  689. {
  690. 136, 5680, 3787, 0x71, 0x02, 0x38, 0x03, 0x10, 0x01, 0x04, 0x0A,
  691. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  692. 0x00, 0x80, 0x8E4, 0x8E0, 0x8DC, 0x1CD, 0x1CE, 0x1CE},
  693. {
  694. 138, 5690, 3793, 0x71, 0x02, 0x39, 0x03, 0x10, 0x01, 0x04, 0x0A,
  695. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  696. 0x00, 0x80, 0x8E8, 0x8E4, 0x8E0, 0x1CC, 0x1CD, 0x1CE},
  697. {
  698. 140, 5700, 3800, 0x71, 0x02, 0x3A, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  699. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  700. 0x00, 0x80, 0x8EC, 0x8E8, 0x8E4, 0x1CB, 0x1CC, 0x1CD},
  701. {
  702. 142, 5710, 3807, 0x71, 0x02, 0x3B, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  703. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  704. 0x00, 0x80, 0x8F0, 0x8EC, 0x8E8, 0x1CA, 0x1CB, 0x1CC},
  705. {
  706. 144, 5720, 3813, 0x71, 0x02, 0x3C, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  707. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  708. 0x00, 0x80, 0x8F4, 0x8F0, 0x8EC, 0x1C9, 0x1CA, 0x1CB},
  709. {
  710. 145, 5725, 3817, 0x72, 0x04, 0x79, 0x02, 0x03, 0x01, 0x03, 0x14,
  711. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  712. 0x00, 0x80, 0x8F6, 0x8F2, 0x8EE, 0x1C9, 0x1CA, 0x1CB},
  713. {
  714. 146, 5730, 3820, 0x71, 0x02, 0x3D, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  715. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  716. 0x00, 0x80, 0x8F8, 0x8F4, 0x8F0, 0x1C9, 0x1C9, 0x1CA},
  717. {
  718. 147, 5735, 3823, 0x72, 0x04, 0x7B, 0x02, 0x03, 0x01, 0x03, 0x14,
  719. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  720. 0x00, 0x80, 0x8FA, 0x8F6, 0x8F2, 0x1C8, 0x1C9, 0x1CA},
  721. {
  722. 148, 5740, 3827, 0x71, 0x02, 0x3E, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  723. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  724. 0x00, 0x80, 0x8FC, 0x8F8, 0x8F4, 0x1C8, 0x1C9, 0x1C9},
  725. {
  726. 149, 5745, 3830, 0x72, 0x04, 0x7D, 0x02, 0xFE, 0x00, 0x03, 0x14,
  727. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  728. 0x00, 0x80, 0x8FE, 0x8FA, 0x8F6, 0x1C8, 0x1C8, 0x1C9},
  729. {
  730. 150, 5750, 3833, 0x71, 0x02, 0x3F, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  731. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  732. 0x00, 0x80, 0x900, 0x8FC, 0x8F8, 0x1C7, 0x1C8, 0x1C9},
  733. {
  734. 151, 5755, 3837, 0x72, 0x04, 0x7F, 0x02, 0xFE, 0x00, 0x03, 0x14,
  735. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  736. 0x00, 0x80, 0x902, 0x8FE, 0x8FA, 0x1C7, 0x1C8, 0x1C8},
  737. {
  738. 152, 5760, 3840, 0x71, 0x02, 0x40, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  739. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  740. 0x00, 0x80, 0x904, 0x900, 0x8FC, 0x1C6, 0x1C7, 0x1C8},
  741. {
  742. 153, 5765, 3843, 0x72, 0x04, 0x81, 0x02, 0xF8, 0x00, 0x03, 0x14,
  743. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  744. 0x00, 0x80, 0x906, 0x902, 0x8FE, 0x1C6, 0x1C7, 0x1C8},
  745. {
  746. 154, 5770, 3847, 0x71, 0x02, 0x41, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  747. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  748. 0x00, 0x80, 0x908, 0x904, 0x900, 0x1C6, 0x1C6, 0x1C7},
  749. {
  750. 155, 5775, 3850, 0x72, 0x04, 0x83, 0x02, 0xF8, 0x00, 0x03, 0x14,
  751. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  752. 0x00, 0x80, 0x90A, 0x906, 0x902, 0x1C5, 0x1C6, 0x1C7},
  753. {
  754. 156, 5780, 3853, 0x71, 0x02, 0x42, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  755. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  756. 0x00, 0x80, 0x90C, 0x908, 0x904, 0x1C5, 0x1C6, 0x1C6},
  757. {
  758. 157, 5785, 3857, 0x72, 0x04, 0x85, 0x02, 0xF2, 0x00, 0x03, 0x14,
  759. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  760. 0x00, 0x80, 0x90E, 0x90A, 0x906, 0x1C4, 0x1C5, 0x1C6},
  761. {
  762. 158, 5790, 3860, 0x71, 0x02, 0x43, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  763. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  764. 0x00, 0x80, 0x910, 0x90C, 0x908, 0x1C4, 0x1C5, 0x1C6},
  765. {
  766. 159, 5795, 3863, 0x72, 0x04, 0x87, 0x02, 0xF2, 0x00, 0x03, 0x14,
  767. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  768. 0x00, 0x80, 0x912, 0x90E, 0x90A, 0x1C4, 0x1C4, 0x1C5},
  769. {
  770. 160, 5800, 3867, 0x71, 0x02, 0x44, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  771. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  772. 0x00, 0x80, 0x914, 0x910, 0x90C, 0x1C3, 0x1C4, 0x1C5},
  773. {
  774. 161, 5805, 3870, 0x72, 0x04, 0x89, 0x01, 0xED, 0x00, 0x03, 0x14,
  775. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  776. 0x00, 0x80, 0x916, 0x912, 0x90E, 0x1C3, 0x1C4, 0x1C4},
  777. {
  778. 162, 5810, 3873, 0x71, 0x02, 0x45, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  779. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  780. 0x00, 0x80, 0x918, 0x914, 0x910, 0x1C2, 0x1C3, 0x1C4},
  781. {
  782. 163, 5815, 3877, 0x72, 0x04, 0x8B, 0x01, 0xED, 0x00, 0x03, 0x14,
  783. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  784. 0x00, 0x80, 0x91A, 0x916, 0x912, 0x1C2, 0x1C3, 0x1C4},
  785. {
  786. 164, 5820, 3880, 0x71, 0x02, 0x46, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  787. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  788. 0x00, 0x80, 0x91C, 0x918, 0x914, 0x1C2, 0x1C2, 0x1C3},
  789. {
  790. 165, 5825, 3883, 0x72, 0x04, 0x8D, 0x01, 0xED, 0x00, 0x03, 0x14,
  791. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  792. 0x00, 0x80, 0x91E, 0x91A, 0x916, 0x1C1, 0x1C2, 0x1C3},
  793. {
  794. 166, 5830, 3887, 0x71, 0x02, 0x47, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  795. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  796. 0x00, 0x80, 0x920, 0x91C, 0x918, 0x1C1, 0x1C2, 0x1C2},
  797. {
  798. 168, 5840, 3893, 0x71, 0x02, 0x48, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  799. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  800. 0x00, 0x80, 0x924, 0x920, 0x91C, 0x1C0, 0x1C1, 0x1C2},
  801. {
  802. 170, 5850, 3900, 0x71, 0x02, 0x49, 0x01, 0xE0, 0x00, 0x04, 0x0A,
  803. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  804. 0x00, 0x80, 0x928, 0x924, 0x920, 0x1BF, 0x1C0, 0x1C1},
  805. {
  806. 172, 5860, 3907, 0x71, 0x02, 0x4A, 0x01, 0xDE, 0x00, 0x04, 0x0A,
  807. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  808. 0x00, 0x80, 0x92C, 0x928, 0x924, 0x1BF, 0x1BF, 0x1C0},
  809. {
  810. 174, 5870, 3913, 0x71, 0x02, 0x4B, 0x00, 0xDB, 0x00, 0x04, 0x0A,
  811. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  812. 0x00, 0x80, 0x930, 0x92C, 0x928, 0x1BE, 0x1BF, 0x1BF},
  813. {
  814. 176, 5880, 3920, 0x71, 0x02, 0x4C, 0x00, 0xD8, 0x00, 0x04, 0x0A,
  815. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  816. 0x00, 0x80, 0x934, 0x930, 0x92C, 0x1BD, 0x1BE, 0x1BF},
  817. {
  818. 178, 5890, 3927, 0x71, 0x02, 0x4D, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  819. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  820. 0x00, 0x80, 0x938, 0x934, 0x930, 0x1BC, 0x1BD, 0x1BE},
  821. {
  822. 180, 5900, 3933, 0x71, 0x02, 0x4E, 0x00, 0xD3, 0x00, 0x04, 0x0A,
  823. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  824. 0x00, 0x80, 0x93C, 0x938, 0x934, 0x1BC, 0x1BC, 0x1BD},
  825. {
  826. 182, 5910, 3940, 0x71, 0x02, 0x4F, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  827. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  828. 0x00, 0x80, 0x940, 0x93C, 0x938, 0x1BB, 0x1BC, 0x1BC},
  829. {
  830. 1, 2412, 3216, 0x73, 0x09, 0x6C, 0x0F, 0x00, 0x01, 0x07, 0x15,
  831. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0D, 0x0C, 0x80, 0xFF, 0x88, 0x0D,
  832. 0x0C, 0x80, 0x3C9, 0x3C5, 0x3C1, 0x43A, 0x43F, 0x443},
  833. {
  834. 2, 2417, 3223, 0x73, 0x09, 0x71, 0x0F, 0x00, 0x01, 0x07, 0x15,
  835. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0B, 0x80, 0xFF, 0x88, 0x0C,
  836. 0x0B, 0x80, 0x3CB, 0x3C7, 0x3C3, 0x438, 0x43D, 0x441},
  837. {
  838. 3, 2422, 3229, 0x73, 0x09, 0x76, 0x0F, 0x00, 0x01, 0x07, 0x15,
  839. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  840. 0x0A, 0x80, 0x3CD, 0x3C9, 0x3C5, 0x436, 0x43A, 0x43F},
  841. {
  842. 4, 2427, 3236, 0x73, 0x09, 0x7B, 0x0F, 0x00, 0x01, 0x07, 0x15,
  843. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  844. 0x0A, 0x80, 0x3CF, 0x3CB, 0x3C7, 0x434, 0x438, 0x43D},
  845. {
  846. 5, 2432, 3243, 0x73, 0x09, 0x80, 0x0F, 0x00, 0x01, 0x07, 0x15,
  847. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x09, 0x80, 0xFF, 0x88, 0x0C,
  848. 0x09, 0x80, 0x3D1, 0x3CD, 0x3C9, 0x431, 0x436, 0x43A},
  849. {
  850. 6, 2437, 3249, 0x73, 0x09, 0x85, 0x0F, 0x00, 0x01, 0x07, 0x15,
  851. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0B, 0x08, 0x80, 0xFF, 0x88, 0x0B,
  852. 0x08, 0x80, 0x3D3, 0x3CF, 0x3CB, 0x42F, 0x434, 0x438},
  853. {
  854. 7, 2442, 3256, 0x73, 0x09, 0x8A, 0x0F, 0x00, 0x01, 0x07, 0x15,
  855. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x07, 0x80, 0xFF, 0x88, 0x0A,
  856. 0x07, 0x80, 0x3D5, 0x3D1, 0x3CD, 0x42D, 0x431, 0x436},
  857. {
  858. 8, 2447, 3263, 0x73, 0x09, 0x8F, 0x0F, 0x00, 0x01, 0x07, 0x15,
  859. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x06, 0x80, 0xFF, 0x88, 0x0A,
  860. 0x06, 0x80, 0x3D7, 0x3D3, 0x3CF, 0x42B, 0x42F, 0x434},
  861. {
  862. 9, 2452, 3269, 0x73, 0x09, 0x94, 0x0F, 0x00, 0x01, 0x07, 0x15,
  863. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x09, 0x06, 0x80, 0xFF, 0x88, 0x09,
  864. 0x06, 0x80, 0x3D9, 0x3D5, 0x3D1, 0x429, 0x42D, 0x431},
  865. {
  866. 10, 2457, 3276, 0x73, 0x09, 0x99, 0x0F, 0x00, 0x01, 0x07, 0x15,
  867. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x05, 0x80, 0xFF, 0x88, 0x08,
  868. 0x05, 0x80, 0x3DB, 0x3D7, 0x3D3, 0x427, 0x42B, 0x42F},
  869. {
  870. 11, 2462, 3283, 0x73, 0x09, 0x9E, 0x0F, 0x00, 0x01, 0x07, 0x15,
  871. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x04, 0x80, 0xFF, 0x88, 0x08,
  872. 0x04, 0x80, 0x3DD, 0x3D9, 0x3D5, 0x424, 0x429, 0x42D},
  873. {
  874. 12, 2467, 3289, 0x73, 0x09, 0xA3, 0x0F, 0x00, 0x01, 0x07, 0x15,
  875. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x03, 0x80, 0xFF, 0x88, 0x08,
  876. 0x03, 0x80, 0x3DF, 0x3DB, 0x3D7, 0x422, 0x427, 0x42B},
  877. {
  878. 13, 2472, 3296, 0x73, 0x09, 0xA8, 0x0F, 0x00, 0x01, 0x07, 0x15,
  879. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x03, 0x80, 0xFF, 0x88, 0x07,
  880. 0x03, 0x80, 0x3E1, 0x3DD, 0x3D9, 0x420, 0x424, 0x429},
  881. {
  882. 14, 2484, 3312, 0x73, 0x09, 0xB4, 0x0F, 0xFF, 0x01, 0x07, 0x15,
  883. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x01, 0x80, 0xFF, 0x88, 0x07,
  884. 0x01, 0x80, 0x3E6, 0x3E2, 0x3DE, 0x41B, 0x41F, 0x424}
  885. };
  886. static const struct chan_info_nphy_radio205x chan_info_nphyrev3_2056[] = {
  887. {
  888. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  889. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  890. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  891. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  892. {
  893. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  894. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  895. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  896. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  897. {
  898. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  899. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  900. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  901. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  902. {
  903. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  904. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  905. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  906. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  907. {
  908. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  909. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  910. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  911. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  912. {
  913. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  914. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  915. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  916. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  917. {
  918. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  919. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  920. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  921. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  922. {
  923. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  924. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  925. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  926. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  927. {
  928. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  929. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  930. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  931. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  932. {
  933. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  934. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  935. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  936. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  937. {
  938. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  939. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  940. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  941. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  942. {
  943. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  944. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  945. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  946. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  947. {
  948. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  949. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  950. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  951. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  952. {
  953. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  954. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  955. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  956. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  957. {
  958. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  959. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  960. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  961. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  962. {
  963. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  964. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  965. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  966. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  967. {
  968. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  969. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  970. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  971. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  972. {
  973. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  974. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  975. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  976. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  977. {
  978. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  979. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  980. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  981. 0x00, 0xff, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  982. {
  983. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  984. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  985. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  986. 0x00, 0xfc, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  987. {
  988. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  989. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  990. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  991. 0x00, 0xfc, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  992. {
  993. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  994. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  995. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  996. 0x00, 0xfc, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  997. {
  998. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  999. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1000. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1001. 0x00, 0xfc, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1002. {
  1003. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1004. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1005. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1006. 0x00, 0xfc, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1007. {
  1008. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1009. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1010. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1011. 0x00, 0xfc, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1012. {
  1013. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1014. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1015. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1016. 0x00, 0xfc, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1017. {
  1018. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1019. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1020. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1021. 0x00, 0xfc, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1022. {
  1023. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1024. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x06, 0x00, 0x7f,
  1025. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1026. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1027. {
  1028. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1029. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1030. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1031. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1032. {
  1033. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1034. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1035. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1036. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1037. {
  1038. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1039. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1040. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1041. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1042. {
  1043. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1044. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1045. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1046. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1047. {
  1048. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1049. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1050. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1051. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1052. {
  1053. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1054. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1055. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1056. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1057. {
  1058. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1059. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1060. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1061. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1062. {
  1063. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1064. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1065. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1066. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1067. {
  1068. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1069. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1070. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1071. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1072. {
  1073. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1074. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1075. 0x00, 0x09, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1076. 0x00, 0xfc, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1077. {
  1078. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1079. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1080. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1081. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1082. {
  1083. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1084. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1085. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1086. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1087. {
  1088. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1089. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1090. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1091. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1092. {
  1093. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1094. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1095. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1096. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1097. {
  1098. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1099. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1100. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1101. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1102. {
  1103. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1104. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1105. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1106. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1107. {
  1108. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1109. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1110. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1111. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1112. {
  1113. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1114. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1115. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1116. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1117. {
  1118. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1119. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x05, 0x00, 0x7f,
  1120. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1121. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1122. {
  1123. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1124. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1125. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1126. 0x00, 0xfa, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1127. {
  1128. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1129. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1130. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1131. 0x00, 0xfa, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1132. {
  1133. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1134. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1135. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1136. 0x00, 0xfa, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1137. {
  1138. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1139. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1140. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1141. 0x00, 0xfa, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1142. {
  1143. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1144. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x04, 0x00, 0x7f,
  1145. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1146. 0x00, 0xfa, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1147. {
  1148. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1149. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x04, 0x00, 0x7f,
  1150. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1151. 0x00, 0xfa, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1152. {
  1153. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1154. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1155. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1156. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1157. {
  1158. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1159. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1160. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1161. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1162. {
  1163. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1164. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x04, 0x00, 0x7f,
  1165. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1166. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1167. {
  1168. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1169. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x04, 0x00, 0x7f,
  1170. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1171. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1172. {
  1173. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1174. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x03, 0x00, 0x7f,
  1175. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1176. 0x00, 0xf8, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1177. {
  1178. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1179. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1180. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1181. 0x00, 0xf8, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1182. {
  1183. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1184. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1185. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1186. 0x00, 0xf8, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1187. {
  1188. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1189. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1190. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1191. 0x00, 0xf8, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1192. {
  1193. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1194. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1195. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1196. 0x00, 0xf8, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1197. {
  1198. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1199. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1200. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1201. 0x00, 0xf8, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1202. {
  1203. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1204. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x03, 0x00, 0x7f,
  1205. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1206. 0x00, 0xf8, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1207. {
  1208. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1209. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x03, 0x00, 0x7f,
  1210. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1211. 0x00, 0xf8, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1212. {
  1213. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1214. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1215. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1216. 0x00, 0xf8, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1217. {
  1218. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1219. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1220. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1221. 0x00, 0xf8, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1222. {
  1223. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1224. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1225. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1226. 0x00, 0xf8, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1227. {
  1228. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1229. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1230. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1231. 0x00, 0xf8, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1232. {
  1233. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1234. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1235. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1236. 0x00, 0xf8, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1237. {
  1238. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1239. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1240. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1241. 0x00, 0xf8, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1242. {
  1243. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1244. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1245. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1246. 0x00, 0xf8, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1247. {
  1248. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1249. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1250. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1251. 0x00, 0xf8, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1252. {
  1253. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1254. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1255. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1256. 0x00, 0xf6, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1257. {
  1258. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1259. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1260. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1261. 0x00, 0xf6, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1262. {
  1263. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1264. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1265. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1266. 0x00, 0xf6, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1267. {
  1268. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1269. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1270. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1271. 0x00, 0xf6, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1272. {
  1273. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1274. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1275. 0x00, 0x06, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1276. 0x00, 0xf6, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1277. {
  1278. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1279. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1280. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1281. 0x00, 0xf4, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1282. {
  1283. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1284. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1285. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1286. 0x00, 0xf4, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1287. {
  1288. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1289. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1290. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1291. 0x00, 0xf4, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1292. {
  1293. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1294. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1295. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1296. 0x00, 0xf4, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1297. {
  1298. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1299. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1300. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1301. 0x00, 0xf4, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1302. {
  1303. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1304. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1305. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1306. 0x00, 0xf4, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1307. {
  1308. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1309. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1310. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1311. 0x00, 0xf4, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1312. {
  1313. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1314. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1315. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1316. 0x00, 0xf4, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1317. {
  1318. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1319. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1320. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1321. 0x00, 0xf4, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1322. {
  1323. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1324. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1325. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1326. 0x00, 0xf4, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1327. {
  1328. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1329. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1330. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1331. 0x00, 0xf4, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1332. {
  1333. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1334. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1335. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1336. 0x00, 0xf4, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1337. {
  1338. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1339. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1340. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1341. 0x00, 0xf4, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1342. {
  1343. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1344. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1345. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1346. 0x00, 0xf4, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1347. {
  1348. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1349. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1350. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1351. 0x00, 0xf4, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1352. {
  1353. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1354. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1355. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1356. 0x00, 0xf4, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1357. {
  1358. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1359. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1360. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1361. 0x00, 0xf4, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1362. {
  1363. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1364. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1365. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1366. 0x00, 0xf4, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1367. {
  1368. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1369. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1370. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1371. 0x00, 0xf4, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1372. {
  1373. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1374. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1375. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1376. 0x00, 0xf4, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1377. {
  1378. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1379. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1380. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1381. 0x00, 0xf4, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  1382. {
  1383. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1384. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1385. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1386. 0x00, 0xf4, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  1387. {
  1388. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1389. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1390. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1391. 0x00, 0xf4, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  1392. {
  1393. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1394. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1395. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1396. 0x00, 0xf4, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  1397. {
  1398. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1399. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1400. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1401. 0x00, 0xf4, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  1402. {
  1403. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1404. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1405. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1406. 0x00, 0xf4, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  1407. {
  1408. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1409. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1410. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1411. 0x00, 0xf2, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  1412. {
  1413. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1414. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1415. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1416. 0x00, 0xf2, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  1417. {
  1418. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1419. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1420. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1421. 0x00, 0xf2, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  1422. {
  1423. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1424. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1425. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1426. 0x00, 0xf2, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  1427. {
  1428. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1429. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1430. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1431. 0x00, 0xf2, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  1432. {
  1433. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1434. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  1435. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1436. 0x00, 0xf2, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  1437. {
  1438. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  1439. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1440. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1441. 0x0f, 0x00, 0x0f, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  1442. {
  1443. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  1444. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1445. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1446. 0x0f, 0x00, 0x0f, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  1447. {
  1448. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  1449. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1450. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1451. 0x0f, 0x00, 0x0f, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  1452. {
  1453. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  1454. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x05, 0x00,
  1455. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfd, 0x00, 0x05, 0x00, 0x70, 0x00,
  1456. 0x0f, 0x00, 0x0f, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  1457. {
  1458. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  1459. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x05, 0x00,
  1460. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfb, 0x00, 0x05, 0x00, 0x70, 0x00,
  1461. 0x0f, 0x00, 0x0f, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  1462. {
  1463. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  1464. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x05, 0x00,
  1465. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x05, 0x00, 0x70, 0x00,
  1466. 0x0f, 0x00, 0x0f, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  1467. {
  1468. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  1469. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x05, 0x00,
  1470. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x05, 0x00, 0x70, 0x00,
  1471. 0x0f, 0x00, 0x0f, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  1472. {
  1473. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  1474. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x05, 0x00,
  1475. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf7, 0x00, 0x05, 0x00, 0x70, 0x00,
  1476. 0x0f, 0x00, 0x0f, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  1477. {
  1478. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  1479. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x05, 0x00,
  1480. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf6, 0x00, 0x05, 0x00, 0x70, 0x00,
  1481. 0x0f, 0x00, 0x0f, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  1482. {
  1483. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  1484. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x05, 0x00,
  1485. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf5, 0x00, 0x05, 0x00, 0x70, 0x00,
  1486. 0x0f, 0x00, 0x0d, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  1487. {
  1488. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  1489. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x05, 0x00,
  1490. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x70, 0x00,
  1491. 0x0f, 0x00, 0x0d, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  1492. {
  1493. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  1494. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x05, 0x00,
  1495. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf3, 0x00, 0x05, 0x00, 0x70, 0x00,
  1496. 0x0f, 0x00, 0x0d, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  1497. {
  1498. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  1499. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x05, 0x00,
  1500. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x70, 0x00,
  1501. 0x0f, 0x00, 0x0d, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  1502. {
  1503. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  1504. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x05, 0x00,
  1505. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf0, 0x00, 0x05, 0x00, 0x70, 0x00,
  1506. 0x0f, 0x00, 0x0d, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  1507. };
  1508. static const struct chan_info_nphy_radio205x chan_info_nphyrev4_2056_A1[] = {
  1509. {
  1510. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1511. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1512. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1513. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  1514. {
  1515. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1516. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1517. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1518. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  1519. {
  1520. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1521. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1522. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1523. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  1524. {
  1525. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1526. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1527. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1528. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  1529. {
  1530. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1531. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1532. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1533. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  1534. {
  1535. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1536. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1537. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1538. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  1539. {
  1540. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1541. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1542. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1543. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  1544. {
  1545. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1546. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1547. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1548. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  1549. {
  1550. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1551. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1552. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1553. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  1554. {
  1555. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1556. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1557. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1558. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  1559. {
  1560. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1561. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1562. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1563. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  1564. {
  1565. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1566. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1567. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1568. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  1569. {
  1570. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1571. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1572. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1573. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  1574. {
  1575. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1576. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1577. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1578. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  1579. {
  1580. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1581. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1582. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1583. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  1584. {
  1585. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1586. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1587. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1588. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  1589. {
  1590. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1591. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1592. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1593. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  1594. {
  1595. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1596. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1597. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1598. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  1599. {
  1600. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1601. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1602. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1603. 0x00, 0xfe, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  1604. {
  1605. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1606. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1607. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1608. 0x00, 0xfe, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  1609. {
  1610. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1611. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1612. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1613. 0x00, 0xfe, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  1614. {
  1615. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1616. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1617. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1618. 0x00, 0xfe, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  1619. {
  1620. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1621. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1622. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1623. 0x00, 0xfe, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1624. {
  1625. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1626. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1627. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1628. 0x00, 0xfe, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1629. {
  1630. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1631. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1632. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1633. 0x00, 0xfe, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1634. {
  1635. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1636. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1637. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1638. 0x00, 0xfe, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1639. {
  1640. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1641. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1642. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1643. 0x00, 0xfe, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1644. {
  1645. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1646. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0a, 0x00, 0x7f,
  1647. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1648. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1649. {
  1650. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1651. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1652. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1653. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1654. {
  1655. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1656. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1657. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1658. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1659. {
  1660. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1661. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1662. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1663. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1664. {
  1665. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1666. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1667. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1668. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1669. {
  1670. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1671. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1672. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1673. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1674. {
  1675. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1676. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1677. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1678. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1679. {
  1680. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1681. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1682. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1683. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1684. {
  1685. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1686. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1687. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1688. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1689. {
  1690. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1691. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1692. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1693. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1694. {
  1695. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1696. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1697. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1698. 0x00, 0xfa, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1699. {
  1700. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1701. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1702. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1703. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1704. {
  1705. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1706. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1707. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1708. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1709. {
  1710. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1711. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1712. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1713. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1714. {
  1715. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1716. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1717. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1718. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1719. {
  1720. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1721. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1722. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1723. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1724. {
  1725. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1726. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1727. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1728. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1729. {
  1730. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1731. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1732. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1733. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1734. {
  1735. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1736. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1737. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1738. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1739. {
  1740. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1741. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x08, 0x00, 0x7f,
  1742. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1743. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1744. {
  1745. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1746. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1747. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1748. 0x00, 0xf8, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1749. {
  1750. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1751. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1752. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1753. 0x00, 0xf8, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1754. {
  1755. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1756. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1757. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1758. 0x00, 0xf8, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1759. {
  1760. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1761. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1762. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1763. 0x00, 0xf8, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1764. {
  1765. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1766. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x07, 0x00, 0x7f,
  1767. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1768. 0x00, 0xf8, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1769. {
  1770. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1771. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x07, 0x00, 0x7f,
  1772. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1773. 0x00, 0xf8, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1774. {
  1775. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1776. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1777. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1778. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1779. {
  1780. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1781. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1782. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1783. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1784. {
  1785. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1786. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x07, 0x00, 0x7f,
  1787. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1788. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1789. {
  1790. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1791. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x07, 0x00, 0x7f,
  1792. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1793. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1794. {
  1795. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1796. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x06, 0x00, 0x7f,
  1797. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x5c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1798. 0x00, 0xf6, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1799. {
  1800. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1801. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1802. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1803. 0x00, 0xf6, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1804. {
  1805. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1806. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1807. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1808. 0x00, 0xf6, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1809. {
  1810. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1811. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1812. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1813. 0x00, 0xf6, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1814. {
  1815. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1816. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1817. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1818. 0x00, 0xf6, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1819. {
  1820. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1821. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1822. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1823. 0x00, 0xf6, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1824. {
  1825. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1826. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x06, 0x00, 0x7f,
  1827. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1828. 0x00, 0xf6, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1829. {
  1830. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1831. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x06, 0x00, 0x7f,
  1832. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1833. 0x00, 0xf6, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1834. {
  1835. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1836. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1837. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1838. 0x00, 0xf6, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1839. {
  1840. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1841. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1842. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1843. 0x00, 0xf6, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1844. {
  1845. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1846. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x04, 0x00, 0x7f,
  1847. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x1a, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1848. 0x00, 0xf4, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1849. {
  1850. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1851. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1852. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1853. 0x00, 0xf4, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1854. {
  1855. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1856. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1857. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1858. 0x00, 0xf4, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1859. {
  1860. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1861. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1862. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1863. 0x00, 0xf4, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1864. {
  1865. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1866. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1867. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1868. 0x00, 0xf4, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1869. {
  1870. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1871. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1872. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1873. 0x00, 0xf4, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1874. {
  1875. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1876. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1877. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1878. 0x00, 0xf4, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1879. {
  1880. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1881. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1882. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1883. 0x00, 0xf4, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1884. {
  1885. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1886. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1887. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1888. 0x00, 0xf4, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1889. {
  1890. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1891. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x04, 0x00, 0x7f,
  1892. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1893. 0x00, 0xf4, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1894. {
  1895. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1896. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1897. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1898. 0x00, 0xf2, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1899. {
  1900. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1901. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1902. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1903. 0x00, 0xf2, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1904. {
  1905. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1906. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1907. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1908. 0x00, 0xf2, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1909. {
  1910. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1911. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1912. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1913. 0x00, 0xf2, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1914. {
  1915. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1916. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1917. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1918. 0x00, 0xf2, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1919. {
  1920. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1921. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1922. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1923. 0x00, 0xf2, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1924. {
  1925. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1926. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1927. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1928. 0x00, 0xf2, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1929. {
  1930. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1931. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1932. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1933. 0x00, 0xf2, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1934. {
  1935. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1936. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1937. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1938. 0x00, 0xf2, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1939. {
  1940. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1941. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1942. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1943. 0x00, 0xf2, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1944. {
  1945. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1946. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1947. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1948. 0x00, 0xf2, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1949. {
  1950. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1951. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1952. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1953. 0x00, 0xf2, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1954. {
  1955. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1956. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1957. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1958. 0x00, 0xf2, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1959. {
  1960. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1961. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1962. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1963. 0x00, 0xf2, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1964. {
  1965. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1966. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1967. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1968. 0x00, 0xf2, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1969. {
  1970. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1971. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1972. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1973. 0x00, 0xf2, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1974. {
  1975. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1976. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1977. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1978. 0x00, 0xf2, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1979. {
  1980. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1981. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1982. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1983. 0x00, 0xf2, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1984. {
  1985. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1986. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1987. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1988. 0x00, 0xf0, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1989. {
  1990. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1991. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1992. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1993. 0x00, 0xf0, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1994. {
  1995. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1996. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1997. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1998. 0x00, 0xf0, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1999. {
  2000. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2001. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  2002. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2003. 0x00, 0xf0, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2004. {
  2005. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2006. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2007. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2008. 0x00, 0xf0, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2009. {
  2010. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2011. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2012. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2013. 0x00, 0xf0, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2014. {
  2015. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2016. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2017. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2018. 0x00, 0xf0, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2019. {
  2020. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2021. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2022. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2023. 0x00, 0xf0, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2024. {
  2025. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2026. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2027. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2028. 0x00, 0xf0, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2029. {
  2030. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2031. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2032. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2033. 0x00, 0xf0, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2034. {
  2035. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2036. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2037. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2038. 0x00, 0xf0, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2039. {
  2040. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2041. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2042. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2043. 0x00, 0xf0, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2044. {
  2045. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2046. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2047. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2048. 0x00, 0xf0, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2049. {
  2050. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2051. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  2052. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2053. 0x00, 0xf0, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2054. {
  2055. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2056. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  2057. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2058. 0x00, 0xf0, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2059. {
  2060. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2061. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2062. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2063. 0x0f, 0x00, 0x0e, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2064. {
  2065. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2066. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2067. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2068. 0x0f, 0x00, 0x0e, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2069. {
  2070. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2071. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2072. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2073. 0x0f, 0x00, 0x0e, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2074. {
  2075. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2076. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x04, 0x00,
  2077. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfd, 0x00, 0x04, 0x00, 0x70, 0x00,
  2078. 0x0f, 0x00, 0x0e, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2079. {
  2080. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2081. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x04, 0x00,
  2082. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfb, 0x00, 0x04, 0x00, 0x70, 0x00,
  2083. 0x0f, 0x00, 0x0e, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2084. {
  2085. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2086. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x04, 0x00,
  2087. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfa, 0x00, 0x04, 0x00, 0x70, 0x00,
  2088. 0x0f, 0x00, 0x0e, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2089. {
  2090. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2091. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x04, 0x00,
  2092. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf8, 0x00, 0x04, 0x00, 0x70, 0x00,
  2093. 0x0f, 0x00, 0x0e, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2094. {
  2095. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2096. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x04, 0x00,
  2097. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf7, 0x00, 0x04, 0x00, 0x70, 0x00,
  2098. 0x0f, 0x00, 0x0e, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2099. {
  2100. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2101. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x04, 0x00,
  2102. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf6, 0x00, 0x04, 0x00, 0x70, 0x00,
  2103. 0x0f, 0x00, 0x0e, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2104. {
  2105. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2106. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x04, 0x00,
  2107. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf5, 0x00, 0x04, 0x00, 0x70, 0x00,
  2108. 0x0f, 0x00, 0x0e, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2109. {
  2110. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2111. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x04, 0x00,
  2112. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x70, 0x00,
  2113. 0x0f, 0x00, 0x0e, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2114. {
  2115. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2116. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x04, 0x00,
  2117. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf3, 0x00, 0x04, 0x00, 0x70, 0x00,
  2118. 0x0f, 0x00, 0x0e, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2119. {
  2120. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2121. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x04, 0x00,
  2122. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x70, 0x00,
  2123. 0x0f, 0x00, 0x0e, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2124. {
  2125. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2126. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x04, 0x00,
  2127. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x70, 0x00,
  2128. 0x0f, 0x00, 0x0e, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2129. };
  2130. static const struct chan_info_nphy_radio205x chan_info_nphyrev5_2056v5[] = {
  2131. {
  2132. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2133. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2134. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  2135. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2136. {
  2137. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2138. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2139. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2140. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2141. {
  2142. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2143. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2144. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2145. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2146. {
  2147. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2148. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2149. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2150. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2151. {
  2152. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2153. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2154. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  2155. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2156. {
  2157. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2158. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2159. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2160. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2161. {
  2162. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2163. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2164. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2165. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2166. {
  2167. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2168. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2169. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2170. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2171. {
  2172. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2173. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2174. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2175. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2176. {
  2177. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2178. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2179. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2180. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2181. {
  2182. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2183. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2184. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  2185. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2186. {
  2187. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2188. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2189. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2190. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2191. {
  2192. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2193. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2194. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2195. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2196. {
  2197. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2198. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2199. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2200. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2201. {
  2202. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2203. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  2204. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2205. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2206. {
  2207. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2208. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  2209. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2210. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2211. {
  2212. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2213. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2214. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2215. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2216. {
  2217. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2218. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2219. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2220. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2221. {
  2222. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2223. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2224. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2225. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2226. {
  2227. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2228. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2229. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2230. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2231. {
  2232. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2233. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2234. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2235. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2236. {
  2237. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2238. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  2239. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  2240. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2241. {
  2242. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2243. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2244. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  2245. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2246. {
  2247. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2248. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2249. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  2250. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2251. {
  2252. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2253. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  2254. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2255. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2256. {
  2257. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2258. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2259. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2260. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2261. {
  2262. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2263. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2264. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2265. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2266. {
  2267. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2268. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2269. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2270. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2271. {
  2272. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2273. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2274. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2275. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2276. {
  2277. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2278. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2279. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2280. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2281. {
  2282. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2283. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xea, 0x00, 0x06, 0x00, 0x70,
  2284. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  2285. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2286. {
  2287. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2288. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2289. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2290. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2291. {
  2292. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2293. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2294. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2295. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2296. {
  2297. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2298. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xd9, 0x00, 0x05, 0x00, 0x70,
  2299. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2300. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2301. {
  2302. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2303. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xd8, 0x00, 0x04, 0x00, 0x70,
  2304. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2305. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2306. {
  2307. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2308. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2309. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2310. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2311. {
  2312. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2313. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2314. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2315. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2316. {
  2317. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2318. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2319. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2320. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2321. {
  2322. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2323. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2324. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2325. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2326. {
  2327. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2328. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb8, 0x00, 0x04, 0x00, 0x70,
  2329. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2330. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2331. {
  2332. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2333. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x04, 0x00, 0x70,
  2334. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2335. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2336. {
  2337. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2338. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x03, 0x00, 0x70,
  2339. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  2340. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2341. {
  2342. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2343. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa7, 0x00, 0x03, 0x00, 0x70,
  2344. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2345. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2346. {
  2347. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2348. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2349. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2350. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2351. {
  2352. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2353. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2354. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2355. 0x00, 0x5b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2356. {
  2357. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2358. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x96, 0x00, 0x03, 0x00, 0x70,
  2359. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2360. 0x00, 0x5a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2361. {
  2362. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2363. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x95, 0x00, 0x03, 0x00, 0x70,
  2364. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2365. 0x00, 0x5a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2366. {
  2367. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2368. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2369. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2370. 0x00, 0x5a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2371. {
  2372. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2373. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2374. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2375. 0x00, 0x5a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2376. {
  2377. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2378. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2379. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2380. 0x00, 0x5a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  2381. {
  2382. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2383. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x85, 0x00, 0x02, 0x00, 0x70,
  2384. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2385. 0x00, 0x59, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  2386. {
  2387. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2388. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2389. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2390. 0x00, 0x59, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  2391. {
  2392. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2393. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2394. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2395. 0x00, 0x59, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  2396. {
  2397. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2398. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2399. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  2400. 0x00, 0x69, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  2401. {
  2402. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2403. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x74, 0x00, 0x01, 0x00, 0x70,
  2404. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2405. 0x00, 0x69, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  2406. {
  2407. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2408. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2409. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2410. 0x00, 0x68, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  2411. {
  2412. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2413. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2414. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2415. 0x00, 0x68, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  2416. {
  2417. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2418. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2419. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2420. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  2421. {
  2422. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2423. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2424. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2425. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  2426. {
  2427. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2428. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2429. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2430. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  2431. {
  2432. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2433. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x63, 0x00, 0x01, 0x00, 0x70,
  2434. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  2435. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  2436. {
  2437. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2438. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2439. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2440. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  2441. {
  2442. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2443. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2444. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2445. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  2446. {
  2447. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2448. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2449. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2450. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  2451. {
  2452. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2453. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2454. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2455. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  2456. {
  2457. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2458. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2459. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2460. 0x00, 0x76, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  2461. {
  2462. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2463. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x51, 0x00, 0x00, 0x00, 0x70,
  2464. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2465. 0x00, 0x76, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  2466. {
  2467. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2468. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2469. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2470. 0x00, 0x76, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  2471. {
  2472. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2473. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2474. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2475. 0x00, 0x76, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  2476. {
  2477. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2478. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2479. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2480. 0x00, 0x76, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  2481. {
  2482. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2483. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2484. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2485. 0x00, 0x76, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  2486. {
  2487. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2488. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2489. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2490. 0x00, 0x75, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  2491. {
  2492. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2493. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2494. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2495. 0x00, 0x75, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  2496. {
  2497. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2498. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2499. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2500. 0x00, 0x75, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  2501. {
  2502. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2503. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2504. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2505. 0x00, 0x74, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  2506. {
  2507. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2508. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2509. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2510. 0x00, 0x74, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  2511. {
  2512. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2513. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2514. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2515. 0x00, 0x74, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  2516. {
  2517. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2518. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2519. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2520. 0x00, 0x74, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  2521. {
  2522. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2523. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2524. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2525. 0x00, 0x74, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  2526. {
  2527. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2528. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2529. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2530. 0x00, 0x74, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  2531. {
  2532. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  2533. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2534. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2535. 0x00, 0x74, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  2536. {
  2537. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2538. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2539. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2540. 0x00, 0x84, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  2541. {
  2542. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2543. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2544. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2545. 0x00, 0x83, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  2546. {
  2547. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2548. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2549. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2550. 0x00, 0x83, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  2551. {
  2552. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2553. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2554. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2555. 0x00, 0x83, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  2556. {
  2557. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2558. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2559. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2560. 0x00, 0x83, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  2561. {
  2562. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  2563. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2564. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2565. 0x00, 0x83, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  2566. {
  2567. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2568. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2569. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2570. 0x00, 0x83, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  2571. {
  2572. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  2573. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2574. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2575. 0x00, 0x82, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  2576. {
  2577. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2578. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2579. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2580. 0x00, 0x82, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  2581. {
  2582. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  2583. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2584. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2585. 0x00, 0x82, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  2586. {
  2587. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2588. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2589. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2590. 0x00, 0x82, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  2591. {
  2592. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  2593. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2594. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2595. 0x00, 0x82, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  2596. {
  2597. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2598. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2599. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2600. 0x00, 0x82, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  2601. {
  2602. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  2603. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2604. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2605. 0x00, 0x82, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  2606. {
  2607. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2608. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2609. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2610. 0x00, 0x82, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  2611. {
  2612. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  2613. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2614. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2615. 0x00, 0x82, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  2616. {
  2617. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2618. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2619. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2620. 0x00, 0x82, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  2621. {
  2622. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2623. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2624. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2625. 0x00, 0x82, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2626. {
  2627. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2628. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2629. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2630. 0x00, 0x82, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2631. {
  2632. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2633. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2634. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2635. 0x00, 0x82, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2636. {
  2637. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2638. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2639. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2640. 0x00, 0x72, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2641. {
  2642. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2643. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2644. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2645. 0x00, 0x72, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2646. {
  2647. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2648. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2649. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2650. 0x00, 0x72, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2651. {
  2652. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2653. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2654. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2655. 0x00, 0x72, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2656. {
  2657. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2658. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2659. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2660. 0x00, 0x71, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2661. {
  2662. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2663. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2664. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2665. 0x00, 0x71, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2666. {
  2667. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2668. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2669. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2670. 0x00, 0x71, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2671. {
  2672. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2673. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2674. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2675. 0x00, 0x71, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2676. {
  2677. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2678. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2679. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2680. 0x00, 0x71, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2681. {
  2682. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2683. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2684. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2685. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2686. {
  2687. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2688. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2689. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2690. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2691. {
  2692. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2693. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x03, 0x00,
  2694. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0x03, 0x00, 0x70, 0x00,
  2695. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2696. {
  2697. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2698. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x03, 0x00,
  2699. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0d, 0x00, 0x03, 0x00, 0x70, 0x00,
  2700. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2701. {
  2702. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2703. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00,
  2704. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x70, 0x00,
  2705. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2706. {
  2707. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2708. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x03, 0x00,
  2709. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x03, 0x00, 0x70, 0x00,
  2710. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2711. {
  2712. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2713. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00,
  2714. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x03, 0x00, 0x70, 0x00,
  2715. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2716. {
  2717. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2718. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00,
  2719. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x08, 0x00, 0x02, 0x00, 0x70, 0x00,
  2720. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2721. {
  2722. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2723. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x07, 0x00, 0x02, 0x00,
  2724. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x07, 0x00, 0x02, 0x00, 0x70, 0x00,
  2725. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2726. {
  2727. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2728. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x06, 0x00, 0x02, 0x00,
  2729. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x06, 0x00, 0x02, 0x00, 0x70, 0x00,
  2730. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2731. {
  2732. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2733. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00,
  2734. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x05, 0x00, 0x02, 0x00, 0x70, 0x00,
  2735. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2736. {
  2737. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2738. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00,
  2739. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x70, 0x00,
  2740. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2741. {
  2742. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2743. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
  2744. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x03, 0x00, 0x02, 0x00, 0x70, 0x00,
  2745. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2746. {
  2747. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2748. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  2749. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  2750. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2751. };
  2752. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v6[] = {
  2753. {
  2754. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2755. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2756. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2757. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2758. {
  2759. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2760. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2761. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2762. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2763. {
  2764. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2765. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2766. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2767. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2768. {
  2769. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2770. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2771. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2772. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2773. {
  2774. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2775. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2776. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2777. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2778. {
  2779. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2780. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2781. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2782. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2783. {
  2784. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2785. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2786. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2787. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2788. {
  2789. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2790. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2791. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2792. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2793. {
  2794. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2795. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2796. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2797. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2798. {
  2799. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2800. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2801. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2802. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2803. {
  2804. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2805. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2806. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2807. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2808. {
  2809. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2810. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2811. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2812. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2813. {
  2814. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2815. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2816. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2817. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2818. {
  2819. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2820. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2821. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2822. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2823. {
  2824. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2825. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2826. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2827. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2828. {
  2829. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2830. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2831. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2832. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2833. {
  2834. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2835. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2836. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2837. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2838. {
  2839. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2840. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2841. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2842. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2843. {
  2844. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2845. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  2846. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2847. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2848. {
  2849. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2850. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2851. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2852. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2853. {
  2854. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2855. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2856. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2857. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2858. {
  2859. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2860. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2861. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2862. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2863. {
  2864. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2865. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  2866. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2867. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2868. {
  2869. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2870. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2871. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2872. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2873. {
  2874. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2875. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2876. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2877. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2878. {
  2879. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2880. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2881. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  2882. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2883. {
  2884. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2885. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2886. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  2887. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2888. {
  2889. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2890. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2891. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2892. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2893. {
  2894. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2895. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2896. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2897. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2898. {
  2899. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2900. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2901. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2902. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2903. {
  2904. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2905. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2906. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2907. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2908. {
  2909. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2910. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  2911. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2912. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2913. {
  2914. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2915. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  2916. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2917. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2918. {
  2919. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2920. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2921. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  2922. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2923. {
  2924. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2925. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2926. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  2927. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2928. {
  2929. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2930. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2931. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2932. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2933. {
  2934. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2935. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2936. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2937. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2938. {
  2939. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2940. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2941. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2942. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2943. {
  2944. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2945. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2946. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2947. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2948. {
  2949. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2950. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2951. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2952. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2953. {
  2954. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2955. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2956. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2957. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2958. {
  2959. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2960. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2961. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2962. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2963. {
  2964. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2965. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2966. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2967. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2968. {
  2969. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2970. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2971. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2972. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2973. {
  2974. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2975. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2976. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2977. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2978. {
  2979. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2980. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  2981. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2982. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2983. {
  2984. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2985. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2986. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2987. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2988. {
  2989. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2990. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2991. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2992. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2993. {
  2994. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2995. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  2996. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  2997. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2998. {
  2999. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3000. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  3001. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3002. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3003. {
  3004. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3005. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3006. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3007. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3008. {
  3009. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3010. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3011. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  3012. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3013. {
  3014. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3015. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3016. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3017. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3018. {
  3019. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3020. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3021. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3022. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3023. {
  3024. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3025. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  3026. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3027. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3028. {
  3029. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3030. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  3031. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3032. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3033. {
  3034. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3035. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  3036. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3037. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3038. {
  3039. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3040. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3041. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3042. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3043. {
  3044. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3045. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3046. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3047. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3048. {
  3049. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3050. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3051. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3052. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3053. {
  3054. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3055. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3056. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3057. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3058. {
  3059. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3060. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  3061. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3062. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3063. {
  3064. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3065. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3066. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3067. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3068. {
  3069. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3070. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3071. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3072. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3073. {
  3074. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3075. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  3076. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3077. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3078. {
  3079. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3080. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  3081. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3082. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3083. {
  3084. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3085. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  3086. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3087. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3088. {
  3089. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3090. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3091. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3092. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3093. {
  3094. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3095. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3096. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3097. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3098. {
  3099. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3100. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3101. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3102. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3103. {
  3104. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3105. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3106. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3107. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3108. {
  3109. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3110. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  3111. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3112. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3113. {
  3114. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3115. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3116. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3117. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3118. {
  3119. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3120. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3121. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3122. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3123. {
  3124. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3125. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  3126. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3127. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3128. {
  3129. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3130. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3131. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3132. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3133. {
  3134. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3135. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3136. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3137. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3138. {
  3139. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3140. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3141. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3142. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3143. {
  3144. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3145. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3146. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3147. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3148. {
  3149. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3150. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3151. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3152. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3153. {
  3154. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3155. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3156. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3157. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3158. {
  3159. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3160. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3161. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3162. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3163. {
  3164. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3165. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3166. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3167. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3168. {
  3169. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3170. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3171. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3172. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3173. {
  3174. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3175. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3176. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3177. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3178. {
  3179. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3180. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  3181. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3182. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3183. {
  3184. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3185. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3186. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3187. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3188. {
  3189. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3190. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3191. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3192. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3193. {
  3194. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3195. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3196. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3197. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3198. {
  3199. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3200. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3201. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3202. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3203. {
  3204. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3205. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3206. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3207. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3208. {
  3209. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3210. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3211. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3212. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3213. {
  3214. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3215. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3216. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3217. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3218. {
  3219. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3220. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3221. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3222. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3223. {
  3224. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3225. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3226. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3227. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3228. {
  3229. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3230. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3231. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3232. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3233. {
  3234. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3235. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3236. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3237. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3238. {
  3239. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3240. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3241. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3242. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3243. {
  3244. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3245. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3246. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3247. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3248. {
  3249. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3250. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3251. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3252. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3253. {
  3254. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3255. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3256. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3257. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3258. {
  3259. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3260. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3261. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3262. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3263. {
  3264. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3265. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3266. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3267. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3268. {
  3269. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3270. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3271. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3272. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3273. {
  3274. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3275. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3276. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3277. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3278. {
  3279. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3280. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3281. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3282. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3283. {
  3284. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3285. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3286. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3287. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3288. {
  3289. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3290. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3291. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3292. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3293. {
  3294. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3295. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3296. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3297. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3298. {
  3299. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3300. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3301. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3302. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3303. {
  3304. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3305. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3306. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3307. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3308. {
  3309. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3310. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3311. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3312. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3313. {
  3314. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3315. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  3316. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x67, 0x00, 0x03, 0x00, 0x70, 0x00,
  3317. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3318. {
  3319. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3320. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  3321. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x57, 0x00, 0x03, 0x00, 0x70, 0x00,
  3322. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3323. {
  3324. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3325. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  3326. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x56, 0x00, 0x03, 0x00, 0x70, 0x00,
  3327. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3328. {
  3329. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3330. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  3331. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x46, 0x00, 0x03, 0x00, 0x70, 0x00,
  3332. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3333. {
  3334. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3335. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3336. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3337. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3338. {
  3339. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3340. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3341. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3342. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3343. {
  3344. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3345. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  3346. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x23, 0x00, 0x02, 0x00, 0x70, 0x00,
  3347. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3348. {
  3349. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3350. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  3351. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x12, 0x00, 0x02, 0x00, 0x70, 0x00,
  3352. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3353. {
  3354. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3355. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  3356. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x70, 0x00,
  3357. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3358. {
  3359. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3360. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3361. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3362. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3363. {
  3364. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3365. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3366. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3367. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3368. {
  3369. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3370. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3371. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3372. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3373. };
  3374. static const struct chan_info_nphy_radio205x chan_info_nphyrev5n6_2056v7[] = {
  3375. {
  3376. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3377. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3378. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  3379. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  3380. {
  3381. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3382. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3383. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3384. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  3385. {
  3386. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3387. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3388. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3389. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  3390. {
  3391. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3392. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3393. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3394. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  3395. {
  3396. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3397. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3398. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  3399. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  3400. {
  3401. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3402. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3403. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3404. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  3405. {
  3406. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3407. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3408. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3409. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  3410. {
  3411. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3412. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3413. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3414. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  3415. {
  3416. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3417. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3418. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3419. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  3420. {
  3421. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3422. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3423. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3424. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  3425. {
  3426. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3427. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3428. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  3429. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  3430. {
  3431. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3432. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3433. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3434. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  3435. {
  3436. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3437. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3438. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3439. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  3440. {
  3441. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3442. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3443. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3444. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  3445. {
  3446. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3447. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  3448. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3449. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  3450. {
  3451. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3452. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  3453. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3454. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  3455. {
  3456. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3457. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3458. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3459. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  3460. {
  3461. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3462. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3463. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3464. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  3465. {
  3466. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3467. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3468. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3469. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  3470. {
  3471. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3472. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3473. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3474. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  3475. {
  3476. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3477. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3478. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3479. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  3480. {
  3481. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3482. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  3483. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  3484. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  3485. {
  3486. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3487. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3488. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  3489. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  3490. {
  3491. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3492. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3493. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  3494. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  3495. {
  3496. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3497. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  3498. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3499. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  3500. {
  3501. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3502. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3503. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3504. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  3505. {
  3506. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3507. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3508. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3509. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  3510. {
  3511. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3512. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3513. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3514. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  3515. {
  3516. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3517. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3518. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3519. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  3520. {
  3521. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3522. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3523. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3524. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  3525. {
  3526. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3527. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xea, 0x00, 0x06, 0x00, 0x70,
  3528. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  3529. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  3530. {
  3531. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3532. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3533. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3534. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  3535. {
  3536. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3537. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3538. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3539. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  3540. {
  3541. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3542. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xd9, 0x00, 0x05, 0x00, 0x70,
  3543. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3544. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  3545. {
  3546. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3547. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xd8, 0x00, 0x04, 0x00, 0x70,
  3548. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3549. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  3550. {
  3551. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3552. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3553. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3554. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  3555. {
  3556. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3557. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3558. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3559. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  3560. {
  3561. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3562. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3563. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3564. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  3565. {
  3566. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3567. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3568. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3569. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  3570. {
  3571. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3572. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb8, 0x00, 0x04, 0x00, 0x70,
  3573. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3574. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  3575. {
  3576. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3577. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xb7, 0x00, 0x04, 0x00, 0x70,
  3578. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3579. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  3580. {
  3581. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3582. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xb7, 0x00, 0x03, 0x00, 0x70,
  3583. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  3584. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  3585. {
  3586. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3587. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa7, 0x00, 0x03, 0x00, 0x70,
  3588. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3589. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  3590. {
  3591. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3592. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3593. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3594. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  3595. {
  3596. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3597. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3598. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3599. 0x00, 0x7b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  3600. {
  3601. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3602. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x96, 0x00, 0x03, 0x00, 0x70,
  3603. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3604. 0x00, 0x7a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  3605. {
  3606. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3607. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3608. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3609. 0x00, 0x7a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  3610. {
  3611. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3612. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3613. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3614. 0x00, 0x7a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  3615. {
  3616. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3617. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3618. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3619. 0x00, 0x7a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  3620. {
  3621. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3622. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3623. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3624. 0x00, 0x7a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3625. {
  3626. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3627. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x85, 0x00, 0x02, 0x00, 0x70,
  3628. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3629. 0x00, 0x79, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3630. {
  3631. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3632. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x70,
  3633. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3634. 0x00, 0x79, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3635. {
  3636. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3637. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3638. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3639. 0x00, 0x79, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3640. {
  3641. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3642. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3643. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  3644. 0x00, 0x79, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3645. {
  3646. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3647. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x74, 0x00, 0x01, 0x00, 0x70,
  3648. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3649. 0x00, 0x79, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3650. {
  3651. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3652. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  3653. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3654. 0x00, 0x78, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3655. {
  3656. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3657. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x01, 0x00, 0x70,
  3658. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3659. 0x00, 0x78, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3660. {
  3661. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3662. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3663. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3664. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3665. {
  3666. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3667. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3668. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3669. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3670. {
  3671. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3672. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x01, 0x00, 0x70,
  3673. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3674. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3675. {
  3676. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3677. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x63, 0x00, 0x01, 0x00, 0x70,
  3678. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  3679. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3680. {
  3681. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3682. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x62, 0x00, 0x00, 0x00, 0x70,
  3683. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3684. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3685. {
  3686. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3687. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3688. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3689. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3690. {
  3691. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3692. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3693. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3694. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3695. {
  3696. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3697. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x52, 0x00, 0x00, 0x00, 0x70,
  3698. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3699. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3700. {
  3701. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3702. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x52, 0x00, 0x00, 0x00, 0x70,
  3703. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3704. 0x00, 0x86, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3705. {
  3706. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3707. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3708. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3709. 0x00, 0x86, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3710. {
  3711. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3712. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3713. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3714. 0x00, 0x86, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3715. {
  3716. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3717. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3718. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3719. 0x00, 0x86, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3720. {
  3721. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3722. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3723. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3724. 0x00, 0x86, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3725. {
  3726. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3727. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3728. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3729. 0x00, 0x86, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3730. {
  3731. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3732. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x51, 0x00, 0x00, 0x00, 0x70,
  3733. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3734. 0x00, 0x85, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3735. {
  3736. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3737. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3738. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3739. 0x00, 0x85, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3740. {
  3741. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3742. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3743. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3744. 0x00, 0x85, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3745. {
  3746. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3747. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  3748. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3749. 0x00, 0x84, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3750. {
  3751. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3752. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3753. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3754. 0x00, 0x84, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3755. {
  3756. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3757. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3758. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3759. 0x00, 0x94, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3760. {
  3761. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3762. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3763. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3764. 0x00, 0x94, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3765. {
  3766. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3767. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3768. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3769. 0x00, 0x94, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3770. {
  3771. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3772. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3773. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3774. 0x00, 0x94, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3775. {
  3776. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3777. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3778. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3779. 0x00, 0x94, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3780. {
  3781. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3782. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3783. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3784. 0x00, 0x94, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3785. {
  3786. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3787. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3788. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3789. 0x00, 0x93, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3790. {
  3791. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3792. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3793. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3794. 0x00, 0x93, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3795. {
  3796. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3797. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3798. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3799. 0x00, 0x93, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3800. {
  3801. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3802. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3803. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3804. 0x00, 0x93, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3805. {
  3806. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3807. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x30, 0x00, 0x00, 0x00, 0x70,
  3808. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3809. 0x00, 0x93, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3810. {
  3811. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3812. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3813. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3814. 0x00, 0x93, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3815. {
  3816. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3817. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3818. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3819. 0x00, 0x92, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3820. {
  3821. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3822. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3823. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3824. 0x00, 0x92, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3825. {
  3826. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3827. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3828. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3829. 0x00, 0x92, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3830. {
  3831. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3832. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x70,
  3833. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3834. 0x00, 0x92, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3835. {
  3836. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3837. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3838. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3839. 0x00, 0x92, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3840. {
  3841. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3842. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3843. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3844. 0x00, 0x92, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3845. {
  3846. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3847. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3848. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3849. 0x00, 0x92, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3850. {
  3851. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3852. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3853. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3854. 0x00, 0x92, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3855. {
  3856. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3857. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3858. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3859. 0x00, 0x92, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3860. {
  3861. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3862. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3863. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3864. 0x00, 0x92, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3865. {
  3866. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3867. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3868. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3869. 0x00, 0x92, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3870. {
  3871. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3872. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3873. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3874. 0x00, 0x92, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3875. {
  3876. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3877. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3878. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3879. 0x00, 0x92, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3880. {
  3881. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3882. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3883. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3884. 0x00, 0x92, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3885. {
  3886. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3887. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3888. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3889. 0x00, 0x92, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3890. {
  3891. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3892. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3893. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3894. 0x00, 0x92, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3895. {
  3896. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3897. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3898. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3899. 0x00, 0x92, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3900. {
  3901. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3902. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3903. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3904. 0x00, 0x91, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3905. {
  3906. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3907. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3908. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3909. 0x00, 0x91, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3910. {
  3911. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3912. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3913. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3914. 0x00, 0x91, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3915. {
  3916. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3917. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3918. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3919. 0x00, 0x91, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3920. {
  3921. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3922. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3923. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3924. 0x00, 0x91, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3925. {
  3926. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3927. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3928. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3929. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3930. {
  3931. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3932. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3933. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3934. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3935. {
  3936. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3937. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3938. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3939. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3940. {
  3941. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3942. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3943. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3944. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3945. {
  3946. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3947. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x03, 0x00,
  3948. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  3949. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3950. {
  3951. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3952. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x76, 0x00, 0x03, 0x00,
  3953. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  3954. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3955. {
  3956. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3957. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x66, 0x00, 0x03, 0x00,
  3958. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x03, 0x00, 0x70, 0x00,
  3959. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3960. {
  3961. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3962. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x55, 0x00, 0x02, 0x00,
  3963. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  3964. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3965. {
  3966. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3967. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3968. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3969. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3970. {
  3971. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3972. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3973. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3974. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3975. {
  3976. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3977. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00,
  3978. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  3979. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3980. {
  3981. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3982. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00,
  3983. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  3984. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3985. {
  3986. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3987. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
  3988. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  3989. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3990. {
  3991. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3992. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3993. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3994. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3995. };
  3996. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v8[] = {
  3997. {
  3998. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3999. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4000. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4001. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4002. {
  4003. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4004. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4005. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4006. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4007. {
  4008. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4009. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4010. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4011. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4012. {
  4013. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4014. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4015. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4016. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4017. {
  4018. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4019. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4020. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4021. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4022. {
  4023. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4024. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4025. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4026. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4027. {
  4028. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4029. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4030. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4031. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4032. {
  4033. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4034. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4035. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4036. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4037. {
  4038. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4039. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4040. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4041. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4042. {
  4043. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4044. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4045. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4046. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4047. {
  4048. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4049. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4050. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4051. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4052. {
  4053. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4054. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4055. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4056. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4057. {
  4058. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4059. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4060. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4061. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4062. {
  4063. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4064. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4065. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4066. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4067. {
  4068. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4069. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4070. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4071. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4072. {
  4073. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4074. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4075. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4076. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4077. {
  4078. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4079. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4080. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4081. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4082. {
  4083. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4084. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4085. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4086. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4087. {
  4088. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4089. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4090. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4091. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4092. {
  4093. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4094. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4095. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4096. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4097. {
  4098. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4099. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4100. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4101. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4102. {
  4103. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4104. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4105. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4106. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4107. {
  4108. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4109. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4110. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4111. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4112. {
  4113. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4114. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4115. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4116. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4117. {
  4118. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4119. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4120. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4121. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4122. {
  4123. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4124. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4125. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4126. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4127. {
  4128. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4129. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4130. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4131. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4132. {
  4133. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4134. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4135. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4136. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4137. {
  4138. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4139. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4140. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4141. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4142. {
  4143. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4144. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4145. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4146. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4147. {
  4148. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4149. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4150. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4151. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4152. {
  4153. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4154. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4155. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4156. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4157. {
  4158. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4159. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4160. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4161. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4162. {
  4163. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4164. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4165. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4166. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4167. {
  4168. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4169. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4170. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4171. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4172. {
  4173. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4174. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4175. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4176. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4177. {
  4178. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4179. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4180. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4181. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4182. {
  4183. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4184. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4185. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4186. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4187. {
  4188. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4189. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4190. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4191. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4192. {
  4193. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4194. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4195. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4196. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4197. {
  4198. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4199. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4200. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4201. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4202. {
  4203. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4204. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4205. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4206. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4207. {
  4208. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4209. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4210. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4211. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4212. {
  4213. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4214. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4215. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4216. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4217. {
  4218. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4219. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4220. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4221. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4222. {
  4223. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4224. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4225. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4226. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4227. {
  4228. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4229. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4230. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4231. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4232. {
  4233. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4234. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4235. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4236. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4237. {
  4238. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4239. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4240. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4241. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4242. {
  4243. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4244. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4245. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4246. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4247. {
  4248. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4249. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4250. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4251. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4252. {
  4253. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4254. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4255. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4256. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4257. {
  4258. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4259. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4260. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4261. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4262. {
  4263. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4264. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4265. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4266. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4267. {
  4268. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4269. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4270. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4271. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4272. {
  4273. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4274. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4275. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4276. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4277. {
  4278. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4279. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4280. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4281. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4282. {
  4283. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4284. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4285. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4286. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4287. {
  4288. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4289. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4290. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4291. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4292. {
  4293. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4294. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4295. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4296. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4297. {
  4298. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4299. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4300. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4301. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4302. {
  4303. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4304. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4305. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4306. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4307. {
  4308. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4309. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4310. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4311. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4312. {
  4313. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4314. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4315. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4316. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4317. {
  4318. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4319. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4320. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4321. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4322. {
  4323. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4324. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4325. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4326. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4327. {
  4328. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4329. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4330. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4331. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4332. {
  4333. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4334. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4335. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4336. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4337. {
  4338. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4339. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4340. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4341. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4342. {
  4343. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4344. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4345. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4346. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4347. {
  4348. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4349. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4350. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4351. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4352. {
  4353. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4354. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4355. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4356. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4357. {
  4358. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4359. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4360. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4361. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4362. {
  4363. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4364. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4365. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4366. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4367. {
  4368. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4369. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4370. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4371. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4372. {
  4373. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4374. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4375. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4376. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4377. {
  4378. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4379. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4380. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4381. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  4382. {
  4383. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4384. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4385. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4386. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  4387. {
  4388. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4389. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4390. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4391. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  4392. {
  4393. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4394. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4395. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4396. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  4397. {
  4398. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  4399. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4400. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4401. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  4402. {
  4403. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4404. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4405. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4406. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  4407. {
  4408. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4409. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4410. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4411. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  4412. {
  4413. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4414. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4415. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4416. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  4417. {
  4418. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4419. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4420. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4421. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  4422. {
  4423. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4424. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  4425. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4426. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  4427. {
  4428. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  4429. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4430. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4431. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  4432. {
  4433. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4434. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4435. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4436. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  4437. {
  4438. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  4439. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4440. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4441. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  4442. {
  4443. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4444. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4445. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4446. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  4447. {
  4448. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  4449. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4450. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4451. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  4452. {
  4453. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4454. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4455. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4456. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  4457. {
  4458. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  4459. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4460. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4461. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  4462. {
  4463. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4464. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4465. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4466. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  4467. {
  4468. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  4469. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4470. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4471. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  4472. {
  4473. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4474. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4475. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4476. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  4477. {
  4478. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  4479. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4480. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4481. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  4482. {
  4483. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4484. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4485. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4486. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  4487. {
  4488. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4489. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4490. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4491. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  4492. {
  4493. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4494. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4495. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4496. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  4497. {
  4498. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4499. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4500. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4501. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  4502. {
  4503. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4504. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4505. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4506. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  4507. {
  4508. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4509. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4510. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4511. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  4512. {
  4513. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4514. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4515. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4516. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  4517. {
  4518. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4519. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4520. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4521. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  4522. {
  4523. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4524. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4525. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4526. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  4527. {
  4528. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4529. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4530. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4531. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  4532. {
  4533. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4534. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4535. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4536. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  4537. {
  4538. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4539. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4540. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4541. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  4542. {
  4543. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4544. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4545. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4546. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  4547. {
  4548. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  4549. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4550. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4551. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  4552. {
  4553. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  4554. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4555. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4556. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  4557. {
  4558. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  4559. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  4560. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4561. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  4562. {
  4563. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  4564. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  4565. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  4566. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  4567. {
  4568. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  4569. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  4570. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  4571. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  4572. {
  4573. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  4574. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  4575. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  4576. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  4577. {
  4578. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  4579. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  4580. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  4581. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  4582. {
  4583. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  4584. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  4585. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  4586. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  4587. {
  4588. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  4589. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  4590. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  4591. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  4592. {
  4593. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  4594. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  4595. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  4596. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  4597. {
  4598. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  4599. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  4600. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  4601. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  4602. {
  4603. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  4604. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4605. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  4606. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  4607. {
  4608. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  4609. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4610. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  4611. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  4612. {
  4613. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  4614. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  4615. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  4616. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  4617. };
  4618. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v11[] = {
  4619. {
  4620. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4621. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4622. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4623. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4624. {
  4625. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4626. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4627. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4628. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4629. {
  4630. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4631. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4632. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4633. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4634. {
  4635. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4636. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4637. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4638. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4639. {
  4640. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4641. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4642. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4643. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4644. {
  4645. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4646. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4647. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4648. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4649. {
  4650. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4651. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4652. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4653. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4654. {
  4655. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4656. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4657. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4658. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4659. {
  4660. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4661. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4662. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4663. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4664. {
  4665. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4666. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4667. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4668. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4669. {
  4670. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4671. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4672. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4673. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4674. {
  4675. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4676. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4677. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4678. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4679. {
  4680. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4681. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4682. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4683. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4684. {
  4685. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4686. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4687. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4688. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4689. {
  4690. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4691. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4692. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4693. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4694. {
  4695. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4696. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4697. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4698. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4699. {
  4700. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4701. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4702. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4703. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4704. {
  4705. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4706. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4707. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4708. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4709. {
  4710. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4711. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4712. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4713. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4714. {
  4715. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4716. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4717. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4718. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4719. {
  4720. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4721. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4722. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4723. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4724. {
  4725. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4726. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4727. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4728. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4729. {
  4730. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4731. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4732. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4733. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4734. {
  4735. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4736. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4737. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4738. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4739. {
  4740. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4741. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4742. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4743. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4744. {
  4745. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4746. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4747. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4748. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4749. {
  4750. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4751. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4752. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4753. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4754. {
  4755. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4756. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4757. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4758. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4759. {
  4760. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4761. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4762. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4763. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4764. {
  4765. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4766. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4767. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4768. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4769. {
  4770. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4771. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4772. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4773. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4774. {
  4775. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4776. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4777. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4778. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4779. {
  4780. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4781. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4782. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4783. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4784. {
  4785. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4786. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4787. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4788. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4789. {
  4790. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4791. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4792. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4793. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4794. {
  4795. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4796. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4797. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4798. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4799. {
  4800. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4801. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4802. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4803. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4804. {
  4805. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4806. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4807. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4808. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4809. {
  4810. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4811. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4812. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4813. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4814. {
  4815. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4816. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4817. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4818. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4819. {
  4820. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4821. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4822. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4823. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4824. {
  4825. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4826. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4827. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4828. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4829. {
  4830. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4831. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4832. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4833. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4834. {
  4835. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4836. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4837. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4838. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4839. {
  4840. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4841. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4842. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4843. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4844. {
  4845. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4846. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4847. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4848. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4849. {
  4850. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4851. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4852. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4853. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4854. {
  4855. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4856. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4857. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4858. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4859. {
  4860. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4861. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4862. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4863. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4864. {
  4865. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4866. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4867. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4868. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4869. {
  4870. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4871. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4872. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4873. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4874. {
  4875. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4876. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4877. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4878. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4879. {
  4880. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4881. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4882. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4883. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4884. {
  4885. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4886. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4887. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4888. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4889. {
  4890. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4891. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4892. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4893. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4894. {
  4895. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4896. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4897. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4898. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4899. {
  4900. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4901. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4902. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4903. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4904. {
  4905. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4906. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4907. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4908. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4909. {
  4910. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4911. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4912. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4913. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4914. {
  4915. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4916. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4917. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4918. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4919. {
  4920. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4921. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4922. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4923. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4924. {
  4925. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4926. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4927. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4928. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4929. {
  4930. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4931. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4932. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4933. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4934. {
  4935. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4936. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4937. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4938. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4939. {
  4940. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4941. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4942. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4943. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4944. {
  4945. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4946. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4947. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4948. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4949. {
  4950. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4951. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4952. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4953. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4954. {
  4955. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4956. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4957. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4958. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4959. {
  4960. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4961. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4962. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4963. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4964. {
  4965. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4966. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4967. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4968. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4969. {
  4970. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4971. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4972. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4973. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4974. {
  4975. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4976. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4977. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4978. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4979. {
  4980. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4981. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4982. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4983. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4984. {
  4985. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4986. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4987. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4988. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4989. {
  4990. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4991. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4992. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4993. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4994. {
  4995. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4996. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4997. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4998. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4999. {
  5000. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5001. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5002. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5003. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  5004. {
  5005. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5006. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5007. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5008. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  5009. {
  5010. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5011. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5012. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5013. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  5014. {
  5015. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5016. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5017. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5018. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  5019. {
  5020. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x05, 0x05, 0x02, 0x15, 0x01,
  5021. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5022. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5023. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  5024. {
  5025. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5026. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5027. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5028. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  5029. {
  5030. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5031. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5032. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5033. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  5034. {
  5035. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5036. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5037. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5038. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  5039. {
  5040. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5041. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5042. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5043. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  5044. {
  5045. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5046. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  5047. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5048. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  5049. {
  5050. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x05, 0x05, 0x02, 0x15, 0x01,
  5051. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5052. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5053. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  5054. {
  5055. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5056. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5057. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5058. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  5059. {
  5060. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x05, 0x05, 0x02, 0x15, 0x01,
  5061. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5062. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5063. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  5064. {
  5065. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5066. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5067. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5068. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  5069. {
  5070. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x05, 0x05, 0x02, 0x15, 0x01,
  5071. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5072. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5073. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  5074. {
  5075. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5076. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5077. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5078. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  5079. {
  5080. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x05, 0x05, 0x02, 0x15, 0x01,
  5081. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5082. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5083. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  5084. {
  5085. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5086. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5087. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5088. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  5089. {
  5090. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x05, 0x05, 0x02, 0x15, 0x01,
  5091. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5092. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5093. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  5094. {
  5095. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5096. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5097. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5098. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  5099. {
  5100. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x05, 0x05, 0x02, 0x15, 0x01,
  5101. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5102. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5103. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  5104. {
  5105. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5106. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5107. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5108. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  5109. {
  5110. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5111. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5112. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5113. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  5114. {
  5115. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5116. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5117. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5118. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  5119. {
  5120. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5121. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5122. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5123. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  5124. {
  5125. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5126. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5127. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5128. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  5129. {
  5130. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5131. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5132. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5133. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  5134. {
  5135. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5136. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5137. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5138. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  5139. {
  5140. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5141. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5142. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5143. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  5144. {
  5145. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5146. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5147. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5148. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  5149. {
  5150. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5151. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5152. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5153. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  5154. {
  5155. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5156. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5157. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5158. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  5159. {
  5160. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5161. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5162. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5163. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  5164. {
  5165. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5166. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5167. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5168. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  5169. {
  5170. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5171. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5172. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5173. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  5174. {
  5175. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5176. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5177. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5178. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  5179. {
  5180. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5181. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  5182. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5183. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  5184. {
  5185. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5186. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  5187. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  5188. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  5189. {
  5190. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5191. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  5192. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  5193. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  5194. {
  5195. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5196. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  5197. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  5198. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  5199. {
  5200. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5201. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  5202. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  5203. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  5204. {
  5205. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5206. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  5207. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  5208. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  5209. {
  5210. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5211. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  5212. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  5213. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  5214. {
  5215. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5216. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  5217. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  5218. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  5219. {
  5220. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5221. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  5222. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  5223. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  5224. {
  5225. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5226. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5227. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  5228. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  5229. {
  5230. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5231. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5232. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  5233. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  5234. {
  5235. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5236. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  5237. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  5238. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  5239. };
  5240. static const struct chan_info_nphy_radio2057 chan_info_nphyrev7_2057_rev4[] = {
  5241. {
  5242. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  5243. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5244. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  5245. 0x0215,
  5246. 0x0216,
  5247. },
  5248. {
  5249. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  5250. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5251. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  5252. 0x0214,
  5253. 0x0215,
  5254. },
  5255. {
  5256. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  5257. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5258. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  5259. 0x0213,
  5260. 0x0214,
  5261. },
  5262. {
  5263. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  5264. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5265. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  5266. 0x0212,
  5267. 0x0213,
  5268. },
  5269. {
  5270. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  5271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5272. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  5273. 0x0211,
  5274. 0x0212,
  5275. },
  5276. {
  5277. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  5278. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5279. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  5280. 0x020f,
  5281. 0x0211,
  5282. },
  5283. {
  5284. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  5285. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5286. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  5287. 0x020e,
  5288. 0x020f,
  5289. },
  5290. {
  5291. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  5292. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5293. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  5294. 0x020d,
  5295. 0x020e,
  5296. },
  5297. {
  5298. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  5299. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5300. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  5301. 0x020c,
  5302. 0x020d,
  5303. },
  5304. {
  5305. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  5306. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5307. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  5308. 0x020b,
  5309. 0x020c,
  5310. },
  5311. {
  5312. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  5313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5314. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  5315. 0x020a,
  5316. 0x020b,
  5317. },
  5318. {
  5319. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  5320. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5321. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  5322. 0x0209,
  5323. 0x020a,
  5324. },
  5325. {
  5326. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  5327. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5328. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  5329. 0x0208,
  5330. 0x0209,
  5331. },
  5332. {
  5333. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  5334. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5335. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  5336. 0x0207,
  5337. 0x0208,
  5338. },
  5339. {
  5340. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  5341. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5342. 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  5343. 0x0206,
  5344. 0x0207,
  5345. },
  5346. {
  5347. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  5348. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5349. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  5350. 0x0205,
  5351. 0x0206,
  5352. },
  5353. {
  5354. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  5355. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5356. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  5357. 0x0204,
  5358. 0x0205,
  5359. },
  5360. {
  5361. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  5362. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5363. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  5364. 0x0203,
  5365. 0x0204,
  5366. },
  5367. {
  5368. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  5369. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5370. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  5371. 0x0202,
  5372. 0x0203,
  5373. },
  5374. {
  5375. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  5376. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5377. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0800, 0x07fc, 0x07f8, 0x0200,
  5378. 0x0201,
  5379. 0x0202,
  5380. },
  5381. {
  5382. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  5383. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5384. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0804, 0x0800, 0x07fc, 0x01ff,
  5385. 0x0200,
  5386. 0x0201,
  5387. },
  5388. {
  5389. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  5390. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5391. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0808, 0x0804, 0x0800, 0x01fe,
  5392. 0x01ff,
  5393. 0x0200,
  5394. },
  5395. {
  5396. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  5397. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5398. 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x080c, 0x0808, 0x0804, 0x01fd,
  5399. 0x01fe,
  5400. 0x01ff,
  5401. },
  5402. {
  5403. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  5404. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5405. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0814, 0x0810, 0x080c, 0x01fb,
  5406. 0x01fc,
  5407. 0x01fd,
  5408. },
  5409. {
  5410. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  5411. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5412. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0818, 0x0814, 0x0810, 0x01fa,
  5413. 0x01fb,
  5414. 0x01fc,
  5415. },
  5416. {
  5417. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  5418. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5419. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x081c, 0x0818, 0x0814, 0x01f9,
  5420. 0x01fa,
  5421. 0x01fb,
  5422. },
  5423. {
  5424. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  5425. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5426. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0820, 0x081c, 0x0818, 0x01f8,
  5427. 0x01f9,
  5428. 0x01fa,
  5429. },
  5430. {
  5431. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  5432. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5433. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0824, 0x0820, 0x081c, 0x01f7,
  5434. 0x01f8,
  5435. 0x01f9,
  5436. },
  5437. {
  5438. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  5439. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5440. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0828, 0x0824, 0x0820, 0x01f6,
  5441. 0x01f7,
  5442. 0x01f8,
  5443. },
  5444. {
  5445. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  5446. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5447. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x082c, 0x0828, 0x0824, 0x01f5,
  5448. 0x01f6,
  5449. 0x01f7,
  5450. },
  5451. {
  5452. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  5453. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5454. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0830, 0x082c, 0x0828, 0x01f4,
  5455. 0x01f5,
  5456. 0x01f6,
  5457. },
  5458. {
  5459. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  5460. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5461. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0834, 0x0830, 0x082c, 0x01f3,
  5462. 0x01f4,
  5463. 0x01f5,
  5464. },
  5465. {
  5466. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  5467. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5468. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0838, 0x0834, 0x0830, 0x01f2,
  5469. 0x01f3,
  5470. 0x01f4,
  5471. },
  5472. {
  5473. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  5474. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5475. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x083c, 0x0838, 0x0834, 0x01f1,
  5476. 0x01f2,
  5477. 0x01f3,
  5478. },
  5479. {
  5480. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  5481. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5482. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x0840, 0x083c, 0x0838, 0x01f0,
  5483. 0x01f1,
  5484. 0x01f2,
  5485. },
  5486. {
  5487. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  5488. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5489. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0844, 0x0840, 0x083c, 0x01f0,
  5490. 0x01f0,
  5491. 0x01f1,
  5492. },
  5493. {
  5494. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  5495. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5496. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0848, 0x0844, 0x0840, 0x01ef,
  5497. 0x01f0,
  5498. 0x01f0,
  5499. },
  5500. {
  5501. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  5502. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5503. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x084c, 0x0848, 0x0844, 0x01ee,
  5504. 0x01ef,
  5505. 0x01f0,
  5506. },
  5507. {
  5508. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  5509. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5510. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0850, 0x084c, 0x0848, 0x01ed,
  5511. 0x01ee,
  5512. 0x01ef,
  5513. },
  5514. {
  5515. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  5516. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5517. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0854, 0x0850, 0x084c, 0x01ec,
  5518. 0x01ed,
  5519. 0x01ee,
  5520. },
  5521. {
  5522. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  5523. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5524. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0858, 0x0854, 0x0850, 0x01eb,
  5525. 0x01ec,
  5526. 0x01ed,
  5527. },
  5528. {
  5529. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  5530. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x00,
  5531. 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x085c, 0x0858, 0x0854, 0x01ea,
  5532. 0x01eb,
  5533. 0x01ec,
  5534. },
  5535. {
  5536. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  5537. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5538. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0860, 0x085c, 0x0858, 0x01e9,
  5539. 0x01ea,
  5540. 0x01eb,
  5541. },
  5542. {
  5543. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  5544. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5545. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0864, 0x0860, 0x085c, 0x01e8,
  5546. 0x01e9,
  5547. 0x01ea,
  5548. },
  5549. {
  5550. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  5551. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5552. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0868, 0x0864, 0x0860, 0x01e7,
  5553. 0x01e8,
  5554. 0x01e9,
  5555. },
  5556. {
  5557. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  5558. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5559. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x086c, 0x0868, 0x0864, 0x01e6,
  5560. 0x01e7,
  5561. 0x01e8,
  5562. },
  5563. {
  5564. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  5565. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x00,
  5566. 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x0870, 0x086c, 0x0868, 0x01e5,
  5567. 0x01e6,
  5568. 0x01e7,
  5569. },
  5570. {
  5571. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  5572. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5573. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0874, 0x0870, 0x086c, 0x01e5,
  5574. 0x01e5,
  5575. 0x01e6,
  5576. },
  5577. {
  5578. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  5579. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5580. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0878, 0x0874, 0x0870, 0x01e4,
  5581. 0x01e5,
  5582. 0x01e5,
  5583. },
  5584. {
  5585. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  5586. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x00,
  5587. 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x087c, 0x0878, 0x0874, 0x01e3,
  5588. 0x01e4,
  5589. 0x01e5,
  5590. },
  5591. {
  5592. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  5593. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5594. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0880, 0x087c, 0x0878, 0x01e2,
  5595. 0x01e3,
  5596. 0x01e4,
  5597. },
  5598. {
  5599. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  5600. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5601. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0884, 0x0880, 0x087c, 0x01e1,
  5602. 0x01e2,
  5603. 0x01e3,
  5604. },
  5605. {
  5606. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  5607. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5608. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0888, 0x0884, 0x0880, 0x01e0,
  5609. 0x01e1,
  5610. 0x01e2,
  5611. },
  5612. {
  5613. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  5614. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x00,
  5615. 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x088c, 0x0888, 0x0884, 0x01df,
  5616. 0x01e0,
  5617. 0x01e1,
  5618. },
  5619. {
  5620. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  5621. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x00,
  5622. 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x0890, 0x088c, 0x0888, 0x01de,
  5623. 0x01df,
  5624. 0x01e0,
  5625. },
  5626. {
  5627. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  5628. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5629. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0894, 0x0890, 0x088c, 0x01dd,
  5630. 0x01de,
  5631. 0x01df,
  5632. },
  5633. {
  5634. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  5635. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5636. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0898, 0x0894, 0x0890, 0x01dd,
  5637. 0x01dd,
  5638. 0x01de,
  5639. },
  5640. {
  5641. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  5642. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5643. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x089c, 0x0898, 0x0894, 0x01dc,
  5644. 0x01dd,
  5645. 0x01dd,
  5646. },
  5647. {
  5648. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  5649. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5650. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x08a0, 0x089c, 0x0898, 0x01db,
  5651. 0x01dc,
  5652. 0x01dd,
  5653. },
  5654. {
  5655. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  5656. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5657. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a4, 0x08a0, 0x089c, 0x01da,
  5658. 0x01db,
  5659. 0x01dc,
  5660. },
  5661. {
  5662. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  5663. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5664. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  5665. 0x01da,
  5666. 0x01db,
  5667. },
  5668. {
  5669. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  5670. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5671. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  5672. 0x01d9,
  5673. 0x01da,
  5674. },
  5675. {
  5676. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  5677. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5678. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  5679. 0x01d8,
  5680. 0x01d9,
  5681. },
  5682. {
  5683. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  5684. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5685. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  5686. 0x01d7,
  5687. 0x01d8,
  5688. },
  5689. {
  5690. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  5691. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5692. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  5693. 0x01d7,
  5694. 0x01d7,
  5695. },
  5696. {
  5697. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  5698. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x00,
  5699. 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  5700. 0x01d6,
  5701. 0x01d7,
  5702. },
  5703. {
  5704. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  5705. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x00,
  5706. 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  5707. 0x01d5,
  5708. 0x01d6,
  5709. },
  5710. {
  5711. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  5712. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x00,
  5713. 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  5714. 0x01d4,
  5715. 0x01d5,
  5716. },
  5717. {
  5718. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  5719. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5720. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  5721. 0x01d3,
  5722. 0x01d4,
  5723. },
  5724. {
  5725. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  5726. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5727. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  5728. 0x01d2,
  5729. 0x01d3,
  5730. },
  5731. {
  5732. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  5733. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5734. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  5735. 0x01d2,
  5736. 0x01d2,
  5737. },
  5738. {
  5739. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  5740. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5741. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  5742. 0x01d1,
  5743. 0x01d2,
  5744. },
  5745. {
  5746. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  5747. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5748. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  5749. 0x01d0,
  5750. 0x01d1,
  5751. },
  5752. {
  5753. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  5754. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5755. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  5756. 0x01cf,
  5757. 0x01d0,
  5758. },
  5759. {
  5760. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  5761. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x00,
  5762. 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  5763. 0x01ce,
  5764. 0x01cf,
  5765. },
  5766. {
  5767. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  5768. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5769. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  5770. 0x01ce,
  5771. 0x01ce,
  5772. },
  5773. {
  5774. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  5775. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5776. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  5777. 0x01cd,
  5778. 0x01ce,
  5779. },
  5780. {
  5781. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  5782. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5783. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  5784. 0x01cc,
  5785. 0x01cd,
  5786. },
  5787. {
  5788. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  5789. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5790. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  5791. 0x01cb,
  5792. 0x01cc,
  5793. },
  5794. {
  5795. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  5796. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5797. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  5798. 0x01ca,
  5799. 0x01cb,
  5800. },
  5801. {
  5802. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  5803. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x00,
  5804. 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  5805. 0x01ca,
  5806. 0x01cb,
  5807. },
  5808. {
  5809. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  5810. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5811. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  5812. 0x01c9,
  5813. 0x01ca,
  5814. },
  5815. {
  5816. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  5817. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5818. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  5819. 0x01c9,
  5820. 0x01ca,
  5821. },
  5822. {
  5823. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  5824. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5825. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  5826. 0x01c9,
  5827. 0x01c9,
  5828. },
  5829. {
  5830. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  5831. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5832. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  5833. 0x01c8,
  5834. 0x01c9,
  5835. },
  5836. {
  5837. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  5838. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5839. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  5840. 0x01c8,
  5841. 0x01c9,
  5842. },
  5843. {
  5844. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  5845. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5846. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  5847. 0x01c8,
  5848. 0x01c8,
  5849. },
  5850. {
  5851. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  5852. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5853. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  5854. 0x01c7,
  5855. 0x01c8,
  5856. },
  5857. {
  5858. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  5859. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5860. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  5861. 0x01c7,
  5862. 0x01c8,
  5863. },
  5864. {
  5865. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  5866. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5867. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  5868. 0x01c6,
  5869. 0x01c7,
  5870. },
  5871. {
  5872. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  5873. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5874. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  5875. 0x01c6,
  5876. 0x01c7,
  5877. },
  5878. {
  5879. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  5880. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x00,
  5881. 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  5882. 0x01c6,
  5883. 0x01c6,
  5884. },
  5885. {
  5886. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  5887. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5888. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  5889. 0x01c5,
  5890. 0x01c6,
  5891. },
  5892. {
  5893. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  5894. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5895. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  5896. 0x01c5,
  5897. 0x01c6,
  5898. },
  5899. {
  5900. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  5901. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5902. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  5903. 0x01c4,
  5904. 0x01c5,
  5905. },
  5906. {
  5907. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  5908. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5909. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  5910. 0x01c4,
  5911. 0x01c5,
  5912. },
  5913. {
  5914. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  5915. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5916. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  5917. 0x01c4,
  5918. 0x01c4,
  5919. },
  5920. {
  5921. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  5922. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5923. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  5924. 0x01c3,
  5925. 0x01c4,
  5926. },
  5927. {
  5928. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  5929. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5930. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  5931. 0x01c3,
  5932. 0x01c4,
  5933. },
  5934. {
  5935. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  5936. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5937. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  5938. 0x01c2,
  5939. 0x01c3,
  5940. },
  5941. {
  5942. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  5943. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5944. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  5945. 0x01c2,
  5946. 0x01c3,
  5947. },
  5948. {
  5949. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  5950. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5951. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  5952. 0x01c2,
  5953. 0x01c2,
  5954. },
  5955. {
  5956. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  5957. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5958. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  5959. 0x01c1,
  5960. 0x01c2,
  5961. },
  5962. {
  5963. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  5964. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5965. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  5966. 0x01c0,
  5967. 0x01c1,
  5968. },
  5969. {
  5970. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  5971. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5972. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  5973. 0x01bf,
  5974. 0x01c0,
  5975. },
  5976. {
  5977. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  5978. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5979. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  5980. 0x01bf,
  5981. 0x01bf,
  5982. },
  5983. {
  5984. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  5985. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5986. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  5987. 0x01be,
  5988. 0x01bf,
  5989. },
  5990. {
  5991. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  5992. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5993. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  5994. 0x01bd,
  5995. 0x01be,
  5996. },
  5997. {
  5998. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  5999. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  6000. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6001. 0x01bc,
  6002. 0x01bd,
  6003. },
  6004. {
  6005. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6006. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6007. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6008. 0x043f,
  6009. 0x0443,
  6010. },
  6011. {
  6012. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6013. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6014. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6015. 0x043d,
  6016. 0x0441,
  6017. },
  6018. {
  6019. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6020. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6021. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6022. 0x043a,
  6023. 0x043f,
  6024. },
  6025. {
  6026. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6027. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6028. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6029. 0x0438,
  6030. 0x043d,
  6031. },
  6032. {
  6033. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6034. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6035. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6036. 0x0436,
  6037. 0x043a,
  6038. },
  6039. {
  6040. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6041. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6042. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6043. 0x0434,
  6044. 0x0438,
  6045. },
  6046. {
  6047. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6048. 0x07, 0x00, 0x07, 0x00, 0x51, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6049. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6050. 0x0431,
  6051. 0x0436,
  6052. },
  6053. {
  6054. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6055. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6056. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6057. 0x042f,
  6058. 0x0434,
  6059. },
  6060. {
  6061. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6062. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6063. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6064. 0x042d,
  6065. 0x0431,
  6066. },
  6067. {
  6068. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6069. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6070. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6071. 0x042b,
  6072. 0x042f,
  6073. },
  6074. {
  6075. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6076. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6077. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6078. 0x0429,
  6079. 0x042d,
  6080. },
  6081. {
  6082. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6083. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6084. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6085. 0x0427,
  6086. 0x042b,
  6087. },
  6088. {
  6089. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6090. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6091. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6092. 0x0424,
  6093. 0x0429,
  6094. },
  6095. {
  6096. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6097. 0x04, 0x00, 0x04, 0x00, 0x11, 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x11,
  6098. 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6099. 0x041f,
  6100. 0x0424}
  6101. };
  6102. static const struct chan_info_nphy_radio2057_rev5
  6103. chan_info_nphyrev8_2057_rev5[] = {
  6104. {
  6105. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6106. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6107. 0x043a, 0x043f, 0x0443},
  6108. {
  6109. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6110. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6111. 0x0438, 0x043d, 0x0441},
  6112. {
  6113. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6114. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6115. 0x0436, 0x043a, 0x043f},
  6116. {
  6117. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6118. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6119. 0x0434, 0x0438, 0x043d},
  6120. {
  6121. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6122. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6123. 0x0431, 0x0436, 0x043a},
  6124. {
  6125. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6126. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6127. 0x042f, 0x0434, 0x0438},
  6128. {
  6129. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6130. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6131. 0x042d, 0x0431, 0x0436},
  6132. {
  6133. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6134. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6135. 0x042b, 0x042f, 0x0434},
  6136. {
  6137. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6138. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6139. 0x0429, 0x042d, 0x0431},
  6140. {
  6141. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6142. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6143. 0x0427, 0x042b, 0x042f},
  6144. {
  6145. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6146. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6147. 0x0424, 0x0429, 0x042d},
  6148. {
  6149. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6150. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6151. 0x0422, 0x0427, 0x042b},
  6152. {
  6153. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6154. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6155. 0x0420, 0x0424, 0x0429},
  6156. {
  6157. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6158. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6159. 0x041b, 0x041f, 0x0424}
  6160. };
  6161. static const struct chan_info_nphy_radio2057_rev5
  6162. chan_info_nphyrev9_2057_rev5v1[] = {
  6163. {
  6164. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6165. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6166. 0x043a, 0x043f, 0x0443},
  6167. {
  6168. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6169. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6170. 0x0438, 0x043d, 0x0441},
  6171. {
  6172. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6173. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6174. 0x0436, 0x043a, 0x043f},
  6175. {
  6176. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6177. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6178. 0x0434, 0x0438, 0x043d},
  6179. {
  6180. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6181. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6182. 0x0431, 0x0436, 0x043a},
  6183. {
  6184. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6185. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6186. 0x042f, 0x0434, 0x0438},
  6187. {
  6188. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6189. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6190. 0x042d, 0x0431, 0x0436},
  6191. {
  6192. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6193. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6194. 0x042b, 0x042f, 0x0434},
  6195. {
  6196. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6197. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6198. 0x0429, 0x042d, 0x0431},
  6199. {
  6200. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6201. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6202. 0x0427, 0x042b, 0x042f},
  6203. {
  6204. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6205. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6206. 0x0424, 0x0429, 0x042d},
  6207. {
  6208. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6209. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6210. 0x0422, 0x0427, 0x042b},
  6211. {
  6212. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6213. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6214. 0x0420, 0x0424, 0x0429},
  6215. {
  6216. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6217. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6218. 0x041b, 0x041f, 0x0424}
  6219. };
  6220. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev7[] = {
  6221. {
  6222. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  6223. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6224. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  6225. 0x0215,
  6226. 0x0216},
  6227. {
  6228. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6229. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6230. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6231. 0x0214,
  6232. 0x0215},
  6233. {
  6234. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6235. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6236. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6237. 0x0213,
  6238. 0x0214},
  6239. {
  6240. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6241. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6242. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6243. 0x0212,
  6244. 0x0213},
  6245. {
  6246. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6247. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6248. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6249. 0x0211,
  6250. 0x0212},
  6251. {
  6252. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6253. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6254. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6255. 0x020f,
  6256. 0x0211},
  6257. {
  6258. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6259. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6260. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6261. 0x020e,
  6262. 0x020f},
  6263. {
  6264. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6265. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6266. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  6267. 0x020d,
  6268. 0x020e},
  6269. {
  6270. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  6271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6272. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  6273. 0x020c,
  6274. 0x020d},
  6275. {
  6276. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  6277. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6278. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  6279. 0x020b,
  6280. 0x020c},
  6281. {
  6282. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  6283. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6284. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  6285. 0x020a,
  6286. 0x020b},
  6287. {
  6288. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  6289. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6290. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  6291. 0x0209,
  6292. 0x020a},
  6293. {
  6294. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  6295. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6296. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  6297. 0x0208,
  6298. 0x0209},
  6299. {
  6300. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  6301. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6302. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  6303. 0x0207,
  6304. 0x0208},
  6305. {
  6306. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  6307. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6308. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  6309. 0x0206,
  6310. 0x0207},
  6311. {
  6312. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  6313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6314. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  6315. 0x0205,
  6316. 0x0206},
  6317. {
  6318. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  6319. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6320. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  6321. 0x0204,
  6322. 0x0205},
  6323. {
  6324. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  6325. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6326. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  6327. 0x0203,
  6328. 0x0204},
  6329. {
  6330. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  6331. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6332. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  6333. 0x0202,
  6334. 0x0203},
  6335. {
  6336. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  6337. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6338. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  6339. 0x0201,
  6340. 0x0202},
  6341. {
  6342. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  6343. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6344. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  6345. 0x0200,
  6346. 0x0201},
  6347. {
  6348. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  6349. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6350. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  6351. 0x01ff,
  6352. 0x0200},
  6353. {
  6354. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  6355. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6356. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  6357. 0x01fe,
  6358. 0x01ff},
  6359. {
  6360. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  6361. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6362. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  6363. 0x01fc,
  6364. 0x01fd},
  6365. {
  6366. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  6367. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6368. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  6369. 0x01fb,
  6370. 0x01fc},
  6371. {
  6372. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  6373. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6374. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  6375. 0x01fa,
  6376. 0x01fb},
  6377. {
  6378. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  6379. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6380. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  6381. 0x01f9,
  6382. 0x01fa},
  6383. {
  6384. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  6385. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6386. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  6387. 0x01f8,
  6388. 0x01f9},
  6389. {
  6390. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  6391. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6392. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  6393. 0x01f7,
  6394. 0x01f8},
  6395. {
  6396. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  6397. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6398. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  6399. 0x01f6,
  6400. 0x01f7},
  6401. {
  6402. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  6403. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6404. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  6405. 0x01f5,
  6406. 0x01f6},
  6407. {
  6408. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  6409. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6410. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  6411. 0x01f4,
  6412. 0x01f5},
  6413. {
  6414. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  6415. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6416. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  6417. 0x01f3,
  6418. 0x01f4},
  6419. {
  6420. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  6421. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6422. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  6423. 0x01f2,
  6424. 0x01f3},
  6425. {
  6426. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  6427. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6428. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  6429. 0x01f1,
  6430. 0x01f2},
  6431. {
  6432. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  6433. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6434. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  6435. 0x01f0,
  6436. 0x01f1},
  6437. {
  6438. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  6439. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6440. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  6441. 0x01f0,
  6442. 0x01f0},
  6443. {
  6444. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  6445. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6446. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  6447. 0x01ef,
  6448. 0x01f0},
  6449. {
  6450. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  6451. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6452. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  6453. 0x01ee,
  6454. 0x01ef},
  6455. {
  6456. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  6457. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6458. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  6459. 0x01ed,
  6460. 0x01ee},
  6461. {
  6462. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  6463. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6464. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  6465. 0x01ec,
  6466. 0x01ed},
  6467. {
  6468. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  6469. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6470. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  6471. 0x01eb,
  6472. 0x01ec},
  6473. {
  6474. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  6475. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6476. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  6477. 0x01ea,
  6478. 0x01eb},
  6479. {
  6480. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  6481. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6482. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  6483. 0x01e9,
  6484. 0x01ea},
  6485. {
  6486. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  6487. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6488. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  6489. 0x01e8,
  6490. 0x01e9},
  6491. {
  6492. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  6493. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6494. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  6495. 0x01e7,
  6496. 0x01e8},
  6497. {
  6498. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  6499. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6500. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  6501. 0x01e6,
  6502. 0x01e7},
  6503. {
  6504. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  6505. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6506. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  6507. 0x01e5,
  6508. 0x01e6},
  6509. {
  6510. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  6511. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6512. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  6513. 0x01e5,
  6514. 0x01e5},
  6515. {
  6516. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  6517. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6518. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  6519. 0x01e4,
  6520. 0x01e5},
  6521. {
  6522. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  6523. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6524. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  6525. 0x01e3,
  6526. 0x01e4},
  6527. {
  6528. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  6529. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6530. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  6531. 0x01e2,
  6532. 0x01e3},
  6533. {
  6534. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  6535. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6536. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  6537. 0x01e1,
  6538. 0x01e2},
  6539. {
  6540. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  6541. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6542. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  6543. 0x01e0,
  6544. 0x01e1},
  6545. {
  6546. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  6547. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6548. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  6549. 0x01df,
  6550. 0x01e0},
  6551. {
  6552. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  6553. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6554. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  6555. 0x01de,
  6556. 0x01df},
  6557. {
  6558. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  6559. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6560. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  6561. 0x01dd,
  6562. 0x01de},
  6563. {
  6564. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  6565. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6566. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  6567. 0x01dd,
  6568. 0x01dd},
  6569. {
  6570. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  6571. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6572. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  6573. 0x01dc,
  6574. 0x01dd},
  6575. {
  6576. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  6577. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6578. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  6579. 0x01db,
  6580. 0x01dc},
  6581. {
  6582. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  6583. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6584. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  6585. 0x01da,
  6586. 0x01db},
  6587. {
  6588. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  6589. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6590. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  6591. 0x01d9,
  6592. 0x01da},
  6593. {
  6594. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  6595. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6596. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  6597. 0x01d8,
  6598. 0x01d9},
  6599. {
  6600. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  6601. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6602. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  6603. 0x01d7,
  6604. 0x01d8},
  6605. {
  6606. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  6607. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6608. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  6609. 0x01d7,
  6610. 0x01d7},
  6611. {
  6612. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  6613. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6614. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  6615. 0x01d6,
  6616. 0x01d7},
  6617. {
  6618. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  6619. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6620. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  6621. 0x01d5,
  6622. 0x01d6},
  6623. {
  6624. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  6625. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6626. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  6627. 0x01d4,
  6628. 0x01d5},
  6629. {
  6630. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  6631. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6632. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  6633. 0x01d3,
  6634. 0x01d4},
  6635. {
  6636. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  6637. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6638. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  6639. 0x01d2,
  6640. 0x01d3},
  6641. {
  6642. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  6643. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6644. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  6645. 0x01d2,
  6646. 0x01d2},
  6647. {
  6648. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  6649. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6650. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  6651. 0x01d1,
  6652. 0x01d2},
  6653. {
  6654. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  6655. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6656. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  6657. 0x01d0,
  6658. 0x01d1},
  6659. {
  6660. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  6661. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6662. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  6663. 0x01cf,
  6664. 0x01d0},
  6665. {
  6666. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  6667. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6668. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  6669. 0x01ce,
  6670. 0x01cf},
  6671. {
  6672. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  6673. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6674. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  6675. 0x01ce,
  6676. 0x01ce},
  6677. {
  6678. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  6679. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6680. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  6681. 0x01cd,
  6682. 0x01ce},
  6683. {
  6684. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  6685. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6686. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  6687. 0x01cc,
  6688. 0x01cd},
  6689. {
  6690. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  6691. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6692. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  6693. 0x01cb,
  6694. 0x01cc},
  6695. {
  6696. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  6697. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6698. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  6699. 0x01ca,
  6700. 0x01cb},
  6701. {
  6702. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  6703. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6704. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  6705. 0x01ca,
  6706. 0x01cb},
  6707. {
  6708. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  6709. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6710. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  6711. 0x01c9,
  6712. 0x01ca},
  6713. {
  6714. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  6715. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6716. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  6717. 0x01c9,
  6718. 0x01ca},
  6719. {
  6720. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  6721. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6722. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  6723. 0x01c9,
  6724. 0x01c9},
  6725. {
  6726. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  6727. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6728. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  6729. 0x01c8,
  6730. 0x01c9},
  6731. {
  6732. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  6733. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6734. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  6735. 0x01c8,
  6736. 0x01c9},
  6737. {
  6738. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  6739. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6740. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  6741. 0x01c8,
  6742. 0x01c8},
  6743. {
  6744. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  6745. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6746. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  6747. 0x01c7,
  6748. 0x01c8},
  6749. {
  6750. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  6751. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6752. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  6753. 0x01c7,
  6754. 0x01c8},
  6755. {
  6756. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  6757. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6758. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  6759. 0x01c6,
  6760. 0x01c7},
  6761. {
  6762. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  6763. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6764. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  6765. 0x01c6,
  6766. 0x01c7},
  6767. {
  6768. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  6769. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6770. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  6771. 0x01c6,
  6772. 0x01c6},
  6773. {
  6774. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  6775. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6776. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  6777. 0x01c5,
  6778. 0x01c6},
  6779. {
  6780. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  6781. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6782. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  6783. 0x01c5,
  6784. 0x01c6},
  6785. {
  6786. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  6787. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6788. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  6789. 0x01c4,
  6790. 0x01c5},
  6791. {
  6792. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  6793. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  6794. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  6795. 0x01c4,
  6796. 0x01c5},
  6797. {
  6798. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  6799. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6800. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  6801. 0x01c4,
  6802. 0x01c4},
  6803. {
  6804. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  6805. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6806. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  6807. 0x01c3,
  6808. 0x01c4},
  6809. {
  6810. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  6811. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6812. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  6813. 0x01c3,
  6814. 0x01c4},
  6815. {
  6816. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  6817. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6818. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  6819. 0x01c2,
  6820. 0x01c3},
  6821. {
  6822. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  6823. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6824. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  6825. 0x01c2,
  6826. 0x01c3},
  6827. {
  6828. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  6829. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6830. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  6831. 0x01c2,
  6832. 0x01c2},
  6833. {
  6834. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  6835. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6836. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  6837. 0x01c1,
  6838. 0x01c2},
  6839. {
  6840. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  6841. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6842. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  6843. 0x01c0,
  6844. 0x01c1},
  6845. {
  6846. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  6847. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6848. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  6849. 0x01bf,
  6850. 0x01c0},
  6851. {
  6852. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  6853. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6854. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  6855. 0x01bf,
  6856. 0x01bf},
  6857. {
  6858. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  6859. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6860. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  6861. 0x01be,
  6862. 0x01bf},
  6863. {
  6864. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  6865. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6866. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  6867. 0x01bd,
  6868. 0x01be},
  6869. {
  6870. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  6871. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6872. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6873. 0x01bc,
  6874. 0x01bd},
  6875. {
  6876. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6877. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6878. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6879. 0x043f,
  6880. 0x0443},
  6881. {
  6882. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6883. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6884. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6885. 0x043d,
  6886. 0x0441},
  6887. {
  6888. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6889. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6890. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6891. 0x043a,
  6892. 0x043f},
  6893. {
  6894. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6895. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6896. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6897. 0x0438,
  6898. 0x043d},
  6899. {
  6900. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6901. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6902. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6903. 0x0436,
  6904. 0x043a},
  6905. {
  6906. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6907. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6908. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6909. 0x0434,
  6910. 0x0438},
  6911. {
  6912. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6913. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6914. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6915. 0x0431,
  6916. 0x0436},
  6917. {
  6918. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6919. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6920. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6921. 0x042f,
  6922. 0x0434},
  6923. {
  6924. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6925. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6926. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6927. 0x042d,
  6928. 0x0431},
  6929. {
  6930. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6931. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6932. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6933. 0x042b,
  6934. 0x042f},
  6935. {
  6936. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6937. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6938. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6939. 0x0429,
  6940. 0x042d},
  6941. {
  6942. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6943. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6944. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6945. 0x0427,
  6946. 0x042b},
  6947. {
  6948. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6949. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6950. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6951. 0x0424,
  6952. 0x0429},
  6953. {
  6954. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6955. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  6956. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6957. 0x041f,
  6958. 0x0424}
  6959. };
  6960. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev8[] = {
  6961. {
  6962. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6963. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6964. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6965. 0x0214,
  6966. 0x0215},
  6967. {
  6968. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6969. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6970. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6971. 0x0213,
  6972. 0x0214},
  6973. {
  6974. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6975. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6976. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6977. 0x0212,
  6978. 0x0213},
  6979. {
  6980. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6981. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6982. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6983. 0x0211,
  6984. 0x0212},
  6985. {
  6986. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6987. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6988. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6989. 0x020f,
  6990. 0x0211},
  6991. {
  6992. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6993. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6994. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6995. 0x020e,
  6996. 0x020f},
  6997. {
  6998. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6999. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  7000. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  7001. 0x020d,
  7002. 0x020e},
  7003. {
  7004. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  7005. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7006. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  7007. 0x020c,
  7008. 0x020d},
  7009. {
  7010. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  7011. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7012. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  7013. 0x020b,
  7014. 0x020c},
  7015. {
  7016. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  7017. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7018. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  7019. 0x020a,
  7020. 0x020b},
  7021. {
  7022. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  7023. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7024. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  7025. 0x0209,
  7026. 0x020a},
  7027. {
  7028. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  7029. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7030. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  7031. 0x0208,
  7032. 0x0209},
  7033. {
  7034. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  7035. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7036. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  7037. 0x0207,
  7038. 0x0208},
  7039. {
  7040. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  7041. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7042. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  7043. 0x0206,
  7044. 0x0207},
  7045. {
  7046. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  7047. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7048. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  7049. 0x0205,
  7050. 0x0206},
  7051. {
  7052. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  7053. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7054. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  7055. 0x0204,
  7056. 0x0205},
  7057. {
  7058. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  7059. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7060. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  7061. 0x0203,
  7062. 0x0204},
  7063. {
  7064. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  7065. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7066. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  7067. 0x0202,
  7068. 0x0203},
  7069. {
  7070. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  7071. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7072. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  7073. 0x0201,
  7074. 0x0202},
  7075. {
  7076. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  7077. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7078. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  7079. 0x0200,
  7080. 0x0201},
  7081. {
  7082. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  7083. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7084. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  7085. 0x01ff,
  7086. 0x0200},
  7087. {
  7088. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  7089. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7090. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  7091. 0x01fe,
  7092. 0x01ff},
  7093. {
  7094. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  7095. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7096. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  7097. 0x01fc,
  7098. 0x01fd},
  7099. {
  7100. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  7101. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7102. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  7103. 0x01fb,
  7104. 0x01fc},
  7105. {
  7106. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  7107. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7108. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  7109. 0x01fa,
  7110. 0x01fb},
  7111. {
  7112. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  7113. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7114. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  7115. 0x01f9,
  7116. 0x01fa},
  7117. {
  7118. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  7119. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7120. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  7121. 0x01f8,
  7122. 0x01f9},
  7123. {
  7124. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  7125. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7126. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  7127. 0x01f7,
  7128. 0x01f8},
  7129. {
  7130. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  7131. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7132. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  7133. 0x01f6,
  7134. 0x01f7},
  7135. {
  7136. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  7137. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7138. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  7139. 0x01f5,
  7140. 0x01f6},
  7141. {
  7142. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  7143. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7144. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  7145. 0x01f4,
  7146. 0x01f5},
  7147. {
  7148. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  7149. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7150. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  7151. 0x01f3,
  7152. 0x01f4},
  7153. {
  7154. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  7155. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7156. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  7157. 0x01f2,
  7158. 0x01f3},
  7159. {
  7160. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  7161. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7162. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  7163. 0x01f1,
  7164. 0x01f2},
  7165. {
  7166. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  7167. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7168. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  7169. 0x01f0,
  7170. 0x01f1},
  7171. {
  7172. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  7173. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7174. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  7175. 0x01f0,
  7176. 0x01f0},
  7177. {
  7178. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  7179. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7180. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  7181. 0x01ef,
  7182. 0x01f0},
  7183. {
  7184. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  7185. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7186. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  7187. 0x01ee,
  7188. 0x01ef},
  7189. {
  7190. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  7191. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7192. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  7193. 0x01ed,
  7194. 0x01ee},
  7195. {
  7196. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  7197. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7198. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  7199. 0x01ec,
  7200. 0x01ed},
  7201. {
  7202. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  7203. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7204. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  7205. 0x01eb,
  7206. 0x01ec},
  7207. {
  7208. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  7209. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7210. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  7211. 0x01ea,
  7212. 0x01eb},
  7213. {
  7214. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  7215. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7216. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  7217. 0x01e9,
  7218. 0x01ea},
  7219. {
  7220. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  7221. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7222. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  7223. 0x01e8,
  7224. 0x01e9},
  7225. {
  7226. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  7227. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7228. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  7229. 0x01e7,
  7230. 0x01e8},
  7231. {
  7232. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  7233. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7234. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  7235. 0x01e6,
  7236. 0x01e7},
  7237. {
  7238. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  7239. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7240. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  7241. 0x01e5,
  7242. 0x01e6},
  7243. {
  7244. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  7245. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7246. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  7247. 0x01e5,
  7248. 0x01e5},
  7249. {
  7250. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  7251. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7252. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  7253. 0x01e4,
  7254. 0x01e5},
  7255. {
  7256. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  7257. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7258. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  7259. 0x01e3,
  7260. 0x01e4},
  7261. {
  7262. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  7263. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7264. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  7265. 0x01e2,
  7266. 0x01e3},
  7267. {
  7268. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  7269. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7270. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  7271. 0x01e1,
  7272. 0x01e2},
  7273. {
  7274. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  7275. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7276. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  7277. 0x01e0,
  7278. 0x01e1},
  7279. {
  7280. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  7281. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7282. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  7283. 0x01df,
  7284. 0x01e0},
  7285. {
  7286. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  7287. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7288. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  7289. 0x01de,
  7290. 0x01df},
  7291. {
  7292. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  7293. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7294. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  7295. 0x01dd,
  7296. 0x01de},
  7297. {
  7298. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  7299. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7300. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  7301. 0x01dd,
  7302. 0x01dd},
  7303. {
  7304. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  7305. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7306. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  7307. 0x01dc,
  7308. 0x01dd},
  7309. {
  7310. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  7311. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7312. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  7313. 0x01db,
  7314. 0x01dc},
  7315. {
  7316. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  7317. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7318. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  7319. 0x01da,
  7320. 0x01db},
  7321. {
  7322. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  7323. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7324. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  7325. 0x01d9,
  7326. 0x01da},
  7327. {
  7328. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  7329. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7330. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  7331. 0x01d8,
  7332. 0x01d9},
  7333. {
  7334. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  7335. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7336. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  7337. 0x01d7,
  7338. 0x01d8},
  7339. {
  7340. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  7341. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7342. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  7343. 0x01d7,
  7344. 0x01d7},
  7345. {
  7346. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  7347. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7348. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  7349. 0x01d6,
  7350. 0x01d7},
  7351. {
  7352. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  7353. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7354. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  7355. 0x01d5,
  7356. 0x01d6},
  7357. {
  7358. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  7359. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7360. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  7361. 0x01d4,
  7362. 0x01d5},
  7363. {
  7364. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  7365. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7366. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  7367. 0x01d3,
  7368. 0x01d4},
  7369. {
  7370. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  7371. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7372. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  7373. 0x01d2,
  7374. 0x01d3},
  7375. {
  7376. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  7377. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7378. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  7379. 0x01d2,
  7380. 0x01d2},
  7381. {
  7382. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  7383. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7384. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  7385. 0x01d1,
  7386. 0x01d2},
  7387. {
  7388. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  7389. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7390. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  7391. 0x01d0,
  7392. 0x01d1},
  7393. {
  7394. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  7395. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7396. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  7397. 0x01cf,
  7398. 0x01d0},
  7399. {
  7400. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  7401. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7402. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  7403. 0x01ce,
  7404. 0x01cf},
  7405. {
  7406. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  7407. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7408. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  7409. 0x01ce,
  7410. 0x01ce},
  7411. {
  7412. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  7413. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7414. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  7415. 0x01cd,
  7416. 0x01ce},
  7417. {
  7418. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  7419. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7420. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  7421. 0x01cc,
  7422. 0x01cd},
  7423. {
  7424. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  7425. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7426. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  7427. 0x01cb,
  7428. 0x01cc},
  7429. {
  7430. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  7431. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7432. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  7433. 0x01ca,
  7434. 0x01cb},
  7435. {
  7436. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  7437. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7438. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  7439. 0x01ca,
  7440. 0x01cb},
  7441. {
  7442. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  7443. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7444. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  7445. 0x01c9,
  7446. 0x01ca},
  7447. {
  7448. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  7449. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7450. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  7451. 0x01c9,
  7452. 0x01ca},
  7453. {
  7454. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  7455. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7456. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  7457. 0x01c9,
  7458. 0x01c9},
  7459. {
  7460. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  7461. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7462. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  7463. 0x01c8,
  7464. 0x01c9},
  7465. {
  7466. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  7467. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7468. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  7469. 0x01c8,
  7470. 0x01c9},
  7471. {
  7472. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  7473. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7474. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  7475. 0x01c8,
  7476. 0x01c8},
  7477. {
  7478. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  7479. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7480. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  7481. 0x01c7,
  7482. 0x01c8},
  7483. {
  7484. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  7485. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7486. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  7487. 0x01c7,
  7488. 0x01c8},
  7489. {
  7490. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  7491. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7492. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  7493. 0x01c6,
  7494. 0x01c7},
  7495. {
  7496. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  7497. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7498. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  7499. 0x01c6,
  7500. 0x01c7},
  7501. {
  7502. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  7503. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7504. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  7505. 0x01c6,
  7506. 0x01c6},
  7507. {
  7508. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  7509. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7510. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  7511. 0x01c5,
  7512. 0x01c6},
  7513. {
  7514. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  7515. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7516. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  7517. 0x01c5,
  7518. 0x01c6},
  7519. {
  7520. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  7521. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7522. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  7523. 0x01c4,
  7524. 0x01c5},
  7525. {
  7526. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  7527. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  7528. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  7529. 0x01c4,
  7530. 0x01c5},
  7531. {
  7532. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  7533. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7534. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  7535. 0x01c4,
  7536. 0x01c4},
  7537. {
  7538. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  7539. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7540. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  7541. 0x01c3,
  7542. 0x01c4},
  7543. {
  7544. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  7545. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7546. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  7547. 0x01c3,
  7548. 0x01c4},
  7549. {
  7550. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  7551. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7552. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  7553. 0x01c2,
  7554. 0x01c3},
  7555. {
  7556. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  7557. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7558. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  7559. 0x01c2,
  7560. 0x01c3},
  7561. {
  7562. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  7563. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7564. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  7565. 0x01c2,
  7566. 0x01c2},
  7567. {
  7568. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  7569. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7570. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  7571. 0x01c1,
  7572. 0x01c2},
  7573. {
  7574. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  7575. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7576. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  7577. 0x01c0,
  7578. 0x01c1},
  7579. {
  7580. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  7581. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7582. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  7583. 0x01bf,
  7584. 0x01c0},
  7585. {
  7586. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  7587. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7588. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  7589. 0x01bf,
  7590. 0x01bf},
  7591. {
  7592. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  7593. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7594. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  7595. 0x01be,
  7596. 0x01bf},
  7597. {
  7598. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  7599. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7600. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  7601. 0x01bd,
  7602. 0x01be},
  7603. {
  7604. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  7605. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7606. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  7607. 0x01bc,
  7608. 0x01bd},
  7609. {
  7610. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  7611. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7612. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  7613. 0x043f,
  7614. 0x0443},
  7615. {
  7616. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  7617. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7618. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  7619. 0x043d,
  7620. 0x0441},
  7621. {
  7622. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  7623. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7624. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  7625. 0x043a,
  7626. 0x043f},
  7627. {
  7628. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  7629. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7630. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  7631. 0x0438,
  7632. 0x043d},
  7633. {
  7634. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  7635. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7636. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  7637. 0x0436,
  7638. 0x043a},
  7639. {
  7640. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  7641. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7642. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  7643. 0x0434,
  7644. 0x0438},
  7645. {
  7646. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  7647. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7648. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  7649. 0x0431,
  7650. 0x0436},
  7651. {
  7652. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  7653. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7654. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  7655. 0x042f,
  7656. 0x0434},
  7657. {
  7658. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  7659. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7660. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  7661. 0x042d,
  7662. 0x0431},
  7663. {
  7664. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  7665. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7666. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  7667. 0x042b,
  7668. 0x042f},
  7669. {
  7670. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  7671. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7672. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  7673. 0x0429,
  7674. 0x042d},
  7675. {
  7676. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  7677. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7678. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  7679. 0x0427,
  7680. 0x042b},
  7681. {
  7682. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  7683. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7684. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  7685. 0x0424,
  7686. 0x0429},
  7687. {
  7688. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  7689. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  7690. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  7691. 0x041f,
  7692. 0x0424}
  7693. };
  7694. static struct radio_regs regs_2055[] = {
  7695. {0x02, 0x80, 0x80, 0, 0},
  7696. {0x03, 0, 0, 0, 0},
  7697. {0x04, 0x27, 0x27, 0, 0},
  7698. {0x05, 0, 0, 0, 0},
  7699. {0x06, 0x27, 0x27, 0, 0},
  7700. {0x07, 0x7f, 0x7f, 1, 1},
  7701. {0x08, 0x7, 0x7, 1, 1},
  7702. {0x09, 0x7f, 0x7f, 1, 1},
  7703. {0x0A, 0x7, 0x7, 1, 1},
  7704. {0x0B, 0x15, 0x15, 0, 0},
  7705. {0x0C, 0x15, 0x15, 0, 0},
  7706. {0x0D, 0x4f, 0x4f, 1, 1},
  7707. {0x0E, 0x5, 0x5, 1, 1},
  7708. {0x0F, 0x4f, 0x4f, 1, 1},
  7709. {0x10, 0x5, 0x5, 1, 1},
  7710. {0x11, 0xd0, 0xd0, 0, 0},
  7711. {0x12, 0x2, 0x2, 0, 0},
  7712. {0x13, 0, 0, 0, 0},
  7713. {0x14, 0x40, 0x40, 0, 0},
  7714. {0x15, 0, 0, 0, 0},
  7715. {0x16, 0, 0, 0, 0},
  7716. {0x17, 0, 0, 0, 0},
  7717. {0x18, 0, 0, 0, 0},
  7718. {0x19, 0, 0, 0, 0},
  7719. {0x1A, 0, 0, 0, 0},
  7720. {0x1B, 0, 0, 0, 0},
  7721. {0x1C, 0, 0, 0, 0},
  7722. {0x1D, 0xc0, 0xc0, 0, 0},
  7723. {0x1E, 0xff, 0xff, 0, 0},
  7724. {0x1F, 0xc0, 0xc0, 0, 0},
  7725. {0x20, 0xff, 0xff, 0, 0},
  7726. {0x21, 0xc0, 0xc0, 0, 0},
  7727. {0x22, 0, 0, 0, 0},
  7728. {0x23, 0x2c, 0x2c, 0, 0},
  7729. {0x24, 0, 0, 0, 0},
  7730. {0x25, 0, 0, 0, 0},
  7731. {0x26, 0, 0, 0, 0},
  7732. {0x27, 0, 0, 0, 0},
  7733. {0x28, 0, 0, 0, 0},
  7734. {0x29, 0, 0, 0, 0},
  7735. {0x2A, 0, 0, 0, 0},
  7736. {0x2B, 0, 0, 0, 0},
  7737. {0x2C, 0, 0, 0, 0},
  7738. {0x2D, 0xa4, 0xa4, 0, 0},
  7739. {0x2E, 0x38, 0x38, 0, 0},
  7740. {0x2F, 0, 0, 0, 0},
  7741. {0x30, 0x4, 0x4, 1, 1},
  7742. {0x31, 0, 0, 0, 0},
  7743. {0x32, 0xa, 0xa, 0, 0},
  7744. {0x33, 0x87, 0x87, 0, 0},
  7745. {0x34, 0x9, 0x9, 0, 0},
  7746. {0x35, 0x70, 0x70, 0, 0},
  7747. {0x36, 0x11, 0x11, 0, 0},
  7748. {0x37, 0x18, 0x18, 1, 1},
  7749. {0x38, 0x6, 0x6, 0, 0},
  7750. {0x39, 0x4, 0x4, 1, 1},
  7751. {0x3A, 0x6, 0x6, 0, 0},
  7752. {0x3B, 0x9e, 0x9e, 0, 0},
  7753. {0x3C, 0x9, 0x9, 0, 0},
  7754. {0x3D, 0xc8, 0xc8, 1, 1},
  7755. {0x3E, 0x88, 0x88, 0, 0},
  7756. {0x3F, 0, 0, 0, 0},
  7757. {0x40, 0, 0, 0, 0},
  7758. {0x41, 0, 0, 0, 0},
  7759. {0x42, 0x1, 0x1, 0, 0},
  7760. {0x43, 0x2, 0x2, 0, 0},
  7761. {0x44, 0x96, 0x96, 0, 0},
  7762. {0x45, 0x3e, 0x3e, 0, 0},
  7763. {0x46, 0x3e, 0x3e, 0, 0},
  7764. {0x47, 0x13, 0x13, 0, 0},
  7765. {0x48, 0x2, 0x2, 0, 0},
  7766. {0x49, 0x15, 0x15, 0, 0},
  7767. {0x4A, 0x7, 0x7, 0, 0},
  7768. {0x4B, 0, 0, 0, 0},
  7769. {0x4C, 0, 0, 0, 0},
  7770. {0x4D, 0, 0, 0, 0},
  7771. {0x4E, 0, 0, 0, 0},
  7772. {0x4F, 0, 0, 0, 0},
  7773. {0x50, 0x8, 0x8, 0, 0},
  7774. {0x51, 0x8, 0x8, 0, 0},
  7775. {0x52, 0x6, 0x6, 0, 0},
  7776. {0x53, 0x84, 0x84, 1, 1},
  7777. {0x54, 0xc3, 0xc3, 0, 0},
  7778. {0x55, 0x8f, 0x8f, 0, 0},
  7779. {0x56, 0xff, 0xff, 0, 0},
  7780. {0x57, 0xff, 0xff, 0, 0},
  7781. {0x58, 0x88, 0x88, 0, 0},
  7782. {0x59, 0x88, 0x88, 0, 0},
  7783. {0x5A, 0, 0, 0, 0},
  7784. {0x5B, 0xcc, 0xcc, 0, 0},
  7785. {0x5C, 0x6, 0x6, 0, 0},
  7786. {0x5D, 0x80, 0x80, 0, 0},
  7787. {0x5E, 0x80, 0x80, 0, 0},
  7788. {0x5F, 0xf8, 0xf8, 0, 0},
  7789. {0x60, 0x88, 0x88, 0, 0},
  7790. {0x61, 0x88, 0x88, 0, 0},
  7791. {0x62, 0x88, 0x8, 1, 1},
  7792. {0x63, 0x88, 0x88, 0, 0},
  7793. {0x64, 0, 0, 0, 0},
  7794. {0x65, 0x1, 0x1, 1, 1},
  7795. {0x66, 0x8a, 0x8a, 0, 0},
  7796. {0x67, 0x8, 0x8, 0, 0},
  7797. {0x68, 0x83, 0x83, 0, 0},
  7798. {0x69, 0x6, 0x6, 0, 0},
  7799. {0x6A, 0xa0, 0xa0, 0, 0},
  7800. {0x6B, 0xa, 0xa, 0, 0},
  7801. {0x6C, 0x87, 0x87, 1, 1},
  7802. {0x6D, 0x2a, 0x2a, 0, 0},
  7803. {0x6E, 0x2a, 0x2a, 0, 0},
  7804. {0x6F, 0x2a, 0x2a, 0, 0},
  7805. {0x70, 0x2a, 0x2a, 0, 0},
  7806. {0x71, 0x18, 0x18, 0, 0},
  7807. {0x72, 0x6a, 0x6a, 1, 1},
  7808. {0x73, 0xab, 0xab, 1, 1},
  7809. {0x74, 0x13, 0x13, 1, 1},
  7810. {0x75, 0xc1, 0xc1, 1, 1},
  7811. {0x76, 0xaa, 0xaa, 1, 1},
  7812. {0x77, 0x87, 0x87, 1, 1},
  7813. {0x78, 0, 0, 0, 0},
  7814. {0x79, 0x6, 0x6, 0, 0},
  7815. {0x7A, 0x7, 0x7, 0, 0},
  7816. {0x7B, 0x7, 0x7, 0, 0},
  7817. {0x7C, 0x15, 0x15, 0, 0},
  7818. {0x7D, 0x55, 0x55, 0, 0},
  7819. {0x7E, 0x97, 0x97, 1, 1},
  7820. {0x7F, 0x8, 0x8, 0, 0},
  7821. {0x80, 0x14, 0x14, 1, 1},
  7822. {0x81, 0x33, 0x33, 0, 0},
  7823. {0x82, 0x88, 0x88, 0, 0},
  7824. {0x83, 0x6, 0x6, 0, 0},
  7825. {0x84, 0x3, 0x3, 1, 1},
  7826. {0x85, 0xa, 0xa, 0, 0},
  7827. {0x86, 0x3, 0x3, 1, 1},
  7828. {0x87, 0x2a, 0x2a, 0, 0},
  7829. {0x88, 0xa4, 0xa4, 0, 0},
  7830. {0x89, 0x18, 0x18, 0, 0},
  7831. {0x8A, 0x28, 0x28, 0, 0},
  7832. {0x8B, 0, 0, 0, 0},
  7833. {0x8C, 0x4a, 0x4a, 0, 0},
  7834. {0x8D, 0, 0, 0, 0},
  7835. {0x8E, 0xf8, 0xf8, 0, 0},
  7836. {0x8F, 0x88, 0x88, 0, 0},
  7837. {0x90, 0x88, 0x88, 0, 0},
  7838. {0x91, 0x88, 0x8, 1, 1},
  7839. {0x92, 0x88, 0x88, 0, 0},
  7840. {0x93, 0, 0, 0, 0},
  7841. {0x94, 0x1, 0x1, 1, 1},
  7842. {0x95, 0x8a, 0x8a, 0, 0},
  7843. {0x96, 0x8, 0x8, 0, 0},
  7844. {0x97, 0x83, 0x83, 0, 0},
  7845. {0x98, 0x6, 0x6, 0, 0},
  7846. {0x99, 0xa0, 0xa0, 0, 0},
  7847. {0x9A, 0xa, 0xa, 0, 0},
  7848. {0x9B, 0x87, 0x87, 1, 1},
  7849. {0x9C, 0x2a, 0x2a, 0, 0},
  7850. {0x9D, 0x2a, 0x2a, 0, 0},
  7851. {0x9E, 0x2a, 0x2a, 0, 0},
  7852. {0x9F, 0x2a, 0x2a, 0, 0},
  7853. {0xA0, 0x18, 0x18, 0, 0},
  7854. {0xA1, 0x6a, 0x6a, 1, 1},
  7855. {0xA2, 0xab, 0xab, 1, 1},
  7856. {0xA3, 0x13, 0x13, 1, 1},
  7857. {0xA4, 0xc1, 0xc1, 1, 1},
  7858. {0xA5, 0xaa, 0xaa, 1, 1},
  7859. {0xA6, 0x87, 0x87, 1, 1},
  7860. {0xA7, 0, 0, 0, 0},
  7861. {0xA8, 0x6, 0x6, 0, 0},
  7862. {0xA9, 0x7, 0x7, 0, 0},
  7863. {0xAA, 0x7, 0x7, 0, 0},
  7864. {0xAB, 0x15, 0x15, 0, 0},
  7865. {0xAC, 0x55, 0x55, 0, 0},
  7866. {0xAD, 0x97, 0x97, 1, 1},
  7867. {0xAE, 0x8, 0x8, 0, 0},
  7868. {0xAF, 0x14, 0x14, 1, 1},
  7869. {0xB0, 0x33, 0x33, 0, 0},
  7870. {0xB1, 0x88, 0x88, 0, 0},
  7871. {0xB2, 0x6, 0x6, 0, 0},
  7872. {0xB3, 0x3, 0x3, 1, 1},
  7873. {0xB4, 0xa, 0xa, 0, 0},
  7874. {0xB5, 0x3, 0x3, 1, 1},
  7875. {0xB6, 0x2a, 0x2a, 0, 0},
  7876. {0xB7, 0xa4, 0xa4, 0, 0},
  7877. {0xB8, 0x18, 0x18, 0, 0},
  7878. {0xB9, 0x28, 0x28, 0, 0},
  7879. {0xBA, 0, 0, 0, 0},
  7880. {0xBB, 0x4a, 0x4a, 0, 0},
  7881. {0xBC, 0, 0, 0, 0},
  7882. {0xBD, 0x71, 0x71, 0, 0},
  7883. {0xBE, 0x72, 0x72, 0, 0},
  7884. {0xBF, 0x73, 0x73, 0, 0},
  7885. {0xC0, 0x74, 0x74, 0, 0},
  7886. {0xC1, 0x75, 0x75, 0, 0},
  7887. {0xC2, 0x76, 0x76, 0, 0},
  7888. {0xC3, 0x77, 0x77, 0, 0},
  7889. {0xC4, 0x78, 0x78, 0, 0},
  7890. {0xC5, 0x79, 0x79, 0, 0},
  7891. {0xC6, 0x7a, 0x7a, 0, 0},
  7892. {0xC7, 0, 0, 0, 0},
  7893. {0xC8, 0, 0, 0, 0},
  7894. {0xC9, 0, 0, 0, 0},
  7895. {0xCA, 0, 0, 0, 0},
  7896. {0xCB, 0, 0, 0, 0},
  7897. {0xCC, 0, 0, 0, 0},
  7898. {0xCD, 0, 0, 0, 0},
  7899. {0xCE, 0x6, 0x6, 0, 0},
  7900. {0xCF, 0, 0, 0, 0},
  7901. {0xD0, 0, 0, 0, 0},
  7902. {0xD1, 0x18, 0x18, 0, 0},
  7903. {0xD2, 0x88, 0x88, 0, 0},
  7904. {0xD3, 0, 0, 0, 0},
  7905. {0xD4, 0, 0, 0, 0},
  7906. {0xD5, 0, 0, 0, 0},
  7907. {0xD6, 0, 0, 0, 0},
  7908. {0xD7, 0, 0, 0, 0},
  7909. {0xD8, 0, 0, 0, 0},
  7910. {0xD9, 0, 0, 0, 0},
  7911. {0xDA, 0x6, 0x6, 0, 0},
  7912. {0xDB, 0, 0, 0, 0},
  7913. {0xDC, 0, 0, 0, 0},
  7914. {0xDD, 0x18, 0x18, 0, 0},
  7915. {0xDE, 0x88, 0x88, 0, 0},
  7916. {0xDF, 0, 0, 0, 0},
  7917. {0xE0, 0, 0, 0, 0},
  7918. {0xE1, 0, 0, 0, 0},
  7919. {0xE2, 0, 0, 0, 0},
  7920. {0xFFFF, 0, 0, 0, 0},
  7921. };
  7922. static struct radio_regs regs_SYN_2056[] = {
  7923. {0x02, 0, 0, 0, 0},
  7924. {0x03, 0, 0, 0, 0},
  7925. {0x04, 0, 0, 0, 0},
  7926. {0x05, 0, 0, 0, 0},
  7927. {0x06, 0, 0, 0, 0},
  7928. {0x07, 0, 0, 0, 0},
  7929. {0x08, 0, 0, 0, 0},
  7930. {0x09, 0x1, 0x1, 0, 0},
  7931. {0x0A, 0, 0, 0, 0},
  7932. {0x0B, 0, 0, 0, 0},
  7933. {0x0C, 0, 0, 0, 0},
  7934. {0x0D, 0, 0, 0, 0},
  7935. {0x0E, 0, 0, 0, 0},
  7936. {0x0F, 0, 0, 0, 0},
  7937. {0x10, 0, 0, 0, 0},
  7938. {0x11, 0, 0, 0, 0},
  7939. {0x12, 0, 0, 0, 0},
  7940. {0x13, 0, 0, 0, 0},
  7941. {0x14, 0, 0, 0, 0},
  7942. {0x15, 0, 0, 0, 0},
  7943. {0x16, 0, 0, 0, 0},
  7944. {0x17, 0, 0, 0, 0},
  7945. {0x18, 0, 0, 0, 0},
  7946. {0x19, 0, 0, 0, 0},
  7947. {0x1A, 0, 0, 0, 0},
  7948. {0x1B, 0, 0, 0, 0},
  7949. {0x1C, 0, 0, 0, 0},
  7950. {0x1D, 0, 0, 0, 0},
  7951. {0x1E, 0, 0, 0, 0},
  7952. {0x1F, 0, 0, 0, 0},
  7953. {0x20, 0, 0, 0, 0},
  7954. {0x21, 0, 0, 0, 0},
  7955. {0x22, 0x60, 0x60, 0, 0},
  7956. {0x23, 0x6, 0x6, 0, 0},
  7957. {0x24, 0xc, 0xc, 0, 0},
  7958. {0x25, 0, 0, 0, 0},
  7959. {0x26, 0, 0, 0, 0},
  7960. {0x27, 0, 0, 0, 0},
  7961. {0x28, 0x1, 0x1, 0, 0},
  7962. {0x29, 0, 0, 0, 0},
  7963. {0x2A, 0, 0, 0, 0},
  7964. {0x2B, 0, 0, 0, 0},
  7965. {0x2C, 0, 0, 0, 0},
  7966. {0x2D, 0, 0, 0, 0},
  7967. {0x2E, 0xd, 0xd, 0, 0},
  7968. {0x2F, 0x1f, 0x1f, 0, 0},
  7969. {0x30, 0x15, 0x15, 0, 0},
  7970. {0x31, 0xf, 0xf, 0, 0},
  7971. {0x32, 0, 0, 0, 0},
  7972. {0x33, 0, 0, 0, 0},
  7973. {0x34, 0, 0, 0, 0},
  7974. {0x35, 0, 0, 0, 0},
  7975. {0x36, 0, 0, 0, 0},
  7976. {0x37, 0, 0, 0, 0},
  7977. {0x38, 0, 0, 0, 0},
  7978. {0x39, 0, 0, 0, 0},
  7979. {0x3A, 0, 0, 0, 0},
  7980. {0x3B, 0, 0, 0, 0},
  7981. {0x3C, 0x13, 0x13, 0, 0},
  7982. {0x3D, 0xf, 0xf, 0, 0},
  7983. {0x3E, 0x18, 0x18, 0, 0},
  7984. {0x3F, 0, 0, 0, 0},
  7985. {0x40, 0, 0, 0, 0},
  7986. {0x41, 0x20, 0x20, 0, 0},
  7987. {0x42, 0x20, 0x20, 0, 0},
  7988. {0x43, 0, 0, 0, 0},
  7989. {0x44, 0x77, 0x77, 0, 0},
  7990. {0x45, 0x7, 0x7, 0, 0},
  7991. {0x46, 0x1, 0x1, 0, 0},
  7992. {0x47, 0x4, 0x4, 0, 0},
  7993. {0x48, 0xf, 0xf, 0, 0},
  7994. {0x49, 0x30, 0x30, 0, 0},
  7995. {0x4A, 0x32, 0x32, 0, 0},
  7996. {0x4B, 0xd, 0xd, 0, 0},
  7997. {0x4C, 0xd, 0xd, 0, 0},
  7998. {0x4D, 0x4, 0x4, 0, 0},
  7999. {0x4E, 0x6, 0x6, 0, 0},
  8000. {0x4F, 0x1, 0x1, 0, 0},
  8001. {0x50, 0x1c, 0x1c, 0, 0},
  8002. {0x51, 0x2, 0x2, 0, 0},
  8003. {0x52, 0x2, 0x2, 0, 0},
  8004. {0x53, 0xf7, 0xf7, 1, 1},
  8005. {0x54, 0xb4, 0xb4, 0, 0},
  8006. {0x55, 0xd2, 0xd2, 0, 0},
  8007. {0x56, 0, 0, 0, 0},
  8008. {0x57, 0, 0, 0, 0},
  8009. {0x58, 0x4, 0x4, 0, 0},
  8010. {0x59, 0x96, 0x96, 0, 0},
  8011. {0x5A, 0x3e, 0x3e, 0, 0},
  8012. {0x5B, 0x3e, 0x3e, 0, 0},
  8013. {0x5C, 0x13, 0x13, 0, 0},
  8014. {0x5D, 0x2, 0x2, 0, 0},
  8015. {0x5E, 0, 0, 0, 0},
  8016. {0x5F, 0x7, 0x7, 0, 0},
  8017. {0x60, 0x7, 0x7, 1, 1},
  8018. {0x61, 0x8, 0x8, 0, 0},
  8019. {0x62, 0x3, 0x3, 0, 0},
  8020. {0x63, 0, 0, 0, 0},
  8021. {0x64, 0, 0, 0, 0},
  8022. {0x65, 0, 0, 0, 0},
  8023. {0x66, 0, 0, 0, 0},
  8024. {0x67, 0, 0, 0, 0},
  8025. {0x68, 0x40, 0x40, 0, 0},
  8026. {0x69, 0, 0, 0, 0},
  8027. {0x6A, 0, 0, 0, 0},
  8028. {0x6B, 0, 0, 0, 0},
  8029. {0x6C, 0, 0, 0, 0},
  8030. {0x6D, 0x1, 0x1, 0, 0},
  8031. {0x6E, 0, 0, 0, 0},
  8032. {0x6F, 0, 0, 0, 0},
  8033. {0x70, 0x60, 0x60, 0, 0},
  8034. {0x71, 0x66, 0x66, 0, 0},
  8035. {0x72, 0xc, 0xc, 0, 0},
  8036. {0x73, 0x66, 0x66, 0, 0},
  8037. {0x74, 0x8f, 0x8f, 1, 1},
  8038. {0x75, 0, 0, 0, 0},
  8039. {0x76, 0xcc, 0xcc, 0, 0},
  8040. {0x77, 0x1, 0x1, 0, 0},
  8041. {0x78, 0x66, 0x66, 0, 0},
  8042. {0x79, 0x66, 0x66, 0, 0},
  8043. {0x7A, 0, 0, 0, 0},
  8044. {0x7B, 0, 0, 0, 0},
  8045. {0x7C, 0, 0, 0, 0},
  8046. {0x7D, 0, 0, 0, 0},
  8047. {0x7E, 0, 0, 0, 0},
  8048. {0x7F, 0, 0, 0, 0},
  8049. {0x80, 0, 0, 0, 0},
  8050. {0x81, 0, 0, 0, 0},
  8051. {0x82, 0, 0, 0, 0},
  8052. {0x83, 0, 0, 0, 0},
  8053. {0x84, 0, 0, 0, 0},
  8054. {0x85, 0xff, 0xff, 0, 0},
  8055. {0x86, 0, 0, 0, 0},
  8056. {0x87, 0, 0, 0, 0},
  8057. {0x88, 0, 0, 0, 0},
  8058. {0x89, 0, 0, 0, 0},
  8059. {0x8A, 0, 0, 0, 0},
  8060. {0x8B, 0, 0, 0, 0},
  8061. {0x8C, 0, 0, 0, 0},
  8062. {0x8D, 0, 0, 0, 0},
  8063. {0x8E, 0, 0, 0, 0},
  8064. {0x8F, 0, 0, 0, 0},
  8065. {0x90, 0, 0, 0, 0},
  8066. {0x91, 0, 0, 0, 0},
  8067. {0x92, 0, 0, 0, 0},
  8068. {0x93, 0, 0, 0, 0},
  8069. {0x94, 0, 0, 0, 0},
  8070. {0x95, 0, 0, 0, 0},
  8071. {0x96, 0, 0, 0, 0},
  8072. {0x97, 0, 0, 0, 0},
  8073. {0x98, 0, 0, 0, 0},
  8074. {0x99, 0, 0, 0, 0},
  8075. {0x9A, 0, 0, 0, 0},
  8076. {0x9B, 0, 0, 0, 0},
  8077. {0x9C, 0, 0, 0, 0},
  8078. {0x9D, 0, 0, 0, 0},
  8079. {0x9E, 0, 0, 0, 0},
  8080. {0x9F, 0x6, 0x6, 0, 0},
  8081. {0xA0, 0x66, 0x66, 0, 0},
  8082. {0xA1, 0x66, 0x66, 0, 0},
  8083. {0xA2, 0x66, 0x66, 0, 0},
  8084. {0xA3, 0x66, 0x66, 0, 0},
  8085. {0xA4, 0x66, 0x66, 0, 0},
  8086. {0xA5, 0x66, 0x66, 0, 0},
  8087. {0xA6, 0x66, 0x66, 0, 0},
  8088. {0xA7, 0x66, 0x66, 0, 0},
  8089. {0xA8, 0x66, 0x66, 0, 0},
  8090. {0xA9, 0x66, 0x66, 0, 0},
  8091. {0xAA, 0x66, 0x66, 0, 0},
  8092. {0xAB, 0x66, 0x66, 0, 0},
  8093. {0xAC, 0x66, 0x66, 0, 0},
  8094. {0xAD, 0x66, 0x66, 0, 0},
  8095. {0xAE, 0x66, 0x66, 0, 0},
  8096. {0xAF, 0x66, 0x66, 0, 0},
  8097. {0xB0, 0x66, 0x66, 0, 0},
  8098. {0xB1, 0x66, 0x66, 0, 0},
  8099. {0xB2, 0x66, 0x66, 0, 0},
  8100. {0xB3, 0xa, 0xa, 0, 0},
  8101. {0xB4, 0, 0, 0, 0},
  8102. {0xB5, 0, 0, 0, 0},
  8103. {0xB6, 0, 0, 0, 0},
  8104. {0xFFFF, 0, 0, 0, 0}
  8105. };
  8106. static struct radio_regs regs_TX_2056[] = {
  8107. {0x02, 0, 0, 0, 0},
  8108. {0x03, 0, 0, 0, 0},
  8109. {0x04, 0, 0, 0, 0},
  8110. {0x05, 0, 0, 0, 0},
  8111. {0x06, 0, 0, 0, 0},
  8112. {0x07, 0, 0, 0, 0},
  8113. {0x08, 0, 0, 0, 0},
  8114. {0x09, 0, 0, 0, 0},
  8115. {0x0A, 0, 0, 0, 0},
  8116. {0x0B, 0, 0, 0, 0},
  8117. {0x0C, 0, 0, 0, 0},
  8118. {0x0D, 0, 0, 0, 0},
  8119. {0x0E, 0, 0, 0, 0},
  8120. {0x0F, 0, 0, 0, 0},
  8121. {0x10, 0, 0, 0, 0},
  8122. {0x11, 0, 0, 0, 0},
  8123. {0x12, 0, 0, 0, 0},
  8124. {0x13, 0, 0, 0, 0},
  8125. {0x14, 0, 0, 0, 0},
  8126. {0x15, 0, 0, 0, 0},
  8127. {0x16, 0, 0, 0, 0},
  8128. {0x17, 0, 0, 0, 0},
  8129. {0x18, 0, 0, 0, 0},
  8130. {0x19, 0, 0, 0, 0},
  8131. {0x1A, 0, 0, 0, 0},
  8132. {0x1B, 0, 0, 0, 0},
  8133. {0x1C, 0, 0, 0, 0},
  8134. {0x1D, 0, 0, 0, 0},
  8135. {0x1E, 0, 0, 0, 0},
  8136. {0x1F, 0, 0, 0, 0},
  8137. {0x20, 0, 0, 0, 0},
  8138. {0x21, 0x88, 0x88, 0, 0},
  8139. {0x22, 0x88, 0x88, 0, 0},
  8140. {0x23, 0x88, 0x88, 0, 0},
  8141. {0x24, 0x88, 0x88, 0, 0},
  8142. {0x25, 0xc, 0xc, 0, 0},
  8143. {0x26, 0, 0, 0, 0},
  8144. {0x27, 0x3, 0x3, 0, 0},
  8145. {0x28, 0, 0, 0, 0},
  8146. {0x29, 0x3, 0x3, 0, 0},
  8147. {0x2A, 0x37, 0x37, 0, 0},
  8148. {0x2B, 0x3, 0x3, 0, 0},
  8149. {0x2C, 0, 0, 0, 0},
  8150. {0x2D, 0, 0, 0, 0},
  8151. {0x2E, 0x1, 0x1, 0, 0},
  8152. {0x2F, 0x1, 0x1, 0, 0},
  8153. {0x30, 0, 0, 0, 0},
  8154. {0x31, 0, 0, 0, 0},
  8155. {0x32, 0, 0, 0, 0},
  8156. {0x33, 0x11, 0x11, 0, 0},
  8157. {0x34, 0x11, 0x11, 0, 0},
  8158. {0x35, 0, 0, 0, 0},
  8159. {0x36, 0, 0, 0, 0},
  8160. {0x37, 0x3, 0x3, 0, 0},
  8161. {0x38, 0xf, 0xf, 0, 0},
  8162. {0x39, 0, 0, 0, 0},
  8163. {0x3A, 0x2d, 0x2d, 0, 0},
  8164. {0x3B, 0, 0, 0, 0},
  8165. {0x3C, 0x6e, 0x6e, 0, 0},
  8166. {0x3D, 0xf0, 0xf0, 1, 1},
  8167. {0x3E, 0, 0, 0, 0},
  8168. {0x3F, 0, 0, 0, 0},
  8169. {0x40, 0, 0, 0, 0},
  8170. {0x41, 0x3, 0x3, 0, 0},
  8171. {0x42, 0x3, 0x3, 0, 0},
  8172. {0x43, 0, 0, 0, 0},
  8173. {0x44, 0x1e, 0x1e, 0, 0},
  8174. {0x45, 0, 0, 0, 0},
  8175. {0x46, 0x6e, 0x6e, 0, 0},
  8176. {0x47, 0xf0, 0xf0, 1, 1},
  8177. {0x48, 0, 0, 0, 0},
  8178. {0x49, 0x2, 0x2, 0, 0},
  8179. {0x4A, 0xff, 0xff, 1, 1},
  8180. {0x4B, 0xc, 0xc, 0, 0},
  8181. {0x4C, 0, 0, 0, 0},
  8182. {0x4D, 0x38, 0x38, 0, 0},
  8183. {0x4E, 0x70, 0x70, 1, 1},
  8184. {0x4F, 0x2, 0x2, 0, 0},
  8185. {0x50, 0x88, 0x88, 0, 0},
  8186. {0x51, 0xc, 0xc, 0, 0},
  8187. {0x52, 0, 0, 0, 0},
  8188. {0x53, 0x8, 0x8, 0, 0},
  8189. {0x54, 0x70, 0x70, 1, 1},
  8190. {0x55, 0x2, 0x2, 0, 0},
  8191. {0x56, 0xff, 0xff, 1, 1},
  8192. {0x57, 0, 0, 0, 0},
  8193. {0x58, 0x83, 0x83, 0, 0},
  8194. {0x59, 0x77, 0x77, 1, 1},
  8195. {0x5A, 0, 0, 0, 0},
  8196. {0x5B, 0x2, 0x2, 0, 0},
  8197. {0x5C, 0x88, 0x88, 0, 0},
  8198. {0x5D, 0, 0, 0, 0},
  8199. {0x5E, 0x8, 0x8, 0, 0},
  8200. {0x5F, 0x77, 0x77, 1, 1},
  8201. {0x60, 0x1, 0x1, 0, 0},
  8202. {0x61, 0, 0, 0, 0},
  8203. {0x62, 0x7, 0x7, 0, 0},
  8204. {0x63, 0, 0, 0, 0},
  8205. {0x64, 0x7, 0x7, 0, 0},
  8206. {0x65, 0, 0, 0, 0},
  8207. {0x66, 0, 0, 0, 0},
  8208. {0x67, 0x74, 0x74, 1, 1},
  8209. {0x68, 0, 0, 0, 0},
  8210. {0x69, 0xa, 0xa, 0, 0},
  8211. {0x6A, 0, 0, 0, 0},
  8212. {0x6B, 0, 0, 0, 0},
  8213. {0x6C, 0, 0, 0, 0},
  8214. {0x6D, 0, 0, 0, 0},
  8215. {0x6E, 0, 0, 0, 0},
  8216. {0x6F, 0, 0, 0, 0},
  8217. {0x70, 0, 0, 0, 0},
  8218. {0x71, 0x2, 0x2, 0, 0},
  8219. {0x72, 0, 0, 0, 0},
  8220. {0x73, 0, 0, 0, 0},
  8221. {0x74, 0xe, 0xe, 0, 0},
  8222. {0x75, 0xe, 0xe, 0, 0},
  8223. {0x76, 0xe, 0xe, 0, 0},
  8224. {0x77, 0x13, 0x13, 0, 0},
  8225. {0x78, 0x13, 0x13, 0, 0},
  8226. {0x79, 0x1b, 0x1b, 0, 0},
  8227. {0x7A, 0x1b, 0x1b, 0, 0},
  8228. {0x7B, 0x55, 0x55, 0, 0},
  8229. {0x7C, 0x5b, 0x5b, 0, 0},
  8230. {0x7D, 0, 0, 0, 0},
  8231. {0x7E, 0, 0, 0, 0},
  8232. {0x7F, 0, 0, 0, 0},
  8233. {0x80, 0, 0, 0, 0},
  8234. {0x81, 0, 0, 0, 0},
  8235. {0x82, 0, 0, 0, 0},
  8236. {0x83, 0, 0, 0, 0},
  8237. {0x84, 0, 0, 0, 0},
  8238. {0x85, 0, 0, 0, 0},
  8239. {0x86, 0, 0, 0, 0},
  8240. {0x87, 0, 0, 0, 0},
  8241. {0x88, 0, 0, 0, 0},
  8242. {0x89, 0, 0, 0, 0},
  8243. {0x8A, 0, 0, 0, 0},
  8244. {0x8B, 0, 0, 0, 0},
  8245. {0x8C, 0, 0, 0, 0},
  8246. {0x8D, 0, 0, 0, 0},
  8247. {0x8E, 0, 0, 0, 0},
  8248. {0x8F, 0, 0, 0, 0},
  8249. {0x90, 0, 0, 0, 0},
  8250. {0x91, 0, 0, 0, 0},
  8251. {0x92, 0, 0, 0, 0},
  8252. {0xFFFF, 0, 0, 0, 0}
  8253. };
  8254. static struct radio_regs regs_RX_2056[] = {
  8255. {0x02, 0, 0, 0, 0},
  8256. {0x03, 0, 0, 0, 0},
  8257. {0x04, 0, 0, 0, 0},
  8258. {0x05, 0, 0, 0, 0},
  8259. {0x06, 0, 0, 0, 0},
  8260. {0x07, 0, 0, 0, 0},
  8261. {0x08, 0, 0, 0, 0},
  8262. {0x09, 0, 0, 0, 0},
  8263. {0x0A, 0, 0, 0, 0},
  8264. {0x0B, 0, 0, 0, 0},
  8265. {0x0C, 0, 0, 0, 0},
  8266. {0x0D, 0, 0, 0, 0},
  8267. {0x0E, 0, 0, 0, 0},
  8268. {0x0F, 0, 0, 0, 0},
  8269. {0x10, 0, 0, 0, 0},
  8270. {0x11, 0, 0, 0, 0},
  8271. {0x12, 0, 0, 0, 0},
  8272. {0x13, 0, 0, 0, 0},
  8273. {0x14, 0, 0, 0, 0},
  8274. {0x15, 0, 0, 0, 0},
  8275. {0x16, 0, 0, 0, 0},
  8276. {0x17, 0, 0, 0, 0},
  8277. {0x18, 0, 0, 0, 0},
  8278. {0x19, 0, 0, 0, 0},
  8279. {0x1A, 0, 0, 0, 0},
  8280. {0x1B, 0, 0, 0, 0},
  8281. {0x1C, 0, 0, 0, 0},
  8282. {0x1D, 0, 0, 0, 0},
  8283. {0x1E, 0, 0, 0, 0},
  8284. {0x1F, 0, 0, 0, 0},
  8285. {0x20, 0x3, 0x3, 0, 0},
  8286. {0x21, 0, 0, 0, 0},
  8287. {0x22, 0, 0, 0, 0},
  8288. {0x23, 0x90, 0x90, 0, 0},
  8289. {0x24, 0x55, 0x55, 0, 0},
  8290. {0x25, 0x15, 0x15, 0, 0},
  8291. {0x26, 0x5, 0x5, 0, 0},
  8292. {0x27, 0x15, 0x15, 0, 0},
  8293. {0x28, 0x5, 0x5, 0, 0},
  8294. {0x29, 0x20, 0x20, 0, 0},
  8295. {0x2A, 0x11, 0x11, 0, 0},
  8296. {0x2B, 0x90, 0x90, 0, 0},
  8297. {0x2C, 0, 0, 0, 0},
  8298. {0x2D, 0x88, 0x88, 0, 0},
  8299. {0x2E, 0x32, 0x32, 0, 0},
  8300. {0x2F, 0x77, 0x77, 0, 0},
  8301. {0x30, 0x17, 0x17, 1, 1},
  8302. {0x31, 0xff, 0xff, 1, 1},
  8303. {0x32, 0x20, 0x20, 0, 0},
  8304. {0x33, 0, 0, 0, 0},
  8305. {0x34, 0x88, 0x88, 0, 0},
  8306. {0x35, 0x32, 0x32, 0, 0},
  8307. {0x36, 0x77, 0x77, 0, 0},
  8308. {0x37, 0x17, 0x17, 1, 1},
  8309. {0x38, 0xf0, 0xf0, 1, 1},
  8310. {0x39, 0x20, 0x20, 0, 0},
  8311. {0x3A, 0x8, 0x8, 0, 0},
  8312. {0x3B, 0x99, 0x99, 0, 0},
  8313. {0x3C, 0, 0, 0, 0},
  8314. {0x3D, 0x44, 0x44, 1, 1},
  8315. {0x3E, 0, 0, 0, 0},
  8316. {0x3F, 0x44, 0x44, 0, 0},
  8317. {0x40, 0xf, 0xf, 1, 1},
  8318. {0x41, 0x6, 0x6, 0, 0},
  8319. {0x42, 0x4, 0x4, 0, 0},
  8320. {0x43, 0x50, 0x50, 1, 1},
  8321. {0x44, 0x8, 0x8, 0, 0},
  8322. {0x45, 0x99, 0x99, 0, 0},
  8323. {0x46, 0, 0, 0, 0},
  8324. {0x47, 0x11, 0x11, 0, 0},
  8325. {0x48, 0, 0, 0, 0},
  8326. {0x49, 0x44, 0x44, 0, 0},
  8327. {0x4A, 0x7, 0x7, 0, 0},
  8328. {0x4B, 0x6, 0x6, 0, 0},
  8329. {0x4C, 0x4, 0x4, 0, 0},
  8330. {0x4D, 0, 0, 0, 0},
  8331. {0x4E, 0, 0, 0, 0},
  8332. {0x4F, 0x66, 0x66, 0, 0},
  8333. {0x50, 0x66, 0x66, 0, 0},
  8334. {0x51, 0x57, 0x57, 0, 0},
  8335. {0x52, 0x57, 0x57, 0, 0},
  8336. {0x53, 0x44, 0x44, 0, 0},
  8337. {0x54, 0, 0, 0, 0},
  8338. {0x55, 0, 0, 0, 0},
  8339. {0x56, 0x8, 0x8, 0, 0},
  8340. {0x57, 0x8, 0x8, 0, 0},
  8341. {0x58, 0x7, 0x7, 0, 0},
  8342. {0x59, 0x22, 0x22, 0, 0},
  8343. {0x5A, 0x22, 0x22, 0, 0},
  8344. {0x5B, 0x2, 0x2, 0, 0},
  8345. {0x5C, 0x23, 0x23, 0, 0},
  8346. {0x5D, 0x7, 0x7, 0, 0},
  8347. {0x5E, 0x55, 0x55, 0, 0},
  8348. {0x5F, 0x23, 0x23, 0, 0},
  8349. {0x60, 0x41, 0x41, 0, 0},
  8350. {0x61, 0x1, 0x1, 0, 0},
  8351. {0x62, 0xa, 0xa, 0, 0},
  8352. {0x63, 0, 0, 0, 0},
  8353. {0x64, 0, 0, 0, 0},
  8354. {0x65, 0, 0, 0, 0},
  8355. {0x66, 0, 0, 0, 0},
  8356. {0x67, 0, 0, 0, 0},
  8357. {0x68, 0, 0, 0, 0},
  8358. {0x69, 0, 0, 0, 0},
  8359. {0x6A, 0, 0, 0, 0},
  8360. {0x6B, 0xc, 0xc, 0, 0},
  8361. {0x6C, 0, 0, 0, 0},
  8362. {0x6D, 0, 0, 0, 0},
  8363. {0x6E, 0, 0, 0, 0},
  8364. {0x6F, 0, 0, 0, 0},
  8365. {0x70, 0, 0, 0, 0},
  8366. {0x71, 0, 0, 0, 0},
  8367. {0x72, 0x22, 0x22, 0, 0},
  8368. {0x73, 0x22, 0x22, 0, 0},
  8369. {0x74, 0x2, 0x2, 0, 0},
  8370. {0x75, 0xa, 0xa, 0, 0},
  8371. {0x76, 0x1, 0x1, 0, 0},
  8372. {0x77, 0x22, 0x22, 0, 0},
  8373. {0x78, 0x30, 0x30, 0, 0},
  8374. {0x79, 0, 0, 0, 0},
  8375. {0x7A, 0, 0, 0, 0},
  8376. {0x7B, 0, 0, 0, 0},
  8377. {0x7C, 0, 0, 0, 0},
  8378. {0x7D, 0, 0, 0, 0},
  8379. {0x7E, 0, 0, 0, 0},
  8380. {0x7F, 0, 0, 0, 0},
  8381. {0x80, 0, 0, 0, 0},
  8382. {0x81, 0, 0, 0, 0},
  8383. {0x82, 0, 0, 0, 0},
  8384. {0x83, 0, 0, 0, 0},
  8385. {0x84, 0, 0, 0, 0},
  8386. {0x85, 0, 0, 0, 0},
  8387. {0x86, 0, 0, 0, 0},
  8388. {0x87, 0, 0, 0, 0},
  8389. {0x88, 0, 0, 0, 0},
  8390. {0x89, 0, 0, 0, 0},
  8391. {0x8A, 0, 0, 0, 0},
  8392. {0x8B, 0, 0, 0, 0},
  8393. {0x8C, 0, 0, 0, 0},
  8394. {0x8D, 0, 0, 0, 0},
  8395. {0x8E, 0, 0, 0, 0},
  8396. {0x8F, 0, 0, 0, 0},
  8397. {0x90, 0, 0, 0, 0},
  8398. {0x91, 0, 0, 0, 0},
  8399. {0x92, 0, 0, 0, 0},
  8400. {0x93, 0, 0, 0, 0},
  8401. {0x94, 0, 0, 0, 0},
  8402. {0xFFFF, 0, 0, 0, 0}
  8403. };
  8404. static struct radio_regs regs_SYN_2056_A1[] = {
  8405. {0x02, 0, 0, 0, 0},
  8406. {0x03, 0, 0, 0, 0},
  8407. {0x04, 0, 0, 0, 0},
  8408. {0x05, 0, 0, 0, 0},
  8409. {0x06, 0, 0, 0, 0},
  8410. {0x07, 0, 0, 0, 0},
  8411. {0x08, 0, 0, 0, 0},
  8412. {0x09, 0x1, 0x1, 0, 0},
  8413. {0x0A, 0, 0, 0, 0},
  8414. {0x0B, 0, 0, 0, 0},
  8415. {0x0C, 0, 0, 0, 0},
  8416. {0x0D, 0, 0, 0, 0},
  8417. {0x0E, 0, 0, 0, 0},
  8418. {0x0F, 0, 0, 0, 0},
  8419. {0x10, 0, 0, 0, 0},
  8420. {0x11, 0, 0, 0, 0},
  8421. {0x12, 0, 0, 0, 0},
  8422. {0x13, 0, 0, 0, 0},
  8423. {0x14, 0, 0, 0, 0},
  8424. {0x15, 0, 0, 0, 0},
  8425. {0x16, 0, 0, 0, 0},
  8426. {0x17, 0, 0, 0, 0},
  8427. {0x18, 0, 0, 0, 0},
  8428. {0x19, 0, 0, 0, 0},
  8429. {0x1A, 0, 0, 0, 0},
  8430. {0x1B, 0, 0, 0, 0},
  8431. {0x1C, 0, 0, 0, 0},
  8432. {0x1D, 0, 0, 0, 0},
  8433. {0x1E, 0, 0, 0, 0},
  8434. {0x1F, 0, 0, 0, 0},
  8435. {0x20, 0, 0, 0, 0},
  8436. {0x21, 0, 0, 0, 0},
  8437. {0x22, 0x60, 0x60, 0, 0},
  8438. {0x23, 0x6, 0x6, 0, 0},
  8439. {0x24, 0xc, 0xc, 0, 0},
  8440. {0x25, 0, 0, 0, 0},
  8441. {0x26, 0, 0, 0, 0},
  8442. {0x27, 0, 0, 0, 0},
  8443. {0x28, 0x1, 0x1, 0, 0},
  8444. {0x29, 0, 0, 0, 0},
  8445. {0x2A, 0, 0, 0, 0},
  8446. {0x2B, 0, 0, 0, 0},
  8447. {0x2C, 0, 0, 0, 0},
  8448. {0x2D, 0, 0, 0, 0},
  8449. {0x2E, 0xd, 0xd, 0, 0},
  8450. {0x2F, 0x1f, 0x1f, 0, 0},
  8451. {0x30, 0x15, 0x15, 0, 0},
  8452. {0x31, 0xf, 0xf, 0, 0},
  8453. {0x32, 0, 0, 0, 0},
  8454. {0x33, 0, 0, 0, 0},
  8455. {0x34, 0, 0, 0, 0},
  8456. {0x35, 0, 0, 0, 0},
  8457. {0x36, 0, 0, 0, 0},
  8458. {0x37, 0, 0, 0, 0},
  8459. {0x38, 0, 0, 0, 0},
  8460. {0x39, 0, 0, 0, 0},
  8461. {0x3A, 0, 0, 0, 0},
  8462. {0x3B, 0, 0, 0, 0},
  8463. {0x3C, 0x13, 0x13, 0, 0},
  8464. {0x3D, 0xf, 0xf, 0, 0},
  8465. {0x3E, 0x18, 0x18, 0, 0},
  8466. {0x3F, 0, 0, 0, 0},
  8467. {0x40, 0, 0, 0, 0},
  8468. {0x41, 0x20, 0x20, 0, 0},
  8469. {0x42, 0x20, 0x20, 0, 0},
  8470. {0x43, 0, 0, 0, 0},
  8471. {0x44, 0x77, 0x77, 0, 0},
  8472. {0x45, 0x7, 0x7, 0, 0},
  8473. {0x46, 0x1, 0x1, 0, 0},
  8474. {0x47, 0x4, 0x4, 0, 0},
  8475. {0x48, 0xf, 0xf, 0, 0},
  8476. {0x49, 0x30, 0x30, 0, 0},
  8477. {0x4A, 0x32, 0x32, 0, 0},
  8478. {0x4B, 0xd, 0xd, 0, 0},
  8479. {0x4C, 0xd, 0xd, 0, 0},
  8480. {0x4D, 0x4, 0x4, 0, 0},
  8481. {0x4E, 0x6, 0x6, 0, 0},
  8482. {0x4F, 0x1, 0x1, 0, 0},
  8483. {0x50, 0x1c, 0x1c, 0, 0},
  8484. {0x51, 0x2, 0x2, 0, 0},
  8485. {0x52, 0x2, 0x2, 0, 0},
  8486. {0x53, 0xf7, 0xf7, 1, 1},
  8487. {0x54, 0xb4, 0xb4, 0, 0},
  8488. {0x55, 0xd2, 0xd2, 0, 0},
  8489. {0x56, 0, 0, 0, 0},
  8490. {0x57, 0, 0, 0, 0},
  8491. {0x58, 0x4, 0x4, 0, 0},
  8492. {0x59, 0x96, 0x96, 0, 0},
  8493. {0x5A, 0x3e, 0x3e, 0, 0},
  8494. {0x5B, 0x3e, 0x3e, 0, 0},
  8495. {0x5C, 0x13, 0x13, 0, 0},
  8496. {0x5D, 0x2, 0x2, 0, 0},
  8497. {0x5E, 0, 0, 0, 0},
  8498. {0x5F, 0x7, 0x7, 0, 0},
  8499. {0x60, 0x7, 0x7, 1, 1},
  8500. {0x61, 0x8, 0x8, 0, 0},
  8501. {0x62, 0x3, 0x3, 0, 0},
  8502. {0x63, 0, 0, 0, 0},
  8503. {0x64, 0, 0, 0, 0},
  8504. {0x65, 0, 0, 0, 0},
  8505. {0x66, 0, 0, 0, 0},
  8506. {0x67, 0, 0, 0, 0},
  8507. {0x68, 0x40, 0x40, 0, 0},
  8508. {0x69, 0, 0, 0, 0},
  8509. {0x6A, 0, 0, 0, 0},
  8510. {0x6B, 0, 0, 0, 0},
  8511. {0x6C, 0, 0, 0, 0},
  8512. {0x6D, 0x1, 0x1, 0, 0},
  8513. {0x6E, 0, 0, 0, 0},
  8514. {0x6F, 0, 0, 0, 0},
  8515. {0x70, 0x60, 0x60, 0, 0},
  8516. {0x71, 0x66, 0x66, 0, 0},
  8517. {0x72, 0xc, 0xc, 0, 0},
  8518. {0x73, 0x66, 0x66, 0, 0},
  8519. {0x74, 0x8f, 0x8f, 1, 1},
  8520. {0x75, 0, 0, 0, 0},
  8521. {0x76, 0xcc, 0xcc, 0, 0},
  8522. {0x77, 0x1, 0x1, 0, 0},
  8523. {0x78, 0x66, 0x66, 0, 0},
  8524. {0x79, 0x66, 0x66, 0, 0},
  8525. {0x7A, 0, 0, 0, 0},
  8526. {0x7B, 0, 0, 0, 0},
  8527. {0x7C, 0, 0, 0, 0},
  8528. {0x7D, 0, 0, 0, 0},
  8529. {0x7E, 0, 0, 0, 0},
  8530. {0x7F, 0, 0, 0, 0},
  8531. {0x80, 0, 0, 0, 0},
  8532. {0x81, 0, 0, 0, 0},
  8533. {0x82, 0, 0, 0, 0},
  8534. {0x83, 0, 0, 0, 0},
  8535. {0x84, 0, 0, 0, 0},
  8536. {0x85, 0xff, 0xff, 0, 0},
  8537. {0x86, 0, 0, 0, 0},
  8538. {0x87, 0, 0, 0, 0},
  8539. {0x88, 0, 0, 0, 0},
  8540. {0x89, 0, 0, 0, 0},
  8541. {0x8A, 0, 0, 0, 0},
  8542. {0x8B, 0, 0, 0, 0},
  8543. {0x8C, 0, 0, 0, 0},
  8544. {0x8D, 0, 0, 0, 0},
  8545. {0x8E, 0, 0, 0, 0},
  8546. {0x8F, 0, 0, 0, 0},
  8547. {0x90, 0, 0, 0, 0},
  8548. {0x91, 0, 0, 0, 0},
  8549. {0x92, 0, 0, 0, 0},
  8550. {0x93, 0, 0, 0, 0},
  8551. {0x94, 0, 0, 0, 0},
  8552. {0x95, 0, 0, 0, 0},
  8553. {0x96, 0, 0, 0, 0},
  8554. {0x97, 0, 0, 0, 0},
  8555. {0x98, 0, 0, 0, 0},
  8556. {0x99, 0, 0, 0, 0},
  8557. {0x9A, 0, 0, 0, 0},
  8558. {0x9B, 0, 0, 0, 0},
  8559. {0x9C, 0, 0, 0, 0},
  8560. {0x9D, 0, 0, 0, 0},
  8561. {0x9E, 0, 0, 0, 0},
  8562. {0x9F, 0x6, 0x6, 0, 0},
  8563. {0xA0, 0x66, 0x66, 0, 0},
  8564. {0xA1, 0x66, 0x66, 0, 0},
  8565. {0xA2, 0x66, 0x66, 0, 0},
  8566. {0xA3, 0x66, 0x66, 0, 0},
  8567. {0xA4, 0x66, 0x66, 0, 0},
  8568. {0xA5, 0x66, 0x66, 0, 0},
  8569. {0xA6, 0x66, 0x66, 0, 0},
  8570. {0xA7, 0x66, 0x66, 0, 0},
  8571. {0xA8, 0x66, 0x66, 0, 0},
  8572. {0xA9, 0x66, 0x66, 0, 0},
  8573. {0xAA, 0x66, 0x66, 0, 0},
  8574. {0xAB, 0x66, 0x66, 0, 0},
  8575. {0xAC, 0x66, 0x66, 0, 0},
  8576. {0xAD, 0x66, 0x66, 0, 0},
  8577. {0xAE, 0x66, 0x66, 0, 0},
  8578. {0xAF, 0x66, 0x66, 0, 0},
  8579. {0xB0, 0x66, 0x66, 0, 0},
  8580. {0xB1, 0x66, 0x66, 0, 0},
  8581. {0xB2, 0x66, 0x66, 0, 0},
  8582. {0xB3, 0xa, 0xa, 0, 0},
  8583. {0xB4, 0, 0, 0, 0},
  8584. {0xB5, 0, 0, 0, 0},
  8585. {0xB6, 0, 0, 0, 0},
  8586. {0xFFFF, 0, 0, 0, 0}
  8587. };
  8588. static struct radio_regs regs_TX_2056_A1[] = {
  8589. {0x02, 0, 0, 0, 0},
  8590. {0x03, 0, 0, 0, 0},
  8591. {0x04, 0, 0, 0, 0},
  8592. {0x05, 0, 0, 0, 0},
  8593. {0x06, 0, 0, 0, 0},
  8594. {0x07, 0, 0, 0, 0},
  8595. {0x08, 0, 0, 0, 0},
  8596. {0x09, 0, 0, 0, 0},
  8597. {0x0A, 0, 0, 0, 0},
  8598. {0x0B, 0, 0, 0, 0},
  8599. {0x0C, 0, 0, 0, 0},
  8600. {0x0D, 0, 0, 0, 0},
  8601. {0x0E, 0, 0, 0, 0},
  8602. {0x0F, 0, 0, 0, 0},
  8603. {0x10, 0, 0, 0, 0},
  8604. {0x11, 0, 0, 0, 0},
  8605. {0x12, 0, 0, 0, 0},
  8606. {0x13, 0, 0, 0, 0},
  8607. {0x14, 0, 0, 0, 0},
  8608. {0x15, 0, 0, 0, 0},
  8609. {0x16, 0, 0, 0, 0},
  8610. {0x17, 0, 0, 0, 0},
  8611. {0x18, 0, 0, 0, 0},
  8612. {0x19, 0, 0, 0, 0},
  8613. {0x1A, 0, 0, 0, 0},
  8614. {0x1B, 0, 0, 0, 0},
  8615. {0x1C, 0, 0, 0, 0},
  8616. {0x1D, 0, 0, 0, 0},
  8617. {0x1E, 0, 0, 0, 0},
  8618. {0x1F, 0, 0, 0, 0},
  8619. {0x20, 0, 0, 0, 0},
  8620. {0x21, 0x88, 0x88, 0, 0},
  8621. {0x22, 0x88, 0x88, 0, 0},
  8622. {0x23, 0x88, 0x88, 0, 0},
  8623. {0x24, 0x88, 0x88, 0, 0},
  8624. {0x25, 0xc, 0xc, 0, 0},
  8625. {0x26, 0, 0, 0, 0},
  8626. {0x27, 0x3, 0x3, 0, 0},
  8627. {0x28, 0, 0, 0, 0},
  8628. {0x29, 0x3, 0x3, 0, 0},
  8629. {0x2A, 0x37, 0x37, 0, 0},
  8630. {0x2B, 0x3, 0x3, 0, 0},
  8631. {0x2C, 0, 0, 0, 0},
  8632. {0x2D, 0, 0, 0, 0},
  8633. {0x2E, 0x1, 0x1, 0, 0},
  8634. {0x2F, 0x1, 0x1, 0, 0},
  8635. {0x30, 0, 0, 0, 0},
  8636. {0x31, 0, 0, 0, 0},
  8637. {0x32, 0, 0, 0, 0},
  8638. {0x33, 0x11, 0x11, 0, 0},
  8639. {0x34, 0x11, 0x11, 0, 0},
  8640. {0x35, 0, 0, 0, 0},
  8641. {0x36, 0, 0, 0, 0},
  8642. {0x37, 0x3, 0x3, 0, 0},
  8643. {0x38, 0xf, 0xf, 0, 0},
  8644. {0x39, 0, 0, 0, 0},
  8645. {0x3A, 0x2d, 0x2d, 0, 0},
  8646. {0x3B, 0, 0, 0, 0},
  8647. {0x3C, 0x6e, 0x6e, 0, 0},
  8648. {0x3D, 0xf0, 0xf0, 1, 1},
  8649. {0x3E, 0, 0, 0, 0},
  8650. {0x3F, 0, 0, 0, 0},
  8651. {0x40, 0, 0, 0, 0},
  8652. {0x41, 0x3, 0x3, 0, 0},
  8653. {0x42, 0x3, 0x3, 0, 0},
  8654. {0x43, 0, 0, 0, 0},
  8655. {0x44, 0x1e, 0x1e, 0, 0},
  8656. {0x45, 0, 0, 0, 0},
  8657. {0x46, 0x6e, 0x6e, 0, 0},
  8658. {0x47, 0xf0, 0xf0, 1, 1},
  8659. {0x48, 0, 0, 0, 0},
  8660. {0x49, 0x2, 0x2, 0, 0},
  8661. {0x4A, 0xff, 0xff, 1, 1},
  8662. {0x4B, 0xc, 0xc, 0, 0},
  8663. {0x4C, 0, 0, 0, 0},
  8664. {0x4D, 0x38, 0x38, 0, 0},
  8665. {0x4E, 0x70, 0x70, 1, 1},
  8666. {0x4F, 0x2, 0x2, 0, 0},
  8667. {0x50, 0x88, 0x88, 0, 0},
  8668. {0x51, 0xc, 0xc, 0, 0},
  8669. {0x52, 0, 0, 0, 0},
  8670. {0x53, 0x8, 0x8, 0, 0},
  8671. {0x54, 0x70, 0x70, 1, 1},
  8672. {0x55, 0x2, 0x2, 0, 0},
  8673. {0x56, 0xff, 0xff, 1, 1},
  8674. {0x57, 0, 0, 0, 0},
  8675. {0x58, 0x83, 0x83, 0, 0},
  8676. {0x59, 0x77, 0x77, 1, 1},
  8677. {0x5A, 0, 0, 0, 0},
  8678. {0x5B, 0x2, 0x2, 0, 0},
  8679. {0x5C, 0x88, 0x88, 0, 0},
  8680. {0x5D, 0, 0, 0, 0},
  8681. {0x5E, 0x8, 0x8, 0, 0},
  8682. {0x5F, 0x77, 0x77, 1, 1},
  8683. {0x60, 0x1, 0x1, 0, 0},
  8684. {0x61, 0, 0, 0, 0},
  8685. {0x62, 0x7, 0x7, 0, 0},
  8686. {0x63, 0, 0, 0, 0},
  8687. {0x64, 0x7, 0x7, 0, 0},
  8688. {0x65, 0, 0, 0, 0},
  8689. {0x66, 0, 0, 0, 0},
  8690. {0x67, 0x72, 0x72, 1, 1},
  8691. {0x68, 0, 0, 0, 0},
  8692. {0x69, 0xa, 0xa, 0, 0},
  8693. {0x6A, 0, 0, 0, 0},
  8694. {0x6B, 0, 0, 0, 0},
  8695. {0x6C, 0, 0, 0, 0},
  8696. {0x6D, 0, 0, 0, 0},
  8697. {0x6E, 0, 0, 0, 0},
  8698. {0x6F, 0, 0, 0, 0},
  8699. {0x70, 0, 0, 0, 0},
  8700. {0x71, 0x2, 0x2, 0, 0},
  8701. {0x72, 0, 0, 0, 0},
  8702. {0x73, 0, 0, 0, 0},
  8703. {0x74, 0xe, 0xe, 0, 0},
  8704. {0x75, 0xe, 0xe, 0, 0},
  8705. {0x76, 0xe, 0xe, 0, 0},
  8706. {0x77, 0x13, 0x13, 0, 0},
  8707. {0x78, 0x13, 0x13, 0, 0},
  8708. {0x79, 0x1b, 0x1b, 0, 0},
  8709. {0x7A, 0x1b, 0x1b, 0, 0},
  8710. {0x7B, 0x55, 0x55, 0, 0},
  8711. {0x7C, 0x5b, 0x5b, 0, 0},
  8712. {0x7D, 0, 0, 0, 0},
  8713. {0x7E, 0, 0, 0, 0},
  8714. {0x7F, 0, 0, 0, 0},
  8715. {0x80, 0, 0, 0, 0},
  8716. {0x81, 0, 0, 0, 0},
  8717. {0x82, 0, 0, 0, 0},
  8718. {0x83, 0, 0, 0, 0},
  8719. {0x84, 0, 0, 0, 0},
  8720. {0x85, 0, 0, 0, 0},
  8721. {0x86, 0, 0, 0, 0},
  8722. {0x87, 0, 0, 0, 0},
  8723. {0x88, 0, 0, 0, 0},
  8724. {0x89, 0, 0, 0, 0},
  8725. {0x8A, 0, 0, 0, 0},
  8726. {0x8B, 0, 0, 0, 0},
  8727. {0x8C, 0, 0, 0, 0},
  8728. {0x8D, 0, 0, 0, 0},
  8729. {0x8E, 0, 0, 0, 0},
  8730. {0x8F, 0, 0, 0, 0},
  8731. {0x90, 0, 0, 0, 0},
  8732. {0x91, 0, 0, 0, 0},
  8733. {0x92, 0, 0, 0, 0},
  8734. {0xFFFF, 0, 0, 0, 0}
  8735. };
  8736. static struct radio_regs regs_RX_2056_A1[] = {
  8737. {0x02, 0, 0, 0, 0},
  8738. {0x03, 0, 0, 0, 0},
  8739. {0x04, 0, 0, 0, 0},
  8740. {0x05, 0, 0, 0, 0},
  8741. {0x06, 0, 0, 0, 0},
  8742. {0x07, 0, 0, 0, 0},
  8743. {0x08, 0, 0, 0, 0},
  8744. {0x09, 0, 0, 0, 0},
  8745. {0x0A, 0, 0, 0, 0},
  8746. {0x0B, 0, 0, 0, 0},
  8747. {0x0C, 0, 0, 0, 0},
  8748. {0x0D, 0, 0, 0, 0},
  8749. {0x0E, 0, 0, 0, 0},
  8750. {0x0F, 0, 0, 0, 0},
  8751. {0x10, 0, 0, 0, 0},
  8752. {0x11, 0, 0, 0, 0},
  8753. {0x12, 0, 0, 0, 0},
  8754. {0x13, 0, 0, 0, 0},
  8755. {0x14, 0, 0, 0, 0},
  8756. {0x15, 0, 0, 0, 0},
  8757. {0x16, 0, 0, 0, 0},
  8758. {0x17, 0, 0, 0, 0},
  8759. {0x18, 0, 0, 0, 0},
  8760. {0x19, 0, 0, 0, 0},
  8761. {0x1A, 0, 0, 0, 0},
  8762. {0x1B, 0, 0, 0, 0},
  8763. {0x1C, 0, 0, 0, 0},
  8764. {0x1D, 0, 0, 0, 0},
  8765. {0x1E, 0, 0, 0, 0},
  8766. {0x1F, 0, 0, 0, 0},
  8767. {0x20, 0x3, 0x3, 0, 0},
  8768. {0x21, 0, 0, 0, 0},
  8769. {0x22, 0, 0, 0, 0},
  8770. {0x23, 0x90, 0x90, 0, 0},
  8771. {0x24, 0x55, 0x55, 0, 0},
  8772. {0x25, 0x15, 0x15, 0, 0},
  8773. {0x26, 0x5, 0x5, 0, 0},
  8774. {0x27, 0x15, 0x15, 0, 0},
  8775. {0x28, 0x5, 0x5, 0, 0},
  8776. {0x29, 0x20, 0x20, 0, 0},
  8777. {0x2A, 0x11, 0x11, 0, 0},
  8778. {0x2B, 0x90, 0x90, 0, 0},
  8779. {0x2C, 0, 0, 0, 0},
  8780. {0x2D, 0x88, 0x88, 0, 0},
  8781. {0x2E, 0x32, 0x32, 0, 0},
  8782. {0x2F, 0x77, 0x77, 0, 0},
  8783. {0x30, 0x17, 0x17, 1, 1},
  8784. {0x31, 0xff, 0xff, 1, 1},
  8785. {0x32, 0x20, 0x20, 0, 0},
  8786. {0x33, 0, 0, 0, 0},
  8787. {0x34, 0x88, 0x88, 0, 0},
  8788. {0x35, 0x32, 0x32, 0, 0},
  8789. {0x36, 0x77, 0x77, 0, 0},
  8790. {0x37, 0x17, 0x17, 1, 1},
  8791. {0x38, 0xf0, 0xf0, 1, 1},
  8792. {0x39, 0x20, 0x20, 0, 0},
  8793. {0x3A, 0x8, 0x8, 0, 0},
  8794. {0x3B, 0x55, 0x55, 1, 1},
  8795. {0x3C, 0, 0, 0, 0},
  8796. {0x3D, 0x44, 0x44, 1, 1},
  8797. {0x3E, 0, 0, 0, 0},
  8798. {0x3F, 0x44, 0x44, 0, 0},
  8799. {0x40, 0xf, 0xf, 1, 1},
  8800. {0x41, 0x6, 0x6, 0, 0},
  8801. {0x42, 0x4, 0x4, 0, 0},
  8802. {0x43, 0x50, 0x50, 1, 1},
  8803. {0x44, 0x8, 0x8, 0, 0},
  8804. {0x45, 0x55, 0x55, 1, 1},
  8805. {0x46, 0, 0, 0, 0},
  8806. {0x47, 0x11, 0x11, 0, 0},
  8807. {0x48, 0, 0, 0, 0},
  8808. {0x49, 0x44, 0x44, 0, 0},
  8809. {0x4A, 0x7, 0x7, 0, 0},
  8810. {0x4B, 0x6, 0x6, 0, 0},
  8811. {0x4C, 0x4, 0x4, 0, 0},
  8812. {0x4D, 0, 0, 0, 0},
  8813. {0x4E, 0, 0, 0, 0},
  8814. {0x4F, 0x26, 0x26, 1, 1},
  8815. {0x50, 0x26, 0x26, 1, 1},
  8816. {0x51, 0xf, 0xf, 1, 1},
  8817. {0x52, 0xf, 0xf, 1, 1},
  8818. {0x53, 0x44, 0x44, 0, 0},
  8819. {0x54, 0, 0, 0, 0},
  8820. {0x55, 0, 0, 0, 0},
  8821. {0x56, 0x8, 0x8, 0, 0},
  8822. {0x57, 0x8, 0x8, 0, 0},
  8823. {0x58, 0x7, 0x7, 0, 0},
  8824. {0x59, 0x22, 0x22, 0, 0},
  8825. {0x5A, 0x22, 0x22, 0, 0},
  8826. {0x5B, 0x2, 0x2, 0, 0},
  8827. {0x5C, 0x2f, 0x2f, 1, 1},
  8828. {0x5D, 0x7, 0x7, 0, 0},
  8829. {0x5E, 0x55, 0x55, 0, 0},
  8830. {0x5F, 0x23, 0x23, 0, 0},
  8831. {0x60, 0x41, 0x41, 0, 0},
  8832. {0x61, 0x1, 0x1, 0, 0},
  8833. {0x62, 0xa, 0xa, 0, 0},
  8834. {0x63, 0, 0, 0, 0},
  8835. {0x64, 0, 0, 0, 0},
  8836. {0x65, 0, 0, 0, 0},
  8837. {0x66, 0, 0, 0, 0},
  8838. {0x67, 0, 0, 0, 0},
  8839. {0x68, 0, 0, 0, 0},
  8840. {0x69, 0, 0, 0, 0},
  8841. {0x6A, 0, 0, 0, 0},
  8842. {0x6B, 0xc, 0xc, 0, 0},
  8843. {0x6C, 0, 0, 0, 0},
  8844. {0x6D, 0, 0, 0, 0},
  8845. {0x6E, 0, 0, 0, 0},
  8846. {0x6F, 0, 0, 0, 0},
  8847. {0x70, 0, 0, 0, 0},
  8848. {0x71, 0, 0, 0, 0},
  8849. {0x72, 0x22, 0x22, 0, 0},
  8850. {0x73, 0x22, 0x22, 0, 0},
  8851. {0x74, 0, 0, 1, 1},
  8852. {0x75, 0xa, 0xa, 0, 0},
  8853. {0x76, 0x1, 0x1, 0, 0},
  8854. {0x77, 0x22, 0x22, 0, 0},
  8855. {0x78, 0x30, 0x30, 0, 0},
  8856. {0x79, 0, 0, 0, 0},
  8857. {0x7A, 0, 0, 0, 0},
  8858. {0x7B, 0, 0, 0, 0},
  8859. {0x7C, 0, 0, 0, 0},
  8860. {0x7D, 0, 0, 0, 0},
  8861. {0x7E, 0, 0, 0, 0},
  8862. {0x7F, 0, 0, 0, 0},
  8863. {0x80, 0, 0, 0, 0},
  8864. {0x81, 0, 0, 0, 0},
  8865. {0x82, 0, 0, 0, 0},
  8866. {0x83, 0, 0, 0, 0},
  8867. {0x84, 0, 0, 0, 0},
  8868. {0x85, 0, 0, 0, 0},
  8869. {0x86, 0, 0, 0, 0},
  8870. {0x87, 0, 0, 0, 0},
  8871. {0x88, 0, 0, 0, 0},
  8872. {0x89, 0, 0, 0, 0},
  8873. {0x8A, 0, 0, 0, 0},
  8874. {0x8B, 0, 0, 0, 0},
  8875. {0x8C, 0, 0, 0, 0},
  8876. {0x8D, 0, 0, 0, 0},
  8877. {0x8E, 0, 0, 0, 0},
  8878. {0x8F, 0, 0, 0, 0},
  8879. {0x90, 0, 0, 0, 0},
  8880. {0x91, 0, 0, 0, 0},
  8881. {0x92, 0, 0, 0, 0},
  8882. {0x93, 0, 0, 0, 0},
  8883. {0x94, 0, 0, 0, 0},
  8884. {0xFFFF, 0, 0, 0, 0}
  8885. };
  8886. static struct radio_regs regs_SYN_2056_rev5[] = {
  8887. {0x02, 0, 0, 0, 0},
  8888. {0x03, 0, 0, 0, 0},
  8889. {0x04, 0, 0, 0, 0},
  8890. {0x05, 0, 0, 0, 0},
  8891. {0x06, 0, 0, 0, 0},
  8892. {0x07, 0, 0, 0, 0},
  8893. {0x08, 0, 0, 0, 0},
  8894. {0x09, 0x1, 0x1, 0, 0},
  8895. {0x0A, 0, 0, 0, 0},
  8896. {0x0B, 0, 0, 0, 0},
  8897. {0x0C, 0, 0, 0, 0},
  8898. {0x0D, 0, 0, 0, 0},
  8899. {0x0E, 0, 0, 0, 0},
  8900. {0x0F, 0, 0, 0, 0},
  8901. {0x10, 0, 0, 0, 0},
  8902. {0x11, 0, 0, 0, 0},
  8903. {0x12, 0, 0, 0, 0},
  8904. {0x13, 0, 0, 0, 0},
  8905. {0x14, 0, 0, 0, 0},
  8906. {0x15, 0, 0, 0, 0},
  8907. {0x16, 0, 0, 0, 0},
  8908. {0x17, 0, 0, 0, 0},
  8909. {0x18, 0, 0, 0, 0},
  8910. {0x19, 0, 0, 0, 0},
  8911. {0x1A, 0, 0, 0, 0},
  8912. {0x1B, 0, 0, 0, 0},
  8913. {0x1C, 0, 0, 0, 0},
  8914. {0x1D, 0, 0, 0, 0},
  8915. {0x1E, 0, 0, 0, 0},
  8916. {0x1F, 0, 0, 0, 0},
  8917. {0x20, 0, 0, 0, 0},
  8918. {0x21, 0, 0, 0, 0},
  8919. {0x22, 0x60, 0x60, 0, 0},
  8920. {0x23, 0x6, 0x6, 0, 0},
  8921. {0x24, 0xc, 0xc, 0, 0},
  8922. {0x25, 0, 0, 0, 0},
  8923. {0x26, 0, 0, 0, 0},
  8924. {0x27, 0, 0, 0, 0},
  8925. {0x28, 0x1, 0x1, 0, 0},
  8926. {0x29, 0, 0, 0, 0},
  8927. {0x2A, 0, 0, 0, 0},
  8928. {0x2B, 0, 0, 0, 0},
  8929. {0x2C, 0, 0, 0, 0},
  8930. {0x2D, 0, 0, 0, 0},
  8931. {0x2E, 0, 0, 0, 0},
  8932. {0x2F, 0x1f, 0x1f, 0, 0},
  8933. {0x30, 0x15, 0x15, 0, 0},
  8934. {0x31, 0xf, 0xf, 0, 0},
  8935. {0x32, 0, 0, 0, 0},
  8936. {0x33, 0, 0, 0, 0},
  8937. {0x34, 0, 0, 0, 0},
  8938. {0x35, 0, 0, 0, 0},
  8939. {0x36, 0, 0, 0, 0},
  8940. {0x37, 0, 0, 0, 0},
  8941. {0x38, 0, 0, 0, 0},
  8942. {0x39, 0, 0, 0, 0},
  8943. {0x3A, 0, 0, 0, 0},
  8944. {0x3B, 0, 0, 0, 0},
  8945. {0x3C, 0x13, 0x13, 0, 0},
  8946. {0x3D, 0xf, 0xf, 0, 0},
  8947. {0x3E, 0x18, 0x18, 0, 0},
  8948. {0x3F, 0, 0, 0, 0},
  8949. {0x40, 0, 0, 0, 0},
  8950. {0x41, 0x20, 0x20, 0, 0},
  8951. {0x42, 0x20, 0x20, 0, 0},
  8952. {0x43, 0, 0, 0, 0},
  8953. {0x44, 0x77, 0x77, 0, 0},
  8954. {0x45, 0x7, 0x7, 0, 0},
  8955. {0x46, 0x1, 0x1, 0, 0},
  8956. {0x47, 0x4, 0x4, 0, 0},
  8957. {0x48, 0xf, 0xf, 0, 0},
  8958. {0x49, 0x30, 0x30, 0, 0},
  8959. {0x4A, 0x32, 0x32, 0, 0},
  8960. {0x4B, 0xd, 0xd, 0, 0},
  8961. {0x4C, 0xd, 0xd, 0, 0},
  8962. {0x4D, 0x4, 0x4, 0, 0},
  8963. {0x4E, 0x6, 0x6, 0, 0},
  8964. {0x4F, 0x1, 0x1, 0, 0},
  8965. {0x50, 0x1c, 0x1c, 0, 0},
  8966. {0x51, 0x2, 0x2, 0, 0},
  8967. {0x52, 0x2, 0x2, 0, 0},
  8968. {0x53, 0xf7, 0xf7, 1, 1},
  8969. {0x54, 0xb4, 0xb4, 0, 0},
  8970. {0x55, 0xd2, 0xd2, 0, 0},
  8971. {0x56, 0, 0, 0, 0},
  8972. {0x57, 0, 0, 0, 0},
  8973. {0x58, 0x4, 0x4, 0, 0},
  8974. {0x59, 0x96, 0x96, 0, 0},
  8975. {0x5A, 0x3e, 0x3e, 0, 0},
  8976. {0x5B, 0x3e, 0x3e, 0, 0},
  8977. {0x5C, 0x13, 0x13, 0, 0},
  8978. {0x5D, 0x2, 0x2, 0, 0},
  8979. {0x5E, 0, 0, 0, 0},
  8980. {0x5F, 0x7, 0x7, 0, 0},
  8981. {0x60, 0x7, 0x7, 1, 1},
  8982. {0x61, 0x8, 0x8, 0, 0},
  8983. {0x62, 0x3, 0x3, 0, 0},
  8984. {0x63, 0, 0, 0, 0},
  8985. {0x64, 0, 0, 0, 0},
  8986. {0x65, 0, 0, 0, 0},
  8987. {0x66, 0, 0, 0, 0},
  8988. {0x67, 0, 0, 0, 0},
  8989. {0x68, 0x40, 0x40, 0, 0},
  8990. {0x69, 0, 0, 0, 0},
  8991. {0x6A, 0, 0, 0, 0},
  8992. {0x6B, 0, 0, 0, 0},
  8993. {0x6C, 0, 0, 0, 0},
  8994. {0x6D, 0x1, 0x1, 0, 0},
  8995. {0x6E, 0, 0, 0, 0},
  8996. {0x6F, 0, 0, 0, 0},
  8997. {0x70, 0x60, 0x60, 0, 0},
  8998. {0x71, 0x66, 0x66, 0, 0},
  8999. {0x72, 0xc, 0xc, 0, 0},
  9000. {0x73, 0x66, 0x66, 0, 0},
  9001. {0x74, 0x8f, 0x8f, 1, 1},
  9002. {0x75, 0, 0, 0, 0},
  9003. {0x76, 0xcc, 0xcc, 0, 0},
  9004. {0x77, 0x1, 0x1, 0, 0},
  9005. {0x78, 0x66, 0x66, 0, 0},
  9006. {0x79, 0x66, 0x66, 0, 0},
  9007. {0x7A, 0, 0, 0, 0},
  9008. {0x7B, 0, 0, 0, 0},
  9009. {0x7C, 0, 0, 0, 0},
  9010. {0x7D, 0, 0, 0, 0},
  9011. {0x7E, 0, 0, 0, 0},
  9012. {0x7F, 0, 0, 0, 0},
  9013. {0x80, 0, 0, 0, 0},
  9014. {0x81, 0, 0, 0, 0},
  9015. {0x82, 0, 0, 0, 0},
  9016. {0x83, 0, 0, 0, 0},
  9017. {0x84, 0, 0, 0, 0},
  9018. {0x85, 0xff, 0xff, 0, 0},
  9019. {0x86, 0, 0, 0, 0},
  9020. {0x87, 0, 0, 0, 0},
  9021. {0x88, 0, 0, 0, 0},
  9022. {0x89, 0, 0, 0, 0},
  9023. {0x8A, 0, 0, 0, 0},
  9024. {0x8B, 0, 0, 0, 0},
  9025. {0x8C, 0, 0, 0, 0},
  9026. {0x8D, 0, 0, 0, 0},
  9027. {0x8E, 0, 0, 0, 0},
  9028. {0x8F, 0, 0, 0, 0},
  9029. {0x90, 0, 0, 0, 0},
  9030. {0x91, 0, 0, 0, 0},
  9031. {0x92, 0, 0, 0, 0},
  9032. {0x93, 0, 0, 0, 0},
  9033. {0x94, 0, 0, 0, 0},
  9034. {0x95, 0, 0, 0, 0},
  9035. {0x96, 0, 0, 0, 0},
  9036. {0x97, 0, 0, 0, 0},
  9037. {0x98, 0, 0, 0, 0},
  9038. {0x99, 0, 0, 0, 0},
  9039. {0x9A, 0, 0, 0, 0},
  9040. {0x9B, 0, 0, 0, 0},
  9041. {0x9C, 0, 0, 0, 0},
  9042. {0x9D, 0, 0, 0, 0},
  9043. {0x9E, 0, 0, 0, 0},
  9044. {0x9F, 0x6, 0x6, 0, 0},
  9045. {0xA0, 0x66, 0x66, 0, 0},
  9046. {0xA1, 0x66, 0x66, 0, 0},
  9047. {0xA2, 0x66, 0x66, 0, 0},
  9048. {0xA3, 0x66, 0x66, 0, 0},
  9049. {0xA4, 0x66, 0x66, 0, 0},
  9050. {0xA5, 0x66, 0x66, 0, 0},
  9051. {0xA6, 0x66, 0x66, 0, 0},
  9052. {0xA7, 0x66, 0x66, 0, 0},
  9053. {0xA8, 0x66, 0x66, 0, 0},
  9054. {0xA9, 0x66, 0x66, 0, 0},
  9055. {0xAA, 0x66, 0x66, 0, 0},
  9056. {0xAB, 0x66, 0x66, 0, 0},
  9057. {0xAC, 0x66, 0x66, 0, 0},
  9058. {0xAD, 0x66, 0x66, 0, 0},
  9059. {0xAE, 0x66, 0x66, 0, 0},
  9060. {0xAF, 0x66, 0x66, 0, 0},
  9061. {0xB0, 0x66, 0x66, 0, 0},
  9062. {0xB1, 0x66, 0x66, 0, 0},
  9063. {0xB2, 0x66, 0x66, 0, 0},
  9064. {0xB3, 0xa, 0xa, 0, 0},
  9065. {0xB4, 0, 0, 0, 0},
  9066. {0xB5, 0, 0, 0, 0},
  9067. {0xB6, 0, 0, 0, 0},
  9068. {0xFFFF, 0, 0, 0, 0}
  9069. };
  9070. static struct radio_regs regs_TX_2056_rev5[] = {
  9071. {0x02, 0, 0, 0, 0},
  9072. {0x03, 0, 0, 0, 0},
  9073. {0x04, 0, 0, 0, 0},
  9074. {0x05, 0, 0, 0, 0},
  9075. {0x06, 0, 0, 0, 0},
  9076. {0x07, 0, 0, 0, 0},
  9077. {0x08, 0, 0, 0, 0},
  9078. {0x09, 0, 0, 0, 0},
  9079. {0x0A, 0, 0, 0, 0},
  9080. {0x0B, 0, 0, 0, 0},
  9081. {0x0C, 0, 0, 0, 0},
  9082. {0x0D, 0, 0, 0, 0},
  9083. {0x0E, 0, 0, 0, 0},
  9084. {0x0F, 0, 0, 0, 0},
  9085. {0x10, 0, 0, 0, 0},
  9086. {0x11, 0, 0, 0, 0},
  9087. {0x12, 0, 0, 0, 0},
  9088. {0x13, 0, 0, 0, 0},
  9089. {0x14, 0, 0, 0, 0},
  9090. {0x15, 0, 0, 0, 0},
  9091. {0x16, 0, 0, 0, 0},
  9092. {0x17, 0, 0, 0, 0},
  9093. {0x18, 0, 0, 0, 0},
  9094. {0x19, 0, 0, 0, 0},
  9095. {0x1A, 0, 0, 0, 0},
  9096. {0x1B, 0, 0, 0, 0},
  9097. {0x1C, 0, 0, 0, 0},
  9098. {0x1D, 0, 0, 0, 0},
  9099. {0x1E, 0, 0, 0, 0},
  9100. {0x1F, 0, 0, 0, 0},
  9101. {0x20, 0, 0, 0, 0},
  9102. {0x21, 0x88, 0x88, 0, 0},
  9103. {0x22, 0x88, 0x88, 0, 0},
  9104. {0x23, 0x88, 0x88, 0, 0},
  9105. {0x24, 0x88, 0x88, 0, 0},
  9106. {0x25, 0xc, 0xc, 0, 0},
  9107. {0x26, 0, 0, 0, 0},
  9108. {0x27, 0x3, 0x3, 0, 0},
  9109. {0x28, 0, 0, 0, 0},
  9110. {0x29, 0x3, 0x3, 0, 0},
  9111. {0x2A, 0x37, 0x37, 0, 0},
  9112. {0x2B, 0x3, 0x3, 0, 0},
  9113. {0x2C, 0, 0, 0, 0},
  9114. {0x2D, 0, 0, 0, 0},
  9115. {0x2E, 0x1, 0x1, 0, 0},
  9116. {0x2F, 0x1, 0x1, 0, 0},
  9117. {0x30, 0, 0, 0, 0},
  9118. {0x31, 0, 0, 0, 0},
  9119. {0x32, 0, 0, 0, 0},
  9120. {0x33, 0x11, 0x11, 0, 0},
  9121. {0x34, 0x11, 0x11, 0, 0},
  9122. {0x35, 0, 0, 0, 0},
  9123. {0x36, 0, 0, 0, 0},
  9124. {0x37, 0x3, 0x3, 0, 0},
  9125. {0x38, 0xf, 0xf, 0, 0},
  9126. {0x39, 0, 0, 0, 0},
  9127. {0x3A, 0x2d, 0x2d, 0, 0},
  9128. {0x3B, 0, 0, 0, 0},
  9129. {0x3C, 0x6e, 0x6e, 0, 0},
  9130. {0x3D, 0xf0, 0xf0, 1, 1},
  9131. {0x3E, 0, 0, 0, 0},
  9132. {0x3F, 0, 0, 0, 0},
  9133. {0x40, 0, 0, 0, 0},
  9134. {0x41, 0x3, 0x3, 0, 0},
  9135. {0x42, 0x3, 0x3, 0, 0},
  9136. {0x43, 0, 0, 0, 0},
  9137. {0x44, 0x1e, 0x1e, 0, 0},
  9138. {0x45, 0, 0, 0, 0},
  9139. {0x46, 0x6e, 0x6e, 0, 0},
  9140. {0x47, 0xf0, 0xf0, 1, 1},
  9141. {0x48, 0, 0, 0, 0},
  9142. {0x49, 0x2, 0x2, 0, 0},
  9143. {0x4A, 0xff, 0xff, 1, 1},
  9144. {0x4B, 0xc, 0xc, 0, 0},
  9145. {0x4C, 0, 0, 0, 0},
  9146. {0x4D, 0x38, 0x38, 0, 0},
  9147. {0x4E, 0x70, 0x70, 1, 1},
  9148. {0x4F, 0x2, 0x2, 0, 0},
  9149. {0x50, 0x88, 0x88, 0, 0},
  9150. {0x51, 0xc, 0xc, 0, 0},
  9151. {0x52, 0, 0, 0, 0},
  9152. {0x53, 0x8, 0x8, 0, 0},
  9153. {0x54, 0x70, 0x70, 1, 1},
  9154. {0x55, 0x2, 0x2, 0, 0},
  9155. {0x56, 0xff, 0xff, 1, 1},
  9156. {0x57, 0, 0, 0, 0},
  9157. {0x58, 0x83, 0x83, 0, 0},
  9158. {0x59, 0x77, 0x77, 1, 1},
  9159. {0x5A, 0, 0, 0, 0},
  9160. {0x5B, 0x2, 0x2, 0, 0},
  9161. {0x5C, 0x88, 0x88, 0, 0},
  9162. {0x5D, 0, 0, 0, 0},
  9163. {0x5E, 0x8, 0x8, 0, 0},
  9164. {0x5F, 0x77, 0x77, 1, 1},
  9165. {0x60, 0x1, 0x1, 0, 0},
  9166. {0x61, 0, 0, 0, 0},
  9167. {0x62, 0x7, 0x7, 0, 0},
  9168. {0x63, 0, 0, 0, 0},
  9169. {0x64, 0x7, 0x7, 0, 0},
  9170. {0x65, 0, 0, 0, 0},
  9171. {0x66, 0, 0, 0, 0},
  9172. {0x67, 0, 0, 1, 1},
  9173. {0x68, 0, 0, 0, 0},
  9174. {0x69, 0xa, 0xa, 0, 0},
  9175. {0x6A, 0, 0, 0, 0},
  9176. {0x6B, 0, 0, 0, 0},
  9177. {0x6C, 0, 0, 0, 0},
  9178. {0x6D, 0, 0, 0, 0},
  9179. {0x6E, 0, 0, 0, 0},
  9180. {0x6F, 0, 0, 0, 0},
  9181. {0x70, 0, 0, 0, 0},
  9182. {0x71, 0x2, 0x2, 0, 0},
  9183. {0x72, 0, 0, 0, 0},
  9184. {0x73, 0, 0, 0, 0},
  9185. {0x74, 0xe, 0xe, 0, 0},
  9186. {0x75, 0xe, 0xe, 0, 0},
  9187. {0x76, 0xe, 0xe, 0, 0},
  9188. {0x77, 0x13, 0x13, 0, 0},
  9189. {0x78, 0x13, 0x13, 0, 0},
  9190. {0x79, 0x1b, 0x1b, 0, 0},
  9191. {0x7A, 0x1b, 0x1b, 0, 0},
  9192. {0x7B, 0x55, 0x55, 0, 0},
  9193. {0x7C, 0x5b, 0x5b, 0, 0},
  9194. {0x7D, 0, 0, 0, 0},
  9195. {0x7E, 0, 0, 0, 0},
  9196. {0x7F, 0, 0, 0, 0},
  9197. {0x80, 0, 0, 0, 0},
  9198. {0x81, 0, 0, 0, 0},
  9199. {0x82, 0, 0, 0, 0},
  9200. {0x83, 0, 0, 0, 0},
  9201. {0x84, 0, 0, 0, 0},
  9202. {0x85, 0, 0, 0, 0},
  9203. {0x86, 0, 0, 0, 0},
  9204. {0x87, 0, 0, 0, 0},
  9205. {0x88, 0, 0, 0, 0},
  9206. {0x89, 0, 0, 0, 0},
  9207. {0x8A, 0, 0, 0, 0},
  9208. {0x8B, 0, 0, 0, 0},
  9209. {0x8C, 0, 0, 0, 0},
  9210. {0x8D, 0, 0, 0, 0},
  9211. {0x8E, 0, 0, 0, 0},
  9212. {0x8F, 0, 0, 0, 0},
  9213. {0x90, 0, 0, 0, 0},
  9214. {0x91, 0, 0, 0, 0},
  9215. {0x92, 0, 0, 0, 0},
  9216. {0x93, 0x70, 0x70, 0, 0},
  9217. {0x94, 0x70, 0x70, 0, 0},
  9218. {0x95, 0x71, 0x71, 1, 1},
  9219. {0x96, 0x71, 0x71, 1, 1},
  9220. {0x97, 0x72, 0x72, 1, 1},
  9221. {0x98, 0x73, 0x73, 1, 1},
  9222. {0x99, 0x74, 0x74, 1, 1},
  9223. {0x9A, 0x75, 0x75, 1, 1},
  9224. {0xFFFF, 0, 0, 0, 0}
  9225. };
  9226. static struct radio_regs regs_RX_2056_rev5[] = {
  9227. {0x02, 0, 0, 0, 0},
  9228. {0x03, 0, 0, 0, 0},
  9229. {0x04, 0, 0, 0, 0},
  9230. {0x05, 0, 0, 0, 0},
  9231. {0x06, 0, 0, 0, 0},
  9232. {0x07, 0, 0, 0, 0},
  9233. {0x08, 0, 0, 0, 0},
  9234. {0x09, 0, 0, 0, 0},
  9235. {0x0A, 0, 0, 0, 0},
  9236. {0x0B, 0, 0, 0, 0},
  9237. {0x0C, 0, 0, 0, 0},
  9238. {0x0D, 0, 0, 0, 0},
  9239. {0x0E, 0, 0, 0, 0},
  9240. {0x0F, 0, 0, 0, 0},
  9241. {0x10, 0, 0, 0, 0},
  9242. {0x11, 0, 0, 0, 0},
  9243. {0x12, 0, 0, 0, 0},
  9244. {0x13, 0, 0, 0, 0},
  9245. {0x14, 0, 0, 0, 0},
  9246. {0x15, 0, 0, 0, 0},
  9247. {0x16, 0, 0, 0, 0},
  9248. {0x17, 0, 0, 0, 0},
  9249. {0x18, 0, 0, 0, 0},
  9250. {0x19, 0, 0, 0, 0},
  9251. {0x1A, 0, 0, 0, 0},
  9252. {0x1B, 0, 0, 0, 0},
  9253. {0x1C, 0, 0, 0, 0},
  9254. {0x1D, 0, 0, 0, 0},
  9255. {0x1E, 0, 0, 0, 0},
  9256. {0x1F, 0, 0, 0, 0},
  9257. {0x20, 0x3, 0x3, 0, 0},
  9258. {0x21, 0, 0, 0, 0},
  9259. {0x22, 0, 0, 0, 0},
  9260. {0x23, 0x90, 0x90, 0, 0},
  9261. {0x24, 0x55, 0x55, 0, 0},
  9262. {0x25, 0x15, 0x15, 0, 0},
  9263. {0x26, 0x5, 0x5, 0, 0},
  9264. {0x27, 0x15, 0x15, 0, 0},
  9265. {0x28, 0x5, 0x5, 0, 0},
  9266. {0x29, 0x20, 0x20, 0, 0},
  9267. {0x2A, 0x11, 0x11, 0, 0},
  9268. {0x2B, 0x90, 0x90, 0, 0},
  9269. {0x2C, 0, 0, 0, 0},
  9270. {0x2D, 0x88, 0x88, 0, 0},
  9271. {0x2E, 0x32, 0x32, 0, 0},
  9272. {0x2F, 0x77, 0x77, 0, 0},
  9273. {0x30, 0x17, 0x17, 1, 1},
  9274. {0x31, 0xff, 0xff, 1, 1},
  9275. {0x32, 0x20, 0x20, 0, 0},
  9276. {0x33, 0, 0, 0, 0},
  9277. {0x34, 0x88, 0x88, 0, 0},
  9278. {0x35, 0x32, 0x32, 0, 0},
  9279. {0x36, 0x77, 0x77, 0, 0},
  9280. {0x37, 0x17, 0x17, 1, 1},
  9281. {0x38, 0xf0, 0xf0, 1, 1},
  9282. {0x39, 0x20, 0x20, 0, 0},
  9283. {0x3A, 0x8, 0x8, 0, 0},
  9284. {0x3B, 0x55, 0x55, 1, 1},
  9285. {0x3C, 0, 0, 0, 0},
  9286. {0x3D, 0x88, 0x88, 1, 1},
  9287. {0x3E, 0, 0, 0, 0},
  9288. {0x3F, 0, 0, 1, 1},
  9289. {0x40, 0x7, 0x7, 1, 1},
  9290. {0x41, 0x6, 0x6, 0, 0},
  9291. {0x42, 0x4, 0x4, 0, 0},
  9292. {0x43, 0, 0, 0, 0},
  9293. {0x44, 0x8, 0x8, 0, 0},
  9294. {0x45, 0x55, 0x55, 1, 1},
  9295. {0x46, 0, 0, 0, 0},
  9296. {0x47, 0x11, 0x11, 0, 0},
  9297. {0x48, 0, 0, 0, 0},
  9298. {0x49, 0, 0, 1, 1},
  9299. {0x4A, 0x7, 0x7, 0, 0},
  9300. {0x4B, 0x6, 0x6, 0, 0},
  9301. {0x4C, 0x4, 0x4, 0, 0},
  9302. {0x4D, 0, 0, 0, 0},
  9303. {0x4E, 0, 0, 0, 0},
  9304. {0x4F, 0x26, 0x26, 1, 1},
  9305. {0x50, 0x26, 0x26, 1, 1},
  9306. {0x51, 0xf, 0xf, 1, 1},
  9307. {0x52, 0xf, 0xf, 1, 1},
  9308. {0x53, 0x44, 0x44, 0, 0},
  9309. {0x54, 0, 0, 0, 0},
  9310. {0x55, 0, 0, 0, 0},
  9311. {0x56, 0x8, 0x8, 0, 0},
  9312. {0x57, 0x8, 0x8, 0, 0},
  9313. {0x58, 0x7, 0x7, 0, 0},
  9314. {0x59, 0x22, 0x22, 0, 0},
  9315. {0x5A, 0x22, 0x22, 0, 0},
  9316. {0x5B, 0x2, 0x2, 0, 0},
  9317. {0x5C, 0x4, 0x4, 1, 1},
  9318. {0x5D, 0x7, 0x7, 0, 0},
  9319. {0x5E, 0x55, 0x55, 0, 0},
  9320. {0x5F, 0x23, 0x23, 0, 0},
  9321. {0x60, 0x41, 0x41, 0, 0},
  9322. {0x61, 0x1, 0x1, 0, 0},
  9323. {0x62, 0xa, 0xa, 0, 0},
  9324. {0x63, 0, 0, 0, 0},
  9325. {0x64, 0, 0, 0, 0},
  9326. {0x65, 0, 0, 0, 0},
  9327. {0x66, 0, 0, 0, 0},
  9328. {0x67, 0, 0, 0, 0},
  9329. {0x68, 0, 0, 0, 0},
  9330. {0x69, 0, 0, 0, 0},
  9331. {0x6A, 0, 0, 0, 0},
  9332. {0x6B, 0xc, 0xc, 0, 0},
  9333. {0x6C, 0, 0, 0, 0},
  9334. {0x6D, 0, 0, 0, 0},
  9335. {0x6E, 0, 0, 0, 0},
  9336. {0x6F, 0, 0, 0, 0},
  9337. {0x70, 0, 0, 0, 0},
  9338. {0x71, 0, 0, 0, 0},
  9339. {0x72, 0x22, 0x22, 0, 0},
  9340. {0x73, 0x22, 0x22, 0, 0},
  9341. {0x74, 0, 0, 1, 1},
  9342. {0x75, 0xa, 0xa, 0, 0},
  9343. {0x76, 0x1, 0x1, 0, 0},
  9344. {0x77, 0x22, 0x22, 0, 0},
  9345. {0x78, 0x30, 0x30, 0, 0},
  9346. {0x79, 0, 0, 0, 0},
  9347. {0x7A, 0, 0, 0, 0},
  9348. {0x7B, 0, 0, 0, 0},
  9349. {0x7C, 0, 0, 0, 0},
  9350. {0x7D, 0, 0, 0, 0},
  9351. {0x7E, 0, 0, 0, 0},
  9352. {0x7F, 0, 0, 0, 0},
  9353. {0x80, 0, 0, 0, 0},
  9354. {0x81, 0, 0, 0, 0},
  9355. {0x82, 0, 0, 0, 0},
  9356. {0x83, 0, 0, 0, 0},
  9357. {0x84, 0, 0, 0, 0},
  9358. {0x85, 0, 0, 0, 0},
  9359. {0x86, 0, 0, 0, 0},
  9360. {0x87, 0, 0, 0, 0},
  9361. {0x88, 0, 0, 0, 0},
  9362. {0x89, 0, 0, 0, 0},
  9363. {0x8A, 0, 0, 0, 0},
  9364. {0x8B, 0, 0, 0, 0},
  9365. {0x8C, 0, 0, 0, 0},
  9366. {0x8D, 0, 0, 0, 0},
  9367. {0x8E, 0, 0, 0, 0},
  9368. {0x8F, 0, 0, 0, 0},
  9369. {0x90, 0, 0, 0, 0},
  9370. {0x91, 0, 0, 0, 0},
  9371. {0x92, 0, 0, 0, 0},
  9372. {0x93, 0, 0, 0, 0},
  9373. {0x94, 0, 0, 0, 0},
  9374. {0xFFFF, 0, 0, 0, 0}
  9375. };
  9376. static struct radio_regs regs_SYN_2056_rev6[] = {
  9377. {0x02, 0, 0, 0, 0},
  9378. {0x03, 0, 0, 0, 0},
  9379. {0x04, 0, 0, 0, 0},
  9380. {0x05, 0, 0, 0, 0},
  9381. {0x06, 0, 0, 0, 0},
  9382. {0x07, 0, 0, 0, 0},
  9383. {0x08, 0, 0, 0, 0},
  9384. {0x09, 0x1, 0x1, 0, 0},
  9385. {0x0A, 0, 0, 0, 0},
  9386. {0x0B, 0, 0, 0, 0},
  9387. {0x0C, 0, 0, 0, 0},
  9388. {0x0D, 0, 0, 0, 0},
  9389. {0x0E, 0, 0, 0, 0},
  9390. {0x0F, 0, 0, 0, 0},
  9391. {0x10, 0, 0, 0, 0},
  9392. {0x11, 0, 0, 0, 0},
  9393. {0x12, 0, 0, 0, 0},
  9394. {0x13, 0, 0, 0, 0},
  9395. {0x14, 0, 0, 0, 0},
  9396. {0x15, 0, 0, 0, 0},
  9397. {0x16, 0, 0, 0, 0},
  9398. {0x17, 0, 0, 0, 0},
  9399. {0x18, 0, 0, 0, 0},
  9400. {0x19, 0, 0, 0, 0},
  9401. {0x1A, 0, 0, 0, 0},
  9402. {0x1B, 0, 0, 0, 0},
  9403. {0x1C, 0, 0, 0, 0},
  9404. {0x1D, 0, 0, 0, 0},
  9405. {0x1E, 0, 0, 0, 0},
  9406. {0x1F, 0, 0, 0, 0},
  9407. {0x20, 0, 0, 0, 0},
  9408. {0x21, 0, 0, 0, 0},
  9409. {0x22, 0x60, 0x60, 0, 0},
  9410. {0x23, 0x6, 0x6, 0, 0},
  9411. {0x24, 0xc, 0xc, 0, 0},
  9412. {0x25, 0, 0, 0, 0},
  9413. {0x26, 0, 0, 0, 0},
  9414. {0x27, 0, 0, 0, 0},
  9415. {0x28, 0x1, 0x1, 0, 0},
  9416. {0x29, 0, 0, 0, 0},
  9417. {0x2A, 0, 0, 0, 0},
  9418. {0x2B, 0, 0, 0, 0},
  9419. {0x2C, 0, 0, 0, 0},
  9420. {0x2D, 0, 0, 0, 0},
  9421. {0x2E, 0, 0, 0, 0},
  9422. {0x2F, 0x1f, 0x1f, 0, 0},
  9423. {0x30, 0x15, 0x15, 0, 0},
  9424. {0x31, 0xf, 0xf, 0, 0},
  9425. {0x32, 0, 0, 0, 0},
  9426. {0x33, 0, 0, 0, 0},
  9427. {0x34, 0, 0, 0, 0},
  9428. {0x35, 0, 0, 0, 0},
  9429. {0x36, 0, 0, 0, 0},
  9430. {0x37, 0, 0, 0, 0},
  9431. {0x38, 0, 0, 0, 0},
  9432. {0x39, 0, 0, 0, 0},
  9433. {0x3A, 0, 0, 0, 0},
  9434. {0x3B, 0, 0, 0, 0},
  9435. {0x3C, 0x13, 0x13, 0, 0},
  9436. {0x3D, 0xf, 0xf, 0, 0},
  9437. {0x3E, 0x18, 0x18, 0, 0},
  9438. {0x3F, 0, 0, 0, 0},
  9439. {0x40, 0, 0, 0, 0},
  9440. {0x41, 0x20, 0x20, 0, 0},
  9441. {0x42, 0x20, 0x20, 0, 0},
  9442. {0x43, 0, 0, 0, 0},
  9443. {0x44, 0x77, 0x77, 0, 0},
  9444. {0x45, 0x7, 0x7, 0, 0},
  9445. {0x46, 0x1, 0x1, 0, 0},
  9446. {0x47, 0x4, 0x4, 0, 0},
  9447. {0x48, 0xf, 0xf, 0, 0},
  9448. {0x49, 0x30, 0x30, 0, 0},
  9449. {0x4A, 0x32, 0x32, 0, 0},
  9450. {0x4B, 0xd, 0xd, 0, 0},
  9451. {0x4C, 0xd, 0xd, 0, 0},
  9452. {0x4D, 0x4, 0x4, 0, 0},
  9453. {0x4E, 0x6, 0x6, 0, 0},
  9454. {0x4F, 0x1, 0x1, 0, 0},
  9455. {0x50, 0x1c, 0x1c, 0, 0},
  9456. {0x51, 0x2, 0x2, 0, 0},
  9457. {0x52, 0x2, 0x2, 0, 0},
  9458. {0x53, 0xf7, 0xf7, 1, 1},
  9459. {0x54, 0xb4, 0xb4, 0, 0},
  9460. {0x55, 0xd2, 0xd2, 0, 0},
  9461. {0x56, 0, 0, 0, 0},
  9462. {0x57, 0, 0, 0, 0},
  9463. {0x58, 0x4, 0x4, 0, 0},
  9464. {0x59, 0x96, 0x96, 0, 0},
  9465. {0x5A, 0x3e, 0x3e, 0, 0},
  9466. {0x5B, 0x3e, 0x3e, 0, 0},
  9467. {0x5C, 0x13, 0x13, 0, 0},
  9468. {0x5D, 0x2, 0x2, 0, 0},
  9469. {0x5E, 0, 0, 0, 0},
  9470. {0x5F, 0x7, 0x7, 0, 0},
  9471. {0x60, 0x7, 0x7, 1, 1},
  9472. {0x61, 0x8, 0x8, 0, 0},
  9473. {0x62, 0x3, 0x3, 0, 0},
  9474. {0x63, 0, 0, 0, 0},
  9475. {0x64, 0, 0, 0, 0},
  9476. {0x65, 0, 0, 0, 0},
  9477. {0x66, 0, 0, 0, 0},
  9478. {0x67, 0, 0, 0, 0},
  9479. {0x68, 0x40, 0x40, 0, 0},
  9480. {0x69, 0, 0, 0, 0},
  9481. {0x6A, 0, 0, 0, 0},
  9482. {0x6B, 0, 0, 0, 0},
  9483. {0x6C, 0, 0, 0, 0},
  9484. {0x6D, 0x1, 0x1, 0, 0},
  9485. {0x6E, 0, 0, 0, 0},
  9486. {0x6F, 0, 0, 0, 0},
  9487. {0x70, 0x60, 0x60, 0, 0},
  9488. {0x71, 0x66, 0x66, 0, 0},
  9489. {0x72, 0xc, 0xc, 0, 0},
  9490. {0x73, 0x66, 0x66, 0, 0},
  9491. {0x74, 0x8f, 0x8f, 1, 1},
  9492. {0x75, 0, 0, 0, 0},
  9493. {0x76, 0xcc, 0xcc, 0, 0},
  9494. {0x77, 0x1, 0x1, 0, 0},
  9495. {0x78, 0x66, 0x66, 0, 0},
  9496. {0x79, 0x66, 0x66, 0, 0},
  9497. {0x7A, 0, 0, 0, 0},
  9498. {0x7B, 0, 0, 0, 0},
  9499. {0x7C, 0, 0, 0, 0},
  9500. {0x7D, 0, 0, 0, 0},
  9501. {0x7E, 0, 0, 0, 0},
  9502. {0x7F, 0, 0, 0, 0},
  9503. {0x80, 0, 0, 0, 0},
  9504. {0x81, 0, 0, 0, 0},
  9505. {0x82, 0, 0, 0, 0},
  9506. {0x83, 0, 0, 0, 0},
  9507. {0x84, 0, 0, 0, 0},
  9508. {0x85, 0xff, 0xff, 0, 0},
  9509. {0x86, 0, 0, 0, 0},
  9510. {0x87, 0, 0, 0, 0},
  9511. {0x88, 0, 0, 0, 0},
  9512. {0x89, 0, 0, 0, 0},
  9513. {0x8A, 0, 0, 0, 0},
  9514. {0x8B, 0, 0, 0, 0},
  9515. {0x8C, 0, 0, 0, 0},
  9516. {0x8D, 0, 0, 0, 0},
  9517. {0x8E, 0, 0, 0, 0},
  9518. {0x8F, 0, 0, 0, 0},
  9519. {0x90, 0, 0, 0, 0},
  9520. {0x91, 0, 0, 0, 0},
  9521. {0x92, 0, 0, 0, 0},
  9522. {0x93, 0, 0, 0, 0},
  9523. {0x94, 0, 0, 0, 0},
  9524. {0x95, 0, 0, 0, 0},
  9525. {0x96, 0, 0, 0, 0},
  9526. {0x97, 0, 0, 0, 0},
  9527. {0x98, 0, 0, 0, 0},
  9528. {0x99, 0, 0, 0, 0},
  9529. {0x9A, 0, 0, 0, 0},
  9530. {0x9B, 0, 0, 0, 0},
  9531. {0x9C, 0, 0, 0, 0},
  9532. {0x9D, 0, 0, 0, 0},
  9533. {0x9E, 0, 0, 0, 0},
  9534. {0x9F, 0x6, 0x6, 0, 0},
  9535. {0xA0, 0x66, 0x66, 0, 0},
  9536. {0xA1, 0x66, 0x66, 0, 0},
  9537. {0xA2, 0x66, 0x66, 0, 0},
  9538. {0xA3, 0x66, 0x66, 0, 0},
  9539. {0xA4, 0x66, 0x66, 0, 0},
  9540. {0xA5, 0x66, 0x66, 0, 0},
  9541. {0xA6, 0x66, 0x66, 0, 0},
  9542. {0xA7, 0x66, 0x66, 0, 0},
  9543. {0xA8, 0x66, 0x66, 0, 0},
  9544. {0xA9, 0x66, 0x66, 0, 0},
  9545. {0xAA, 0x66, 0x66, 0, 0},
  9546. {0xAB, 0x66, 0x66, 0, 0},
  9547. {0xAC, 0x66, 0x66, 0, 0},
  9548. {0xAD, 0x66, 0x66, 0, 0},
  9549. {0xAE, 0x66, 0x66, 0, 0},
  9550. {0xAF, 0x66, 0x66, 0, 0},
  9551. {0xB0, 0x66, 0x66, 0, 0},
  9552. {0xB1, 0x66, 0x66, 0, 0},
  9553. {0xB2, 0x66, 0x66, 0, 0},
  9554. {0xB3, 0xa, 0xa, 0, 0},
  9555. {0xB4, 0, 0, 0, 0},
  9556. {0xB5, 0, 0, 0, 0},
  9557. {0xB6, 0, 0, 0, 0},
  9558. {0xFFFF, 0, 0, 0, 0}
  9559. };
  9560. static struct radio_regs regs_TX_2056_rev6[] = {
  9561. {0x02, 0, 0, 0, 0},
  9562. {0x03, 0, 0, 0, 0},
  9563. {0x04, 0, 0, 0, 0},
  9564. {0x05, 0, 0, 0, 0},
  9565. {0x06, 0, 0, 0, 0},
  9566. {0x07, 0, 0, 0, 0},
  9567. {0x08, 0, 0, 0, 0},
  9568. {0x09, 0, 0, 0, 0},
  9569. {0x0A, 0, 0, 0, 0},
  9570. {0x0B, 0, 0, 0, 0},
  9571. {0x0C, 0, 0, 0, 0},
  9572. {0x0D, 0, 0, 0, 0},
  9573. {0x0E, 0, 0, 0, 0},
  9574. {0x0F, 0, 0, 0, 0},
  9575. {0x10, 0, 0, 0, 0},
  9576. {0x11, 0, 0, 0, 0},
  9577. {0x12, 0, 0, 0, 0},
  9578. {0x13, 0, 0, 0, 0},
  9579. {0x14, 0, 0, 0, 0},
  9580. {0x15, 0, 0, 0, 0},
  9581. {0x16, 0, 0, 0, 0},
  9582. {0x17, 0, 0, 0, 0},
  9583. {0x18, 0, 0, 0, 0},
  9584. {0x19, 0, 0, 0, 0},
  9585. {0x1A, 0, 0, 0, 0},
  9586. {0x1B, 0, 0, 0, 0},
  9587. {0x1C, 0, 0, 0, 0},
  9588. {0x1D, 0, 0, 0, 0},
  9589. {0x1E, 0, 0, 0, 0},
  9590. {0x1F, 0, 0, 0, 0},
  9591. {0x20, 0, 0, 0, 0},
  9592. {0x21, 0x88, 0x88, 0, 0},
  9593. {0x22, 0x88, 0x88, 0, 0},
  9594. {0x23, 0x88, 0x88, 0, 0},
  9595. {0x24, 0x88, 0x88, 0, 0},
  9596. {0x25, 0xc, 0xc, 0, 0},
  9597. {0x26, 0, 0, 0, 0},
  9598. {0x27, 0x3, 0x3, 0, 0},
  9599. {0x28, 0, 0, 0, 0},
  9600. {0x29, 0x3, 0x3, 0, 0},
  9601. {0x2A, 0x37, 0x37, 0, 0},
  9602. {0x2B, 0x3, 0x3, 0, 0},
  9603. {0x2C, 0, 0, 0, 0},
  9604. {0x2D, 0, 0, 0, 0},
  9605. {0x2E, 0x1, 0x1, 0, 0},
  9606. {0x2F, 0x1, 0x1, 0, 0},
  9607. {0x30, 0, 0, 0, 0},
  9608. {0x31, 0, 0, 0, 0},
  9609. {0x32, 0, 0, 0, 0},
  9610. {0x33, 0x11, 0x11, 0, 0},
  9611. {0x34, 0xee, 0xee, 1, 1},
  9612. {0x35, 0, 0, 0, 0},
  9613. {0x36, 0, 0, 0, 0},
  9614. {0x37, 0x3, 0x3, 0, 0},
  9615. {0x38, 0x50, 0x50, 1, 1},
  9616. {0x39, 0, 0, 0, 0},
  9617. {0x3A, 0x50, 0x50, 1, 1},
  9618. {0x3B, 0, 0, 0, 0},
  9619. {0x3C, 0x6e, 0x6e, 0, 0},
  9620. {0x3D, 0xf0, 0xf0, 1, 1},
  9621. {0x3E, 0, 0, 0, 0},
  9622. {0x3F, 0, 0, 0, 0},
  9623. {0x40, 0, 0, 0, 0},
  9624. {0x41, 0x3, 0x3, 0, 0},
  9625. {0x42, 0x3, 0x3, 0, 0},
  9626. {0x43, 0, 0, 0, 0},
  9627. {0x44, 0x1e, 0x1e, 0, 0},
  9628. {0x45, 0, 0, 0, 0},
  9629. {0x46, 0x6e, 0x6e, 0, 0},
  9630. {0x47, 0xf0, 0xf0, 1, 1},
  9631. {0x48, 0, 0, 0, 0},
  9632. {0x49, 0x2, 0x2, 0, 0},
  9633. {0x4A, 0xff, 0xff, 1, 1},
  9634. {0x4B, 0xc, 0xc, 0, 0},
  9635. {0x4C, 0, 0, 0, 0},
  9636. {0x4D, 0x38, 0x38, 0, 0},
  9637. {0x4E, 0x70, 0x70, 1, 1},
  9638. {0x4F, 0x2, 0x2, 0, 0},
  9639. {0x50, 0x88, 0x88, 0, 0},
  9640. {0x51, 0xc, 0xc, 0, 0},
  9641. {0x52, 0, 0, 0, 0},
  9642. {0x53, 0x8, 0x8, 0, 0},
  9643. {0x54, 0x70, 0x70, 1, 1},
  9644. {0x55, 0x2, 0x2, 0, 0},
  9645. {0x56, 0xff, 0xff, 1, 1},
  9646. {0x57, 0, 0, 0, 0},
  9647. {0x58, 0x83, 0x83, 0, 0},
  9648. {0x59, 0x77, 0x77, 1, 1},
  9649. {0x5A, 0, 0, 0, 0},
  9650. {0x5B, 0x2, 0x2, 0, 0},
  9651. {0x5C, 0x88, 0x88, 0, 0},
  9652. {0x5D, 0, 0, 0, 0},
  9653. {0x5E, 0x8, 0x8, 0, 0},
  9654. {0x5F, 0x77, 0x77, 1, 1},
  9655. {0x60, 0x1, 0x1, 0, 0},
  9656. {0x61, 0, 0, 0, 0},
  9657. {0x62, 0x7, 0x7, 0, 0},
  9658. {0x63, 0, 0, 0, 0},
  9659. {0x64, 0x7, 0x7, 0, 0},
  9660. {0x65, 0, 0, 0, 0},
  9661. {0x66, 0, 0, 0, 0},
  9662. {0x67, 0, 0, 1, 1},
  9663. {0x68, 0, 0, 0, 0},
  9664. {0x69, 0xa, 0xa, 0, 0},
  9665. {0x6A, 0, 0, 0, 0},
  9666. {0x6B, 0, 0, 0, 0},
  9667. {0x6C, 0, 0, 0, 0},
  9668. {0x6D, 0, 0, 0, 0},
  9669. {0x6E, 0, 0, 0, 0},
  9670. {0x6F, 0, 0, 0, 0},
  9671. {0x70, 0, 0, 0, 0},
  9672. {0x71, 0x2, 0x2, 0, 0},
  9673. {0x72, 0, 0, 0, 0},
  9674. {0x73, 0, 0, 0, 0},
  9675. {0x74, 0xe, 0xe, 0, 0},
  9676. {0x75, 0xe, 0xe, 0, 0},
  9677. {0x76, 0xe, 0xe, 0, 0},
  9678. {0x77, 0x13, 0x13, 0, 0},
  9679. {0x78, 0x13, 0x13, 0, 0},
  9680. {0x79, 0x1b, 0x1b, 0, 0},
  9681. {0x7A, 0x1b, 0x1b, 0, 0},
  9682. {0x7B, 0x55, 0x55, 0, 0},
  9683. {0x7C, 0x5b, 0x5b, 0, 0},
  9684. {0x7D, 0x30, 0x30, 1, 1},
  9685. {0x7E, 0, 0, 0, 0},
  9686. {0x7F, 0, 0, 0, 0},
  9687. {0x80, 0, 0, 0, 0},
  9688. {0x81, 0, 0, 0, 0},
  9689. {0x82, 0, 0, 0, 0},
  9690. {0x83, 0, 0, 0, 0},
  9691. {0x84, 0, 0, 0, 0},
  9692. {0x85, 0, 0, 0, 0},
  9693. {0x86, 0, 0, 0, 0},
  9694. {0x87, 0, 0, 0, 0},
  9695. {0x88, 0, 0, 0, 0},
  9696. {0x89, 0, 0, 0, 0},
  9697. {0x8A, 0, 0, 0, 0},
  9698. {0x8B, 0, 0, 0, 0},
  9699. {0x8C, 0, 0, 0, 0},
  9700. {0x8D, 0, 0, 0, 0},
  9701. {0x8E, 0, 0, 0, 0},
  9702. {0x8F, 0, 0, 0, 0},
  9703. {0x90, 0, 0, 0, 0},
  9704. {0x91, 0, 0, 0, 0},
  9705. {0x92, 0, 0, 0, 0},
  9706. {0x93, 0x70, 0x70, 0, 0},
  9707. {0x94, 0x70, 0x70, 0, 0},
  9708. {0x95, 0x70, 0x70, 0, 0},
  9709. {0x96, 0x70, 0x70, 0, 0},
  9710. {0x97, 0x70, 0x70, 0, 0},
  9711. {0x98, 0x70, 0x70, 0, 0},
  9712. {0x99, 0x70, 0x70, 0, 0},
  9713. {0x9A, 0x70, 0x70, 0, 0},
  9714. {0xFFFF, 0, 0, 0, 0}
  9715. };
  9716. static struct radio_regs regs_RX_2056_rev6[] = {
  9717. {0x02, 0, 0, 0, 0},
  9718. {0x03, 0, 0, 0, 0},
  9719. {0x04, 0, 0, 0, 0},
  9720. {0x05, 0, 0, 0, 0},
  9721. {0x06, 0, 0, 0, 0},
  9722. {0x07, 0, 0, 0, 0},
  9723. {0x08, 0, 0, 0, 0},
  9724. {0x09, 0, 0, 0, 0},
  9725. {0x0A, 0, 0, 0, 0},
  9726. {0x0B, 0, 0, 0, 0},
  9727. {0x0C, 0, 0, 0, 0},
  9728. {0x0D, 0, 0, 0, 0},
  9729. {0x0E, 0, 0, 0, 0},
  9730. {0x0F, 0, 0, 0, 0},
  9731. {0x10, 0, 0, 0, 0},
  9732. {0x11, 0, 0, 0, 0},
  9733. {0x12, 0, 0, 0, 0},
  9734. {0x13, 0, 0, 0, 0},
  9735. {0x14, 0, 0, 0, 0},
  9736. {0x15, 0, 0, 0, 0},
  9737. {0x16, 0, 0, 0, 0},
  9738. {0x17, 0, 0, 0, 0},
  9739. {0x18, 0, 0, 0, 0},
  9740. {0x19, 0, 0, 0, 0},
  9741. {0x1A, 0, 0, 0, 0},
  9742. {0x1B, 0, 0, 0, 0},
  9743. {0x1C, 0, 0, 0, 0},
  9744. {0x1D, 0, 0, 0, 0},
  9745. {0x1E, 0, 0, 0, 0},
  9746. {0x1F, 0, 0, 0, 0},
  9747. {0x20, 0x3, 0x3, 0, 0},
  9748. {0x21, 0, 0, 0, 0},
  9749. {0x22, 0, 0, 0, 0},
  9750. {0x23, 0x90, 0x90, 0, 0},
  9751. {0x24, 0x55, 0x55, 0, 0},
  9752. {0x25, 0x15, 0x15, 0, 0},
  9753. {0x26, 0x5, 0x5, 0, 0},
  9754. {0x27, 0x15, 0x15, 0, 0},
  9755. {0x28, 0x5, 0x5, 0, 0},
  9756. {0x29, 0x20, 0x20, 0, 0},
  9757. {0x2A, 0x11, 0x11, 0, 0},
  9758. {0x2B, 0x90, 0x90, 0, 0},
  9759. {0x2C, 0, 0, 0, 0},
  9760. {0x2D, 0x88, 0x88, 0, 0},
  9761. {0x2E, 0x32, 0x32, 0, 0},
  9762. {0x2F, 0x77, 0x77, 0, 0},
  9763. {0x30, 0x17, 0x17, 1, 1},
  9764. {0x31, 0xff, 0xff, 1, 1},
  9765. {0x32, 0x20, 0x20, 0, 0},
  9766. {0x33, 0, 0, 0, 0},
  9767. {0x34, 0x88, 0x88, 0, 0},
  9768. {0x35, 0x32, 0x32, 0, 0},
  9769. {0x36, 0x77, 0x77, 0, 0},
  9770. {0x37, 0x17, 0x17, 1, 1},
  9771. {0x38, 0xf0, 0xf0, 1, 1},
  9772. {0x39, 0x20, 0x20, 0, 0},
  9773. {0x3A, 0x8, 0x8, 0, 0},
  9774. {0x3B, 0x55, 0x55, 1, 1},
  9775. {0x3C, 0, 0, 0, 0},
  9776. {0x3D, 0x88, 0x88, 1, 1},
  9777. {0x3E, 0, 0, 0, 0},
  9778. {0x3F, 0x44, 0x44, 0, 0},
  9779. {0x40, 0x7, 0x7, 1, 1},
  9780. {0x41, 0x6, 0x6, 0, 0},
  9781. {0x42, 0x4, 0x4, 0, 0},
  9782. {0x43, 0, 0, 0, 0},
  9783. {0x44, 0x8, 0x8, 0, 0},
  9784. {0x45, 0x55, 0x55, 1, 1},
  9785. {0x46, 0, 0, 0, 0},
  9786. {0x47, 0x11, 0x11, 0, 0},
  9787. {0x48, 0, 0, 0, 0},
  9788. {0x49, 0x44, 0x44, 0, 0},
  9789. {0x4A, 0x7, 0x7, 0, 0},
  9790. {0x4B, 0x6, 0x6, 0, 0},
  9791. {0x4C, 0x4, 0x4, 0, 0},
  9792. {0x4D, 0, 0, 0, 0},
  9793. {0x4E, 0, 0, 0, 0},
  9794. {0x4F, 0x26, 0x26, 1, 1},
  9795. {0x50, 0x26, 0x26, 1, 1},
  9796. {0x51, 0xf, 0xf, 1, 1},
  9797. {0x52, 0xf, 0xf, 1, 1},
  9798. {0x53, 0x44, 0x44, 0, 0},
  9799. {0x54, 0, 0, 0, 0},
  9800. {0x55, 0, 0, 0, 0},
  9801. {0x56, 0x8, 0x8, 0, 0},
  9802. {0x57, 0x8, 0x8, 0, 0},
  9803. {0x58, 0x7, 0x7, 0, 0},
  9804. {0x59, 0x22, 0x22, 0, 0},
  9805. {0x5A, 0x22, 0x22, 0, 0},
  9806. {0x5B, 0x2, 0x2, 0, 0},
  9807. {0x5C, 0x4, 0x4, 1, 1},
  9808. {0x5D, 0x7, 0x7, 0, 0},
  9809. {0x5E, 0x55, 0x55, 0, 0},
  9810. {0x5F, 0x23, 0x23, 0, 0},
  9811. {0x60, 0x41, 0x41, 0, 0},
  9812. {0x61, 0x1, 0x1, 0, 0},
  9813. {0x62, 0xa, 0xa, 0, 0},
  9814. {0x63, 0, 0, 0, 0},
  9815. {0x64, 0, 0, 0, 0},
  9816. {0x65, 0, 0, 0, 0},
  9817. {0x66, 0, 0, 0, 0},
  9818. {0x67, 0, 0, 0, 0},
  9819. {0x68, 0, 0, 0, 0},
  9820. {0x69, 0, 0, 0, 0},
  9821. {0x6A, 0, 0, 0, 0},
  9822. {0x6B, 0xc, 0xc, 0, 0},
  9823. {0x6C, 0, 0, 0, 0},
  9824. {0x6D, 0, 0, 0, 0},
  9825. {0x6E, 0, 0, 0, 0},
  9826. {0x6F, 0, 0, 0, 0},
  9827. {0x70, 0, 0, 0, 0},
  9828. {0x71, 0, 0, 0, 0},
  9829. {0x72, 0x22, 0x22, 0, 0},
  9830. {0x73, 0x22, 0x22, 0, 0},
  9831. {0x74, 0, 0, 1, 1},
  9832. {0x75, 0xa, 0xa, 0, 0},
  9833. {0x76, 0x1, 0x1, 0, 0},
  9834. {0x77, 0x22, 0x22, 0, 0},
  9835. {0x78, 0x30, 0x30, 0, 0},
  9836. {0x79, 0, 0, 0, 0},
  9837. {0x7A, 0, 0, 0, 0},
  9838. {0x7B, 0, 0, 0, 0},
  9839. {0x7C, 0, 0, 0, 0},
  9840. {0x7D, 0x5, 0x5, 1, 1},
  9841. {0x7E, 0, 0, 0, 0},
  9842. {0x7F, 0, 0, 0, 0},
  9843. {0x80, 0, 0, 0, 0},
  9844. {0x81, 0, 0, 0, 0},
  9845. {0x82, 0, 0, 0, 0},
  9846. {0x83, 0, 0, 0, 0},
  9847. {0x84, 0, 0, 0, 0},
  9848. {0x85, 0, 0, 0, 0},
  9849. {0x86, 0, 0, 0, 0},
  9850. {0x87, 0, 0, 0, 0},
  9851. {0x88, 0, 0, 0, 0},
  9852. {0x89, 0, 0, 0, 0},
  9853. {0x8A, 0, 0, 0, 0},
  9854. {0x8B, 0, 0, 0, 0},
  9855. {0x8C, 0, 0, 0, 0},
  9856. {0x8D, 0, 0, 0, 0},
  9857. {0x8E, 0, 0, 0, 0},
  9858. {0x8F, 0, 0, 0, 0},
  9859. {0x90, 0, 0, 0, 0},
  9860. {0x91, 0, 0, 0, 0},
  9861. {0x92, 0, 0, 0, 0},
  9862. {0x93, 0, 0, 0, 0},
  9863. {0x94, 0, 0, 0, 0},
  9864. {0xFFFF, 0, 0, 0, 0}
  9865. };
  9866. static struct radio_regs regs_SYN_2056_rev7[] = {
  9867. {0x02, 0, 0, 0, 0},
  9868. {0x03, 0, 0, 0, 0},
  9869. {0x04, 0, 0, 0, 0},
  9870. {0x05, 0, 0, 0, 0},
  9871. {0x06, 0, 0, 0, 0},
  9872. {0x07, 0, 0, 0, 0},
  9873. {0x08, 0, 0, 0, 0},
  9874. {0x09, 0x1, 0x1, 0, 0},
  9875. {0x0A, 0, 0, 0, 0},
  9876. {0x0B, 0, 0, 0, 0},
  9877. {0x0C, 0, 0, 0, 0},
  9878. {0x0D, 0, 0, 0, 0},
  9879. {0x0E, 0, 0, 0, 0},
  9880. {0x0F, 0, 0, 0, 0},
  9881. {0x10, 0, 0, 0, 0},
  9882. {0x11, 0, 0, 0, 0},
  9883. {0x12, 0, 0, 0, 0},
  9884. {0x13, 0, 0, 0, 0},
  9885. {0x14, 0, 0, 0, 0},
  9886. {0x15, 0, 0, 0, 0},
  9887. {0x16, 0, 0, 0, 0},
  9888. {0x17, 0, 0, 0, 0},
  9889. {0x18, 0, 0, 0, 0},
  9890. {0x19, 0, 0, 0, 0},
  9891. {0x1A, 0, 0, 0, 0},
  9892. {0x1B, 0, 0, 0, 0},
  9893. {0x1C, 0, 0, 0, 0},
  9894. {0x1D, 0, 0, 0, 0},
  9895. {0x1E, 0, 0, 0, 0},
  9896. {0x1F, 0, 0, 0, 0},
  9897. {0x20, 0, 0, 0, 0},
  9898. {0x21, 0, 0, 0, 0},
  9899. {0x22, 0x60, 0x60, 0, 0},
  9900. {0x23, 0x6, 0x6, 0, 0},
  9901. {0x24, 0xc, 0xc, 0, 0},
  9902. {0x25, 0, 0, 0, 0},
  9903. {0x26, 0, 0, 0, 0},
  9904. {0x27, 0, 0, 0, 0},
  9905. {0x28, 0x1, 0x1, 0, 0},
  9906. {0x29, 0, 0, 0, 0},
  9907. {0x2A, 0, 0, 0, 0},
  9908. {0x2B, 0, 0, 0, 0},
  9909. {0x2C, 0, 0, 0, 0},
  9910. {0x2D, 0, 0, 0, 0},
  9911. {0x2E, 0, 0, 0, 0},
  9912. {0x2F, 0x1f, 0x1f, 0, 0},
  9913. {0x30, 0x15, 0x15, 0, 0},
  9914. {0x31, 0xf, 0xf, 0, 0},
  9915. {0x32, 0, 0, 0, 0},
  9916. {0x33, 0, 0, 0, 0},
  9917. {0x34, 0, 0, 0, 0},
  9918. {0x35, 0, 0, 0, 0},
  9919. {0x36, 0, 0, 0, 0},
  9920. {0x37, 0, 0, 0, 0},
  9921. {0x38, 0, 0, 0, 0},
  9922. {0x39, 0, 0, 0, 0},
  9923. {0x3A, 0, 0, 0, 0},
  9924. {0x3B, 0, 0, 0, 0},
  9925. {0x3C, 0x13, 0x13, 0, 0},
  9926. {0x3D, 0xf, 0xf, 0, 0},
  9927. {0x3E, 0x18, 0x18, 0, 0},
  9928. {0x3F, 0, 0, 0, 0},
  9929. {0x40, 0, 0, 0, 0},
  9930. {0x41, 0x20, 0x20, 0, 0},
  9931. {0x42, 0x20, 0x20, 0, 0},
  9932. {0x43, 0, 0, 0, 0},
  9933. {0x44, 0x77, 0x77, 0, 0},
  9934. {0x45, 0x7, 0x7, 0, 0},
  9935. {0x46, 0x1, 0x1, 0, 0},
  9936. {0x47, 0x4, 0x4, 0, 0},
  9937. {0x48, 0xf, 0xf, 0, 0},
  9938. {0x49, 0x30, 0x30, 0, 0},
  9939. {0x4A, 0x32, 0x32, 0, 0},
  9940. {0x4B, 0xd, 0xd, 0, 0},
  9941. {0x4C, 0xd, 0xd, 0, 0},
  9942. {0x4D, 0x4, 0x4, 0, 0},
  9943. {0x4E, 0x6, 0x6, 0, 0},
  9944. {0x4F, 0x1, 0x1, 0, 0},
  9945. {0x50, 0x1c, 0x1c, 0, 0},
  9946. {0x51, 0x2, 0x2, 0, 0},
  9947. {0x52, 0x2, 0x2, 0, 0},
  9948. {0x53, 0xf7, 0xf7, 1, 1},
  9949. {0x54, 0xb4, 0xb4, 0, 0},
  9950. {0x55, 0xd2, 0xd2, 0, 0},
  9951. {0x56, 0, 0, 0, 0},
  9952. {0x57, 0, 0, 0, 0},
  9953. {0x58, 0x4, 0x4, 0, 0},
  9954. {0x59, 0x96, 0x96, 0, 0},
  9955. {0x5A, 0x3e, 0x3e, 0, 0},
  9956. {0x5B, 0x3e, 0x3e, 0, 0},
  9957. {0x5C, 0x13, 0x13, 0, 0},
  9958. {0x5D, 0x2, 0x2, 0, 0},
  9959. {0x5E, 0, 0, 0, 0},
  9960. {0x5F, 0x7, 0x7, 0, 0},
  9961. {0x60, 0x7, 0x7, 1, 1},
  9962. {0x61, 0x8, 0x8, 0, 0},
  9963. {0x62, 0x3, 0x3, 0, 0},
  9964. {0x63, 0, 0, 0, 0},
  9965. {0x64, 0, 0, 0, 0},
  9966. {0x65, 0, 0, 0, 0},
  9967. {0x66, 0, 0, 0, 0},
  9968. {0x67, 0, 0, 0, 0},
  9969. {0x68, 0x40, 0x40, 0, 0},
  9970. {0x69, 0, 0, 0, 0},
  9971. {0x6A, 0, 0, 0, 0},
  9972. {0x6B, 0, 0, 0, 0},
  9973. {0x6C, 0, 0, 0, 0},
  9974. {0x6D, 0x1, 0x1, 0, 0},
  9975. {0x6E, 0, 0, 0, 0},
  9976. {0x6F, 0, 0, 0, 0},
  9977. {0x70, 0x60, 0x60, 0, 0},
  9978. {0x71, 0x66, 0x66, 0, 0},
  9979. {0x72, 0xc, 0xc, 0, 0},
  9980. {0x73, 0x66, 0x66, 0, 0},
  9981. {0x74, 0x8f, 0x8f, 1, 1},
  9982. {0x75, 0, 0, 0, 0},
  9983. {0x76, 0xcc, 0xcc, 0, 0},
  9984. {0x77, 0x1, 0x1, 0, 0},
  9985. {0x78, 0x66, 0x66, 0, 0},
  9986. {0x79, 0x66, 0x66, 0, 0},
  9987. {0x7A, 0, 0, 0, 0},
  9988. {0x7B, 0, 0, 0, 0},
  9989. {0x7C, 0, 0, 0, 0},
  9990. {0x7D, 0, 0, 0, 0},
  9991. {0x7E, 0, 0, 0, 0},
  9992. {0x7F, 0, 0, 0, 0},
  9993. {0x80, 0, 0, 0, 0},
  9994. {0x81, 0, 0, 0, 0},
  9995. {0x82, 0, 0, 0, 0},
  9996. {0x83, 0, 0, 0, 0},
  9997. {0x84, 0, 0, 0, 0},
  9998. {0x85, 0xff, 0xff, 0, 0},
  9999. {0x86, 0, 0, 0, 0},
  10000. {0x87, 0, 0, 0, 0},
  10001. {0x88, 0, 0, 0, 0},
  10002. {0x89, 0, 0, 0, 0},
  10003. {0x8A, 0, 0, 0, 0},
  10004. {0x8B, 0, 0, 0, 0},
  10005. {0x8C, 0, 0, 0, 0},
  10006. {0x8D, 0, 0, 0, 0},
  10007. {0x8E, 0, 0, 0, 0},
  10008. {0x8F, 0, 0, 0, 0},
  10009. {0x90, 0, 0, 0, 0},
  10010. {0x91, 0, 0, 0, 0},
  10011. {0x92, 0, 0, 0, 0},
  10012. {0x93, 0, 0, 0, 0},
  10013. {0x94, 0, 0, 0, 0},
  10014. {0x95, 0, 0, 0, 0},
  10015. {0x96, 0, 0, 0, 0},
  10016. {0x97, 0, 0, 0, 0},
  10017. {0x98, 0, 0, 0, 0},
  10018. {0x99, 0, 0, 0, 0},
  10019. {0x9A, 0, 0, 0, 0},
  10020. {0x9B, 0, 0, 0, 0},
  10021. {0x9C, 0, 0, 0, 0},
  10022. {0x9D, 0, 0, 0, 0},
  10023. {0x9E, 0, 0, 0, 0},
  10024. {0x9F, 0x6, 0x6, 0, 0},
  10025. {0xA0, 0x66, 0x66, 0, 0},
  10026. {0xA1, 0x66, 0x66, 0, 0},
  10027. {0xA2, 0x66, 0x66, 0, 0},
  10028. {0xA3, 0x66, 0x66, 0, 0},
  10029. {0xA4, 0x66, 0x66, 0, 0},
  10030. {0xA5, 0x66, 0x66, 0, 0},
  10031. {0xA6, 0x66, 0x66, 0, 0},
  10032. {0xA7, 0x66, 0x66, 0, 0},
  10033. {0xA8, 0x66, 0x66, 0, 0},
  10034. {0xA9, 0x66, 0x66, 0, 0},
  10035. {0xAA, 0x66, 0x66, 0, 0},
  10036. {0xAB, 0x66, 0x66, 0, 0},
  10037. {0xAC, 0x66, 0x66, 0, 0},
  10038. {0xAD, 0x66, 0x66, 0, 0},
  10039. {0xAE, 0x66, 0x66, 0, 0},
  10040. {0xAF, 0x66, 0x66, 0, 0},
  10041. {0xB0, 0x66, 0x66, 0, 0},
  10042. {0xB1, 0x66, 0x66, 0, 0},
  10043. {0xB2, 0x66, 0x66, 0, 0},
  10044. {0xB3, 0xa, 0xa, 0, 0},
  10045. {0xB4, 0, 0, 0, 0},
  10046. {0xB5, 0, 0, 0, 0},
  10047. {0xB6, 0, 0, 0, 0},
  10048. {0xFFFF, 0, 0, 0, 0},
  10049. };
  10050. static struct radio_regs regs_TX_2056_rev7[] = {
  10051. {0x02, 0, 0, 0, 0},
  10052. {0x03, 0, 0, 0, 0},
  10053. {0x04, 0, 0, 0, 0},
  10054. {0x05, 0, 0, 0, 0},
  10055. {0x06, 0, 0, 0, 0},
  10056. {0x07, 0, 0, 0, 0},
  10057. {0x08, 0, 0, 0, 0},
  10058. {0x09, 0, 0, 0, 0},
  10059. {0x0A, 0, 0, 0, 0},
  10060. {0x0B, 0, 0, 0, 0},
  10061. {0x0C, 0, 0, 0, 0},
  10062. {0x0D, 0, 0, 0, 0},
  10063. {0x0E, 0, 0, 0, 0},
  10064. {0x0F, 0, 0, 0, 0},
  10065. {0x10, 0, 0, 0, 0},
  10066. {0x11, 0, 0, 0, 0},
  10067. {0x12, 0, 0, 0, 0},
  10068. {0x13, 0, 0, 0, 0},
  10069. {0x14, 0, 0, 0, 0},
  10070. {0x15, 0, 0, 0, 0},
  10071. {0x16, 0, 0, 0, 0},
  10072. {0x17, 0, 0, 0, 0},
  10073. {0x18, 0, 0, 0, 0},
  10074. {0x19, 0, 0, 0, 0},
  10075. {0x1A, 0, 0, 0, 0},
  10076. {0x1B, 0, 0, 0, 0},
  10077. {0x1C, 0, 0, 0, 0},
  10078. {0x1D, 0, 0, 0, 0},
  10079. {0x1E, 0, 0, 0, 0},
  10080. {0x1F, 0, 0, 0, 0},
  10081. {0x20, 0, 0, 0, 0},
  10082. {0x21, 0x88, 0x88, 0, 0},
  10083. {0x22, 0x88, 0x88, 0, 0},
  10084. {0x23, 0x88, 0x88, 0, 0},
  10085. {0x24, 0x88, 0x88, 0, 0},
  10086. {0x25, 0xc, 0xc, 0, 0},
  10087. {0x26, 0, 0, 0, 0},
  10088. {0x27, 0x3, 0x3, 0, 0},
  10089. {0x28, 0, 0, 0, 0},
  10090. {0x29, 0x3, 0x3, 0, 0},
  10091. {0x2A, 0x37, 0x37, 0, 0},
  10092. {0x2B, 0x3, 0x3, 0, 0},
  10093. {0x2C, 0, 0, 0, 0},
  10094. {0x2D, 0, 0, 0, 0},
  10095. {0x2E, 0x1, 0x1, 0, 0},
  10096. {0x2F, 0x1, 0x1, 0, 0},
  10097. {0x30, 0, 0, 0, 0},
  10098. {0x31, 0, 0, 0, 0},
  10099. {0x32, 0, 0, 0, 0},
  10100. {0x33, 0x11, 0x11, 0, 0},
  10101. {0x34, 0xee, 0xee, 1, 1},
  10102. {0x35, 0, 0, 0, 0},
  10103. {0x36, 0, 0, 0, 0},
  10104. {0x37, 0x3, 0x3, 0, 0},
  10105. {0x38, 0x50, 0x50, 1, 1},
  10106. {0x39, 0, 0, 0, 0},
  10107. {0x3A, 0x50, 0x50, 1, 1},
  10108. {0x3B, 0, 0, 0, 0},
  10109. {0x3C, 0x6e, 0x6e, 0, 0},
  10110. {0x3D, 0xf0, 0xf0, 1, 1},
  10111. {0x3E, 0, 0, 0, 0},
  10112. {0x3F, 0, 0, 0, 0},
  10113. {0x40, 0, 0, 0, 0},
  10114. {0x41, 0x3, 0x3, 0, 0},
  10115. {0x42, 0x3, 0x3, 0, 0},
  10116. {0x43, 0, 0, 0, 0},
  10117. {0x44, 0x1e, 0x1e, 0, 0},
  10118. {0x45, 0, 0, 0, 0},
  10119. {0x46, 0x6e, 0x6e, 0, 0},
  10120. {0x47, 0xf0, 0xf0, 1, 1},
  10121. {0x48, 0, 0, 0, 0},
  10122. {0x49, 0x2, 0x2, 0, 0},
  10123. {0x4A, 0xff, 0xff, 1, 1},
  10124. {0x4B, 0xc, 0xc, 0, 0},
  10125. {0x4C, 0, 0, 0, 0},
  10126. {0x4D, 0x38, 0x38, 0, 0},
  10127. {0x4E, 0x70, 0x70, 1, 1},
  10128. {0x4F, 0x2, 0x2, 0, 0},
  10129. {0x50, 0x88, 0x88, 0, 0},
  10130. {0x51, 0xc, 0xc, 0, 0},
  10131. {0x52, 0, 0, 0, 0},
  10132. {0x53, 0x8, 0x8, 0, 0},
  10133. {0x54, 0x70, 0x70, 1, 1},
  10134. {0x55, 0x2, 0x2, 0, 0},
  10135. {0x56, 0xff, 0xff, 1, 1},
  10136. {0x57, 0, 0, 0, 0},
  10137. {0x58, 0x83, 0x83, 0, 0},
  10138. {0x59, 0x77, 0x77, 1, 1},
  10139. {0x5A, 0, 0, 0, 0},
  10140. {0x5B, 0x2, 0x2, 0, 0},
  10141. {0x5C, 0x88, 0x88, 0, 0},
  10142. {0x5D, 0, 0, 0, 0},
  10143. {0x5E, 0x8, 0x8, 0, 0},
  10144. {0x5F, 0x77, 0x77, 1, 1},
  10145. {0x60, 0x1, 0x1, 0, 0},
  10146. {0x61, 0, 0, 0, 0},
  10147. {0x62, 0x7, 0x7, 0, 0},
  10148. {0x63, 0, 0, 0, 0},
  10149. {0x64, 0x7, 0x7, 0, 0},
  10150. {0x65, 0, 0, 0, 0},
  10151. {0x66, 0, 0, 0, 0},
  10152. {0x67, 0, 0, 1, 1},
  10153. {0x68, 0, 0, 0, 0},
  10154. {0x69, 0xa, 0xa, 0, 0},
  10155. {0x6A, 0, 0, 0, 0},
  10156. {0x6B, 0, 0, 0, 0},
  10157. {0x6C, 0, 0, 0, 0},
  10158. {0x6D, 0, 0, 0, 0},
  10159. {0x6E, 0, 0, 0, 0},
  10160. {0x6F, 0, 0, 0, 0},
  10161. {0x70, 0, 0, 0, 0},
  10162. {0x71, 0x2, 0x2, 0, 0},
  10163. {0x72, 0, 0, 0, 0},
  10164. {0x73, 0, 0, 0, 0},
  10165. {0x74, 0xe, 0xe, 0, 0},
  10166. {0x75, 0xe, 0xe, 0, 0},
  10167. {0x76, 0xe, 0xe, 0, 0},
  10168. {0x77, 0x13, 0x13, 0, 0},
  10169. {0x78, 0x13, 0x13, 0, 0},
  10170. {0x79, 0x1b, 0x1b, 0, 0},
  10171. {0x7A, 0x1b, 0x1b, 0, 0},
  10172. {0x7B, 0x55, 0x55, 0, 0},
  10173. {0x7C, 0x5b, 0x5b, 0, 0},
  10174. {0x7D, 0x30, 0x30, 1, 1},
  10175. {0x7E, 0, 0, 0, 0},
  10176. {0x7F, 0, 0, 0, 0},
  10177. {0x80, 0, 0, 0, 0},
  10178. {0x81, 0, 0, 0, 0},
  10179. {0x82, 0, 0, 0, 0},
  10180. {0x83, 0, 0, 0, 0},
  10181. {0x84, 0, 0, 0, 0},
  10182. {0x85, 0, 0, 0, 0},
  10183. {0x86, 0, 0, 0, 0},
  10184. {0x87, 0, 0, 0, 0},
  10185. {0x88, 0, 0, 0, 0},
  10186. {0x89, 0, 0, 0, 0},
  10187. {0x8A, 0, 0, 0, 0},
  10188. {0x8B, 0, 0, 0, 0},
  10189. {0x8C, 0, 0, 0, 0},
  10190. {0x8D, 0, 0, 0, 0},
  10191. {0x8E, 0, 0, 0, 0},
  10192. {0x8F, 0, 0, 0, 0},
  10193. {0x90, 0, 0, 0, 0},
  10194. {0x91, 0, 0, 0, 0},
  10195. {0x92, 0, 0, 0, 0},
  10196. {0x93, 0x70, 0x70, 0, 0},
  10197. {0x94, 0x70, 0x70, 0, 0},
  10198. {0x95, 0x71, 0x71, 1, 1},
  10199. {0x96, 0x71, 0x71, 1, 1},
  10200. {0x97, 0x72, 0x72, 1, 1},
  10201. {0x98, 0x73, 0x73, 1, 1},
  10202. {0x99, 0x74, 0x74, 1, 1},
  10203. {0x9A, 0x75, 0x75, 1, 1},
  10204. {0xFFFF, 0, 0, 0, 0},
  10205. };
  10206. static struct radio_regs regs_RX_2056_rev7[] = {
  10207. {0x02, 0, 0, 0, 0},
  10208. {0x03, 0, 0, 0, 0},
  10209. {0x04, 0, 0, 0, 0},
  10210. {0x05, 0, 0, 0, 0},
  10211. {0x06, 0, 0, 0, 0},
  10212. {0x07, 0, 0, 0, 0},
  10213. {0x08, 0, 0, 0, 0},
  10214. {0x09, 0, 0, 0, 0},
  10215. {0x0A, 0, 0, 0, 0},
  10216. {0x0B, 0, 0, 0, 0},
  10217. {0x0C, 0, 0, 0, 0},
  10218. {0x0D, 0, 0, 0, 0},
  10219. {0x0E, 0, 0, 0, 0},
  10220. {0x0F, 0, 0, 0, 0},
  10221. {0x10, 0, 0, 0, 0},
  10222. {0x11, 0, 0, 0, 0},
  10223. {0x12, 0, 0, 0, 0},
  10224. {0x13, 0, 0, 0, 0},
  10225. {0x14, 0, 0, 0, 0},
  10226. {0x15, 0, 0, 0, 0},
  10227. {0x16, 0, 0, 0, 0},
  10228. {0x17, 0, 0, 0, 0},
  10229. {0x18, 0, 0, 0, 0},
  10230. {0x19, 0, 0, 0, 0},
  10231. {0x1A, 0, 0, 0, 0},
  10232. {0x1B, 0, 0, 0, 0},
  10233. {0x1C, 0, 0, 0, 0},
  10234. {0x1D, 0, 0, 0, 0},
  10235. {0x1E, 0, 0, 0, 0},
  10236. {0x1F, 0, 0, 0, 0},
  10237. {0x20, 0x3, 0x3, 0, 0},
  10238. {0x21, 0, 0, 0, 0},
  10239. {0x22, 0, 0, 0, 0},
  10240. {0x23, 0x90, 0x90, 0, 0},
  10241. {0x24, 0x55, 0x55, 0, 0},
  10242. {0x25, 0x15, 0x15, 0, 0},
  10243. {0x26, 0x5, 0x5, 0, 0},
  10244. {0x27, 0x15, 0x15, 0, 0},
  10245. {0x28, 0x5, 0x5, 0, 0},
  10246. {0x29, 0x20, 0x20, 0, 0},
  10247. {0x2A, 0x11, 0x11, 0, 0},
  10248. {0x2B, 0x90, 0x90, 0, 0},
  10249. {0x2C, 0, 0, 0, 0},
  10250. {0x2D, 0x88, 0x88, 0, 0},
  10251. {0x2E, 0x32, 0x32, 0, 0},
  10252. {0x2F, 0x77, 0x77, 0, 0},
  10253. {0x30, 0x17, 0x17, 1, 1},
  10254. {0x31, 0xff, 0xff, 1, 1},
  10255. {0x32, 0x20, 0x20, 0, 0},
  10256. {0x33, 0, 0, 0, 0},
  10257. {0x34, 0x88, 0x88, 0, 0},
  10258. {0x35, 0x32, 0x32, 0, 0},
  10259. {0x36, 0x77, 0x77, 0, 0},
  10260. {0x37, 0x17, 0x17, 1, 1},
  10261. {0x38, 0xf0, 0xf0, 1, 1},
  10262. {0x39, 0x20, 0x20, 0, 0},
  10263. {0x3A, 0x8, 0x8, 0, 0},
  10264. {0x3B, 0x55, 0x55, 1, 1},
  10265. {0x3C, 0, 0, 0, 0},
  10266. {0x3D, 0x88, 0x88, 1, 1},
  10267. {0x3E, 0, 0, 0, 0},
  10268. {0x3F, 0, 0, 1, 1},
  10269. {0x40, 0x7, 0x7, 1, 1},
  10270. {0x41, 0x6, 0x6, 0, 0},
  10271. {0x42, 0x4, 0x4, 0, 0},
  10272. {0x43, 0, 0, 0, 0},
  10273. {0x44, 0x8, 0x8, 0, 0},
  10274. {0x45, 0x55, 0x55, 1, 1},
  10275. {0x46, 0, 0, 0, 0},
  10276. {0x47, 0x11, 0x11, 0, 0},
  10277. {0x48, 0, 0, 0, 0},
  10278. {0x49, 0, 0, 1, 1},
  10279. {0x4A, 0x7, 0x7, 0, 0},
  10280. {0x4B, 0x6, 0x6, 0, 0},
  10281. {0x4C, 0x4, 0x4, 0, 0},
  10282. {0x4D, 0, 0, 0, 0},
  10283. {0x4E, 0, 0, 0, 0},
  10284. {0x4F, 0x26, 0x26, 1, 1},
  10285. {0x50, 0x26, 0x26, 1, 1},
  10286. {0x51, 0xf, 0xf, 1, 1},
  10287. {0x52, 0xf, 0xf, 1, 1},
  10288. {0x53, 0x44, 0x44, 0, 0},
  10289. {0x54, 0, 0, 0, 0},
  10290. {0x55, 0, 0, 0, 0},
  10291. {0x56, 0x8, 0x8, 0, 0},
  10292. {0x57, 0x8, 0x8, 0, 0},
  10293. {0x58, 0x7, 0x7, 0, 0},
  10294. {0x59, 0x22, 0x22, 0, 0},
  10295. {0x5A, 0x22, 0x22, 0, 0},
  10296. {0x5B, 0x2, 0x2, 0, 0},
  10297. {0x5C, 0x4, 0x4, 1, 1},
  10298. {0x5D, 0x7, 0x7, 0, 0},
  10299. {0x5E, 0x55, 0x55, 0, 0},
  10300. {0x5F, 0x23, 0x23, 0, 0},
  10301. {0x60, 0x41, 0x41, 0, 0},
  10302. {0x61, 0x1, 0x1, 0, 0},
  10303. {0x62, 0xa, 0xa, 0, 0},
  10304. {0x63, 0, 0, 0, 0},
  10305. {0x64, 0, 0, 0, 0},
  10306. {0x65, 0, 0, 0, 0},
  10307. {0x66, 0, 0, 0, 0},
  10308. {0x67, 0, 0, 0, 0},
  10309. {0x68, 0, 0, 0, 0},
  10310. {0x69, 0, 0, 0, 0},
  10311. {0x6A, 0, 0, 0, 0},
  10312. {0x6B, 0xc, 0xc, 0, 0},
  10313. {0x6C, 0, 0, 0, 0},
  10314. {0x6D, 0, 0, 0, 0},
  10315. {0x6E, 0, 0, 0, 0},
  10316. {0x6F, 0, 0, 0, 0},
  10317. {0x70, 0, 0, 0, 0},
  10318. {0x71, 0, 0, 0, 0},
  10319. {0x72, 0x22, 0x22, 0, 0},
  10320. {0x73, 0x22, 0x22, 0, 0},
  10321. {0x74, 0, 0, 1, 1},
  10322. {0x75, 0xa, 0xa, 0, 0},
  10323. {0x76, 0x1, 0x1, 0, 0},
  10324. {0x77, 0x22, 0x22, 0, 0},
  10325. {0x78, 0x30, 0x30, 0, 0},
  10326. {0x79, 0, 0, 0, 0},
  10327. {0x7A, 0, 0, 0, 0},
  10328. {0x7B, 0, 0, 0, 0},
  10329. {0x7C, 0, 0, 0, 0},
  10330. {0x7D, 0, 0, 0, 0},
  10331. {0x7E, 0, 0, 0, 0},
  10332. {0x7F, 0, 0, 0, 0},
  10333. {0x80, 0, 0, 0, 0},
  10334. {0x81, 0, 0, 0, 0},
  10335. {0x82, 0, 0, 0, 0},
  10336. {0x83, 0, 0, 0, 0},
  10337. {0x84, 0, 0, 0, 0},
  10338. {0x85, 0, 0, 0, 0},
  10339. {0x86, 0, 0, 0, 0},
  10340. {0x87, 0, 0, 0, 0},
  10341. {0x88, 0, 0, 0, 0},
  10342. {0x89, 0, 0, 0, 0},
  10343. {0x8A, 0, 0, 0, 0},
  10344. {0x8B, 0, 0, 0, 0},
  10345. {0x8C, 0, 0, 0, 0},
  10346. {0x8D, 0, 0, 0, 0},
  10347. {0x8E, 0, 0, 0, 0},
  10348. {0x8F, 0, 0, 0, 0},
  10349. {0x90, 0, 0, 0, 0},
  10350. {0x91, 0, 0, 0, 0},
  10351. {0x92, 0, 0, 0, 0},
  10352. {0x93, 0, 0, 0, 0},
  10353. {0x94, 0, 0, 0, 0},
  10354. {0xFFFF, 0, 0, 0, 0},
  10355. };
  10356. static struct radio_regs regs_SYN_2056_rev8[] = {
  10357. {0x02, 0, 0, 0, 0},
  10358. {0x03, 0, 0, 0, 0},
  10359. {0x04, 0, 0, 0, 0},
  10360. {0x05, 0, 0, 0, 0},
  10361. {0x06, 0, 0, 0, 0},
  10362. {0x07, 0, 0, 0, 0},
  10363. {0x08, 0, 0, 0, 0},
  10364. {0x09, 0x1, 0x1, 0, 0},
  10365. {0x0A, 0, 0, 0, 0},
  10366. {0x0B, 0, 0, 0, 0},
  10367. {0x0C, 0, 0, 0, 0},
  10368. {0x0D, 0, 0, 0, 0},
  10369. {0x0E, 0, 0, 0, 0},
  10370. {0x0F, 0, 0, 0, 0},
  10371. {0x10, 0, 0, 0, 0},
  10372. {0x11, 0, 0, 0, 0},
  10373. {0x12, 0, 0, 0, 0},
  10374. {0x13, 0, 0, 0, 0},
  10375. {0x14, 0, 0, 0, 0},
  10376. {0x15, 0, 0, 0, 0},
  10377. {0x16, 0, 0, 0, 0},
  10378. {0x17, 0, 0, 0, 0},
  10379. {0x18, 0, 0, 0, 0},
  10380. {0x19, 0, 0, 0, 0},
  10381. {0x1A, 0, 0, 0, 0},
  10382. {0x1B, 0, 0, 0, 0},
  10383. {0x1C, 0, 0, 0, 0},
  10384. {0x1D, 0, 0, 0, 0},
  10385. {0x1E, 0, 0, 0, 0},
  10386. {0x1F, 0, 0, 0, 0},
  10387. {0x20, 0, 0, 0, 0},
  10388. {0x21, 0, 0, 0, 0},
  10389. {0x22, 0x60, 0x60, 0, 0},
  10390. {0x23, 0x6, 0x6, 0, 0},
  10391. {0x24, 0xc, 0xc, 0, 0},
  10392. {0x25, 0, 0, 0, 0},
  10393. {0x26, 0, 0, 0, 0},
  10394. {0x27, 0, 0, 0, 0},
  10395. {0x28, 0x1, 0x1, 0, 0},
  10396. {0x29, 0, 0, 0, 0},
  10397. {0x2A, 0, 0, 0, 0},
  10398. {0x2B, 0, 0, 0, 0},
  10399. {0x2C, 0, 0, 0, 0},
  10400. {0x2D, 0, 0, 0, 0},
  10401. {0x2E, 0, 0, 0, 0},
  10402. {0x2F, 0x1f, 0x1f, 0, 0},
  10403. {0x30, 0x15, 0x15, 0, 0},
  10404. {0x31, 0xf, 0xf, 0, 0},
  10405. {0x32, 0, 0, 0, 0},
  10406. {0x33, 0, 0, 0, 0},
  10407. {0x34, 0, 0, 0, 0},
  10408. {0x35, 0, 0, 0, 0},
  10409. {0x36, 0, 0, 0, 0},
  10410. {0x37, 0, 0, 0, 0},
  10411. {0x38, 0, 0, 0, 0},
  10412. {0x39, 0, 0, 0, 0},
  10413. {0x3A, 0, 0, 0, 0},
  10414. {0x3B, 0, 0, 0, 0},
  10415. {0x3C, 0x13, 0x13, 0, 0},
  10416. {0x3D, 0xf, 0xf, 0, 0},
  10417. {0x3E, 0x18, 0x18, 0, 0},
  10418. {0x3F, 0, 0, 0, 0},
  10419. {0x40, 0, 0, 0, 0},
  10420. {0x41, 0x20, 0x20, 0, 0},
  10421. {0x42, 0x20, 0x20, 0, 0},
  10422. {0x43, 0, 0, 0, 0},
  10423. {0x44, 0x77, 0x77, 0, 0},
  10424. {0x45, 0x7, 0x7, 0, 0},
  10425. {0x46, 0x1, 0x1, 0, 0},
  10426. {0x47, 0x4, 0x4, 0, 0},
  10427. {0x48, 0xf, 0xf, 0, 0},
  10428. {0x49, 0x30, 0x30, 0, 0},
  10429. {0x4A, 0x32, 0x32, 0, 0},
  10430. {0x4B, 0xd, 0xd, 0, 0},
  10431. {0x4C, 0xd, 0xd, 0, 0},
  10432. {0x4D, 0x4, 0x4, 0, 0},
  10433. {0x4E, 0x6, 0x6, 0, 0},
  10434. {0x4F, 0x1, 0x1, 0, 0},
  10435. {0x50, 0x1c, 0x1c, 0, 0},
  10436. {0x51, 0x2, 0x2, 0, 0},
  10437. {0x52, 0x2, 0x2, 0, 0},
  10438. {0x53, 0xf7, 0xf7, 1, 1},
  10439. {0x54, 0xb4, 0xb4, 0, 0},
  10440. {0x55, 0xd2, 0xd2, 0, 0},
  10441. {0x56, 0, 0, 0, 0},
  10442. {0x57, 0, 0, 0, 0},
  10443. {0x58, 0x4, 0x4, 0, 0},
  10444. {0x59, 0x96, 0x96, 0, 0},
  10445. {0x5A, 0x3e, 0x3e, 0, 0},
  10446. {0x5B, 0x3e, 0x3e, 0, 0},
  10447. {0x5C, 0x13, 0x13, 0, 0},
  10448. {0x5D, 0x2, 0x2, 0, 0},
  10449. {0x5E, 0, 0, 0, 0},
  10450. {0x5F, 0x7, 0x7, 0, 0},
  10451. {0x60, 0x7, 0x7, 1, 1},
  10452. {0x61, 0x8, 0x8, 0, 0},
  10453. {0x62, 0x3, 0x3, 0, 0},
  10454. {0x63, 0, 0, 0, 0},
  10455. {0x64, 0, 0, 0, 0},
  10456. {0x65, 0, 0, 0, 0},
  10457. {0x66, 0, 0, 0, 0},
  10458. {0x67, 0, 0, 0, 0},
  10459. {0x68, 0x40, 0x40, 0, 0},
  10460. {0x69, 0, 0, 0, 0},
  10461. {0x6A, 0, 0, 0, 0},
  10462. {0x6B, 0, 0, 0, 0},
  10463. {0x6C, 0, 0, 0, 0},
  10464. {0x6D, 0x1, 0x1, 0, 0},
  10465. {0x6E, 0, 0, 0, 0},
  10466. {0x6F, 0, 0, 0, 0},
  10467. {0x70, 0x60, 0x60, 0, 0},
  10468. {0x71, 0x66, 0x66, 0, 0},
  10469. {0x72, 0xc, 0xc, 0, 0},
  10470. {0x73, 0x66, 0x66, 0, 0},
  10471. {0x74, 0x8f, 0x8f, 1, 1},
  10472. {0x75, 0, 0, 0, 0},
  10473. {0x76, 0xcc, 0xcc, 0, 0},
  10474. {0x77, 0x1, 0x1, 0, 0},
  10475. {0x78, 0x66, 0x66, 0, 0},
  10476. {0x79, 0x66, 0x66, 0, 0},
  10477. {0x7A, 0, 0, 0, 0},
  10478. {0x7B, 0, 0, 0, 0},
  10479. {0x7C, 0, 0, 0, 0},
  10480. {0x7D, 0, 0, 0, 0},
  10481. {0x7E, 0, 0, 0, 0},
  10482. {0x7F, 0, 0, 0, 0},
  10483. {0x80, 0, 0, 0, 0},
  10484. {0x81, 0, 0, 0, 0},
  10485. {0x82, 0, 0, 0, 0},
  10486. {0x83, 0, 0, 0, 0},
  10487. {0x84, 0, 0, 0, 0},
  10488. {0x85, 0xff, 0xff, 0, 0},
  10489. {0x86, 0, 0, 0, 0},
  10490. {0x87, 0, 0, 0, 0},
  10491. {0x88, 0, 0, 0, 0},
  10492. {0x89, 0, 0, 0, 0},
  10493. {0x8A, 0, 0, 0, 0},
  10494. {0x8B, 0, 0, 0, 0},
  10495. {0x8C, 0, 0, 0, 0},
  10496. {0x8D, 0, 0, 0, 0},
  10497. {0x8E, 0, 0, 0, 0},
  10498. {0x8F, 0, 0, 0, 0},
  10499. {0x90, 0, 0, 0, 0},
  10500. {0x91, 0, 0, 0, 0},
  10501. {0x92, 0, 0, 0, 0},
  10502. {0x93, 0, 0, 0, 0},
  10503. {0x94, 0, 0, 0, 0},
  10504. {0x95, 0, 0, 0, 0},
  10505. {0x96, 0, 0, 0, 0},
  10506. {0x97, 0, 0, 0, 0},
  10507. {0x98, 0, 0, 0, 0},
  10508. {0x99, 0, 0, 0, 0},
  10509. {0x9A, 0, 0, 0, 0},
  10510. {0x9B, 0, 0, 0, 0},
  10511. {0x9C, 0, 0, 0, 0},
  10512. {0x9D, 0, 0, 0, 0},
  10513. {0x9E, 0, 0, 0, 0},
  10514. {0x9F, 0x6, 0x6, 0, 0},
  10515. {0xA0, 0x66, 0x66, 0, 0},
  10516. {0xA1, 0x66, 0x66, 0, 0},
  10517. {0xA2, 0x66, 0x66, 0, 0},
  10518. {0xA3, 0x66, 0x66, 0, 0},
  10519. {0xA4, 0x66, 0x66, 0, 0},
  10520. {0xA5, 0x66, 0x66, 0, 0},
  10521. {0xA6, 0x66, 0x66, 0, 0},
  10522. {0xA7, 0x66, 0x66, 0, 0},
  10523. {0xA8, 0x66, 0x66, 0, 0},
  10524. {0xA9, 0x66, 0x66, 0, 0},
  10525. {0xAA, 0x66, 0x66, 0, 0},
  10526. {0xAB, 0x66, 0x66, 0, 0},
  10527. {0xAC, 0x66, 0x66, 0, 0},
  10528. {0xAD, 0x66, 0x66, 0, 0},
  10529. {0xAE, 0x66, 0x66, 0, 0},
  10530. {0xAF, 0x66, 0x66, 0, 0},
  10531. {0xB0, 0x66, 0x66, 0, 0},
  10532. {0xB1, 0x66, 0x66, 0, 0},
  10533. {0xB2, 0x66, 0x66, 0, 0},
  10534. {0xB3, 0xa, 0xa, 0, 0},
  10535. {0xB4, 0, 0, 0, 0},
  10536. {0xB5, 0, 0, 0, 0},
  10537. {0xB6, 0, 0, 0, 0},
  10538. {0xFFFF, 0, 0, 0, 0},
  10539. };
  10540. static struct radio_regs regs_TX_2056_rev8[] = {
  10541. {0x02, 0, 0, 0, 0},
  10542. {0x03, 0, 0, 0, 0},
  10543. {0x04, 0, 0, 0, 0},
  10544. {0x05, 0, 0, 0, 0},
  10545. {0x06, 0, 0, 0, 0},
  10546. {0x07, 0, 0, 0, 0},
  10547. {0x08, 0, 0, 0, 0},
  10548. {0x09, 0, 0, 0, 0},
  10549. {0x0A, 0, 0, 0, 0},
  10550. {0x0B, 0, 0, 0, 0},
  10551. {0x0C, 0, 0, 0, 0},
  10552. {0x0D, 0, 0, 0, 0},
  10553. {0x0E, 0, 0, 0, 0},
  10554. {0x0F, 0, 0, 0, 0},
  10555. {0x10, 0, 0, 0, 0},
  10556. {0x11, 0, 0, 0, 0},
  10557. {0x12, 0, 0, 0, 0},
  10558. {0x13, 0, 0, 0, 0},
  10559. {0x14, 0, 0, 0, 0},
  10560. {0x15, 0, 0, 0, 0},
  10561. {0x16, 0, 0, 0, 0},
  10562. {0x17, 0, 0, 0, 0},
  10563. {0x18, 0, 0, 0, 0},
  10564. {0x19, 0, 0, 0, 0},
  10565. {0x1A, 0, 0, 0, 0},
  10566. {0x1B, 0, 0, 0, 0},
  10567. {0x1C, 0, 0, 0, 0},
  10568. {0x1D, 0, 0, 0, 0},
  10569. {0x1E, 0, 0, 0, 0},
  10570. {0x1F, 0, 0, 0, 0},
  10571. {0x20, 0, 0, 0, 0},
  10572. {0x21, 0x88, 0x88, 0, 0},
  10573. {0x22, 0x88, 0x88, 0, 0},
  10574. {0x23, 0x88, 0x88, 0, 0},
  10575. {0x24, 0x88, 0x88, 0, 0},
  10576. {0x25, 0xc, 0xc, 0, 0},
  10577. {0x26, 0, 0, 0, 0},
  10578. {0x27, 0x3, 0x3, 0, 0},
  10579. {0x28, 0, 0, 0, 0},
  10580. {0x29, 0x3, 0x3, 0, 0},
  10581. {0x2A, 0x37, 0x37, 0, 0},
  10582. {0x2B, 0x3, 0x3, 0, 0},
  10583. {0x2C, 0, 0, 0, 0},
  10584. {0x2D, 0, 0, 0, 0},
  10585. {0x2E, 0x1, 0x1, 0, 0},
  10586. {0x2F, 0x1, 0x1, 0, 0},
  10587. {0x30, 0, 0, 0, 0},
  10588. {0x31, 0, 0, 0, 0},
  10589. {0x32, 0, 0, 0, 0},
  10590. {0x33, 0x11, 0x11, 0, 0},
  10591. {0x34, 0xee, 0xee, 1, 1},
  10592. {0x35, 0, 0, 0, 0},
  10593. {0x36, 0, 0, 0, 0},
  10594. {0x37, 0x3, 0x3, 0, 0},
  10595. {0x38, 0x50, 0x50, 1, 1},
  10596. {0x39, 0, 0, 0, 0},
  10597. {0x3A, 0x50, 0x50, 1, 1},
  10598. {0x3B, 0, 0, 0, 0},
  10599. {0x3C, 0x6e, 0x6e, 0, 0},
  10600. {0x3D, 0xf0, 0xf0, 1, 1},
  10601. {0x3E, 0, 0, 0, 0},
  10602. {0x3F, 0, 0, 0, 0},
  10603. {0x40, 0, 0, 0, 0},
  10604. {0x41, 0x3, 0x3, 0, 0},
  10605. {0x42, 0x3, 0x3, 0, 0},
  10606. {0x43, 0, 0, 0, 0},
  10607. {0x44, 0x1e, 0x1e, 0, 0},
  10608. {0x45, 0, 0, 0, 0},
  10609. {0x46, 0x6e, 0x6e, 0, 0},
  10610. {0x47, 0xf0, 0xf0, 1, 1},
  10611. {0x48, 0, 0, 0, 0},
  10612. {0x49, 0x2, 0x2, 0, 0},
  10613. {0x4A, 0xff, 0xff, 1, 1},
  10614. {0x4B, 0xc, 0xc, 0, 0},
  10615. {0x4C, 0, 0, 0, 0},
  10616. {0x4D, 0x38, 0x38, 0, 0},
  10617. {0x4E, 0x70, 0x70, 1, 1},
  10618. {0x4F, 0x2, 0x2, 0, 0},
  10619. {0x50, 0x88, 0x88, 0, 0},
  10620. {0x51, 0xc, 0xc, 0, 0},
  10621. {0x52, 0, 0, 0, 0},
  10622. {0x53, 0x8, 0x8, 0, 0},
  10623. {0x54, 0x70, 0x70, 1, 1},
  10624. {0x55, 0x2, 0x2, 0, 0},
  10625. {0x56, 0xff, 0xff, 1, 1},
  10626. {0x57, 0, 0, 0, 0},
  10627. {0x58, 0x83, 0x83, 0, 0},
  10628. {0x59, 0x77, 0x77, 1, 1},
  10629. {0x5A, 0, 0, 0, 0},
  10630. {0x5B, 0x2, 0x2, 0, 0},
  10631. {0x5C, 0x88, 0x88, 0, 0},
  10632. {0x5D, 0, 0, 0, 0},
  10633. {0x5E, 0x8, 0x8, 0, 0},
  10634. {0x5F, 0x77, 0x77, 1, 1},
  10635. {0x60, 0x1, 0x1, 0, 0},
  10636. {0x61, 0, 0, 0, 0},
  10637. {0x62, 0x7, 0x7, 0, 0},
  10638. {0x63, 0, 0, 0, 0},
  10639. {0x64, 0x7, 0x7, 0, 0},
  10640. {0x65, 0, 0, 0, 0},
  10641. {0x66, 0, 0, 0, 0},
  10642. {0x67, 0, 0, 1, 1},
  10643. {0x68, 0, 0, 0, 0},
  10644. {0x69, 0xa, 0xa, 0, 0},
  10645. {0x6A, 0, 0, 0, 0},
  10646. {0x6B, 0, 0, 0, 0},
  10647. {0x6C, 0, 0, 0, 0},
  10648. {0x6D, 0, 0, 0, 0},
  10649. {0x6E, 0, 0, 0, 0},
  10650. {0x6F, 0, 0, 0, 0},
  10651. {0x70, 0, 0, 0, 0},
  10652. {0x71, 0x2, 0x2, 0, 0},
  10653. {0x72, 0, 0, 0, 0},
  10654. {0x73, 0, 0, 0, 0},
  10655. {0x74, 0xe, 0xe, 0, 0},
  10656. {0x75, 0xe, 0xe, 0, 0},
  10657. {0x76, 0xe, 0xe, 0, 0},
  10658. {0x77, 0x13, 0x13, 0, 0},
  10659. {0x78, 0x13, 0x13, 0, 0},
  10660. {0x79, 0x1b, 0x1b, 0, 0},
  10661. {0x7A, 0x1b, 0x1b, 0, 0},
  10662. {0x7B, 0x55, 0x55, 0, 0},
  10663. {0x7C, 0x5b, 0x5b, 0, 0},
  10664. {0x7D, 0x30, 0x30, 1, 1},
  10665. {0x7E, 0, 0, 0, 0},
  10666. {0x7F, 0, 0, 0, 0},
  10667. {0x80, 0, 0, 0, 0},
  10668. {0x81, 0, 0, 0, 0},
  10669. {0x82, 0, 0, 0, 0},
  10670. {0x83, 0, 0, 0, 0},
  10671. {0x84, 0, 0, 0, 0},
  10672. {0x85, 0, 0, 0, 0},
  10673. {0x86, 0, 0, 0, 0},
  10674. {0x87, 0, 0, 0, 0},
  10675. {0x88, 0, 0, 0, 0},
  10676. {0x89, 0, 0, 0, 0},
  10677. {0x8A, 0, 0, 0, 0},
  10678. {0x8B, 0, 0, 0, 0},
  10679. {0x8C, 0, 0, 0, 0},
  10680. {0x8D, 0, 0, 0, 0},
  10681. {0x8E, 0, 0, 0, 0},
  10682. {0x8F, 0, 0, 0, 0},
  10683. {0x90, 0, 0, 0, 0},
  10684. {0x91, 0, 0, 0, 0},
  10685. {0x92, 0, 0, 0, 0},
  10686. {0x93, 0x70, 0x70, 0, 0},
  10687. {0x94, 0x70, 0x70, 0, 0},
  10688. {0x95, 0x70, 0x70, 0, 0},
  10689. {0x96, 0x70, 0x70, 0, 0},
  10690. {0x97, 0x70, 0x70, 0, 0},
  10691. {0x98, 0x70, 0x70, 0, 0},
  10692. {0x99, 0x70, 0x70, 0, 0},
  10693. {0x9A, 0x70, 0x70, 0, 0},
  10694. {0xFFFF, 0, 0, 0, 0},
  10695. };
  10696. static struct radio_regs regs_RX_2056_rev8[] = {
  10697. {0x02, 0, 0, 0, 0},
  10698. {0x03, 0, 0, 0, 0},
  10699. {0x04, 0, 0, 0, 0},
  10700. {0x05, 0, 0, 0, 0},
  10701. {0x06, 0, 0, 0, 0},
  10702. {0x07, 0, 0, 0, 0},
  10703. {0x08, 0, 0, 0, 0},
  10704. {0x09, 0, 0, 0, 0},
  10705. {0x0A, 0, 0, 0, 0},
  10706. {0x0B, 0, 0, 0, 0},
  10707. {0x0C, 0, 0, 0, 0},
  10708. {0x0D, 0, 0, 0, 0},
  10709. {0x0E, 0, 0, 0, 0},
  10710. {0x0F, 0, 0, 0, 0},
  10711. {0x10, 0, 0, 0, 0},
  10712. {0x11, 0, 0, 0, 0},
  10713. {0x12, 0, 0, 0, 0},
  10714. {0x13, 0, 0, 0, 0},
  10715. {0x14, 0, 0, 0, 0},
  10716. {0x15, 0, 0, 0, 0},
  10717. {0x16, 0, 0, 0, 0},
  10718. {0x17, 0, 0, 0, 0},
  10719. {0x18, 0, 0, 0, 0},
  10720. {0x19, 0, 0, 0, 0},
  10721. {0x1A, 0, 0, 0, 0},
  10722. {0x1B, 0, 0, 0, 0},
  10723. {0x1C, 0, 0, 0, 0},
  10724. {0x1D, 0, 0, 0, 0},
  10725. {0x1E, 0, 0, 0, 0},
  10726. {0x1F, 0, 0, 0, 0},
  10727. {0x20, 0x3, 0x3, 0, 0},
  10728. {0x21, 0, 0, 0, 0},
  10729. {0x22, 0, 0, 0, 0},
  10730. {0x23, 0x90, 0x90, 0, 0},
  10731. {0x24, 0x55, 0x55, 0, 0},
  10732. {0x25, 0x15, 0x15, 0, 0},
  10733. {0x26, 0x5, 0x5, 0, 0},
  10734. {0x27, 0x15, 0x15, 0, 0},
  10735. {0x28, 0x5, 0x5, 0, 0},
  10736. {0x29, 0x20, 0x20, 0, 0},
  10737. {0x2A, 0x11, 0x11, 0, 0},
  10738. {0x2B, 0x90, 0x90, 0, 0},
  10739. {0x2C, 0, 0, 0, 0},
  10740. {0x2D, 0x88, 0x88, 0, 0},
  10741. {0x2E, 0x32, 0x32, 0, 0},
  10742. {0x2F, 0x77, 0x77, 0, 0},
  10743. {0x30, 0x17, 0x17, 1, 1},
  10744. {0x31, 0xff, 0xff, 1, 1},
  10745. {0x32, 0x20, 0x20, 0, 0},
  10746. {0x33, 0, 0, 0, 0},
  10747. {0x34, 0x88, 0x88, 0, 0},
  10748. {0x35, 0x32, 0x32, 0, 0},
  10749. {0x36, 0x77, 0x77, 0, 0},
  10750. {0x37, 0x17, 0x17, 1, 1},
  10751. {0x38, 0xf0, 0xf0, 1, 1},
  10752. {0x39, 0x20, 0x20, 0, 0},
  10753. {0x3A, 0x8, 0x8, 0, 0},
  10754. {0x3B, 0x55, 0x55, 1, 1},
  10755. {0x3C, 0, 0, 0, 0},
  10756. {0x3D, 0x88, 0x88, 1, 1},
  10757. {0x3E, 0, 0, 0, 0},
  10758. {0x3F, 0x44, 0x44, 0, 0},
  10759. {0x40, 0x7, 0x7, 1, 1},
  10760. {0x41, 0x6, 0x6, 0, 0},
  10761. {0x42, 0x4, 0x4, 0, 0},
  10762. {0x43, 0, 0, 0, 0},
  10763. {0x44, 0x8, 0x8, 0, 0},
  10764. {0x45, 0x55, 0x55, 1, 1},
  10765. {0x46, 0, 0, 0, 0},
  10766. {0x47, 0x11, 0x11, 0, 0},
  10767. {0x48, 0, 0, 0, 0},
  10768. {0x49, 0x44, 0x44, 0, 0},
  10769. {0x4A, 0x7, 0x7, 0, 0},
  10770. {0x4B, 0x6, 0x6, 0, 0},
  10771. {0x4C, 0x4, 0x4, 0, 0},
  10772. {0x4D, 0, 0, 0, 0},
  10773. {0x4E, 0, 0, 0, 0},
  10774. {0x4F, 0x26, 0x26, 1, 1},
  10775. {0x50, 0x26, 0x26, 1, 1},
  10776. {0x51, 0xf, 0xf, 1, 1},
  10777. {0x52, 0xf, 0xf, 1, 1},
  10778. {0x53, 0x44, 0x44, 0, 0},
  10779. {0x54, 0, 0, 0, 0},
  10780. {0x55, 0, 0, 0, 0},
  10781. {0x56, 0x8, 0x8, 0, 0},
  10782. {0x57, 0x8, 0x8, 0, 0},
  10783. {0x58, 0x7, 0x7, 0, 0},
  10784. {0x59, 0x22, 0x22, 0, 0},
  10785. {0x5A, 0x22, 0x22, 0, 0},
  10786. {0x5B, 0x2, 0x2, 0, 0},
  10787. {0x5C, 0x4, 0x4, 1, 1},
  10788. {0x5D, 0x7, 0x7, 0, 0},
  10789. {0x5E, 0x55, 0x55, 0, 0},
  10790. {0x5F, 0x23, 0x23, 0, 0},
  10791. {0x60, 0x41, 0x41, 0, 0},
  10792. {0x61, 0x1, 0x1, 0, 0},
  10793. {0x62, 0xa, 0xa, 0, 0},
  10794. {0x63, 0, 0, 0, 0},
  10795. {0x64, 0, 0, 0, 0},
  10796. {0x65, 0, 0, 0, 0},
  10797. {0x66, 0, 0, 0, 0},
  10798. {0x67, 0, 0, 0, 0},
  10799. {0x68, 0, 0, 0, 0},
  10800. {0x69, 0, 0, 0, 0},
  10801. {0x6A, 0, 0, 0, 0},
  10802. {0x6B, 0xc, 0xc, 0, 0},
  10803. {0x6C, 0, 0, 0, 0},
  10804. {0x6D, 0, 0, 0, 0},
  10805. {0x6E, 0, 0, 0, 0},
  10806. {0x6F, 0, 0, 0, 0},
  10807. {0x70, 0, 0, 0, 0},
  10808. {0x71, 0, 0, 0, 0},
  10809. {0x72, 0x22, 0x22, 0, 0},
  10810. {0x73, 0x22, 0x22, 0, 0},
  10811. {0x74, 0, 0, 1, 1},
  10812. {0x75, 0xa, 0xa, 0, 0},
  10813. {0x76, 0x1, 0x1, 0, 0},
  10814. {0x77, 0x22, 0x22, 0, 0},
  10815. {0x78, 0x30, 0x30, 0, 0},
  10816. {0x79, 0, 0, 0, 0},
  10817. {0x7A, 0, 0, 0, 0},
  10818. {0x7B, 0, 0, 0, 0},
  10819. {0x7C, 0, 0, 0, 0},
  10820. {0x7D, 0x5, 0x5, 1, 1},
  10821. {0x7E, 0, 0, 0, 0},
  10822. {0x7F, 0, 0, 0, 0},
  10823. {0x80, 0, 0, 0, 0},
  10824. {0x81, 0, 0, 0, 0},
  10825. {0x82, 0, 0, 0, 0},
  10826. {0x83, 0, 0, 0, 0},
  10827. {0x84, 0, 0, 0, 0},
  10828. {0x85, 0, 0, 0, 0},
  10829. {0x86, 0, 0, 0, 0},
  10830. {0x87, 0, 0, 0, 0},
  10831. {0x88, 0, 0, 0, 0},
  10832. {0x89, 0, 0, 0, 0},
  10833. {0x8A, 0, 0, 0, 0},
  10834. {0x8B, 0, 0, 0, 0},
  10835. {0x8C, 0, 0, 0, 0},
  10836. {0x8D, 0, 0, 0, 0},
  10837. {0x8E, 0, 0, 0, 0},
  10838. {0x8F, 0, 0, 0, 0},
  10839. {0x90, 0, 0, 0, 0},
  10840. {0x91, 0, 0, 0, 0},
  10841. {0x92, 0, 0, 0, 0},
  10842. {0x93, 0, 0, 0, 0},
  10843. {0x94, 0, 0, 0, 0},
  10844. {0xFFFF, 0, 0, 0, 0},
  10845. };
  10846. static const struct radio_regs regs_SYN_2056_rev11[] = {
  10847. {0x02, 0, 0, 0, 0},
  10848. {0x03, 0, 0, 0, 0},
  10849. {0x04, 0, 0, 0, 0},
  10850. {0x05, 0, 0, 0, 0},
  10851. {0x06, 0, 0, 0, 0},
  10852. {0x07, 0, 0, 0, 0},
  10853. {0x08, 0, 0, 0, 0},
  10854. {0x09, 0x1, 0x1, 0, 0},
  10855. {0x0A, 0, 0, 0, 0},
  10856. {0x0B, 0, 0, 0, 0},
  10857. {0x0C, 0, 0, 0, 0},
  10858. {0x0D, 0, 0, 0, 0},
  10859. {0x0E, 0, 0, 0, 0},
  10860. {0x0F, 0, 0, 0, 0},
  10861. {0x10, 0, 0, 0, 0},
  10862. {0x11, 0, 0, 0, 0},
  10863. {0x12, 0, 0, 0, 0},
  10864. {0x13, 0, 0, 0, 0},
  10865. {0x14, 0, 0, 0, 0},
  10866. {0x15, 0, 0, 0, 0},
  10867. {0x16, 0, 0, 0, 0},
  10868. {0x17, 0, 0, 0, 0},
  10869. {0x18, 0, 0, 0, 0},
  10870. {0x19, 0, 0, 0, 0},
  10871. {0x1A, 0, 0, 0, 0},
  10872. {0x1B, 0, 0, 0, 0},
  10873. {0x1C, 0, 0, 0, 0},
  10874. {0x1D, 0, 0, 0, 0},
  10875. {0x1E, 0, 0, 0, 0},
  10876. {0x1F, 0, 0, 0, 0},
  10877. {0x20, 0, 0, 0, 0},
  10878. {0x21, 0, 0, 0, 0},
  10879. {0x22, 0x60, 0x60, 0, 0},
  10880. {0x23, 0x6, 0x6, 0, 0},
  10881. {0x24, 0xc, 0xc, 0, 0},
  10882. {0x25, 0, 0, 0, 0},
  10883. {0x26, 0, 0, 0, 0},
  10884. {0x27, 0, 0, 0, 0},
  10885. {0x28, 0x1, 0x1, 0, 0},
  10886. {0x29, 0, 0, 0, 0},
  10887. {0x2A, 0, 0, 0, 0},
  10888. {0x2B, 0, 0, 0, 0},
  10889. {0x2C, 0, 0, 0, 0},
  10890. {0x2D, 0, 0, 0, 0},
  10891. {0x2E, 0, 0, 0, 0},
  10892. {0x2F, 0x1f, 0x1f, 0, 0},
  10893. {0x30, 0x15, 0x15, 0, 0},
  10894. {0x31, 0xf, 0xf, 0, 0},
  10895. {0x32, 0, 0, 0, 0},
  10896. {0x33, 0, 0, 0, 0},
  10897. {0x34, 0, 0, 0, 0},
  10898. {0x35, 0, 0, 0, 0},
  10899. {0x36, 0, 0, 0, 0},
  10900. {0x37, 0, 0, 0, 0},
  10901. {0x38, 0, 0, 0, 0},
  10902. {0x39, 0, 0, 0, 0},
  10903. {0x3A, 0, 0, 0, 0},
  10904. {0x3B, 0, 0, 0, 0},
  10905. {0x3C, 0x13, 0x13, 0, 0},
  10906. {0x3D, 0xf, 0xf, 0, 0},
  10907. {0x3E, 0x18, 0x18, 0, 0},
  10908. {0x3F, 0, 0, 0, 0},
  10909. {0x40, 0, 0, 0, 0},
  10910. {0x41, 0x20, 0x20, 0, 0},
  10911. {0x42, 0x20, 0x20, 0, 0},
  10912. {0x43, 0, 0, 0, 0},
  10913. {0x44, 0x77, 0x77, 0, 0},
  10914. {0x45, 0x7, 0x7, 0, 0},
  10915. {0x46, 0x1, 0x1, 0, 0},
  10916. {0x47, 0x6, 0x6, 1, 1},
  10917. {0x48, 0xf, 0xf, 0, 0},
  10918. {0x49, 0x3f, 0x3f, 1, 1},
  10919. {0x4A, 0x32, 0x32, 0, 0},
  10920. {0x4B, 0x6, 0x6, 1, 1},
  10921. {0x4C, 0x6, 0x6, 1, 1},
  10922. {0x4D, 0x4, 0x4, 0, 0},
  10923. {0x4E, 0x2b, 0x2b, 1, 1},
  10924. {0x4F, 0x1, 0x1, 0, 0},
  10925. {0x50, 0x1c, 0x1c, 0, 0},
  10926. {0x51, 0x2, 0x2, 0, 0},
  10927. {0x52, 0x2, 0x2, 0, 0},
  10928. {0x53, 0xf7, 0xf7, 1, 1},
  10929. {0x54, 0xb4, 0xb4, 0, 0},
  10930. {0x55, 0xd2, 0xd2, 0, 0},
  10931. {0x56, 0, 0, 0, 0},
  10932. {0x57, 0, 0, 0, 0},
  10933. {0x58, 0x4, 0x4, 0, 0},
  10934. {0x59, 0x96, 0x96, 0, 0},
  10935. {0x5A, 0x3e, 0x3e, 0, 0},
  10936. {0x5B, 0x3e, 0x3e, 0, 0},
  10937. {0x5C, 0x13, 0x13, 0, 0},
  10938. {0x5D, 0x2, 0x2, 0, 0},
  10939. {0x5E, 0, 0, 0, 0},
  10940. {0x5F, 0x7, 0x7, 0, 0},
  10941. {0x60, 0x7, 0x7, 1, 1},
  10942. {0x61, 0x8, 0x8, 0, 0},
  10943. {0x62, 0x3, 0x3, 0, 0},
  10944. {0x63, 0, 0, 0, 0},
  10945. {0x64, 0, 0, 0, 0},
  10946. {0x65, 0, 0, 0, 0},
  10947. {0x66, 0, 0, 0, 0},
  10948. {0x67, 0, 0, 0, 0},
  10949. {0x68, 0x40, 0x40, 0, 0},
  10950. {0x69, 0, 0, 0, 0},
  10951. {0x6A, 0, 0, 0, 0},
  10952. {0x6B, 0, 0, 0, 0},
  10953. {0x6C, 0, 0, 0, 0},
  10954. {0x6D, 0x1, 0x1, 0, 0},
  10955. {0x6E, 0, 0, 0, 0},
  10956. {0x6F, 0, 0, 0, 0},
  10957. {0x70, 0x60, 0x60, 0, 0},
  10958. {0x71, 0x66, 0x66, 0, 0},
  10959. {0x72, 0xc, 0xc, 0, 0},
  10960. {0x73, 0x66, 0x66, 0, 0},
  10961. {0x74, 0x8f, 0x8f, 1, 1},
  10962. {0x75, 0, 0, 0, 0},
  10963. {0x76, 0xcc, 0xcc, 0, 0},
  10964. {0x77, 0x1, 0x1, 0, 0},
  10965. {0x78, 0x66, 0x66, 0, 0},
  10966. {0x79, 0x66, 0x66, 0, 0},
  10967. {0x7A, 0, 0, 0, 0},
  10968. {0x7B, 0, 0, 0, 0},
  10969. {0x7C, 0, 0, 0, 0},
  10970. {0x7D, 0, 0, 0, 0},
  10971. {0x7E, 0, 0, 0, 0},
  10972. {0x7F, 0, 0, 0, 0},
  10973. {0x80, 0, 0, 0, 0},
  10974. {0x81, 0, 0, 0, 0},
  10975. {0x82, 0, 0, 0, 0},
  10976. {0x83, 0, 0, 0, 0},
  10977. {0x84, 0, 0, 0, 0},
  10978. {0x85, 0xff, 0xff, 0, 0},
  10979. {0x86, 0, 0, 0, 0},
  10980. {0x87, 0, 0, 0, 0},
  10981. {0x88, 0, 0, 0, 0},
  10982. {0x89, 0, 0, 0, 0},
  10983. {0x8A, 0, 0, 0, 0},
  10984. {0x8B, 0, 0, 0, 0},
  10985. {0x8C, 0, 0, 0, 0},
  10986. {0x8D, 0, 0, 0, 0},
  10987. {0x8E, 0, 0, 0, 0},
  10988. {0x8F, 0, 0, 0, 0},
  10989. {0x90, 0, 0, 0, 0},
  10990. {0x91, 0, 0, 0, 0},
  10991. {0x92, 0, 0, 0, 0},
  10992. {0x93, 0, 0, 0, 0},
  10993. {0x94, 0, 0, 0, 0},
  10994. {0x95, 0, 0, 0, 0},
  10995. {0x96, 0, 0, 0, 0},
  10996. {0x97, 0, 0, 0, 0},
  10997. {0x98, 0, 0, 0, 0},
  10998. {0x99, 0, 0, 0, 0},
  10999. {0x9A, 0, 0, 0, 0},
  11000. {0x9B, 0, 0, 0, 0},
  11001. {0x9C, 0, 0, 0, 0},
  11002. {0x9D, 0, 0, 0, 0},
  11003. {0x9E, 0, 0, 0, 0},
  11004. {0x9F, 0x6, 0x6, 0, 0},
  11005. {0xA0, 0x66, 0x66, 0, 0},
  11006. {0xA1, 0x66, 0x66, 0, 0},
  11007. {0xA2, 0x66, 0x66, 0, 0},
  11008. {0xA3, 0x66, 0x66, 0, 0},
  11009. {0xA4, 0x66, 0x66, 0, 0},
  11010. {0xA5, 0x66, 0x66, 0, 0},
  11011. {0xA6, 0x66, 0x66, 0, 0},
  11012. {0xA7, 0x66, 0x66, 0, 0},
  11013. {0xA8, 0x66, 0x66, 0, 0},
  11014. {0xA9, 0x66, 0x66, 0, 0},
  11015. {0xAA, 0x66, 0x66, 0, 0},
  11016. {0xAB, 0x66, 0x66, 0, 0},
  11017. {0xAC, 0x66, 0x66, 0, 0},
  11018. {0xAD, 0x66, 0x66, 0, 0},
  11019. {0xAE, 0x66, 0x66, 0, 0},
  11020. {0xAF, 0x66, 0x66, 0, 0},
  11021. {0xB0, 0x66, 0x66, 0, 0},
  11022. {0xB1, 0x66, 0x66, 0, 0},
  11023. {0xB2, 0x66, 0x66, 0, 0},
  11024. {0xB3, 0xa, 0xa, 0, 0},
  11025. {0xB4, 0, 0, 0, 0},
  11026. {0xB5, 0, 0, 0, 0},
  11027. {0xB6, 0, 0, 0, 0},
  11028. {0xFFFF, 0, 0, 0, 0},
  11029. };
  11030. static const struct radio_regs regs_TX_2056_rev11[] = {
  11031. {0x02, 0, 0, 0, 0},
  11032. {0x03, 0, 0, 0, 0},
  11033. {0x04, 0, 0, 0, 0},
  11034. {0x05, 0, 0, 0, 0},
  11035. {0x06, 0, 0, 0, 0},
  11036. {0x07, 0, 0, 0, 0},
  11037. {0x08, 0, 0, 0, 0},
  11038. {0x09, 0, 0, 0, 0},
  11039. {0x0A, 0, 0, 0, 0},
  11040. {0x0B, 0, 0, 0, 0},
  11041. {0x0C, 0, 0, 0, 0},
  11042. {0x0D, 0, 0, 0, 0},
  11043. {0x0E, 0, 0, 0, 0},
  11044. {0x0F, 0, 0, 0, 0},
  11045. {0x10, 0, 0, 0, 0},
  11046. {0x11, 0, 0, 0, 0},
  11047. {0x12, 0, 0, 0, 0},
  11048. {0x13, 0, 0, 0, 0},
  11049. {0x14, 0, 0, 0, 0},
  11050. {0x15, 0, 0, 0, 0},
  11051. {0x16, 0, 0, 0, 0},
  11052. {0x17, 0, 0, 0, 0},
  11053. {0x18, 0, 0, 0, 0},
  11054. {0x19, 0, 0, 0, 0},
  11055. {0x1A, 0, 0, 0, 0},
  11056. {0x1B, 0, 0, 0, 0},
  11057. {0x1C, 0, 0, 0, 0},
  11058. {0x1D, 0, 0, 0, 0},
  11059. {0x1E, 0, 0, 0, 0},
  11060. {0x1F, 0, 0, 0, 0},
  11061. {0x20, 0, 0, 0, 0},
  11062. {0x21, 0x88, 0x88, 0, 0},
  11063. {0x22, 0x88, 0x88, 0, 0},
  11064. {0x23, 0x88, 0x88, 0, 0},
  11065. {0x24, 0x88, 0x88, 0, 0},
  11066. {0x25, 0xc, 0xc, 0, 0},
  11067. {0x26, 0, 0, 0, 0},
  11068. {0x27, 0x3, 0x3, 0, 0},
  11069. {0x28, 0, 0, 0, 0},
  11070. {0x29, 0x3, 0x3, 0, 0},
  11071. {0x2A, 0x37, 0x37, 0, 0},
  11072. {0x2B, 0x3, 0x3, 0, 0},
  11073. {0x2C, 0, 0, 0, 0},
  11074. {0x2D, 0, 0, 0, 0},
  11075. {0x2E, 0x1, 0x1, 0, 0},
  11076. {0x2F, 0x1, 0x1, 0, 0},
  11077. {0x30, 0, 0, 0, 0},
  11078. {0x31, 0, 0, 0, 0},
  11079. {0x32, 0, 0, 0, 0},
  11080. {0x33, 0x11, 0x11, 0, 0},
  11081. {0x34, 0xee, 0xee, 1, 1},
  11082. {0x35, 0, 0, 0, 0},
  11083. {0x36, 0, 0, 0, 0},
  11084. {0x37, 0x3, 0x3, 0, 0},
  11085. {0x38, 0x50, 0x50, 1, 1},
  11086. {0x39, 0, 0, 0, 0},
  11087. {0x3A, 0x50, 0x50, 1, 1},
  11088. {0x3B, 0, 0, 0, 0},
  11089. {0x3C, 0x6e, 0x6e, 0, 0},
  11090. {0x3D, 0xf0, 0xf0, 1, 1},
  11091. {0x3E, 0, 0, 0, 0},
  11092. {0x3F, 0, 0, 0, 0},
  11093. {0x40, 0, 0, 0, 0},
  11094. {0x41, 0x3, 0x3, 0, 0},
  11095. {0x42, 0x3, 0x3, 0, 0},
  11096. {0x43, 0, 0, 0, 0},
  11097. {0x44, 0x1e, 0x1e, 0, 0},
  11098. {0x45, 0, 0, 0, 0},
  11099. {0x46, 0x6e, 0x6e, 0, 0},
  11100. {0x47, 0xf0, 0xf0, 1, 1},
  11101. {0x48, 0, 0, 0, 0},
  11102. {0x49, 0x2, 0x2, 0, 0},
  11103. {0x4A, 0xff, 0xff, 1, 1},
  11104. {0x4B, 0xc, 0xc, 0, 0},
  11105. {0x4C, 0, 0, 0, 0},
  11106. {0x4D, 0x38, 0x38, 0, 0},
  11107. {0x4E, 0x70, 0x70, 1, 1},
  11108. {0x4F, 0x2, 0x2, 0, 0},
  11109. {0x50, 0x88, 0x88, 0, 0},
  11110. {0x51, 0xc, 0xc, 0, 0},
  11111. {0x52, 0, 0, 0, 0},
  11112. {0x53, 0x8, 0x8, 0, 0},
  11113. {0x54, 0x70, 0x70, 1, 1},
  11114. {0x55, 0x2, 0x2, 0, 0},
  11115. {0x56, 0xff, 0xff, 1, 1},
  11116. {0x57, 0, 0, 0, 0},
  11117. {0x58, 0x83, 0x83, 0, 0},
  11118. {0x59, 0x77, 0x77, 1, 1},
  11119. {0x5A, 0, 0, 0, 0},
  11120. {0x5B, 0x2, 0x2, 0, 0},
  11121. {0x5C, 0x88, 0x88, 0, 0},
  11122. {0x5D, 0, 0, 0, 0},
  11123. {0x5E, 0x8, 0x8, 0, 0},
  11124. {0x5F, 0x77, 0x77, 1, 1},
  11125. {0x60, 0x1, 0x1, 0, 0},
  11126. {0x61, 0, 0, 0, 0},
  11127. {0x62, 0x7, 0x7, 0, 0},
  11128. {0x63, 0, 0, 0, 0},
  11129. {0x64, 0x7, 0x7, 0, 0},
  11130. {0x65, 0, 0, 0, 0},
  11131. {0x66, 0, 0, 0, 0},
  11132. {0x67, 0, 0, 1, 1},
  11133. {0x68, 0, 0, 0, 0},
  11134. {0x69, 0xa, 0xa, 0, 0},
  11135. {0x6A, 0, 0, 0, 0},
  11136. {0x6B, 0, 0, 0, 0},
  11137. {0x6C, 0, 0, 0, 0},
  11138. {0x6D, 0, 0, 0, 0},
  11139. {0x6E, 0, 0, 0, 0},
  11140. {0x6F, 0, 0, 0, 0},
  11141. {0x70, 0, 0, 0, 0},
  11142. {0x71, 0x2, 0x2, 0, 0},
  11143. {0x72, 0, 0, 0, 0},
  11144. {0x73, 0, 0, 0, 0},
  11145. {0x74, 0xe, 0xe, 0, 0},
  11146. {0x75, 0xe, 0xe, 0, 0},
  11147. {0x76, 0xe, 0xe, 0, 0},
  11148. {0x77, 0x13, 0x13, 0, 0},
  11149. {0x78, 0x13, 0x13, 0, 0},
  11150. {0x79, 0x1b, 0x1b, 0, 0},
  11151. {0x7A, 0x1b, 0x1b, 0, 0},
  11152. {0x7B, 0x55, 0x55, 0, 0},
  11153. {0x7C, 0x5b, 0x5b, 0, 0},
  11154. {0x7D, 0x30, 0x30, 1, 1},
  11155. {0x7E, 0, 0, 0, 0},
  11156. {0x7F, 0, 0, 0, 0},
  11157. {0x80, 0, 0, 0, 0},
  11158. {0x81, 0, 0, 0, 0},
  11159. {0x82, 0, 0, 0, 0},
  11160. {0x83, 0, 0, 0, 0},
  11161. {0x84, 0, 0, 0, 0},
  11162. {0x85, 0, 0, 0, 0},
  11163. {0x86, 0, 0, 0, 0},
  11164. {0x87, 0, 0, 0, 0},
  11165. {0x88, 0, 0, 0, 0},
  11166. {0x89, 0, 0, 0, 0},
  11167. {0x8A, 0, 0, 0, 0},
  11168. {0x8B, 0, 0, 0, 0},
  11169. {0x8C, 0, 0, 0, 0},
  11170. {0x8D, 0, 0, 0, 0},
  11171. {0x8E, 0, 0, 0, 0},
  11172. {0x8F, 0, 0, 0, 0},
  11173. {0x90, 0, 0, 0, 0},
  11174. {0x91, 0, 0, 0, 0},
  11175. {0x92, 0, 0, 0, 0},
  11176. {0x93, 0x70, 0x70, 0, 0},
  11177. {0x94, 0x70, 0x70, 0, 0},
  11178. {0x95, 0x70, 0x70, 0, 0},
  11179. {0x96, 0x70, 0x70, 0, 0},
  11180. {0x97, 0x70, 0x70, 0, 0},
  11181. {0x98, 0x70, 0x70, 0, 0},
  11182. {0x99, 0x70, 0x70, 0, 0},
  11183. {0x9A, 0x70, 0x70, 0, 0},
  11184. {0xFFFF, 0, 0, 0, 0},
  11185. };
  11186. static const struct radio_regs regs_RX_2056_rev11[] = {
  11187. {0x02, 0, 0, 0, 0},
  11188. {0x03, 0, 0, 0, 0},
  11189. {0x04, 0, 0, 0, 0},
  11190. {0x05, 0, 0, 0, 0},
  11191. {0x06, 0, 0, 0, 0},
  11192. {0x07, 0, 0, 0, 0},
  11193. {0x08, 0, 0, 0, 0},
  11194. {0x09, 0, 0, 0, 0},
  11195. {0x0A, 0, 0, 0, 0},
  11196. {0x0B, 0, 0, 0, 0},
  11197. {0x0C, 0, 0, 0, 0},
  11198. {0x0D, 0, 0, 0, 0},
  11199. {0x0E, 0, 0, 0, 0},
  11200. {0x0F, 0, 0, 0, 0},
  11201. {0x10, 0, 0, 0, 0},
  11202. {0x11, 0, 0, 0, 0},
  11203. {0x12, 0, 0, 0, 0},
  11204. {0x13, 0, 0, 0, 0},
  11205. {0x14, 0, 0, 0, 0},
  11206. {0x15, 0, 0, 0, 0},
  11207. {0x16, 0, 0, 0, 0},
  11208. {0x17, 0, 0, 0, 0},
  11209. {0x18, 0, 0, 0, 0},
  11210. {0x19, 0, 0, 0, 0},
  11211. {0x1A, 0, 0, 0, 0},
  11212. {0x1B, 0, 0, 0, 0},
  11213. {0x1C, 0, 0, 0, 0},
  11214. {0x1D, 0, 0, 0, 0},
  11215. {0x1E, 0, 0, 0, 0},
  11216. {0x1F, 0, 0, 0, 0},
  11217. {0x20, 0x3, 0x3, 0, 0},
  11218. {0x21, 0, 0, 0, 0},
  11219. {0x22, 0, 0, 0, 0},
  11220. {0x23, 0x90, 0x90, 0, 0},
  11221. {0x24, 0x55, 0x55, 0, 0},
  11222. {0x25, 0x15, 0x15, 0, 0},
  11223. {0x26, 0x5, 0x5, 0, 0},
  11224. {0x27, 0x15, 0x15, 0, 0},
  11225. {0x28, 0x5, 0x5, 0, 0},
  11226. {0x29, 0x20, 0x20, 0, 0},
  11227. {0x2A, 0x11, 0x11, 0, 0},
  11228. {0x2B, 0x90, 0x90, 0, 0},
  11229. {0x2C, 0, 0, 0, 0},
  11230. {0x2D, 0x88, 0x88, 0, 0},
  11231. {0x2E, 0x32, 0x32, 0, 0},
  11232. {0x2F, 0x77, 0x77, 0, 0},
  11233. {0x30, 0x17, 0x17, 1, 1},
  11234. {0x31, 0xff, 0xff, 1, 1},
  11235. {0x32, 0x20, 0x20, 0, 0},
  11236. {0x33, 0, 0, 0, 0},
  11237. {0x34, 0x88, 0x88, 0, 0},
  11238. {0x35, 0x32, 0x32, 0, 0},
  11239. {0x36, 0x77, 0x77, 0, 0},
  11240. {0x37, 0x17, 0x17, 1, 1},
  11241. {0x38, 0xf0, 0xf0, 1, 1},
  11242. {0x39, 0x20, 0x20, 0, 0},
  11243. {0x3A, 0x8, 0x8, 0, 0},
  11244. {0x3B, 0x55, 0x55, 1, 1},
  11245. {0x3C, 0, 0, 0, 0},
  11246. {0x3D, 0x88, 0x88, 1, 1},
  11247. {0x3E, 0, 0, 0, 0},
  11248. {0x3F, 0x44, 0x44, 0, 0},
  11249. {0x40, 0x7, 0x7, 1, 1},
  11250. {0x41, 0x6, 0x6, 0, 0},
  11251. {0x42, 0x4, 0x4, 0, 0},
  11252. {0x43, 0, 0, 0, 0},
  11253. {0x44, 0x8, 0x8, 0, 0},
  11254. {0x45, 0x55, 0x55, 1, 1},
  11255. {0x46, 0, 0, 0, 0},
  11256. {0x47, 0x11, 0x11, 0, 0},
  11257. {0x48, 0, 0, 0, 0},
  11258. {0x49, 0x44, 0x44, 0, 0},
  11259. {0x4A, 0x7, 0x7, 0, 0},
  11260. {0x4B, 0x6, 0x6, 0, 0},
  11261. {0x4C, 0x4, 0x4, 0, 0},
  11262. {0x4D, 0, 0, 0, 0},
  11263. {0x4E, 0, 0, 0, 0},
  11264. {0x4F, 0x26, 0x26, 1, 1},
  11265. {0x50, 0x26, 0x26, 1, 1},
  11266. {0x51, 0xf, 0xf, 1, 1},
  11267. {0x52, 0xf, 0xf, 1, 1},
  11268. {0x53, 0x44, 0x44, 0, 0},
  11269. {0x54, 0, 0, 0, 0},
  11270. {0x55, 0, 0, 0, 0},
  11271. {0x56, 0x8, 0x8, 0, 0},
  11272. {0x57, 0x8, 0x8, 0, 0},
  11273. {0x58, 0x7, 0x7, 0, 0},
  11274. {0x59, 0x22, 0x22, 0, 0},
  11275. {0x5A, 0x22, 0x22, 0, 0},
  11276. {0x5B, 0x2, 0x2, 0, 0},
  11277. {0x5C, 0x4, 0x4, 1, 1},
  11278. {0x5D, 0x7, 0x7, 0, 0},
  11279. {0x5E, 0x55, 0x55, 0, 0},
  11280. {0x5F, 0x23, 0x23, 0, 0},
  11281. {0x60, 0x41, 0x41, 0, 0},
  11282. {0x61, 0x1, 0x1, 0, 0},
  11283. {0x62, 0xa, 0xa, 0, 0},
  11284. {0x63, 0, 0, 0, 0},
  11285. {0x64, 0, 0, 0, 0},
  11286. {0x65, 0, 0, 0, 0},
  11287. {0x66, 0, 0, 0, 0},
  11288. {0x67, 0, 0, 0, 0},
  11289. {0x68, 0, 0, 0, 0},
  11290. {0x69, 0, 0, 0, 0},
  11291. {0x6A, 0, 0, 0, 0},
  11292. {0x6B, 0xc, 0xc, 0, 0},
  11293. {0x6C, 0, 0, 0, 0},
  11294. {0x6D, 0, 0, 0, 0},
  11295. {0x6E, 0, 0, 0, 0},
  11296. {0x6F, 0, 0, 0, 0},
  11297. {0x70, 0, 0, 0, 0},
  11298. {0x71, 0, 0, 0, 0},
  11299. {0x72, 0x22, 0x22, 0, 0},
  11300. {0x73, 0x22, 0x22, 0, 0},
  11301. {0x74, 0, 0, 1, 1},
  11302. {0x75, 0xa, 0xa, 0, 0},
  11303. {0x76, 0x1, 0x1, 0, 0},
  11304. {0x77, 0x22, 0x22, 0, 0},
  11305. {0x78, 0x30, 0x30, 0, 0},
  11306. {0x79, 0, 0, 0, 0},
  11307. {0x7A, 0, 0, 0, 0},
  11308. {0x7B, 0, 0, 0, 0},
  11309. {0x7C, 0, 0, 0, 0},
  11310. {0x7D, 0x5, 0x5, 1, 1},
  11311. {0x7E, 0, 0, 0, 0},
  11312. {0x7F, 0, 0, 0, 0},
  11313. {0x80, 0, 0, 0, 0},
  11314. {0x81, 0, 0, 0, 0},
  11315. {0x82, 0, 0, 0, 0},
  11316. {0x83, 0, 0, 0, 0},
  11317. {0x84, 0, 0, 0, 0},
  11318. {0x85, 0, 0, 0, 0},
  11319. {0x86, 0, 0, 0, 0},
  11320. {0x87, 0, 0, 0, 0},
  11321. {0x88, 0, 0, 0, 0},
  11322. {0x89, 0, 0, 0, 0},
  11323. {0x8A, 0, 0, 0, 0},
  11324. {0x8B, 0, 0, 0, 0},
  11325. {0x8C, 0, 0, 0, 0},
  11326. {0x8D, 0, 0, 0, 0},
  11327. {0x8E, 0, 0, 0, 0},
  11328. {0x8F, 0, 0, 0, 0},
  11329. {0x90, 0, 0, 0, 0},
  11330. {0x91, 0, 0, 0, 0},
  11331. {0x92, 0, 0, 0, 0},
  11332. {0x93, 0, 0, 0, 0},
  11333. {0x94, 0, 0, 0, 0},
  11334. {0xFFFF, 0, 0, 0, 0},
  11335. };
  11336. static struct radio_20xx_regs regs_2057_rev4[] = {
  11337. {0x00, 0x84, 0},
  11338. {0x01, 0, 0},
  11339. {0x02, 0x60, 0},
  11340. {0x03, 0x1f, 0},
  11341. {0x04, 0x4, 0},
  11342. {0x05, 0x2, 0},
  11343. {0x06, 0x1, 0},
  11344. {0x07, 0x1, 0},
  11345. {0x08, 0x1, 0},
  11346. {0x09, 0x69, 0},
  11347. {0x0A, 0x66, 0},
  11348. {0x0B, 0x6, 0},
  11349. {0x0C, 0x18, 0},
  11350. {0x0D, 0x3, 0},
  11351. {0x0E, 0x20, 1},
  11352. {0x0F, 0x20, 0},
  11353. {0x10, 0, 0},
  11354. {0x11, 0x7c, 0},
  11355. {0x12, 0x42, 0},
  11356. {0x13, 0xbd, 0},
  11357. {0x14, 0x7, 0},
  11358. {0x15, 0xf7, 0},
  11359. {0x16, 0x8, 0},
  11360. {0x17, 0x17, 0},
  11361. {0x18, 0x7, 0},
  11362. {0x19, 0, 0},
  11363. {0x1A, 0x2, 0},
  11364. {0x1B, 0x13, 0},
  11365. {0x1C, 0x3e, 0},
  11366. {0x1D, 0x3e, 0},
  11367. {0x1E, 0x96, 0},
  11368. {0x1F, 0x4, 0},
  11369. {0x20, 0, 0},
  11370. {0x21, 0, 0},
  11371. {0x22, 0x17, 0},
  11372. {0x23, 0x4, 0},
  11373. {0x24, 0x1, 0},
  11374. {0x25, 0x6, 0},
  11375. {0x26, 0x4, 0},
  11376. {0x27, 0xd, 0},
  11377. {0x28, 0xd, 0},
  11378. {0x29, 0x30, 0},
  11379. {0x2A, 0x32, 0},
  11380. {0x2B, 0x8, 0},
  11381. {0x2C, 0x1c, 0},
  11382. {0x2D, 0x2, 0},
  11383. {0x2E, 0x4, 0},
  11384. {0x2F, 0x7f, 0},
  11385. {0x30, 0x27, 0},
  11386. {0x31, 0, 1},
  11387. {0x32, 0, 1},
  11388. {0x33, 0, 1},
  11389. {0x34, 0, 0},
  11390. {0x35, 0x26, 1},
  11391. {0x36, 0x18, 0},
  11392. {0x37, 0x7, 0},
  11393. {0x38, 0x66, 0},
  11394. {0x39, 0x66, 0},
  11395. {0x3A, 0x66, 0},
  11396. {0x3B, 0x66, 0},
  11397. {0x3C, 0xff, 1},
  11398. {0x3D, 0xff, 1},
  11399. {0x3E, 0xff, 1},
  11400. {0x3F, 0xff, 1},
  11401. {0x40, 0x16, 0},
  11402. {0x41, 0x7, 0},
  11403. {0x42, 0x19, 0},
  11404. {0x43, 0x7, 0},
  11405. {0x44, 0x6, 0},
  11406. {0x45, 0x3, 0},
  11407. {0x46, 0x1, 0},
  11408. {0x47, 0x7, 0},
  11409. {0x48, 0x33, 0},
  11410. {0x49, 0x5, 0},
  11411. {0x4A, 0x77, 0},
  11412. {0x4B, 0x66, 0},
  11413. {0x4C, 0x66, 0},
  11414. {0x4D, 0, 0},
  11415. {0x4E, 0x4, 0},
  11416. {0x4F, 0xc, 0},
  11417. {0x50, 0, 0},
  11418. {0x51, 0x75, 0},
  11419. {0x56, 0x7, 0},
  11420. {0x57, 0, 0},
  11421. {0x58, 0, 0},
  11422. {0x59, 0xa8, 0},
  11423. {0x5A, 0, 0},
  11424. {0x5B, 0x1f, 0},
  11425. {0x5C, 0x30, 0},
  11426. {0x5D, 0x1, 0},
  11427. {0x5E, 0x30, 0},
  11428. {0x5F, 0x70, 0},
  11429. {0x60, 0, 0},
  11430. {0x61, 0, 0},
  11431. {0x62, 0x33, 1},
  11432. {0x63, 0x19, 0},
  11433. {0x64, 0x62, 0},
  11434. {0x65, 0, 0},
  11435. {0x66, 0x11, 0},
  11436. {0x69, 0, 0},
  11437. {0x6A, 0x7e, 0},
  11438. {0x6B, 0x3f, 0},
  11439. {0x6C, 0x7f, 0},
  11440. {0x6D, 0x78, 0},
  11441. {0x6E, 0xc8, 0},
  11442. {0x6F, 0x88, 0},
  11443. {0x70, 0x8, 0},
  11444. {0x71, 0xf, 0},
  11445. {0x72, 0xbc, 0},
  11446. {0x73, 0x8, 0},
  11447. {0x74, 0x60, 0},
  11448. {0x75, 0x1e, 0},
  11449. {0x76, 0x70, 0},
  11450. {0x77, 0, 0},
  11451. {0x78, 0, 0},
  11452. {0x79, 0, 0},
  11453. {0x7A, 0x33, 0},
  11454. {0x7B, 0x1e, 0},
  11455. {0x7C, 0x62, 0},
  11456. {0x7D, 0x11, 0},
  11457. {0x80, 0x3c, 0},
  11458. {0x81, 0x9c, 0},
  11459. {0x82, 0xa, 0},
  11460. {0x83, 0x9d, 0},
  11461. {0x84, 0xa, 0},
  11462. {0x85, 0, 0},
  11463. {0x86, 0x40, 0},
  11464. {0x87, 0x40, 0},
  11465. {0x88, 0x88, 0},
  11466. {0x89, 0x10, 0},
  11467. {0x8A, 0xf0, 1},
  11468. {0x8B, 0x10, 1},
  11469. {0x8C, 0xf0, 1},
  11470. {0x8D, 0, 0},
  11471. {0x8E, 0, 0},
  11472. {0x8F, 0x10, 0},
  11473. {0x90, 0x55, 0},
  11474. {0x91, 0x3f, 1},
  11475. {0x92, 0x36, 1},
  11476. {0x93, 0, 0},
  11477. {0x94, 0, 0},
  11478. {0x95, 0, 0},
  11479. {0x96, 0x87, 0},
  11480. {0x97, 0x11, 0},
  11481. {0x98, 0, 0},
  11482. {0x99, 0x33, 0},
  11483. {0x9A, 0x88, 0},
  11484. {0x9B, 0, 0},
  11485. {0x9C, 0x87, 0},
  11486. {0x9D, 0x11, 0},
  11487. {0x9E, 0, 0},
  11488. {0x9F, 0x33, 0},
  11489. {0xA0, 0x88, 0},
  11490. {0xA1, 0xe1, 0},
  11491. {0xA2, 0x3f, 0},
  11492. {0xA3, 0x44, 0},
  11493. {0xA4, 0x8c, 1},
  11494. {0xA5, 0x6d, 0},
  11495. {0xA6, 0x22, 0},
  11496. {0xA7, 0xbe, 0},
  11497. {0xA8, 0x55, 1},
  11498. {0xA9, 0xc, 0},
  11499. {0xAA, 0xc, 0},
  11500. {0xAB, 0xaa, 0},
  11501. {0xAC, 0x2, 0},
  11502. {0xAD, 0, 0},
  11503. {0xAE, 0x10, 0},
  11504. {0xAF, 0x1, 1},
  11505. {0xB0, 0, 0},
  11506. {0xB1, 0, 0},
  11507. {0xB2, 0x80, 0},
  11508. {0xB3, 0x60, 0},
  11509. {0xB4, 0x44, 0},
  11510. {0xB5, 0x55, 0},
  11511. {0xB6, 0x1, 0},
  11512. {0xB7, 0x55, 0},
  11513. {0xB8, 0x1, 0},
  11514. {0xB9, 0x5, 0},
  11515. {0xBA, 0x55, 0},
  11516. {0xBB, 0x55, 0},
  11517. {0xC1, 0, 0},
  11518. {0xC2, 0, 0},
  11519. {0xC3, 0, 0},
  11520. {0xC4, 0, 0},
  11521. {0xC5, 0, 0},
  11522. {0xC6, 0, 0},
  11523. {0xC7, 0, 0},
  11524. {0xC8, 0, 0},
  11525. {0xC9, 0, 0},
  11526. {0xCA, 0, 0},
  11527. {0xCB, 0, 0},
  11528. {0xCC, 0, 0},
  11529. {0xCD, 0, 0},
  11530. {0xCE, 0x5e, 0},
  11531. {0xCF, 0xc, 0},
  11532. {0xD0, 0xc, 0},
  11533. {0xD1, 0xc, 0},
  11534. {0xD2, 0, 0},
  11535. {0xD3, 0x2b, 0},
  11536. {0xD4, 0xc, 0},
  11537. {0xD5, 0, 0},
  11538. {0xD6, 0x75, 0},
  11539. {0xDB, 0x7, 0},
  11540. {0xDC, 0, 0},
  11541. {0xDD, 0, 0},
  11542. {0xDE, 0xa8, 0},
  11543. {0xDF, 0, 0},
  11544. {0xE0, 0x1f, 0},
  11545. {0xE1, 0x30, 0},
  11546. {0xE2, 0x1, 0},
  11547. {0xE3, 0x30, 0},
  11548. {0xE4, 0x70, 0},
  11549. {0xE5, 0, 0},
  11550. {0xE6, 0, 0},
  11551. {0xE7, 0x33, 0},
  11552. {0xE8, 0x19, 0},
  11553. {0xE9, 0x62, 0},
  11554. {0xEA, 0, 0},
  11555. {0xEB, 0x11, 0},
  11556. {0xEE, 0, 0},
  11557. {0xEF, 0x7e, 0},
  11558. {0xF0, 0x3f, 0},
  11559. {0xF1, 0x7f, 0},
  11560. {0xF2, 0x78, 0},
  11561. {0xF3, 0xc8, 0},
  11562. {0xF4, 0x88, 0},
  11563. {0xF5, 0x8, 0},
  11564. {0xF6, 0xf, 0},
  11565. {0xF7, 0xbc, 0},
  11566. {0xF8, 0x8, 0},
  11567. {0xF9, 0x60, 0},
  11568. {0xFA, 0x1e, 0},
  11569. {0xFB, 0x70, 0},
  11570. {0xFC, 0, 0},
  11571. {0xFD, 0, 0},
  11572. {0xFE, 0, 0},
  11573. {0xFF, 0x33, 0},
  11574. {0x100, 0x1e, 0},
  11575. {0x101, 0x62, 0},
  11576. {0x102, 0x11, 0},
  11577. {0x105, 0x3c, 0},
  11578. {0x106, 0x9c, 0},
  11579. {0x107, 0xa, 0},
  11580. {0x108, 0x9d, 0},
  11581. {0x109, 0xa, 0},
  11582. {0x10A, 0, 0},
  11583. {0x10B, 0x40, 0},
  11584. {0x10C, 0x40, 0},
  11585. {0x10D, 0x88, 0},
  11586. {0x10E, 0x10, 0},
  11587. {0x10F, 0xf0, 1},
  11588. {0x110, 0x10, 1},
  11589. {0x111, 0xf0, 1},
  11590. {0x112, 0, 0},
  11591. {0x113, 0, 0},
  11592. {0x114, 0x10, 0},
  11593. {0x115, 0x55, 0},
  11594. {0x116, 0x3f, 1},
  11595. {0x117, 0x36, 1},
  11596. {0x118, 0, 0},
  11597. {0x119, 0, 0},
  11598. {0x11A, 0, 0},
  11599. {0x11B, 0x87, 0},
  11600. {0x11C, 0x11, 0},
  11601. {0x11D, 0, 0},
  11602. {0x11E, 0x33, 0},
  11603. {0x11F, 0x88, 0},
  11604. {0x120, 0, 0},
  11605. {0x121, 0x87, 0},
  11606. {0x122, 0x11, 0},
  11607. {0x123, 0, 0},
  11608. {0x124, 0x33, 0},
  11609. {0x125, 0x88, 0},
  11610. {0x126, 0xe1, 0},
  11611. {0x127, 0x3f, 0},
  11612. {0x128, 0x44, 0},
  11613. {0x129, 0x8c, 1},
  11614. {0x12A, 0x6d, 0},
  11615. {0x12B, 0x22, 0},
  11616. {0x12C, 0xbe, 0},
  11617. {0x12D, 0x55, 1},
  11618. {0x12E, 0xc, 0},
  11619. {0x12F, 0xc, 0},
  11620. {0x130, 0xaa, 0},
  11621. {0x131, 0x2, 0},
  11622. {0x132, 0, 0},
  11623. {0x133, 0x10, 0},
  11624. {0x134, 0x1, 1},
  11625. {0x135, 0, 0},
  11626. {0x136, 0, 0},
  11627. {0x137, 0x80, 0},
  11628. {0x138, 0x60, 0},
  11629. {0x139, 0x44, 0},
  11630. {0x13A, 0x55, 0},
  11631. {0x13B, 0x1, 0},
  11632. {0x13C, 0x55, 0},
  11633. {0x13D, 0x1, 0},
  11634. {0x13E, 0x5, 0},
  11635. {0x13F, 0x55, 0},
  11636. {0x140, 0x55, 0},
  11637. {0x146, 0, 0},
  11638. {0x147, 0, 0},
  11639. {0x148, 0, 0},
  11640. {0x149, 0, 0},
  11641. {0x14A, 0, 0},
  11642. {0x14B, 0, 0},
  11643. {0x14C, 0, 0},
  11644. {0x14D, 0, 0},
  11645. {0x14E, 0, 0},
  11646. {0x14F, 0, 0},
  11647. {0x150, 0, 0},
  11648. {0x151, 0, 0},
  11649. {0x152, 0, 0},
  11650. {0x153, 0, 0},
  11651. {0x154, 0xc, 0},
  11652. {0x155, 0xc, 0},
  11653. {0x156, 0xc, 0},
  11654. {0x157, 0, 0},
  11655. {0x158, 0x2b, 0},
  11656. {0x159, 0x84, 0},
  11657. {0x15A, 0x15, 0},
  11658. {0x15B, 0xf, 0},
  11659. {0x15C, 0, 0},
  11660. {0x15D, 0, 0},
  11661. {0x15E, 0, 1},
  11662. {0x15F, 0, 1},
  11663. {0x160, 0, 1},
  11664. {0x161, 0, 1},
  11665. {0x162, 0, 1},
  11666. {0x163, 0, 1},
  11667. {0x164, 0, 0},
  11668. {0x165, 0, 0},
  11669. {0x166, 0, 0},
  11670. {0x167, 0, 0},
  11671. {0x168, 0, 0},
  11672. {0x169, 0x2, 1},
  11673. {0x16A, 0, 1},
  11674. {0x16B, 0, 1},
  11675. {0x16C, 0, 1},
  11676. {0x16D, 0, 0},
  11677. {0x170, 0, 0},
  11678. {0x171, 0x77, 0},
  11679. {0x172, 0x77, 0},
  11680. {0x173, 0x77, 0},
  11681. {0x174, 0x77, 0},
  11682. {0x175, 0, 0},
  11683. {0x176, 0x3, 0},
  11684. {0x177, 0x37, 0},
  11685. {0x178, 0x3, 0},
  11686. {0x179, 0, 0},
  11687. {0x17A, 0x21, 0},
  11688. {0x17B, 0x21, 0},
  11689. {0x17C, 0, 0},
  11690. {0x17D, 0xaa, 0},
  11691. {0x17E, 0, 0},
  11692. {0x17F, 0xaa, 0},
  11693. {0x180, 0, 0},
  11694. {0x190, 0, 0},
  11695. {0x191, 0x77, 0},
  11696. {0x192, 0x77, 0},
  11697. {0x193, 0x77, 0},
  11698. {0x194, 0x77, 0},
  11699. {0x195, 0, 0},
  11700. {0x196, 0x3, 0},
  11701. {0x197, 0x37, 0},
  11702. {0x198, 0x3, 0},
  11703. {0x199, 0, 0},
  11704. {0x19A, 0x21, 0},
  11705. {0x19B, 0x21, 0},
  11706. {0x19C, 0, 0},
  11707. {0x19D, 0xaa, 0},
  11708. {0x19E, 0, 0},
  11709. {0x19F, 0xaa, 0},
  11710. {0x1A0, 0, 0},
  11711. {0x1A1, 0x2, 0},
  11712. {0x1A2, 0xf, 0},
  11713. {0x1A3, 0xf, 0},
  11714. {0x1A4, 0, 1},
  11715. {0x1A5, 0, 1},
  11716. {0x1A6, 0, 1},
  11717. {0x1A7, 0x2, 0},
  11718. {0x1A8, 0xf, 0},
  11719. {0x1A9, 0xf, 0},
  11720. {0x1AA, 0, 1},
  11721. {0x1AB, 0, 1},
  11722. {0x1AC, 0, 1},
  11723. {0xFFFF, 0, 0},
  11724. };
  11725. static struct radio_20xx_regs regs_2057_rev5[] = {
  11726. {0x00, 0, 1},
  11727. {0x01, 0x57, 1},
  11728. {0x02, 0x20, 1},
  11729. {0x03, 0x1f, 0},
  11730. {0x04, 0x4, 0},
  11731. {0x05, 0x2, 0},
  11732. {0x06, 0x1, 0},
  11733. {0x07, 0x1, 0},
  11734. {0x08, 0x1, 0},
  11735. {0x09, 0x69, 0},
  11736. {0x0A, 0x66, 0},
  11737. {0x0B, 0x6, 0},
  11738. {0x0C, 0x18, 0},
  11739. {0x0D, 0x3, 0},
  11740. {0x0E, 0x20, 0},
  11741. {0x0F, 0x20, 0},
  11742. {0x10, 0, 0},
  11743. {0x11, 0x7c, 0},
  11744. {0x12, 0x42, 0},
  11745. {0x13, 0xbd, 0},
  11746. {0x14, 0x7, 0},
  11747. {0x15, 0x87, 0},
  11748. {0x16, 0x8, 0},
  11749. {0x17, 0x17, 0},
  11750. {0x18, 0x7, 0},
  11751. {0x19, 0, 0},
  11752. {0x1A, 0x2, 0},
  11753. {0x1B, 0x13, 0},
  11754. {0x1C, 0x3e, 0},
  11755. {0x1D, 0x3e, 0},
  11756. {0x1E, 0x96, 0},
  11757. {0x1F, 0x4, 0},
  11758. {0x20, 0, 0},
  11759. {0x21, 0, 0},
  11760. {0x22, 0x17, 0},
  11761. {0x23, 0x6, 1},
  11762. {0x24, 0x1, 0},
  11763. {0x25, 0x6, 0},
  11764. {0x26, 0x4, 0},
  11765. {0x27, 0xd, 0},
  11766. {0x28, 0xd, 0},
  11767. {0x29, 0x30, 0},
  11768. {0x2A, 0x32, 0},
  11769. {0x2B, 0x8, 0},
  11770. {0x2C, 0x1c, 0},
  11771. {0x2D, 0x2, 0},
  11772. {0x2E, 0x4, 0},
  11773. {0x2F, 0x7f, 0},
  11774. {0x30, 0x27, 0},
  11775. {0x31, 0, 1},
  11776. {0x32, 0, 1},
  11777. {0x33, 0, 1},
  11778. {0x34, 0, 0},
  11779. {0x35, 0x20, 0},
  11780. {0x36, 0x18, 0},
  11781. {0x37, 0x7, 0},
  11782. {0x38, 0x66, 0},
  11783. {0x39, 0x66, 0},
  11784. {0x3C, 0xff, 0},
  11785. {0x3D, 0xff, 0},
  11786. {0x40, 0x16, 0},
  11787. {0x41, 0x7, 0},
  11788. {0x45, 0x3, 0},
  11789. {0x46, 0x1, 0},
  11790. {0x47, 0x7, 0},
  11791. {0x4B, 0x66, 0},
  11792. {0x4C, 0x66, 0},
  11793. {0x4D, 0, 0},
  11794. {0x4E, 0x4, 0},
  11795. {0x4F, 0xc, 0},
  11796. {0x50, 0, 0},
  11797. {0x51, 0x70, 1},
  11798. {0x56, 0x7, 0},
  11799. {0x57, 0, 0},
  11800. {0x58, 0, 0},
  11801. {0x59, 0x88, 1},
  11802. {0x5A, 0, 0},
  11803. {0x5B, 0x1f, 0},
  11804. {0x5C, 0x20, 1},
  11805. {0x5D, 0x1, 0},
  11806. {0x5E, 0x30, 0},
  11807. {0x5F, 0x70, 0},
  11808. {0x60, 0, 0},
  11809. {0x61, 0, 0},
  11810. {0x62, 0x33, 1},
  11811. {0x63, 0xf, 1},
  11812. {0x64, 0xf, 1},
  11813. {0x65, 0, 0},
  11814. {0x66, 0x11, 0},
  11815. {0x80, 0x3c, 0},
  11816. {0x81, 0x1, 1},
  11817. {0x82, 0xa, 0},
  11818. {0x85, 0, 0},
  11819. {0x86, 0x40, 0},
  11820. {0x87, 0x40, 0},
  11821. {0x88, 0x88, 0},
  11822. {0x89, 0x10, 0},
  11823. {0x8A, 0xf0, 0},
  11824. {0x8B, 0x10, 0},
  11825. {0x8C, 0xf0, 0},
  11826. {0x8F, 0x10, 0},
  11827. {0x90, 0x55, 0},
  11828. {0x91, 0x3f, 1},
  11829. {0x92, 0x36, 1},
  11830. {0x93, 0, 0},
  11831. {0x94, 0, 0},
  11832. {0x95, 0, 0},
  11833. {0x96, 0x87, 0},
  11834. {0x97, 0x11, 0},
  11835. {0x98, 0, 0},
  11836. {0x99, 0x33, 0},
  11837. {0x9A, 0x88, 0},
  11838. {0xA1, 0x20, 1},
  11839. {0xA2, 0x3f, 0},
  11840. {0xA3, 0x44, 0},
  11841. {0xA4, 0x8c, 0},
  11842. {0xA5, 0x6c, 0},
  11843. {0xA6, 0x22, 0},
  11844. {0xA7, 0xbe, 0},
  11845. {0xA8, 0x55, 0},
  11846. {0xAA, 0xc, 0},
  11847. {0xAB, 0xaa, 0},
  11848. {0xAC, 0x2, 0},
  11849. {0xAD, 0, 0},
  11850. {0xAE, 0x10, 0},
  11851. {0xAF, 0x1, 0},
  11852. {0xB0, 0, 0},
  11853. {0xB1, 0, 0},
  11854. {0xB2, 0x80, 0},
  11855. {0xB3, 0x60, 0},
  11856. {0xB4, 0x44, 0},
  11857. {0xB5, 0x55, 0},
  11858. {0xB6, 0x1, 0},
  11859. {0xB7, 0x55, 0},
  11860. {0xB8, 0x1, 0},
  11861. {0xB9, 0x5, 0},
  11862. {0xBA, 0x55, 0},
  11863. {0xBB, 0x55, 0},
  11864. {0xC3, 0, 0},
  11865. {0xC4, 0, 0},
  11866. {0xC5, 0, 0},
  11867. {0xC6, 0, 0},
  11868. {0xC7, 0, 0},
  11869. {0xC8, 0, 0},
  11870. {0xC9, 0, 0},
  11871. {0xCA, 0, 0},
  11872. {0xCB, 0, 0},
  11873. {0xCD, 0, 0},
  11874. {0xCE, 0x5e, 0},
  11875. {0xCF, 0xc, 0},
  11876. {0xD0, 0xc, 0},
  11877. {0xD1, 0xc, 0},
  11878. {0xD2, 0, 0},
  11879. {0xD3, 0x2b, 0},
  11880. {0xD4, 0xc, 0},
  11881. {0xD5, 0, 0},
  11882. {0xD6, 0x70, 1},
  11883. {0xDB, 0x7, 0},
  11884. {0xDC, 0, 0},
  11885. {0xDD, 0, 0},
  11886. {0xDE, 0x88, 1},
  11887. {0xDF, 0, 0},
  11888. {0xE0, 0x1f, 0},
  11889. {0xE1, 0x20, 1},
  11890. {0xE2, 0x1, 0},
  11891. {0xE3, 0x30, 0},
  11892. {0xE4, 0x70, 0},
  11893. {0xE5, 0, 0},
  11894. {0xE6, 0, 0},
  11895. {0xE7, 0x33, 0},
  11896. {0xE8, 0xf, 1},
  11897. {0xE9, 0xf, 1},
  11898. {0xEA, 0, 0},
  11899. {0xEB, 0x11, 0},
  11900. {0x105, 0x3c, 0},
  11901. {0x106, 0x1, 1},
  11902. {0x107, 0xa, 0},
  11903. {0x10A, 0, 0},
  11904. {0x10B, 0x40, 0},
  11905. {0x10C, 0x40, 0},
  11906. {0x10D, 0x88, 0},
  11907. {0x10E, 0x10, 0},
  11908. {0x10F, 0xf0, 0},
  11909. {0x110, 0x10, 0},
  11910. {0x111, 0xf0, 0},
  11911. {0x114, 0x10, 0},
  11912. {0x115, 0x55, 0},
  11913. {0x116, 0x3f, 1},
  11914. {0x117, 0x36, 1},
  11915. {0x118, 0, 0},
  11916. {0x119, 0, 0},
  11917. {0x11A, 0, 0},
  11918. {0x11B, 0x87, 0},
  11919. {0x11C, 0x11, 0},
  11920. {0x11D, 0, 0},
  11921. {0x11E, 0x33, 0},
  11922. {0x11F, 0x88, 0},
  11923. {0x126, 0x20, 1},
  11924. {0x127, 0x3f, 0},
  11925. {0x128, 0x44, 0},
  11926. {0x129, 0x8c, 0},
  11927. {0x12A, 0x6c, 0},
  11928. {0x12B, 0x22, 0},
  11929. {0x12C, 0xbe, 0},
  11930. {0x12D, 0x55, 0},
  11931. {0x12F, 0xc, 0},
  11932. {0x130, 0xaa, 0},
  11933. {0x131, 0x2, 0},
  11934. {0x132, 0, 0},
  11935. {0x133, 0x10, 0},
  11936. {0x134, 0x1, 0},
  11937. {0x135, 0, 0},
  11938. {0x136, 0, 0},
  11939. {0x137, 0x80, 0},
  11940. {0x138, 0x60, 0},
  11941. {0x139, 0x44, 0},
  11942. {0x13A, 0x55, 0},
  11943. {0x13B, 0x1, 0},
  11944. {0x13C, 0x55, 0},
  11945. {0x13D, 0x1, 0},
  11946. {0x13E, 0x5, 0},
  11947. {0x13F, 0x55, 0},
  11948. {0x140, 0x55, 0},
  11949. {0x148, 0, 0},
  11950. {0x149, 0, 0},
  11951. {0x14A, 0, 0},
  11952. {0x14B, 0, 0},
  11953. {0x14C, 0, 0},
  11954. {0x14D, 0, 0},
  11955. {0x14E, 0, 0},
  11956. {0x14F, 0, 0},
  11957. {0x150, 0, 0},
  11958. {0x154, 0xc, 0},
  11959. {0x155, 0xc, 0},
  11960. {0x156, 0xc, 0},
  11961. {0x157, 0, 0},
  11962. {0x158, 0x2b, 0},
  11963. {0x159, 0x84, 0},
  11964. {0x15A, 0x15, 0},
  11965. {0x15B, 0xf, 0},
  11966. {0x15C, 0, 0},
  11967. {0x15D, 0, 0},
  11968. {0x15E, 0, 1},
  11969. {0x15F, 0, 1},
  11970. {0x160, 0, 1},
  11971. {0x161, 0, 1},
  11972. {0x162, 0, 1},
  11973. {0x163, 0, 1},
  11974. {0x164, 0, 0},
  11975. {0x165, 0, 0},
  11976. {0x166, 0, 0},
  11977. {0x167, 0, 0},
  11978. {0x168, 0, 0},
  11979. {0x169, 0, 0},
  11980. {0x16A, 0, 1},
  11981. {0x16B, 0, 1},
  11982. {0x16C, 0, 1},
  11983. {0x16D, 0, 0},
  11984. {0x170, 0, 0},
  11985. {0x171, 0x77, 0},
  11986. {0x172, 0x77, 0},
  11987. {0x173, 0x77, 0},
  11988. {0x174, 0x77, 0},
  11989. {0x175, 0, 0},
  11990. {0x176, 0x3, 0},
  11991. {0x177, 0x37, 0},
  11992. {0x178, 0x3, 0},
  11993. {0x179, 0, 0},
  11994. {0x17B, 0x21, 0},
  11995. {0x17C, 0, 0},
  11996. {0x17D, 0xaa, 0},
  11997. {0x17E, 0, 0},
  11998. {0x190, 0, 0},
  11999. {0x191, 0x77, 0},
  12000. {0x192, 0x77, 0},
  12001. {0x193, 0x77, 0},
  12002. {0x194, 0x77, 0},
  12003. {0x195, 0, 0},
  12004. {0x196, 0x3, 0},
  12005. {0x197, 0x37, 0},
  12006. {0x198, 0x3, 0},
  12007. {0x199, 0, 0},
  12008. {0x19B, 0x21, 0},
  12009. {0x19C, 0, 0},
  12010. {0x19D, 0xaa, 0},
  12011. {0x19E, 0, 0},
  12012. {0x1A1, 0x2, 0},
  12013. {0x1A2, 0xf, 0},
  12014. {0x1A3, 0xf, 0},
  12015. {0x1A4, 0, 1},
  12016. {0x1A5, 0, 1},
  12017. {0x1A6, 0, 1},
  12018. {0x1A7, 0x2, 0},
  12019. {0x1A8, 0xf, 0},
  12020. {0x1A9, 0xf, 0},
  12021. {0x1AA, 0, 1},
  12022. {0x1AB, 0, 1},
  12023. {0x1AC, 0, 1},
  12024. {0x1AD, 0x84, 0},
  12025. {0x1AE, 0x60, 0},
  12026. {0x1AF, 0x47, 0},
  12027. {0x1B0, 0x47, 0},
  12028. {0x1B1, 0, 0},
  12029. {0x1B2, 0, 0},
  12030. {0x1B3, 0, 0},
  12031. {0x1B4, 0, 0},
  12032. {0x1B5, 0, 0},
  12033. {0x1B6, 0, 0},
  12034. {0x1B7, 0xc, 1},
  12035. {0x1B8, 0, 0},
  12036. {0x1B9, 0, 0},
  12037. {0x1BA, 0, 0},
  12038. {0x1BB, 0, 0},
  12039. {0x1BC, 0, 0},
  12040. {0x1BD, 0, 0},
  12041. {0x1BE, 0, 0},
  12042. {0x1BF, 0, 0},
  12043. {0x1C0, 0, 0},
  12044. {0x1C1, 0x1, 1},
  12045. {0x1C2, 0x80, 1},
  12046. {0x1C3, 0, 0},
  12047. {0x1C4, 0, 0},
  12048. {0x1C5, 0, 0},
  12049. {0x1C6, 0, 0},
  12050. {0x1C7, 0, 0},
  12051. {0x1C8, 0, 0},
  12052. {0x1C9, 0, 0},
  12053. {0x1CA, 0, 0},
  12054. {0xFFFF, 0, 0}
  12055. };
  12056. static struct radio_20xx_regs regs_2057_rev5v1[] = {
  12057. {0x00, 0x15, 1},
  12058. {0x01, 0x57, 1},
  12059. {0x02, 0x20, 1},
  12060. {0x03, 0x1f, 0},
  12061. {0x04, 0x4, 0},
  12062. {0x05, 0x2, 0},
  12063. {0x06, 0x1, 0},
  12064. {0x07, 0x1, 0},
  12065. {0x08, 0x1, 0},
  12066. {0x09, 0x69, 0},
  12067. {0x0A, 0x66, 0},
  12068. {0x0B, 0x6, 0},
  12069. {0x0C, 0x18, 0},
  12070. {0x0D, 0x3, 0},
  12071. {0x0E, 0x20, 0},
  12072. {0x0F, 0x20, 0},
  12073. {0x10, 0, 0},
  12074. {0x11, 0x7c, 0},
  12075. {0x12, 0x42, 0},
  12076. {0x13, 0xbd, 0},
  12077. {0x14, 0x7, 0},
  12078. {0x15, 0x87, 0},
  12079. {0x16, 0x8, 0},
  12080. {0x17, 0x17, 0},
  12081. {0x18, 0x7, 0},
  12082. {0x19, 0, 0},
  12083. {0x1A, 0x2, 0},
  12084. {0x1B, 0x13, 0},
  12085. {0x1C, 0x3e, 0},
  12086. {0x1D, 0x3e, 0},
  12087. {0x1E, 0x96, 0},
  12088. {0x1F, 0x4, 0},
  12089. {0x20, 0, 0},
  12090. {0x21, 0, 0},
  12091. {0x22, 0x17, 0},
  12092. {0x23, 0x6, 1},
  12093. {0x24, 0x1, 0},
  12094. {0x25, 0x6, 0},
  12095. {0x26, 0x4, 0},
  12096. {0x27, 0xd, 0},
  12097. {0x28, 0xd, 0},
  12098. {0x29, 0x30, 0},
  12099. {0x2A, 0x32, 0},
  12100. {0x2B, 0x8, 0},
  12101. {0x2C, 0x1c, 0},
  12102. {0x2D, 0x2, 0},
  12103. {0x2E, 0x4, 0},
  12104. {0x2F, 0x7f, 0},
  12105. {0x30, 0x27, 0},
  12106. {0x31, 0, 1},
  12107. {0x32, 0, 1},
  12108. {0x33, 0, 1},
  12109. {0x34, 0, 0},
  12110. {0x35, 0x20, 0},
  12111. {0x36, 0x18, 0},
  12112. {0x37, 0x7, 0},
  12113. {0x38, 0x66, 0},
  12114. {0x39, 0x66, 0},
  12115. {0x3C, 0xff, 0},
  12116. {0x3D, 0xff, 0},
  12117. {0x40, 0x16, 0},
  12118. {0x41, 0x7, 0},
  12119. {0x45, 0x3, 0},
  12120. {0x46, 0x1, 0},
  12121. {0x47, 0x7, 0},
  12122. {0x4B, 0x66, 0},
  12123. {0x4C, 0x66, 0},
  12124. {0x4D, 0, 0},
  12125. {0x4E, 0x4, 0},
  12126. {0x4F, 0xc, 0},
  12127. {0x50, 0, 0},
  12128. {0x51, 0x70, 1},
  12129. {0x56, 0x7, 0},
  12130. {0x57, 0, 0},
  12131. {0x58, 0, 0},
  12132. {0x59, 0x88, 1},
  12133. {0x5A, 0, 0},
  12134. {0x5B, 0x1f, 0},
  12135. {0x5C, 0x20, 1},
  12136. {0x5D, 0x1, 0},
  12137. {0x5E, 0x30, 0},
  12138. {0x5F, 0x70, 0},
  12139. {0x60, 0, 0},
  12140. {0x61, 0, 0},
  12141. {0x62, 0x33, 1},
  12142. {0x63, 0xf, 1},
  12143. {0x64, 0xf, 1},
  12144. {0x65, 0, 0},
  12145. {0x66, 0x11, 0},
  12146. {0x80, 0x3c, 0},
  12147. {0x81, 0x1, 1},
  12148. {0x82, 0xa, 0},
  12149. {0x85, 0, 0},
  12150. {0x86, 0x40, 0},
  12151. {0x87, 0x40, 0},
  12152. {0x88, 0x88, 0},
  12153. {0x89, 0x10, 0},
  12154. {0x8A, 0xf0, 0},
  12155. {0x8B, 0x10, 0},
  12156. {0x8C, 0xf0, 0},
  12157. {0x8F, 0x10, 0},
  12158. {0x90, 0x55, 0},
  12159. {0x91, 0x3f, 1},
  12160. {0x92, 0x36, 1},
  12161. {0x93, 0, 0},
  12162. {0x94, 0, 0},
  12163. {0x95, 0, 0},
  12164. {0x96, 0x87, 0},
  12165. {0x97, 0x11, 0},
  12166. {0x98, 0, 0},
  12167. {0x99, 0x33, 0},
  12168. {0x9A, 0x88, 0},
  12169. {0xA1, 0x20, 1},
  12170. {0xA2, 0x3f, 0},
  12171. {0xA3, 0x44, 0},
  12172. {0xA4, 0x8c, 0},
  12173. {0xA5, 0x6c, 0},
  12174. {0xA6, 0x22, 0},
  12175. {0xA7, 0xbe, 0},
  12176. {0xA8, 0x55, 0},
  12177. {0xAA, 0xc, 0},
  12178. {0xAB, 0xaa, 0},
  12179. {0xAC, 0x2, 0},
  12180. {0xAD, 0, 0},
  12181. {0xAE, 0x10, 0},
  12182. {0xAF, 0x1, 0},
  12183. {0xB0, 0, 0},
  12184. {0xB1, 0, 0},
  12185. {0xB2, 0x80, 0},
  12186. {0xB3, 0x60, 0},
  12187. {0xB4, 0x44, 0},
  12188. {0xB5, 0x55, 0},
  12189. {0xB6, 0x1, 0},
  12190. {0xB7, 0x55, 0},
  12191. {0xB8, 0x1, 0},
  12192. {0xB9, 0x5, 0},
  12193. {0xBA, 0x55, 0},
  12194. {0xBB, 0x55, 0},
  12195. {0xC3, 0, 0},
  12196. {0xC4, 0, 0},
  12197. {0xC5, 0, 0},
  12198. {0xC6, 0, 0},
  12199. {0xC7, 0, 0},
  12200. {0xC8, 0, 0},
  12201. {0xC9, 0x1, 1},
  12202. {0xCA, 0, 0},
  12203. {0xCB, 0, 0},
  12204. {0xCD, 0, 0},
  12205. {0xCE, 0x5e, 0},
  12206. {0xCF, 0xc, 0},
  12207. {0xD0, 0xc, 0},
  12208. {0xD1, 0xc, 0},
  12209. {0xD2, 0, 0},
  12210. {0xD3, 0x2b, 0},
  12211. {0xD4, 0xc, 0},
  12212. {0xD5, 0, 0},
  12213. {0xD6, 0x70, 1},
  12214. {0xDB, 0x7, 0},
  12215. {0xDC, 0, 0},
  12216. {0xDD, 0, 0},
  12217. {0xDE, 0x88, 1},
  12218. {0xDF, 0, 0},
  12219. {0xE0, 0x1f, 0},
  12220. {0xE1, 0x20, 1},
  12221. {0xE2, 0x1, 0},
  12222. {0xE3, 0x30, 0},
  12223. {0xE4, 0x70, 0},
  12224. {0xE5, 0, 0},
  12225. {0xE6, 0, 0},
  12226. {0xE7, 0x33, 0},
  12227. {0xE8, 0xf, 1},
  12228. {0xE9, 0xf, 1},
  12229. {0xEA, 0, 0},
  12230. {0xEB, 0x11, 0},
  12231. {0x105, 0x3c, 0},
  12232. {0x106, 0x1, 1},
  12233. {0x107, 0xa, 0},
  12234. {0x10A, 0, 0},
  12235. {0x10B, 0x40, 0},
  12236. {0x10C, 0x40, 0},
  12237. {0x10D, 0x88, 0},
  12238. {0x10E, 0x10, 0},
  12239. {0x10F, 0xf0, 0},
  12240. {0x110, 0x10, 0},
  12241. {0x111, 0xf0, 0},
  12242. {0x114, 0x10, 0},
  12243. {0x115, 0x55, 0},
  12244. {0x116, 0x3f, 1},
  12245. {0x117, 0x36, 1},
  12246. {0x118, 0, 0},
  12247. {0x119, 0, 0},
  12248. {0x11A, 0, 0},
  12249. {0x11B, 0x87, 0},
  12250. {0x11C, 0x11, 0},
  12251. {0x11D, 0, 0},
  12252. {0x11E, 0x33, 0},
  12253. {0x11F, 0x88, 0},
  12254. {0x126, 0x20, 1},
  12255. {0x127, 0x3f, 0},
  12256. {0x128, 0x44, 0},
  12257. {0x129, 0x8c, 0},
  12258. {0x12A, 0x6c, 0},
  12259. {0x12B, 0x22, 0},
  12260. {0x12C, 0xbe, 0},
  12261. {0x12D, 0x55, 0},
  12262. {0x12F, 0xc, 0},
  12263. {0x130, 0xaa, 0},
  12264. {0x131, 0x2, 0},
  12265. {0x132, 0, 0},
  12266. {0x133, 0x10, 0},
  12267. {0x134, 0x1, 0},
  12268. {0x135, 0, 0},
  12269. {0x136, 0, 0},
  12270. {0x137, 0x80, 0},
  12271. {0x138, 0x60, 0},
  12272. {0x139, 0x44, 0},
  12273. {0x13A, 0x55, 0},
  12274. {0x13B, 0x1, 0},
  12275. {0x13C, 0x55, 0},
  12276. {0x13D, 0x1, 0},
  12277. {0x13E, 0x5, 0},
  12278. {0x13F, 0x55, 0},
  12279. {0x140, 0x55, 0},
  12280. {0x148, 0, 0},
  12281. {0x149, 0, 0},
  12282. {0x14A, 0, 0},
  12283. {0x14B, 0, 0},
  12284. {0x14C, 0, 0},
  12285. {0x14D, 0, 0},
  12286. {0x14E, 0x1, 1},
  12287. {0x14F, 0, 0},
  12288. {0x150, 0, 0},
  12289. {0x154, 0xc, 0},
  12290. {0x155, 0xc, 0},
  12291. {0x156, 0xc, 0},
  12292. {0x157, 0, 0},
  12293. {0x158, 0x2b, 0},
  12294. {0x159, 0x84, 0},
  12295. {0x15A, 0x15, 0},
  12296. {0x15B, 0xf, 0},
  12297. {0x15C, 0, 0},
  12298. {0x15D, 0, 0},
  12299. {0x15E, 0, 1},
  12300. {0x15F, 0, 1},
  12301. {0x160, 0, 1},
  12302. {0x161, 0, 1},
  12303. {0x162, 0, 1},
  12304. {0x163, 0, 1},
  12305. {0x164, 0, 0},
  12306. {0x165, 0, 0},
  12307. {0x166, 0, 0},
  12308. {0x167, 0, 0},
  12309. {0x168, 0, 0},
  12310. {0x169, 0, 0},
  12311. {0x16A, 0, 1},
  12312. {0x16B, 0, 1},
  12313. {0x16C, 0, 1},
  12314. {0x16D, 0, 0},
  12315. {0x170, 0, 0},
  12316. {0x171, 0x77, 0},
  12317. {0x172, 0x77, 0},
  12318. {0x173, 0x77, 0},
  12319. {0x174, 0x77, 0},
  12320. {0x175, 0, 0},
  12321. {0x176, 0x3, 0},
  12322. {0x177, 0x37, 0},
  12323. {0x178, 0x3, 0},
  12324. {0x179, 0, 0},
  12325. {0x17B, 0x21, 0},
  12326. {0x17C, 0, 0},
  12327. {0x17D, 0xaa, 0},
  12328. {0x17E, 0, 0},
  12329. {0x190, 0, 0},
  12330. {0x191, 0x77, 0},
  12331. {0x192, 0x77, 0},
  12332. {0x193, 0x77, 0},
  12333. {0x194, 0x77, 0},
  12334. {0x195, 0, 0},
  12335. {0x196, 0x3, 0},
  12336. {0x197, 0x37, 0},
  12337. {0x198, 0x3, 0},
  12338. {0x199, 0, 0},
  12339. {0x19B, 0x21, 0},
  12340. {0x19C, 0, 0},
  12341. {0x19D, 0xaa, 0},
  12342. {0x19E, 0, 0},
  12343. {0x1A1, 0x2, 0},
  12344. {0x1A2, 0xf, 0},
  12345. {0x1A3, 0xf, 0},
  12346. {0x1A4, 0, 1},
  12347. {0x1A5, 0, 1},
  12348. {0x1A6, 0, 1},
  12349. {0x1A7, 0x2, 0},
  12350. {0x1A8, 0xf, 0},
  12351. {0x1A9, 0xf, 0},
  12352. {0x1AA, 0, 1},
  12353. {0x1AB, 0, 1},
  12354. {0x1AC, 0, 1},
  12355. {0x1AD, 0x84, 0},
  12356. {0x1AE, 0x60, 0},
  12357. {0x1AF, 0x47, 0},
  12358. {0x1B0, 0x47, 0},
  12359. {0x1B1, 0, 0},
  12360. {0x1B2, 0, 0},
  12361. {0x1B3, 0, 0},
  12362. {0x1B4, 0, 0},
  12363. {0x1B5, 0, 0},
  12364. {0x1B6, 0, 0},
  12365. {0x1B7, 0xc, 1},
  12366. {0x1B8, 0, 0},
  12367. {0x1B9, 0, 0},
  12368. {0x1BA, 0, 0},
  12369. {0x1BB, 0, 0},
  12370. {0x1BC, 0, 0},
  12371. {0x1BD, 0, 0},
  12372. {0x1BE, 0, 0},
  12373. {0x1BF, 0, 0},
  12374. {0x1C0, 0, 0},
  12375. {0x1C1, 0x1, 1},
  12376. {0x1C2, 0x80, 1},
  12377. {0x1C3, 0, 0},
  12378. {0x1C4, 0, 0},
  12379. {0x1C5, 0, 0},
  12380. {0x1C6, 0, 0},
  12381. {0x1C7, 0, 0},
  12382. {0x1C8, 0, 0},
  12383. {0x1C9, 0, 0},
  12384. {0x1CA, 0, 0},
  12385. {0xFFFF, 0, 0}
  12386. };
  12387. static struct radio_20xx_regs regs_2057_rev7[] = {
  12388. {0x00, 0, 1},
  12389. {0x01, 0x57, 1},
  12390. {0x02, 0x20, 1},
  12391. {0x03, 0x1f, 0},
  12392. {0x04, 0x4, 0},
  12393. {0x05, 0x2, 0},
  12394. {0x06, 0x1, 0},
  12395. {0x07, 0x1, 0},
  12396. {0x08, 0x1, 0},
  12397. {0x09, 0x69, 0},
  12398. {0x0A, 0x66, 0},
  12399. {0x0B, 0x6, 0},
  12400. {0x0C, 0x18, 0},
  12401. {0x0D, 0x3, 0},
  12402. {0x0E, 0x20, 0},
  12403. {0x0F, 0x20, 0},
  12404. {0x10, 0, 0},
  12405. {0x11, 0x7c, 0},
  12406. {0x12, 0x42, 0},
  12407. {0x13, 0xbd, 0},
  12408. {0x14, 0x7, 0},
  12409. {0x15, 0x87, 0},
  12410. {0x16, 0x8, 0},
  12411. {0x17, 0x17, 0},
  12412. {0x18, 0x7, 0},
  12413. {0x19, 0, 0},
  12414. {0x1A, 0x2, 0},
  12415. {0x1B, 0x13, 0},
  12416. {0x1C, 0x3e, 0},
  12417. {0x1D, 0x3e, 0},
  12418. {0x1E, 0x96, 0},
  12419. {0x1F, 0x4, 0},
  12420. {0x20, 0, 0},
  12421. {0x21, 0, 0},
  12422. {0x22, 0x17, 0},
  12423. {0x23, 0x6, 0},
  12424. {0x24, 0x1, 0},
  12425. {0x25, 0x6, 0},
  12426. {0x26, 0x4, 0},
  12427. {0x27, 0xd, 0},
  12428. {0x28, 0xd, 0},
  12429. {0x29, 0x30, 0},
  12430. {0x2A, 0x32, 0},
  12431. {0x2B, 0x8, 0},
  12432. {0x2C, 0x1c, 0},
  12433. {0x2D, 0x2, 0},
  12434. {0x2E, 0x4, 0},
  12435. {0x2F, 0x7f, 0},
  12436. {0x30, 0x27, 0},
  12437. {0x31, 0, 1},
  12438. {0x32, 0, 1},
  12439. {0x33, 0, 1},
  12440. {0x34, 0, 0},
  12441. {0x35, 0x20, 0},
  12442. {0x36, 0x18, 0},
  12443. {0x37, 0x7, 0},
  12444. {0x38, 0x66, 0},
  12445. {0x39, 0x66, 0},
  12446. {0x3A, 0x66, 0},
  12447. {0x3B, 0x66, 0},
  12448. {0x3C, 0xff, 0},
  12449. {0x3D, 0xff, 0},
  12450. {0x3E, 0xff, 0},
  12451. {0x3F, 0xff, 0},
  12452. {0x40, 0x16, 0},
  12453. {0x41, 0x7, 0},
  12454. {0x42, 0x19, 0},
  12455. {0x43, 0x7, 0},
  12456. {0x44, 0x6, 0},
  12457. {0x45, 0x3, 0},
  12458. {0x46, 0x1, 0},
  12459. {0x47, 0x7, 0},
  12460. {0x48, 0x33, 0},
  12461. {0x49, 0x5, 0},
  12462. {0x4A, 0x77, 0},
  12463. {0x4B, 0x66, 0},
  12464. {0x4C, 0x66, 0},
  12465. {0x4D, 0, 0},
  12466. {0x4E, 0x4, 0},
  12467. {0x4F, 0xc, 0},
  12468. {0x50, 0, 0},
  12469. {0x51, 0x70, 1},
  12470. {0x56, 0x7, 0},
  12471. {0x57, 0, 0},
  12472. {0x58, 0, 0},
  12473. {0x59, 0x88, 1},
  12474. {0x5A, 0, 0},
  12475. {0x5B, 0x1f, 0},
  12476. {0x5C, 0x20, 1},
  12477. {0x5D, 0x1, 0},
  12478. {0x5E, 0x30, 0},
  12479. {0x5F, 0x70, 0},
  12480. {0x60, 0, 0},
  12481. {0x61, 0, 0},
  12482. {0x62, 0x33, 1},
  12483. {0x63, 0xf, 1},
  12484. {0x64, 0x13, 1},
  12485. {0x65, 0, 0},
  12486. {0x66, 0xee, 1},
  12487. {0x69, 0, 0},
  12488. {0x6A, 0x7e, 0},
  12489. {0x6B, 0x3f, 0},
  12490. {0x6C, 0x7f, 0},
  12491. {0x6D, 0x78, 0},
  12492. {0x6E, 0x58, 1},
  12493. {0x6F, 0x88, 0},
  12494. {0x70, 0x8, 0},
  12495. {0x71, 0xf, 0},
  12496. {0x72, 0xbc, 0},
  12497. {0x73, 0x8, 0},
  12498. {0x74, 0x60, 0},
  12499. {0x75, 0x13, 1},
  12500. {0x76, 0x70, 0},
  12501. {0x77, 0, 0},
  12502. {0x78, 0, 0},
  12503. {0x79, 0, 0},
  12504. {0x7A, 0x33, 0},
  12505. {0x7B, 0x13, 1},
  12506. {0x7C, 0x14, 1},
  12507. {0x7D, 0xee, 1},
  12508. {0x80, 0x3c, 0},
  12509. {0x81, 0x1, 1},
  12510. {0x82, 0xa, 0},
  12511. {0x83, 0x9d, 0},
  12512. {0x84, 0xa, 0},
  12513. {0x85, 0, 0},
  12514. {0x86, 0x40, 0},
  12515. {0x87, 0x40, 0},
  12516. {0x88, 0x88, 0},
  12517. {0x89, 0x10, 0},
  12518. {0x8A, 0xf0, 0},
  12519. {0x8B, 0x10, 0},
  12520. {0x8C, 0xf0, 0},
  12521. {0x8D, 0, 0},
  12522. {0x8E, 0, 0},
  12523. {0x8F, 0x10, 0},
  12524. {0x90, 0x55, 0},
  12525. {0x91, 0x3f, 1},
  12526. {0x92, 0x36, 1},
  12527. {0x93, 0, 0},
  12528. {0x94, 0, 0},
  12529. {0x95, 0, 0},
  12530. {0x96, 0x87, 0},
  12531. {0x97, 0x11, 0},
  12532. {0x98, 0, 0},
  12533. {0x99, 0x33, 0},
  12534. {0x9A, 0x88, 0},
  12535. {0x9B, 0, 0},
  12536. {0x9C, 0x87, 0},
  12537. {0x9D, 0x11, 0},
  12538. {0x9E, 0, 0},
  12539. {0x9F, 0x33, 0},
  12540. {0xA0, 0x88, 0},
  12541. {0xA1, 0x20, 1},
  12542. {0xA2, 0x3f, 0},
  12543. {0xA3, 0x44, 0},
  12544. {0xA4, 0x8c, 0},
  12545. {0xA5, 0x6c, 0},
  12546. {0xA6, 0x22, 0},
  12547. {0xA7, 0xbe, 0},
  12548. {0xA8, 0x55, 0},
  12549. {0xAA, 0xc, 0},
  12550. {0xAB, 0xaa, 0},
  12551. {0xAC, 0x2, 0},
  12552. {0xAD, 0, 0},
  12553. {0xAE, 0x10, 0},
  12554. {0xAF, 0x1, 0},
  12555. {0xB0, 0, 0},
  12556. {0xB1, 0, 0},
  12557. {0xB2, 0x80, 0},
  12558. {0xB3, 0x60, 0},
  12559. {0xB4, 0x44, 0},
  12560. {0xB5, 0x55, 0},
  12561. {0xB6, 0x1, 0},
  12562. {0xB7, 0x55, 0},
  12563. {0xB8, 0x1, 0},
  12564. {0xB9, 0x5, 0},
  12565. {0xBA, 0x55, 0},
  12566. {0xBB, 0x55, 0},
  12567. {0xC1, 0, 0},
  12568. {0xC2, 0, 0},
  12569. {0xC3, 0, 0},
  12570. {0xC4, 0, 0},
  12571. {0xC5, 0, 0},
  12572. {0xC6, 0, 0},
  12573. {0xC7, 0, 0},
  12574. {0xC8, 0, 0},
  12575. {0xC9, 0, 0},
  12576. {0xCA, 0, 0},
  12577. {0xCB, 0, 0},
  12578. {0xCC, 0, 0},
  12579. {0xCD, 0, 0},
  12580. {0xCE, 0x5e, 0},
  12581. {0xCF, 0xc, 0},
  12582. {0xD0, 0xc, 0},
  12583. {0xD1, 0xc, 0},
  12584. {0xD2, 0, 0},
  12585. {0xD3, 0x2b, 0},
  12586. {0xD4, 0xc, 0},
  12587. {0xD5, 0, 0},
  12588. {0xD6, 0x70, 1},
  12589. {0xDB, 0x7, 0},
  12590. {0xDC, 0, 0},
  12591. {0xDD, 0, 0},
  12592. {0xDE, 0x88, 1},
  12593. {0xDF, 0, 0},
  12594. {0xE0, 0x1f, 0},
  12595. {0xE1, 0x20, 1},
  12596. {0xE2, 0x1, 0},
  12597. {0xE3, 0x30, 0},
  12598. {0xE4, 0x70, 0},
  12599. {0xE5, 0, 0},
  12600. {0xE6, 0, 0},
  12601. {0xE7, 0x33, 0},
  12602. {0xE8, 0xf, 1},
  12603. {0xE9, 0x13, 1},
  12604. {0xEA, 0, 0},
  12605. {0xEB, 0xee, 1},
  12606. {0xEE, 0, 0},
  12607. {0xEF, 0x7e, 0},
  12608. {0xF0, 0x3f, 0},
  12609. {0xF1, 0x7f, 0},
  12610. {0xF2, 0x78, 0},
  12611. {0xF3, 0x58, 1},
  12612. {0xF4, 0x88, 0},
  12613. {0xF5, 0x8, 0},
  12614. {0xF6, 0xf, 0},
  12615. {0xF7, 0xbc, 0},
  12616. {0xF8, 0x8, 0},
  12617. {0xF9, 0x60, 0},
  12618. {0xFA, 0x13, 1},
  12619. {0xFB, 0x70, 0},
  12620. {0xFC, 0, 0},
  12621. {0xFD, 0, 0},
  12622. {0xFE, 0, 0},
  12623. {0xFF, 0x33, 0},
  12624. {0x100, 0x13, 1},
  12625. {0x101, 0x14, 1},
  12626. {0x102, 0xee, 1},
  12627. {0x105, 0x3c, 0},
  12628. {0x106, 0x1, 1},
  12629. {0x107, 0xa, 0},
  12630. {0x108, 0x9d, 0},
  12631. {0x109, 0xa, 0},
  12632. {0x10A, 0, 0},
  12633. {0x10B, 0x40, 0},
  12634. {0x10C, 0x40, 0},
  12635. {0x10D, 0x88, 0},
  12636. {0x10E, 0x10, 0},
  12637. {0x10F, 0xf0, 0},
  12638. {0x110, 0x10, 0},
  12639. {0x111, 0xf0, 0},
  12640. {0x112, 0, 0},
  12641. {0x113, 0, 0},
  12642. {0x114, 0x10, 0},
  12643. {0x115, 0x55, 0},
  12644. {0x116, 0x3f, 1},
  12645. {0x117, 0x36, 1},
  12646. {0x118, 0, 0},
  12647. {0x119, 0, 0},
  12648. {0x11A, 0, 0},
  12649. {0x11B, 0x87, 0},
  12650. {0x11C, 0x11, 0},
  12651. {0x11D, 0, 0},
  12652. {0x11E, 0x33, 0},
  12653. {0x11F, 0x88, 0},
  12654. {0x120, 0, 0},
  12655. {0x121, 0x87, 0},
  12656. {0x122, 0x11, 0},
  12657. {0x123, 0, 0},
  12658. {0x124, 0x33, 0},
  12659. {0x125, 0x88, 0},
  12660. {0x126, 0x20, 1},
  12661. {0x127, 0x3f, 0},
  12662. {0x128, 0x44, 0},
  12663. {0x129, 0x8c, 0},
  12664. {0x12A, 0x6c, 0},
  12665. {0x12B, 0x22, 0},
  12666. {0x12C, 0xbe, 0},
  12667. {0x12D, 0x55, 0},
  12668. {0x12F, 0xc, 0},
  12669. {0x130, 0xaa, 0},
  12670. {0x131, 0x2, 0},
  12671. {0x132, 0, 0},
  12672. {0x133, 0x10, 0},
  12673. {0x134, 0x1, 0},
  12674. {0x135, 0, 0},
  12675. {0x136, 0, 0},
  12676. {0x137, 0x80, 0},
  12677. {0x138, 0x60, 0},
  12678. {0x139, 0x44, 0},
  12679. {0x13A, 0x55, 0},
  12680. {0x13B, 0x1, 0},
  12681. {0x13C, 0x55, 0},
  12682. {0x13D, 0x1, 0},
  12683. {0x13E, 0x5, 0},
  12684. {0x13F, 0x55, 0},
  12685. {0x140, 0x55, 0},
  12686. {0x146, 0, 0},
  12687. {0x147, 0, 0},
  12688. {0x148, 0, 0},
  12689. {0x149, 0, 0},
  12690. {0x14A, 0, 0},
  12691. {0x14B, 0, 0},
  12692. {0x14C, 0, 0},
  12693. {0x14D, 0, 0},
  12694. {0x14E, 0, 0},
  12695. {0x14F, 0, 0},
  12696. {0x150, 0, 0},
  12697. {0x151, 0, 0},
  12698. {0x154, 0xc, 0},
  12699. {0x155, 0xc, 0},
  12700. {0x156, 0xc, 0},
  12701. {0x157, 0, 0},
  12702. {0x158, 0x2b, 0},
  12703. {0x159, 0x84, 0},
  12704. {0x15A, 0x15, 0},
  12705. {0x15B, 0xf, 0},
  12706. {0x15C, 0, 0},
  12707. {0x15D, 0, 0},
  12708. {0x15E, 0, 1},
  12709. {0x15F, 0, 1},
  12710. {0x160, 0, 1},
  12711. {0x161, 0, 1},
  12712. {0x162, 0, 1},
  12713. {0x163, 0, 1},
  12714. {0x164, 0, 0},
  12715. {0x165, 0, 0},
  12716. {0x166, 0, 0},
  12717. {0x167, 0, 0},
  12718. {0x168, 0, 0},
  12719. {0x169, 0, 0},
  12720. {0x16A, 0, 1},
  12721. {0x16B, 0, 1},
  12722. {0x16C, 0, 1},
  12723. {0x16D, 0, 0},
  12724. {0x170, 0, 0},
  12725. {0x171, 0x77, 0},
  12726. {0x172, 0x77, 0},
  12727. {0x173, 0x77, 0},
  12728. {0x174, 0x77, 0},
  12729. {0x175, 0, 0},
  12730. {0x176, 0x3, 0},
  12731. {0x177, 0x37, 0},
  12732. {0x178, 0x3, 0},
  12733. {0x179, 0, 0},
  12734. {0x17A, 0x21, 0},
  12735. {0x17B, 0x21, 0},
  12736. {0x17C, 0, 0},
  12737. {0x17D, 0xaa, 0},
  12738. {0x17E, 0, 0},
  12739. {0x17F, 0xaa, 0},
  12740. {0x180, 0, 0},
  12741. {0x190, 0, 0},
  12742. {0x191, 0x77, 0},
  12743. {0x192, 0x77, 0},
  12744. {0x193, 0x77, 0},
  12745. {0x194, 0x77, 0},
  12746. {0x195, 0, 0},
  12747. {0x196, 0x3, 0},
  12748. {0x197, 0x37, 0},
  12749. {0x198, 0x3, 0},
  12750. {0x199, 0, 0},
  12751. {0x19A, 0x21, 0},
  12752. {0x19B, 0x21, 0},
  12753. {0x19C, 0, 0},
  12754. {0x19D, 0xaa, 0},
  12755. {0x19E, 0, 0},
  12756. {0x19F, 0xaa, 0},
  12757. {0x1A0, 0, 0},
  12758. {0x1A1, 0x2, 0},
  12759. {0x1A2, 0xf, 0},
  12760. {0x1A3, 0xf, 0},
  12761. {0x1A4, 0, 1},
  12762. {0x1A5, 0, 1},
  12763. {0x1A6, 0, 1},
  12764. {0x1A7, 0x2, 0},
  12765. {0x1A8, 0xf, 0},
  12766. {0x1A9, 0xf, 0},
  12767. {0x1AA, 0, 1},
  12768. {0x1AB, 0, 1},
  12769. {0x1AC, 0, 1},
  12770. {0x1AD, 0x84, 0},
  12771. {0x1AE, 0x60, 0},
  12772. {0x1AF, 0x47, 0},
  12773. {0x1B0, 0x47, 0},
  12774. {0x1B1, 0, 0},
  12775. {0x1B2, 0, 0},
  12776. {0x1B3, 0, 0},
  12777. {0x1B4, 0, 0},
  12778. {0x1B5, 0, 0},
  12779. {0x1B6, 0, 0},
  12780. {0x1B7, 0x5, 1},
  12781. {0x1B8, 0, 0},
  12782. {0x1B9, 0, 0},
  12783. {0x1BA, 0, 0},
  12784. {0x1BB, 0, 0},
  12785. {0x1BC, 0, 0},
  12786. {0x1BD, 0, 0},
  12787. {0x1BE, 0, 0},
  12788. {0x1BF, 0, 0},
  12789. {0x1C0, 0, 0},
  12790. {0x1C1, 0, 0},
  12791. {0x1C2, 0xa0, 1},
  12792. {0x1C3, 0, 0},
  12793. {0x1C4, 0, 0},
  12794. {0x1C5, 0, 0},
  12795. {0x1C6, 0, 0},
  12796. {0x1C7, 0, 0},
  12797. {0x1C8, 0, 0},
  12798. {0x1C9, 0, 0},
  12799. {0x1CA, 0, 0},
  12800. {0xFFFF, 0, 0}
  12801. };
  12802. static struct radio_20xx_regs regs_2057_rev8[] = {
  12803. {0x00, 0x8, 1},
  12804. {0x01, 0x57, 1},
  12805. {0x02, 0x20, 1},
  12806. {0x03, 0x1f, 0},
  12807. {0x04, 0x4, 0},
  12808. {0x05, 0x2, 0},
  12809. {0x06, 0x1, 0},
  12810. {0x07, 0x1, 0},
  12811. {0x08, 0x1, 0},
  12812. {0x09, 0x69, 0},
  12813. {0x0A, 0x66, 0},
  12814. {0x0B, 0x6, 0},
  12815. {0x0C, 0x18, 0},
  12816. {0x0D, 0x3, 0},
  12817. {0x0E, 0x20, 0},
  12818. {0x0F, 0x20, 0},
  12819. {0x10, 0, 0},
  12820. {0x11, 0x7c, 0},
  12821. {0x12, 0x42, 0},
  12822. {0x13, 0xbd, 0},
  12823. {0x14, 0x7, 0},
  12824. {0x15, 0x87, 0},
  12825. {0x16, 0x8, 0},
  12826. {0x17, 0x17, 0},
  12827. {0x18, 0x7, 0},
  12828. {0x19, 0, 0},
  12829. {0x1A, 0x2, 0},
  12830. {0x1B, 0x13, 0},
  12831. {0x1C, 0x3e, 0},
  12832. {0x1D, 0x3e, 0},
  12833. {0x1E, 0x96, 0},
  12834. {0x1F, 0x4, 0},
  12835. {0x20, 0, 0},
  12836. {0x21, 0, 0},
  12837. {0x22, 0x17, 0},
  12838. {0x23, 0x6, 0},
  12839. {0x24, 0x1, 0},
  12840. {0x25, 0x6, 0},
  12841. {0x26, 0x4, 0},
  12842. {0x27, 0xd, 0},
  12843. {0x28, 0xd, 0},
  12844. {0x29, 0x30, 0},
  12845. {0x2A, 0x32, 0},
  12846. {0x2B, 0x8, 0},
  12847. {0x2C, 0x1c, 0},
  12848. {0x2D, 0x2, 0},
  12849. {0x2E, 0x4, 0},
  12850. {0x2F, 0x7f, 0},
  12851. {0x30, 0x27, 0},
  12852. {0x31, 0, 1},
  12853. {0x32, 0, 1},
  12854. {0x33, 0, 1},
  12855. {0x34, 0, 0},
  12856. {0x35, 0x20, 0},
  12857. {0x36, 0x18, 0},
  12858. {0x37, 0x7, 0},
  12859. {0x38, 0x66, 0},
  12860. {0x39, 0x66, 0},
  12861. {0x3A, 0x66, 0},
  12862. {0x3B, 0x66, 0},
  12863. {0x3C, 0xff, 0},
  12864. {0x3D, 0xff, 0},
  12865. {0x3E, 0xff, 0},
  12866. {0x3F, 0xff, 0},
  12867. {0x40, 0x16, 0},
  12868. {0x41, 0x7, 0},
  12869. {0x42, 0x19, 0},
  12870. {0x43, 0x7, 0},
  12871. {0x44, 0x6, 0},
  12872. {0x45, 0x3, 0},
  12873. {0x46, 0x1, 0},
  12874. {0x47, 0x7, 0},
  12875. {0x48, 0x33, 0},
  12876. {0x49, 0x5, 0},
  12877. {0x4A, 0x77, 0},
  12878. {0x4B, 0x66, 0},
  12879. {0x4C, 0x66, 0},
  12880. {0x4D, 0, 0},
  12881. {0x4E, 0x4, 0},
  12882. {0x4F, 0xc, 0},
  12883. {0x50, 0, 0},
  12884. {0x51, 0x70, 1},
  12885. {0x56, 0x7, 0},
  12886. {0x57, 0, 0},
  12887. {0x58, 0, 0},
  12888. {0x59, 0x88, 1},
  12889. {0x5A, 0, 0},
  12890. {0x5B, 0x1f, 0},
  12891. {0x5C, 0x20, 1},
  12892. {0x5D, 0x1, 0},
  12893. {0x5E, 0x30, 0},
  12894. {0x5F, 0x70, 0},
  12895. {0x60, 0, 0},
  12896. {0x61, 0, 0},
  12897. {0x62, 0x33, 1},
  12898. {0x63, 0xf, 1},
  12899. {0x64, 0xf, 1},
  12900. {0x65, 0, 0},
  12901. {0x66, 0x11, 0},
  12902. {0x69, 0, 0},
  12903. {0x6A, 0x7e, 0},
  12904. {0x6B, 0x3f, 0},
  12905. {0x6C, 0x7f, 0},
  12906. {0x6D, 0x78, 0},
  12907. {0x6E, 0x58, 1},
  12908. {0x6F, 0x88, 0},
  12909. {0x70, 0x8, 0},
  12910. {0x71, 0xf, 0},
  12911. {0x72, 0xbc, 0},
  12912. {0x73, 0x8, 0},
  12913. {0x74, 0x60, 0},
  12914. {0x75, 0x13, 1},
  12915. {0x76, 0x70, 0},
  12916. {0x77, 0, 0},
  12917. {0x78, 0, 0},
  12918. {0x79, 0, 0},
  12919. {0x7A, 0x33, 0},
  12920. {0x7B, 0x13, 1},
  12921. {0x7C, 0xf, 1},
  12922. {0x7D, 0xee, 1},
  12923. {0x80, 0x3c, 0},
  12924. {0x81, 0x1, 1},
  12925. {0x82, 0xa, 0},
  12926. {0x83, 0x9d, 0},
  12927. {0x84, 0xa, 0},
  12928. {0x85, 0, 0},
  12929. {0x86, 0x40, 0},
  12930. {0x87, 0x40, 0},
  12931. {0x88, 0x88, 0},
  12932. {0x89, 0x10, 0},
  12933. {0x8A, 0xf0, 0},
  12934. {0x8B, 0x10, 0},
  12935. {0x8C, 0xf0, 0},
  12936. {0x8D, 0, 0},
  12937. {0x8E, 0, 0},
  12938. {0x8F, 0x10, 0},
  12939. {0x90, 0x55, 0},
  12940. {0x91, 0x3f, 1},
  12941. {0x92, 0x36, 1},
  12942. {0x93, 0, 0},
  12943. {0x94, 0, 0},
  12944. {0x95, 0, 0},
  12945. {0x96, 0x87, 0},
  12946. {0x97, 0x11, 0},
  12947. {0x98, 0, 0},
  12948. {0x99, 0x33, 0},
  12949. {0x9A, 0x88, 0},
  12950. {0x9B, 0, 0},
  12951. {0x9C, 0x87, 0},
  12952. {0x9D, 0x11, 0},
  12953. {0x9E, 0, 0},
  12954. {0x9F, 0x33, 0},
  12955. {0xA0, 0x88, 0},
  12956. {0xA1, 0x20, 1},
  12957. {0xA2, 0x3f, 0},
  12958. {0xA3, 0x44, 0},
  12959. {0xA4, 0x8c, 0},
  12960. {0xA5, 0x6c, 0},
  12961. {0xA6, 0x22, 0},
  12962. {0xA7, 0xbe, 0},
  12963. {0xA8, 0x55, 0},
  12964. {0xAA, 0xc, 0},
  12965. {0xAB, 0xaa, 0},
  12966. {0xAC, 0x2, 0},
  12967. {0xAD, 0, 0},
  12968. {0xAE, 0x10, 0},
  12969. {0xAF, 0x1, 0},
  12970. {0xB0, 0, 0},
  12971. {0xB1, 0, 0},
  12972. {0xB2, 0x80, 0},
  12973. {0xB3, 0x60, 0},
  12974. {0xB4, 0x44, 0},
  12975. {0xB5, 0x55, 0},
  12976. {0xB6, 0x1, 0},
  12977. {0xB7, 0x55, 0},
  12978. {0xB8, 0x1, 0},
  12979. {0xB9, 0x5, 0},
  12980. {0xBA, 0x55, 0},
  12981. {0xBB, 0x55, 0},
  12982. {0xC1, 0, 0},
  12983. {0xC2, 0, 0},
  12984. {0xC3, 0, 0},
  12985. {0xC4, 0, 0},
  12986. {0xC5, 0, 0},
  12987. {0xC6, 0, 0},
  12988. {0xC7, 0, 0},
  12989. {0xC8, 0, 0},
  12990. {0xC9, 0x1, 1},
  12991. {0xCA, 0, 0},
  12992. {0xCB, 0, 0},
  12993. {0xCC, 0, 0},
  12994. {0xCD, 0, 0},
  12995. {0xCE, 0x5e, 0},
  12996. {0xCF, 0xc, 0},
  12997. {0xD0, 0xc, 0},
  12998. {0xD1, 0xc, 0},
  12999. {0xD2, 0, 0},
  13000. {0xD3, 0x2b, 0},
  13001. {0xD4, 0xc, 0},
  13002. {0xD5, 0, 0},
  13003. {0xD6, 0x70, 1},
  13004. {0xDB, 0x7, 0},
  13005. {0xDC, 0, 0},
  13006. {0xDD, 0, 0},
  13007. {0xDE, 0x88, 1},
  13008. {0xDF, 0, 0},
  13009. {0xE0, 0x1f, 0},
  13010. {0xE1, 0x20, 1},
  13011. {0xE2, 0x1, 0},
  13012. {0xE3, 0x30, 0},
  13013. {0xE4, 0x70, 0},
  13014. {0xE5, 0, 0},
  13015. {0xE6, 0, 0},
  13016. {0xE7, 0x33, 0},
  13017. {0xE8, 0xf, 1},
  13018. {0xE9, 0xf, 1},
  13019. {0xEA, 0, 0},
  13020. {0xEB, 0x11, 0},
  13021. {0xEE, 0, 0},
  13022. {0xEF, 0x7e, 0},
  13023. {0xF0, 0x3f, 0},
  13024. {0xF1, 0x7f, 0},
  13025. {0xF2, 0x78, 0},
  13026. {0xF3, 0x58, 1},
  13027. {0xF4, 0x88, 0},
  13028. {0xF5, 0x8, 0},
  13029. {0xF6, 0xf, 0},
  13030. {0xF7, 0xbc, 0},
  13031. {0xF8, 0x8, 0},
  13032. {0xF9, 0x60, 0},
  13033. {0xFA, 0x13, 1},
  13034. {0xFB, 0x70, 0},
  13035. {0xFC, 0, 0},
  13036. {0xFD, 0, 0},
  13037. {0xFE, 0, 0},
  13038. {0xFF, 0x33, 0},
  13039. {0x100, 0x13, 1},
  13040. {0x101, 0xf, 1},
  13041. {0x102, 0xee, 1},
  13042. {0x105, 0x3c, 0},
  13043. {0x106, 0x1, 1},
  13044. {0x107, 0xa, 0},
  13045. {0x108, 0x9d, 0},
  13046. {0x109, 0xa, 0},
  13047. {0x10A, 0, 0},
  13048. {0x10B, 0x40, 0},
  13049. {0x10C, 0x40, 0},
  13050. {0x10D, 0x88, 0},
  13051. {0x10E, 0x10, 0},
  13052. {0x10F, 0xf0, 0},
  13053. {0x110, 0x10, 0},
  13054. {0x111, 0xf0, 0},
  13055. {0x112, 0, 0},
  13056. {0x113, 0, 0},
  13057. {0x114, 0x10, 0},
  13058. {0x115, 0x55, 0},
  13059. {0x116, 0x3f, 1},
  13060. {0x117, 0x36, 1},
  13061. {0x118, 0, 0},
  13062. {0x119, 0, 0},
  13063. {0x11A, 0, 0},
  13064. {0x11B, 0x87, 0},
  13065. {0x11C, 0x11, 0},
  13066. {0x11D, 0, 0},
  13067. {0x11E, 0x33, 0},
  13068. {0x11F, 0x88, 0},
  13069. {0x120, 0, 0},
  13070. {0x121, 0x87, 0},
  13071. {0x122, 0x11, 0},
  13072. {0x123, 0, 0},
  13073. {0x124, 0x33, 0},
  13074. {0x125, 0x88, 0},
  13075. {0x126, 0x20, 1},
  13076. {0x127, 0x3f, 0},
  13077. {0x128, 0x44, 0},
  13078. {0x129, 0x8c, 0},
  13079. {0x12A, 0x6c, 0},
  13080. {0x12B, 0x22, 0},
  13081. {0x12C, 0xbe, 0},
  13082. {0x12D, 0x55, 0},
  13083. {0x12F, 0xc, 0},
  13084. {0x130, 0xaa, 0},
  13085. {0x131, 0x2, 0},
  13086. {0x132, 0, 0},
  13087. {0x133, 0x10, 0},
  13088. {0x134, 0x1, 0},
  13089. {0x135, 0, 0},
  13090. {0x136, 0, 0},
  13091. {0x137, 0x80, 0},
  13092. {0x138, 0x60, 0},
  13093. {0x139, 0x44, 0},
  13094. {0x13A, 0x55, 0},
  13095. {0x13B, 0x1, 0},
  13096. {0x13C, 0x55, 0},
  13097. {0x13D, 0x1, 0},
  13098. {0x13E, 0x5, 0},
  13099. {0x13F, 0x55, 0},
  13100. {0x140, 0x55, 0},
  13101. {0x146, 0, 0},
  13102. {0x147, 0, 0},
  13103. {0x148, 0, 0},
  13104. {0x149, 0, 0},
  13105. {0x14A, 0, 0},
  13106. {0x14B, 0, 0},
  13107. {0x14C, 0, 0},
  13108. {0x14D, 0, 0},
  13109. {0x14E, 0x1, 1},
  13110. {0x14F, 0, 0},
  13111. {0x150, 0, 0},
  13112. {0x151, 0, 0},
  13113. {0x154, 0xc, 0},
  13114. {0x155, 0xc, 0},
  13115. {0x156, 0xc, 0},
  13116. {0x157, 0, 0},
  13117. {0x158, 0x2b, 0},
  13118. {0x159, 0x84, 0},
  13119. {0x15A, 0x15, 0},
  13120. {0x15B, 0xf, 0},
  13121. {0x15C, 0, 0},
  13122. {0x15D, 0, 0},
  13123. {0x15E, 0, 1},
  13124. {0x15F, 0, 1},
  13125. {0x160, 0, 1},
  13126. {0x161, 0, 1},
  13127. {0x162, 0, 1},
  13128. {0x163, 0, 1},
  13129. {0x164, 0, 0},
  13130. {0x165, 0, 0},
  13131. {0x166, 0, 0},
  13132. {0x167, 0, 0},
  13133. {0x168, 0, 0},
  13134. {0x169, 0, 0},
  13135. {0x16A, 0, 1},
  13136. {0x16B, 0, 1},
  13137. {0x16C, 0, 1},
  13138. {0x16D, 0, 0},
  13139. {0x170, 0, 0},
  13140. {0x171, 0x77, 0},
  13141. {0x172, 0x77, 0},
  13142. {0x173, 0x77, 0},
  13143. {0x174, 0x77, 0},
  13144. {0x175, 0, 0},
  13145. {0x176, 0x3, 0},
  13146. {0x177, 0x37, 0},
  13147. {0x178, 0x3, 0},
  13148. {0x179, 0, 0},
  13149. {0x17A, 0x21, 0},
  13150. {0x17B, 0x21, 0},
  13151. {0x17C, 0, 0},
  13152. {0x17D, 0xaa, 0},
  13153. {0x17E, 0, 0},
  13154. {0x17F, 0xaa, 0},
  13155. {0x180, 0, 0},
  13156. {0x190, 0, 0},
  13157. {0x191, 0x77, 0},
  13158. {0x192, 0x77, 0},
  13159. {0x193, 0x77, 0},
  13160. {0x194, 0x77, 0},
  13161. {0x195, 0, 0},
  13162. {0x196, 0x3, 0},
  13163. {0x197, 0x37, 0},
  13164. {0x198, 0x3, 0},
  13165. {0x199, 0, 0},
  13166. {0x19A, 0x21, 0},
  13167. {0x19B, 0x21, 0},
  13168. {0x19C, 0, 0},
  13169. {0x19D, 0xaa, 0},
  13170. {0x19E, 0, 0},
  13171. {0x19F, 0xaa, 0},
  13172. {0x1A0, 0, 0},
  13173. {0x1A1, 0x2, 0},
  13174. {0x1A2, 0xf, 0},
  13175. {0x1A3, 0xf, 0},
  13176. {0x1A4, 0, 1},
  13177. {0x1A5, 0, 1},
  13178. {0x1A6, 0, 1},
  13179. {0x1A7, 0x2, 0},
  13180. {0x1A8, 0xf, 0},
  13181. {0x1A9, 0xf, 0},
  13182. {0x1AA, 0, 1},
  13183. {0x1AB, 0, 1},
  13184. {0x1AC, 0, 1},
  13185. {0x1AD, 0x84, 0},
  13186. {0x1AE, 0x60, 0},
  13187. {0x1AF, 0x47, 0},
  13188. {0x1B0, 0x47, 0},
  13189. {0x1B1, 0, 0},
  13190. {0x1B2, 0, 0},
  13191. {0x1B3, 0, 0},
  13192. {0x1B4, 0, 0},
  13193. {0x1B5, 0, 0},
  13194. {0x1B6, 0, 0},
  13195. {0x1B7, 0x5, 1},
  13196. {0x1B8, 0, 0},
  13197. {0x1B9, 0, 0},
  13198. {0x1BA, 0, 0},
  13199. {0x1BB, 0, 0},
  13200. {0x1BC, 0, 0},
  13201. {0x1BD, 0, 0},
  13202. {0x1BE, 0, 0},
  13203. {0x1BF, 0, 0},
  13204. {0x1C0, 0, 0},
  13205. {0x1C1, 0, 0},
  13206. {0x1C2, 0xa0, 1},
  13207. {0x1C3, 0, 0},
  13208. {0x1C4, 0, 0},
  13209. {0x1C5, 0, 0},
  13210. {0x1C6, 0, 0},
  13211. {0x1C7, 0, 0},
  13212. {0x1C8, 0, 0},
  13213. {0x1C9, 0, 0},
  13214. {0x1CA, 0, 0},
  13215. {0xFFFF, 0, 0}
  13216. };
  13217. static s16 nphy_def_lnagains[] = { -2, 10, 19, 25 };
  13218. static s32 nphy_lnagain_est0[] = { -315, 40370 };
  13219. static s32 nphy_lnagain_est1[] = { -224, 23242 };
  13220. static const u16 tbl_iqcal_gainparams_nphy[2][NPHY_IQCAL_NUMGAINS][8] = {
  13221. {
  13222. {0x000, 0, 0, 2, 0x69, 0x69, 0x69, 0x69},
  13223. {0x700, 7, 0, 0, 0x69, 0x69, 0x69, 0x69},
  13224. {0x710, 7, 1, 0, 0x68, 0x68, 0x68, 0x68},
  13225. {0x720, 7, 2, 0, 0x67, 0x67, 0x67, 0x67},
  13226. {0x730, 7, 3, 0, 0x66, 0x66, 0x66, 0x66},
  13227. {0x740, 7, 4, 0, 0x65, 0x65, 0x65, 0x65},
  13228. {0x741, 7, 4, 1, 0x65, 0x65, 0x65, 0x65},
  13229. {0x742, 7, 4, 2, 0x65, 0x65, 0x65, 0x65},
  13230. {0x743, 7, 4, 3, 0x65, 0x65, 0x65, 0x65}
  13231. },
  13232. {
  13233. {0x000, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13234. {0x700, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13235. {0x710, 7, 1, 0, 0x79, 0x79, 0x79, 0x79},
  13236. {0x720, 7, 2, 0, 0x78, 0x78, 0x78, 0x78},
  13237. {0x730, 7, 3, 0, 0x78, 0x78, 0x78, 0x78},
  13238. {0x740, 7, 4, 0, 0x78, 0x78, 0x78, 0x78},
  13239. {0x741, 7, 4, 1, 0x78, 0x78, 0x78, 0x78},
  13240. {0x742, 7, 4, 2, 0x78, 0x78, 0x78, 0x78},
  13241. {0x743, 7, 4, 3, 0x78, 0x78, 0x78, 0x78}
  13242. }
  13243. };
  13244. static const u32 nphy_tpc_txgain[] = {
  13245. 0x03cc2b44, 0x03cc2b42, 0x03cc2a44, 0x03cc2a42,
  13246. 0x03cc2944, 0x03c82b44, 0x03c82b42, 0x03c82a44,
  13247. 0x03c82a42, 0x03c82944, 0x03c82942, 0x03c82844,
  13248. 0x03c82842, 0x03c42b44, 0x03c42b42, 0x03c42a44,
  13249. 0x03c42a42, 0x03c42944, 0x03c42942, 0x03c42844,
  13250. 0x03c42842, 0x03c42744, 0x03c42742, 0x03c42644,
  13251. 0x03c42642, 0x03c42544, 0x03c42542, 0x03c42444,
  13252. 0x03c42442, 0x03c02b44, 0x03c02b42, 0x03c02a44,
  13253. 0x03c02a42, 0x03c02944, 0x03c02942, 0x03c02844,
  13254. 0x03c02842, 0x03c02744, 0x03c02742, 0x03b02b44,
  13255. 0x03b02b42, 0x03b02a44, 0x03b02a42, 0x03b02944,
  13256. 0x03b02942, 0x03b02844, 0x03b02842, 0x03b02744,
  13257. 0x03b02742, 0x03b02644, 0x03b02642, 0x03b02544,
  13258. 0x03b02542, 0x03a02b44, 0x03a02b42, 0x03a02a44,
  13259. 0x03a02a42, 0x03a02944, 0x03a02942, 0x03a02844,
  13260. 0x03a02842, 0x03a02744, 0x03a02742, 0x03902b44,
  13261. 0x03902b42, 0x03902a44, 0x03902a42, 0x03902944,
  13262. 0x03902942, 0x03902844, 0x03902842, 0x03902744,
  13263. 0x03902742, 0x03902644, 0x03902642, 0x03902544,
  13264. 0x03902542, 0x03802b44, 0x03802b42, 0x03802a44,
  13265. 0x03802a42, 0x03802944, 0x03802942, 0x03802844,
  13266. 0x03802842, 0x03802744, 0x03802742, 0x03802644,
  13267. 0x03802642, 0x03802544, 0x03802542, 0x03802444,
  13268. 0x03802442, 0x03802344, 0x03802342, 0x03802244,
  13269. 0x03802242, 0x03802144, 0x03802142, 0x03802044,
  13270. 0x03802042, 0x03801f44, 0x03801f42, 0x03801e44,
  13271. 0x03801e42, 0x03801d44, 0x03801d42, 0x03801c44,
  13272. 0x03801c42, 0x03801b44, 0x03801b42, 0x03801a44,
  13273. 0x03801a42, 0x03801944, 0x03801942, 0x03801844,
  13274. 0x03801842, 0x03801744, 0x03801742, 0x03801644,
  13275. 0x03801642, 0x03801544, 0x03801542, 0x03801444,
  13276. 0x03801442, 0x03801344, 0x03801342, 0x00002b00
  13277. };
  13278. static const u16 nphy_tpc_loscale[] = {
  13279. 256, 256, 271, 271, 287, 256, 256, 271,
  13280. 271, 287, 287, 304, 304, 256, 256, 271,
  13281. 271, 287, 287, 304, 304, 322, 322, 341,
  13282. 341, 362, 362, 383, 383, 256, 256, 271,
  13283. 271, 287, 287, 304, 304, 322, 322, 256,
  13284. 256, 271, 271, 287, 287, 304, 304, 322,
  13285. 322, 341, 341, 362, 362, 256, 256, 271,
  13286. 271, 287, 287, 304, 304, 322, 322, 256,
  13287. 256, 271, 271, 287, 287, 304, 304, 322,
  13288. 322, 341, 341, 362, 362, 256, 256, 271,
  13289. 271, 287, 287, 304, 304, 322, 322, 341,
  13290. 341, 362, 362, 383, 383, 406, 406, 430,
  13291. 430, 455, 455, 482, 482, 511, 511, 541,
  13292. 541, 573, 573, 607, 607, 643, 643, 681,
  13293. 681, 722, 722, 764, 764, 810, 810, 858,
  13294. 858, 908, 908, 962, 962, 1019, 1019, 256
  13295. };
  13296. static u32 nphy_tpc_txgain_ipa[] = {
  13297. 0x5ff7002d, 0x5ff7002b, 0x5ff7002a, 0x5ff70029,
  13298. 0x5ff70028, 0x5ff70027, 0x5ff70026, 0x5ff70025,
  13299. 0x5ef7002d, 0x5ef7002b, 0x5ef7002a, 0x5ef70029,
  13300. 0x5ef70028, 0x5ef70027, 0x5ef70026, 0x5ef70025,
  13301. 0x5df7002d, 0x5df7002b, 0x5df7002a, 0x5df70029,
  13302. 0x5df70028, 0x5df70027, 0x5df70026, 0x5df70025,
  13303. 0x5cf7002d, 0x5cf7002b, 0x5cf7002a, 0x5cf70029,
  13304. 0x5cf70028, 0x5cf70027, 0x5cf70026, 0x5cf70025,
  13305. 0x5bf7002d, 0x5bf7002b, 0x5bf7002a, 0x5bf70029,
  13306. 0x5bf70028, 0x5bf70027, 0x5bf70026, 0x5bf70025,
  13307. 0x5af7002d, 0x5af7002b, 0x5af7002a, 0x5af70029,
  13308. 0x5af70028, 0x5af70027, 0x5af70026, 0x5af70025,
  13309. 0x59f7002d, 0x59f7002b, 0x59f7002a, 0x59f70029,
  13310. 0x59f70028, 0x59f70027, 0x59f70026, 0x59f70025,
  13311. 0x58f7002d, 0x58f7002b, 0x58f7002a, 0x58f70029,
  13312. 0x58f70028, 0x58f70027, 0x58f70026, 0x58f70025,
  13313. 0x57f7002d, 0x57f7002b, 0x57f7002a, 0x57f70029,
  13314. 0x57f70028, 0x57f70027, 0x57f70026, 0x57f70025,
  13315. 0x56f7002d, 0x56f7002b, 0x56f7002a, 0x56f70029,
  13316. 0x56f70028, 0x56f70027, 0x56f70026, 0x56f70025,
  13317. 0x55f7002d, 0x55f7002b, 0x55f7002a, 0x55f70029,
  13318. 0x55f70028, 0x55f70027, 0x55f70026, 0x55f70025,
  13319. 0x54f7002d, 0x54f7002b, 0x54f7002a, 0x54f70029,
  13320. 0x54f70028, 0x54f70027, 0x54f70026, 0x54f70025,
  13321. 0x53f7002d, 0x53f7002b, 0x53f7002a, 0x53f70029,
  13322. 0x53f70028, 0x53f70027, 0x53f70026, 0x53f70025,
  13323. 0x52f7002d, 0x52f7002b, 0x52f7002a, 0x52f70029,
  13324. 0x52f70028, 0x52f70027, 0x52f70026, 0x52f70025,
  13325. 0x51f7002d, 0x51f7002b, 0x51f7002a, 0x51f70029,
  13326. 0x51f70028, 0x51f70027, 0x51f70026, 0x51f70025,
  13327. 0x50f7002d, 0x50f7002b, 0x50f7002a, 0x50f70029,
  13328. 0x50f70028, 0x50f70027, 0x50f70026, 0x50f70025
  13329. };
  13330. static u32 nphy_tpc_txgain_ipa_rev5[] = {
  13331. 0x1ff7002d, 0x1ff7002b, 0x1ff7002a, 0x1ff70029,
  13332. 0x1ff70028, 0x1ff70027, 0x1ff70026, 0x1ff70025,
  13333. 0x1ef7002d, 0x1ef7002b, 0x1ef7002a, 0x1ef70029,
  13334. 0x1ef70028, 0x1ef70027, 0x1ef70026, 0x1ef70025,
  13335. 0x1df7002d, 0x1df7002b, 0x1df7002a, 0x1df70029,
  13336. 0x1df70028, 0x1df70027, 0x1df70026, 0x1df70025,
  13337. 0x1cf7002d, 0x1cf7002b, 0x1cf7002a, 0x1cf70029,
  13338. 0x1cf70028, 0x1cf70027, 0x1cf70026, 0x1cf70025,
  13339. 0x1bf7002d, 0x1bf7002b, 0x1bf7002a, 0x1bf70029,
  13340. 0x1bf70028, 0x1bf70027, 0x1bf70026, 0x1bf70025,
  13341. 0x1af7002d, 0x1af7002b, 0x1af7002a, 0x1af70029,
  13342. 0x1af70028, 0x1af70027, 0x1af70026, 0x1af70025,
  13343. 0x19f7002d, 0x19f7002b, 0x19f7002a, 0x19f70029,
  13344. 0x19f70028, 0x19f70027, 0x19f70026, 0x19f70025,
  13345. 0x18f7002d, 0x18f7002b, 0x18f7002a, 0x18f70029,
  13346. 0x18f70028, 0x18f70027, 0x18f70026, 0x18f70025,
  13347. 0x17f7002d, 0x17f7002b, 0x17f7002a, 0x17f70029,
  13348. 0x17f70028, 0x17f70027, 0x17f70026, 0x17f70025,
  13349. 0x16f7002d, 0x16f7002b, 0x16f7002a, 0x16f70029,
  13350. 0x16f70028, 0x16f70027, 0x16f70026, 0x16f70025,
  13351. 0x15f7002d, 0x15f7002b, 0x15f7002a, 0x15f70029,
  13352. 0x15f70028, 0x15f70027, 0x15f70026, 0x15f70025,
  13353. 0x14f7002d, 0x14f7002b, 0x14f7002a, 0x14f70029,
  13354. 0x14f70028, 0x14f70027, 0x14f70026, 0x14f70025,
  13355. 0x13f7002d, 0x13f7002b, 0x13f7002a, 0x13f70029,
  13356. 0x13f70028, 0x13f70027, 0x13f70026, 0x13f70025,
  13357. 0x12f7002d, 0x12f7002b, 0x12f7002a, 0x12f70029,
  13358. 0x12f70028, 0x12f70027, 0x12f70026, 0x12f70025,
  13359. 0x11f7002d, 0x11f7002b, 0x11f7002a, 0x11f70029,
  13360. 0x11f70028, 0x11f70027, 0x11f70026, 0x11f70025,
  13361. 0x10f7002d, 0x10f7002b, 0x10f7002a, 0x10f70029,
  13362. 0x10f70028, 0x10f70027, 0x10f70026, 0x10f70025
  13363. };
  13364. static u32 nphy_tpc_txgain_ipa_rev6[] = {
  13365. 0x0ff7002d, 0x0ff7002b, 0x0ff7002a, 0x0ff70029,
  13366. 0x0ff70028, 0x0ff70027, 0x0ff70026, 0x0ff70025,
  13367. 0x0ef7002d, 0x0ef7002b, 0x0ef7002a, 0x0ef70029,
  13368. 0x0ef70028, 0x0ef70027, 0x0ef70026, 0x0ef70025,
  13369. 0x0df7002d, 0x0df7002b, 0x0df7002a, 0x0df70029,
  13370. 0x0df70028, 0x0df70027, 0x0df70026, 0x0df70025,
  13371. 0x0cf7002d, 0x0cf7002b, 0x0cf7002a, 0x0cf70029,
  13372. 0x0cf70028, 0x0cf70027, 0x0cf70026, 0x0cf70025,
  13373. 0x0bf7002d, 0x0bf7002b, 0x0bf7002a, 0x0bf70029,
  13374. 0x0bf70028, 0x0bf70027, 0x0bf70026, 0x0bf70025,
  13375. 0x0af7002d, 0x0af7002b, 0x0af7002a, 0x0af70029,
  13376. 0x0af70028, 0x0af70027, 0x0af70026, 0x0af70025,
  13377. 0x09f7002d, 0x09f7002b, 0x09f7002a, 0x09f70029,
  13378. 0x09f70028, 0x09f70027, 0x09f70026, 0x09f70025,
  13379. 0x08f7002d, 0x08f7002b, 0x08f7002a, 0x08f70029,
  13380. 0x08f70028, 0x08f70027, 0x08f70026, 0x08f70025,
  13381. 0x07f7002d, 0x07f7002b, 0x07f7002a, 0x07f70029,
  13382. 0x07f70028, 0x07f70027, 0x07f70026, 0x07f70025,
  13383. 0x06f7002d, 0x06f7002b, 0x06f7002a, 0x06f70029,
  13384. 0x06f70028, 0x06f70027, 0x06f70026, 0x06f70025,
  13385. 0x05f7002d, 0x05f7002b, 0x05f7002a, 0x05f70029,
  13386. 0x05f70028, 0x05f70027, 0x05f70026, 0x05f70025,
  13387. 0x04f7002d, 0x04f7002b, 0x04f7002a, 0x04f70029,
  13388. 0x04f70028, 0x04f70027, 0x04f70026, 0x04f70025,
  13389. 0x03f7002d, 0x03f7002b, 0x03f7002a, 0x03f70029,
  13390. 0x03f70028, 0x03f70027, 0x03f70026, 0x03f70025,
  13391. 0x02f7002d, 0x02f7002b, 0x02f7002a, 0x02f70029,
  13392. 0x02f70028, 0x02f70027, 0x02f70026, 0x02f70025,
  13393. 0x01f7002d, 0x01f7002b, 0x01f7002a, 0x01f70029,
  13394. 0x01f70028, 0x01f70027, 0x01f70026, 0x01f70025,
  13395. 0x00f7002d, 0x00f7002b, 0x00f7002a, 0x00f70029,
  13396. 0x00f70028, 0x00f70027, 0x00f70026, 0x00f70025
  13397. };
  13398. static u32 nphy_tpc_txgain_ipa_2g_2057rev3[] = {
  13399. 0x70ff0040, 0x70f7003e, 0x70ef003b, 0x70e70039,
  13400. 0x70df0037, 0x70d70036, 0x70cf0033, 0x70c70032,
  13401. 0x70bf0031, 0x70b7002f, 0x70af002e, 0x70a7002d,
  13402. 0x709f002d, 0x7097002c, 0x708f002c, 0x7087002c,
  13403. 0x707f002b, 0x7077002c, 0x706f002c, 0x7067002d,
  13404. 0x705f002e, 0x705f002b, 0x705f0029, 0x7057002a,
  13405. 0x70570028, 0x704f002a, 0x7047002c, 0x7047002a,
  13406. 0x70470028, 0x70470026, 0x70470024, 0x70470022,
  13407. 0x7047001f, 0x70370027, 0x70370024, 0x70370022,
  13408. 0x70370020, 0x7037001f, 0x7037001d, 0x7037001b,
  13409. 0x7037001a, 0x70370018, 0x70370017, 0x7027001e,
  13410. 0x7027001d, 0x7027001a, 0x701f0024, 0x701f0022,
  13411. 0x701f0020, 0x701f001f, 0x701f001d, 0x701f001b,
  13412. 0x701f001a, 0x701f0018, 0x701f0017, 0x701f0015,
  13413. 0x701f0014, 0x701f0013, 0x701f0012, 0x701f0011,
  13414. 0x70170019, 0x70170018, 0x70170016, 0x70170015,
  13415. 0x70170014, 0x70170013, 0x70170012, 0x70170010,
  13416. 0x70170010, 0x7017000f, 0x700f001d, 0x700f001b,
  13417. 0x700f001a, 0x700f0018, 0x700f0017, 0x700f0015,
  13418. 0x700f0015, 0x700f0013, 0x700f0013, 0x700f0011,
  13419. 0x700f0010, 0x700f0010, 0x700f000f, 0x700f000e,
  13420. 0x700f000d, 0x700f000c, 0x700f000b, 0x700f000b,
  13421. 0x700f000b, 0x700f000a, 0x700f0009, 0x700f0009,
  13422. 0x700f0009, 0x700f0008, 0x700f0007, 0x700f0007,
  13423. 0x700f0006, 0x700f0006, 0x700f0006, 0x700f0006,
  13424. 0x700f0005, 0x700f0005, 0x700f0005, 0x700f0004,
  13425. 0x700f0004, 0x700f0004, 0x700f0004, 0x700f0004,
  13426. 0x700f0004, 0x700f0003, 0x700f0003, 0x700f0003,
  13427. 0x700f0003, 0x700f0002, 0x700f0002, 0x700f0002,
  13428. 0x700f0002, 0x700f0002, 0x700f0002, 0x700f0001,
  13429. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001,
  13430. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001
  13431. };
  13432. static u32 nphy_tpc_txgain_ipa_2g_2057rev4n6[] = {
  13433. 0xf0ff0040, 0xf0f7003e, 0xf0ef003b, 0xf0e70039,
  13434. 0xf0df0037, 0xf0d70036, 0xf0cf0033, 0xf0c70032,
  13435. 0xf0bf0031, 0xf0b7002f, 0xf0af002e, 0xf0a7002d,
  13436. 0xf09f002d, 0xf097002c, 0xf08f002c, 0xf087002c,
  13437. 0xf07f002b, 0xf077002c, 0xf06f002c, 0xf067002d,
  13438. 0xf05f002e, 0xf05f002b, 0xf05f0029, 0xf057002a,
  13439. 0xf0570028, 0xf04f002a, 0xf047002c, 0xf047002a,
  13440. 0xf0470028, 0xf0470026, 0xf0470024, 0xf0470022,
  13441. 0xf047001f, 0xf0370027, 0xf0370024, 0xf0370022,
  13442. 0xf0370020, 0xf037001f, 0xf037001d, 0xf037001b,
  13443. 0xf037001a, 0xf0370018, 0xf0370017, 0xf027001e,
  13444. 0xf027001d, 0xf027001a, 0xf01f0024, 0xf01f0022,
  13445. 0xf01f0020, 0xf01f001f, 0xf01f001d, 0xf01f001b,
  13446. 0xf01f001a, 0xf01f0018, 0xf01f0017, 0xf01f0015,
  13447. 0xf01f0014, 0xf01f0013, 0xf01f0012, 0xf01f0011,
  13448. 0xf0170019, 0xf0170018, 0xf0170016, 0xf0170015,
  13449. 0xf0170014, 0xf0170013, 0xf0170012, 0xf0170010,
  13450. 0xf0170010, 0xf017000f, 0xf00f001d, 0xf00f001b,
  13451. 0xf00f001a, 0xf00f0018, 0xf00f0017, 0xf00f0015,
  13452. 0xf00f0015, 0xf00f0013, 0xf00f0013, 0xf00f0011,
  13453. 0xf00f0010, 0xf00f0010, 0xf00f000f, 0xf00f000e,
  13454. 0xf00f000d, 0xf00f000c, 0xf00f000b, 0xf00f000b,
  13455. 0xf00f000b, 0xf00f000a, 0xf00f0009, 0xf00f0009,
  13456. 0xf00f0009, 0xf00f0008, 0xf00f0007, 0xf00f0007,
  13457. 0xf00f0006, 0xf00f0006, 0xf00f0006, 0xf00f0006,
  13458. 0xf00f0005, 0xf00f0005, 0xf00f0005, 0xf00f0004,
  13459. 0xf00f0004, 0xf00f0004, 0xf00f0004, 0xf00f0004,
  13460. 0xf00f0004, 0xf00f0003, 0xf00f0003, 0xf00f0003,
  13461. 0xf00f0003, 0xf00f0002, 0xf00f0002, 0xf00f0002,
  13462. 0xf00f0002, 0xf00f0002, 0xf00f0002, 0xf00f0001,
  13463. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001,
  13464. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001
  13465. };
  13466. static u32 nphy_tpc_txgain_ipa_2g_2057rev5[] = {
  13467. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13468. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13469. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13470. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13471. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13472. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13473. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13474. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13475. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13476. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13477. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13478. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13479. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13480. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13481. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13482. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13483. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13484. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13485. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13486. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13487. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13488. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13489. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13490. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13491. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13492. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13493. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13494. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13495. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13496. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13497. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13498. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13499. };
  13500. static u32 nphy_tpc_txgain_ipa_2g_2057rev7[] = {
  13501. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13502. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13503. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13504. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13505. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13506. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13507. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13508. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13509. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13510. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13511. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13512. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13513. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13514. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13515. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13516. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13517. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13518. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13519. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13520. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13521. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13522. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13523. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13524. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13525. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13526. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13527. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13528. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13529. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13530. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13531. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13532. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13533. };
  13534. static u32 nphy_tpc_txgain_ipa_5g[] = {
  13535. 0x7ff70035, 0x7ff70033, 0x7ff70032, 0x7ff70031,
  13536. 0x7ff7002f, 0x7ff7002e, 0x7ff7002d, 0x7ff7002b,
  13537. 0x7ff7002a, 0x7ff70029, 0x7ff70028, 0x7ff70027,
  13538. 0x7ff70026, 0x7ff70024, 0x7ff70023, 0x7ff70022,
  13539. 0x7ef70028, 0x7ef70027, 0x7ef70026, 0x7ef70025,
  13540. 0x7ef70024, 0x7ef70023, 0x7df70028, 0x7df70027,
  13541. 0x7df70026, 0x7df70025, 0x7df70024, 0x7df70023,
  13542. 0x7df70022, 0x7cf70029, 0x7cf70028, 0x7cf70027,
  13543. 0x7cf70026, 0x7cf70025, 0x7cf70023, 0x7cf70022,
  13544. 0x7bf70029, 0x7bf70028, 0x7bf70026, 0x7bf70025,
  13545. 0x7bf70024, 0x7bf70023, 0x7bf70022, 0x7bf70021,
  13546. 0x7af70029, 0x7af70028, 0x7af70027, 0x7af70026,
  13547. 0x7af70025, 0x7af70024, 0x7af70023, 0x7af70022,
  13548. 0x79f70029, 0x79f70028, 0x79f70027, 0x79f70026,
  13549. 0x79f70025, 0x79f70024, 0x79f70023, 0x79f70022,
  13550. 0x78f70029, 0x78f70028, 0x78f70027, 0x78f70026,
  13551. 0x78f70025, 0x78f70024, 0x78f70023, 0x78f70022,
  13552. 0x77f70029, 0x77f70028, 0x77f70027, 0x77f70026,
  13553. 0x77f70025, 0x77f70024, 0x77f70023, 0x77f70022,
  13554. 0x76f70029, 0x76f70028, 0x76f70027, 0x76f70026,
  13555. 0x76f70024, 0x76f70023, 0x76f70022, 0x76f70021,
  13556. 0x75f70029, 0x75f70028, 0x75f70027, 0x75f70026,
  13557. 0x75f70025, 0x75f70024, 0x75f70023, 0x74f70029,
  13558. 0x74f70028, 0x74f70026, 0x74f70025, 0x74f70024,
  13559. 0x74f70023, 0x74f70022, 0x73f70029, 0x73f70027,
  13560. 0x73f70026, 0x73f70025, 0x73f70024, 0x73f70023,
  13561. 0x73f70022, 0x72f70028, 0x72f70027, 0x72f70026,
  13562. 0x72f70025, 0x72f70024, 0x72f70023, 0x72f70022,
  13563. 0x71f70028, 0x71f70027, 0x71f70026, 0x71f70025,
  13564. 0x71f70024, 0x71f70023, 0x70f70028, 0x70f70027,
  13565. 0x70f70026, 0x70f70024, 0x70f70023, 0x70f70022,
  13566. 0x70f70021, 0x70f70020, 0x70f70020, 0x70f7001f
  13567. };
  13568. static u32 nphy_tpc_txgain_ipa_5g_2057[] = {
  13569. 0x7f7f0044, 0x7f7f0040, 0x7f7f003c, 0x7f7f0039,
  13570. 0x7f7f0036, 0x7e7f003c, 0x7e7f0038, 0x7e7f0035,
  13571. 0x7d7f003c, 0x7d7f0039, 0x7d7f0036, 0x7d7f0033,
  13572. 0x7c7f003b, 0x7c7f0037, 0x7c7f0034, 0x7b7f003a,
  13573. 0x7b7f0036, 0x7b7f0033, 0x7a7f003c, 0x7a7f0039,
  13574. 0x7a7f0036, 0x7a7f0033, 0x797f003b, 0x797f0038,
  13575. 0x797f0035, 0x797f0032, 0x787f003b, 0x787f0038,
  13576. 0x787f0035, 0x787f0032, 0x777f003a, 0x777f0037,
  13577. 0x777f0034, 0x777f0031, 0x767f003a, 0x767f0036,
  13578. 0x767f0033, 0x767f0031, 0x757f003a, 0x757f0037,
  13579. 0x757f0034, 0x747f003c, 0x747f0039, 0x747f0036,
  13580. 0x747f0033, 0x737f003b, 0x737f0038, 0x737f0035,
  13581. 0x737f0032, 0x727f0039, 0x727f0036, 0x727f0033,
  13582. 0x727f0030, 0x717f003a, 0x717f0037, 0x717f0034,
  13583. 0x707f003b, 0x707f0038, 0x707f0035, 0x707f0032,
  13584. 0x707f002f, 0x707f002d, 0x707f002a, 0x707f0028,
  13585. 0x707f0025, 0x707f0023, 0x707f0021, 0x707f0020,
  13586. 0x707f001e, 0x707f001c, 0x707f001b, 0x707f0019,
  13587. 0x707f0018, 0x707f0016, 0x707f0015, 0x707f0014,
  13588. 0x707f0013, 0x707f0012, 0x707f0011, 0x707f0010,
  13589. 0x707f000f, 0x707f000e, 0x707f000d, 0x707f000d,
  13590. 0x707f000c, 0x707f000b, 0x707f000b, 0x707f000a,
  13591. 0x707f0009, 0x707f0009, 0x707f0008, 0x707f0008,
  13592. 0x707f0007, 0x707f0007, 0x707f0007, 0x707f0006,
  13593. 0x707f0006, 0x707f0006, 0x707f0005, 0x707f0005,
  13594. 0x707f0005, 0x707f0004, 0x707f0004, 0x707f0004,
  13595. 0x707f0004, 0x707f0004, 0x707f0003, 0x707f0003,
  13596. 0x707f0003, 0x707f0003, 0x707f0003, 0x707f0003,
  13597. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13598. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13599. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001,
  13600. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001
  13601. };
  13602. static u32 nphy_tpc_txgain_ipa_5g_2057rev7[] = {
  13603. 0x6f7f0031, 0x6f7f002e, 0x6f7f002c, 0x6f7f002a,
  13604. 0x6f7f0027, 0x6e7f002e, 0x6e7f002c, 0x6e7f002a,
  13605. 0x6d7f0030, 0x6d7f002d, 0x6d7f002a, 0x6d7f0028,
  13606. 0x6c7f0030, 0x6c7f002d, 0x6c7f002b, 0x6b7f002e,
  13607. 0x6b7f002c, 0x6b7f002a, 0x6b7f0027, 0x6a7f002e,
  13608. 0x6a7f002c, 0x6a7f002a, 0x697f0030, 0x697f002e,
  13609. 0x697f002b, 0x697f0029, 0x687f002f, 0x687f002d,
  13610. 0x687f002a, 0x687f0027, 0x677f002f, 0x677f002d,
  13611. 0x677f002a, 0x667f0031, 0x667f002e, 0x667f002c,
  13612. 0x667f002a, 0x657f0030, 0x657f002e, 0x657f002b,
  13613. 0x657f0029, 0x647f0030, 0x647f002d, 0x647f002b,
  13614. 0x647f0029, 0x637f002f, 0x637f002d, 0x637f002a,
  13615. 0x627f0030, 0x627f002d, 0x627f002b, 0x627f0029,
  13616. 0x617f0030, 0x617f002e, 0x617f002b, 0x617f0029,
  13617. 0x607f002f, 0x607f002d, 0x607f002a, 0x607f0027,
  13618. 0x607f0026, 0x607f0023, 0x607f0021, 0x607f0020,
  13619. 0x607f001e, 0x607f001c, 0x607f001a, 0x607f0019,
  13620. 0x607f0018, 0x607f0016, 0x607f0015, 0x607f0014,
  13621. 0x607f0012, 0x607f0012, 0x607f0011, 0x607f000f,
  13622. 0x607f000f, 0x607f000e, 0x607f000d, 0x607f000c,
  13623. 0x607f000c, 0x607f000b, 0x607f000b, 0x607f000a,
  13624. 0x607f0009, 0x607f0009, 0x607f0008, 0x607f0008,
  13625. 0x607f0008, 0x607f0007, 0x607f0007, 0x607f0006,
  13626. 0x607f0006, 0x607f0005, 0x607f0005, 0x607f0005,
  13627. 0x607f0005, 0x607f0005, 0x607f0004, 0x607f0004,
  13628. 0x607f0004, 0x607f0004, 0x607f0003, 0x607f0003,
  13629. 0x607f0003, 0x607f0003, 0x607f0002, 0x607f0002,
  13630. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13631. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13632. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13633. 0x607f0002, 0x607f0001, 0x607f0001, 0x607f0001,
  13634. 0x607f0001, 0x607f0001, 0x607f0001, 0x607f0001
  13635. };
  13636. static s8 nphy_papd_pga_gain_delta_ipa_2g[] = {
  13637. -114, -108, -98, -91, -84, -78, -70, -62,
  13638. -54, -46, -39, -31, -23, -15, -8, 0
  13639. };
  13640. static s8 nphy_papd_pga_gain_delta_ipa_5g[] = {
  13641. -100, -95, -89, -83, -77, -70, -63, -56,
  13642. -48, -41, -33, -25, -19, -12, -6, 0
  13643. };
  13644. static s16 nphy_papd_padgain_dlt_2g_2057rev3n4[] = {
  13645. -159, -113, -86, -72, -62, -54, -48, -43,
  13646. -39, -35, -31, -28, -25, -23, -20, -18,
  13647. -17, -15, -13, -11, -10, -8, -7, -6,
  13648. -5, -4, -3, -3, -2, -1, -1, 0
  13649. };
  13650. static s16 nphy_papd_padgain_dlt_2g_2057rev5[] = {
  13651. -109, -109, -82, -68, -58, -50, -44, -39,
  13652. -35, -31, -28, -26, -23, -21, -19, -17,
  13653. -16, -14, -13, -11, -10, -9, -8, -7,
  13654. -5, -5, -4, -3, -2, -1, -1, 0
  13655. };
  13656. static s16 nphy_papd_padgain_dlt_2g_2057rev7[] = {
  13657. -122, -122, -95, -80, -69, -61, -54, -49,
  13658. -43, -39, -35, -32, -28, -26, -23, -21,
  13659. -18, -16, -15, -13, -11, -10, -8, -7,
  13660. -6, -5, -4, -3, -2, -1, -1, 0
  13661. };
  13662. static s8 nphy_papd_pgagain_dlt_5g_2057[] = {
  13663. -107, -101, -92, -85, -78, -71, -62, -55,
  13664. -47, -39, -32, -24, -19, -12, -6, 0
  13665. };
  13666. static s8 nphy_papd_pgagain_dlt_5g_2057rev7[] = {
  13667. -110, -104, -95, -88, -81, -74, -66, -58,
  13668. -50, -44, -36, -28, -23, -15, -8, 0
  13669. };
  13670. static u8 pad_gain_codes_used_2057rev5[] = {
  13671. 20, 19, 18, 17, 16, 15, 14, 13, 12, 11,
  13672. 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
  13673. };
  13674. static u8 pad_gain_codes_used_2057rev7[] = {
  13675. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6,
  13676. 5, 4, 3, 2, 1
  13677. };
  13678. static u8 pad_all_gain_codes_2057[] = {
  13679. 31, 30, 29, 28, 27, 26, 25, 24, 23, 22,
  13680. 21, 20, 19, 18, 17, 16, 15, 14, 13, 12,
  13681. 11, 10, 9, 8, 7, 6, 5, 4, 3, 2,
  13682. 1, 0
  13683. };
  13684. static u8 pga_all_gain_codes_2057[] = {
  13685. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
  13686. };
  13687. static u32 nphy_papd_scaltbl[] = {
  13688. 0x0ae2002f, 0x0a3b0032, 0x09a70035, 0x09220038,
  13689. 0x0887003c, 0x081f003f, 0x07a20043, 0x07340047,
  13690. 0x06d2004b, 0x067a004f, 0x06170054, 0x05bf0059,
  13691. 0x0571005e, 0x051e0064, 0x04d3006a, 0x04910070,
  13692. 0x044c0077, 0x040f007e, 0x03d90085, 0x03a1008d,
  13693. 0x036f0095, 0x033d009e, 0x030b00a8, 0x02e000b2,
  13694. 0x02b900bc, 0x029200c7, 0x026d00d3, 0x024900e0,
  13695. 0x022900ed, 0x020a00fb, 0x01ec010a, 0x01d0011a,
  13696. 0x01b7012a, 0x019e013c, 0x0187014f, 0x01720162,
  13697. 0x015d0177, 0x0149018e, 0x013701a5, 0x012601be,
  13698. 0x011501d9, 0x010501f5, 0x00f70212, 0x00e90232,
  13699. 0x00dc0253, 0x00d00276, 0x00c4029c, 0x00b902c3,
  13700. 0x00af02ed, 0x00a5031a, 0x009c0349, 0x0093037a,
  13701. 0x008b03af, 0x008303e7, 0x007c0422, 0x00750461,
  13702. 0x006e04a3, 0x006804ea, 0x00620534, 0x005d0583,
  13703. 0x005805d7, 0x0053062f, 0x004e068d, 0x004a06f1
  13704. };
  13705. static u32 nphy_tpc_txgain_rev3[] = {
  13706. 0x1f410044, 0x1f410042, 0x1f410040, 0x1f41003e,
  13707. 0x1f41003c, 0x1f41003b, 0x1f410039, 0x1f410037,
  13708. 0x1e410044, 0x1e410042, 0x1e410040, 0x1e41003e,
  13709. 0x1e41003c, 0x1e41003b, 0x1e410039, 0x1e410037,
  13710. 0x1d410044, 0x1d410042, 0x1d410040, 0x1d41003e,
  13711. 0x1d41003c, 0x1d41003b, 0x1d410039, 0x1d410037,
  13712. 0x1c410044, 0x1c410042, 0x1c410040, 0x1c41003e,
  13713. 0x1c41003c, 0x1c41003b, 0x1c410039, 0x1c410037,
  13714. 0x1b410044, 0x1b410042, 0x1b410040, 0x1b41003e,
  13715. 0x1b41003c, 0x1b41003b, 0x1b410039, 0x1b410037,
  13716. 0x1a410044, 0x1a410042, 0x1a410040, 0x1a41003e,
  13717. 0x1a41003c, 0x1a41003b, 0x1a410039, 0x1a410037,
  13718. 0x19410044, 0x19410042, 0x19410040, 0x1941003e,
  13719. 0x1941003c, 0x1941003b, 0x19410039, 0x19410037,
  13720. 0x18410044, 0x18410042, 0x18410040, 0x1841003e,
  13721. 0x1841003c, 0x1841003b, 0x18410039, 0x18410037,
  13722. 0x17410044, 0x17410042, 0x17410040, 0x1741003e,
  13723. 0x1741003c, 0x1741003b, 0x17410039, 0x17410037,
  13724. 0x16410044, 0x16410042, 0x16410040, 0x1641003e,
  13725. 0x1641003c, 0x1641003b, 0x16410039, 0x16410037,
  13726. 0x15410044, 0x15410042, 0x15410040, 0x1541003e,
  13727. 0x1541003c, 0x1541003b, 0x15410039, 0x15410037,
  13728. 0x14410044, 0x14410042, 0x14410040, 0x1441003e,
  13729. 0x1441003c, 0x1441003b, 0x14410039, 0x14410037,
  13730. 0x13410044, 0x13410042, 0x13410040, 0x1341003e,
  13731. 0x1341003c, 0x1341003b, 0x13410039, 0x13410037,
  13732. 0x12410044, 0x12410042, 0x12410040, 0x1241003e,
  13733. 0x1241003c, 0x1241003b, 0x12410039, 0x12410037,
  13734. 0x11410044, 0x11410042, 0x11410040, 0x1141003e,
  13735. 0x1141003c, 0x1141003b, 0x11410039, 0x11410037,
  13736. 0x10410044, 0x10410042, 0x10410040, 0x1041003e,
  13737. 0x1041003c, 0x1041003b, 0x10410039, 0x10410037
  13738. };
  13739. static u32 nphy_tpc_txgain_HiPwrEPA[] = {
  13740. 0x0f410044, 0x0f410042, 0x0f410040, 0x0f41003e,
  13741. 0x0f41003c, 0x0f41003b, 0x0f410039, 0x0f410037,
  13742. 0x0e410044, 0x0e410042, 0x0e410040, 0x0e41003e,
  13743. 0x0e41003c, 0x0e41003b, 0x0e410039, 0x0e410037,
  13744. 0x0d410044, 0x0d410042, 0x0d410040, 0x0d41003e,
  13745. 0x0d41003c, 0x0d41003b, 0x0d410039, 0x0d410037,
  13746. 0x0c410044, 0x0c410042, 0x0c410040, 0x0c41003e,
  13747. 0x0c41003c, 0x0c41003b, 0x0c410039, 0x0c410037,
  13748. 0x0b410044, 0x0b410042, 0x0b410040, 0x0b41003e,
  13749. 0x0b41003c, 0x0b41003b, 0x0b410039, 0x0b410037,
  13750. 0x0a410044, 0x0a410042, 0x0a410040, 0x0a41003e,
  13751. 0x0a41003c, 0x0a41003b, 0x0a410039, 0x0a410037,
  13752. 0x09410044, 0x09410042, 0x09410040, 0x0941003e,
  13753. 0x0941003c, 0x0941003b, 0x09410039, 0x09410037,
  13754. 0x08410044, 0x08410042, 0x08410040, 0x0841003e,
  13755. 0x0841003c, 0x0841003b, 0x08410039, 0x08410037,
  13756. 0x07410044, 0x07410042, 0x07410040, 0x0741003e,
  13757. 0x0741003c, 0x0741003b, 0x07410039, 0x07410037,
  13758. 0x06410044, 0x06410042, 0x06410040, 0x0641003e,
  13759. 0x0641003c, 0x0641003b, 0x06410039, 0x06410037,
  13760. 0x05410044, 0x05410042, 0x05410040, 0x0541003e,
  13761. 0x0541003c, 0x0541003b, 0x05410039, 0x05410037,
  13762. 0x04410044, 0x04410042, 0x04410040, 0x0441003e,
  13763. 0x0441003c, 0x0441003b, 0x04410039, 0x04410037,
  13764. 0x03410044, 0x03410042, 0x03410040, 0x0341003e,
  13765. 0x0341003c, 0x0341003b, 0x03410039, 0x03410037,
  13766. 0x02410044, 0x02410042, 0x02410040, 0x0241003e,
  13767. 0x0241003c, 0x0241003b, 0x02410039, 0x02410037,
  13768. 0x01410044, 0x01410042, 0x01410040, 0x0141003e,
  13769. 0x0141003c, 0x0141003b, 0x01410039, 0x01410037,
  13770. 0x00410044, 0x00410042, 0x00410040, 0x0041003e,
  13771. 0x0041003c, 0x0041003b, 0x00410039, 0x00410037
  13772. };
  13773. static u32 nphy_tpc_txgain_epa_2057rev3[] = {
  13774. 0x80f90040, 0x80e10040, 0x80e1003c, 0x80c9003d,
  13775. 0x80b9003c, 0x80a9003d, 0x80a1003c, 0x8099003b,
  13776. 0x8091003b, 0x8089003a, 0x8081003a, 0x80790039,
  13777. 0x80710039, 0x8069003a, 0x8061003b, 0x8059003d,
  13778. 0x8051003f, 0x80490042, 0x8049003e, 0x8049003b,
  13779. 0x8041003e, 0x8041003b, 0x8039003e, 0x8039003b,
  13780. 0x80390038, 0x80390035, 0x8031003a, 0x80310036,
  13781. 0x80310033, 0x8029003a, 0x80290037, 0x80290034,
  13782. 0x80290031, 0x80210039, 0x80210036, 0x80210033,
  13783. 0x80210030, 0x8019003c, 0x80190039, 0x80190036,
  13784. 0x80190033, 0x80190030, 0x8019002d, 0x8019002b,
  13785. 0x80190028, 0x8011003a, 0x80110036, 0x80110033,
  13786. 0x80110030, 0x8011002e, 0x8011002b, 0x80110029,
  13787. 0x80110027, 0x80110024, 0x80110022, 0x80110020,
  13788. 0x8011001f, 0x8011001d, 0x8009003a, 0x80090037,
  13789. 0x80090034, 0x80090031, 0x8009002e, 0x8009002c,
  13790. 0x80090029, 0x80090027, 0x80090025, 0x80090023,
  13791. 0x80090021, 0x8009001f, 0x8009001d, 0x8009011d,
  13792. 0x8009021d, 0x8009031d, 0x8009041d, 0x8009051d,
  13793. 0x8009061d, 0x8009071d, 0x8009071d, 0x8009071d,
  13794. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13795. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13796. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13797. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13798. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13799. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13800. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13801. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13802. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13803. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13804. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13805. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d
  13806. };
  13807. static u32 nphy_tpc_txgain_epa_2057rev5[] = {
  13808. 0x10f90040, 0x10e10040, 0x10e1003c, 0x10c9003d,
  13809. 0x10b9003c, 0x10a9003d, 0x10a1003c, 0x1099003b,
  13810. 0x1091003b, 0x1089003a, 0x1081003a, 0x10790039,
  13811. 0x10710039, 0x1069003a, 0x1061003b, 0x1059003d,
  13812. 0x1051003f, 0x10490042, 0x1049003e, 0x1049003b,
  13813. 0x1041003e, 0x1041003b, 0x1039003e, 0x1039003b,
  13814. 0x10390038, 0x10390035, 0x1031003a, 0x10310036,
  13815. 0x10310033, 0x1029003a, 0x10290037, 0x10290034,
  13816. 0x10290031, 0x10210039, 0x10210036, 0x10210033,
  13817. 0x10210030, 0x1019003c, 0x10190039, 0x10190036,
  13818. 0x10190033, 0x10190030, 0x1019002d, 0x1019002b,
  13819. 0x10190028, 0x1011003a, 0x10110036, 0x10110033,
  13820. 0x10110030, 0x1011002e, 0x1011002b, 0x10110029,
  13821. 0x10110027, 0x10110024, 0x10110022, 0x10110020,
  13822. 0x1011001f, 0x1011001d, 0x1009003a, 0x10090037,
  13823. 0x10090034, 0x10090031, 0x1009002e, 0x1009002c,
  13824. 0x10090029, 0x10090027, 0x10090025, 0x10090023,
  13825. 0x10090021, 0x1009001f, 0x1009001d, 0x1009001b,
  13826. 0x1009001a, 0x10090018, 0x10090017, 0x10090016,
  13827. 0x10090015, 0x10090013, 0x10090012, 0x10090011,
  13828. 0x10090010, 0x1009000f, 0x1009000f, 0x1009000e,
  13829. 0x1009000d, 0x1009000c, 0x1009000c, 0x1009000b,
  13830. 0x1009000a, 0x1009000a, 0x10090009, 0x10090009,
  13831. 0x10090008, 0x10090008, 0x10090007, 0x10090007,
  13832. 0x10090007, 0x10090006, 0x10090006, 0x10090005,
  13833. 0x10090005, 0x10090005, 0x10090005, 0x10090004,
  13834. 0x10090004, 0x10090004, 0x10090004, 0x10090003,
  13835. 0x10090003, 0x10090003, 0x10090003, 0x10090003,
  13836. 0x10090003, 0x10090002, 0x10090002, 0x10090002,
  13837. 0x10090002, 0x10090002, 0x10090002, 0x10090002,
  13838. 0x10090002, 0x10090002, 0x10090001, 0x10090001,
  13839. 0x10090001, 0x10090001, 0x10090001, 0x10090001
  13840. };
  13841. static u32 nphy_tpc_5GHz_txgain_rev3[] = {
  13842. 0xcff70044, 0xcff70042, 0xcff70040, 0xcff7003e,
  13843. 0xcff7003c, 0xcff7003b, 0xcff70039, 0xcff70037,
  13844. 0xcef70044, 0xcef70042, 0xcef70040, 0xcef7003e,
  13845. 0xcef7003c, 0xcef7003b, 0xcef70039, 0xcef70037,
  13846. 0xcdf70044, 0xcdf70042, 0xcdf70040, 0xcdf7003e,
  13847. 0xcdf7003c, 0xcdf7003b, 0xcdf70039, 0xcdf70037,
  13848. 0xccf70044, 0xccf70042, 0xccf70040, 0xccf7003e,
  13849. 0xccf7003c, 0xccf7003b, 0xccf70039, 0xccf70037,
  13850. 0xcbf70044, 0xcbf70042, 0xcbf70040, 0xcbf7003e,
  13851. 0xcbf7003c, 0xcbf7003b, 0xcbf70039, 0xcbf70037,
  13852. 0xcaf70044, 0xcaf70042, 0xcaf70040, 0xcaf7003e,
  13853. 0xcaf7003c, 0xcaf7003b, 0xcaf70039, 0xcaf70037,
  13854. 0xc9f70044, 0xc9f70042, 0xc9f70040, 0xc9f7003e,
  13855. 0xc9f7003c, 0xc9f7003b, 0xc9f70039, 0xc9f70037,
  13856. 0xc8f70044, 0xc8f70042, 0xc8f70040, 0xc8f7003e,
  13857. 0xc8f7003c, 0xc8f7003b, 0xc8f70039, 0xc8f70037,
  13858. 0xc7f70044, 0xc7f70042, 0xc7f70040, 0xc7f7003e,
  13859. 0xc7f7003c, 0xc7f7003b, 0xc7f70039, 0xc7f70037,
  13860. 0xc6f70044, 0xc6f70042, 0xc6f70040, 0xc6f7003e,
  13861. 0xc6f7003c, 0xc6f7003b, 0xc6f70039, 0xc6f70037,
  13862. 0xc5f70044, 0xc5f70042, 0xc5f70040, 0xc5f7003e,
  13863. 0xc5f7003c, 0xc5f7003b, 0xc5f70039, 0xc5f70037,
  13864. 0xc4f70044, 0xc4f70042, 0xc4f70040, 0xc4f7003e,
  13865. 0xc4f7003c, 0xc4f7003b, 0xc4f70039, 0xc4f70037,
  13866. 0xc3f70044, 0xc3f70042, 0xc3f70040, 0xc3f7003e,
  13867. 0xc3f7003c, 0xc3f7003b, 0xc3f70039, 0xc3f70037,
  13868. 0xc2f70044, 0xc2f70042, 0xc2f70040, 0xc2f7003e,
  13869. 0xc2f7003c, 0xc2f7003b, 0xc2f70039, 0xc2f70037,
  13870. 0xc1f70044, 0xc1f70042, 0xc1f70040, 0xc1f7003e,
  13871. 0xc1f7003c, 0xc1f7003b, 0xc1f70039, 0xc1f70037,
  13872. 0xc0f70044, 0xc0f70042, 0xc0f70040, 0xc0f7003e,
  13873. 0xc0f7003c, 0xc0f7003b, 0xc0f70039, 0xc0f70037
  13874. };
  13875. static u32 nphy_tpc_5GHz_txgain_rev4[] = {
  13876. 0x2ff20044, 0x2ff20042, 0x2ff20040, 0x2ff2003e,
  13877. 0x2ff2003c, 0x2ff2003b, 0x2ff20039, 0x2ff20037,
  13878. 0x2ef20044, 0x2ef20042, 0x2ef20040, 0x2ef2003e,
  13879. 0x2ef2003c, 0x2ef2003b, 0x2ef20039, 0x2ef20037,
  13880. 0x2df20044, 0x2df20042, 0x2df20040, 0x2df2003e,
  13881. 0x2df2003c, 0x2df2003b, 0x2df20039, 0x2df20037,
  13882. 0x2cf20044, 0x2cf20042, 0x2cf20040, 0x2cf2003e,
  13883. 0x2cf2003c, 0x2cf2003b, 0x2cf20039, 0x2cf20037,
  13884. 0x2bf20044, 0x2bf20042, 0x2bf20040, 0x2bf2003e,
  13885. 0x2bf2003c, 0x2bf2003b, 0x2bf20039, 0x2bf20037,
  13886. 0x2af20044, 0x2af20042, 0x2af20040, 0x2af2003e,
  13887. 0x2af2003c, 0x2af2003b, 0x2af20039, 0x2af20037,
  13888. 0x29f20044, 0x29f20042, 0x29f20040, 0x29f2003e,
  13889. 0x29f2003c, 0x29f2003b, 0x29f20039, 0x29f20037,
  13890. 0x28f20044, 0x28f20042, 0x28f20040, 0x28f2003e,
  13891. 0x28f2003c, 0x28f2003b, 0x28f20039, 0x28f20037,
  13892. 0x27f20044, 0x27f20042, 0x27f20040, 0x27f2003e,
  13893. 0x27f2003c, 0x27f2003b, 0x27f20039, 0x27f20037,
  13894. 0x26f20044, 0x26f20042, 0x26f20040, 0x26f2003e,
  13895. 0x26f2003c, 0x26f2003b, 0x26f20039, 0x26f20037,
  13896. 0x25f20044, 0x25f20042, 0x25f20040, 0x25f2003e,
  13897. 0x25f2003c, 0x25f2003b, 0x25f20039, 0x25f20037,
  13898. 0x24f20044, 0x24f20042, 0x24f20040, 0x24f2003e,
  13899. 0x24f2003c, 0x24f2003b, 0x24f20039, 0x24f20038,
  13900. 0x23f20041, 0x23f20040, 0x23f2003f, 0x23f2003e,
  13901. 0x23f2003c, 0x23f2003b, 0x23f20039, 0x23f20037,
  13902. 0x22f20044, 0x22f20042, 0x22f20040, 0x22f2003e,
  13903. 0x22f2003c, 0x22f2003b, 0x22f20039, 0x22f20037,
  13904. 0x21f20044, 0x21f20042, 0x21f20040, 0x21f2003e,
  13905. 0x21f2003c, 0x21f2003b, 0x21f20039, 0x21f20037,
  13906. 0x20d20043, 0x20d20041, 0x20d2003e, 0x20d2003c,
  13907. 0x20d2003a, 0x20d20038, 0x20d20036, 0x20d20034
  13908. };
  13909. static u32 nphy_tpc_5GHz_txgain_rev5[] = {
  13910. 0x0f62004a, 0x0f620048, 0x0f620046, 0x0f620044,
  13911. 0x0f620042, 0x0f620040, 0x0f62003e, 0x0f62003c,
  13912. 0x0e620044, 0x0e620042, 0x0e620040, 0x0e62003e,
  13913. 0x0e62003c, 0x0e62003d, 0x0e62003b, 0x0e62003a,
  13914. 0x0d620043, 0x0d620041, 0x0d620040, 0x0d62003e,
  13915. 0x0d62003d, 0x0d62003c, 0x0d62003b, 0x0d62003a,
  13916. 0x0c620041, 0x0c620040, 0x0c62003f, 0x0c62003e,
  13917. 0x0c62003c, 0x0c62003b, 0x0c620039, 0x0c620037,
  13918. 0x0b620046, 0x0b620044, 0x0b620042, 0x0b620040,
  13919. 0x0b62003e, 0x0b62003c, 0x0b62003b, 0x0b62003a,
  13920. 0x0a620041, 0x0a620040, 0x0a62003e, 0x0a62003c,
  13921. 0x0a62003b, 0x0a62003a, 0x0a620039, 0x0a620038,
  13922. 0x0962003e, 0x0962003d, 0x0962003c, 0x0962003b,
  13923. 0x09620039, 0x09620037, 0x09620035, 0x09620033,
  13924. 0x08620044, 0x08620042, 0x08620040, 0x0862003e,
  13925. 0x0862003c, 0x0862003b, 0x0862003a, 0x08620039,
  13926. 0x07620043, 0x07620042, 0x07620040, 0x0762003f,
  13927. 0x0762003d, 0x0762003b, 0x0762003a, 0x07620039,
  13928. 0x0662003e, 0x0662003d, 0x0662003c, 0x0662003b,
  13929. 0x06620039, 0x06620037, 0x06620035, 0x06620033,
  13930. 0x05620046, 0x05620044, 0x05620042, 0x05620040,
  13931. 0x0562003e, 0x0562003c, 0x0562003b, 0x05620039,
  13932. 0x04620044, 0x04620042, 0x04620040, 0x0462003e,
  13933. 0x0462003c, 0x0462003b, 0x04620039, 0x04620038,
  13934. 0x0362003c, 0x0362003b, 0x0362003a, 0x03620039,
  13935. 0x03620038, 0x03620037, 0x03620035, 0x03620033,
  13936. 0x0262004c, 0x0262004a, 0x02620048, 0x02620047,
  13937. 0x02620046, 0x02620044, 0x02620043, 0x02620042,
  13938. 0x0162004a, 0x01620048, 0x01620046, 0x01620044,
  13939. 0x01620043, 0x01620042, 0x01620041, 0x01620040,
  13940. 0x00620042, 0x00620040, 0x0062003e, 0x0062003c,
  13941. 0x0062003b, 0x00620039, 0x00620037, 0x00620035
  13942. };
  13943. static u32 nphy_tpc_5GHz_txgain_HiPwrEPA[] = {
  13944. 0x2ff10044, 0x2ff10042, 0x2ff10040, 0x2ff1003e,
  13945. 0x2ff1003c, 0x2ff1003b, 0x2ff10039, 0x2ff10037,
  13946. 0x2ef10044, 0x2ef10042, 0x2ef10040, 0x2ef1003e,
  13947. 0x2ef1003c, 0x2ef1003b, 0x2ef10039, 0x2ef10037,
  13948. 0x2df10044, 0x2df10042, 0x2df10040, 0x2df1003e,
  13949. 0x2df1003c, 0x2df1003b, 0x2df10039, 0x2df10037,
  13950. 0x2cf10044, 0x2cf10042, 0x2cf10040, 0x2cf1003e,
  13951. 0x2cf1003c, 0x2cf1003b, 0x2cf10039, 0x2cf10037,
  13952. 0x2bf10044, 0x2bf10042, 0x2bf10040, 0x2bf1003e,
  13953. 0x2bf1003c, 0x2bf1003b, 0x2bf10039, 0x2bf10037,
  13954. 0x2af10044, 0x2af10042, 0x2af10040, 0x2af1003e,
  13955. 0x2af1003c, 0x2af1003b, 0x2af10039, 0x2af10037,
  13956. 0x29f10044, 0x29f10042, 0x29f10040, 0x29f1003e,
  13957. 0x29f1003c, 0x29f1003b, 0x29f10039, 0x29f10037,
  13958. 0x28f10044, 0x28f10042, 0x28f10040, 0x28f1003e,
  13959. 0x28f1003c, 0x28f1003b, 0x28f10039, 0x28f10037,
  13960. 0x27f10044, 0x27f10042, 0x27f10040, 0x27f1003e,
  13961. 0x27f1003c, 0x27f1003b, 0x27f10039, 0x27f10037,
  13962. 0x26f10044, 0x26f10042, 0x26f10040, 0x26f1003e,
  13963. 0x26f1003c, 0x26f1003b, 0x26f10039, 0x26f10037,
  13964. 0x25f10044, 0x25f10042, 0x25f10040, 0x25f1003e,
  13965. 0x25f1003c, 0x25f1003b, 0x25f10039, 0x25f10037,
  13966. 0x24f10044, 0x24f10042, 0x24f10040, 0x24f1003e,
  13967. 0x24f1003c, 0x24f1003b, 0x24f10039, 0x24f10038,
  13968. 0x23f10041, 0x23f10040, 0x23f1003f, 0x23f1003e,
  13969. 0x23f1003c, 0x23f1003b, 0x23f10039, 0x23f10037,
  13970. 0x22f10044, 0x22f10042, 0x22f10040, 0x22f1003e,
  13971. 0x22f1003c, 0x22f1003b, 0x22f10039, 0x22f10037,
  13972. 0x21f10044, 0x21f10042, 0x21f10040, 0x21f1003e,
  13973. 0x21f1003c, 0x21f1003b, 0x21f10039, 0x21f10037,
  13974. 0x20d10043, 0x20d10041, 0x20d1003e, 0x20d1003c,
  13975. 0x20d1003a, 0x20d10038, 0x20d10036, 0x20d10034
  13976. };
  13977. static u8 ant_sw_ctrl_tbl_rev8_2o3[] = { 0x14, 0x18 };
  13978. static u8 ant_sw_ctrl_tbl_rev8[] = { 0x4, 0x8, 0x4, 0x8, 0x11, 0x12 };
  13979. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core0[] = {
  13980. 0x09, 0x0a, 0x15, 0x16, 0x09, 0x0a
  13981. };
  13982. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core1[] = {
  13983. 0x09, 0x0a, 0x09, 0x0a, 0x15, 0x16
  13984. };
  13985. bool wlc_phy_bist_check_phy(struct brcms_phy_pub *pih)
  13986. {
  13987. struct brcms_phy *pi = (struct brcms_phy *) pih;
  13988. u32 phybist0, phybist1, phybist2, phybist3, phybist4;
  13989. if (NREV_GE(pi->pubpi.phy_rev, 16))
  13990. return true;
  13991. phybist0 = read_phy_reg(pi, 0x0e);
  13992. phybist1 = read_phy_reg(pi, 0x0f);
  13993. phybist2 = read_phy_reg(pi, 0xea);
  13994. phybist3 = read_phy_reg(pi, 0xeb);
  13995. phybist4 = read_phy_reg(pi, 0x156);
  13996. if ((phybist0 == 0) && (phybist1 == 0x4000) && (phybist2 == 0x1fe0) &&
  13997. (phybist3 == 0) && (phybist4 == 0))
  13998. return true;
  13999. return false;
  14000. }
  14001. static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi)
  14002. {
  14003. u16 addr, val;
  14004. val = 0x1e1f;
  14005. for (addr = (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT);
  14006. addr <= (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT_END); addr++) {
  14007. write_phy_reg(pi, addr, val);
  14008. if (addr == (NPHY_TO_BPHY_OFF + 0x97))
  14009. val = 0x3e3f;
  14010. else
  14011. val -= 0x0202;
  14012. }
  14013. write_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_STEP, 0x668);
  14014. }
  14015. void
  14016. wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14017. u32 width, const void *data)
  14018. {
  14019. struct phytbl_info tbl;
  14020. tbl.tbl_id = id;
  14021. tbl.tbl_len = len;
  14022. tbl.tbl_offset = offset;
  14023. tbl.tbl_width = width;
  14024. tbl.tbl_ptr = data;
  14025. wlc_phy_write_table_nphy(pi, &tbl);
  14026. }
  14027. void
  14028. wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14029. u32 width, void *data)
  14030. {
  14031. struct phytbl_info tbl;
  14032. tbl.tbl_id = id;
  14033. tbl.tbl_len = len;
  14034. tbl.tbl_offset = offset;
  14035. tbl.tbl_width = width;
  14036. tbl.tbl_ptr = data;
  14037. wlc_phy_read_table_nphy(pi, &tbl);
  14038. }
  14039. static void
  14040. wlc_phy_static_table_download_nphy(struct brcms_phy *pi)
  14041. {
  14042. uint idx;
  14043. if (NREV_GE(pi->pubpi.phy_rev, 16)) {
  14044. for (idx = 0; idx < mimophytbl_info_sz_rev16; idx++)
  14045. wlc_phy_write_table_nphy(pi,
  14046. &mimophytbl_info_rev16[idx]);
  14047. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14048. for (idx = 0; idx < mimophytbl_info_sz_rev7; idx++)
  14049. wlc_phy_write_table_nphy(pi,
  14050. &mimophytbl_info_rev7[idx]);
  14051. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14052. for (idx = 0; idx < mimophytbl_info_sz_rev3; idx++)
  14053. wlc_phy_write_table_nphy(pi,
  14054. &mimophytbl_info_rev3[idx]);
  14055. } else {
  14056. for (idx = 0; idx < mimophytbl_info_sz_rev0; idx++)
  14057. wlc_phy_write_table_nphy(pi,
  14058. &mimophytbl_info_rev0[idx]);
  14059. }
  14060. }
  14061. static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi)
  14062. {
  14063. uint idx = 0;
  14064. u8 antswctrllut;
  14065. if (pi->phy_init_por)
  14066. wlc_phy_static_table_download_nphy(pi);
  14067. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14068. antswctrllut = CHSPEC_IS2G(pi->radio_chanspec) ?
  14069. pi->srom_fem2g.antswctrllut : pi->srom_fem5g.
  14070. antswctrllut;
  14071. switch (antswctrllut) {
  14072. case 0:
  14073. break;
  14074. case 1:
  14075. if (pi->aa2g == 7)
  14076. wlc_phy_table_write_nphy(
  14077. pi,
  14078. NPHY_TBL_ID_ANTSWCTRLLUT,
  14079. 2, 0x21, 8,
  14080. &ant_sw_ctrl_tbl_rev8_2o3[0]);
  14081. else
  14082. wlc_phy_table_write_nphy(
  14083. pi,
  14084. NPHY_TBL_ID_ANTSWCTRLLUT,
  14085. 2, 0x21, 8,
  14086. &ant_sw_ctrl_tbl_rev8
  14087. [0]);
  14088. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14089. 2, 0x25, 8,
  14090. &ant_sw_ctrl_tbl_rev8[2]);
  14091. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14092. 2, 0x29, 8,
  14093. &ant_sw_ctrl_tbl_rev8[4]);
  14094. break;
  14095. case 2:
  14096. wlc_phy_table_write_nphy(
  14097. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14098. 2, 0x1, 8,
  14099. &ant_sw_ctrl_tbl_rev8_2057v7_core0[0]);
  14100. wlc_phy_table_write_nphy(
  14101. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14102. 2, 0x5, 8,
  14103. &ant_sw_ctrl_tbl_rev8_2057v7_core0[2]);
  14104. wlc_phy_table_write_nphy(
  14105. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14106. 2, 0x9, 8,
  14107. &ant_sw_ctrl_tbl_rev8_2057v7_core0[4]);
  14108. wlc_phy_table_write_nphy(
  14109. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14110. 2, 0x21, 8,
  14111. &ant_sw_ctrl_tbl_rev8_2057v7_core1[0]);
  14112. wlc_phy_table_write_nphy(
  14113. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14114. 2, 0x25, 8,
  14115. &ant_sw_ctrl_tbl_rev8_2057v7_core1[2]);
  14116. wlc_phy_table_write_nphy(
  14117. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14118. 2, 0x29, 8,
  14119. &ant_sw_ctrl_tbl_rev8_2057v7_core1[4]);
  14120. break;
  14121. default:
  14122. break;
  14123. }
  14124. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14125. for (idx = 0; idx < mimophytbl_info_sz_rev3_volatile; idx++) {
  14126. if (idx == ANT_SWCTRL_TBL_REV3_IDX) {
  14127. antswctrllut =
  14128. CHSPEC_IS2G(pi->radio_chanspec) ?
  14129. pi->srom_fem2g.antswctrllut :
  14130. pi->srom_fem5g.antswctrllut;
  14131. switch (antswctrllut) {
  14132. case 0:
  14133. wlc_phy_write_table_nphy(
  14134. pi,
  14135. &mimophytbl_info_rev3_volatile
  14136. [idx]);
  14137. break;
  14138. case 1:
  14139. wlc_phy_write_table_nphy(
  14140. pi,
  14141. &mimophytbl_info_rev3_volatile1
  14142. [idx]);
  14143. break;
  14144. case 2:
  14145. wlc_phy_write_table_nphy(
  14146. pi,
  14147. &mimophytbl_info_rev3_volatile2
  14148. [idx]);
  14149. break;
  14150. case 3:
  14151. wlc_phy_write_table_nphy(
  14152. pi,
  14153. &mimophytbl_info_rev3_volatile3
  14154. [idx]);
  14155. break;
  14156. default:
  14157. break;
  14158. }
  14159. } else {
  14160. wlc_phy_write_table_nphy(
  14161. pi,
  14162. &mimophytbl_info_rev3_volatile[idx]);
  14163. }
  14164. }
  14165. } else {
  14166. for (idx = 0; idx < mimophytbl_info_sz_rev0_volatile; idx++)
  14167. wlc_phy_write_table_nphy(pi,
  14168. &mimophytbl_info_rev0_volatile
  14169. [idx]);
  14170. }
  14171. }
  14172. static void
  14173. wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay)
  14174. {
  14175. write_phy_reg(pi, 0x77, holdoff);
  14176. write_phy_reg(pi, 0xb4, delay);
  14177. }
  14178. void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs)
  14179. {
  14180. u16 holdoff, delay;
  14181. if (rifs) {
  14182. holdoff = 0x10;
  14183. delay = 0x258;
  14184. } else {
  14185. holdoff = 0x15;
  14186. delay = 0x320;
  14187. }
  14188. wlc_phy_write_txmacreg_nphy(pi, holdoff, delay);
  14189. if (pi && pi->sh && (pi->sh->_rifs_phy != rifs))
  14190. pi->sh->_rifs_phy = rifs;
  14191. }
  14192. static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi)
  14193. {
  14194. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14195. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14196. pi->phy_5g_pwrgain = true;
  14197. return;
  14198. }
  14199. pi->nphy_txpwrctrl = PHY_TPC_HW_OFF;
  14200. pi->phy_5g_pwrgain = false;
  14201. if ((pi->sh->boardflags2 & BFL2_TXPWRCTRL_EN) &&
  14202. NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4))
  14203. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14204. else if ((pi->sh->sromrev >= 4)
  14205. && (pi->sh->boardflags2 & BFL2_5G_PWRGAIN))
  14206. pi->phy_5g_pwrgain = true;
  14207. }
  14208. static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi)
  14209. {
  14210. u16 bw40po, cddpo, stbcpo, bwduppo;
  14211. uint band_num;
  14212. struct phy_shim_info *shim = pi->sh->physhim;
  14213. if (pi->sh->sromrev >= 9)
  14214. return;
  14215. bw40po = (u16) wlapi_getintvar(shim, BRCMS_SROM_BW40PO);
  14216. pi->bw402gpo = bw40po & 0xf;
  14217. pi->bw405gpo = (bw40po & 0xf0) >> 4;
  14218. pi->bw405glpo = (bw40po & 0xf00) >> 8;
  14219. pi->bw405ghpo = (bw40po & 0xf000) >> 12;
  14220. cddpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_CDDPO);
  14221. pi->cdd2gpo = cddpo & 0xf;
  14222. pi->cdd5gpo = (cddpo & 0xf0) >> 4;
  14223. pi->cdd5glpo = (cddpo & 0xf00) >> 8;
  14224. pi->cdd5ghpo = (cddpo & 0xf000) >> 12;
  14225. stbcpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_STBCPO);
  14226. pi->stbc2gpo = stbcpo & 0xf;
  14227. pi->stbc5gpo = (stbcpo & 0xf0) >> 4;
  14228. pi->stbc5glpo = (stbcpo & 0xf00) >> 8;
  14229. pi->stbc5ghpo = (stbcpo & 0xf000) >> 12;
  14230. bwduppo = (u16) wlapi_getintvar(shim, BRCMS_SROM_BWDUPPO);
  14231. pi->bwdup2gpo = bwduppo & 0xf;
  14232. pi->bwdup5gpo = (bwduppo & 0xf0) >> 4;
  14233. pi->bwdup5glpo = (bwduppo & 0xf00) >> 8;
  14234. pi->bwdup5ghpo = (bwduppo & 0xf000) >> 12;
  14235. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  14236. band_num++) {
  14237. switch (band_num) {
  14238. case 0:
  14239. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_2g =
  14240. (s8) wlapi_getintvar(shim,
  14241. BRCMS_SROM_MAXP2GA0);
  14242. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_2g =
  14243. (s8) wlapi_getintvar(shim,
  14244. BRCMS_SROM_MAXP2GA1);
  14245. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_a1 =
  14246. (s16) wlapi_getintvar(shim,
  14247. BRCMS_SROM_PA2GW0A0);
  14248. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_a1 =
  14249. (s16) wlapi_getintvar(shim,
  14250. BRCMS_SROM_PA2GW0A1);
  14251. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b0 =
  14252. (s16) wlapi_getintvar(shim,
  14253. BRCMS_SROM_PA2GW1A0);
  14254. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b0 =
  14255. (s16) wlapi_getintvar(shim,
  14256. BRCMS_SROM_PA2GW1A1);
  14257. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b1 =
  14258. (s16) wlapi_getintvar(shim,
  14259. BRCMS_SROM_PA2GW2A0);
  14260. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b1 =
  14261. (s16) wlapi_getintvar(shim,
  14262. BRCMS_SROM_PA2GW2A1);
  14263. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_2g =
  14264. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA0);
  14265. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_2g =
  14266. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA1);
  14267. pi->cck2gpo = (u16) wlapi_getintvar(shim,
  14268. BRCMS_SROM_CCK2GPO);
  14269. pi->ofdm2gpo =
  14270. (u32) wlapi_getintvar(shim,
  14271. BRCMS_SROM_OFDM2GPO);
  14272. pi->mcs2gpo[0] =
  14273. (u16) wlapi_getintvar(shim,
  14274. BRCMS_SROM_MCS2GPO0);
  14275. pi->mcs2gpo[1] =
  14276. (u16) wlapi_getintvar(shim,
  14277. BRCMS_SROM_MCS2GPO1);
  14278. pi->mcs2gpo[2] =
  14279. (u16) wlapi_getintvar(shim,
  14280. BRCMS_SROM_MCS2GPO2);
  14281. pi->mcs2gpo[3] =
  14282. (u16) wlapi_getintvar(shim,
  14283. BRCMS_SROM_MCS2GPO3);
  14284. pi->mcs2gpo[4] =
  14285. (u16) wlapi_getintvar(shim,
  14286. BRCMS_SROM_MCS2GPO4);
  14287. pi->mcs2gpo[5] =
  14288. (u16) wlapi_getintvar(shim,
  14289. BRCMS_SROM_MCS2GPO5);
  14290. pi->mcs2gpo[6] =
  14291. (u16) wlapi_getintvar(shim,
  14292. BRCMS_SROM_MCS2GPO6);
  14293. pi->mcs2gpo[7] =
  14294. (u16) wlapi_getintvar(shim,
  14295. BRCMS_SROM_MCS2GPO7);
  14296. break;
  14297. case 1:
  14298. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_5gm =
  14299. (s8) wlapi_getintvar(shim, BRCMS_SROM_MAXP5GA0);
  14300. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_5gm =
  14301. (s8) wlapi_getintvar(shim,
  14302. BRCMS_SROM_MAXP5GA1);
  14303. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_a1 =
  14304. (s16) wlapi_getintvar(shim,
  14305. BRCMS_SROM_PA5GW0A0);
  14306. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_a1 =
  14307. (s16) wlapi_getintvar(shim,
  14308. BRCMS_SROM_PA5GW0A1);
  14309. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b0 =
  14310. (s16) wlapi_getintvar(shim,
  14311. BRCMS_SROM_PA5GW1A0);
  14312. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b0 =
  14313. (s16) wlapi_getintvar(shim,
  14314. BRCMS_SROM_PA5GW1A1);
  14315. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b1 =
  14316. (s16) wlapi_getintvar(shim,
  14317. BRCMS_SROM_PA5GW2A0);
  14318. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b1 =
  14319. (s16) wlapi_getintvar(shim,
  14320. BRCMS_SROM_PA5GW2A1);
  14321. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_5gm =
  14322. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA0);
  14323. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_5gm =
  14324. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA1);
  14325. pi->ofdm5gpo =
  14326. (u32) wlapi_getintvar(shim,
  14327. BRCMS_SROM_OFDM5GPO);
  14328. pi->mcs5gpo[0] =
  14329. (u16) wlapi_getintvar(shim,
  14330. BRCMS_SROM_MCS5GPO0);
  14331. pi->mcs5gpo[1] =
  14332. (u16) wlapi_getintvar(shim,
  14333. BRCMS_SROM_MCS5GPO1);
  14334. pi->mcs5gpo[2] =
  14335. (u16) wlapi_getintvar(shim,
  14336. BRCMS_SROM_MCS5GPO2);
  14337. pi->mcs5gpo[3] =
  14338. (u16) wlapi_getintvar(shim,
  14339. BRCMS_SROM_MCS5GPO3);
  14340. pi->mcs5gpo[4] =
  14341. (u16) wlapi_getintvar(shim,
  14342. BRCMS_SROM_MCS5GPO4);
  14343. pi->mcs5gpo[5] =
  14344. (u16) wlapi_getintvar(shim,
  14345. BRCMS_SROM_MCS5GPO5);
  14346. pi->mcs5gpo[6] =
  14347. (u16) wlapi_getintvar(shim,
  14348. BRCMS_SROM_MCS5GPO6);
  14349. pi->mcs5gpo[7] =
  14350. (u16) wlapi_getintvar(shim,
  14351. BRCMS_SROM_MCS5GPO7);
  14352. break;
  14353. case 2:
  14354. pi->nphy_pwrctrl_info[0].max_pwr_5gl =
  14355. (s8) wlapi_getintvar(shim,
  14356. BRCMS_SROM_MAXP5GLA0);
  14357. pi->nphy_pwrctrl_info[1].max_pwr_5gl =
  14358. (s8) wlapi_getintvar(shim,
  14359. BRCMS_SROM_MAXP5GLA1);
  14360. pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1 =
  14361. (s16) wlapi_getintvar(shim,
  14362. BRCMS_SROM_PA5GLW0A0);
  14363. pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1 =
  14364. (s16) wlapi_getintvar(shim,
  14365. BRCMS_SROM_PA5GLW0A1);
  14366. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0 =
  14367. (s16) wlapi_getintvar(shim,
  14368. BRCMS_SROM_PA5GLW1A0);
  14369. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0 =
  14370. (s16) wlapi_getintvar(shim,
  14371. BRCMS_SROM_PA5GLW1A1);
  14372. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1 =
  14373. (s16) wlapi_getintvar(shim,
  14374. BRCMS_SROM_PA5GLW2A0);
  14375. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1 =
  14376. (s16) wlapi_getintvar(shim,
  14377. BRCMS_SROM_PA5GLW2A1);
  14378. pi->nphy_pwrctrl_info[0].idle_targ_5gl = 0;
  14379. pi->nphy_pwrctrl_info[1].idle_targ_5gl = 0;
  14380. pi->ofdm5glpo =
  14381. (u32) wlapi_getintvar(shim,
  14382. BRCMS_SROM_OFDM5GLPO);
  14383. pi->mcs5glpo[0] =
  14384. (u16) wlapi_getintvar(shim,
  14385. BRCMS_SROM_MCS5GLPO0);
  14386. pi->mcs5glpo[1] =
  14387. (u16) wlapi_getintvar(shim,
  14388. BRCMS_SROM_MCS5GLPO1);
  14389. pi->mcs5glpo[2] =
  14390. (u16) wlapi_getintvar(shim,
  14391. BRCMS_SROM_MCS5GLPO2);
  14392. pi->mcs5glpo[3] =
  14393. (u16) wlapi_getintvar(shim,
  14394. BRCMS_SROM_MCS5GLPO3);
  14395. pi->mcs5glpo[4] =
  14396. (u16) wlapi_getintvar(shim,
  14397. BRCMS_SROM_MCS5GLPO4);
  14398. pi->mcs5glpo[5] =
  14399. (u16) wlapi_getintvar(shim,
  14400. BRCMS_SROM_MCS5GLPO5);
  14401. pi->mcs5glpo[6] =
  14402. (u16) wlapi_getintvar(shim,
  14403. BRCMS_SROM_MCS5GLPO6);
  14404. pi->mcs5glpo[7] =
  14405. (u16) wlapi_getintvar(shim,
  14406. BRCMS_SROM_MCS5GLPO7);
  14407. break;
  14408. case 3:
  14409. pi->nphy_pwrctrl_info[0].max_pwr_5gh =
  14410. (s8) wlapi_getintvar(shim,
  14411. BRCMS_SROM_MAXP5GHA0);
  14412. pi->nphy_pwrctrl_info[1].max_pwr_5gh =
  14413. (s8) wlapi_getintvar(shim,
  14414. BRCMS_SROM_MAXP5GHA1);
  14415. pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1 =
  14416. (s16) wlapi_getintvar(shim,
  14417. BRCMS_SROM_PA5GHW0A0);
  14418. pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1 =
  14419. (s16) wlapi_getintvar(shim,
  14420. BRCMS_SROM_PA5GHW0A1);
  14421. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0 =
  14422. (s16) wlapi_getintvar(shim,
  14423. BRCMS_SROM_PA5GHW1A0);
  14424. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0 =
  14425. (s16) wlapi_getintvar(shim,
  14426. BRCMS_SROM_PA5GHW1A1);
  14427. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1 =
  14428. (s16) wlapi_getintvar(shim,
  14429. BRCMS_SROM_PA5GHW2A0);
  14430. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1 =
  14431. (s16) wlapi_getintvar(shim,
  14432. BRCMS_SROM_PA5GHW2A1);
  14433. pi->nphy_pwrctrl_info[0].idle_targ_5gh = 0;
  14434. pi->nphy_pwrctrl_info[1].idle_targ_5gh = 0;
  14435. pi->ofdm5ghpo =
  14436. (u32) wlapi_getintvar(shim,
  14437. BRCMS_SROM_OFDM5GHPO);
  14438. pi->mcs5ghpo[0] =
  14439. (u16) wlapi_getintvar(shim,
  14440. BRCMS_SROM_MCS5GHPO0);
  14441. pi->mcs5ghpo[1] =
  14442. (u16) wlapi_getintvar(shim,
  14443. BRCMS_SROM_MCS5GHPO1);
  14444. pi->mcs5ghpo[2] =
  14445. (u16) wlapi_getintvar(shim,
  14446. BRCMS_SROM_MCS5GHPO2);
  14447. pi->mcs5ghpo[3] =
  14448. (u16) wlapi_getintvar(shim,
  14449. BRCMS_SROM_MCS5GHPO3);
  14450. pi->mcs5ghpo[4] =
  14451. (u16) wlapi_getintvar(shim,
  14452. BRCMS_SROM_MCS5GHPO4);
  14453. pi->mcs5ghpo[5] =
  14454. (u16) wlapi_getintvar(shim,
  14455. BRCMS_SROM_MCS5GHPO5);
  14456. pi->mcs5ghpo[6] =
  14457. (u16) wlapi_getintvar(shim,
  14458. BRCMS_SROM_MCS5GHPO6);
  14459. pi->mcs5ghpo[7] =
  14460. (u16) wlapi_getintvar(shim,
  14461. BRCMS_SROM_MCS5GHPO7);
  14462. break;
  14463. }
  14464. }
  14465. wlc_phy_txpwr_apply_nphy(pi);
  14466. }
  14467. static bool wlc_phy_txpwr_srom_read_nphy(struct brcms_phy *pi)
  14468. {
  14469. struct phy_shim_info *shim = pi->sh->physhim;
  14470. pi->antswitch = (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWITCH);
  14471. pi->aa2g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA2G);
  14472. pi->aa5g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA5G);
  14473. pi->srom_fem2g.tssipos = (u8) wlapi_getintvar(shim,
  14474. BRCMS_SROM_TSSIPOS2G);
  14475. pi->srom_fem2g.extpagain = (u8) wlapi_getintvar(shim,
  14476. BRCMS_SROM_EXTPAGAIN2G);
  14477. pi->srom_fem2g.pdetrange = (u8) wlapi_getintvar(shim,
  14478. BRCMS_SROM_PDETRANGE2G);
  14479. pi->srom_fem2g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO2G);
  14480. pi->srom_fem2g.antswctrllut =
  14481. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14482. pi->srom_fem5g.tssipos = (u8) wlapi_getintvar(shim,
  14483. BRCMS_SROM_TSSIPOS5G);
  14484. pi->srom_fem5g.extpagain = (u8) wlapi_getintvar(shim,
  14485. BRCMS_SROM_EXTPAGAIN5G);
  14486. pi->srom_fem5g.pdetrange = (u8) wlapi_getintvar(shim,
  14487. BRCMS_SROM_PDETRANGE5G);
  14488. pi->srom_fem5g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO5G);
  14489. if (wlapi_getvar(shim, BRCMS_SROM_ANTSWCTL5G))
  14490. pi->srom_fem5g.antswctrllut =
  14491. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL5G);
  14492. else
  14493. pi->srom_fem5g.antswctrllut =
  14494. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14495. wlc_phy_txpower_ipa_upd(pi);
  14496. pi->phy_txcore_disable_temp =
  14497. (s16) wlapi_getintvar(shim, BRCMS_SROM_TEMPTHRESH);
  14498. if (pi->phy_txcore_disable_temp == 0)
  14499. pi->phy_txcore_disable_temp = PHY_CHAIN_TX_DISABLE_TEMP;
  14500. pi->phy_tempsense_offset = (s8) wlapi_getintvar(shim,
  14501. BRCMS_SROM_TEMPOFFSET);
  14502. if (pi->phy_tempsense_offset != 0) {
  14503. if (pi->phy_tempsense_offset >
  14504. (NPHY_SROM_TEMPSHIFT + NPHY_SROM_MAXTEMPOFFSET))
  14505. pi->phy_tempsense_offset = NPHY_SROM_MAXTEMPOFFSET;
  14506. else if (pi->phy_tempsense_offset < (NPHY_SROM_TEMPSHIFT +
  14507. NPHY_SROM_MINTEMPOFFSET))
  14508. pi->phy_tempsense_offset = NPHY_SROM_MINTEMPOFFSET;
  14509. else
  14510. pi->phy_tempsense_offset -= NPHY_SROM_TEMPSHIFT;
  14511. }
  14512. pi->phy_txcore_enable_temp =
  14513. pi->phy_txcore_disable_temp - PHY_HYSTERESIS_DELTATEMP;
  14514. pi->phycal_tempdelta =
  14515. (u8) wlapi_getintvar(shim, BRCMS_SROM_PHYCAL_TEMPDELTA);
  14516. if (pi->phycal_tempdelta > NPHY_CAL_MAXTEMPDELTA)
  14517. pi->phycal_tempdelta = 0;
  14518. wlc_phy_txpwr_srom_read_ppr_nphy(pi);
  14519. return true;
  14520. }
  14521. bool wlc_phy_attach_nphy(struct brcms_phy *pi)
  14522. {
  14523. uint i;
  14524. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 6))
  14525. pi->phyhang_avoid = true;
  14526. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14527. pi->nphy_gband_spurwar_en = true;
  14528. if (pi->sh->boardflags2 & BFL2_SPUR_WAR)
  14529. pi->nphy_aband_spurwar_en = true;
  14530. }
  14531. if (NREV_GE(pi->pubpi.phy_rev, 6) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14532. if (pi->sh->boardflags2 & BFL2_2G_SPUR_WAR)
  14533. pi->nphy_gband_spurwar2_en = true;
  14534. }
  14535. pi->n_preamble_override = AUTO;
  14536. if (NREV_IS(pi->pubpi.phy_rev, 3) || NREV_IS(pi->pubpi.phy_rev, 4))
  14537. pi->n_preamble_override = BRCMS_N_PREAMBLE_MIXEDMODE;
  14538. pi->nphy_txrx_chain = AUTO;
  14539. pi->phy_scraminit = AUTO;
  14540. pi->nphy_rxcalparams = 0x010100B5;
  14541. pi->nphy_perical = PHY_PERICAL_MPHASE;
  14542. pi->mphase_cal_phase_id = MPHASE_CAL_STATE_IDLE;
  14543. pi->mphase_txcal_numcmds = MPHASE_TXCAL_NUMCMDS;
  14544. pi->nphy_gain_boost = true;
  14545. pi->nphy_elna_gain_config = false;
  14546. pi->radio_is_on = false;
  14547. for (i = 0; i < pi->pubpi.phy_corenum; i++)
  14548. pi->nphy_txpwrindex[i].index = AUTO;
  14549. wlc_phy_txpwrctrl_config_nphy(pi);
  14550. if (pi->nphy_txpwrctrl == PHY_TPC_HW_ON)
  14551. pi->hwpwrctrl_capable = true;
  14552. pi->pi_fptr.init = wlc_phy_init_nphy;
  14553. pi->pi_fptr.calinit = wlc_phy_cal_init_nphy;
  14554. pi->pi_fptr.chanset = wlc_phy_chanspec_set_nphy;
  14555. pi->pi_fptr.txpwrrecalc = wlc_phy_txpower_recalc_target_nphy;
  14556. if (!wlc_phy_txpwr_srom_read_nphy(pi))
  14557. return false;
  14558. return true;
  14559. }
  14560. static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn)
  14561. {
  14562. s32 rfpwr_offset = 0;
  14563. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  14564. if ((pi->pubpi.radiorev == 3) ||
  14565. (pi->pubpi.radiorev == 4) ||
  14566. (pi->pubpi.radiorev == 6))
  14567. rfpwr_offset = (s16)
  14568. nphy_papd_padgain_dlt_2g_2057rev3n4
  14569. [pad_gn];
  14570. else if (pi->pubpi.radiorev == 5)
  14571. rfpwr_offset = (s16)
  14572. nphy_papd_padgain_dlt_2g_2057rev5
  14573. [pad_gn];
  14574. else if ((pi->pubpi.radiorev == 7)
  14575. || (pi->pubpi.radiorev ==
  14576. 8))
  14577. rfpwr_offset = (s16)
  14578. nphy_papd_padgain_dlt_2g_2057rev7
  14579. [pad_gn];
  14580. } else {
  14581. if ((pi->pubpi.radiorev == 3) ||
  14582. (pi->pubpi.radiorev == 4) ||
  14583. (pi->pubpi.radiorev == 6))
  14584. rfpwr_offset = (s16)
  14585. nphy_papd_pgagain_dlt_5g_2057
  14586. [pga_gn];
  14587. else if ((pi->pubpi.radiorev == 7)
  14588. || (pi->pubpi.radiorev ==
  14589. 8))
  14590. rfpwr_offset = (s16)
  14591. nphy_papd_pgagain_dlt_5g_2057rev7
  14592. [pga_gn];
  14593. }
  14594. return rfpwr_offset;
  14595. }
  14596. static void wlc_phy_update_mimoconfig_nphy(struct brcms_phy *pi, s32 preamble)
  14597. {
  14598. bool gf_preamble = false;
  14599. u16 val;
  14600. if (preamble == BRCMS_N_PREAMBLE_GF)
  14601. gf_preamble = true;
  14602. val = read_phy_reg(pi, 0xed);
  14603. val |= RX_GF_MM_AUTO;
  14604. val &= ~RX_GF_OR_MM;
  14605. if (gf_preamble)
  14606. val |= RX_GF_OR_MM;
  14607. write_phy_reg(pi, 0xed, val);
  14608. }
  14609. static void wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  14610. {
  14611. int j, type;
  14612. u16 addr_offset[] = { 0x186, 0x195, 0x2c5};
  14613. for (type = 0; type < 3; type++) {
  14614. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14615. write_phy_reg(pi, addr_offset[type] + j,
  14616. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  14617. }
  14618. if (pi->bw == WL_CHANSPEC_BW_40) {
  14619. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14620. write_phy_reg(pi, 0x186 + j,
  14621. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14622. } else {
  14623. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  14624. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14625. write_phy_reg(pi, 0x186 + j,
  14626. NPHY_IPA_REV4_txdigi_filtcoeffs[5][j]);
  14627. }
  14628. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  14629. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14630. write_phy_reg(pi, 0x2c5 + j,
  14631. NPHY_IPA_REV4_txdigi_filtcoeffs[6][j]);
  14632. }
  14633. }
  14634. }
  14635. static void wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy *pi)
  14636. {
  14637. int j;
  14638. if (pi->bw == WL_CHANSPEC_BW_40) {
  14639. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14640. write_phy_reg(pi, 0x195 + j,
  14641. NPHY_IPA_REV4_txdigi_filtcoeffs[4][j]);
  14642. } else {
  14643. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14644. write_phy_reg(pi, 0x186 + j,
  14645. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14646. }
  14647. }
  14648. static void
  14649. wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, u8 *events, u8 *dlys,
  14650. u8 len)
  14651. {
  14652. u32 t1_offset, t2_offset;
  14653. u8 ctr;
  14654. u8 end_event =
  14655. NREV_GE(pi->pubpi.phy_rev,
  14656. 3) ? NPHY_REV3_RFSEQ_CMD_END : NPHY_RFSEQ_CMD_END;
  14657. u8 end_dly = 1;
  14658. if (pi->phyhang_avoid)
  14659. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14660. t1_offset = cmd << 4;
  14661. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t1_offset, 8,
  14662. events);
  14663. t2_offset = t1_offset + 0x080;
  14664. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t2_offset, 8,
  14665. dlys);
  14666. for (ctr = len; ctr < 16; ctr++) {
  14667. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14668. t1_offset + ctr, 8, &end_event);
  14669. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14670. t2_offset + ctr, 8, &end_dly);
  14671. }
  14672. if (pi->phyhang_avoid)
  14673. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  14674. }
  14675. static u16 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy *pi, u16 offset)
  14676. {
  14677. u16 lpf_bw_ctl_val = 0;
  14678. u16 rx2tx_lpf_rc_lut_offset = 0;
  14679. if (offset == 0) {
  14680. if (CHSPEC_IS40(pi->radio_chanspec))
  14681. rx2tx_lpf_rc_lut_offset = 0x159;
  14682. else
  14683. rx2tx_lpf_rc_lut_offset = 0x154;
  14684. } else {
  14685. rx2tx_lpf_rc_lut_offset = offset;
  14686. }
  14687. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14688. (u32) rx2tx_lpf_rc_lut_offset, 16,
  14689. &lpf_bw_ctl_val);
  14690. lpf_bw_ctl_val = lpf_bw_ctl_val & 0x7;
  14691. return lpf_bw_ctl_val;
  14692. }
  14693. static void
  14694. wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value,
  14695. u8 core_mask, u8 off, u8 override_id)
  14696. {
  14697. u8 core_num;
  14698. u16 addr = 0, en_addr = 0, val_addr = 0, en_mask = 0, val_mask = 0;
  14699. u8 val_shift = 0;
  14700. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14701. en_mask = field;
  14702. for (core_num = 0; core_num < 2; core_num++) {
  14703. if (override_id == NPHY_REV7_RFCTRLOVERRIDE_ID0) {
  14704. switch (field) {
  14705. case (0x1 << 2):
  14706. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14707. val_addr = (core_num == 0) ? 0x7a :
  14708. 0x7d;
  14709. val_mask = (0x1 << 1);
  14710. val_shift = 1;
  14711. break;
  14712. case (0x1 << 3):
  14713. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14714. val_addr = (core_num == 0) ? 0x7a :
  14715. 0x7d;
  14716. val_mask = (0x1 << 2);
  14717. val_shift = 2;
  14718. break;
  14719. case (0x1 << 4):
  14720. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14721. val_addr = (core_num == 0) ? 0x7a :
  14722. 0x7d;
  14723. val_mask = (0x1 << 4);
  14724. val_shift = 4;
  14725. break;
  14726. case (0x1 << 5):
  14727. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14728. val_addr = (core_num == 0) ? 0x7a :
  14729. 0x7d;
  14730. val_mask = (0x1 << 5);
  14731. val_shift = 5;
  14732. break;
  14733. case (0x1 << 6):
  14734. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14735. val_addr = (core_num == 0) ? 0x7a :
  14736. 0x7d;
  14737. val_mask = (0x1 << 6);
  14738. val_shift = 6;
  14739. break;
  14740. case (0x1 << 7):
  14741. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14742. val_addr = (core_num == 0) ? 0x7a :
  14743. 0x7d;
  14744. val_mask = (0x1 << 7);
  14745. val_shift = 7;
  14746. break;
  14747. case (0x1 << 10):
  14748. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14749. val_addr = (core_num == 0) ? 0xf8 :
  14750. 0xfa;
  14751. val_mask = (0x7 << 4);
  14752. val_shift = 4;
  14753. break;
  14754. case (0x1 << 11):
  14755. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14756. val_addr = (core_num == 0) ? 0x7b :
  14757. 0x7e;
  14758. val_mask = (0xffff << 0);
  14759. val_shift = 0;
  14760. break;
  14761. case (0x1 << 12):
  14762. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14763. val_addr = (core_num == 0) ? 0x7c :
  14764. 0x7f;
  14765. val_mask = (0xffff << 0);
  14766. val_shift = 0;
  14767. break;
  14768. case (0x3 << 13):
  14769. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14770. val_addr = (core_num == 0) ? 0x348 :
  14771. 0x349;
  14772. val_mask = (0xff << 0);
  14773. val_shift = 0;
  14774. break;
  14775. case (0x1 << 13):
  14776. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14777. val_addr = (core_num == 0) ? 0x348 :
  14778. 0x349;
  14779. val_mask = (0xf << 0);
  14780. val_shift = 0;
  14781. break;
  14782. default:
  14783. addr = 0xffff;
  14784. break;
  14785. }
  14786. } else if (override_id ==
  14787. NPHY_REV7_RFCTRLOVERRIDE_ID1) {
  14788. switch (field) {
  14789. case (0x1 << 1):
  14790. en_addr = (core_num == 0) ? 0x342 :
  14791. 0x343;
  14792. val_addr = (core_num == 0) ? 0x340 :
  14793. 0x341;
  14794. val_mask = (0x1 << 1);
  14795. val_shift = 1;
  14796. break;
  14797. case (0x1 << 3):
  14798. en_addr = (core_num == 0) ? 0x342 :
  14799. 0x343;
  14800. val_addr = (core_num == 0) ? 0x340 :
  14801. 0x341;
  14802. val_mask = (0x1 << 3);
  14803. val_shift = 3;
  14804. break;
  14805. case (0x1 << 5):
  14806. en_addr = (core_num == 0) ? 0x342 :
  14807. 0x343;
  14808. val_addr = (core_num == 0) ? 0x340 :
  14809. 0x341;
  14810. val_mask = (0x1 << 5);
  14811. val_shift = 5;
  14812. break;
  14813. case (0x1 << 4):
  14814. en_addr = (core_num == 0) ? 0x342 :
  14815. 0x343;
  14816. val_addr = (core_num == 0) ? 0x340 :
  14817. 0x341;
  14818. val_mask = (0x1 << 4);
  14819. val_shift = 4;
  14820. break;
  14821. case (0x1 << 2):
  14822. en_addr = (core_num == 0) ? 0x342 :
  14823. 0x343;
  14824. val_addr = (core_num == 0) ? 0x340 :
  14825. 0x341;
  14826. val_mask = (0x1 << 2);
  14827. val_shift = 2;
  14828. break;
  14829. case (0x1 << 7):
  14830. en_addr = (core_num == 0) ? 0x342 :
  14831. 0x343;
  14832. val_addr = (core_num == 0) ? 0x340 :
  14833. 0x341;
  14834. val_mask = (0x7 << 8);
  14835. val_shift = 8;
  14836. break;
  14837. case (0x1 << 11):
  14838. en_addr = (core_num == 0) ? 0x342 :
  14839. 0x343;
  14840. val_addr = (core_num == 0) ? 0x340 :
  14841. 0x341;
  14842. val_mask = (0x1 << 14);
  14843. val_shift = 14;
  14844. break;
  14845. case (0x1 << 10):
  14846. en_addr = (core_num == 0) ? 0x342 :
  14847. 0x343;
  14848. val_addr = (core_num == 0) ? 0x340 :
  14849. 0x341;
  14850. val_mask = (0x1 << 13);
  14851. val_shift = 13;
  14852. break;
  14853. case (0x1 << 9):
  14854. en_addr = (core_num == 0) ? 0x342 :
  14855. 0x343;
  14856. val_addr = (core_num == 0) ? 0x340 :
  14857. 0x341;
  14858. val_mask = (0x1 << 12);
  14859. val_shift = 12;
  14860. break;
  14861. case (0x1 << 8):
  14862. en_addr = (core_num == 0) ? 0x342 :
  14863. 0x343;
  14864. val_addr = (core_num == 0) ? 0x340 :
  14865. 0x341;
  14866. val_mask = (0x1 << 11);
  14867. val_shift = 11;
  14868. break;
  14869. case (0x1 << 6):
  14870. en_addr = (core_num == 0) ? 0x342 :
  14871. 0x343;
  14872. val_addr = (core_num == 0) ? 0x340 :
  14873. 0x341;
  14874. val_mask = (0x1 << 6);
  14875. val_shift = 6;
  14876. break;
  14877. case (0x1 << 0):
  14878. en_addr = (core_num == 0) ? 0x342 :
  14879. 0x343;
  14880. val_addr = (core_num == 0) ? 0x340 :
  14881. 0x341;
  14882. val_mask = (0x1 << 0);
  14883. val_shift = 0;
  14884. break;
  14885. default:
  14886. addr = 0xffff;
  14887. break;
  14888. }
  14889. } else if (override_id ==
  14890. NPHY_REV7_RFCTRLOVERRIDE_ID2) {
  14891. switch (field) {
  14892. case (0x1 << 3):
  14893. en_addr = (core_num == 0) ? 0x346 :
  14894. 0x347;
  14895. val_addr = (core_num == 0) ? 0x344 :
  14896. 0x345;
  14897. val_mask = (0x1 << 3);
  14898. val_shift = 3;
  14899. break;
  14900. case (0x1 << 1):
  14901. en_addr = (core_num == 0) ? 0x346 :
  14902. 0x347;
  14903. val_addr = (core_num == 0) ? 0x344 :
  14904. 0x345;
  14905. val_mask = (0x1 << 1);
  14906. val_shift = 1;
  14907. break;
  14908. case (0x1 << 0):
  14909. en_addr = (core_num == 0) ? 0x346 :
  14910. 0x347;
  14911. val_addr = (core_num == 0) ? 0x344 :
  14912. 0x345;
  14913. val_mask = (0x1 << 0);
  14914. val_shift = 0;
  14915. break;
  14916. case (0x1 << 2):
  14917. en_addr = (core_num == 0) ? 0x346 :
  14918. 0x347;
  14919. val_addr = (core_num == 0) ? 0x344 :
  14920. 0x345;
  14921. val_mask = (0x1 << 2);
  14922. val_shift = 2;
  14923. break;
  14924. case (0x1 << 4):
  14925. en_addr = (core_num == 0) ? 0x346 :
  14926. 0x347;
  14927. val_addr = (core_num == 0) ? 0x344 :
  14928. 0x345;
  14929. val_mask = (0x1 << 4);
  14930. val_shift = 4;
  14931. break;
  14932. default:
  14933. addr = 0xffff;
  14934. break;
  14935. }
  14936. }
  14937. if (off) {
  14938. and_phy_reg(pi, en_addr, ~en_mask);
  14939. and_phy_reg(pi, val_addr, ~val_mask);
  14940. } else {
  14941. if ((core_mask == 0)
  14942. || (core_mask & (1 << core_num))) {
  14943. or_phy_reg(pi, en_addr, en_mask);
  14944. if (addr != 0xffff)
  14945. mod_phy_reg(pi, val_addr,
  14946. val_mask,
  14947. (value <<
  14948. val_shift));
  14949. }
  14950. }
  14951. }
  14952. }
  14953. }
  14954. static void wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy *pi)
  14955. {
  14956. uint core;
  14957. int ctr;
  14958. s16 gain_delta[2];
  14959. u8 curr_channel;
  14960. u16 minmax_gain[2];
  14961. u16 regval[4];
  14962. if (pi->phyhang_avoid)
  14963. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14964. if (pi->nphy_gain_boost) {
  14965. if ((CHSPEC_IS2G(pi->radio_chanspec))) {
  14966. gain_delta[0] = 6;
  14967. gain_delta[1] = 6;
  14968. } else {
  14969. curr_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  14970. gain_delta[0] =
  14971. (s16)
  14972. PHY_HW_ROUND(((nphy_lnagain_est0[0] *
  14973. curr_channel) +
  14974. nphy_lnagain_est0[1]), 13);
  14975. gain_delta[1] =
  14976. (s16)
  14977. PHY_HW_ROUND(((nphy_lnagain_est1[0] *
  14978. curr_channel) +
  14979. nphy_lnagain_est1[1]), 13);
  14980. }
  14981. } else {
  14982. gain_delta[0] = 0;
  14983. gain_delta[1] = 0;
  14984. }
  14985. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  14986. if (pi->nphy_elna_gain_config) {
  14987. regval[0] = nphy_def_lnagains[2] + gain_delta[core];
  14988. regval[1] = nphy_def_lnagains[3] + gain_delta[core];
  14989. regval[2] = nphy_def_lnagains[3] + gain_delta[core];
  14990. regval[3] = nphy_def_lnagains[3] + gain_delta[core];
  14991. } else {
  14992. for (ctr = 0; ctr < 4; ctr++)
  14993. regval[ctr] =
  14994. nphy_def_lnagains[ctr] +
  14995. gain_delta[core];
  14996. }
  14997. wlc_phy_table_write_nphy(pi, core, 4, 8, 16, regval);
  14998. minmax_gain[core] =
  14999. (u16) (nphy_def_lnagains[2] + gain_delta[core] + 4);
  15000. }
  15001. mod_phy_reg(pi, 0x1e, (0xff << 0), (minmax_gain[0] << 0));
  15002. mod_phy_reg(pi, 0x34, (0xff << 0), (minmax_gain[1] << 0));
  15003. if (pi->phyhang_avoid)
  15004. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  15005. }
  15006. static void
  15007. wlc_phy_war_force_trsw_to_R_cliplo_nphy(struct brcms_phy *pi, u8 core)
  15008. {
  15009. if (core == PHY_CORE_0) {
  15010. write_phy_reg(pi, 0x38, 0x4);
  15011. if (CHSPEC_IS2G(pi->radio_chanspec))
  15012. write_phy_reg(pi, 0x37, 0x0060);
  15013. else
  15014. write_phy_reg(pi, 0x37, 0x1080);
  15015. } else if (core == PHY_CORE_1) {
  15016. write_phy_reg(pi, 0x2ae, 0x4);
  15017. if (CHSPEC_IS2G(pi->radio_chanspec))
  15018. write_phy_reg(pi, 0x2ad, 0x0060);
  15019. else
  15020. write_phy_reg(pi, 0x2ad, 0x1080);
  15021. }
  15022. }
  15023. static void wlc_phy_war_txchain_upd_nphy(struct brcms_phy *pi, u8 txchain)
  15024. {
  15025. u8 txchain0, txchain1;
  15026. txchain0 = txchain & 0x1;
  15027. txchain1 = (txchain & 0x2) >> 1;
  15028. if (!txchain0)
  15029. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  15030. if (!txchain1)
  15031. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  15032. }
  15033. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy *pi)
  15034. {
  15035. s8 lna1_gain_db[] = { 8, 13, 17, 22 };
  15036. s8 lna2_gain_db[] = { -2, 7, 11, 15 };
  15037. s8 tia_gain_db[] = { -4, -1, 2, 5, 5, 5, 5, 5, 5, 5 };
  15038. s8 tia_gainbits[] = {
  15039. 0x0, 0x01, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15040. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15041. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15042. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15043. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3c << 0));
  15044. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3c << 0));
  15045. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x8, 8,
  15046. lna1_gain_db);
  15047. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x8, 8,
  15048. lna1_gain_db);
  15049. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10, 8,
  15050. lna2_gain_db);
  15051. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10, 8,
  15052. lna2_gain_db);
  15053. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15054. tia_gain_db);
  15055. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15056. tia_gain_db);
  15057. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15058. tia_gainbits);
  15059. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15060. tia_gainbits);
  15061. write_phy_reg(pi, 0x37, 0x74);
  15062. write_phy_reg(pi, 0x2ad, 0x74);
  15063. write_phy_reg(pi, 0x38, 0x18);
  15064. write_phy_reg(pi, 0x2ae, 0x18);
  15065. write_phy_reg(pi, 0x2b, 0xe8);
  15066. write_phy_reg(pi, 0x41, 0xe8);
  15067. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15068. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x12 << 0));
  15069. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x12 << 0));
  15070. } else {
  15071. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x10 << 0));
  15072. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x10 << 0));
  15073. }
  15074. }
  15075. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy *pi)
  15076. {
  15077. u16 currband;
  15078. s8 lna1G_gain_db_rev7[] = { 9, 14, 19, 24 };
  15079. s8 *lna1_gain_db = NULL;
  15080. s8 *lna1_gain_db_2 = NULL;
  15081. s8 *lna2_gain_db = NULL;
  15082. s8 tiaA_gain_db_rev7[] = { -9, -6, -3, 0, 3, 3, 3, 3, 3, 3 };
  15083. s8 *tia_gain_db;
  15084. s8 tiaA_gainbits_rev7[] = { 0, 1, 2, 3, 4, 4, 4, 4, 4, 4 };
  15085. s8 *tia_gainbits;
  15086. u16 rfseqA_init_gain_rev7[] = { 0x624f, 0x624f };
  15087. u16 *rfseq_init_gain;
  15088. u16 init_gaincode;
  15089. u16 clip1hi_gaincode;
  15090. u16 clip1md_gaincode = 0;
  15091. u16 clip1md_gaincode_B;
  15092. u16 clip1lo_gaincode;
  15093. u16 clip1lo_gaincode_B;
  15094. u8 crsminl_th = 0;
  15095. u8 crsminu_th;
  15096. u16 nbclip_th = 0;
  15097. u8 w1clip_th;
  15098. u16 freq;
  15099. s8 nvar_baseline_offset0 = 0, nvar_baseline_offset1 = 0;
  15100. u8 chg_nbclip_th = 0;
  15101. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15102. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15103. currband = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15104. if (currband == 0) {
  15105. lna1_gain_db = lna1G_gain_db_rev7;
  15106. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15107. lna1_gain_db);
  15108. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15109. lna1_gain_db);
  15110. mod_phy_reg(pi, 0x283, (0xff << 0), (0x40 << 0));
  15111. if (CHSPEC_IS40(pi->radio_chanspec)) {
  15112. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3e << 0));
  15113. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3e << 0));
  15114. }
  15115. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15116. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15117. mod_phy_reg(pi, 0x300, (0x3f << 0), (13 << 0));
  15118. mod_phy_reg(pi, 0x301, (0x3f << 0), (13 << 0));
  15119. }
  15120. } else {
  15121. init_gaincode = 0x9e;
  15122. clip1hi_gaincode = 0x9e;
  15123. clip1md_gaincode_B = 0x24;
  15124. clip1lo_gaincode = 0x8a;
  15125. clip1lo_gaincode_B = 8;
  15126. rfseq_init_gain = rfseqA_init_gain_rev7;
  15127. tia_gain_db = tiaA_gain_db_rev7;
  15128. tia_gainbits = tiaA_gainbits_rev7;
  15129. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  15130. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15131. w1clip_th = 25;
  15132. clip1md_gaincode = 0x82;
  15133. if ((freq <= 5080) || (freq == 5825)) {
  15134. s8 lna1A_gain_db_rev7[] = { 11, 16, 20, 24 };
  15135. s8 lna1A_gain_db_2_rev7[] = {
  15136. 11, 17, 22, 25};
  15137. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15138. crsminu_th = 0x3e;
  15139. lna1_gain_db = lna1A_gain_db_rev7;
  15140. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15141. lna2_gain_db = lna2A_gain_db_rev7;
  15142. } else if ((freq >= 5500) && (freq <= 5700)) {
  15143. s8 lna1A_gain_db_rev7[] = { 11, 17, 21, 25 };
  15144. s8 lna1A_gain_db_2_rev7[] = {
  15145. 12, 18, 22, 26};
  15146. s8 lna2A_gain_db_rev7[] = { 1, 8, 12, 16 };
  15147. crsminu_th = 0x45;
  15148. clip1md_gaincode_B = 0x14;
  15149. nbclip_th = 0xff;
  15150. chg_nbclip_th = 1;
  15151. lna1_gain_db = lna1A_gain_db_rev7;
  15152. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15153. lna2_gain_db = lna2A_gain_db_rev7;
  15154. } else {
  15155. s8 lna1A_gain_db_rev7[] = { 12, 18, 22, 26 };
  15156. s8 lna1A_gain_db_2_rev7[] = {
  15157. 12, 18, 22, 26};
  15158. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15159. crsminu_th = 0x41;
  15160. lna1_gain_db = lna1A_gain_db_rev7;
  15161. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15162. lna2_gain_db = lna2A_gain_db_rev7;
  15163. }
  15164. if (freq <= 4920) {
  15165. nvar_baseline_offset0 = 5;
  15166. nvar_baseline_offset1 = 5;
  15167. } else if ((freq > 4920) && (freq <= 5320)) {
  15168. nvar_baseline_offset0 = 3;
  15169. nvar_baseline_offset1 = 5;
  15170. } else if ((freq > 5320) && (freq <= 5700)) {
  15171. nvar_baseline_offset0 = 3;
  15172. nvar_baseline_offset1 = 2;
  15173. } else {
  15174. nvar_baseline_offset0 = 4;
  15175. nvar_baseline_offset1 = 0;
  15176. }
  15177. } else {
  15178. crsminu_th = 0x3a;
  15179. crsminl_th = 0x3a;
  15180. w1clip_th = 20;
  15181. if ((freq >= 4920) && (freq <= 5320)) {
  15182. nvar_baseline_offset0 = 4;
  15183. nvar_baseline_offset1 = 5;
  15184. } else if ((freq > 5320) && (freq <= 5550)) {
  15185. nvar_baseline_offset0 = 4;
  15186. nvar_baseline_offset1 = 2;
  15187. } else {
  15188. nvar_baseline_offset0 = 5;
  15189. nvar_baseline_offset1 = 3;
  15190. }
  15191. }
  15192. write_phy_reg(pi, 0x20, init_gaincode);
  15193. write_phy_reg(pi, 0x2a7, init_gaincode);
  15194. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15195. pi->pubpi.phy_corenum, 0x106, 16,
  15196. rfseq_init_gain);
  15197. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15198. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15199. write_phy_reg(pi, 0x36, clip1md_gaincode_B);
  15200. write_phy_reg(pi, 0x2ac, clip1md_gaincode_B);
  15201. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15202. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15203. write_phy_reg(pi, 0x38, clip1lo_gaincode_B);
  15204. write_phy_reg(pi, 0x2ae, clip1lo_gaincode_B);
  15205. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15206. tia_gain_db);
  15207. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15208. tia_gain_db);
  15209. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15210. tia_gainbits);
  15211. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15212. tia_gainbits);
  15213. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15214. if (chg_nbclip_th == 1) {
  15215. write_phy_reg(pi, 0x2b, nbclip_th);
  15216. write_phy_reg(pi, 0x41, nbclip_th);
  15217. }
  15218. mod_phy_reg(pi, 0x300, (0x3f << 0), (w1clip_th << 0));
  15219. mod_phy_reg(pi, 0x301, (0x3f << 0), (w1clip_th << 0));
  15220. mod_phy_reg(pi, 0x2e4,
  15221. (0x3f << 0), (nvar_baseline_offset0 << 0));
  15222. mod_phy_reg(pi, 0x2e4,
  15223. (0x3f << 6), (nvar_baseline_offset1 << 6));
  15224. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15225. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15226. lna1_gain_db);
  15227. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15228. lna1_gain_db_2);
  15229. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15230. 8, lna2_gain_db);
  15231. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15232. 8, lna2_gain_db);
  15233. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15234. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15235. } else {
  15236. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15237. }
  15238. }
  15239. }
  15240. static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi)
  15241. {
  15242. u16 w1th, hpf_code, currband;
  15243. int ctr;
  15244. u8 rfseq_updategainu_events[] = {
  15245. NPHY_RFSEQ_CMD_RX_GAIN,
  15246. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15247. NPHY_RFSEQ_CMD_SET_HPF_BW
  15248. };
  15249. u8 rfseq_updategainu_dlys[] = { 10, 30, 1 };
  15250. s8 lna1G_gain_db[] = { 7, 11, 16, 23 };
  15251. s8 lna1G_gain_db_rev4[] = { 8, 12, 17, 25 };
  15252. s8 lna1G_gain_db_rev5[] = { 9, 13, 18, 26 };
  15253. s8 lna1G_gain_db_rev6[] = { 8, 13, 18, 25 };
  15254. s8 lna1G_gain_db_rev6_224B0[] = { 10, 14, 19, 27 };
  15255. s8 lna1A_gain_db[] = { 7, 11, 17, 23 };
  15256. s8 lna1A_gain_db_rev4[] = { 8, 12, 18, 23 };
  15257. s8 lna1A_gain_db_rev5[] = { 6, 10, 16, 21 };
  15258. s8 lna1A_gain_db_rev6[] = { 6, 10, 16, 21 };
  15259. s8 *lna1_gain_db = NULL;
  15260. s8 lna2G_gain_db[] = { -5, 6, 10, 14 };
  15261. s8 lna2G_gain_db_rev5[] = { -3, 7, 11, 16 };
  15262. s8 lna2G_gain_db_rev6[] = { -5, 6, 10, 14 };
  15263. s8 lna2G_gain_db_rev6_224B0[] = { -5, 6, 10, 15 };
  15264. s8 lna2A_gain_db[] = { -6, 2, 6, 10 };
  15265. s8 lna2A_gain_db_rev4[] = { -5, 2, 6, 10 };
  15266. s8 lna2A_gain_db_rev5[] = { -7, 0, 4, 8 };
  15267. s8 lna2A_gain_db_rev6[] = { -7, 0, 4, 8 };
  15268. s8 *lna2_gain_db = NULL;
  15269. s8 tiaG_gain_db[] = {
  15270. 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A };
  15271. s8 tiaA_gain_db[] = {
  15272. 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13 };
  15273. s8 tiaA_gain_db_rev4[] = {
  15274. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15275. s8 tiaA_gain_db_rev5[] = {
  15276. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15277. s8 tiaA_gain_db_rev6[] = {
  15278. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15279. s8 *tia_gain_db;
  15280. s8 tiaG_gainbits[] = {
  15281. 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15282. s8 tiaA_gainbits[] = {
  15283. 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06 };
  15284. s8 tiaA_gainbits_rev4[] = {
  15285. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15286. s8 tiaA_gainbits_rev5[] = {
  15287. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15288. s8 tiaA_gainbits_rev6[] = {
  15289. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15290. s8 *tia_gainbits;
  15291. s8 lpf_gain_db[] = { 0x00, 0x06, 0x0c, 0x12, 0x12, 0x12 };
  15292. s8 lpf_gainbits[] = { 0x00, 0x01, 0x02, 0x03, 0x03, 0x03 };
  15293. u16 rfseqG_init_gain[] = { 0x613f, 0x613f, 0x613f, 0x613f };
  15294. u16 rfseqG_init_gain_rev4[] = { 0x513f, 0x513f, 0x513f, 0x513f };
  15295. u16 rfseqG_init_gain_rev5[] = { 0x413f, 0x413f, 0x413f, 0x413f };
  15296. u16 rfseqG_init_gain_rev5_elna[] = {
  15297. 0x013f, 0x013f, 0x013f, 0x013f };
  15298. u16 rfseqG_init_gain_rev6[] = { 0x513f, 0x513f };
  15299. u16 rfseqG_init_gain_rev6_224B0[] = { 0x413f, 0x413f };
  15300. u16 rfseqG_init_gain_rev6_elna[] = { 0x113f, 0x113f };
  15301. u16 rfseqA_init_gain[] = { 0x516f, 0x516f, 0x516f, 0x516f };
  15302. u16 rfseqA_init_gain_rev4[] = { 0x614f, 0x614f, 0x614f, 0x614f };
  15303. u16 rfseqA_init_gain_rev4_elna[] = {
  15304. 0x314f, 0x314f, 0x314f, 0x314f };
  15305. u16 rfseqA_init_gain_rev5[] = { 0x714f, 0x714f, 0x714f, 0x714f };
  15306. u16 rfseqA_init_gain_rev6[] = { 0x714f, 0x714f };
  15307. u16 *rfseq_init_gain;
  15308. u16 initG_gaincode = 0x627e;
  15309. u16 initG_gaincode_rev4 = 0x527e;
  15310. u16 initG_gaincode_rev5 = 0x427e;
  15311. u16 initG_gaincode_rev5_elna = 0x027e;
  15312. u16 initG_gaincode_rev6 = 0x527e;
  15313. u16 initG_gaincode_rev6_224B0 = 0x427e;
  15314. u16 initG_gaincode_rev6_elna = 0x127e;
  15315. u16 initA_gaincode = 0x52de;
  15316. u16 initA_gaincode_rev4 = 0x629e;
  15317. u16 initA_gaincode_rev4_elna = 0x329e;
  15318. u16 initA_gaincode_rev5 = 0x729e;
  15319. u16 initA_gaincode_rev6 = 0x729e;
  15320. u16 init_gaincode;
  15321. u16 clip1hiG_gaincode = 0x107e;
  15322. u16 clip1hiG_gaincode_rev4 = 0x007e;
  15323. u16 clip1hiG_gaincode_rev5 = 0x1076;
  15324. u16 clip1hiG_gaincode_rev6 = 0x007e;
  15325. u16 clip1hiA_gaincode = 0x00de;
  15326. u16 clip1hiA_gaincode_rev4 = 0x029e;
  15327. u16 clip1hiA_gaincode_rev5 = 0x029e;
  15328. u16 clip1hiA_gaincode_rev6 = 0x029e;
  15329. u16 clip1hi_gaincode;
  15330. u16 clip1mdG_gaincode = 0x0066;
  15331. u16 clip1mdA_gaincode = 0x00ca;
  15332. u16 clip1mdA_gaincode_rev4 = 0x1084;
  15333. u16 clip1mdA_gaincode_rev5 = 0x2084;
  15334. u16 clip1mdA_gaincode_rev6 = 0x2084;
  15335. u16 clip1md_gaincode = 0;
  15336. u16 clip1loG_gaincode = 0x0074;
  15337. u16 clip1loG_gaincode_rev5[] = {
  15338. 0x0062, 0x0064, 0x006a, 0x106a, 0x106c, 0x1074, 0x107c, 0x207c
  15339. };
  15340. u16 clip1loG_gaincode_rev6[] = {
  15341. 0x106a, 0x106c, 0x1074, 0x107c, 0x007e, 0x107e, 0x207e, 0x307e
  15342. };
  15343. u16 clip1loG_gaincode_rev6_224B0 = 0x1074;
  15344. u16 clip1loA_gaincode = 0x00cc;
  15345. u16 clip1loA_gaincode_rev4 = 0x0086;
  15346. u16 clip1loA_gaincode_rev5 = 0x2086;
  15347. u16 clip1loA_gaincode_rev6 = 0x2086;
  15348. u16 clip1lo_gaincode;
  15349. u8 crsminG_th = 0x18;
  15350. u8 crsminG_th_rev5 = 0x18;
  15351. u8 crsminG_th_rev6 = 0x18;
  15352. u8 crsminA_th = 0x1e;
  15353. u8 crsminA_th_rev4 = 0x24;
  15354. u8 crsminA_th_rev5 = 0x24;
  15355. u8 crsminA_th_rev6 = 0x24;
  15356. u8 crsmin_th;
  15357. u8 crsminlG_th = 0x18;
  15358. u8 crsminlG_th_rev5 = 0x18;
  15359. u8 crsminlG_th_rev6 = 0x18;
  15360. u8 crsminlA_th = 0x1e;
  15361. u8 crsminlA_th_rev4 = 0x24;
  15362. u8 crsminlA_th_rev5 = 0x24;
  15363. u8 crsminlA_th_rev6 = 0x24;
  15364. u8 crsminl_th = 0;
  15365. u8 crsminuG_th = 0x18;
  15366. u8 crsminuG_th_rev5 = 0x18;
  15367. u8 crsminuG_th_rev6 = 0x18;
  15368. u8 crsminuA_th = 0x1e;
  15369. u8 crsminuA_th_rev4 = 0x24;
  15370. u8 crsminuA_th_rev5 = 0x24;
  15371. u8 crsminuA_th_rev6 = 0x24;
  15372. u8 crsminuA_th_rev6_224B0 = 0x2d;
  15373. u8 crsminu_th;
  15374. u16 nbclipG_th = 0x20d;
  15375. u16 nbclipG_th_rev4 = 0x1a1;
  15376. u16 nbclipG_th_rev5 = 0x1d0;
  15377. u16 nbclipG_th_rev6 = 0x1d0;
  15378. u16 nbclipA_th = 0x1a1;
  15379. u16 nbclipA_th_rev4 = 0x107;
  15380. u16 nbclipA_th_rev5 = 0x0a9;
  15381. u16 nbclipA_th_rev6 = 0x0f0;
  15382. u16 nbclip_th = 0;
  15383. u8 w1clipG_th = 5;
  15384. u8 w1clipG_th_rev5 = 9;
  15385. u8 w1clipG_th_rev6 = 5;
  15386. u8 w1clipA_th = 25, w1clip_th;
  15387. u8 rssi_gain_default = 0x50;
  15388. u8 rssiG_gain_rev6_224B0 = 0x50;
  15389. u8 rssiA_gain_rev5 = 0x90;
  15390. u8 rssiA_gain_rev6 = 0x90;
  15391. u8 rssi_gain;
  15392. u16 regval[21];
  15393. u8 triso;
  15394. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.triso :
  15395. pi->srom_fem2g.triso;
  15396. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15397. if (pi->pubpi.radiorev == 5) {
  15398. wlc_phy_workarounds_nphy_gainctrl_2057_rev5(pi);
  15399. } else if (pi->pubpi.radiorev == 7) {
  15400. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15401. mod_phy_reg(pi, 0x283, (0xff << 0), (0x44 << 0));
  15402. mod_phy_reg(pi, 0x280, (0xff << 0), (0x44 << 0));
  15403. } else if ((pi->pubpi.radiorev == 3)
  15404. || (pi->pubpi.radiorev == 8)) {
  15405. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15406. if (pi->pubpi.radiorev == 8) {
  15407. mod_phy_reg(pi, 0x283,
  15408. (0xff << 0), (0x44 << 0));
  15409. mod_phy_reg(pi, 0x280,
  15410. (0xff << 0), (0x44 << 0));
  15411. }
  15412. } else {
  15413. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15414. }
  15415. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  15416. mod_phy_reg(pi, 0xa0, (0x1 << 6), (1 << 6));
  15417. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15418. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15419. currband =
  15420. read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15421. if (currband == 0) {
  15422. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15423. if (pi->pubpi.radiorev == 11) {
  15424. lna1_gain_db = lna1G_gain_db_rev6_224B0;
  15425. lna2_gain_db = lna2G_gain_db_rev6_224B0;
  15426. rfseq_init_gain =
  15427. rfseqG_init_gain_rev6_224B0;
  15428. init_gaincode =
  15429. initG_gaincode_rev6_224B0;
  15430. clip1hi_gaincode =
  15431. clip1hiG_gaincode_rev6;
  15432. clip1lo_gaincode =
  15433. clip1loG_gaincode_rev6_224B0;
  15434. nbclip_th = nbclipG_th_rev6;
  15435. w1clip_th = w1clipG_th_rev6;
  15436. crsmin_th = crsminG_th_rev6;
  15437. crsminl_th = crsminlG_th_rev6;
  15438. crsminu_th = crsminuG_th_rev6;
  15439. rssi_gain = rssiG_gain_rev6_224B0;
  15440. } else {
  15441. lna1_gain_db = lna1G_gain_db_rev6;
  15442. lna2_gain_db = lna2G_gain_db_rev6;
  15443. if (pi->sh->boardflags & BFL_EXTLNA) {
  15444. rfseq_init_gain =
  15445. rfseqG_init_gain_rev6_elna;
  15446. init_gaincode =
  15447. initG_gaincode_rev6_elna;
  15448. } else {
  15449. rfseq_init_gain =
  15450. rfseqG_init_gain_rev6;
  15451. init_gaincode =
  15452. initG_gaincode_rev6;
  15453. }
  15454. clip1hi_gaincode =
  15455. clip1hiG_gaincode_rev6;
  15456. switch (triso) {
  15457. case 0:
  15458. clip1lo_gaincode =
  15459. clip1loG_gaincode_rev6
  15460. [0];
  15461. break;
  15462. case 1:
  15463. clip1lo_gaincode =
  15464. clip1loG_gaincode_rev6
  15465. [1];
  15466. break;
  15467. case 2:
  15468. clip1lo_gaincode =
  15469. clip1loG_gaincode_rev6
  15470. [2];
  15471. break;
  15472. case 3:
  15473. default:
  15474. clip1lo_gaincode =
  15475. clip1loG_gaincode_rev6
  15476. [3];
  15477. break;
  15478. case 4:
  15479. clip1lo_gaincode =
  15480. clip1loG_gaincode_rev6
  15481. [4];
  15482. break;
  15483. case 5:
  15484. clip1lo_gaincode =
  15485. clip1loG_gaincode_rev6
  15486. [5];
  15487. break;
  15488. case 6:
  15489. clip1lo_gaincode =
  15490. clip1loG_gaincode_rev6
  15491. [6];
  15492. break;
  15493. case 7:
  15494. clip1lo_gaincode =
  15495. clip1loG_gaincode_rev6
  15496. [7];
  15497. break;
  15498. }
  15499. nbclip_th = nbclipG_th_rev6;
  15500. w1clip_th = w1clipG_th_rev6;
  15501. crsmin_th = crsminG_th_rev6;
  15502. crsminl_th = crsminlG_th_rev6;
  15503. crsminu_th = crsminuG_th_rev6;
  15504. rssi_gain = rssi_gain_default;
  15505. }
  15506. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15507. lna1_gain_db = lna1G_gain_db_rev5;
  15508. lna2_gain_db = lna2G_gain_db_rev5;
  15509. if (pi->sh->boardflags & BFL_EXTLNA) {
  15510. rfseq_init_gain =
  15511. rfseqG_init_gain_rev5_elna;
  15512. init_gaincode =
  15513. initG_gaincode_rev5_elna;
  15514. } else {
  15515. rfseq_init_gain = rfseqG_init_gain_rev5;
  15516. init_gaincode = initG_gaincode_rev5;
  15517. }
  15518. clip1hi_gaincode = clip1hiG_gaincode_rev5;
  15519. switch (triso) {
  15520. case 0:
  15521. clip1lo_gaincode =
  15522. clip1loG_gaincode_rev5[0];
  15523. break;
  15524. case 1:
  15525. clip1lo_gaincode =
  15526. clip1loG_gaincode_rev5[1];
  15527. break;
  15528. case 2:
  15529. clip1lo_gaincode =
  15530. clip1loG_gaincode_rev5[2];
  15531. break;
  15532. case 3:
  15533. clip1lo_gaincode =
  15534. clip1loG_gaincode_rev5[3];
  15535. break;
  15536. case 4:
  15537. clip1lo_gaincode =
  15538. clip1loG_gaincode_rev5[4];
  15539. break;
  15540. case 5:
  15541. clip1lo_gaincode =
  15542. clip1loG_gaincode_rev5[5];
  15543. break;
  15544. case 6:
  15545. clip1lo_gaincode =
  15546. clip1loG_gaincode_rev5[6];
  15547. break;
  15548. case 7:
  15549. clip1lo_gaincode =
  15550. clip1loG_gaincode_rev5[7];
  15551. break;
  15552. default:
  15553. clip1lo_gaincode =
  15554. clip1loG_gaincode_rev5[3];
  15555. break;
  15556. }
  15557. nbclip_th = nbclipG_th_rev5;
  15558. w1clip_th = w1clipG_th_rev5;
  15559. crsmin_th = crsminG_th_rev5;
  15560. crsminl_th = crsminlG_th_rev5;
  15561. crsminu_th = crsminuG_th_rev5;
  15562. rssi_gain = rssi_gain_default;
  15563. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15564. lna1_gain_db = lna1G_gain_db_rev4;
  15565. lna2_gain_db = lna2G_gain_db;
  15566. rfseq_init_gain = rfseqG_init_gain_rev4;
  15567. init_gaincode = initG_gaincode_rev4;
  15568. clip1hi_gaincode = clip1hiG_gaincode_rev4;
  15569. clip1lo_gaincode = clip1loG_gaincode;
  15570. nbclip_th = nbclipG_th_rev4;
  15571. w1clip_th = w1clipG_th;
  15572. crsmin_th = crsminG_th;
  15573. crsminl_th = crsminlG_th;
  15574. crsminu_th = crsminuG_th;
  15575. rssi_gain = rssi_gain_default;
  15576. } else {
  15577. lna1_gain_db = lna1G_gain_db;
  15578. lna2_gain_db = lna2G_gain_db;
  15579. rfseq_init_gain = rfseqG_init_gain;
  15580. init_gaincode = initG_gaincode;
  15581. clip1hi_gaincode = clip1hiG_gaincode;
  15582. clip1lo_gaincode = clip1loG_gaincode;
  15583. nbclip_th = nbclipG_th;
  15584. w1clip_th = w1clipG_th;
  15585. crsmin_th = crsminG_th;
  15586. crsminl_th = crsminlG_th;
  15587. crsminu_th = crsminuG_th;
  15588. rssi_gain = rssi_gain_default;
  15589. }
  15590. tia_gain_db = tiaG_gain_db;
  15591. tia_gainbits = tiaG_gainbits;
  15592. clip1md_gaincode = clip1mdG_gaincode;
  15593. } else {
  15594. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15595. lna1_gain_db = lna1A_gain_db_rev6;
  15596. lna2_gain_db = lna2A_gain_db_rev6;
  15597. tia_gain_db = tiaA_gain_db_rev6;
  15598. tia_gainbits = tiaA_gainbits_rev6;
  15599. rfseq_init_gain = rfseqA_init_gain_rev6;
  15600. init_gaincode = initA_gaincode_rev6;
  15601. clip1hi_gaincode = clip1hiA_gaincode_rev6;
  15602. clip1md_gaincode = clip1mdA_gaincode_rev6;
  15603. clip1lo_gaincode = clip1loA_gaincode_rev6;
  15604. crsmin_th = crsminA_th_rev6;
  15605. crsminl_th = crsminlA_th_rev6;
  15606. if ((pi->pubpi.radiorev == 11) &&
  15607. (CHSPEC_IS40(pi->radio_chanspec) == 0))
  15608. crsminu_th = crsminuA_th_rev6_224B0;
  15609. else
  15610. crsminu_th = crsminuA_th_rev6;
  15611. nbclip_th = nbclipA_th_rev6;
  15612. rssi_gain = rssiA_gain_rev6;
  15613. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15614. lna1_gain_db = lna1A_gain_db_rev5;
  15615. lna2_gain_db = lna2A_gain_db_rev5;
  15616. tia_gain_db = tiaA_gain_db_rev5;
  15617. tia_gainbits = tiaA_gainbits_rev5;
  15618. rfseq_init_gain = rfseqA_init_gain_rev5;
  15619. init_gaincode = initA_gaincode_rev5;
  15620. clip1hi_gaincode = clip1hiA_gaincode_rev5;
  15621. clip1md_gaincode = clip1mdA_gaincode_rev5;
  15622. clip1lo_gaincode = clip1loA_gaincode_rev5;
  15623. crsmin_th = crsminA_th_rev5;
  15624. crsminl_th = crsminlA_th_rev5;
  15625. crsminu_th = crsminuA_th_rev5;
  15626. nbclip_th = nbclipA_th_rev5;
  15627. rssi_gain = rssiA_gain_rev5;
  15628. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15629. lna1_gain_db = lna1A_gain_db_rev4;
  15630. lna2_gain_db = lna2A_gain_db_rev4;
  15631. tia_gain_db = tiaA_gain_db_rev4;
  15632. tia_gainbits = tiaA_gainbits_rev4;
  15633. if (pi->sh->boardflags & BFL_EXTLNA_5GHz) {
  15634. rfseq_init_gain =
  15635. rfseqA_init_gain_rev4_elna;
  15636. init_gaincode =
  15637. initA_gaincode_rev4_elna;
  15638. } else {
  15639. rfseq_init_gain = rfseqA_init_gain_rev4;
  15640. init_gaincode = initA_gaincode_rev4;
  15641. }
  15642. clip1hi_gaincode = clip1hiA_gaincode_rev4;
  15643. clip1md_gaincode = clip1mdA_gaincode_rev4;
  15644. clip1lo_gaincode = clip1loA_gaincode_rev4;
  15645. crsmin_th = crsminA_th_rev4;
  15646. crsminl_th = crsminlA_th_rev4;
  15647. crsminu_th = crsminuA_th_rev4;
  15648. nbclip_th = nbclipA_th_rev4;
  15649. rssi_gain = rssi_gain_default;
  15650. } else {
  15651. lna1_gain_db = lna1A_gain_db;
  15652. lna2_gain_db = lna2A_gain_db;
  15653. tia_gain_db = tiaA_gain_db;
  15654. tia_gainbits = tiaA_gainbits;
  15655. rfseq_init_gain = rfseqA_init_gain;
  15656. init_gaincode = initA_gaincode;
  15657. clip1hi_gaincode = clip1hiA_gaincode;
  15658. clip1md_gaincode = clip1mdA_gaincode;
  15659. clip1lo_gaincode = clip1loA_gaincode;
  15660. crsmin_th = crsminA_th;
  15661. crsminl_th = crsminlA_th;
  15662. crsminu_th = crsminuA_th;
  15663. nbclip_th = nbclipA_th;
  15664. rssi_gain = rssi_gain_default;
  15665. }
  15666. w1clip_th = w1clipA_th;
  15667. }
  15668. write_radio_reg(pi,
  15669. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15670. RADIO_2056_RX0), 0x17);
  15671. write_radio_reg(pi,
  15672. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15673. RADIO_2056_RX1), 0x17);
  15674. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX0),
  15675. 0xf0);
  15676. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX1),
  15677. 0xf0);
  15678. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX0),
  15679. 0x0);
  15680. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX1),
  15681. 0x0);
  15682. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX0),
  15683. rssi_gain);
  15684. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX1),
  15685. rssi_gain);
  15686. write_radio_reg(pi,
  15687. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15688. RADIO_2056_RX0), 0x17);
  15689. write_radio_reg(pi,
  15690. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15691. RADIO_2056_RX1), 0x17);
  15692. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX0),
  15693. 0xFF);
  15694. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX1),
  15695. 0xFF);
  15696. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8,
  15697. 8, lna1_gain_db);
  15698. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8,
  15699. 8, lna1_gain_db);
  15700. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15701. 8, lna2_gain_db);
  15702. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15703. 8, lna2_gain_db);
  15704. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20,
  15705. 8, tia_gain_db);
  15706. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20,
  15707. 8, tia_gain_db);
  15708. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20,
  15709. 8, tia_gainbits);
  15710. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20,
  15711. 8, tia_gainbits);
  15712. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 6, 0x40,
  15713. 8, &lpf_gain_db);
  15714. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 6, 0x40,
  15715. 8, &lpf_gain_db);
  15716. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 6, 0x40,
  15717. 8, &lpf_gainbits);
  15718. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 6, 0x40,
  15719. 8, &lpf_gainbits);
  15720. write_phy_reg(pi, 0x20, init_gaincode);
  15721. write_phy_reg(pi, 0x2a7, init_gaincode);
  15722. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15723. pi->pubpi.phy_corenum, 0x106, 16,
  15724. rfseq_init_gain);
  15725. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15726. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15727. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15728. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15729. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15730. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15731. mod_phy_reg(pi, 0x27d, (0xff << 0), (crsmin_th << 0));
  15732. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15733. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15734. write_phy_reg(pi, 0x2b, nbclip_th);
  15735. write_phy_reg(pi, 0x41, nbclip_th);
  15736. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1clip_th << 0));
  15737. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1clip_th << 0));
  15738. write_phy_reg(pi, 0x150, 0x809c);
  15739. } else {
  15740. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15741. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15742. write_phy_reg(pi, 0x2b, 0x84);
  15743. write_phy_reg(pi, 0x41, 0x84);
  15744. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15745. write_phy_reg(pi, 0x6b, 0x2b);
  15746. write_phy_reg(pi, 0x6c, 0x2b);
  15747. write_phy_reg(pi, 0x6d, 0x9);
  15748. write_phy_reg(pi, 0x6e, 0x9);
  15749. }
  15750. w1th = NPHY_RSSICAL_W1_TARGET - 4;
  15751. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1th << 0));
  15752. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1th << 0));
  15753. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15754. mod_phy_reg(pi, 0x1c, (0x1f << 0), (0x1 << 0));
  15755. mod_phy_reg(pi, 0x32, (0x1f << 0), (0x1 << 0));
  15756. mod_phy_reg(pi, 0x1d, (0x1f << 0), (0x1 << 0));
  15757. mod_phy_reg(pi, 0x33, (0x1f << 0), (0x1 << 0));
  15758. }
  15759. write_phy_reg(pi, 0x150, 0x809c);
  15760. if (pi->nphy_gain_boost)
  15761. if ((CHSPEC_IS2G(pi->radio_chanspec)) &&
  15762. (CHSPEC_IS40(pi->radio_chanspec)))
  15763. hpf_code = 4;
  15764. else
  15765. hpf_code = 5;
  15766. else if (CHSPEC_IS40(pi->radio_chanspec))
  15767. hpf_code = 6;
  15768. else
  15769. hpf_code = 7;
  15770. mod_phy_reg(pi, 0x20, (0x1f << 7), (hpf_code << 7));
  15771. mod_phy_reg(pi, 0x36, (0x1f << 7), (hpf_code << 7));
  15772. for (ctr = 0; ctr < 4; ctr++)
  15773. regval[ctr] = (hpf_code << 8) | 0x7c;
  15774. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15775. wlc_phy_adjust_lnagaintbl_nphy(pi);
  15776. if (pi->nphy_elna_gain_config) {
  15777. regval[0] = 0;
  15778. regval[1] = 1;
  15779. regval[2] = 1;
  15780. regval[3] = 1;
  15781. wlc_phy_table_write_nphy(pi, 2, 4, 8, 16, regval);
  15782. wlc_phy_table_write_nphy(pi, 3, 4, 8, 16, regval);
  15783. for (ctr = 0; ctr < 4; ctr++)
  15784. regval[ctr] = (hpf_code << 8) | 0x74;
  15785. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15786. }
  15787. if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  15788. for (ctr = 0; ctr < 21; ctr++)
  15789. regval[ctr] = 3 * ctr;
  15790. wlc_phy_table_write_nphy(pi, 0, 21, 32, 16, regval);
  15791. wlc_phy_table_write_nphy(pi, 1, 21, 32, 16, regval);
  15792. for (ctr = 0; ctr < 21; ctr++)
  15793. regval[ctr] = (u16) ctr;
  15794. wlc_phy_table_write_nphy(pi, 2, 21, 32, 16, regval);
  15795. wlc_phy_table_write_nphy(pi, 3, 21, 32, 16, regval);
  15796. }
  15797. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_UPDATEGAINU,
  15798. rfseq_updategainu_events,
  15799. rfseq_updategainu_dlys,
  15800. sizeof(rfseq_updategainu_events) /
  15801. sizeof(rfseq_updategainu_events[0]));
  15802. mod_phy_reg(pi, 0x153, (0xff << 8), (90 << 8));
  15803. if (CHSPEC_IS2G(pi->radio_chanspec))
  15804. mod_phy_reg(pi,
  15805. (NPHY_TO_BPHY_OFF + BPHY_OPTIONAL_MODES),
  15806. 0x7f, 0x4);
  15807. }
  15808. }
  15809. static void wlc_phy_workarounds_nphy(struct brcms_phy *pi)
  15810. {
  15811. u8 rfseq_rx2tx_events[] = {
  15812. NPHY_RFSEQ_CMD_NOP,
  15813. NPHY_RFSEQ_CMD_RXG_FBW,
  15814. NPHY_RFSEQ_CMD_TR_SWITCH,
  15815. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15816. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15817. NPHY_RFSEQ_CMD_TX_GAIN,
  15818. NPHY_RFSEQ_CMD_EXT_PA
  15819. };
  15820. u8 rfseq_rx2tx_dlys[] = { 8, 6, 6, 2, 4, 60, 1 };
  15821. u8 rfseq_tx2rx_events[] = {
  15822. NPHY_RFSEQ_CMD_NOP,
  15823. NPHY_RFSEQ_CMD_EXT_PA,
  15824. NPHY_RFSEQ_CMD_TX_GAIN,
  15825. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15826. NPHY_RFSEQ_CMD_TR_SWITCH,
  15827. NPHY_RFSEQ_CMD_RXG_FBW,
  15828. NPHY_RFSEQ_CMD_CLR_HIQ_DIS
  15829. };
  15830. u8 rfseq_tx2rx_dlys[] = { 8, 6, 2, 4, 4, 6, 1 };
  15831. u8 rfseq_tx2rx_events_rev3[] = {
  15832. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15833. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15834. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15835. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15836. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15837. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15838. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15839. NPHY_REV3_RFSEQ_CMD_END
  15840. };
  15841. u8 rfseq_tx2rx_dlys_rev3[] = { 8, 4, 2, 2, 4, 4, 6, 1 };
  15842. u8 rfseq_rx2tx_events_rev3[] = {
  15843. NPHY_REV3_RFSEQ_CMD_NOP,
  15844. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15845. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15846. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15847. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15848. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15849. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15850. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15851. NPHY_REV3_RFSEQ_CMD_END
  15852. };
  15853. u8 rfseq_rx2tx_dlys_rev3[] = { 8, 6, 6, 4, 4, 18, 42, 1, 1 };
  15854. u8 rfseq_rx2tx_events_rev3_ipa[] = {
  15855. NPHY_REV3_RFSEQ_CMD_NOP,
  15856. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15857. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15858. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15859. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15860. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15861. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  15862. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15863. NPHY_REV3_RFSEQ_CMD_END
  15864. };
  15865. u8 rfseq_rx2tx_dlys_rev3_ipa[] = { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  15866. u16 rfseq_rx2tx_dacbufpu_rev7[] = { 0x10f, 0x10f };
  15867. s16 alpha0, alpha1, alpha2;
  15868. s16 beta0, beta1, beta2;
  15869. u32 leg_data_weights, ht_data_weights, nss1_data_weights,
  15870. stbc_data_weights;
  15871. u8 chan_freq_range = 0;
  15872. u16 dac_control = 0x0002;
  15873. u16 aux_adc_vmid_rev7_core0[] = { 0x8e, 0x96, 0x96, 0x96 };
  15874. u16 aux_adc_vmid_rev7_core1[] = { 0x8f, 0x9f, 0x9f, 0x96 };
  15875. u16 aux_adc_vmid_rev4[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15876. u16 aux_adc_vmid_rev3[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15877. u16 *aux_adc_vmid;
  15878. u16 aux_adc_gain_rev7[] = { 0x02, 0x02, 0x02, 0x02 };
  15879. u16 aux_adc_gain_rev4[] = { 0x02, 0x02, 0x02, 0x00 };
  15880. u16 aux_adc_gain_rev3[] = { 0x02, 0x02, 0x02, 0x00 };
  15881. u16 *aux_adc_gain;
  15882. u16 sk_adc_vmid[] = { 0xb4, 0xb4, 0xb4, 0x24 };
  15883. u16 sk_adc_gain[] = { 0x02, 0x02, 0x02, 0x02 };
  15884. s32 min_nvar_val = 0x18d;
  15885. s32 min_nvar_offset_6mbps = 20;
  15886. u8 pdetrange;
  15887. u8 triso;
  15888. u16 regval;
  15889. u16 afectrl_adc_ctrl1_rev7 = 0x20;
  15890. u16 afectrl_adc_ctrl2_rev7 = 0x0;
  15891. u16 rfseq_rx2tx_lpf_h_hpc_rev7 = 0x77;
  15892. u16 rfseq_tx2rx_lpf_h_hpc_rev7 = 0x77;
  15893. u16 rfseq_pktgn_lpf_h_hpc_rev7 = 0x77;
  15894. u16 rfseq_htpktgn_lpf_hpc_rev7[] = { 0x77, 0x11, 0x11 };
  15895. u16 rfseq_pktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15896. u16 rfseq_cckpktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15897. u16 ipalvlshift_3p3_war_en = 0;
  15898. u16 rccal_bcap_val, rccal_scap_val;
  15899. u16 rccal_tx20_11b_bcap = 0;
  15900. u16 rccal_tx20_11b_scap = 0;
  15901. u16 rccal_tx20_11n_bcap = 0;
  15902. u16 rccal_tx20_11n_scap = 0;
  15903. u16 rccal_tx40_11n_bcap = 0;
  15904. u16 rccal_tx40_11n_scap = 0;
  15905. u16 rx2tx_lpf_rc_lut_tx20_11b = 0;
  15906. u16 rx2tx_lpf_rc_lut_tx20_11n = 0;
  15907. u16 rx2tx_lpf_rc_lut_tx40_11n = 0;
  15908. u16 tx_lpf_bw_ofdm_20mhz = 0;
  15909. u16 tx_lpf_bw_ofdm_40mhz = 0;
  15910. u16 tx_lpf_bw_11b = 0;
  15911. u16 ipa2g_mainbias, ipa2g_casconv, ipa2g_biasfilt;
  15912. u16 txgm_idac_bleed = 0;
  15913. bool rccal_ovrd = false;
  15914. u16 freq;
  15915. int coreNum;
  15916. if (CHSPEC_IS5G(pi->radio_chanspec))
  15917. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 0);
  15918. else
  15919. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 1);
  15920. if (pi->phyhang_avoid)
  15921. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  15922. or_phy_reg(pi, 0xb1, NPHY_IQFlip_ADC1 | NPHY_IQFlip_ADC2);
  15923. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15924. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  15925. mod_phy_reg(pi, 0x221, (0x1 << 4), (1 << 4));
  15926. mod_phy_reg(pi, 0x160, (0x7f << 0), (32 << 0));
  15927. mod_phy_reg(pi, 0x160, (0x7f << 8), (39 << 8));
  15928. mod_phy_reg(pi, 0x161, (0x7f << 0), (46 << 0));
  15929. mod_phy_reg(pi, 0x161, (0x7f << 8), (51 << 8));
  15930. mod_phy_reg(pi, 0x162, (0x7f << 0), (55 << 0));
  15931. mod_phy_reg(pi, 0x162, (0x7f << 8), (58 << 8));
  15932. mod_phy_reg(pi, 0x163, (0x7f << 0), (60 << 0));
  15933. mod_phy_reg(pi, 0x163, (0x7f << 8), (62 << 8));
  15934. mod_phy_reg(pi, 0x164, (0x7f << 0), (62 << 0));
  15935. mod_phy_reg(pi, 0x164, (0x7f << 8), (63 << 8));
  15936. mod_phy_reg(pi, 0x165, (0x7f << 0), (63 << 0));
  15937. mod_phy_reg(pi, 0x165, (0x7f << 8), (64 << 8));
  15938. mod_phy_reg(pi, 0x166, (0x7f << 0), (64 << 0));
  15939. mod_phy_reg(pi, 0x166, (0x7f << 8), (64 << 8));
  15940. mod_phy_reg(pi, 0x167, (0x7f << 0), (64 << 0));
  15941. mod_phy_reg(pi, 0x167, (0x7f << 8), (64 << 8));
  15942. }
  15943. if (NREV_LE(pi->pubpi.phy_rev, 8)) {
  15944. write_phy_reg(pi, 0x23f, 0x1b0);
  15945. write_phy_reg(pi, 0x240, 0x1b0);
  15946. }
  15947. if (NREV_GE(pi->pubpi.phy_rev, 8))
  15948. mod_phy_reg(pi, 0xbd, (0xff << 0), (114 << 0));
  15949. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  15950. &dac_control);
  15951. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  15952. &dac_control);
  15953. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15954. 1, 0, 32, &leg_data_weights);
  15955. leg_data_weights = leg_data_weights & 0xffffff;
  15956. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15957. 1, 0, 32, &leg_data_weights);
  15958. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15959. 2, 0x15e, 16,
  15960. rfseq_rx2tx_dacbufpu_rev7);
  15961. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x16e, 16,
  15962. rfseq_rx2tx_dacbufpu_rev7);
  15963. if (PHY_IPA(pi))
  15964. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  15965. rfseq_rx2tx_events_rev3_ipa,
  15966. rfseq_rx2tx_dlys_rev3_ipa,
  15967. sizeof
  15968. (rfseq_rx2tx_events_rev3_ipa) /
  15969. sizeof
  15970. (rfseq_rx2tx_events_rev3_ipa
  15971. [0]));
  15972. mod_phy_reg(pi, 0x299, (0x3 << 14), (0x1 << 14));
  15973. mod_phy_reg(pi, 0x29d, (0x3 << 14), (0x1 << 14));
  15974. tx_lpf_bw_ofdm_20mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x154);
  15975. tx_lpf_bw_ofdm_40mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x159);
  15976. tx_lpf_bw_11b = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x152);
  15977. if (PHY_IPA(pi)) {
  15978. if (((pi->pubpi.radiorev == 5)
  15979. && (CHSPEC_IS40(pi->radio_chanspec) == 1))
  15980. || (pi->pubpi.radiorev == 7)
  15981. || (pi->pubpi.radiorev == 8)) {
  15982. rccal_bcap_val =
  15983. read_radio_reg(
  15984. pi,
  15985. RADIO_2057_RCCAL_BCAP_VAL);
  15986. rccal_scap_val =
  15987. read_radio_reg(
  15988. pi,
  15989. RADIO_2057_RCCAL_SCAP_VAL);
  15990. rccal_tx20_11b_bcap = rccal_bcap_val;
  15991. rccal_tx20_11b_scap = rccal_scap_val;
  15992. if ((pi->pubpi.radiorev == 5) &&
  15993. (CHSPEC_IS40(pi->radio_chanspec) == 1)) {
  15994. rccal_tx20_11n_bcap = rccal_bcap_val;
  15995. rccal_tx20_11n_scap = rccal_scap_val;
  15996. rccal_tx40_11n_bcap = 0xc;
  15997. rccal_tx40_11n_scap = 0xc;
  15998. rccal_ovrd = true;
  15999. } else if ((pi->pubpi.radiorev == 7)
  16000. || (pi->pubpi.radiorev == 8)) {
  16001. tx_lpf_bw_ofdm_20mhz = 4;
  16002. tx_lpf_bw_11b = 1;
  16003. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16004. rccal_tx20_11n_bcap = 0xc;
  16005. rccal_tx20_11n_scap = 0xc;
  16006. rccal_tx40_11n_bcap = 0xa;
  16007. rccal_tx40_11n_scap = 0xa;
  16008. } else {
  16009. rccal_tx20_11n_bcap = 0x14;
  16010. rccal_tx20_11n_scap = 0x14;
  16011. rccal_tx40_11n_bcap = 0xf;
  16012. rccal_tx40_11n_scap = 0xf;
  16013. }
  16014. rccal_ovrd = true;
  16015. }
  16016. }
  16017. } else {
  16018. if (pi->pubpi.radiorev == 5) {
  16019. tx_lpf_bw_ofdm_20mhz = 1;
  16020. tx_lpf_bw_ofdm_40mhz = 3;
  16021. rccal_bcap_val =
  16022. read_radio_reg(
  16023. pi,
  16024. RADIO_2057_RCCAL_BCAP_VAL);
  16025. rccal_scap_val =
  16026. read_radio_reg(
  16027. pi,
  16028. RADIO_2057_RCCAL_SCAP_VAL);
  16029. rccal_tx20_11b_bcap = rccal_bcap_val;
  16030. rccal_tx20_11b_scap = rccal_scap_val;
  16031. rccal_tx20_11n_bcap = 0x13;
  16032. rccal_tx20_11n_scap = 0x11;
  16033. rccal_tx40_11n_bcap = 0x13;
  16034. rccal_tx40_11n_scap = 0x11;
  16035. rccal_ovrd = true;
  16036. }
  16037. }
  16038. if (rccal_ovrd) {
  16039. rx2tx_lpf_rc_lut_tx20_11b =
  16040. (rccal_tx20_11b_bcap << 8) |
  16041. (rccal_tx20_11b_scap << 3) |
  16042. tx_lpf_bw_11b;
  16043. rx2tx_lpf_rc_lut_tx20_11n =
  16044. (rccal_tx20_11n_bcap << 8) |
  16045. (rccal_tx20_11n_scap << 3) |
  16046. tx_lpf_bw_ofdm_20mhz;
  16047. rx2tx_lpf_rc_lut_tx40_11n =
  16048. (rccal_tx40_11n_bcap << 8) |
  16049. (rccal_tx40_11n_scap << 3) |
  16050. tx_lpf_bw_ofdm_40mhz;
  16051. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16052. wlc_phy_table_write_nphy(
  16053. pi, NPHY_TBL_ID_RFSEQ,
  16054. 1,
  16055. 0x152 + coreNum * 0x10,
  16056. 16,
  16057. &rx2tx_lpf_rc_lut_tx20_11b);
  16058. wlc_phy_table_write_nphy(
  16059. pi, NPHY_TBL_ID_RFSEQ,
  16060. 1,
  16061. 0x153 + coreNum * 0x10,
  16062. 16,
  16063. &rx2tx_lpf_rc_lut_tx20_11n);
  16064. wlc_phy_table_write_nphy(
  16065. pi, NPHY_TBL_ID_RFSEQ,
  16066. 1,
  16067. 0x154 + coreNum * 0x10,
  16068. 16,
  16069. &rx2tx_lpf_rc_lut_tx20_11n);
  16070. wlc_phy_table_write_nphy(
  16071. pi, NPHY_TBL_ID_RFSEQ,
  16072. 1,
  16073. 0x155 + coreNum * 0x10,
  16074. 16,
  16075. &rx2tx_lpf_rc_lut_tx40_11n);
  16076. wlc_phy_table_write_nphy(
  16077. pi, NPHY_TBL_ID_RFSEQ,
  16078. 1,
  16079. 0x156 + coreNum * 0x10,
  16080. 16,
  16081. &rx2tx_lpf_rc_lut_tx40_11n);
  16082. wlc_phy_table_write_nphy(
  16083. pi, NPHY_TBL_ID_RFSEQ,
  16084. 1,
  16085. 0x157 + coreNum * 0x10,
  16086. 16,
  16087. &rx2tx_lpf_rc_lut_tx40_11n);
  16088. wlc_phy_table_write_nphy(
  16089. pi, NPHY_TBL_ID_RFSEQ,
  16090. 1,
  16091. 0x158 + coreNum * 0x10,
  16092. 16,
  16093. &rx2tx_lpf_rc_lut_tx40_11n);
  16094. wlc_phy_table_write_nphy(
  16095. pi, NPHY_TBL_ID_RFSEQ,
  16096. 1,
  16097. 0x159 + coreNum * 0x10,
  16098. 16,
  16099. &rx2tx_lpf_rc_lut_tx40_11n);
  16100. }
  16101. wlc_phy_rfctrl_override_nphy_rev7(
  16102. pi, (0x1 << 4),
  16103. 1, 0x3, 0,
  16104. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  16105. }
  16106. write_phy_reg(pi, 0x32f, 0x3);
  16107. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  16108. wlc_phy_rfctrl_override_nphy_rev7(
  16109. pi, (0x1 << 2),
  16110. 1, 0x3, 0,
  16111. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16112. if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) ||
  16113. (pi->pubpi.radiorev == 6)) {
  16114. if ((pi->sh->sromrev >= 8)
  16115. && (pi->sh->boardflags2 & BFL2_IPALVLSHIFT_3P3))
  16116. ipalvlshift_3p3_war_en = 1;
  16117. if (ipalvlshift_3p3_war_en) {
  16118. write_radio_reg(pi, RADIO_2057_GPAIO_CONFIG,
  16119. 0x5);
  16120. write_radio_reg(pi, RADIO_2057_GPAIO_SEL1,
  16121. 0x30);
  16122. write_radio_reg(pi, RADIO_2057_GPAIO_SEL0, 0x0);
  16123. or_radio_reg(pi,
  16124. RADIO_2057_RXTXBIAS_CONFIG_CORE0,
  16125. 0x1);
  16126. or_radio_reg(pi,
  16127. RADIO_2057_RXTXBIAS_CONFIG_CORE1,
  16128. 0x1);
  16129. ipa2g_mainbias = 0x1f;
  16130. ipa2g_casconv = 0x6f;
  16131. ipa2g_biasfilt = 0xaa;
  16132. } else {
  16133. ipa2g_mainbias = 0x2b;
  16134. ipa2g_casconv = 0x7f;
  16135. ipa2g_biasfilt = 0xee;
  16136. }
  16137. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16138. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16139. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16140. coreNum, IPA2G_IMAIN,
  16141. ipa2g_mainbias);
  16142. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16143. coreNum, IPA2G_CASCONV,
  16144. ipa2g_casconv);
  16145. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16146. coreNum,
  16147. IPA2G_BIAS_FILTER,
  16148. ipa2g_biasfilt);
  16149. }
  16150. }
  16151. }
  16152. if (PHY_IPA(pi)) {
  16153. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16154. if ((pi->pubpi.radiorev == 3)
  16155. || (pi->pubpi.radiorev == 4)
  16156. || (pi->pubpi.radiorev == 6))
  16157. txgm_idac_bleed = 0x7f;
  16158. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16159. if (txgm_idac_bleed != 0)
  16160. WRITE_RADIO_REG4(
  16161. pi, RADIO_2057,
  16162. CORE, coreNum,
  16163. TXGM_IDAC_BLEED,
  16164. txgm_idac_bleed);
  16165. }
  16166. if (pi->pubpi.radiorev == 5) {
  16167. for (coreNum = 0; coreNum <= 1;
  16168. coreNum++) {
  16169. WRITE_RADIO_REG4(pi, RADIO_2057,
  16170. CORE, coreNum,
  16171. IPA2G_CASCONV,
  16172. 0x13);
  16173. WRITE_RADIO_REG4(pi, RADIO_2057,
  16174. CORE, coreNum,
  16175. IPA2G_IMAIN,
  16176. 0x1f);
  16177. WRITE_RADIO_REG4(
  16178. pi, RADIO_2057,
  16179. CORE, coreNum,
  16180. IPA2G_BIAS_FILTER,
  16181. 0xee);
  16182. WRITE_RADIO_REG4(pi, RADIO_2057,
  16183. CORE, coreNum,
  16184. PAD2G_IDACS,
  16185. 0x8a);
  16186. WRITE_RADIO_REG4(
  16187. pi, RADIO_2057,
  16188. CORE, coreNum,
  16189. PAD_BIAS_FILTER_BWS,
  16190. 0x3e);
  16191. }
  16192. } else if ((pi->pubpi.radiorev == 7)
  16193. || (pi->pubpi.radiorev == 8)) {
  16194. if (CHSPEC_IS40(pi->radio_chanspec) ==
  16195. 0) {
  16196. WRITE_RADIO_REG4(pi, RADIO_2057,
  16197. CORE, 0,
  16198. IPA2G_IMAIN,
  16199. 0x14);
  16200. WRITE_RADIO_REG4(pi, RADIO_2057,
  16201. CORE, 1,
  16202. IPA2G_IMAIN,
  16203. 0x12);
  16204. } else {
  16205. WRITE_RADIO_REG4(pi, RADIO_2057,
  16206. CORE, 0,
  16207. IPA2G_IMAIN,
  16208. 0x16);
  16209. WRITE_RADIO_REG4(pi, RADIO_2057,
  16210. CORE, 1,
  16211. IPA2G_IMAIN,
  16212. 0x16);
  16213. }
  16214. }
  16215. } else {
  16216. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(
  16217. pi->radio_chanspec));
  16218. if (((freq >= 5180) && (freq <= 5230))
  16219. || ((freq >= 5745) && (freq <= 5805))) {
  16220. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16221. 0, IPA5G_BIAS_FILTER,
  16222. 0xff);
  16223. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16224. 1, IPA5G_BIAS_FILTER,
  16225. 0xff);
  16226. }
  16227. }
  16228. } else {
  16229. if (pi->pubpi.radiorev != 5) {
  16230. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16231. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16232. coreNum,
  16233. TXMIX2G_TUNE_BOOST_PU,
  16234. 0x61);
  16235. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16236. coreNum,
  16237. TXGM_IDAC_BLEED, 0x70);
  16238. }
  16239. }
  16240. }
  16241. if (pi->pubpi.radiorev == 4) {
  16242. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16243. 0x05, 16,
  16244. &afectrl_adc_ctrl1_rev7);
  16245. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16246. 0x15, 16,
  16247. &afectrl_adc_ctrl1_rev7);
  16248. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16249. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16250. AFE_VCM_CAL_MASTER, 0x0);
  16251. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16252. AFE_SET_VCM_I, 0x3f);
  16253. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16254. AFE_SET_VCM_Q, 0x3f);
  16255. }
  16256. } else {
  16257. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  16258. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  16259. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  16260. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  16261. mod_phy_reg(pi, 0xa6, (0x1 << 0), 0);
  16262. mod_phy_reg(pi, 0x8f, (0x1 << 0), (0x1 << 0));
  16263. mod_phy_reg(pi, 0xa7, (0x1 << 0), 0);
  16264. mod_phy_reg(pi, 0xa5, (0x1 << 0), (0x1 << 0));
  16265. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16266. 0x05, 16,
  16267. &afectrl_adc_ctrl2_rev7);
  16268. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16269. 0x15, 16,
  16270. &afectrl_adc_ctrl2_rev7);
  16271. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  16272. mod_phy_reg(pi, 0x8f, (0x1 << 2), 0);
  16273. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  16274. mod_phy_reg(pi, 0xa5, (0x1 << 2), 0);
  16275. }
  16276. write_phy_reg(pi, 0x6a, 0x2);
  16277. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 256, 32,
  16278. &min_nvar_offset_6mbps);
  16279. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x138, 16,
  16280. &rfseq_pktgn_lpf_hpc_rev7);
  16281. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x141, 16,
  16282. &rfseq_pktgn_lpf_h_hpc_rev7);
  16283. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 3, 0x133, 16,
  16284. &rfseq_htpktgn_lpf_hpc_rev7);
  16285. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x146, 16,
  16286. &rfseq_cckpktgn_lpf_hpc_rev7);
  16287. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x123, 16,
  16288. &rfseq_tx2rx_lpf_h_hpc_rev7);
  16289. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x12A, 16,
  16290. &rfseq_rx2tx_lpf_h_hpc_rev7);
  16291. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16292. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16293. 32, &min_nvar_val);
  16294. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16295. 127, 32, &min_nvar_val);
  16296. } else {
  16297. min_nvar_val = noise_var_tbl_rev7[3];
  16298. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16299. 32, &min_nvar_val);
  16300. min_nvar_val = noise_var_tbl_rev7[127];
  16301. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16302. 127, 32, &min_nvar_val);
  16303. }
  16304. wlc_phy_workarounds_nphy_gainctrl(pi);
  16305. pdetrange =
  16306. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16307. pdetrange : pi->srom_fem2g.pdetrange;
  16308. if (pdetrange == 0) {
  16309. chan_freq_range =
  16310. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16311. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16312. aux_adc_vmid_rev7_core0[3] = 0x70;
  16313. aux_adc_vmid_rev7_core1[3] = 0x70;
  16314. aux_adc_gain_rev7[3] = 2;
  16315. } else {
  16316. aux_adc_vmid_rev7_core0[3] = 0x80;
  16317. aux_adc_vmid_rev7_core1[3] = 0x80;
  16318. aux_adc_gain_rev7[3] = 3;
  16319. }
  16320. } else if (pdetrange == 1) {
  16321. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16322. aux_adc_vmid_rev7_core0[3] = 0x7c;
  16323. aux_adc_vmid_rev7_core1[3] = 0x7c;
  16324. aux_adc_gain_rev7[3] = 2;
  16325. } else {
  16326. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16327. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16328. aux_adc_gain_rev7[3] = 1;
  16329. }
  16330. } else if (pdetrange == 2) {
  16331. if (pi->pubpi.radioid == BCM2057_ID) {
  16332. if ((pi->pubpi.radiorev == 5)
  16333. || (pi->pubpi.radiorev == 7)
  16334. || (pi->pubpi.radiorev == 8)) {
  16335. if (chan_freq_range ==
  16336. WL_CHAN_FREQ_RANGE_2G) {
  16337. aux_adc_vmid_rev7_core0[3] =
  16338. 0x8c;
  16339. aux_adc_vmid_rev7_core1[3] =
  16340. 0x8c;
  16341. aux_adc_gain_rev7[3] = 0;
  16342. } else {
  16343. aux_adc_vmid_rev7_core0[3] =
  16344. 0x96;
  16345. aux_adc_vmid_rev7_core1[3] =
  16346. 0x96;
  16347. aux_adc_gain_rev7[3] = 0;
  16348. }
  16349. }
  16350. }
  16351. } else if (pdetrange == 3) {
  16352. if (chan_freq_range == WL_CHAN_FREQ_RANGE_2G) {
  16353. aux_adc_vmid_rev7_core0[3] = 0x89;
  16354. aux_adc_vmid_rev7_core1[3] = 0x89;
  16355. aux_adc_gain_rev7[3] = 0;
  16356. }
  16357. } else if (pdetrange == 5) {
  16358. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16359. aux_adc_vmid_rev7_core0[3] = 0x80;
  16360. aux_adc_vmid_rev7_core1[3] = 0x80;
  16361. aux_adc_gain_rev7[3] = 3;
  16362. } else {
  16363. aux_adc_vmid_rev7_core0[3] = 0x70;
  16364. aux_adc_vmid_rev7_core1[3] = 0x70;
  16365. aux_adc_gain_rev7[3] = 2;
  16366. }
  16367. }
  16368. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x08, 16,
  16369. &aux_adc_vmid_rev7_core0);
  16370. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x18, 16,
  16371. &aux_adc_vmid_rev7_core1);
  16372. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x0c, 16,
  16373. &aux_adc_gain_rev7);
  16374. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x1c, 16,
  16375. &aux_adc_gain_rev7);
  16376. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16377. write_phy_reg(pi, 0x23f, 0x1f8);
  16378. write_phy_reg(pi, 0x240, 0x1f8);
  16379. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16380. 1, 0, 32, &leg_data_weights);
  16381. leg_data_weights = leg_data_weights & 0xffffff;
  16382. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16383. 1, 0, 32, &leg_data_weights);
  16384. alpha0 = 293;
  16385. alpha1 = 435;
  16386. alpha2 = 261;
  16387. beta0 = 366;
  16388. beta1 = 205;
  16389. beta2 = 32;
  16390. write_phy_reg(pi, 0x145, alpha0);
  16391. write_phy_reg(pi, 0x146, alpha1);
  16392. write_phy_reg(pi, 0x147, alpha2);
  16393. write_phy_reg(pi, 0x148, beta0);
  16394. write_phy_reg(pi, 0x149, beta1);
  16395. write_phy_reg(pi, 0x14a, beta2);
  16396. write_phy_reg(pi, 0x38, 0xC);
  16397. write_phy_reg(pi, 0x2ae, 0xC);
  16398. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX,
  16399. rfseq_tx2rx_events_rev3,
  16400. rfseq_tx2rx_dlys_rev3,
  16401. sizeof(rfseq_tx2rx_events_rev3) /
  16402. sizeof(rfseq_tx2rx_events_rev3[0]));
  16403. if (PHY_IPA(pi))
  16404. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16405. rfseq_rx2tx_events_rev3_ipa,
  16406. rfseq_rx2tx_dlys_rev3_ipa,
  16407. sizeof
  16408. (rfseq_rx2tx_events_rev3_ipa) /
  16409. sizeof
  16410. (rfseq_rx2tx_events_rev3_ipa
  16411. [0]));
  16412. if ((pi->sh->hw_phyrxchain != 0x3) &&
  16413. (pi->sh->hw_phyrxchain != pi->sh->hw_phytxchain)) {
  16414. if (PHY_IPA(pi)) {
  16415. rfseq_rx2tx_dlys_rev3[5] = 59;
  16416. rfseq_rx2tx_dlys_rev3[6] = 1;
  16417. rfseq_rx2tx_events_rev3[7] =
  16418. NPHY_REV3_RFSEQ_CMD_END;
  16419. }
  16420. wlc_phy_set_rfseq_nphy(
  16421. pi, NPHY_RFSEQ_RX2TX,
  16422. rfseq_rx2tx_events_rev3,
  16423. rfseq_rx2tx_dlys_rev3,
  16424. sizeof(rfseq_rx2tx_events_rev3) /
  16425. sizeof(rfseq_rx2tx_events_rev3[0]));
  16426. }
  16427. if (CHSPEC_IS2G(pi->radio_chanspec))
  16428. write_phy_reg(pi, 0x6a, 0x2);
  16429. else
  16430. write_phy_reg(pi, 0x6a, 0x9c40);
  16431. mod_phy_reg(pi, 0x294, (0xf << 8), (7 << 8));
  16432. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16433. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16434. 32, &min_nvar_val);
  16435. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16436. 127, 32, &min_nvar_val);
  16437. } else {
  16438. min_nvar_val = noise_var_tbl_rev3[3];
  16439. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16440. 32, &min_nvar_val);
  16441. min_nvar_val = noise_var_tbl_rev3[127];
  16442. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16443. 127, 32, &min_nvar_val);
  16444. }
  16445. wlc_phy_workarounds_nphy_gainctrl(pi);
  16446. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  16447. &dac_control);
  16448. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  16449. &dac_control);
  16450. pdetrange =
  16451. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16452. pdetrange : pi->srom_fem2g.pdetrange;
  16453. if (pdetrange == 0) {
  16454. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  16455. aux_adc_vmid = aux_adc_vmid_rev4;
  16456. aux_adc_gain = aux_adc_gain_rev4;
  16457. } else {
  16458. aux_adc_vmid = aux_adc_vmid_rev3;
  16459. aux_adc_gain = aux_adc_gain_rev3;
  16460. }
  16461. chan_freq_range =
  16462. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16463. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16464. switch (chan_freq_range) {
  16465. case WL_CHAN_FREQ_RANGE_5GL:
  16466. aux_adc_vmid[3] = 0x89;
  16467. aux_adc_gain[3] = 0;
  16468. break;
  16469. case WL_CHAN_FREQ_RANGE_5GM:
  16470. aux_adc_vmid[3] = 0x89;
  16471. aux_adc_gain[3] = 0;
  16472. break;
  16473. case WL_CHAN_FREQ_RANGE_5GH:
  16474. aux_adc_vmid[3] = 0x89;
  16475. aux_adc_gain[3] = 0;
  16476. break;
  16477. default:
  16478. break;
  16479. }
  16480. }
  16481. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16482. 0x08, 16, aux_adc_vmid);
  16483. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16484. 0x18, 16, aux_adc_vmid);
  16485. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16486. 0x0c, 16, aux_adc_gain);
  16487. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16488. 0x1c, 16, aux_adc_gain);
  16489. } else if (pdetrange == 1) {
  16490. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16491. 0x08, 16, sk_adc_vmid);
  16492. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16493. 0x18, 16, sk_adc_vmid);
  16494. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16495. 0x0c, 16, sk_adc_gain);
  16496. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16497. 0x1c, 16, sk_adc_gain);
  16498. } else if (pdetrange == 2) {
  16499. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x74 };
  16500. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x04 };
  16501. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16502. chan_freq_range =
  16503. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16504. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16505. bcm_adc_vmid[3] = 0x8e;
  16506. bcm_adc_gain[3] = 0x03;
  16507. } else {
  16508. bcm_adc_vmid[3] = 0x94;
  16509. bcm_adc_gain[3] = 0x03;
  16510. }
  16511. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  16512. bcm_adc_vmid[3] = 0x84;
  16513. bcm_adc_gain[3] = 0x02;
  16514. }
  16515. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16516. 0x08, 16, bcm_adc_vmid);
  16517. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16518. 0x18, 16, bcm_adc_vmid);
  16519. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16520. 0x0c, 16, bcm_adc_gain);
  16521. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16522. 0x1c, 16, bcm_adc_gain);
  16523. } else if (pdetrange == 3) {
  16524. chan_freq_range =
  16525. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16526. if ((NREV_GE(pi->pubpi.phy_rev, 4))
  16527. && (chan_freq_range == WL_CHAN_FREQ_RANGE_2G)) {
  16528. u16 auxadc_vmid[] = {
  16529. 0xa2, 0xb4, 0xb4, 0x270
  16530. };
  16531. u16 auxadc_gain[] = {
  16532. 0x02, 0x02, 0x02, 0x00
  16533. };
  16534. wlc_phy_table_write_nphy(pi,
  16535. NPHY_TBL_ID_AFECTRL, 4,
  16536. 0x08, 16, auxadc_vmid);
  16537. wlc_phy_table_write_nphy(pi,
  16538. NPHY_TBL_ID_AFECTRL, 4,
  16539. 0x18, 16, auxadc_vmid);
  16540. wlc_phy_table_write_nphy(pi,
  16541. NPHY_TBL_ID_AFECTRL, 4,
  16542. 0x0c, 16, auxadc_gain);
  16543. wlc_phy_table_write_nphy(pi,
  16544. NPHY_TBL_ID_AFECTRL, 4,
  16545. 0x1c, 16, auxadc_gain);
  16546. }
  16547. } else if ((pdetrange == 4) || (pdetrange == 5)) {
  16548. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x0 };
  16549. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x0 };
  16550. u16 Vmid[2], Av[2];
  16551. chan_freq_range =
  16552. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16553. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16554. Vmid[0] = (pdetrange == 4) ? 0x8e : 0x89;
  16555. Vmid[1] = (pdetrange == 4) ? 0x96 : 0x89;
  16556. Av[0] = (pdetrange == 4) ? 2 : 0;
  16557. Av[1] = (pdetrange == 4) ? 2 : 0;
  16558. } else {
  16559. Vmid[0] = (pdetrange == 4) ? 0x89 : 0x74;
  16560. Vmid[1] = (pdetrange == 4) ? 0x8b : 0x70;
  16561. Av[0] = (pdetrange == 4) ? 2 : 0;
  16562. Av[1] = (pdetrange == 4) ? 2 : 0;
  16563. }
  16564. bcm_adc_vmid[3] = Vmid[0];
  16565. bcm_adc_gain[3] = Av[0];
  16566. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16567. 0x08, 16, bcm_adc_vmid);
  16568. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16569. 0x0c, 16, bcm_adc_gain);
  16570. bcm_adc_vmid[3] = Vmid[1];
  16571. bcm_adc_gain[3] = Av[1];
  16572. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16573. 0x18, 16, bcm_adc_vmid);
  16574. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16575. 0x1c, 16, bcm_adc_gain);
  16576. }
  16577. write_radio_reg(pi,
  16578. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX0),
  16579. 0x0);
  16580. write_radio_reg(pi,
  16581. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX1),
  16582. 0x0);
  16583. write_radio_reg(pi,
  16584. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX0),
  16585. 0x6);
  16586. write_radio_reg(pi,
  16587. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX1),
  16588. 0x6);
  16589. write_radio_reg(pi,
  16590. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX0),
  16591. 0x7);
  16592. write_radio_reg(pi,
  16593. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX1),
  16594. 0x7);
  16595. write_radio_reg(pi,
  16596. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX0),
  16597. 0x88);
  16598. write_radio_reg(pi,
  16599. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX1),
  16600. 0x88);
  16601. write_radio_reg(pi,
  16602. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX0),
  16603. 0x0);
  16604. write_radio_reg(pi,
  16605. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX1),
  16606. 0x0);
  16607. write_radio_reg(pi,
  16608. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX0),
  16609. 0x0);
  16610. write_radio_reg(pi,
  16611. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX1),
  16612. 0x0);
  16613. triso =
  16614. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16615. triso : pi->srom_fem2g.triso;
  16616. if (triso == 7) {
  16617. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  16618. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  16619. }
  16620. wlc_phy_war_txchain_upd_nphy(pi, pi->sh->hw_phytxchain);
  16621. if (((pi->sh->boardflags2 & BFL2_APLL_WAR) &&
  16622. (CHSPEC_IS5G(pi->radio_chanspec))) ||
  16623. (((pi->sh->boardflags2 & BFL2_GPLL_WAR) ||
  16624. (pi->sh->boardflags2 & BFL2_GPLL_WAR2)) &&
  16625. (CHSPEC_IS2G(pi->radio_chanspec)))) {
  16626. nss1_data_weights = 0x00088888;
  16627. ht_data_weights = 0x00088888;
  16628. stbc_data_weights = 0x00088888;
  16629. } else {
  16630. nss1_data_weights = 0x88888888;
  16631. ht_data_weights = 0x88888888;
  16632. stbc_data_weights = 0x88888888;
  16633. }
  16634. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16635. 1, 1, 32, &nss1_data_weights);
  16636. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16637. 1, 2, 32, &ht_data_weights);
  16638. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16639. 1, 3, 32, &stbc_data_weights);
  16640. if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  16641. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  16642. write_radio_reg(pi,
  16643. RADIO_2056_TX_GMBB_IDAC |
  16644. RADIO_2056_TX0, 0x70);
  16645. write_radio_reg(pi,
  16646. RADIO_2056_TX_GMBB_IDAC |
  16647. RADIO_2056_TX1, 0x70);
  16648. }
  16649. }
  16650. if (!pi->edcrs_threshold_lock) {
  16651. write_phy_reg(pi, 0x224, 0x3eb);
  16652. write_phy_reg(pi, 0x225, 0x3eb);
  16653. write_phy_reg(pi, 0x226, 0x341);
  16654. write_phy_reg(pi, 0x227, 0x341);
  16655. write_phy_reg(pi, 0x228, 0x42b);
  16656. write_phy_reg(pi, 0x229, 0x42b);
  16657. write_phy_reg(pi, 0x22a, 0x381);
  16658. write_phy_reg(pi, 0x22b, 0x381);
  16659. write_phy_reg(pi, 0x22c, 0x42b);
  16660. write_phy_reg(pi, 0x22d, 0x42b);
  16661. write_phy_reg(pi, 0x22e, 0x381);
  16662. write_phy_reg(pi, 0x22f, 0x381);
  16663. }
  16664. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16665. if (pi->sh->boardflags2 & BFL2_SINGLEANT_CCK)
  16666. wlapi_bmac_mhf(pi->sh->physhim, MHF4,
  16667. MHF4_BPHY_TXCORE0,
  16668. MHF4_BPHY_TXCORE0, BRCM_BAND_ALL);
  16669. }
  16670. } else {
  16671. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD ||
  16672. (pi->sh->boardtype == 0x8b)) {
  16673. uint i;
  16674. u8 war_dlys[] = { 1, 6, 6, 2, 4, 20, 1 };
  16675. for (i = 0; i < ARRAY_SIZE(rfseq_rx2tx_dlys); i++)
  16676. rfseq_rx2tx_dlys[i] = war_dlys[i];
  16677. }
  16678. if (CHSPEC_IS5G(pi->radio_chanspec) && pi->phy_5g_pwrgain) {
  16679. and_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0xf7);
  16680. and_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0xf7);
  16681. } else {
  16682. or_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0x8);
  16683. or_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0x8);
  16684. }
  16685. regval = 0x000a;
  16686. wlc_phy_table_write_nphy(pi, 8, 1, 0, 16, &regval);
  16687. wlc_phy_table_write_nphy(pi, 8, 1, 0x10, 16, &regval);
  16688. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16689. regval = 0xcdaa;
  16690. wlc_phy_table_write_nphy(pi, 8, 1, 0x02, 16, &regval);
  16691. wlc_phy_table_write_nphy(pi, 8, 1, 0x12, 16, &regval);
  16692. }
  16693. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16694. regval = 0x0000;
  16695. wlc_phy_table_write_nphy(pi, 8, 1, 0x08, 16, &regval);
  16696. wlc_phy_table_write_nphy(pi, 8, 1, 0x18, 16, &regval);
  16697. regval = 0x7aab;
  16698. wlc_phy_table_write_nphy(pi, 8, 1, 0x07, 16, &regval);
  16699. wlc_phy_table_write_nphy(pi, 8, 1, 0x17, 16, &regval);
  16700. regval = 0x0800;
  16701. wlc_phy_table_write_nphy(pi, 8, 1, 0x06, 16, &regval);
  16702. wlc_phy_table_write_nphy(pi, 8, 1, 0x16, 16, &regval);
  16703. }
  16704. write_phy_reg(pi, 0xf8, 0x02d8);
  16705. write_phy_reg(pi, 0xf9, 0x0301);
  16706. write_phy_reg(pi, 0xfa, 0x02d8);
  16707. write_phy_reg(pi, 0xfb, 0x0301);
  16708. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX, rfseq_rx2tx_events,
  16709. rfseq_rx2tx_dlys,
  16710. sizeof(rfseq_rx2tx_events) /
  16711. sizeof(rfseq_rx2tx_events[0]));
  16712. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX, rfseq_tx2rx_events,
  16713. rfseq_tx2rx_dlys,
  16714. sizeof(rfseq_tx2rx_events) /
  16715. sizeof(rfseq_tx2rx_events[0]));
  16716. wlc_phy_workarounds_nphy_gainctrl(pi);
  16717. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16718. if (read_phy_reg(pi, 0xa0) & NPHY_MLenable)
  16719. wlapi_bmac_mhf(pi->sh->physhim, MHF3,
  16720. MHF3_NPHY_MLADV_WAR,
  16721. MHF3_NPHY_MLADV_WAR,
  16722. BRCM_BAND_ALL);
  16723. } else if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  16724. write_phy_reg(pi, 0x1e3, 0x0);
  16725. write_phy_reg(pi, 0x1e4, 0x0);
  16726. }
  16727. if (NREV_LT(pi->pubpi.phy_rev, 2))
  16728. mod_phy_reg(pi, 0x90, (0x1 << 7), 0);
  16729. alpha0 = 293;
  16730. alpha1 = 435;
  16731. alpha2 = 261;
  16732. beta0 = 366;
  16733. beta1 = 205;
  16734. beta2 = 32;
  16735. write_phy_reg(pi, 0x145, alpha0);
  16736. write_phy_reg(pi, 0x146, alpha1);
  16737. write_phy_reg(pi, 0x147, alpha2);
  16738. write_phy_reg(pi, 0x148, beta0);
  16739. write_phy_reg(pi, 0x149, beta1);
  16740. write_phy_reg(pi, 0x14a, beta2);
  16741. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16742. mod_phy_reg(pi, 0x142, (0xf << 12), 0);
  16743. write_phy_reg(pi, 0x192, 0xb5);
  16744. write_phy_reg(pi, 0x193, 0xa4);
  16745. write_phy_reg(pi, 0x194, 0x0);
  16746. }
  16747. if (NREV_IS(pi->pubpi.phy_rev, 2))
  16748. mod_phy_reg(pi, 0x221,
  16749. NPHY_FORCESIG_DECODEGATEDCLKS,
  16750. NPHY_FORCESIG_DECODEGATEDCLKS);
  16751. }
  16752. if (pi->phyhang_avoid)
  16753. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  16754. }
  16755. static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  16756. {
  16757. int j, type = 2;
  16758. u16 addr_offset = 0x2c5;
  16759. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  16760. write_phy_reg(pi, addr_offset + j,
  16761. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  16762. }
  16763. static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals)
  16764. {
  16765. if (write == 0) {
  16766. vals[0] = read_phy_reg(pi, 0x2c);
  16767. vals[1] = read_phy_reg(pi, 0x42);
  16768. } else {
  16769. write_phy_reg(pi, 0x2c, vals[0]);
  16770. write_phy_reg(pi, 0x42, vals[1]);
  16771. }
  16772. }
  16773. static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi)
  16774. {
  16775. u8 core;
  16776. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  16777. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16778. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16779. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16780. TX_SSI_MASTER, 0x5);
  16781. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16782. TX_SSI_MUX, 0xe);
  16783. if (pi->pubpi.radiorev != 5)
  16784. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16785. core, TSSIA, 0);
  16786. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16787. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16788. core, TSSIG, 0x1);
  16789. else
  16790. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16791. core, TSSIG, 0x31);
  16792. } else {
  16793. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16794. TX_SSI_MASTER, 0x9);
  16795. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16796. TX_SSI_MUX, 0xc);
  16797. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16798. TSSIG, 0);
  16799. if (pi->pubpi.radiorev != 5) {
  16800. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16801. WRITE_RADIO_REG3(pi, RADIO_2057,
  16802. TX, core,
  16803. TSSIA, 0x1);
  16804. else
  16805. WRITE_RADIO_REG3(pi, RADIO_2057,
  16806. TX, core,
  16807. TSSIA, 0x31);
  16808. }
  16809. }
  16810. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  16811. 0);
  16812. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  16813. 0);
  16814. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  16815. 0x3);
  16816. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  16817. 0x0);
  16818. }
  16819. } else {
  16820. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR31,
  16821. (CHSPEC_IS2G(pi->radio_chanspec)) ? 0x128 :
  16822. 0x80);
  16823. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR30, 0x0);
  16824. WRITE_RADIO_SYN(pi, RADIO_2056, GPIO_MASTER1, 0x29);
  16825. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16826. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_VCM_HG,
  16827. 0x0);
  16828. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_IDAC,
  16829. 0x0);
  16830. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_VCM,
  16831. 0x3);
  16832. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TX_AMP_DET,
  16833. 0x0);
  16834. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC1,
  16835. 0x8);
  16836. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC2,
  16837. 0x0);
  16838. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC3,
  16839. 0x0);
  16840. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16841. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16842. TX_SSI_MASTER, 0x5);
  16843. if (pi->pubpi.radiorev != 5)
  16844. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16845. core, TSSIA, 0x0);
  16846. if (NREV_GE(pi->pubpi.phy_rev, 5))
  16847. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16848. core, TSSIG, 0x31);
  16849. else
  16850. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16851. core, TSSIG, 0x11);
  16852. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16853. TX_SSI_MUX, 0xe);
  16854. } else {
  16855. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16856. TX_SSI_MASTER, 0x9);
  16857. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16858. TSSIA, 0x31);
  16859. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16860. TSSIG, 0x0);
  16861. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16862. TX_SSI_MUX, 0xc);
  16863. }
  16864. }
  16865. }
  16866. }
  16867. static void
  16868. wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value,
  16869. u8 core_mask, u8 off)
  16870. {
  16871. u8 core_num;
  16872. u16 addr = 0, mask = 0, en_addr = 0, val_addr = 0, en_mask =
  16873. 0, val_mask = 0;
  16874. u8 shift = 0, val_shift = 0;
  16875. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  16876. en_mask = field;
  16877. for (core_num = 0; core_num < 2; core_num++) {
  16878. switch (field) {
  16879. case (0x1 << 1):
  16880. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16881. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16882. val_mask = (0x1 << 0);
  16883. val_shift = 0;
  16884. break;
  16885. case (0x1 << 2):
  16886. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16887. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16888. val_mask = (0x1 << 1);
  16889. val_shift = 1;
  16890. break;
  16891. case (0x1 << 3):
  16892. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16893. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16894. val_mask = (0x1 << 2);
  16895. val_shift = 2;
  16896. break;
  16897. case (0x1 << 4):
  16898. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16899. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16900. val_mask = (0x1 << 4);
  16901. val_shift = 4;
  16902. break;
  16903. case (0x1 << 5):
  16904. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16905. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16906. val_mask = (0x1 << 5);
  16907. val_shift = 5;
  16908. break;
  16909. case (0x1 << 6):
  16910. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16911. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16912. val_mask = (0x1 << 6);
  16913. val_shift = 6;
  16914. break;
  16915. case (0x1 << 7):
  16916. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16917. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16918. val_mask = (0x1 << 7);
  16919. val_shift = 7;
  16920. break;
  16921. case (0x1 << 8):
  16922. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16923. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16924. val_mask = (0x7 << 8);
  16925. val_shift = 8;
  16926. break;
  16927. case (0x1 << 11):
  16928. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16929. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16930. val_mask = (0x7 << 13);
  16931. val_shift = 13;
  16932. break;
  16933. case (0x1 << 9):
  16934. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16935. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16936. val_mask = (0x7 << 0);
  16937. val_shift = 0;
  16938. break;
  16939. case (0x1 << 10):
  16940. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16941. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16942. val_mask = (0x7 << 4);
  16943. val_shift = 4;
  16944. break;
  16945. case (0x1 << 12):
  16946. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16947. val_addr = (core_num == 0) ? 0x7b : 0x7e;
  16948. val_mask = (0xffff << 0);
  16949. val_shift = 0;
  16950. break;
  16951. case (0x1 << 13):
  16952. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16953. val_addr = (core_num == 0) ? 0x7c : 0x7f;
  16954. val_mask = (0xffff << 0);
  16955. val_shift = 0;
  16956. break;
  16957. case (0x1 << 14):
  16958. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16959. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16960. val_mask = (0x3 << 6);
  16961. val_shift = 6;
  16962. break;
  16963. case (0x1 << 0):
  16964. en_addr = (core_num == 0) ? 0xe5 : 0xe6;
  16965. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16966. val_mask = (0x1 << 15);
  16967. val_shift = 15;
  16968. break;
  16969. default:
  16970. addr = 0xffff;
  16971. break;
  16972. }
  16973. if (off) {
  16974. and_phy_reg(pi, en_addr, ~en_mask);
  16975. and_phy_reg(pi, val_addr, ~val_mask);
  16976. } else {
  16977. if ((core_mask == 0)
  16978. || (core_mask & (1 << core_num))) {
  16979. or_phy_reg(pi, en_addr, en_mask);
  16980. if (addr != 0xffff)
  16981. mod_phy_reg(pi, val_addr,
  16982. val_mask,
  16983. (value <<
  16984. val_shift));
  16985. }
  16986. }
  16987. }
  16988. } else {
  16989. if (off) {
  16990. and_phy_reg(pi, 0xec, ~field);
  16991. value = 0x0;
  16992. } else {
  16993. or_phy_reg(pi, 0xec, field);
  16994. }
  16995. for (core_num = 0; core_num < 2; core_num++) {
  16996. switch (field) {
  16997. case (0x1 << 1):
  16998. case (0x1 << 9):
  16999. case (0x1 << 12):
  17000. case (0x1 << 13):
  17001. case (0x1 << 14):
  17002. addr = 0x78;
  17003. core_mask = 0x1;
  17004. break;
  17005. case (0x1 << 2):
  17006. case (0x1 << 3):
  17007. case (0x1 << 4):
  17008. case (0x1 << 5):
  17009. case (0x1 << 6):
  17010. case (0x1 << 7):
  17011. case (0x1 << 8):
  17012. addr = (core_num == 0) ? 0x7a : 0x7d;
  17013. break;
  17014. case (0x1 << 10):
  17015. addr = (core_num == 0) ? 0x7b : 0x7e;
  17016. break;
  17017. case (0x1 << 11):
  17018. addr = (core_num == 0) ? 0x7c : 0x7f;
  17019. break;
  17020. default:
  17021. addr = 0xffff;
  17022. }
  17023. switch (field) {
  17024. case (0x1 << 1):
  17025. mask = (0x7 << 3);
  17026. shift = 3;
  17027. break;
  17028. case (0x1 << 9):
  17029. mask = (0x1 << 2);
  17030. shift = 2;
  17031. break;
  17032. case (0x1 << 12):
  17033. mask = (0x1 << 8);
  17034. shift = 8;
  17035. break;
  17036. case (0x1 << 13):
  17037. mask = (0x1 << 9);
  17038. shift = 9;
  17039. break;
  17040. case (0x1 << 14):
  17041. mask = (0xf << 12);
  17042. shift = 12;
  17043. break;
  17044. case (0x1 << 2):
  17045. mask = (0x1 << 0);
  17046. shift = 0;
  17047. break;
  17048. case (0x1 << 3):
  17049. mask = (0x1 << 1);
  17050. shift = 1;
  17051. break;
  17052. case (0x1 << 4):
  17053. mask = (0x1 << 2);
  17054. shift = 2;
  17055. break;
  17056. case (0x1 << 5):
  17057. mask = (0x3 << 4);
  17058. shift = 4;
  17059. break;
  17060. case (0x1 << 6):
  17061. mask = (0x3 << 6);
  17062. shift = 6;
  17063. break;
  17064. case (0x1 << 7):
  17065. mask = (0x1 << 8);
  17066. shift = 8;
  17067. break;
  17068. case (0x1 << 8):
  17069. mask = (0x1 << 9);
  17070. shift = 9;
  17071. break;
  17072. case (0x1 << 10):
  17073. mask = 0x1fff;
  17074. shift = 0x0;
  17075. break;
  17076. case (0x1 << 11):
  17077. mask = 0x1fff;
  17078. shift = 0x0;
  17079. break;
  17080. default:
  17081. mask = 0x0;
  17082. shift = 0x0;
  17083. break;
  17084. }
  17085. if ((addr != 0xffff) && (core_mask & (1 << core_num)))
  17086. mod_phy_reg(pi, addr, mask, (value << shift));
  17087. }
  17088. or_phy_reg(pi, 0xec, (0x1 << 0));
  17089. or_phy_reg(pi, 0x78, (0x1 << 0));
  17090. udelay(1);
  17091. and_phy_reg(pi, 0xec, ~(0x1 << 0));
  17092. }
  17093. }
  17094. static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi)
  17095. {
  17096. s32 rssi_buf[4];
  17097. s32 int_val;
  17098. if (SCAN_RM_IN_PROGRESS(pi) || PLT_INPROG_PHY(pi) || PHY_MUTED(pi))
  17099. return;
  17100. if (PHY_IPA(pi))
  17101. wlc_phy_ipa_internal_tssi_setup_nphy(pi);
  17102. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17103. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17104. 0, 0x3, 0,
  17105. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17106. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17107. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 0);
  17108. wlc_phy_stopplayback_nphy(pi);
  17109. wlc_phy_tx_tone_nphy(pi, 4000, 0, 0, 0, false);
  17110. udelay(20);
  17111. int_val =
  17112. wlc_phy_poll_rssi_nphy(pi, (u8) NPHY_RSSI_SEL_TSSI_2G, rssi_buf,
  17113. 1);
  17114. wlc_phy_stopplayback_nphy(pi);
  17115. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, 0);
  17116. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17117. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17118. 0, 0x3, 1,
  17119. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17120. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17121. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 1);
  17122. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17123. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17124. (u8) ((int_val >> 24) & 0xff);
  17125. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17126. (u8) ((int_val >> 24) & 0xff);
  17127. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17128. (u8) ((int_val >> 8) & 0xff);
  17129. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17130. (u8) ((int_val >> 8) & 0xff);
  17131. } else {
  17132. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17133. (u8) ((int_val >> 24) & 0xff);
  17134. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17135. (u8) ((int_val >> 8) & 0xff);
  17136. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17137. (u8) ((int_val >> 16) & 0xff);
  17138. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17139. (u8) ((int_val) & 0xff);
  17140. }
  17141. }
  17142. static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi)
  17143. {
  17144. u8 idx, idx2, i, delta_ind;
  17145. for (idx = TXP_FIRST_CCK; idx <= TXP_LAST_CCK; idx++)
  17146. pi->adj_pwr_tbl_nphy[idx] = pi->tx_power_offset[idx];
  17147. for (i = 0; i < 4; i++) {
  17148. idx2 = 0;
  17149. delta_ind = 0;
  17150. switch (i) {
  17151. case 0:
  17152. if (CHSPEC_IS40(pi->radio_chanspec)
  17153. && NPHY_IS_SROM_REINTERPRET) {
  17154. idx = TXP_FIRST_MCS_40_SISO;
  17155. } else {
  17156. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17157. TXP_FIRST_OFDM_40_SISO : TXP_FIRST_OFDM;
  17158. delta_ind = 1;
  17159. }
  17160. break;
  17161. case 1:
  17162. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17163. TXP_FIRST_MCS_40_CDD : TXP_FIRST_MCS_20_CDD;
  17164. break;
  17165. case 2:
  17166. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17167. TXP_FIRST_MCS_40_STBC : TXP_FIRST_MCS_20_STBC;
  17168. break;
  17169. case 3:
  17170. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17171. TXP_FIRST_MCS_40_SDM : TXP_FIRST_MCS_20_SDM;
  17172. break;
  17173. }
  17174. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17175. pi->tx_power_offset[idx];
  17176. idx = idx + delta_ind;
  17177. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17178. pi->tx_power_offset[idx];
  17179. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17180. pi->tx_power_offset[idx];
  17181. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17182. pi->tx_power_offset[idx++];
  17183. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17184. pi->tx_power_offset[idx++];
  17185. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17186. pi->tx_power_offset[idx];
  17187. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17188. pi->tx_power_offset[idx];
  17189. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17190. pi->tx_power_offset[idx++];
  17191. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17192. pi->tx_power_offset[idx++];
  17193. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17194. pi->tx_power_offset[idx];
  17195. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17196. pi->tx_power_offset[idx];
  17197. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17198. pi->tx_power_offset[idx++];
  17199. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17200. pi->tx_power_offset[idx];
  17201. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17202. pi->tx_power_offset[idx++];
  17203. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17204. pi->tx_power_offset[idx];
  17205. idx = idx + 1 - delta_ind;
  17206. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17207. pi->tx_power_offset[idx];
  17208. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17209. pi->tx_power_offset[idx];
  17210. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17211. pi->tx_power_offset[idx];
  17212. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17213. pi->tx_power_offset[idx];
  17214. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17215. pi->tx_power_offset[idx];
  17216. }
  17217. }
  17218. static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi)
  17219. {
  17220. u32 idx;
  17221. s16 a1[2], b0[2], b1[2];
  17222. s8 target_pwr_qtrdbm[2];
  17223. s32 num, den, pwr_est;
  17224. u8 chan_freq_range;
  17225. u8 idle_tssi[2];
  17226. u32 tbl_id, tbl_len, tbl_offset;
  17227. u32 regval[64];
  17228. u8 core;
  17229. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17230. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17231. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17232. udelay(1);
  17233. }
  17234. if (pi->phyhang_avoid)
  17235. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17236. or_phy_reg(pi, 0x122, (0x1 << 0));
  17237. if (NREV_GE(pi->pubpi.phy_rev, 3))
  17238. and_phy_reg(pi, 0x1e7, (u16) (~(0x1 << 15)));
  17239. else
  17240. or_phy_reg(pi, 0x1e7, (0x1 << 15));
  17241. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17242. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17243. if (pi->sh->sromrev < 4) {
  17244. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17245. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17246. a1[0] = -424;
  17247. a1[1] = -424;
  17248. b0[0] = 5612;
  17249. b0[1] = 5612;
  17250. b1[1] = -1393;
  17251. b1[0] = -1393;
  17252. } else {
  17253. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  17254. switch (chan_freq_range) {
  17255. case WL_CHAN_FREQ_RANGE_2G:
  17256. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17257. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17258. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_a1;
  17259. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_a1;
  17260. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b0;
  17261. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b0;
  17262. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b1;
  17263. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b1;
  17264. break;
  17265. case WL_CHAN_FREQ_RANGE_5GL:
  17266. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17267. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17268. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1;
  17269. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1;
  17270. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0;
  17271. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0;
  17272. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1;
  17273. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1;
  17274. break;
  17275. case WL_CHAN_FREQ_RANGE_5GM:
  17276. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17277. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17278. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_a1;
  17279. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_a1;
  17280. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b0;
  17281. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b0;
  17282. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b1;
  17283. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b1;
  17284. break;
  17285. case WL_CHAN_FREQ_RANGE_5GH:
  17286. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17287. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17288. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1;
  17289. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1;
  17290. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0;
  17291. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0;
  17292. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1;
  17293. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1;
  17294. break;
  17295. default:
  17296. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17297. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17298. a1[0] = -424;
  17299. a1[1] = -424;
  17300. b0[0] = 5612;
  17301. b0[1] = 5612;
  17302. b1[1] = -1393;
  17303. b1[0] = -1393;
  17304. break;
  17305. }
  17306. }
  17307. /* use the provided transmit power */
  17308. target_pwr_qtrdbm[0] = (s8) pi->tx_power_max;
  17309. target_pwr_qtrdbm[1] = (s8) pi->tx_power_max;
  17310. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17311. if (pi->srom_fem2g.tssipos)
  17312. or_phy_reg(pi, 0x1e9, (0x1 << 14));
  17313. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17314. for (core = 0; core <= 1; core++) {
  17315. if (PHY_IPA(pi)) {
  17316. if (CHSPEC_IS2G(pi->radio_chanspec))
  17317. WRITE_RADIO_REG3(pi, RADIO_2057,
  17318. TX, core,
  17319. TX_SSI_MUX,
  17320. 0xe);
  17321. else
  17322. WRITE_RADIO_REG3(pi, RADIO_2057,
  17323. TX, core,
  17324. TX_SSI_MUX,
  17325. 0xc);
  17326. }
  17327. }
  17328. } else {
  17329. if (PHY_IPA(pi)) {
  17330. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17331. RADIO_2056_TX0,
  17332. (CHSPEC_IS5G
  17333. (pi->radio_chanspec)) ?
  17334. 0xc : 0xe);
  17335. write_radio_reg(pi,
  17336. RADIO_2056_TX_TX_SSI_MUX |
  17337. RADIO_2056_TX1,
  17338. (CHSPEC_IS5G
  17339. (pi->radio_chanspec)) ?
  17340. 0xc : 0xe);
  17341. } else {
  17342. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17343. RADIO_2056_TX0, 0x11);
  17344. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17345. RADIO_2056_TX1, 0x11);
  17346. }
  17347. }
  17348. }
  17349. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17350. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17351. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17352. udelay(1);
  17353. }
  17354. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17355. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17356. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17357. else
  17358. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17359. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17360. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17361. mod_phy_reg(pi, 0x222, (0xff << 0),
  17362. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17363. else if (NREV_GT(pi->pubpi.phy_rev, 1))
  17364. mod_phy_reg(pi, 0x222, (0xff << 0),
  17365. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17366. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17367. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17368. write_phy_reg(pi, 0x1e8, (0x3 << 8) | (240 << 0));
  17369. write_phy_reg(pi, 0x1e9,
  17370. (1 << 15) | (idle_tssi[0] << 0) | (idle_tssi[1] << 8));
  17371. write_phy_reg(pi, 0x1ea,
  17372. (target_pwr_qtrdbm[0] << 0) |
  17373. (target_pwr_qtrdbm[1] << 8));
  17374. tbl_len = 64;
  17375. tbl_offset = 0;
  17376. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  17377. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  17378. for (idx = 0; idx < tbl_len; idx++) {
  17379. num = 8 *
  17380. (16 * b0[tbl_id - 26] + b1[tbl_id - 26] * idx);
  17381. den = 32768 + a1[tbl_id - 26] * idx;
  17382. pwr_est = max(((4 * num + den / 2) / den), -8);
  17383. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  17384. if (idx <=
  17385. (uint) (31 - idle_tssi[tbl_id - 26] + 1))
  17386. pwr_est =
  17387. max(pwr_est,
  17388. target_pwr_qtrdbm
  17389. [tbl_id - 26] + 1);
  17390. }
  17391. regval[idx] = (u32) pwr_est;
  17392. }
  17393. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  17394. regval);
  17395. }
  17396. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  17397. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64, 8,
  17398. pi->adj_pwr_tbl_nphy);
  17399. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64, 8,
  17400. pi->adj_pwr_tbl_nphy);
  17401. if (pi->phyhang_avoid)
  17402. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17403. }
  17404. static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi)
  17405. {
  17406. u32 *tx_pwrctrl_tbl = NULL;
  17407. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17408. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17409. if ((pi->pubpi.radiorev == 4)
  17410. || (pi->pubpi.radiorev == 6))
  17411. tx_pwrctrl_tbl =
  17412. nphy_tpc_txgain_ipa_2g_2057rev4n6;
  17413. else if (pi->pubpi.radiorev == 3)
  17414. tx_pwrctrl_tbl =
  17415. nphy_tpc_txgain_ipa_2g_2057rev3;
  17416. else if (pi->pubpi.radiorev == 5)
  17417. tx_pwrctrl_tbl =
  17418. nphy_tpc_txgain_ipa_2g_2057rev5;
  17419. else if ((pi->pubpi.radiorev == 7)
  17420. || (pi->pubpi.radiorev == 8))
  17421. tx_pwrctrl_tbl =
  17422. nphy_tpc_txgain_ipa_2g_2057rev7;
  17423. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17424. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev6;
  17425. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17426. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17427. } else {
  17428. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa;
  17429. }
  17430. } else {
  17431. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17432. if ((pi->pubpi.radiorev == 3) ||
  17433. (pi->pubpi.radiorev == 4) ||
  17434. (pi->pubpi.radiorev == 6))
  17435. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g_2057;
  17436. else if ((pi->pubpi.radiorev == 7)
  17437. || (pi->pubpi.radiorev == 8))
  17438. tx_pwrctrl_tbl =
  17439. nphy_tpc_txgain_ipa_5g_2057rev7;
  17440. } else {
  17441. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g;
  17442. }
  17443. }
  17444. return tx_pwrctrl_tbl;
  17445. }
  17446. static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi)
  17447. {
  17448. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17449. if (pi->nphy_rssical_chanspec_2G == 0)
  17450. return;
  17451. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17452. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17453. RADIO_2057_VCM_MASK,
  17454. pi->rssical_cache.
  17455. rssical_radio_regs_2G[0]);
  17456. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17457. RADIO_2057_VCM_MASK,
  17458. pi->rssical_cache.
  17459. rssical_radio_regs_2G[1]);
  17460. } else {
  17461. mod_radio_reg(pi,
  17462. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17463. RADIO_2056_VCM_MASK,
  17464. pi->rssical_cache.
  17465. rssical_radio_regs_2G[0]);
  17466. mod_radio_reg(pi,
  17467. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17468. RADIO_2056_VCM_MASK,
  17469. pi->rssical_cache.
  17470. rssical_radio_regs_2G[1]);
  17471. }
  17472. write_phy_reg(pi, 0x1a6,
  17473. pi->rssical_cache.rssical_phyregs_2G[0]);
  17474. write_phy_reg(pi, 0x1ac,
  17475. pi->rssical_cache.rssical_phyregs_2G[1]);
  17476. write_phy_reg(pi, 0x1b2,
  17477. pi->rssical_cache.rssical_phyregs_2G[2]);
  17478. write_phy_reg(pi, 0x1b8,
  17479. pi->rssical_cache.rssical_phyregs_2G[3]);
  17480. write_phy_reg(pi, 0x1a4,
  17481. pi->rssical_cache.rssical_phyregs_2G[4]);
  17482. write_phy_reg(pi, 0x1aa,
  17483. pi->rssical_cache.rssical_phyregs_2G[5]);
  17484. write_phy_reg(pi, 0x1b0,
  17485. pi->rssical_cache.rssical_phyregs_2G[6]);
  17486. write_phy_reg(pi, 0x1b6,
  17487. pi->rssical_cache.rssical_phyregs_2G[7]);
  17488. write_phy_reg(pi, 0x1a5,
  17489. pi->rssical_cache.rssical_phyregs_2G[8]);
  17490. write_phy_reg(pi, 0x1ab,
  17491. pi->rssical_cache.rssical_phyregs_2G[9]);
  17492. write_phy_reg(pi, 0x1b1,
  17493. pi->rssical_cache.rssical_phyregs_2G[10]);
  17494. write_phy_reg(pi, 0x1b7,
  17495. pi->rssical_cache.rssical_phyregs_2G[11]);
  17496. } else {
  17497. if (pi->nphy_rssical_chanspec_5G == 0)
  17498. return;
  17499. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17500. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17501. RADIO_2057_VCM_MASK,
  17502. pi->rssical_cache.
  17503. rssical_radio_regs_5G[0]);
  17504. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17505. RADIO_2057_VCM_MASK,
  17506. pi->rssical_cache.
  17507. rssical_radio_regs_5G[1]);
  17508. } else {
  17509. mod_radio_reg(pi,
  17510. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17511. RADIO_2056_VCM_MASK,
  17512. pi->rssical_cache.
  17513. rssical_radio_regs_5G[0]);
  17514. mod_radio_reg(pi,
  17515. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17516. RADIO_2056_VCM_MASK,
  17517. pi->rssical_cache.
  17518. rssical_radio_regs_5G[1]);
  17519. }
  17520. write_phy_reg(pi, 0x1a6,
  17521. pi->rssical_cache.rssical_phyregs_5G[0]);
  17522. write_phy_reg(pi, 0x1ac,
  17523. pi->rssical_cache.rssical_phyregs_5G[1]);
  17524. write_phy_reg(pi, 0x1b2,
  17525. pi->rssical_cache.rssical_phyregs_5G[2]);
  17526. write_phy_reg(pi, 0x1b8,
  17527. pi->rssical_cache.rssical_phyregs_5G[3]);
  17528. write_phy_reg(pi, 0x1a4,
  17529. pi->rssical_cache.rssical_phyregs_5G[4]);
  17530. write_phy_reg(pi, 0x1aa,
  17531. pi->rssical_cache.rssical_phyregs_5G[5]);
  17532. write_phy_reg(pi, 0x1b0,
  17533. pi->rssical_cache.rssical_phyregs_5G[6]);
  17534. write_phy_reg(pi, 0x1b6,
  17535. pi->rssical_cache.rssical_phyregs_5G[7]);
  17536. write_phy_reg(pi, 0x1a5,
  17537. pi->rssical_cache.rssical_phyregs_5G[8]);
  17538. write_phy_reg(pi, 0x1ab,
  17539. pi->rssical_cache.rssical_phyregs_5G[9]);
  17540. write_phy_reg(pi, 0x1b1,
  17541. pi->rssical_cache.rssical_phyregs_5G[10]);
  17542. write_phy_reg(pi, 0x1b7,
  17543. pi->rssical_cache.rssical_phyregs_5G[11]);
  17544. }
  17545. }
  17546. static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi)
  17547. {
  17548. u16 txcal_gain[2];
  17549. pi->nphy_txcal_pwr_idx[0] = pi->nphy_cal_orig_pwr_idx[0];
  17550. pi->nphy_txcal_pwr_idx[1] = pi->nphy_cal_orig_pwr_idx[0];
  17551. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17552. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17553. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17554. txcal_gain);
  17555. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17556. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F40;
  17557. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F40;
  17558. } else {
  17559. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F60;
  17560. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F60;
  17561. }
  17562. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17563. txcal_gain);
  17564. }
  17565. static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi)
  17566. {
  17567. bool save_bbmult = false;
  17568. u8 txcal_index_2057_rev5n7 = 0;
  17569. u8 txcal_index_2057_rev3n4n6 = 10;
  17570. if (pi->use_int_tx_iqlo_cal_nphy) {
  17571. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17572. if ((pi->pubpi.radiorev == 3) ||
  17573. (pi->pubpi.radiorev == 4) ||
  17574. (pi->pubpi.radiorev == 6)) {
  17575. pi->nphy_txcal_pwr_idx[0] =
  17576. txcal_index_2057_rev3n4n6;
  17577. pi->nphy_txcal_pwr_idx[1] =
  17578. txcal_index_2057_rev3n4n6;
  17579. wlc_phy_txpwr_index_nphy(
  17580. pi, 3,
  17581. txcal_index_2057_rev3n4n6,
  17582. false);
  17583. } else {
  17584. pi->nphy_txcal_pwr_idx[0] =
  17585. txcal_index_2057_rev5n7;
  17586. pi->nphy_txcal_pwr_idx[1] =
  17587. txcal_index_2057_rev5n7;
  17588. wlc_phy_txpwr_index_nphy(
  17589. pi, 3,
  17590. txcal_index_2057_rev5n7,
  17591. false);
  17592. }
  17593. save_bbmult = true;
  17594. } else if (NREV_LT(pi->pubpi.phy_rev, 5)) {
  17595. wlc_phy_cal_txgainctrl_nphy(pi, 11, false);
  17596. if (pi->sh->hw_phytxchain != 3) {
  17597. pi->nphy_txcal_pwr_idx[1] =
  17598. pi->nphy_txcal_pwr_idx[0];
  17599. wlc_phy_txpwr_index_nphy(pi, 3,
  17600. pi->
  17601. nphy_txcal_pwr_idx[0],
  17602. true);
  17603. save_bbmult = true;
  17604. }
  17605. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17606. if (PHY_IPA(pi)) {
  17607. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17608. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17609. false);
  17610. } else {
  17611. pi->nphy_txcal_pwr_idx[0] = 80;
  17612. pi->nphy_txcal_pwr_idx[1] = 80;
  17613. wlc_phy_txpwr_index_nphy(pi, 3, 80,
  17614. false);
  17615. save_bbmult = true;
  17616. }
  17617. } else {
  17618. wlc_phy_internal_cal_txgain_nphy(pi);
  17619. save_bbmult = true;
  17620. }
  17621. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17622. if (PHY_IPA(pi)) {
  17623. if (CHSPEC_IS2G(pi->radio_chanspec))
  17624. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17625. false);
  17626. else
  17627. wlc_phy_cal_txgainctrl_nphy(pi, 14,
  17628. false);
  17629. } else {
  17630. wlc_phy_internal_cal_txgain_nphy(pi);
  17631. save_bbmult = true;
  17632. }
  17633. }
  17634. } else {
  17635. wlc_phy_cal_txgainctrl_nphy(pi, 10, false);
  17636. }
  17637. if (save_bbmult)
  17638. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  17639. &pi->nphy_txcal_bbmult);
  17640. }
  17641. static void
  17642. wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value,
  17643. u8 core_code)
  17644. {
  17645. u16 mask;
  17646. u16 val;
  17647. u8 core;
  17648. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17649. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17650. if (core_code == RADIO_MIMO_CORESEL_CORE1
  17651. && core == PHY_CORE_1)
  17652. continue;
  17653. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  17654. && core == PHY_CORE_0)
  17655. continue;
  17656. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  17657. mask = (0x1 << 10);
  17658. val = 1 << 10;
  17659. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17660. 0x92, mask, val);
  17661. }
  17662. if (field == NPHY_RfctrlIntc_override_OFF) {
  17663. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17664. 0x92, 0);
  17665. wlc_phy_force_rfseq_nphy(pi,
  17666. NPHY_RFSEQ_RESET2RX);
  17667. } else if (field == NPHY_RfctrlIntc_override_TRSW) {
  17668. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17669. mask = (0x1 << 6) | (0x1 << 7);
  17670. val = value << 6;
  17671. mod_phy_reg(pi,
  17672. (core ==
  17673. PHY_CORE_0) ? 0x91 : 0x92,
  17674. mask, val);
  17675. or_phy_reg(pi,
  17676. (core ==
  17677. PHY_CORE_0) ? 0x91 : 0x92,
  17678. (0x1 << 10));
  17679. and_phy_reg(pi, 0x2ff, (u16)
  17680. ~(0x3 << 14));
  17681. or_phy_reg(pi, 0x2ff, (0x1 << 13));
  17682. or_phy_reg(pi, 0x2ff, (0x1 << 0));
  17683. } else {
  17684. mask = (0x1 << 6) |
  17685. (0x1 << 7) |
  17686. (0x1 << 8) | (0x1 << 9);
  17687. val = value << 6;
  17688. mod_phy_reg(pi,
  17689. (core ==
  17690. PHY_CORE_0) ? 0x91 : 0x92,
  17691. mask, val);
  17692. mask = (0x1 << 0);
  17693. val = 1 << 0;
  17694. mod_phy_reg(pi,
  17695. (core ==
  17696. PHY_CORE_0) ? 0xe7 : 0xec,
  17697. mask, val);
  17698. mask = (core == PHY_CORE_0) ?
  17699. (0x1 << 0) : (0x1 << 1);
  17700. val = 1 << ((core == PHY_CORE_0) ?
  17701. 0 : 1);
  17702. mod_phy_reg(pi, 0x78, mask, val);
  17703. SPINWAIT(((read_phy_reg(pi, 0x78) & val)
  17704. != 0), 10000);
  17705. if (WARN(read_phy_reg(pi, 0x78) & val,
  17706. "HW error: override failed"))
  17707. return;
  17708. mask = (0x1 << 0);
  17709. val = 0 << 0;
  17710. mod_phy_reg(pi,
  17711. (core ==
  17712. PHY_CORE_0) ? 0xe7 : 0xec,
  17713. mask, val);
  17714. }
  17715. } else if (field == NPHY_RfctrlIntc_override_PA) {
  17716. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17717. mask = (0x1 << 4) | (0x1 << 5);
  17718. if (CHSPEC_IS5G(pi->radio_chanspec))
  17719. val = value << 5;
  17720. else
  17721. val = value << 4;
  17722. mod_phy_reg(pi,
  17723. (core ==
  17724. PHY_CORE_0) ? 0x91 : 0x92,
  17725. mask, val);
  17726. or_phy_reg(pi,
  17727. (core ==
  17728. PHY_CORE_0) ? 0x91 : 0x92,
  17729. (0x1 << 12));
  17730. } else {
  17731. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17732. mask = (0x1 << 5);
  17733. val = value << 5;
  17734. } else {
  17735. mask = (0x1 << 4);
  17736. val = value << 4;
  17737. }
  17738. mod_phy_reg(pi,
  17739. (core ==
  17740. PHY_CORE_0) ? 0x91 : 0x92,
  17741. mask, val);
  17742. }
  17743. } else if (field ==
  17744. NPHY_RfctrlIntc_override_EXT_LNA_PU) {
  17745. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17746. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17747. mask = (0x1 << 0);
  17748. val = value << 0;
  17749. mod_phy_reg(pi,
  17750. (core ==
  17751. PHY_CORE_0) ? 0x91
  17752. : 0x92, mask, val);
  17753. mask = (0x1 << 2);
  17754. mod_phy_reg(pi,
  17755. (core ==
  17756. PHY_CORE_0) ? 0x91
  17757. : 0x92, mask, 0);
  17758. } else {
  17759. mask = (0x1 << 2);
  17760. val = value << 2;
  17761. mod_phy_reg(pi,
  17762. (core ==
  17763. PHY_CORE_0) ? 0x91
  17764. : 0x92, mask, val);
  17765. mask = (0x1 << 0);
  17766. mod_phy_reg(pi,
  17767. (core ==
  17768. PHY_CORE_0) ? 0x91
  17769. : 0x92, mask, 0);
  17770. }
  17771. mask = (0x1 << 11);
  17772. val = 1 << 11;
  17773. mod_phy_reg(pi,
  17774. (core ==
  17775. PHY_CORE_0) ? 0x91 : 0x92,
  17776. mask, val);
  17777. } else {
  17778. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17779. mask = (0x1 << 0);
  17780. val = value << 0;
  17781. } else {
  17782. mask = (0x1 << 2);
  17783. val = value << 2;
  17784. }
  17785. mod_phy_reg(pi,
  17786. (core ==
  17787. PHY_CORE_0) ? 0x91 : 0x92,
  17788. mask, val);
  17789. }
  17790. } else if (field ==
  17791. NPHY_RfctrlIntc_override_EXT_LNA_GAIN) {
  17792. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17793. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17794. mask = (0x1 << 1);
  17795. val = value << 1;
  17796. mod_phy_reg(pi,
  17797. (core ==
  17798. PHY_CORE_0) ? 0x91
  17799. : 0x92, mask, val);
  17800. mask = (0x1 << 3);
  17801. mod_phy_reg(pi,
  17802. (core ==
  17803. PHY_CORE_0) ? 0x91
  17804. : 0x92, mask, 0);
  17805. } else {
  17806. mask = (0x1 << 3);
  17807. val = value << 3;
  17808. mod_phy_reg(pi,
  17809. (core ==
  17810. PHY_CORE_0) ? 0x91
  17811. : 0x92, mask, val);
  17812. mask = (0x1 << 1);
  17813. mod_phy_reg(pi,
  17814. (core ==
  17815. PHY_CORE_0) ? 0x91
  17816. : 0x92, mask, 0);
  17817. }
  17818. mask = (0x1 << 11);
  17819. val = 1 << 11;
  17820. mod_phy_reg(pi,
  17821. (core ==
  17822. PHY_CORE_0) ? 0x91 : 0x92,
  17823. mask, val);
  17824. } else {
  17825. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17826. mask = (0x1 << 1);
  17827. val = value << 1;
  17828. } else {
  17829. mask = (0x1 << 3);
  17830. val = value << 3;
  17831. }
  17832. mod_phy_reg(pi,
  17833. (core ==
  17834. PHY_CORE_0) ? 0x91 : 0x92,
  17835. mask, val);
  17836. }
  17837. }
  17838. }
  17839. }
  17840. }
  17841. void
  17842. wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower,
  17843. bool debug)
  17844. {
  17845. int gainctrl_loopidx;
  17846. uint core;
  17847. u16 m0m1, curr_m0m1;
  17848. s32 delta_power;
  17849. s32 txpwrindex;
  17850. s32 qdBm_power[2];
  17851. u16 orig_BBConfig;
  17852. u16 phy_saveregs[4];
  17853. u32 freq_test;
  17854. u16 ampl_test = 250;
  17855. uint stepsize;
  17856. bool phyhang_avoid_state = false;
  17857. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17858. stepsize = 2;
  17859. else
  17860. stepsize = 1;
  17861. if (CHSPEC_IS40(pi->radio_chanspec))
  17862. freq_test = 5000;
  17863. else
  17864. freq_test = 2500;
  17865. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17866. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17867. if (pi->phyhang_avoid)
  17868. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17869. phyhang_avoid_state = pi->phyhang_avoid;
  17870. pi->phyhang_avoid = false;
  17871. phy_saveregs[0] = read_phy_reg(pi, 0x91);
  17872. phy_saveregs[1] = read_phy_reg(pi, 0x92);
  17873. phy_saveregs[2] = read_phy_reg(pi, 0xe7);
  17874. phy_saveregs[3] = read_phy_reg(pi, 0xec);
  17875. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 1,
  17876. RADIO_MIMO_CORESEL_CORE1 |
  17877. RADIO_MIMO_CORESEL_CORE2);
  17878. if (!debug) {
  17879. wlc_phy_rfctrlintc_override_nphy(pi,
  17880. NPHY_RfctrlIntc_override_TRSW,
  17881. 0x2, RADIO_MIMO_CORESEL_CORE1);
  17882. wlc_phy_rfctrlintc_override_nphy(pi,
  17883. NPHY_RfctrlIntc_override_TRSW,
  17884. 0x8, RADIO_MIMO_CORESEL_CORE2);
  17885. } else {
  17886. wlc_phy_rfctrlintc_override_nphy(pi,
  17887. NPHY_RfctrlIntc_override_TRSW,
  17888. 0x1, RADIO_MIMO_CORESEL_CORE1);
  17889. wlc_phy_rfctrlintc_override_nphy(pi,
  17890. NPHY_RfctrlIntc_override_TRSW,
  17891. 0x7, RADIO_MIMO_CORESEL_CORE2);
  17892. }
  17893. orig_BBConfig = read_phy_reg(pi, 0x01);
  17894. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  17895. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  17896. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17897. txpwrindex = (s32) pi->nphy_cal_orig_pwr_idx[core];
  17898. for (gainctrl_loopidx = 0; gainctrl_loopidx < 2;
  17899. gainctrl_loopidx++) {
  17900. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17901. false);
  17902. if (core == PHY_CORE_0)
  17903. curr_m0m1 = m0m1 & 0xff00;
  17904. else
  17905. curr_m0m1 = m0m1 & 0x00ff;
  17906. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &curr_m0m1);
  17907. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &curr_m0m1);
  17908. udelay(50);
  17909. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17910. NPHY_CAL_TSSISAMPS);
  17911. pi->nphy_bb_mult_save = 0;
  17912. wlc_phy_stopplayback_nphy(pi);
  17913. delta_power = (dBm_targetpower * 4) - qdBm_power[core];
  17914. txpwrindex -= stepsize * delta_power;
  17915. if (txpwrindex < 0)
  17916. txpwrindex = 0;
  17917. else if (txpwrindex > 127)
  17918. txpwrindex = 127;
  17919. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17920. if (NREV_IS(pi->pubpi.phy_rev, 4) &&
  17921. (pi->srom_fem5g.extpagain == 3)) {
  17922. if (txpwrindex < 30)
  17923. txpwrindex = 30;
  17924. }
  17925. } else {
  17926. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  17927. (pi->srom_fem2g.extpagain == 3)) {
  17928. if (txpwrindex < 50)
  17929. txpwrindex = 50;
  17930. }
  17931. }
  17932. wlc_phy_txpwr_index_nphy(pi, (1 << core),
  17933. (u8) txpwrindex, true);
  17934. }
  17935. pi->nphy_txcal_pwr_idx[core] = (u8) txpwrindex;
  17936. if (debug) {
  17937. u16 radio_gain;
  17938. u16 dbg_m0m1;
  17939. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17940. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17941. false);
  17942. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17943. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &dbg_m0m1);
  17944. udelay(100);
  17945. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17946. NPHY_CAL_TSSISAMPS);
  17947. wlc_phy_table_read_nphy(pi, 7, 1, (0x110 + core), 16,
  17948. &radio_gain);
  17949. mdelay(4000);
  17950. pi->nphy_bb_mult_save = 0;
  17951. wlc_phy_stopplayback_nphy(pi);
  17952. }
  17953. }
  17954. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_txcal_pwr_idx[0], true);
  17955. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_txcal_pwr_idx[1], true);
  17956. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &pi->nphy_txcal_bbmult);
  17957. write_phy_reg(pi, 0x01, orig_BBConfig);
  17958. write_phy_reg(pi, 0x91, phy_saveregs[0]);
  17959. write_phy_reg(pi, 0x92, phy_saveregs[1]);
  17960. write_phy_reg(pi, 0xe7, phy_saveregs[2]);
  17961. write_phy_reg(pi, 0xec, phy_saveregs[3]);
  17962. pi->phyhang_avoid = phyhang_avoid_state;
  17963. if (pi->phyhang_avoid)
  17964. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17965. }
  17966. static void wlc_phy_savecal_nphy(struct brcms_phy *pi)
  17967. {
  17968. void *tbl_ptr;
  17969. int coreNum;
  17970. u16 *txcal_radio_regs = NULL;
  17971. if (pi->phyhang_avoid)
  17972. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17973. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17974. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17975. &pi->calibration_cache.
  17976. rxcal_coeffs_2G);
  17977. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17978. txcal_radio_regs =
  17979. pi->calibration_cache.txcal_radio_regs_2G;
  17980. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17981. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17982. read_radio_reg(pi,
  17983. RADIO_2056_TX_LOFT_FINE_I |
  17984. RADIO_2056_TX0);
  17985. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17986. read_radio_reg(pi,
  17987. RADIO_2056_TX_LOFT_FINE_Q |
  17988. RADIO_2056_TX0);
  17989. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17990. read_radio_reg(pi,
  17991. RADIO_2056_TX_LOFT_FINE_I |
  17992. RADIO_2056_TX1);
  17993. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17994. read_radio_reg(pi,
  17995. RADIO_2056_TX_LOFT_FINE_Q |
  17996. RADIO_2056_TX1);
  17997. pi->calibration_cache.txcal_radio_regs_2G[4] =
  17998. read_radio_reg(pi,
  17999. RADIO_2056_TX_LOFT_COARSE_I |
  18000. RADIO_2056_TX0);
  18001. pi->calibration_cache.txcal_radio_regs_2G[5] =
  18002. read_radio_reg(pi,
  18003. RADIO_2056_TX_LOFT_COARSE_Q |
  18004. RADIO_2056_TX0);
  18005. pi->calibration_cache.txcal_radio_regs_2G[6] =
  18006. read_radio_reg(pi,
  18007. RADIO_2056_TX_LOFT_COARSE_I |
  18008. RADIO_2056_TX1);
  18009. pi->calibration_cache.txcal_radio_regs_2G[7] =
  18010. read_radio_reg(pi,
  18011. RADIO_2056_TX_LOFT_COARSE_Q |
  18012. RADIO_2056_TX1);
  18013. } else {
  18014. pi->calibration_cache.txcal_radio_regs_2G[0] =
  18015. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18016. pi->calibration_cache.txcal_radio_regs_2G[1] =
  18017. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18018. pi->calibration_cache.txcal_radio_regs_2G[2] =
  18019. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18020. pi->calibration_cache.txcal_radio_regs_2G[3] =
  18021. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18022. }
  18023. pi->nphy_iqcal_chanspec_2G = pi->radio_chanspec;
  18024. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18025. } else {
  18026. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  18027. &pi->calibration_cache.
  18028. rxcal_coeffs_5G);
  18029. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18030. txcal_radio_regs =
  18031. pi->calibration_cache.txcal_radio_regs_5G;
  18032. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18033. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18034. read_radio_reg(pi,
  18035. RADIO_2056_TX_LOFT_FINE_I |
  18036. RADIO_2056_TX0);
  18037. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18038. read_radio_reg(pi,
  18039. RADIO_2056_TX_LOFT_FINE_Q |
  18040. RADIO_2056_TX0);
  18041. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18042. read_radio_reg(pi,
  18043. RADIO_2056_TX_LOFT_FINE_I |
  18044. RADIO_2056_TX1);
  18045. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18046. read_radio_reg(pi,
  18047. RADIO_2056_TX_LOFT_FINE_Q |
  18048. RADIO_2056_TX1);
  18049. pi->calibration_cache.txcal_radio_regs_5G[4] =
  18050. read_radio_reg(pi,
  18051. RADIO_2056_TX_LOFT_COARSE_I |
  18052. RADIO_2056_TX0);
  18053. pi->calibration_cache.txcal_radio_regs_5G[5] =
  18054. read_radio_reg(pi,
  18055. RADIO_2056_TX_LOFT_COARSE_Q |
  18056. RADIO_2056_TX0);
  18057. pi->calibration_cache.txcal_radio_regs_5G[6] =
  18058. read_radio_reg(pi,
  18059. RADIO_2056_TX_LOFT_COARSE_I |
  18060. RADIO_2056_TX1);
  18061. pi->calibration_cache.txcal_radio_regs_5G[7] =
  18062. read_radio_reg(pi,
  18063. RADIO_2056_TX_LOFT_COARSE_Q |
  18064. RADIO_2056_TX1);
  18065. } else {
  18066. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18067. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18068. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18069. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18070. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18071. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18072. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18073. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18074. }
  18075. pi->nphy_iqcal_chanspec_5G = pi->radio_chanspec;
  18076. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18077. }
  18078. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18079. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18080. txcal_radio_regs[2 * coreNum] =
  18081. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18082. LOFT_FINE_I);
  18083. txcal_radio_regs[2 * coreNum + 1] =
  18084. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18085. LOFT_FINE_Q);
  18086. txcal_radio_regs[2 * coreNum + 4] =
  18087. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18088. LOFT_COARSE_I);
  18089. txcal_radio_regs[2 * coreNum + 5] =
  18090. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18091. LOFT_COARSE_Q);
  18092. }
  18093. }
  18094. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 8, 80, 16, tbl_ptr);
  18095. if (pi->phyhang_avoid)
  18096. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18097. }
  18098. static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi)
  18099. {
  18100. struct nphy_iq_comp tx_comp;
  18101. wlc_phy_table_read_nphy(pi, 15, 4, 0x50, 16, &tx_comp);
  18102. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0);
  18103. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0);
  18104. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 4, tx_comp.a1);
  18105. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 6, tx_comp.b1);
  18106. }
  18107. static void wlc_phy_restorecal_nphy(struct brcms_phy *pi)
  18108. {
  18109. u16 *loft_comp;
  18110. u16 txcal_coeffs_bphy[4];
  18111. u16 *tbl_ptr;
  18112. int coreNum;
  18113. u16 *txcal_radio_regs = NULL;
  18114. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18115. if (pi->nphy_iqcal_chanspec_2G == 0)
  18116. return;
  18117. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18118. loft_comp = &pi->calibration_cache.txcal_coeffs_2G[5];
  18119. } else {
  18120. if (pi->nphy_iqcal_chanspec_5G == 0)
  18121. return;
  18122. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18123. loft_comp = &pi->calibration_cache.txcal_coeffs_5G[5];
  18124. }
  18125. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80, 16, tbl_ptr);
  18126. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18127. txcal_coeffs_bphy[0] = tbl_ptr[0];
  18128. txcal_coeffs_bphy[1] = tbl_ptr[1];
  18129. txcal_coeffs_bphy[2] = tbl_ptr[2];
  18130. txcal_coeffs_bphy[3] = tbl_ptr[3];
  18131. } else {
  18132. txcal_coeffs_bphy[0] = 0;
  18133. txcal_coeffs_bphy[1] = 0;
  18134. txcal_coeffs_bphy[2] = 0;
  18135. txcal_coeffs_bphy[3] = 0;
  18136. }
  18137. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88, 16,
  18138. txcal_coeffs_bphy);
  18139. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85, 16, loft_comp);
  18140. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93, 16, loft_comp);
  18141. if (NREV_LT(pi->pubpi.phy_rev, 2))
  18142. wlc_phy_tx_iq_war_nphy(pi);
  18143. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18144. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18145. txcal_radio_regs =
  18146. pi->calibration_cache.txcal_radio_regs_2G;
  18147. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18148. write_radio_reg(pi,
  18149. RADIO_2056_TX_LOFT_FINE_I |
  18150. RADIO_2056_TX0,
  18151. pi->calibration_cache.
  18152. txcal_radio_regs_2G[0]);
  18153. write_radio_reg(pi,
  18154. RADIO_2056_TX_LOFT_FINE_Q |
  18155. RADIO_2056_TX0,
  18156. pi->calibration_cache.
  18157. txcal_radio_regs_2G[1]);
  18158. write_radio_reg(pi,
  18159. RADIO_2056_TX_LOFT_FINE_I |
  18160. RADIO_2056_TX1,
  18161. pi->calibration_cache.
  18162. txcal_radio_regs_2G[2]);
  18163. write_radio_reg(pi,
  18164. RADIO_2056_TX_LOFT_FINE_Q |
  18165. RADIO_2056_TX1,
  18166. pi->calibration_cache.
  18167. txcal_radio_regs_2G[3]);
  18168. write_radio_reg(pi,
  18169. RADIO_2056_TX_LOFT_COARSE_I |
  18170. RADIO_2056_TX0,
  18171. pi->calibration_cache.
  18172. txcal_radio_regs_2G[4]);
  18173. write_radio_reg(pi,
  18174. RADIO_2056_TX_LOFT_COARSE_Q |
  18175. RADIO_2056_TX0,
  18176. pi->calibration_cache.
  18177. txcal_radio_regs_2G[5]);
  18178. write_radio_reg(pi,
  18179. RADIO_2056_TX_LOFT_COARSE_I |
  18180. RADIO_2056_TX1,
  18181. pi->calibration_cache.
  18182. txcal_radio_regs_2G[6]);
  18183. write_radio_reg(pi,
  18184. RADIO_2056_TX_LOFT_COARSE_Q |
  18185. RADIO_2056_TX1,
  18186. pi->calibration_cache.
  18187. txcal_radio_regs_2G[7]);
  18188. } else {
  18189. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18190. pi->calibration_cache.
  18191. txcal_radio_regs_2G[0]);
  18192. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18193. pi->calibration_cache.
  18194. txcal_radio_regs_2G[1]);
  18195. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18196. pi->calibration_cache.
  18197. txcal_radio_regs_2G[2]);
  18198. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18199. pi->calibration_cache.
  18200. txcal_radio_regs_2G[3]);
  18201. }
  18202. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18203. &pi->calibration_cache.
  18204. rxcal_coeffs_2G);
  18205. } else {
  18206. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18207. txcal_radio_regs =
  18208. pi->calibration_cache.txcal_radio_regs_5G;
  18209. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18210. write_radio_reg(pi,
  18211. RADIO_2056_TX_LOFT_FINE_I |
  18212. RADIO_2056_TX0,
  18213. pi->calibration_cache.
  18214. txcal_radio_regs_5G[0]);
  18215. write_radio_reg(pi,
  18216. RADIO_2056_TX_LOFT_FINE_Q |
  18217. RADIO_2056_TX0,
  18218. pi->calibration_cache.
  18219. txcal_radio_regs_5G[1]);
  18220. write_radio_reg(pi,
  18221. RADIO_2056_TX_LOFT_FINE_I |
  18222. RADIO_2056_TX1,
  18223. pi->calibration_cache.
  18224. txcal_radio_regs_5G[2]);
  18225. write_radio_reg(pi,
  18226. RADIO_2056_TX_LOFT_FINE_Q |
  18227. RADIO_2056_TX1,
  18228. pi->calibration_cache.
  18229. txcal_radio_regs_5G[3]);
  18230. write_radio_reg(pi,
  18231. RADIO_2056_TX_LOFT_COARSE_I |
  18232. RADIO_2056_TX0,
  18233. pi->calibration_cache.
  18234. txcal_radio_regs_5G[4]);
  18235. write_radio_reg(pi,
  18236. RADIO_2056_TX_LOFT_COARSE_Q |
  18237. RADIO_2056_TX0,
  18238. pi->calibration_cache.
  18239. txcal_radio_regs_5G[5]);
  18240. write_radio_reg(pi,
  18241. RADIO_2056_TX_LOFT_COARSE_I |
  18242. RADIO_2056_TX1,
  18243. pi->calibration_cache.
  18244. txcal_radio_regs_5G[6]);
  18245. write_radio_reg(pi,
  18246. RADIO_2056_TX_LOFT_COARSE_Q |
  18247. RADIO_2056_TX1,
  18248. pi->calibration_cache.
  18249. txcal_radio_regs_5G[7]);
  18250. } else {
  18251. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18252. pi->calibration_cache.
  18253. txcal_radio_regs_5G[0]);
  18254. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18255. pi->calibration_cache.
  18256. txcal_radio_regs_5G[1]);
  18257. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18258. pi->calibration_cache.
  18259. txcal_radio_regs_5G[2]);
  18260. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18261. pi->calibration_cache.
  18262. txcal_radio_regs_5G[3]);
  18263. }
  18264. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18265. &pi->calibration_cache.
  18266. rxcal_coeffs_5G);
  18267. }
  18268. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18269. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18270. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18271. LOFT_FINE_I,
  18272. txcal_radio_regs[2 * coreNum]);
  18273. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18274. LOFT_FINE_Q,
  18275. txcal_radio_regs[2 * coreNum + 1]);
  18276. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18277. LOFT_COARSE_I,
  18278. txcal_radio_regs[2 * coreNum + 4]);
  18279. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18280. LOFT_COARSE_Q,
  18281. txcal_radio_regs[2 * coreNum + 5]);
  18282. }
  18283. }
  18284. }
  18285. static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi)
  18286. {
  18287. u32 idx;
  18288. u16 iqloCalbuf[7];
  18289. u32 iqcomp, locomp, curr_locomp;
  18290. s8 locomp_i, locomp_q;
  18291. s8 curr_locomp_i, curr_locomp_q;
  18292. u32 tbl_id, tbl_len, tbl_offset;
  18293. u32 regval[128];
  18294. if (pi->phyhang_avoid)
  18295. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18296. wlc_phy_table_read_nphy(pi, 15, 7, 80, 16, iqloCalbuf);
  18297. tbl_len = 128;
  18298. tbl_offset = 320;
  18299. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18300. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18301. iqcomp =
  18302. (tbl_id ==
  18303. 26) ? (((u32) (iqloCalbuf[0] & 0x3ff)) << 10) |
  18304. (iqloCalbuf[1] & 0x3ff)
  18305. : (((u32) (iqloCalbuf[2] & 0x3ff)) << 10) |
  18306. (iqloCalbuf[3] & 0x3ff);
  18307. for (idx = 0; idx < tbl_len; idx++)
  18308. regval[idx] = iqcomp;
  18309. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18310. regval);
  18311. }
  18312. tbl_offset = 448;
  18313. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18314. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18315. locomp =
  18316. (u32) ((tbl_id == 26) ? iqloCalbuf[5] : iqloCalbuf[6]);
  18317. locomp_i = (s8) ((locomp >> 8) & 0xff);
  18318. locomp_q = (s8) ((locomp) & 0xff);
  18319. for (idx = 0; idx < tbl_len; idx++) {
  18320. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18321. curr_locomp_i = locomp_i;
  18322. curr_locomp_q = locomp_q;
  18323. } else {
  18324. curr_locomp_i = (s8) ((locomp_i *
  18325. nphy_tpc_loscale[idx] +
  18326. 128) >> 8);
  18327. curr_locomp_q =
  18328. (s8) ((locomp_q *
  18329. nphy_tpc_loscale[idx] +
  18330. 128) >> 8);
  18331. }
  18332. curr_locomp = (u32) ((curr_locomp_i & 0xff) << 8);
  18333. curr_locomp |= (u32) (curr_locomp_q & 0xff);
  18334. regval[idx] = curr_locomp;
  18335. }
  18336. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18337. regval);
  18338. }
  18339. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18340. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX1, 0xFFFF);
  18341. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX2, 0xFFFF);
  18342. }
  18343. if (pi->phyhang_avoid)
  18344. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18345. }
  18346. static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi)
  18347. {
  18348. u8 tx_lpf_bw = 0;
  18349. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18350. if (CHSPEC_IS40(pi->radio_chanspec))
  18351. tx_lpf_bw = 3;
  18352. else
  18353. tx_lpf_bw = 1;
  18354. if (PHY_IPA(pi)) {
  18355. if (CHSPEC_IS40(pi->radio_chanspec))
  18356. tx_lpf_bw = 5;
  18357. else
  18358. tx_lpf_bw = 4;
  18359. }
  18360. write_phy_reg(pi, 0xe8,
  18361. (tx_lpf_bw << 0) |
  18362. (tx_lpf_bw << 3) |
  18363. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18364. if (PHY_IPA(pi)) {
  18365. if (CHSPEC_IS40(pi->radio_chanspec))
  18366. tx_lpf_bw = 4;
  18367. else
  18368. tx_lpf_bw = 1;
  18369. write_phy_reg(pi, 0xe9,
  18370. (tx_lpf_bw << 0) |
  18371. (tx_lpf_bw << 3) |
  18372. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18373. }
  18374. }
  18375. }
  18376. static void
  18377. wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr)
  18378. {
  18379. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18380. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18381. CHSPEC_IS40(pi->radio_chanspec)) {
  18382. if (!pi->nphy_anarxlpf_adjusted) {
  18383. write_radio_reg(pi,
  18384. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18385. RADIO_2056_RX0),
  18386. ((pi->nphy_rccal_value +
  18387. reduction_factr) | 0x80));
  18388. pi->nphy_anarxlpf_adjusted = true;
  18389. }
  18390. } else {
  18391. if (pi->nphy_anarxlpf_adjusted) {
  18392. write_radio_reg(pi,
  18393. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18394. RADIO_2056_RX0),
  18395. (pi->nphy_rccal_value | 0x80));
  18396. pi->nphy_anarxlpf_adjusted = false;
  18397. }
  18398. }
  18399. }
  18400. }
  18401. static void
  18402. wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones,
  18403. int *tone_id_buf, u32 *noise_var_buf)
  18404. {
  18405. int i;
  18406. u32 offset;
  18407. int tone_id;
  18408. int tbllen =
  18409. CHSPEC_IS40(pi->radio_chanspec) ?
  18410. NPHY_NOISEVAR_TBLLEN40 : NPHY_NOISEVAR_TBLLEN20;
  18411. if (pi->nphy_noisevars_adjusted) {
  18412. for (i = 0; i < pi->nphy_saved_noisevars.bufcount; i++) {
  18413. tone_id = pi->nphy_saved_noisevars.tone_id[i];
  18414. offset = (tone_id >= 0) ?
  18415. ((tone_id *
  18416. 2) + 1) : (tbllen + (tone_id * 2) + 1);
  18417. wlc_phy_table_write_nphy(
  18418. pi, NPHY_TBL_ID_NOISEVAR, 1,
  18419. offset, 32,
  18420. &pi->nphy_saved_noisevars.min_noise_vars[i]);
  18421. }
  18422. pi->nphy_saved_noisevars.bufcount = 0;
  18423. pi->nphy_noisevars_adjusted = false;
  18424. }
  18425. if ((noise_var_buf != NULL) && (tone_id_buf != NULL)) {
  18426. pi->nphy_saved_noisevars.bufcount = 0;
  18427. for (i = 0; i < ntones; i++) {
  18428. tone_id = tone_id_buf[i];
  18429. offset = (tone_id >= 0) ?
  18430. ((tone_id * 2) + 1) :
  18431. (tbllen + (tone_id * 2) + 1);
  18432. pi->nphy_saved_noisevars.tone_id[i] = tone_id;
  18433. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18434. offset, 32,
  18435. &pi->nphy_saved_noisevars.
  18436. min_noise_vars[i]);
  18437. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18438. offset, 32, &noise_var_buf[i]);
  18439. pi->nphy_saved_noisevars.bufcount++;
  18440. }
  18441. pi->nphy_noisevars_adjusted = true;
  18442. }
  18443. }
  18444. static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr)
  18445. {
  18446. u16 regval;
  18447. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18448. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18449. CHSPEC_IS40(pi->radio_chanspec)) {
  18450. if (!pi->nphy_crsminpwr_adjusted) {
  18451. regval = read_phy_reg(pi, 0x27d);
  18452. pi->nphy_crsminpwr[0] = regval & 0xff;
  18453. regval &= 0xff00;
  18454. regval |= (u16) minpwr;
  18455. write_phy_reg(pi, 0x27d, regval);
  18456. regval = read_phy_reg(pi, 0x280);
  18457. pi->nphy_crsminpwr[1] = regval & 0xff;
  18458. regval &= 0xff00;
  18459. regval |= (u16) minpwr;
  18460. write_phy_reg(pi, 0x280, regval);
  18461. regval = read_phy_reg(pi, 0x283);
  18462. pi->nphy_crsminpwr[2] = regval & 0xff;
  18463. regval &= 0xff00;
  18464. regval |= (u16) minpwr;
  18465. write_phy_reg(pi, 0x283, regval);
  18466. pi->nphy_crsminpwr_adjusted = true;
  18467. }
  18468. } else {
  18469. if (pi->nphy_crsminpwr_adjusted) {
  18470. regval = read_phy_reg(pi, 0x27d);
  18471. regval &= 0xff00;
  18472. regval |= pi->nphy_crsminpwr[0];
  18473. write_phy_reg(pi, 0x27d, regval);
  18474. regval = read_phy_reg(pi, 0x280);
  18475. regval &= 0xff00;
  18476. regval |= pi->nphy_crsminpwr[1];
  18477. write_phy_reg(pi, 0x280, regval);
  18478. regval = read_phy_reg(pi, 0x283);
  18479. regval &= 0xff00;
  18480. regval |= pi->nphy_crsminpwr[2];
  18481. write_phy_reg(pi, 0x283, regval);
  18482. pi->nphy_crsminpwr_adjusted = false;
  18483. }
  18484. }
  18485. }
  18486. }
  18487. static void wlc_phy_spurwar_nphy(struct brcms_phy *pi)
  18488. {
  18489. u16 cur_channel = 0;
  18490. int nphy_adj_tone_id_buf[] = { 57, 58 };
  18491. u32 nphy_adj_noise_var_buf[] = { 0x3ff, 0x3ff };
  18492. bool isAdjustNoiseVar = false;
  18493. uint numTonesAdjust = 0;
  18494. u32 tempval = 0;
  18495. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18496. if (pi->phyhang_avoid)
  18497. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18498. cur_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  18499. if (pi->nphy_gband_spurwar_en) {
  18500. wlc_phy_adjust_rx_analpfbw_nphy(
  18501. pi,
  18502. NPHY_ANARXLPFBW_REDUCTIONFACT);
  18503. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18504. if ((cur_channel == 11)
  18505. && CHSPEC_IS40(pi->radio_chanspec))
  18506. wlc_phy_adjust_min_noisevar_nphy(
  18507. pi, 2,
  18508. nphy_adj_tone_id_buf,
  18509. nphy_adj_noise_var_buf);
  18510. else
  18511. wlc_phy_adjust_min_noisevar_nphy(pi, 0,
  18512. NULL,
  18513. NULL);
  18514. }
  18515. wlc_phy_adjust_crsminpwr_nphy(pi,
  18516. NPHY_ADJUSTED_MINCRSPOWER);
  18517. }
  18518. if ((pi->nphy_gband_spurwar2_en)
  18519. && CHSPEC_IS2G(pi->radio_chanspec)) {
  18520. if (CHSPEC_IS40(pi->radio_chanspec)) {
  18521. switch (cur_channel) {
  18522. case 3:
  18523. nphy_adj_tone_id_buf[0] = 57;
  18524. nphy_adj_tone_id_buf[1] = 58;
  18525. nphy_adj_noise_var_buf[0] = 0x22f;
  18526. nphy_adj_noise_var_buf[1] = 0x25f;
  18527. isAdjustNoiseVar = true;
  18528. break;
  18529. case 4:
  18530. nphy_adj_tone_id_buf[0] = 41;
  18531. nphy_adj_tone_id_buf[1] = 42;
  18532. nphy_adj_noise_var_buf[0] = 0x22f;
  18533. nphy_adj_noise_var_buf[1] = 0x25f;
  18534. isAdjustNoiseVar = true;
  18535. break;
  18536. case 5:
  18537. nphy_adj_tone_id_buf[0] = 25;
  18538. nphy_adj_tone_id_buf[1] = 26;
  18539. nphy_adj_noise_var_buf[0] = 0x24f;
  18540. nphy_adj_noise_var_buf[1] = 0x25f;
  18541. isAdjustNoiseVar = true;
  18542. break;
  18543. case 6:
  18544. nphy_adj_tone_id_buf[0] = 9;
  18545. nphy_adj_tone_id_buf[1] = 10;
  18546. nphy_adj_noise_var_buf[0] = 0x22f;
  18547. nphy_adj_noise_var_buf[1] = 0x24f;
  18548. isAdjustNoiseVar = true;
  18549. break;
  18550. case 7:
  18551. nphy_adj_tone_id_buf[0] = 121;
  18552. nphy_adj_tone_id_buf[1] = 122;
  18553. nphy_adj_noise_var_buf[0] = 0x18f;
  18554. nphy_adj_noise_var_buf[1] = 0x24f;
  18555. isAdjustNoiseVar = true;
  18556. break;
  18557. case 8:
  18558. nphy_adj_tone_id_buf[0] = 105;
  18559. nphy_adj_tone_id_buf[1] = 106;
  18560. nphy_adj_noise_var_buf[0] = 0x22f;
  18561. nphy_adj_noise_var_buf[1] = 0x25f;
  18562. isAdjustNoiseVar = true;
  18563. break;
  18564. case 9:
  18565. nphy_adj_tone_id_buf[0] = 89;
  18566. nphy_adj_tone_id_buf[1] = 90;
  18567. nphy_adj_noise_var_buf[0] = 0x22f;
  18568. nphy_adj_noise_var_buf[1] = 0x24f;
  18569. isAdjustNoiseVar = true;
  18570. break;
  18571. case 10:
  18572. nphy_adj_tone_id_buf[0] = 73;
  18573. nphy_adj_tone_id_buf[1] = 74;
  18574. nphy_adj_noise_var_buf[0] = 0x22f;
  18575. nphy_adj_noise_var_buf[1] = 0x24f;
  18576. isAdjustNoiseVar = true;
  18577. break;
  18578. default:
  18579. isAdjustNoiseVar = false;
  18580. break;
  18581. }
  18582. }
  18583. if (isAdjustNoiseVar) {
  18584. numTonesAdjust = sizeof(nphy_adj_tone_id_buf) /
  18585. sizeof(nphy_adj_tone_id_buf[0]);
  18586. wlc_phy_adjust_min_noisevar_nphy(
  18587. pi,
  18588. numTonesAdjust,
  18589. nphy_adj_tone_id_buf,
  18590. nphy_adj_noise_var_buf);
  18591. tempval = 0;
  18592. } else {
  18593. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18594. NULL);
  18595. }
  18596. }
  18597. if ((pi->nphy_aband_spurwar_en) &&
  18598. (CHSPEC_IS5G(pi->radio_chanspec))) {
  18599. switch (cur_channel) {
  18600. case 54:
  18601. nphy_adj_tone_id_buf[0] = 32;
  18602. nphy_adj_noise_var_buf[0] = 0x25f;
  18603. break;
  18604. case 38:
  18605. case 102:
  18606. case 118:
  18607. nphy_adj_tone_id_buf[0] = 0;
  18608. nphy_adj_noise_var_buf[0] = 0x0;
  18609. break;
  18610. case 134:
  18611. nphy_adj_tone_id_buf[0] = 32;
  18612. nphy_adj_noise_var_buf[0] = 0x21f;
  18613. break;
  18614. case 151:
  18615. nphy_adj_tone_id_buf[0] = 16;
  18616. nphy_adj_noise_var_buf[0] = 0x23f;
  18617. break;
  18618. case 153:
  18619. case 161:
  18620. nphy_adj_tone_id_buf[0] = 48;
  18621. nphy_adj_noise_var_buf[0] = 0x23f;
  18622. break;
  18623. default:
  18624. nphy_adj_tone_id_buf[0] = 0;
  18625. nphy_adj_noise_var_buf[0] = 0x0;
  18626. break;
  18627. }
  18628. if (nphy_adj_tone_id_buf[0]
  18629. && nphy_adj_noise_var_buf[0])
  18630. wlc_phy_adjust_min_noisevar_nphy(
  18631. pi, 1,
  18632. nphy_adj_tone_id_buf,
  18633. nphy_adj_noise_var_buf);
  18634. else
  18635. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18636. NULL);
  18637. }
  18638. if (pi->phyhang_avoid)
  18639. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18640. }
  18641. }
  18642. void wlc_phy_init_nphy(struct brcms_phy *pi)
  18643. {
  18644. u16 val;
  18645. u16 clip1_ths[2];
  18646. struct nphy_txgains target_gain;
  18647. u8 tx_pwr_ctrl_state;
  18648. bool do_nphy_cal = false;
  18649. uint core;
  18650. u32 d11_clk_ctl_st;
  18651. bool do_rssi_cal = false;
  18652. core = 0;
  18653. if (!(pi->measure_hold & PHY_HOLD_FOR_SCAN))
  18654. pi->measure_hold |= PHY_HOLD_FOR_NOT_ASSOC;
  18655. if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) &&
  18656. ((pi->sh->chippkg == BCM4717_PKG_ID) ||
  18657. (pi->sh->chippkg == BCM4718_PKG_ID))) {
  18658. if ((pi->sh->boardflags & BFL_EXTLNA) &&
  18659. (CHSPEC_IS2G(pi->radio_chanspec)))
  18660. ai_cc_reg(pi->sh->sih,
  18661. offsetof(struct chipcregs, chipcontrol),
  18662. 0x40, 0x40);
  18663. }
  18664. if ((pi->nphy_gband_spurwar2_en) && CHSPEC_IS2G(pi->radio_chanspec) &&
  18665. CHSPEC_IS40(pi->radio_chanspec)) {
  18666. d11_clk_ctl_st = bcma_read32(pi->d11core,
  18667. D11REGOFFS(clk_ctl_st));
  18668. bcma_mask32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18669. ~(CCS_FORCEHT | CCS_HTAREQ));
  18670. bcma_write32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18671. d11_clk_ctl_st);
  18672. }
  18673. pi->use_int_tx_iqlo_cal_nphy =
  18674. (PHY_IPA(pi) ||
  18675. (NREV_GE(pi->pubpi.phy_rev, 7) ||
  18676. (NREV_GE(pi->pubpi.phy_rev, 5)
  18677. && pi->sh->boardflags2 & BFL2_INTERNDET_TXIQCAL)));
  18678. pi->internal_tx_iqlo_cal_tapoff_intpa_nphy = false;
  18679. pi->nphy_deaf_count = 0;
  18680. wlc_phy_tbl_init_nphy(pi);
  18681. pi->nphy_crsminpwr_adjusted = false;
  18682. pi->nphy_noisevars_adjusted = false;
  18683. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18684. write_phy_reg(pi, 0xe7, 0);
  18685. write_phy_reg(pi, 0xec, 0);
  18686. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18687. write_phy_reg(pi, 0x342, 0);
  18688. write_phy_reg(pi, 0x343, 0);
  18689. write_phy_reg(pi, 0x346, 0);
  18690. write_phy_reg(pi, 0x347, 0);
  18691. }
  18692. write_phy_reg(pi, 0xe5, 0);
  18693. write_phy_reg(pi, 0xe6, 0);
  18694. } else {
  18695. write_phy_reg(pi, 0xec, 0);
  18696. }
  18697. write_phy_reg(pi, 0x91, 0);
  18698. write_phy_reg(pi, 0x92, 0);
  18699. if (NREV_LT(pi->pubpi.phy_rev, 6)) {
  18700. write_phy_reg(pi, 0x93, 0);
  18701. write_phy_reg(pi, 0x94, 0);
  18702. }
  18703. and_phy_reg(pi, 0xa1, ~3);
  18704. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18705. write_phy_reg(pi, 0x8f, 0);
  18706. write_phy_reg(pi, 0xa5, 0);
  18707. } else {
  18708. write_phy_reg(pi, 0xa5, 0);
  18709. }
  18710. if (NREV_IS(pi->pubpi.phy_rev, 2))
  18711. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  18712. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  18713. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  18714. write_phy_reg(pi, 0x203, 32);
  18715. write_phy_reg(pi, 0x201, 32);
  18716. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD)
  18717. write_phy_reg(pi, 0x20d, 160);
  18718. else
  18719. write_phy_reg(pi, 0x20d, 184);
  18720. write_phy_reg(pi, 0x13a, 200);
  18721. write_phy_reg(pi, 0x70, 80);
  18722. write_phy_reg(pi, 0x1ff, 48);
  18723. if (NREV_LT(pi->pubpi.phy_rev, 8))
  18724. wlc_phy_update_mimoconfig_nphy(pi, pi->n_preamble_override);
  18725. wlc_phy_stf_chain_upd_nphy(pi);
  18726. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18727. write_phy_reg(pi, 0x180, 0xaa8);
  18728. write_phy_reg(pi, 0x181, 0x9a4);
  18729. }
  18730. if (PHY_IPA(pi)) {
  18731. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  18732. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  18733. 0x29b, (0x1 << 0), (1) << 0);
  18734. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x298 :
  18735. 0x29c, (0x1ff << 7),
  18736. (pi->nphy_papd_epsilon_offset[core]) << 7);
  18737. }
  18738. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  18739. } else if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  18740. wlc_phy_extpa_set_tx_digi_filts_nphy(pi);
  18741. }
  18742. wlc_phy_workarounds_nphy(pi);
  18743. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18744. val = read_phy_reg(pi, 0x01);
  18745. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18746. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18747. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18748. wlapi_bmac_macphyclk_set(pi->sh->physhim, ON);
  18749. wlc_phy_pa_override_nphy(pi, OFF);
  18750. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  18751. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18752. wlc_phy_pa_override_nphy(pi, ON);
  18753. wlc_phy_classifier_nphy(pi, 0, 0);
  18754. wlc_phy_clip_det_nphy(pi, 0, clip1_ths);
  18755. if (CHSPEC_IS2G(pi->radio_chanspec))
  18756. wlc_phy_bphy_init_nphy(pi);
  18757. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  18758. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  18759. wlc_phy_txpwr_fixpower_nphy(pi);
  18760. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  18761. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  18762. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18763. u32 *tx_pwrctrl_tbl = NULL;
  18764. u16 idx;
  18765. s16 pga_gn = 0;
  18766. s16 pad_gn = 0;
  18767. s32 rfpwr_offset;
  18768. if (PHY_IPA(pi)) {
  18769. tx_pwrctrl_tbl = wlc_phy_get_ipa_gaintbl_nphy(pi);
  18770. } else {
  18771. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  18772. if (NREV_IS(pi->pubpi.phy_rev, 3))
  18773. tx_pwrctrl_tbl =
  18774. nphy_tpc_5GHz_txgain_rev3;
  18775. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  18776. tx_pwrctrl_tbl =
  18777. (pi->srom_fem5g.extpagain ==
  18778. 3) ?
  18779. nphy_tpc_5GHz_txgain_HiPwrEPA :
  18780. nphy_tpc_5GHz_txgain_rev4;
  18781. else
  18782. tx_pwrctrl_tbl =
  18783. nphy_tpc_5GHz_txgain_rev5;
  18784. } else {
  18785. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18786. if (pi->pubpi.radiorev == 5)
  18787. tx_pwrctrl_tbl =
  18788. nphy_tpc_txgain_epa_2057rev5;
  18789. else if (pi->pubpi.radiorev == 3)
  18790. tx_pwrctrl_tbl =
  18791. nphy_tpc_txgain_epa_2057rev3;
  18792. } else {
  18793. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  18794. (pi->srom_fem2g.extpagain == 3))
  18795. tx_pwrctrl_tbl =
  18796. nphy_tpc_txgain_HiPwrEPA;
  18797. else
  18798. tx_pwrctrl_tbl =
  18799. nphy_tpc_txgain_rev3;
  18800. }
  18801. }
  18802. }
  18803. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18804. 192, 32, tx_pwrctrl_tbl);
  18805. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18806. 192, 32, tx_pwrctrl_tbl);
  18807. pi->nphy_gmval = (u16) ((*tx_pwrctrl_tbl >> 16) & 0x7000);
  18808. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18809. for (idx = 0; idx < 128; idx++) {
  18810. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18811. pad_gn = (tx_pwrctrl_tbl[idx] >> 19) & 0x1f;
  18812. rfpwr_offset = get_rf_pwr_offset(pi, pga_gn,
  18813. pad_gn);
  18814. wlc_phy_table_write_nphy(
  18815. pi,
  18816. NPHY_TBL_ID_CORE1TXPWRCTL,
  18817. 1, 576 + idx, 32,
  18818. &rfpwr_offset);
  18819. wlc_phy_table_write_nphy(
  18820. pi,
  18821. NPHY_TBL_ID_CORE2TXPWRCTL,
  18822. 1, 576 + idx, 32,
  18823. &rfpwr_offset);
  18824. }
  18825. } else {
  18826. for (idx = 0; idx < 128; idx++) {
  18827. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18828. if (CHSPEC_IS2G(pi->radio_chanspec))
  18829. rfpwr_offset = (s16)
  18830. nphy_papd_pga_gain_delta_ipa_2g
  18831. [pga_gn];
  18832. else
  18833. rfpwr_offset = (s16)
  18834. nphy_papd_pga_gain_delta_ipa_5g
  18835. [pga_gn];
  18836. wlc_phy_table_write_nphy(
  18837. pi,
  18838. NPHY_TBL_ID_CORE1TXPWRCTL,
  18839. 1, 576 + idx, 32,
  18840. &rfpwr_offset);
  18841. wlc_phy_table_write_nphy(
  18842. pi,
  18843. NPHY_TBL_ID_CORE2TXPWRCTL,
  18844. 1, 576 + idx, 32,
  18845. &rfpwr_offset);
  18846. }
  18847. }
  18848. } else {
  18849. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18850. 192, 32, nphy_tpc_txgain);
  18851. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18852. 192, 32, nphy_tpc_txgain);
  18853. }
  18854. if (pi->sh->phyrxchain != 0x3)
  18855. wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
  18856. pi->sh->phyrxchain);
  18857. if (PHY_PERICAL_MPHASE_PENDING(pi))
  18858. wlc_phy_cal_perical_mphase_restart(pi);
  18859. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18860. do_rssi_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18861. (pi->nphy_rssical_chanspec_2G == 0) :
  18862. (pi->nphy_rssical_chanspec_5G == 0);
  18863. if (do_rssi_cal)
  18864. wlc_phy_rssi_cal_nphy(pi);
  18865. else
  18866. wlc_phy_restore_rssical_nphy(pi);
  18867. } else {
  18868. wlc_phy_rssi_cal_nphy(pi);
  18869. }
  18870. if (!SCAN_RM_IN_PROGRESS(pi))
  18871. do_nphy_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18872. (pi->nphy_iqcal_chanspec_2G == 0) :
  18873. (pi->nphy_iqcal_chanspec_5G == 0);
  18874. if (!pi->do_initcal)
  18875. do_nphy_cal = false;
  18876. if (do_nphy_cal) {
  18877. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  18878. if (pi->antsel_type == ANTSEL_2x3)
  18879. wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
  18880. true);
  18881. if (pi->nphy_perical != PHY_PERICAL_MPHASE) {
  18882. wlc_phy_rssi_cal_nphy(pi);
  18883. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18884. pi->nphy_cal_orig_pwr_idx[0] =
  18885. pi->nphy_txpwrindex[PHY_CORE_0]
  18886. .
  18887. index_internal;
  18888. pi->nphy_cal_orig_pwr_idx[1] =
  18889. pi->nphy_txpwrindex[PHY_CORE_1]
  18890. .
  18891. index_internal;
  18892. wlc_phy_precal_txgain_nphy(pi);
  18893. target_gain =
  18894. wlc_phy_get_tx_gain_nphy(pi);
  18895. }
  18896. if (wlc_phy_cal_txiqlo_nphy
  18897. (pi, target_gain, true,
  18898. false) == 0) {
  18899. if (wlc_phy_cal_rxiq_nphy
  18900. (pi, target_gain, 2,
  18901. false) == 0)
  18902. wlc_phy_savecal_nphy(pi);
  18903. }
  18904. } else if (pi->mphase_cal_phase_id ==
  18905. MPHASE_CAL_STATE_IDLE) {
  18906. wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
  18907. PHY_PERICAL_PHYINIT);
  18908. }
  18909. } else {
  18910. wlc_phy_restorecal_nphy(pi);
  18911. }
  18912. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  18913. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  18914. wlc_phy_nphy_tkip_rifs_war(pi, pi->sh->_rifs_phy);
  18915. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6))
  18916. write_phy_reg(pi, 0x70, 50);
  18917. wlc_phy_txlpfbw_nphy(pi);
  18918. wlc_phy_spurwar_nphy(pi);
  18919. }
  18920. static void wlc_phy_resetcca_nphy(struct brcms_phy *pi)
  18921. {
  18922. u16 val;
  18923. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18924. val = read_phy_reg(pi, 0x01);
  18925. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18926. udelay(1);
  18927. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18928. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18929. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18930. }
  18931. void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en)
  18932. {
  18933. u16 rfctrlintc_override_val;
  18934. if (!en) {
  18935. pi->rfctrlIntc1_save = read_phy_reg(pi, 0x91);
  18936. pi->rfctrlIntc2_save = read_phy_reg(pi, 0x92);
  18937. if (NREV_GE(pi->pubpi.phy_rev, 7))
  18938. rfctrlintc_override_val = 0x1480;
  18939. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  18940. rfctrlintc_override_val =
  18941. CHSPEC_IS5G(pi->radio_chanspec) ? 0x600 : 0x480;
  18942. else
  18943. rfctrlintc_override_val =
  18944. CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  18945. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  18946. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  18947. } else {
  18948. write_phy_reg(pi, 0x91, pi->rfctrlIntc1_save);
  18949. write_phy_reg(pi, 0x92, pi->rfctrlIntc2_save);
  18950. }
  18951. }
  18952. void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi)
  18953. {
  18954. u16 txrx_chain =
  18955. (NPHY_RfseqCoreActv_TxRxChain0 | NPHY_RfseqCoreActv_TxRxChain1);
  18956. bool CoreActv_override = false;
  18957. if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN0) {
  18958. txrx_chain = NPHY_RfseqCoreActv_TxRxChain0;
  18959. CoreActv_override = true;
  18960. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18961. and_phy_reg(pi, 0xa0, ~0x20);
  18962. } else if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN1) {
  18963. txrx_chain = NPHY_RfseqCoreActv_TxRxChain1;
  18964. CoreActv_override = true;
  18965. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18966. or_phy_reg(pi, 0xa0, 0x20);
  18967. }
  18968. mod_phy_reg(pi, 0xa2, ((0xf << 0) | (0xf << 4)), txrx_chain);
  18969. if (CoreActv_override) {
  18970. pi->nphy_perical = PHY_PERICAL_DISABLE;
  18971. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  18972. } else {
  18973. pi->nphy_perical = PHY_PERICAL_MPHASE;
  18974. and_phy_reg(pi, 0xa1, ~NPHY_RfseqMode_CoreActv_override);
  18975. }
  18976. }
  18977. void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
  18978. {
  18979. u16 regval;
  18980. u16 tbl_buf[16];
  18981. uint i;
  18982. struct brcms_phy *pi = (struct brcms_phy *) pih;
  18983. u16 tbl_opcode;
  18984. bool suspend;
  18985. pi->sh->phyrxchain = rxcore_bitmask;
  18986. if (!pi->sh->clk)
  18987. return;
  18988. suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  18989. MCTL_EN_MAC));
  18990. if (!suspend)
  18991. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  18992. if (pi->phyhang_avoid)
  18993. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18994. regval = read_phy_reg(pi, 0xa2);
  18995. regval &= ~(0xf << 4);
  18996. regval |= ((u16) (rxcore_bitmask & 0x3)) << 4;
  18997. write_phy_reg(pi, 0xa2, regval);
  18998. if ((rxcore_bitmask & 0x3) != 0x3) {
  18999. write_phy_reg(pi, 0x20e, 1);
  19000. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19001. if (pi->rx2tx_biasentry == -1) {
  19002. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19003. ARRAY_SIZE(tbl_buf), 80,
  19004. 16, tbl_buf);
  19005. for (i = 0; i < ARRAY_SIZE(tbl_buf); i++) {
  19006. if (tbl_buf[i] ==
  19007. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS) {
  19008. pi->rx2tx_biasentry = (u8) i;
  19009. tbl_opcode =
  19010. NPHY_REV3_RFSEQ_CMD_NOP;
  19011. wlc_phy_table_write_nphy(
  19012. pi,
  19013. NPHY_TBL_ID_RFSEQ,
  19014. 1, i,
  19015. 16,
  19016. &tbl_opcode);
  19017. break;
  19018. } else if (tbl_buf[i] ==
  19019. NPHY_REV3_RFSEQ_CMD_END)
  19020. break;
  19021. }
  19022. }
  19023. }
  19024. } else {
  19025. write_phy_reg(pi, 0x20e, 30);
  19026. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19027. if (pi->rx2tx_biasentry != -1) {
  19028. tbl_opcode = NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS;
  19029. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19030. 1, pi->rx2tx_biasentry,
  19031. 16, &tbl_opcode);
  19032. pi->rx2tx_biasentry = -1;
  19033. }
  19034. }
  19035. }
  19036. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  19037. if (pi->phyhang_avoid)
  19038. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  19039. if (!suspend)
  19040. wlapi_enable_mac(pi->sh->physhim);
  19041. }
  19042. u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
  19043. {
  19044. u16 regval, rxen_bits;
  19045. struct brcms_phy *pi = (struct brcms_phy *) pih;
  19046. regval = read_phy_reg(pi, 0xa2);
  19047. rxen_bits = (regval >> 4) & 0xf;
  19048. return (u8) rxen_bits;
  19049. }
  19050. bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi)
  19051. {
  19052. return PHY_IPA(pi);
  19053. }
  19054. void wlc_phy_cal_init_nphy(struct brcms_phy *pi)
  19055. {
  19056. }
  19057. static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi)
  19058. {
  19059. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19060. and_phy_reg(pi, 0x78, RFCC_OE_POR_FORCE);
  19061. or_phy_reg(pi, 0x78, ~RFCC_OE_POR_FORCE);
  19062. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU);
  19063. }
  19064. static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
  19065. {
  19066. struct radio_20xx_regs *regs_2057_ptr = NULL;
  19067. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19068. regs_2057_ptr = regs_2057_rev4;
  19069. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19070. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19071. switch (pi->pubpi.radiorev) {
  19072. case 5:
  19073. if (NREV_IS(pi->pubpi.phy_rev, 8))
  19074. regs_2057_ptr = regs_2057_rev5;
  19075. else if (NREV_IS(pi->pubpi.phy_rev, 9))
  19076. regs_2057_ptr = regs_2057_rev5v1;
  19077. break;
  19078. case 7:
  19079. regs_2057_ptr = regs_2057_rev7;
  19080. break;
  19081. case 8:
  19082. regs_2057_ptr = regs_2057_rev8;
  19083. break;
  19084. default:
  19085. break;
  19086. }
  19087. }
  19088. wlc_phy_init_radio_regs_allbands(pi, regs_2057_ptr);
  19089. }
  19090. static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi)
  19091. {
  19092. u16 rcal_reg = 0;
  19093. int i;
  19094. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19095. if (pi->pubpi.radiorev == 5) {
  19096. and_phy_reg(pi, 0x342, ~(0x1 << 1));
  19097. udelay(10);
  19098. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x1);
  19099. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19100. 0x1);
  19101. }
  19102. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x1);
  19103. udelay(10);
  19104. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x3, 0x3);
  19105. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19106. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS);
  19107. if (rcal_reg & 0x1)
  19108. break;
  19109. udelay(100);
  19110. }
  19111. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19112. "HW error: radio calib2"))
  19113. return 0;
  19114. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x2, 0x0);
  19115. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS) & 0x3e;
  19116. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x0);
  19117. if (pi->pubpi.radiorev == 5) {
  19118. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x0);
  19119. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19120. 0x0);
  19121. }
  19122. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19123. mod_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x3c,
  19124. rcal_reg);
  19125. mod_radio_reg(pi, RADIO_2057_BANDGAP_RCAL_TRIM, 0xf0,
  19126. rcal_reg << 2);
  19127. }
  19128. } else if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19129. u16 savereg;
  19130. savereg =
  19131. read_radio_reg(
  19132. pi,
  19133. RADIO_2056_SYN_PLL_MAST2 |
  19134. RADIO_2056_SYN);
  19135. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19136. savereg | 0x7);
  19137. udelay(10);
  19138. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19139. 0x1);
  19140. udelay(10);
  19141. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19142. 0x9);
  19143. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19144. rcal_reg = read_radio_reg(
  19145. pi,
  19146. RADIO_2056_SYN_RCAL_CODE_OUT |
  19147. RADIO_2056_SYN);
  19148. if (rcal_reg & 0x80)
  19149. break;
  19150. udelay(100);
  19151. }
  19152. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19153. "HW error: radio calib3"))
  19154. return 0;
  19155. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19156. 0x1);
  19157. rcal_reg =
  19158. read_radio_reg(pi,
  19159. RADIO_2056_SYN_RCAL_CODE_OUT |
  19160. RADIO_2056_SYN);
  19161. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19162. 0x0);
  19163. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19164. savereg);
  19165. return rcal_reg & 0x1f;
  19166. }
  19167. return rcal_reg & 0x3e;
  19168. }
  19169. static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi)
  19170. {
  19171. u16 rccal_valid;
  19172. int i;
  19173. bool chip43226_6362A0;
  19174. chip43226_6362A0 = ((pi->pubpi.radiorev == 3)
  19175. || (pi->pubpi.radiorev == 4)
  19176. || (pi->pubpi.radiorev == 6));
  19177. rccal_valid = 0;
  19178. if (chip43226_6362A0) {
  19179. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x61);
  19180. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xc0);
  19181. } else {
  19182. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x61);
  19183. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xe9);
  19184. }
  19185. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19186. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19187. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19188. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19189. if (rccal_valid & 0x2)
  19190. break;
  19191. udelay(500);
  19192. }
  19193. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19194. rccal_valid = 0;
  19195. if (chip43226_6362A0) {
  19196. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x69);
  19197. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19198. } else {
  19199. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x69);
  19200. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xd5);
  19201. }
  19202. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19203. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19204. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19205. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19206. if (rccal_valid & 0x2)
  19207. break;
  19208. udelay(500);
  19209. }
  19210. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19211. rccal_valid = 0;
  19212. if (chip43226_6362A0) {
  19213. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x73);
  19214. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x28);
  19215. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19216. } else {
  19217. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x73);
  19218. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19219. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0x99);
  19220. }
  19221. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19222. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19223. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19224. if (rccal_valid & 0x2)
  19225. break;
  19226. udelay(500);
  19227. }
  19228. if (WARN(!(rccal_valid & 0x2), "HW error: radio calib4"))
  19229. return 0;
  19230. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19231. return rccal_valid;
  19232. }
  19233. static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi)
  19234. {
  19235. mod_radio_reg(pi, RADIO_2057_XTALPUOVR_PINCTRL, 0x1, 0x1);
  19236. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x78);
  19237. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x80);
  19238. mdelay(2);
  19239. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x0);
  19240. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x0);
  19241. if (pi->phy_init_por) {
  19242. wlc_phy_radio205x_rcal(pi);
  19243. wlc_phy_radio2057_rccal(pi);
  19244. }
  19245. mod_radio_reg(pi, RADIO_2057_RFPLL_MASTER, 0x8, 0x0);
  19246. }
  19247. static void wlc_phy_radio_init_2056(struct brcms_phy *pi)
  19248. {
  19249. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19250. const struct radio_regs *regs_TX_2056_ptr = NULL;
  19251. const struct radio_regs *regs_RX_2056_ptr = NULL;
  19252. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19253. regs_SYN_2056_ptr = regs_SYN_2056;
  19254. regs_TX_2056_ptr = regs_TX_2056;
  19255. regs_RX_2056_ptr = regs_RX_2056;
  19256. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19257. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19258. regs_TX_2056_ptr = regs_TX_2056_A1;
  19259. regs_RX_2056_ptr = regs_RX_2056_A1;
  19260. } else {
  19261. switch (pi->pubpi.radiorev) {
  19262. case 5:
  19263. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19264. regs_TX_2056_ptr = regs_TX_2056_rev5;
  19265. regs_RX_2056_ptr = regs_RX_2056_rev5;
  19266. break;
  19267. case 6:
  19268. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19269. regs_TX_2056_ptr = regs_TX_2056_rev6;
  19270. regs_RX_2056_ptr = regs_RX_2056_rev6;
  19271. break;
  19272. case 7:
  19273. case 9:
  19274. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19275. regs_TX_2056_ptr = regs_TX_2056_rev7;
  19276. regs_RX_2056_ptr = regs_RX_2056_rev7;
  19277. break;
  19278. case 8:
  19279. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19280. regs_TX_2056_ptr = regs_TX_2056_rev8;
  19281. regs_RX_2056_ptr = regs_RX_2056_rev8;
  19282. break;
  19283. case 11:
  19284. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19285. regs_TX_2056_ptr = regs_TX_2056_rev11;
  19286. regs_RX_2056_ptr = regs_RX_2056_rev11;
  19287. break;
  19288. default:
  19289. break;
  19290. }
  19291. }
  19292. wlc_phy_init_radio_regs(pi, regs_SYN_2056_ptr, (u16) RADIO_2056_SYN);
  19293. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX0);
  19294. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX1);
  19295. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX0);
  19296. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX1);
  19297. }
  19298. static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi)
  19299. {
  19300. mod_radio_reg(pi, RADIO_2056_SYN_COM_CTRL, 0xb, 0xb);
  19301. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x2);
  19302. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x2);
  19303. udelay(1000);
  19304. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x0);
  19305. if ((pi->sh->boardflags2 & BFL2_LEGACY)
  19306. || (pi->sh->boardflags2 & BFL2_XTALBUFOUTEN))
  19307. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xf4, 0x0);
  19308. else
  19309. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xfc, 0x0);
  19310. mod_radio_reg(pi, RADIO_2056_SYN_RCCAL_CTRL0, 0x1, 0x0);
  19311. if (pi->phy_init_por)
  19312. wlc_phy_radio205x_rcal(pi);
  19313. }
  19314. static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi)
  19315. {
  19316. and_phy_reg(pi, 0x78, ~RFCC_POR_FORCE);
  19317. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU | RFCC_OE_POR_FORCE);
  19318. or_phy_reg(pi, 0x78, RFCC_POR_FORCE);
  19319. }
  19320. static void wlc_phy_radio_init_2055(struct brcms_phy *pi)
  19321. {
  19322. wlc_phy_init_radio_regs(pi, regs_2055, RADIO_DEFAULT_CORE);
  19323. }
  19324. static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi)
  19325. {
  19326. and_radio_reg(pi, RADIO_2055_MASTER_CNTRL1,
  19327. ~(RADIO_2055_JTAGCTRL_MASK | RADIO_2055_JTAGSYNC_MASK));
  19328. if (((pi->sh->sromrev >= 4)
  19329. && !(pi->sh->boardflags2 & BFL2_RXBB_INT_REG_DIS))
  19330. || ((pi->sh->sromrev < 4))) {
  19331. and_radio_reg(pi, RADIO_2055_CORE1_RXBB_REGULATOR, 0x7F);
  19332. and_radio_reg(pi, RADIO_2055_CORE2_RXBB_REGULATOR, 0x7F);
  19333. }
  19334. mod_radio_reg(pi, RADIO_2055_RRCCAL_N_OPT_SEL, 0x3F, 0x2C);
  19335. write_radio_reg(pi, RADIO_2055_CAL_MISC, 0x3C);
  19336. and_radio_reg(pi, RADIO_2055_CAL_MISC,
  19337. ~(RADIO_2055_RRCAL_START | RADIO_2055_RRCAL_RST_N));
  19338. or_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL, RADIO_2055_CAL_LPO_ENABLE);
  19339. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_RST_N);
  19340. udelay(1000);
  19341. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_START);
  19342. SPINWAIT(((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19343. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE), 2000);
  19344. if (WARN((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19345. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE,
  19346. "HW error: radio calibration1\n"))
  19347. return;
  19348. and_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL,
  19349. ~(RADIO_2055_CAL_LPO_ENABLE));
  19350. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
  19351. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_LPF, 9);
  19352. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_LPF, 9);
  19353. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_MIDAC_HIPAS, 0x83);
  19354. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_MIDAC_HIPAS, 0x83);
  19355. mod_radio_reg(pi, RADIO_2055_CORE1_LNA_GAINBST,
  19356. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19357. mod_radio_reg(pi, RADIO_2055_CORE2_LNA_GAINBST,
  19358. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19359. if (pi->nphy_gain_boost) {
  19360. and_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19361. ~(RADIO_2055_GAINBST_DISABLE));
  19362. and_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19363. ~(RADIO_2055_GAINBST_DISABLE));
  19364. } else {
  19365. or_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19366. RADIO_2055_GAINBST_DISABLE);
  19367. or_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19368. RADIO_2055_GAINBST_DISABLE);
  19369. }
  19370. udelay(2);
  19371. }
  19372. void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
  19373. {
  19374. if (on) {
  19375. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19376. if (!pi->radio_is_on) {
  19377. wlc_phy_radio_preinit_205x(pi);
  19378. wlc_phy_radio_init_2057(pi);
  19379. wlc_phy_radio_postinit_2057(pi);
  19380. }
  19381. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19382. pi->radio_chanspec);
  19383. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19384. wlc_phy_radio_preinit_205x(pi);
  19385. wlc_phy_radio_init_2056(pi);
  19386. wlc_phy_radio_postinit_2056(pi);
  19387. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19388. pi->radio_chanspec);
  19389. } else {
  19390. wlc_phy_radio_preinit_2055(pi);
  19391. wlc_phy_radio_init_2055(pi);
  19392. wlc_phy_radio_postinit_2055(pi);
  19393. }
  19394. pi->radio_is_on = true;
  19395. } else {
  19396. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19397. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  19398. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19399. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x0);
  19400. write_radio_reg(pi,
  19401. RADIO_2056_TX_PADA_BOOST_TUNE |
  19402. RADIO_2056_TX0, 0);
  19403. write_radio_reg(pi,
  19404. RADIO_2056_TX_PADG_BOOST_TUNE |
  19405. RADIO_2056_TX0, 0);
  19406. write_radio_reg(pi,
  19407. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19408. RADIO_2056_TX0, 0);
  19409. write_radio_reg(pi,
  19410. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19411. RADIO_2056_TX0, 0);
  19412. mod_radio_reg(pi,
  19413. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19414. RADIO_2056_TX0, 0xf0, 0);
  19415. write_radio_reg(pi,
  19416. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19417. RADIO_2056_TX0, 0);
  19418. write_radio_reg(pi,
  19419. RADIO_2056_TX_PADA_BOOST_TUNE |
  19420. RADIO_2056_TX1, 0);
  19421. write_radio_reg(pi,
  19422. RADIO_2056_TX_PADG_BOOST_TUNE |
  19423. RADIO_2056_TX1, 0);
  19424. write_radio_reg(pi,
  19425. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19426. RADIO_2056_TX1, 0);
  19427. write_radio_reg(pi,
  19428. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19429. RADIO_2056_TX1, 0);
  19430. mod_radio_reg(pi,
  19431. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19432. RADIO_2056_TX1, 0xf0, 0);
  19433. write_radio_reg(pi,
  19434. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19435. RADIO_2056_TX1, 0);
  19436. pi->radio_is_on = false;
  19437. }
  19438. if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  19439. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19440. pi->radio_is_on = false;
  19441. }
  19442. }
  19443. }
  19444. static bool
  19445. wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f,
  19446. const struct chan_info_nphy_radio2057 **t0,
  19447. const struct chan_info_nphy_radio205x **t1,
  19448. const struct chan_info_nphy_radio2057_rev5 **t2,
  19449. const struct chan_info_nphy_2055 **t3)
  19450. {
  19451. uint i;
  19452. const struct chan_info_nphy_radio2057 *chan_info_tbl_p_0 = NULL;
  19453. const struct chan_info_nphy_radio205x *chan_info_tbl_p_1 = NULL;
  19454. const struct chan_info_nphy_radio2057_rev5 *chan_info_tbl_p_2 = NULL;
  19455. u32 tbl_len = 0;
  19456. int freq = 0;
  19457. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19458. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19459. chan_info_tbl_p_0 = chan_info_nphyrev7_2057_rev4;
  19460. tbl_len = ARRAY_SIZE(chan_info_nphyrev7_2057_rev4);
  19461. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19462. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19463. switch (pi->pubpi.radiorev) {
  19464. case 5:
  19465. if (pi->pubpi.radiover == 0x0) {
  19466. chan_info_tbl_p_2 =
  19467. chan_info_nphyrev8_2057_rev5;
  19468. tbl_len = ARRAY_SIZE(
  19469. chan_info_nphyrev8_2057_rev5);
  19470. } else if (pi->pubpi.radiover == 0x1) {
  19471. chan_info_tbl_p_2 =
  19472. chan_info_nphyrev9_2057_rev5v1;
  19473. tbl_len = ARRAY_SIZE(
  19474. chan_info_nphyrev9_2057_rev5v1);
  19475. }
  19476. break;
  19477. case 7:
  19478. chan_info_tbl_p_0 =
  19479. chan_info_nphyrev8_2057_rev7;
  19480. tbl_len = ARRAY_SIZE(
  19481. chan_info_nphyrev8_2057_rev7);
  19482. break;
  19483. case 8:
  19484. chan_info_tbl_p_0 =
  19485. chan_info_nphyrev8_2057_rev8;
  19486. tbl_len = ARRAY_SIZE(
  19487. chan_info_nphyrev8_2057_rev8);
  19488. break;
  19489. default:
  19490. break;
  19491. }
  19492. } else if (NREV_IS(pi->pubpi.phy_rev, 16)) {
  19493. chan_info_tbl_p_0 = chan_info_nphyrev8_2057_rev8;
  19494. tbl_len = ARRAY_SIZE(chan_info_nphyrev8_2057_rev8);
  19495. } else {
  19496. goto fail;
  19497. }
  19498. for (i = 0; i < tbl_len; i++) {
  19499. if (pi->pubpi.radiorev == 5) {
  19500. if (chan_info_tbl_p_2[i].chan == channel)
  19501. break;
  19502. } else {
  19503. if (chan_info_tbl_p_0[i].chan == channel)
  19504. break;
  19505. }
  19506. }
  19507. if (i >= tbl_len)
  19508. goto fail;
  19509. if (pi->pubpi.radiorev == 5) {
  19510. *t2 = &chan_info_tbl_p_2[i];
  19511. freq = chan_info_tbl_p_2[i].freq;
  19512. } else {
  19513. *t0 = &chan_info_tbl_p_0[i];
  19514. freq = chan_info_tbl_p_0[i].freq;
  19515. }
  19516. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19517. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19518. chan_info_tbl_p_1 = chan_info_nphyrev3_2056;
  19519. tbl_len = ARRAY_SIZE(chan_info_nphyrev3_2056);
  19520. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19521. chan_info_tbl_p_1 = chan_info_nphyrev4_2056_A1;
  19522. tbl_len = ARRAY_SIZE(chan_info_nphyrev4_2056_A1);
  19523. } else if (NREV_IS(pi->pubpi.phy_rev, 5)
  19524. || NREV_IS(pi->pubpi.phy_rev, 6)) {
  19525. switch (pi->pubpi.radiorev) {
  19526. case 5:
  19527. chan_info_tbl_p_1 = chan_info_nphyrev5_2056v5;
  19528. tbl_len = ARRAY_SIZE(chan_info_nphyrev5_2056v5);
  19529. break;
  19530. case 6:
  19531. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v6;
  19532. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v6);
  19533. break;
  19534. case 7:
  19535. case 9:
  19536. chan_info_tbl_p_1 = chan_info_nphyrev5n6_2056v7;
  19537. tbl_len =
  19538. ARRAY_SIZE(chan_info_nphyrev5n6_2056v7);
  19539. break;
  19540. case 8:
  19541. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v8;
  19542. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v8);
  19543. break;
  19544. case 11:
  19545. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v11;
  19546. tbl_len = ARRAY_SIZE(
  19547. chan_info_nphyrev6_2056v11);
  19548. break;
  19549. default:
  19550. break;
  19551. }
  19552. }
  19553. for (i = 0; i < tbl_len; i++) {
  19554. if (chan_info_tbl_p_1[i].chan == channel)
  19555. break;
  19556. }
  19557. if (i >= tbl_len)
  19558. goto fail;
  19559. *t1 = &chan_info_tbl_p_1[i];
  19560. freq = chan_info_tbl_p_1[i].freq;
  19561. } else {
  19562. for (i = 0; i < ARRAY_SIZE(chan_info_nphy_2055); i++)
  19563. if (chan_info_nphy_2055[i].chan == channel)
  19564. break;
  19565. if (i >= ARRAY_SIZE(chan_info_nphy_2055))
  19566. goto fail;
  19567. *t3 = &chan_info_nphy_2055[i];
  19568. freq = chan_info_nphy_2055[i].freq;
  19569. }
  19570. *f = freq;
  19571. return true;
  19572. fail:
  19573. *f = WL_CHAN_FREQ_RANGE_2G;
  19574. return false;
  19575. }
  19576. u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel)
  19577. {
  19578. int freq;
  19579. const struct chan_info_nphy_radio2057 *t0 = NULL;
  19580. const struct chan_info_nphy_radio205x *t1 = NULL;
  19581. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  19582. const struct chan_info_nphy_2055 *t3 = NULL;
  19583. if (channel == 0)
  19584. channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  19585. wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
  19586. if (CHSPEC_IS2G(pi->radio_chanspec))
  19587. return WL_CHAN_FREQ_RANGE_2G;
  19588. if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
  19589. return WL_CHAN_FREQ_RANGE_5GL;
  19590. else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
  19591. return WL_CHAN_FREQ_RANGE_5GM;
  19592. else
  19593. return WL_CHAN_FREQ_RANGE_5GH;
  19594. }
  19595. static void
  19596. wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi,
  19597. const struct chan_info_nphy_2055 *ci)
  19598. {
  19599. write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref);
  19600. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0);
  19601. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1);
  19602. write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail);
  19603. BRCMS_PHY_WAR_PR51571(pi);
  19604. write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1);
  19605. write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2);
  19606. write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1);
  19607. write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1);
  19608. BRCMS_PHY_WAR_PR51571(pi);
  19609. write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2);
  19610. write_radio_reg(pi, RADIO_2055_LGBUF_CEN_BUF, ci->RF_lgbuf_cen_buf);
  19611. write_radio_reg(pi, RADIO_2055_LGEN_TUNE1, ci->RF_lgen_tune1);
  19612. write_radio_reg(pi, RADIO_2055_LGEN_TUNE2, ci->RF_lgen_tune2);
  19613. BRCMS_PHY_WAR_PR51571(pi);
  19614. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_A_TUNE,
  19615. ci->RF_core1_lgbuf_a_tune);
  19616. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_G_TUNE,
  19617. ci->RF_core1_lgbuf_g_tune);
  19618. write_radio_reg(pi, RADIO_2055_CORE1_RXRF_REG1, ci->RF_core1_rxrf_reg1);
  19619. write_radio_reg(pi, RADIO_2055_CORE1_TX_PGA_PAD_TN,
  19620. ci->RF_core1_tx_pga_pad_tn);
  19621. BRCMS_PHY_WAR_PR51571(pi);
  19622. write_radio_reg(pi, RADIO_2055_CORE1_TX_MX_BGTRIM,
  19623. ci->RF_core1_tx_mx_bgtrim);
  19624. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_A_TUNE,
  19625. ci->RF_core2_lgbuf_a_tune);
  19626. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_G_TUNE,
  19627. ci->RF_core2_lgbuf_g_tune);
  19628. write_radio_reg(pi, RADIO_2055_CORE2_RXRF_REG1, ci->RF_core2_rxrf_reg1);
  19629. BRCMS_PHY_WAR_PR51571(pi);
  19630. write_radio_reg(pi, RADIO_2055_CORE2_TX_PGA_PAD_TN,
  19631. ci->RF_core2_tx_pga_pad_tn);
  19632. write_radio_reg(pi, RADIO_2055_CORE2_TX_MX_BGTRIM,
  19633. ci->RF_core2_tx_mx_bgtrim);
  19634. udelay(50);
  19635. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x05);
  19636. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x45);
  19637. BRCMS_PHY_WAR_PR51571(pi);
  19638. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x65);
  19639. udelay(300);
  19640. }
  19641. static void
  19642. wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi,
  19643. const struct chan_info_nphy_radio205x *ci)
  19644. {
  19645. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19646. write_radio_reg(pi,
  19647. RADIO_2056_SYN_PLL_VCOCAL1 | RADIO_2056_SYN,
  19648. ci->RF_SYN_pll_vcocal1);
  19649. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL2 | RADIO_2056_SYN,
  19650. ci->RF_SYN_pll_vcocal2);
  19651. write_radio_reg(pi, RADIO_2056_SYN_PLL_REFDIV | RADIO_2056_SYN,
  19652. ci->RF_SYN_pll_refdiv);
  19653. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD2 | RADIO_2056_SYN,
  19654. ci->RF_SYN_pll_mmd2);
  19655. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD1 | RADIO_2056_SYN,
  19656. ci->RF_SYN_pll_mmd1);
  19657. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19658. ci->RF_SYN_pll_loopfilter1);
  19659. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19660. ci->RF_SYN_pll_loopfilter2);
  19661. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER3 | RADIO_2056_SYN,
  19662. ci->RF_SYN_pll_loopfilter3);
  19663. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19664. ci->RF_SYN_pll_loopfilter4);
  19665. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER5 | RADIO_2056_SYN,
  19666. ci->RF_SYN_pll_loopfilter5);
  19667. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR27 | RADIO_2056_SYN,
  19668. ci->RF_SYN_reserved_addr27);
  19669. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR28 | RADIO_2056_SYN,
  19670. ci->RF_SYN_reserved_addr28);
  19671. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR29 | RADIO_2056_SYN,
  19672. ci->RF_SYN_reserved_addr29);
  19673. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_VCOBUF1 | RADIO_2056_SYN,
  19674. ci->RF_SYN_logen_VCOBUF1);
  19675. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_MIXER2 | RADIO_2056_SYN,
  19676. ci->RF_SYN_logen_MIXER2);
  19677. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF3 | RADIO_2056_SYN,
  19678. ci->RF_SYN_logen_BUF3);
  19679. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF4 | RADIO_2056_SYN,
  19680. ci->RF_SYN_logen_BUF4);
  19681. write_radio_reg(pi,
  19682. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX0,
  19683. ci->RF_RX0_lnaa_tune);
  19684. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX0,
  19685. ci->RF_RX0_lnag_tune);
  19686. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX0,
  19687. ci->RF_TX0_intpaa_boost_tune);
  19688. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX0,
  19689. ci->RF_TX0_intpag_boost_tune);
  19690. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX0,
  19691. ci->RF_TX0_pada_boost_tune);
  19692. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX0,
  19693. ci->RF_TX0_padg_boost_tune);
  19694. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX0,
  19695. ci->RF_TX0_pgaa_boost_tune);
  19696. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX0,
  19697. ci->RF_TX0_pgag_boost_tune);
  19698. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX0,
  19699. ci->RF_TX0_mixa_boost_tune);
  19700. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX0,
  19701. ci->RF_TX0_mixg_boost_tune);
  19702. write_radio_reg(pi,
  19703. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX1,
  19704. ci->RF_RX1_lnaa_tune);
  19705. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX1,
  19706. ci->RF_RX1_lnag_tune);
  19707. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX1,
  19708. ci->RF_TX1_intpaa_boost_tune);
  19709. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX1,
  19710. ci->RF_TX1_intpag_boost_tune);
  19711. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX1,
  19712. ci->RF_TX1_pada_boost_tune);
  19713. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX1,
  19714. ci->RF_TX1_padg_boost_tune);
  19715. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX1,
  19716. ci->RF_TX1_pgaa_boost_tune);
  19717. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX1,
  19718. ci->RF_TX1_pgag_boost_tune);
  19719. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX1,
  19720. ci->RF_TX1_mixa_boost_tune);
  19721. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX1,
  19722. ci->RF_TX1_mixg_boost_tune);
  19723. if (NREV_IS(pi->pubpi.phy_rev, 3))
  19724. regs_SYN_2056_ptr = regs_SYN_2056;
  19725. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  19726. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19727. else {
  19728. switch (pi->pubpi.radiorev) {
  19729. case 5:
  19730. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19731. break;
  19732. case 6:
  19733. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19734. break;
  19735. case 7:
  19736. case 9:
  19737. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19738. break;
  19739. case 8:
  19740. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19741. break;
  19742. case 11:
  19743. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19744. break;
  19745. }
  19746. }
  19747. if (CHSPEC_IS2G(pi->radio_chanspec))
  19748. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19749. RADIO_2056_SYN,
  19750. (u16) regs_SYN_2056_ptr[0x49 - 2].init_g);
  19751. else
  19752. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19753. RADIO_2056_SYN,
  19754. (u16) regs_SYN_2056_ptr[0x49 - 2].init_a);
  19755. if (pi->sh->boardflags2 & BFL2_GPLL_WAR) {
  19756. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19757. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19758. RADIO_2056_SYN, 0x1f);
  19759. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19760. RADIO_2056_SYN, 0x1f);
  19761. write_radio_reg(pi,
  19762. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19763. RADIO_2056_SYN, 0xb);
  19764. write_radio_reg(pi,
  19765. RADIO_2056_SYN_PLL_CP2 |
  19766. RADIO_2056_SYN, 0x14);
  19767. }
  19768. }
  19769. if ((pi->sh->boardflags2 & BFL2_GPLL_WAR2) &&
  19770. (CHSPEC_IS2G(pi->radio_chanspec))) {
  19771. write_radio_reg(pi,
  19772. RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19773. 0x1f);
  19774. write_radio_reg(pi,
  19775. RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19776. 0x1f);
  19777. write_radio_reg(pi,
  19778. RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19779. 0xb);
  19780. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 | RADIO_2056_SYN,
  19781. 0x20);
  19782. }
  19783. if (pi->sh->boardflags2 & BFL2_APLL_WAR) {
  19784. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  19785. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19786. RADIO_2056_SYN, 0x1f);
  19787. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19788. RADIO_2056_SYN, 0x1f);
  19789. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19790. RADIO_2056_SYN, 0x5);
  19791. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19792. RADIO_2056_SYN, 0xc);
  19793. }
  19794. }
  19795. if (PHY_IPA(pi) && CHSPEC_IS2G(pi->radio_chanspec)) {
  19796. u16 pag_boost_tune;
  19797. u16 padg_boost_tune;
  19798. u16 pgag_boost_tune;
  19799. u16 mixg_boost_tune;
  19800. u16 bias, cascbias;
  19801. uint core;
  19802. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19803. if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  19804. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19805. PADG_IDAC, 0xcc);
  19806. bias = 0x25;
  19807. cascbias = 0x20;
  19808. if ((pi->sh->chip ==
  19809. BCM43224_CHIP_ID)
  19810. || (pi->sh->chip ==
  19811. BCM43225_CHIP_ID)) {
  19812. if (pi->sh->chippkg ==
  19813. BCM43224_FAB_SMIC) {
  19814. bias = 0x2a;
  19815. cascbias = 0x38;
  19816. }
  19817. }
  19818. pag_boost_tune = 0x4;
  19819. pgag_boost_tune = 0x03;
  19820. padg_boost_tune = 0x77;
  19821. mixg_boost_tune = 0x65;
  19822. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19823. INTPAG_IMAIN_STAT, bias);
  19824. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19825. INTPAG_IAUX_STAT, bias);
  19826. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19827. INTPAG_CASCBIAS, cascbias);
  19828. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19829. INTPAG_BOOST_TUNE,
  19830. pag_boost_tune);
  19831. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19832. PGAG_BOOST_TUNE,
  19833. pgag_boost_tune);
  19834. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19835. PADG_BOOST_TUNE,
  19836. padg_boost_tune);
  19837. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19838. MIXG_BOOST_TUNE,
  19839. mixg_boost_tune);
  19840. } else {
  19841. bias = (pi->bw == WL_CHANSPEC_BW_40) ?
  19842. 0x40 : 0x20;
  19843. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19844. INTPAG_IMAIN_STAT, bias);
  19845. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19846. INTPAG_IAUX_STAT, bias);
  19847. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19848. INTPAG_CASCBIAS, 0x30);
  19849. }
  19850. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, PA_SPARE1,
  19851. 0xee);
  19852. }
  19853. }
  19854. if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6)
  19855. && CHSPEC_IS5G(pi->radio_chanspec)) {
  19856. u16 paa_boost_tune;
  19857. u16 pada_boost_tune;
  19858. u16 pgaa_boost_tune;
  19859. u16 mixa_boost_tune;
  19860. u16 freq, pabias, cascbias;
  19861. uint core;
  19862. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  19863. if (freq < 5150) {
  19864. paa_boost_tune = 0xa;
  19865. pada_boost_tune = 0x77;
  19866. pgaa_boost_tune = 0xf;
  19867. mixa_boost_tune = 0xf;
  19868. } else if (freq < 5340) {
  19869. paa_boost_tune = 0x8;
  19870. pada_boost_tune = 0x77;
  19871. pgaa_boost_tune = 0xfb;
  19872. mixa_boost_tune = 0xf;
  19873. } else if (freq < 5650) {
  19874. paa_boost_tune = 0x0;
  19875. pada_boost_tune = 0x77;
  19876. pgaa_boost_tune = 0xb;
  19877. mixa_boost_tune = 0xf;
  19878. } else {
  19879. paa_boost_tune = 0x0;
  19880. pada_boost_tune = 0x77;
  19881. if (freq != 5825)
  19882. pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
  19883. else
  19884. pgaa_boost_tune = 6;
  19885. mixa_boost_tune = 0xf;
  19886. }
  19887. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19888. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19889. INTPAA_BOOST_TUNE, paa_boost_tune);
  19890. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19891. PADA_BOOST_TUNE, pada_boost_tune);
  19892. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19893. PGAA_BOOST_TUNE, pgaa_boost_tune);
  19894. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19895. MIXA_BOOST_TUNE, mixa_boost_tune);
  19896. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19897. TXSPARE1, 0x30);
  19898. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19899. PA_SPARE2, 0xee);
  19900. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19901. PADA_CASCBIAS, 0x3);
  19902. cascbias = 0x30;
  19903. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  19904. (pi->sh->chip == BCM43225_CHIP_ID)) {
  19905. if (pi->sh->chippkg == BCM43224_FAB_SMIC)
  19906. cascbias = 0x35;
  19907. }
  19908. pabias = (pi->phy_pabias == 0) ? 0x30 : pi->phy_pabias;
  19909. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19910. INTPAA_IAUX_STAT, pabias);
  19911. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19912. INTPAA_IMAIN_STAT, pabias);
  19913. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19914. INTPAA_CASCBIAS, cascbias);
  19915. }
  19916. }
  19917. udelay(50);
  19918. wlc_phy_radio205x_vcocal_nphy(pi);
  19919. }
  19920. void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi)
  19921. {
  19922. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19923. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x0);
  19924. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04, 0x0);
  19925. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04,
  19926. (1 << 2));
  19927. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x01);
  19928. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19929. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL12, 0x0);
  19930. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19931. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x18);
  19932. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19933. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x39);
  19934. }
  19935. udelay(300);
  19936. }
  19937. static void
  19938. wlc_phy_chanspec_radio2057_setup(
  19939. struct brcms_phy *pi,
  19940. const struct chan_info_nphy_radio2057 *ci,
  19941. const struct chan_info_nphy_radio2057_rev5 *
  19942. ci2)
  19943. {
  19944. int coreNum;
  19945. u16 txmix2g_tune_boost_pu = 0;
  19946. u16 pad2g_tune_pus = 0;
  19947. if (pi->pubpi.radiorev == 5) {
  19948. write_radio_reg(pi,
  19949. RADIO_2057_VCOCAL_COUNTVAL0,
  19950. ci2->RF_vcocal_countval0);
  19951. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19952. ci2->RF_vcocal_countval1);
  19953. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19954. ci2->RF_rfpll_refmaster_sparextalsize);
  19955. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19956. ci2->RF_rfpll_loopfilter_r1);
  19957. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19958. ci2->RF_rfpll_loopfilter_c2);
  19959. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19960. ci2->RF_rfpll_loopfilter_c1);
  19961. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC,
  19962. ci2->RF_cp_kpd_idac);
  19963. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci2->RF_rfpll_mmd0);
  19964. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci2->RF_rfpll_mmd1);
  19965. write_radio_reg(pi,
  19966. RADIO_2057_VCOBUF_TUNE, ci2->RF_vcobuf_tune);
  19967. write_radio_reg(pi,
  19968. RADIO_2057_LOGEN_MX2G_TUNE,
  19969. ci2->RF_logen_mx2g_tune);
  19970. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19971. ci2->RF_logen_indbuf2g_tune);
  19972. write_radio_reg(pi,
  19973. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19974. ci2->RF_txmix2g_tune_boost_pu_core0);
  19975. write_radio_reg(pi,
  19976. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19977. ci2->RF_pad2g_tune_pus_core0);
  19978. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19979. ci2->RF_lna2g_tune_core0);
  19980. write_radio_reg(pi,
  19981. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19982. ci2->RF_txmix2g_tune_boost_pu_core1);
  19983. write_radio_reg(pi,
  19984. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19985. ci2->RF_pad2g_tune_pus_core1);
  19986. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19987. ci2->RF_lna2g_tune_core1);
  19988. } else {
  19989. write_radio_reg(pi,
  19990. RADIO_2057_VCOCAL_COUNTVAL0,
  19991. ci->RF_vcocal_countval0);
  19992. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19993. ci->RF_vcocal_countval1);
  19994. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19995. ci->RF_rfpll_refmaster_sparextalsize);
  19996. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19997. ci->RF_rfpll_loopfilter_r1);
  19998. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19999. ci->RF_rfpll_loopfilter_c2);
  20000. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20001. ci->RF_rfpll_loopfilter_c1);
  20002. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, ci->RF_cp_kpd_idac);
  20003. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci->RF_rfpll_mmd0);
  20004. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci->RF_rfpll_mmd1);
  20005. write_radio_reg(pi, RADIO_2057_VCOBUF_TUNE, ci->RF_vcobuf_tune);
  20006. write_radio_reg(pi,
  20007. RADIO_2057_LOGEN_MX2G_TUNE,
  20008. ci->RF_logen_mx2g_tune);
  20009. write_radio_reg(pi, RADIO_2057_LOGEN_MX5G_TUNE,
  20010. ci->RF_logen_mx5g_tune);
  20011. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  20012. ci->RF_logen_indbuf2g_tune);
  20013. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF5G_TUNE,
  20014. ci->RF_logen_indbuf5g_tune);
  20015. write_radio_reg(pi,
  20016. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  20017. ci->RF_txmix2g_tune_boost_pu_core0);
  20018. write_radio_reg(pi,
  20019. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  20020. ci->RF_pad2g_tune_pus_core0);
  20021. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE0,
  20022. ci->RF_pga_boost_tune_core0);
  20023. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE0,
  20024. ci->RF_txmix5g_boost_tune_core0);
  20025. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE0,
  20026. ci->RF_pad5g_tune_misc_pus_core0);
  20027. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  20028. ci->RF_lna2g_tune_core0);
  20029. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE0,
  20030. ci->RF_lna5g_tune_core0);
  20031. write_radio_reg(pi,
  20032. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  20033. ci->RF_txmix2g_tune_boost_pu_core1);
  20034. write_radio_reg(pi,
  20035. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  20036. ci->RF_pad2g_tune_pus_core1);
  20037. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE1,
  20038. ci->RF_pga_boost_tune_core1);
  20039. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE1,
  20040. ci->RF_txmix5g_boost_tune_core1);
  20041. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE1,
  20042. ci->RF_pad5g_tune_misc_pus_core1);
  20043. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  20044. ci->RF_lna2g_tune_core1);
  20045. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE1,
  20046. ci->RF_lna5g_tune_core1);
  20047. }
  20048. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  20049. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20050. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20051. 0x3f);
  20052. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20053. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20054. 0x8);
  20055. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20056. 0x8);
  20057. } else {
  20058. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20059. 0x1f);
  20060. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20061. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20062. 0x8);
  20063. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20064. 0x8);
  20065. }
  20066. } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) ||
  20067. (pi->pubpi.radiorev == 8)) {
  20068. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20069. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20070. 0x1b);
  20071. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x30);
  20072. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20073. 0xa);
  20074. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20075. 0xa);
  20076. } else {
  20077. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20078. 0x1f);
  20079. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20080. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20081. 0x8);
  20082. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20083. 0x8);
  20084. }
  20085. }
  20086. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20087. if (PHY_IPA(pi)) {
  20088. if (pi->pubpi.radiorev == 3)
  20089. txmix2g_tune_boost_pu = 0x6b;
  20090. if (pi->pubpi.radiorev == 5)
  20091. pad2g_tune_pus = 0x73;
  20092. } else {
  20093. if (pi->pubpi.radiorev != 5) {
  20094. pad2g_tune_pus = 0x3;
  20095. txmix2g_tune_boost_pu = 0x61;
  20096. }
  20097. }
  20098. for (coreNum = 0; coreNum <= 1; coreNum++) {
  20099. if (txmix2g_tune_boost_pu != 0)
  20100. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20101. TXMIX2G_TUNE_BOOST_PU,
  20102. txmix2g_tune_boost_pu);
  20103. if (pad2g_tune_pus != 0)
  20104. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20105. PAD2G_TUNE_PUS,
  20106. pad2g_tune_pus);
  20107. }
  20108. }
  20109. udelay(50);
  20110. wlc_phy_radio205x_vcocal_nphy(pi);
  20111. }
  20112. static void
  20113. wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec,
  20114. const struct nphy_sfo_cfg *ci)
  20115. {
  20116. u16 val;
  20117. val = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  20118. if (CHSPEC_IS5G(chanspec) && !val) {
  20119. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20120. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20121. (val | MAC_PHY_FORCE_CLK));
  20122. or_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20123. (BBCFG_RESETCCA | BBCFG_RESETRX));
  20124. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20125. or_phy_reg(pi, 0x09, NPHY_BandControl_currentBand);
  20126. } else if (!CHSPEC_IS5G(chanspec) && val) {
  20127. and_phy_reg(pi, 0x09, ~NPHY_BandControl_currentBand);
  20128. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20129. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20130. (val | MAC_PHY_FORCE_CLK));
  20131. and_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20132. (u16) (~(BBCFG_RESETCCA | BBCFG_RESETRX)));
  20133. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20134. }
  20135. write_phy_reg(pi, 0x1ce, ci->PHY_BW1a);
  20136. write_phy_reg(pi, 0x1cf, ci->PHY_BW2);
  20137. write_phy_reg(pi, 0x1d0, ci->PHY_BW3);
  20138. write_phy_reg(pi, 0x1d1, ci->PHY_BW4);
  20139. write_phy_reg(pi, 0x1d2, ci->PHY_BW5);
  20140. write_phy_reg(pi, 0x1d3, ci->PHY_BW6);
  20141. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  20142. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en, 0);
  20143. or_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, 0x800);
  20144. } else {
  20145. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en,
  20146. NPHY_ClassifierCtrl_ofdm_en);
  20147. if (CHSPEC_IS2G(chanspec))
  20148. and_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, ~0x840);
  20149. }
  20150. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF)
  20151. wlc_phy_txpwr_fixpower_nphy(pi);
  20152. if (NREV_LT(pi->pubpi.phy_rev, 3))
  20153. wlc_phy_adjust_lnagaintbl_nphy(pi);
  20154. wlc_phy_txlpfbw_nphy(pi);
  20155. if (NREV_GE(pi->pubpi.phy_rev, 3)
  20156. && (pi->phy_spuravoid != SPURAVOID_DISABLE)) {
  20157. u8 spuravoid = 0;
  20158. val = CHSPEC_CHANNEL(chanspec);
  20159. if (!CHSPEC_IS40(pi->radio_chanspec)) {
  20160. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20161. if ((val == 13) || (val == 14) || (val == 153))
  20162. spuravoid = 1;
  20163. } else if (((val >= 5) && (val <= 8)) || (val == 13)
  20164. || (val == 14)) {
  20165. spuravoid = 1;
  20166. }
  20167. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20168. if (val == 54)
  20169. spuravoid = 1;
  20170. } else {
  20171. if (pi->nphy_aband_spurwar_en &&
  20172. ((val == 38) || (val == 102)
  20173. || (val == 118)))
  20174. spuravoid = 1;
  20175. }
  20176. if (pi->phy_spuravoid == SPURAVOID_FORCEON)
  20177. spuravoid = 1;
  20178. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, false);
  20179. si_pmu_spuravoid_pllupdate(pi->sh->sih, spuravoid);
  20180. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, true);
  20181. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  20182. (pi->sh->chip == BCM43225_CHIP_ID)) {
  20183. if (spuravoid == 1) {
  20184. bcma_write16(pi->d11core,
  20185. D11REGOFFS(tsf_clk_frac_l),
  20186. 0x5341);
  20187. bcma_write16(pi->d11core,
  20188. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20189. } else {
  20190. bcma_write16(pi->d11core,
  20191. D11REGOFFS(tsf_clk_frac_l),
  20192. 0x8889);
  20193. bcma_write16(pi->d11core,
  20194. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20195. }
  20196. }
  20197. wlapi_bmac_core_phypll_reset(pi->sh->physhim);
  20198. mod_phy_reg(pi, 0x01, (0x1 << 15),
  20199. ((spuravoid > 0) ? (0x1 << 15) : 0));
  20200. wlc_phy_resetcca_nphy(pi);
  20201. pi->phy_isspuravoid = (spuravoid > 0);
  20202. }
  20203. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20204. write_phy_reg(pi, 0x17e, 0x3830);
  20205. wlc_phy_spurwar_nphy(pi);
  20206. }
  20207. void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec)
  20208. {
  20209. int freq;
  20210. const struct chan_info_nphy_radio2057 *t0 = NULL;
  20211. const struct chan_info_nphy_radio205x *t1 = NULL;
  20212. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  20213. const struct chan_info_nphy_2055 *t3 = NULL;
  20214. if (!wlc_phy_chan2freq_nphy
  20215. (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
  20216. return;
  20217. wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
  20218. if (CHSPEC_BW(chanspec) != pi->bw)
  20219. wlapi_bmac_bw_set(pi->sh->physhim, CHSPEC_BW(chanspec));
  20220. if (CHSPEC_IS40(chanspec)) {
  20221. if (CHSPEC_SB_UPPER(chanspec)) {
  20222. or_phy_reg(pi, 0xa0, BPHY_BAND_SEL_UP20);
  20223. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20224. or_phy_reg(pi, 0x310, PRIM_SEL_UP20);
  20225. } else {
  20226. and_phy_reg(pi, 0xa0, ~BPHY_BAND_SEL_UP20);
  20227. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20228. and_phy_reg(pi, 0x310,
  20229. (~PRIM_SEL_UP20 & 0xffff));
  20230. }
  20231. }
  20232. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20233. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20234. if ((pi->pubpi.radiorev <= 4)
  20235. || (pi->pubpi.radiorev == 6)) {
  20236. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE0,
  20237. 0x2,
  20238. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20239. : 0));
  20240. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE1,
  20241. 0x2,
  20242. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20243. : 0));
  20244. }
  20245. wlc_phy_chanspec_radio2057_setup(pi, t0, t2);
  20246. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20247. (pi->pubpi.radiorev == 5) ?
  20248. (const struct nphy_sfo_cfg *)&(t2->PHY_BW1a) :
  20249. (const struct nphy_sfo_cfg *)&(t0->PHY_BW1a));
  20250. } else {
  20251. mod_radio_reg(pi,
  20252. RADIO_2056_SYN_COM_CTRL | RADIO_2056_SYN,
  20253. 0x4,
  20254. (CHSPEC_IS5G(chanspec) ? (0x1 << 2) : 0));
  20255. wlc_phy_chanspec_radio2056_setup(pi, t1);
  20256. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20257. (const struct nphy_sfo_cfg *) &(t1->PHY_BW1a));
  20258. }
  20259. } else {
  20260. mod_radio_reg(pi, RADIO_2055_MASTER_CNTRL1, 0x70,
  20261. (CHSPEC_IS5G(chanspec) ? (0x02 << 4)
  20262. : (0x05 << 4)));
  20263. wlc_phy_chanspec_radio2055_setup(pi, t3);
  20264. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20265. (const struct nphy_sfo_cfg *)
  20266. &(t3->PHY_BW1a));
  20267. }
  20268. }
  20269. void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
  20270. {
  20271. struct brcms_phy *pi = (struct brcms_phy *) ppi;
  20272. u16 mask = 0xfc00;
  20273. u32 mc = 0;
  20274. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20275. return;
  20276. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20277. u16 v0 = 0x211, v1 = 0x222, v2 = 0x144, v3 = 0x188;
  20278. if (!lut_init)
  20279. return;
  20280. if (pi->srom_fem2g.antswctrllut == 0) {
  20281. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20282. 1, 0x02, 16, &v0);
  20283. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20284. 1, 0x03, 16, &v1);
  20285. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20286. 1, 0x08, 16, &v2);
  20287. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20288. 1, 0x0C, 16, &v3);
  20289. }
  20290. if (pi->srom_fem5g.antswctrllut == 0) {
  20291. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20292. 1, 0x12, 16, &v0);
  20293. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20294. 1, 0x13, 16, &v1);
  20295. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20296. 1, 0x18, 16, &v2);
  20297. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20298. 1, 0x1C, 16, &v3);
  20299. }
  20300. } else {
  20301. write_phy_reg(pi, 0xc8, 0x0);
  20302. write_phy_reg(pi, 0xc9, 0x0);
  20303. ai_gpiocontrol(pi->sh->sih, mask, mask, GPIO_DRV_PRIORITY);
  20304. mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  20305. mc &= ~MCTL_GPOUT_SEL_MASK;
  20306. bcma_write32(pi->d11core, D11REGOFFS(maccontrol), mc);
  20307. bcma_set16(pi->d11core, D11REGOFFS(psm_gpio_oe), mask);
  20308. bcma_mask16(pi->d11core, D11REGOFFS(psm_gpio_out), ~mask);
  20309. if (lut_init) {
  20310. write_phy_reg(pi, 0xf8, 0x02d8);
  20311. write_phy_reg(pi, 0xf9, 0x0301);
  20312. write_phy_reg(pi, 0xfa, 0x02d8);
  20313. write_phy_reg(pi, 0xfb, 0x0301);
  20314. }
  20315. }
  20316. }
  20317. u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val)
  20318. {
  20319. u16 curr_ctl, new_ctl;
  20320. bool suspended = false;
  20321. if (D11REV_IS(pi->sh->corerev, 16)) {
  20322. suspended = (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  20323. MCTL_EN_MAC) ? false : true;
  20324. if (!suspended)
  20325. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  20326. }
  20327. curr_ctl = read_phy_reg(pi, 0xb0) & (0x7 << 0);
  20328. new_ctl = (curr_ctl & (~mask)) | (val & mask);
  20329. mod_phy_reg(pi, 0xb0, (0x7 << 0), new_ctl);
  20330. if (D11REV_IS(pi->sh->corerev, 16) && !suspended)
  20331. wlapi_enable_mac(pi->sh->physhim);
  20332. return new_ctl;
  20333. }
  20334. void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd)
  20335. {
  20336. u16 trigger_mask, status_mask;
  20337. u16 orig_RfseqCoreActv;
  20338. switch (cmd) {
  20339. case NPHY_RFSEQ_RX2TX:
  20340. trigger_mask = NPHY_RfseqTrigger_rx2tx;
  20341. status_mask = NPHY_RfseqStatus_rx2tx;
  20342. break;
  20343. case NPHY_RFSEQ_TX2RX:
  20344. trigger_mask = NPHY_RfseqTrigger_tx2rx;
  20345. status_mask = NPHY_RfseqStatus_tx2rx;
  20346. break;
  20347. case NPHY_RFSEQ_RESET2RX:
  20348. trigger_mask = NPHY_RfseqTrigger_reset2rx;
  20349. status_mask = NPHY_RfseqStatus_reset2rx;
  20350. break;
  20351. case NPHY_RFSEQ_UPDATEGAINH:
  20352. trigger_mask = NPHY_RfseqTrigger_updategainh;
  20353. status_mask = NPHY_RfseqStatus_updategainh;
  20354. break;
  20355. case NPHY_RFSEQ_UPDATEGAINL:
  20356. trigger_mask = NPHY_RfseqTrigger_updategainl;
  20357. status_mask = NPHY_RfseqStatus_updategainl;
  20358. break;
  20359. case NPHY_RFSEQ_UPDATEGAINU:
  20360. trigger_mask = NPHY_RfseqTrigger_updategainu;
  20361. status_mask = NPHY_RfseqStatus_updategainu;
  20362. break;
  20363. default:
  20364. return;
  20365. }
  20366. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  20367. or_phy_reg(pi, 0xa1,
  20368. (NPHY_RfseqMode_CoreActv_override |
  20369. NPHY_RfseqMode_Trigger_override));
  20370. or_phy_reg(pi, 0xa3, trigger_mask);
  20371. SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000);
  20372. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  20373. WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf");
  20374. }
  20375. static void
  20376. wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value,
  20377. u8 core_mask, u8 off)
  20378. {
  20379. u16 rfmxgain = 0, lpfgain = 0;
  20380. u16 tgain = 0;
  20381. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20382. switch (cmd) {
  20383. case NPHY_REV7_RfctrlOverride_cmd_rxrf_pu:
  20384. wlc_phy_rfctrl_override_nphy_rev7(
  20385. pi, (0x1 << 5),
  20386. value, core_mask, off,
  20387. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20388. wlc_phy_rfctrl_override_nphy_rev7(
  20389. pi, (0x1 << 4), value,
  20390. core_mask, off,
  20391. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20392. wlc_phy_rfctrl_override_nphy_rev7(
  20393. pi, (0x1 << 3), value,
  20394. core_mask, off,
  20395. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20396. break;
  20397. case NPHY_REV7_RfctrlOverride_cmd_rx_pu:
  20398. wlc_phy_rfctrl_override_nphy_rev7(
  20399. pi, (0x1 << 2),
  20400. value, core_mask, off,
  20401. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20402. wlc_phy_rfctrl_override_nphy_rev7(
  20403. pi, (0x1 << 1), value,
  20404. core_mask, off,
  20405. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20406. wlc_phy_rfctrl_override_nphy_rev7(
  20407. pi, (0x1 << 0), value,
  20408. core_mask, off,
  20409. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20410. wlc_phy_rfctrl_override_nphy_rev7(
  20411. pi, (0x1 << 1), value,
  20412. core_mask, off,
  20413. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20414. wlc_phy_rfctrl_override_nphy_rev7(
  20415. pi, (0x1 << 11), 0,
  20416. core_mask, off,
  20417. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20418. break;
  20419. case NPHY_REV7_RfctrlOverride_cmd_tx_pu:
  20420. wlc_phy_rfctrl_override_nphy_rev7(
  20421. pi, (0x1 << 2),
  20422. value, core_mask, off,
  20423. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20424. wlc_phy_rfctrl_override_nphy_rev7(
  20425. pi, (0x1 << 1), value,
  20426. core_mask, off,
  20427. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20428. wlc_phy_rfctrl_override_nphy_rev7(
  20429. pi, (0x1 << 0), value,
  20430. core_mask, off,
  20431. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20432. wlc_phy_rfctrl_override_nphy_rev7(
  20433. pi, (0x1 << 2), value,
  20434. core_mask, off,
  20435. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20436. wlc_phy_rfctrl_override_nphy_rev7(
  20437. pi, (0x1 << 11), 1,
  20438. core_mask, off,
  20439. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20440. break;
  20441. case NPHY_REV7_RfctrlOverride_cmd_rxgain:
  20442. rfmxgain = value & 0x000ff;
  20443. lpfgain = value & 0x0ff00;
  20444. lpfgain = lpfgain >> 8;
  20445. wlc_phy_rfctrl_override_nphy_rev7(
  20446. pi, (0x1 << 11),
  20447. rfmxgain, core_mask,
  20448. off,
  20449. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20450. wlc_phy_rfctrl_override_nphy_rev7(
  20451. pi, (0x3 << 13),
  20452. lpfgain, core_mask,
  20453. off,
  20454. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20455. break;
  20456. case NPHY_REV7_RfctrlOverride_cmd_txgain:
  20457. tgain = value & 0x7fff;
  20458. lpfgain = value & 0x8000;
  20459. lpfgain = lpfgain >> 14;
  20460. wlc_phy_rfctrl_override_nphy_rev7(
  20461. pi, (0x1 << 12),
  20462. tgain, core_mask, off,
  20463. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20464. wlc_phy_rfctrl_override_nphy_rev7(
  20465. pi, (0x1 << 13),
  20466. lpfgain, core_mask,
  20467. off,
  20468. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20469. break;
  20470. }
  20471. }
  20472. }
  20473. static void
  20474. wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset,
  20475. u8 coresel, u8 rail, u8 rssi_type)
  20476. {
  20477. u16 valuetostuff;
  20478. offset = (offset > NPHY_RSSICAL_MAXREAD) ?
  20479. NPHY_RSSICAL_MAXREAD : offset;
  20480. offset = (offset < (-NPHY_RSSICAL_MAXREAD - 1)) ?
  20481. -NPHY_RSSICAL_MAXREAD - 1 : offset;
  20482. valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f);
  20483. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20484. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20485. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20486. write_phy_reg(pi, 0x1a6, valuetostuff);
  20487. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20488. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20489. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20490. write_phy_reg(pi, 0x1ac, valuetostuff);
  20491. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20492. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20493. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20494. write_phy_reg(pi, 0x1b2, valuetostuff);
  20495. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20496. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20497. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20498. write_phy_reg(pi, 0x1b8, valuetostuff);
  20499. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20500. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20501. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20502. write_phy_reg(pi, 0x1a4, valuetostuff);
  20503. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20504. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20505. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20506. write_phy_reg(pi, 0x1aa, valuetostuff);
  20507. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20508. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20509. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20510. write_phy_reg(pi, 0x1b0, valuetostuff);
  20511. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20512. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20513. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20514. write_phy_reg(pi, 0x1b6, valuetostuff);
  20515. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20516. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20517. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20518. write_phy_reg(pi, 0x1a5, valuetostuff);
  20519. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20520. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20521. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20522. write_phy_reg(pi, 0x1ab, valuetostuff);
  20523. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20524. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20525. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20526. write_phy_reg(pi, 0x1b1, valuetostuff);
  20527. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20528. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20529. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20530. write_phy_reg(pi, 0x1b7, valuetostuff);
  20531. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20532. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20533. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20534. write_phy_reg(pi, 0x1a7, valuetostuff);
  20535. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20536. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20537. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20538. write_phy_reg(pi, 0x1ad, valuetostuff);
  20539. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20540. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20541. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20542. write_phy_reg(pi, 0x1b3, valuetostuff);
  20543. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20544. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20545. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20546. write_phy_reg(pi, 0x1b9, valuetostuff);
  20547. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20548. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20549. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20550. write_phy_reg(pi, 0x1a8, valuetostuff);
  20551. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20552. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20553. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20554. write_phy_reg(pi, 0x1ae, valuetostuff);
  20555. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20556. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20557. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20558. write_phy_reg(pi, 0x1b4, valuetostuff);
  20559. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20560. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20561. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20562. write_phy_reg(pi, 0x1ba, valuetostuff);
  20563. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20564. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20565. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20566. write_phy_reg(pi, 0x1a9, valuetostuff);
  20567. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20568. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20569. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20570. write_phy_reg(pi, 0x1b5, valuetostuff);
  20571. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20572. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20573. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20574. write_phy_reg(pi, 0x1af, valuetostuff);
  20575. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20576. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20577. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20578. write_phy_reg(pi, 0x1bb, valuetostuff);
  20579. }
  20580. static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core)
  20581. {
  20582. if (PHY_IPA(pi)) {
  20583. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20584. write_radio_reg(pi,
  20585. ((core == PHY_CORE_0) ?
  20586. RADIO_2057_TX0_TX_SSI_MUX :
  20587. RADIO_2057_TX1_TX_SSI_MUX),
  20588. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20589. 0xc : 0xe));
  20590. else
  20591. write_radio_reg(pi,
  20592. RADIO_2056_TX_TX_SSI_MUX |
  20593. ((core == PHY_CORE_0) ?
  20594. RADIO_2056_TX0 : RADIO_2056_TX1),
  20595. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20596. 0xc : 0xe));
  20597. } else {
  20598. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20599. write_radio_reg(pi,
  20600. ((core == PHY_CORE_0) ?
  20601. RADIO_2057_TX0_TX_SSI_MUX :
  20602. RADIO_2057_TX1_TX_SSI_MUX),
  20603. 0x11);
  20604. if (pi->pubpi.radioid == BCM2057_ID)
  20605. write_radio_reg(pi,
  20606. RADIO_2057_IQTEST_SEL_PU, 0x1);
  20607. } else {
  20608. write_radio_reg(pi,
  20609. RADIO_2056_TX_TX_SSI_MUX |
  20610. ((core == PHY_CORE_0) ?
  20611. RADIO_2056_TX0 : RADIO_2056_TX1),
  20612. 0x11);
  20613. }
  20614. }
  20615. }
  20616. void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type)
  20617. {
  20618. u16 mask, val;
  20619. u16 afectrlovr_rssi_val, rfctrlcmd_rxen_val, rfctrlcmd_coresel_val,
  20620. startseq;
  20621. u16 rfctrlovr_rssi_val, rfctrlovr_rxen_val, rfctrlovr_coresel_val,
  20622. rfctrlovr_trigger_val;
  20623. u16 afectrlovr_rssi_mask, rfctrlcmd_mask, rfctrlovr_mask;
  20624. u16 rfctrlcmd_val, rfctrlovr_val;
  20625. u8 core;
  20626. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20627. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20628. mod_phy_reg(pi, 0x8f, (0x1 << 9), 0);
  20629. mod_phy_reg(pi, 0xa5, (0x1 << 9), 0);
  20630. mod_phy_reg(pi, 0xa6, (0x3 << 8), 0);
  20631. mod_phy_reg(pi, 0xa7, (0x3 << 8), 0);
  20632. mod_phy_reg(pi, 0xe5, (0x1 << 5), 0);
  20633. mod_phy_reg(pi, 0xe6, (0x1 << 5), 0);
  20634. mask = (0x1 << 2) |
  20635. (0x1 << 3) | (0x1 << 4) | (0x1 << 5);
  20636. mod_phy_reg(pi, 0xf9, mask, 0);
  20637. mod_phy_reg(pi, 0xfb, mask, 0);
  20638. } else {
  20639. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20640. if (core_code == RADIO_MIMO_CORESEL_CORE1
  20641. && core == PHY_CORE_1)
  20642. continue;
  20643. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  20644. && core == PHY_CORE_0)
  20645. continue;
  20646. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20647. 0x8f : 0xa5, (0x1 << 9), 1 << 9);
  20648. if (rssi_type == NPHY_RSSI_SEL_W1 ||
  20649. rssi_type == NPHY_RSSI_SEL_W2 ||
  20650. rssi_type == NPHY_RSSI_SEL_NB) {
  20651. mod_phy_reg(pi,
  20652. (core ==
  20653. PHY_CORE_0) ? 0xa6 : 0xa7,
  20654. (0x3 << 8), 0);
  20655. mask = (0x1 << 2) |
  20656. (0x1 << 3) |
  20657. (0x1 << 4) | (0x1 << 5);
  20658. mod_phy_reg(pi,
  20659. (core ==
  20660. PHY_CORE_0) ? 0xf9 : 0xfb,
  20661. mask, 0);
  20662. if (rssi_type == NPHY_RSSI_SEL_W1) {
  20663. if (CHSPEC_IS5G(
  20664. pi->radio_chanspec)) {
  20665. mask = (0x1 << 2);
  20666. val = 1 << 2;
  20667. } else {
  20668. mask = (0x1 << 3);
  20669. val = 1 << 3;
  20670. }
  20671. } else if (rssi_type ==
  20672. NPHY_RSSI_SEL_W2) {
  20673. mask = (0x1 << 4);
  20674. val = 1 << 4;
  20675. } else {
  20676. mask = (0x1 << 5);
  20677. val = 1 << 5;
  20678. }
  20679. mod_phy_reg(pi,
  20680. (core ==
  20681. PHY_CORE_0) ? 0xf9 : 0xfb,
  20682. mask, val);
  20683. mask = (0x1 << 5);
  20684. val = 1 << 5;
  20685. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20686. 0xe5 : 0xe6, mask, val);
  20687. } else {
  20688. if (rssi_type == NPHY_RSSI_SEL_TBD) {
  20689. mask = (0x3 << 8);
  20690. val = 1 << 8;
  20691. mod_phy_reg(pi,
  20692. (core ==
  20693. PHY_CORE_0) ? 0xa6
  20694. : 0xa7, mask, val);
  20695. mask = (0x3 << 10);
  20696. val = 1 << 10;
  20697. mod_phy_reg(pi,
  20698. (core ==
  20699. PHY_CORE_0) ? 0xa6
  20700. : 0xa7, mask, val);
  20701. } else if (rssi_type ==
  20702. NPHY_RSSI_SEL_IQ) {
  20703. mask = (0x3 << 8);
  20704. val = 2 << 8;
  20705. mod_phy_reg(pi,
  20706. (core ==
  20707. PHY_CORE_0) ? 0xa6
  20708. : 0xa7, mask, val);
  20709. mask = (0x3 << 10);
  20710. val = 2 << 10;
  20711. mod_phy_reg(pi,
  20712. (core ==
  20713. PHY_CORE_0) ? 0xa6
  20714. : 0xa7, mask, val);
  20715. } else {
  20716. mask = (0x3 << 8);
  20717. val = 3 << 8;
  20718. mod_phy_reg(pi,
  20719. (core ==
  20720. PHY_CORE_0) ? 0xa6
  20721. : 0xa7, mask, val);
  20722. mask = (0x3 << 10);
  20723. val = 3 << 10;
  20724. mod_phy_reg(pi,
  20725. (core ==
  20726. PHY_CORE_0) ? 0xa6
  20727. : 0xa7, mask, val);
  20728. brcms_phy_wr_tx_mux(pi, core);
  20729. afectrlovr_rssi_val = 1 << 9;
  20730. mod_phy_reg(pi,
  20731. (core ==
  20732. PHY_CORE_0) ? 0x8f
  20733. : 0xa5, (0x1 << 9),
  20734. afectrlovr_rssi_val);
  20735. }
  20736. }
  20737. }
  20738. }
  20739. } else {
  20740. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20741. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20742. (rssi_type == NPHY_RSSI_SEL_NB))
  20743. val = 0x0;
  20744. else if (rssi_type == NPHY_RSSI_SEL_TBD)
  20745. val = 0x1;
  20746. else if (rssi_type == NPHY_RSSI_SEL_IQ)
  20747. val = 0x2;
  20748. else
  20749. val = 0x3;
  20750. mask = ((0x3 << 12) | (0x3 << 14));
  20751. val = (val << 12) | (val << 14);
  20752. mod_phy_reg(pi, 0xa6, mask, val);
  20753. mod_phy_reg(pi, 0xa7, mask, val);
  20754. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20755. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20756. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20757. if (rssi_type == NPHY_RSSI_SEL_W1)
  20758. val = 0x1;
  20759. if (rssi_type == NPHY_RSSI_SEL_W2)
  20760. val = 0x2;
  20761. if (rssi_type == NPHY_RSSI_SEL_NB)
  20762. val = 0x3;
  20763. mask = (0x3 << 4);
  20764. val = (val << 4);
  20765. mod_phy_reg(pi, 0x7a, mask, val);
  20766. mod_phy_reg(pi, 0x7d, mask, val);
  20767. }
  20768. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20769. afectrlovr_rssi_val = 0;
  20770. rfctrlcmd_rxen_val = 0;
  20771. rfctrlcmd_coresel_val = 0;
  20772. rfctrlovr_rssi_val = 0;
  20773. rfctrlovr_rxen_val = 0;
  20774. rfctrlovr_coresel_val = 0;
  20775. rfctrlovr_trigger_val = 0;
  20776. startseq = 0;
  20777. } else {
  20778. afectrlovr_rssi_val = 1;
  20779. rfctrlcmd_rxen_val = 1;
  20780. rfctrlcmd_coresel_val = core_code;
  20781. rfctrlovr_rssi_val = 1;
  20782. rfctrlovr_rxen_val = 1;
  20783. rfctrlovr_coresel_val = 1;
  20784. rfctrlovr_trigger_val = 1;
  20785. startseq = 1;
  20786. }
  20787. afectrlovr_rssi_mask = ((0x1 << 12) | (0x1 << 13));
  20788. afectrlovr_rssi_val = (afectrlovr_rssi_val <<
  20789. 12) | (afectrlovr_rssi_val << 13);
  20790. mod_phy_reg(pi, 0xa5, afectrlovr_rssi_mask,
  20791. afectrlovr_rssi_val);
  20792. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20793. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20794. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20795. rfctrlcmd_mask = ((0x1 << 8) | (0x7 << 3));
  20796. rfctrlcmd_val = (rfctrlcmd_rxen_val << 8) |
  20797. (rfctrlcmd_coresel_val << 3);
  20798. rfctrlovr_mask = ((0x1 << 5) |
  20799. (0x1 << 12) |
  20800. (0x1 << 1) | (0x1 << 0));
  20801. rfctrlovr_val = (rfctrlovr_rssi_val <<
  20802. 5) |
  20803. (rfctrlovr_rxen_val << 12) |
  20804. (rfctrlovr_coresel_val << 1) |
  20805. (rfctrlovr_trigger_val << 0);
  20806. mod_phy_reg(pi, 0x78, rfctrlcmd_mask, rfctrlcmd_val);
  20807. mod_phy_reg(pi, 0xec, rfctrlovr_mask, rfctrlovr_val);
  20808. mod_phy_reg(pi, 0x78, (0x1 << 0), (startseq << 0));
  20809. udelay(20);
  20810. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  20811. }
  20812. }
  20813. }
  20814. int
  20815. wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf,
  20816. u8 nsamps)
  20817. {
  20818. s16 rssi0, rssi1;
  20819. u16 afectrlCore1_save = 0;
  20820. u16 afectrlCore2_save = 0;
  20821. u16 afectrlOverride1_save = 0;
  20822. u16 afectrlOverride2_save = 0;
  20823. u16 rfctrlOverrideAux0_save = 0;
  20824. u16 rfctrlOverrideAux1_save = 0;
  20825. u16 rfctrlMiscReg1_save = 0;
  20826. u16 rfctrlMiscReg2_save = 0;
  20827. u16 rfctrlcmd_save = 0;
  20828. u16 rfctrloverride_save = 0;
  20829. u16 rfctrlrssiothers1_save = 0;
  20830. u16 rfctrlrssiothers2_save = 0;
  20831. s8 tmp_buf[4];
  20832. u8 ctr = 0, samp = 0;
  20833. s32 rssi_out_val;
  20834. u16 gpiosel_orig;
  20835. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20836. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20837. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20838. rfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  20839. rfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  20840. afectrlOverride1_save = read_phy_reg(pi, 0x8f);
  20841. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20842. rfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  20843. rfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  20844. } else {
  20845. afectrlOverride1_save = read_phy_reg(pi, 0xa5);
  20846. rfctrlcmd_save = read_phy_reg(pi, 0x78);
  20847. rfctrloverride_save = read_phy_reg(pi, 0xec);
  20848. rfctrlrssiothers1_save = read_phy_reg(pi, 0x7a);
  20849. rfctrlrssiothers2_save = read_phy_reg(pi, 0x7d);
  20850. }
  20851. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  20852. gpiosel_orig = read_phy_reg(pi, 0xca);
  20853. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20854. write_phy_reg(pi, 0xca, 5);
  20855. for (ctr = 0; ctr < 4; ctr++)
  20856. rssi_buf[ctr] = 0;
  20857. for (samp = 0; samp < nsamps; samp++) {
  20858. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  20859. rssi0 = read_phy_reg(pi, 0x1c9);
  20860. rssi1 = read_phy_reg(pi, 0x1ca);
  20861. } else {
  20862. rssi0 = read_phy_reg(pi, 0x219);
  20863. rssi1 = read_phy_reg(pi, 0x21a);
  20864. }
  20865. ctr = 0;
  20866. tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2;
  20867. tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2;
  20868. tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2;
  20869. tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2;
  20870. for (ctr = 0; ctr < 4; ctr++)
  20871. rssi_buf[ctr] += tmp_buf[ctr];
  20872. }
  20873. rssi_out_val = rssi_buf[3] & 0xff;
  20874. rssi_out_val |= (rssi_buf[2] & 0xff) << 8;
  20875. rssi_out_val |= (rssi_buf[1] & 0xff) << 16;
  20876. rssi_out_val |= (rssi_buf[0] & 0xff) << 24;
  20877. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20878. write_phy_reg(pi, 0xca, gpiosel_orig);
  20879. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20880. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20881. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20882. write_phy_reg(pi, 0xf9, rfctrlMiscReg1_save);
  20883. write_phy_reg(pi, 0xfb, rfctrlMiscReg2_save);
  20884. write_phy_reg(pi, 0x8f, afectrlOverride1_save);
  20885. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20886. write_phy_reg(pi, 0xe5, rfctrlOverrideAux0_save);
  20887. write_phy_reg(pi, 0xe6, rfctrlOverrideAux1_save);
  20888. } else {
  20889. write_phy_reg(pi, 0xa5, afectrlOverride1_save);
  20890. write_phy_reg(pi, 0x78, rfctrlcmd_save);
  20891. write_phy_reg(pi, 0xec, rfctrloverride_save);
  20892. write_phy_reg(pi, 0x7a, rfctrlrssiothers1_save);
  20893. write_phy_reg(pi, 0x7d, rfctrlrssiothers2_save);
  20894. }
  20895. return rssi_out_val;
  20896. }
  20897. s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi)
  20898. {
  20899. u16 core1_txrf_iqcal1_save, core1_txrf_iqcal2_save;
  20900. u16 core2_txrf_iqcal1_save, core2_txrf_iqcal2_save;
  20901. u16 pwrdet_rxtx_core1_save;
  20902. u16 pwrdet_rxtx_core2_save;
  20903. u16 afectrlCore1_save;
  20904. u16 afectrlCore2_save;
  20905. u16 afectrlOverride_save;
  20906. u16 afectrlOverride2_save;
  20907. u16 pd_pll_ts_save;
  20908. u16 gpioSel_save;
  20909. s32 radio_temp[4];
  20910. s32 radio_temp2[4];
  20911. u16 syn_tempprocsense_save;
  20912. s16 offset = 0;
  20913. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20914. u16 auxADC_Vmid, auxADC_Av, auxADC_Vmid_save, auxADC_Av_save;
  20915. u16 auxADC_rssi_ctrlL_save, auxADC_rssi_ctrlH_save;
  20916. u16 auxADC_rssi_ctrlL, auxADC_rssi_ctrlH;
  20917. s32 auxADC_Vl;
  20918. u16 RfctrlOverride5_save, RfctrlOverride6_save;
  20919. u16 RfctrlMiscReg5_save, RfctrlMiscReg6_save;
  20920. u16 RSSIMultCoef0QPowerDet_save;
  20921. u16 tempsense_Rcal;
  20922. syn_tempprocsense_save =
  20923. read_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG);
  20924. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20925. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20926. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20927. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20928. RSSIMultCoef0QPowerDet_save = read_phy_reg(pi, 0x1ae);
  20929. RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  20930. RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  20931. RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  20932. RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  20933. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20934. &auxADC_Vmid_save);
  20935. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20936. &auxADC_Av_save);
  20937. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20938. &auxADC_rssi_ctrlL_save);
  20939. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20940. &auxADC_rssi_ctrlH_save);
  20941. write_phy_reg(pi, 0x1ae, 0x0);
  20942. auxADC_rssi_ctrlL = 0x0;
  20943. auxADC_rssi_ctrlH = 0x20;
  20944. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20945. &auxADC_rssi_ctrlL);
  20946. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20947. &auxADC_rssi_ctrlH);
  20948. tempsense_Rcal = syn_tempprocsense_save & 0x1c;
  20949. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20950. tempsense_Rcal | 0x01);
  20951. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  20952. 1, 0, 0,
  20953. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20954. mod_phy_reg(pi, 0xa6, (0x1 << 7), 0);
  20955. mod_phy_reg(pi, 0xa7, (0x1 << 7), 0);
  20956. mod_phy_reg(pi, 0x8f, (0x1 << 7), (0x1 << 7));
  20957. mod_phy_reg(pi, 0xa5, (0x1 << 7), (0x1 << 7));
  20958. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  20959. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  20960. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  20961. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  20962. udelay(5);
  20963. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  20964. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  20965. mod_phy_reg(pi, 0xa6, (0x1 << 3), 0);
  20966. mod_phy_reg(pi, 0xa7, (0x1 << 3), 0);
  20967. mod_phy_reg(pi, 0x8f, (0x1 << 3), (0x1 << 3));
  20968. mod_phy_reg(pi, 0xa5, (0x1 << 3), (0x1 << 3));
  20969. mod_phy_reg(pi, 0xa6, (0x1 << 6), 0);
  20970. mod_phy_reg(pi, 0xa7, (0x1 << 6), 0);
  20971. mod_phy_reg(pi, 0x8f, (0x1 << 6), (0x1 << 6));
  20972. mod_phy_reg(pi, 0xa5, (0x1 << 6), (0x1 << 6));
  20973. auxADC_Vmid = 0xA3;
  20974. auxADC_Av = 0x0;
  20975. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20976. &auxADC_Vmid);
  20977. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20978. &auxADC_Av);
  20979. udelay(3);
  20980. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20981. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20982. tempsense_Rcal | 0x03);
  20983. udelay(5);
  20984. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20985. auxADC_Av = 0x7;
  20986. if (radio_temp[1] + radio_temp2[1] < -30) {
  20987. auxADC_Vmid = 0x45;
  20988. auxADC_Vl = 263;
  20989. } else if (radio_temp[1] + radio_temp2[1] < -9) {
  20990. auxADC_Vmid = 0x200;
  20991. auxADC_Vl = 467;
  20992. } else if (radio_temp[1] + radio_temp2[1] < 11) {
  20993. auxADC_Vmid = 0x266;
  20994. auxADC_Vl = 634;
  20995. } else {
  20996. auxADC_Vmid = 0x2D5;
  20997. auxADC_Vl = 816;
  20998. }
  20999. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21000. &auxADC_Vmid);
  21001. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21002. &auxADC_Av);
  21003. udelay(3);
  21004. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21005. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21006. tempsense_Rcal | 0x01);
  21007. udelay(5);
  21008. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21009. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21010. syn_tempprocsense_save);
  21011. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21012. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21013. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21014. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21015. write_phy_reg(pi, 0x1ae, RSSIMultCoef0QPowerDet_save);
  21016. write_phy_reg(pi, 0x346, RfctrlOverride5_save);
  21017. write_phy_reg(pi, 0x347, RfctrlOverride6_save);
  21018. write_phy_reg(pi, 0x344, RfctrlMiscReg5_save);
  21019. write_phy_reg(pi, 0x345, RfctrlMiscReg5_save);
  21020. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21021. &auxADC_Vmid_save);
  21022. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21023. &auxADC_Av_save);
  21024. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  21025. &auxADC_rssi_ctrlL_save);
  21026. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  21027. &auxADC_rssi_ctrlH_save);
  21028. radio_temp[0] = (179 * (radio_temp[1] + radio_temp2[1])
  21029. + 82 * (auxADC_Vl) - 28861 +
  21030. 128) / 256;
  21031. offset = (s16) pi->phy_tempsense_offset;
  21032. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21033. syn_tempprocsense_save =
  21034. read_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE);
  21035. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21036. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21037. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  21038. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21039. gpioSel_save = read_phy_reg(pi, 0xca);
  21040. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21041. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21042. if (NREV_LT(pi->pubpi.phy_rev, 7))
  21043. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x05);
  21044. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21045. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21046. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x01);
  21047. else
  21048. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21049. radio_temp[0] =
  21050. (126 * (radio_temp[1] + radio_temp2[1]) + 3987) / 64;
  21051. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE,
  21052. syn_tempprocsense_save);
  21053. write_phy_reg(pi, 0xca, gpioSel_save);
  21054. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21055. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21056. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21057. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21058. offset = (s16) pi->phy_tempsense_offset;
  21059. } else {
  21060. pwrdet_rxtx_core1_save =
  21061. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  21062. pwrdet_rxtx_core2_save =
  21063. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  21064. core1_txrf_iqcal1_save =
  21065. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  21066. core1_txrf_iqcal2_save =
  21067. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  21068. core2_txrf_iqcal1_save =
  21069. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  21070. core2_txrf_iqcal2_save =
  21071. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  21072. pd_pll_ts_save = read_radio_reg(pi, RADIO_2055_PD_PLL_TS);
  21073. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21074. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21075. afectrlOverride_save = read_phy_reg(pi, 0xa5);
  21076. gpioSel_save = read_phy_reg(pi, 0xca);
  21077. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x01);
  21078. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x01);
  21079. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x08);
  21080. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x08);
  21081. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  21082. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  21083. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, 0x00);
  21084. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21085. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21086. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21087. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21088. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21089. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21090. radio_temp[0] = (radio_temp[0] + radio_temp2[0]);
  21091. radio_temp[1] = (radio_temp[1] + radio_temp2[1]);
  21092. radio_temp[2] = (radio_temp[2] + radio_temp2[2]);
  21093. radio_temp[3] = (radio_temp[3] + radio_temp2[3]);
  21094. radio_temp[0] =
  21095. (radio_temp[0] + radio_temp[1] + radio_temp[2] +
  21096. radio_temp[3]);
  21097. radio_temp[0] =
  21098. (radio_temp[0] +
  21099. (8 * 32)) * (950 - 350) / 63 + (350 * 8);
  21100. radio_temp[0] = (radio_temp[0] - (8 * 420)) / 38;
  21101. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  21102. pwrdet_rxtx_core1_save);
  21103. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  21104. pwrdet_rxtx_core2_save);
  21105. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  21106. core1_txrf_iqcal1_save);
  21107. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  21108. core2_txrf_iqcal1_save);
  21109. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  21110. core1_txrf_iqcal2_save);
  21111. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  21112. core2_txrf_iqcal2_save);
  21113. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, pd_pll_ts_save);
  21114. write_phy_reg(pi, 0xca, gpioSel_save);
  21115. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21116. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21117. write_phy_reg(pi, 0xa5, afectrlOverride_save);
  21118. }
  21119. return (s16) radio_temp[0] + offset;
  21120. }
  21121. static void
  21122. wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf)
  21123. {
  21124. u8 core;
  21125. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21126. if (rssi_type == NPHY_RSSI_SEL_NB) {
  21127. if (core == PHY_CORE_0) {
  21128. mod_radio_reg(pi,
  21129. RADIO_2055_CORE1_B0_NBRSSI_VCM,
  21130. RADIO_2055_NBRSSI_VCM_I_MASK,
  21131. vcm_buf[2 *
  21132. core] <<
  21133. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21134. mod_radio_reg(pi,
  21135. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21136. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21137. vcm_buf[2 * core +
  21138. 1] <<
  21139. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21140. } else {
  21141. mod_radio_reg(pi,
  21142. RADIO_2055_CORE2_B0_NBRSSI_VCM,
  21143. RADIO_2055_NBRSSI_VCM_I_MASK,
  21144. vcm_buf[2 *
  21145. core] <<
  21146. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21147. mod_radio_reg(pi,
  21148. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21149. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21150. vcm_buf[2 * core +
  21151. 1] <<
  21152. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21153. }
  21154. } else {
  21155. if (core == PHY_CORE_0)
  21156. mod_radio_reg(pi,
  21157. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21158. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21159. vcm_buf[2 *
  21160. core] <<
  21161. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21162. else
  21163. mod_radio_reg(pi,
  21164. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21165. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21166. vcm_buf[2 *
  21167. core] <<
  21168. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21169. }
  21170. }
  21171. }
  21172. static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi)
  21173. {
  21174. u16 classif_state;
  21175. u16 clip_state[2];
  21176. u16 clip_off[] = { 0xffff, 0xffff };
  21177. s32 target_code;
  21178. u8 vcm, min_vcm;
  21179. u8 vcm_final = 0;
  21180. u8 result_idx;
  21181. s32 poll_results[8][4] = {
  21182. {0, 0, 0, 0},
  21183. {0, 0, 0, 0},
  21184. {0, 0, 0, 0},
  21185. {0, 0, 0, 0},
  21186. {0, 0, 0, 0},
  21187. {0, 0, 0, 0},
  21188. {0, 0, 0, 0},
  21189. {0, 0, 0, 0}
  21190. };
  21191. s32 poll_result_core[4] = { 0, 0, 0, 0 };
  21192. s32 min_d = NPHY_RSSICAL_MAXD, curr_d;
  21193. s32 fine_digital_offset[4];
  21194. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21195. s32 min_poll;
  21196. u8 vcm_level_max;
  21197. u8 core;
  21198. u8 wb_cnt;
  21199. u8 rssi_type;
  21200. u16 NPHY_Rfctrlintc1_save, NPHY_Rfctrlintc2_save;
  21201. u16 NPHY_AfectrlOverride1_save, NPHY_AfectrlOverride2_save;
  21202. u16 NPHY_AfectrlCore1_save, NPHY_AfectrlCore2_save;
  21203. u16 NPHY_RfctrlOverride0_save, NPHY_RfctrlOverride1_save;
  21204. u16 NPHY_RfctrlOverrideAux0_save, NPHY_RfctrlOverrideAux1_save;
  21205. u16 NPHY_RfctrlCmd_save;
  21206. u16 NPHY_RfctrlMiscReg1_save, NPHY_RfctrlMiscReg2_save;
  21207. u16 NPHY_RfctrlRSSIOTHERS1_save, NPHY_RfctrlRSSIOTHERS2_save;
  21208. u8 rxcore_state;
  21209. u16 NPHY_REV7_RfctrlOverride3_save, NPHY_REV7_RfctrlOverride4_save;
  21210. u16 NPHY_REV7_RfctrlOverride5_save, NPHY_REV7_RfctrlOverride6_save;
  21211. u16 NPHY_REV7_RfctrlMiscReg3_save, NPHY_REV7_RfctrlMiscReg4_save;
  21212. u16 NPHY_REV7_RfctrlMiscReg5_save, NPHY_REV7_RfctrlMiscReg6_save;
  21213. NPHY_REV7_RfctrlOverride3_save =
  21214. NPHY_REV7_RfctrlOverride4_save =
  21215. NPHY_REV7_RfctrlOverride5_save =
  21216. NPHY_REV7_RfctrlOverride6_save =
  21217. NPHY_REV7_RfctrlMiscReg3_save =
  21218. NPHY_REV7_RfctrlMiscReg4_save =
  21219. NPHY_REV7_RfctrlMiscReg5_save =
  21220. NPHY_REV7_RfctrlMiscReg6_save = 0;
  21221. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21222. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21223. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21224. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21225. NPHY_Rfctrlintc1_save = read_phy_reg(pi, 0x91);
  21226. NPHY_Rfctrlintc2_save = read_phy_reg(pi, 0x92);
  21227. NPHY_AfectrlOverride1_save = read_phy_reg(pi, 0x8f);
  21228. NPHY_AfectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21229. NPHY_AfectrlCore1_save = read_phy_reg(pi, 0xa6);
  21230. NPHY_AfectrlCore2_save = read_phy_reg(pi, 0xa7);
  21231. NPHY_RfctrlOverride0_save = read_phy_reg(pi, 0xe7);
  21232. NPHY_RfctrlOverride1_save = read_phy_reg(pi, 0xec);
  21233. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21234. NPHY_REV7_RfctrlOverride3_save = read_phy_reg(pi, 0x342);
  21235. NPHY_REV7_RfctrlOverride4_save = read_phy_reg(pi, 0x343);
  21236. NPHY_REV7_RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  21237. NPHY_REV7_RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  21238. }
  21239. NPHY_RfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  21240. NPHY_RfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  21241. NPHY_RfctrlCmd_save = read_phy_reg(pi, 0x78);
  21242. NPHY_RfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  21243. NPHY_RfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  21244. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21245. NPHY_REV7_RfctrlMiscReg3_save = read_phy_reg(pi, 0x340);
  21246. NPHY_REV7_RfctrlMiscReg4_save = read_phy_reg(pi, 0x341);
  21247. NPHY_REV7_RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  21248. NPHY_REV7_RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  21249. }
  21250. NPHY_RfctrlRSSIOTHERS1_save = read_phy_reg(pi, 0x7a);
  21251. NPHY_RfctrlRSSIOTHERS2_save = read_phy_reg(pi, 0x7d);
  21252. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_OFF, 0,
  21253. RADIO_MIMO_CORESEL_ALLRXTX);
  21254. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_TRSW, 1,
  21255. RADIO_MIMO_CORESEL_ALLRXTX);
  21256. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21257. wlc_phy_rfctrl_override_1tomany_nphy(
  21258. pi,
  21259. NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,
  21260. 0, 0, 0);
  21261. else
  21262. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0, 0);
  21263. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21264. wlc_phy_rfctrl_override_1tomany_nphy(
  21265. pi,
  21266. NPHY_REV7_RfctrlOverride_cmd_rx_pu,
  21267. 1, 0, 0);
  21268. else
  21269. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0, 0);
  21270. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21271. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  21272. 1, 0, 0,
  21273. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21274. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 6), 1, 0, 0,
  21275. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21276. } else {
  21277. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 7), 1, 0, 0);
  21278. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 6), 1, 0, 0);
  21279. }
  21280. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21281. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21282. wlc_phy_rfctrl_override_nphy_rev7(
  21283. pi, (0x1 << 5),
  21284. 0, 0, 0,
  21285. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21286. wlc_phy_rfctrl_override_nphy_rev7(
  21287. pi, (0x1 << 4), 1, 0,
  21288. 0,
  21289. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21290. } else {
  21291. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 0, 0, 0);
  21292. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 1, 0, 0);
  21293. }
  21294. } else {
  21295. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21296. wlc_phy_rfctrl_override_nphy_rev7(
  21297. pi, (0x1 << 4),
  21298. 0, 0, 0,
  21299. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21300. wlc_phy_rfctrl_override_nphy_rev7(
  21301. pi, (0x1 << 5), 1, 0,
  21302. 0,
  21303. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21304. } else {
  21305. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 0, 0, 0);
  21306. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 1, 0, 0);
  21307. }
  21308. }
  21309. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  21310. (struct brcms_phy_pub *) pi);
  21311. vcm_level_max = 8;
  21312. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21313. if ((rxcore_state & (1 << core)) == 0)
  21314. continue;
  21315. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21316. core ==
  21317. PHY_CORE_0 ?
  21318. RADIO_MIMO_CORESEL_CORE1 :
  21319. RADIO_MIMO_CORESEL_CORE2,
  21320. NPHY_RAIL_I, NPHY_RSSI_SEL_NB);
  21321. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21322. core ==
  21323. PHY_CORE_0 ?
  21324. RADIO_MIMO_CORESEL_CORE1 :
  21325. RADIO_MIMO_CORESEL_CORE2,
  21326. NPHY_RAIL_Q, NPHY_RSSI_SEL_NB);
  21327. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21328. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21329. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21330. RADIO_2057_NB_MASTER_CORE0 :
  21331. RADIO_2057_NB_MASTER_CORE1,
  21332. RADIO_2057_VCM_MASK, vcm);
  21333. else
  21334. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21335. ((core ==
  21336. PHY_CORE_0) ? RADIO_2056_RX0 :
  21337. RADIO_2056_RX1),
  21338. RADIO_2056_VCM_MASK,
  21339. vcm << RADIO_2056_RSSI_VCM_SHIFT);
  21340. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_NB,
  21341. &poll_results[vcm][0],
  21342. NPHY_RSSICAL_NPOLL);
  21343. }
  21344. for (result_idx = 0; result_idx < 4; result_idx++) {
  21345. if ((core == result_idx / 2) &&
  21346. (result_idx % 2 == 0)) {
  21347. min_d = NPHY_RSSICAL_MAXD;
  21348. min_vcm = 0;
  21349. min_poll =
  21350. NPHY_RSSICAL_MAXREAD *
  21351. NPHY_RSSICAL_NPOLL + 1;
  21352. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21353. curr_d =
  21354. poll_results[vcm][result_idx] *
  21355. poll_results[vcm][result_idx] +
  21356. poll_results[vcm][result_idx +
  21357. 1] *
  21358. poll_results[vcm][result_idx +
  21359. 1];
  21360. if (curr_d < min_d) {
  21361. min_d = curr_d;
  21362. min_vcm = vcm;
  21363. }
  21364. if (poll_results[vcm][result_idx] <
  21365. min_poll)
  21366. min_poll =
  21367. poll_results[vcm]
  21368. [result_idx];
  21369. }
  21370. vcm_final = min_vcm;
  21371. poll_results_min[result_idx] = min_poll;
  21372. }
  21373. }
  21374. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21375. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21376. RADIO_2057_NB_MASTER_CORE0 :
  21377. RADIO_2057_NB_MASTER_CORE1,
  21378. RADIO_2057_VCM_MASK, vcm_final);
  21379. else
  21380. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21381. ((core ==
  21382. PHY_CORE_0) ? RADIO_2056_RX0 :
  21383. RADIO_2056_RX1), RADIO_2056_VCM_MASK,
  21384. vcm_final << RADIO_2056_RSSI_VCM_SHIFT);
  21385. for (result_idx = 0; result_idx < 4; result_idx++) {
  21386. if (core == result_idx / 2) {
  21387. fine_digital_offset[result_idx] =
  21388. (NPHY_RSSICAL_NB_TARGET *
  21389. NPHY_RSSICAL_NPOLL) -
  21390. poll_results[vcm_final][result_idx];
  21391. if (fine_digital_offset[result_idx] < 0) {
  21392. fine_digital_offset[result_idx] =
  21393. abs(fine_digital_offset
  21394. [result_idx]);
  21395. fine_digital_offset[result_idx] +=
  21396. (NPHY_RSSICAL_NPOLL / 2);
  21397. fine_digital_offset[result_idx] /=
  21398. NPHY_RSSICAL_NPOLL;
  21399. fine_digital_offset[result_idx] =
  21400. -fine_digital_offset[
  21401. result_idx];
  21402. } else {
  21403. fine_digital_offset[result_idx] +=
  21404. (NPHY_RSSICAL_NPOLL / 2);
  21405. fine_digital_offset[result_idx] /=
  21406. NPHY_RSSICAL_NPOLL;
  21407. }
  21408. if (poll_results_min[result_idx] ==
  21409. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21410. fine_digital_offset[result_idx] =
  21411. (NPHY_RSSICAL_NB_TARGET -
  21412. NPHY_RSSICAL_MAXREAD - 1);
  21413. wlc_phy_scale_offset_rssi_nphy(
  21414. pi, 0x0,
  21415. (s8)
  21416. fine_digital_offset
  21417. [result_idx],
  21418. (result_idx / 2 == 0) ?
  21419. RADIO_MIMO_CORESEL_CORE1 :
  21420. RADIO_MIMO_CORESEL_CORE2,
  21421. (result_idx % 2 == 0) ?
  21422. NPHY_RAIL_I : NPHY_RAIL_Q,
  21423. NPHY_RSSI_SEL_NB);
  21424. }
  21425. }
  21426. }
  21427. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21428. if ((rxcore_state & (1 << core)) == 0)
  21429. continue;
  21430. for (wb_cnt = 0; wb_cnt < 2; wb_cnt++) {
  21431. if (wb_cnt == 0) {
  21432. rssi_type = NPHY_RSSI_SEL_W1;
  21433. target_code = NPHY_RSSICAL_W1_TARGET_REV3;
  21434. } else {
  21435. rssi_type = NPHY_RSSI_SEL_W2;
  21436. target_code = NPHY_RSSICAL_W2_TARGET_REV3;
  21437. }
  21438. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21439. core ==
  21440. PHY_CORE_0 ?
  21441. RADIO_MIMO_CORESEL_CORE1
  21442. :
  21443. RADIO_MIMO_CORESEL_CORE2,
  21444. NPHY_RAIL_I, rssi_type);
  21445. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21446. core ==
  21447. PHY_CORE_0 ?
  21448. RADIO_MIMO_CORESEL_CORE1
  21449. :
  21450. RADIO_MIMO_CORESEL_CORE2,
  21451. NPHY_RAIL_Q, rssi_type);
  21452. wlc_phy_poll_rssi_nphy(pi, rssi_type, poll_result_core,
  21453. NPHY_RSSICAL_NPOLL);
  21454. for (result_idx = 0; result_idx < 4; result_idx++) {
  21455. if (core == result_idx / 2) {
  21456. fine_digital_offset[result_idx] =
  21457. (target_code *
  21458. NPHY_RSSICAL_NPOLL) -
  21459. poll_result_core[result_idx];
  21460. if (fine_digital_offset[result_idx] <
  21461. 0) {
  21462. fine_digital_offset[result_idx]
  21463. = abs(
  21464. fine_digital_offset
  21465. [result_idx]);
  21466. fine_digital_offset[result_idx]
  21467. += (NPHY_RSSICAL_NPOLL
  21468. / 2);
  21469. fine_digital_offset[result_idx]
  21470. /= NPHY_RSSICAL_NPOLL;
  21471. fine_digital_offset[result_idx]
  21472. = -fine_digital_offset
  21473. [result_idx];
  21474. } else {
  21475. fine_digital_offset[result_idx]
  21476. += (NPHY_RSSICAL_NPOLL
  21477. / 2);
  21478. fine_digital_offset[result_idx]
  21479. /= NPHY_RSSICAL_NPOLL;
  21480. }
  21481. wlc_phy_scale_offset_rssi_nphy(
  21482. pi, 0x0,
  21483. (s8)
  21484. fine_digital_offset
  21485. [core *
  21486. 2],
  21487. (core == PHY_CORE_0) ?
  21488. RADIO_MIMO_CORESEL_CORE1 :
  21489. RADIO_MIMO_CORESEL_CORE2,
  21490. (result_idx % 2 == 0) ?
  21491. NPHY_RAIL_I :
  21492. NPHY_RAIL_Q,
  21493. rssi_type);
  21494. }
  21495. }
  21496. }
  21497. }
  21498. write_phy_reg(pi, 0x91, NPHY_Rfctrlintc1_save);
  21499. write_phy_reg(pi, 0x92, NPHY_Rfctrlintc2_save);
  21500. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  21501. mod_phy_reg(pi, 0xe7, (0x1 << 0), 1 << 0);
  21502. mod_phy_reg(pi, 0x78, (0x1 << 0), 1 << 0);
  21503. mod_phy_reg(pi, 0xe7, (0x1 << 0), 0);
  21504. mod_phy_reg(pi, 0xec, (0x1 << 0), 1 << 0);
  21505. mod_phy_reg(pi, 0x78, (0x1 << 1), 1 << 1);
  21506. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  21507. write_phy_reg(pi, 0x8f, NPHY_AfectrlOverride1_save);
  21508. write_phy_reg(pi, 0xa5, NPHY_AfectrlOverride2_save);
  21509. write_phy_reg(pi, 0xa6, NPHY_AfectrlCore1_save);
  21510. write_phy_reg(pi, 0xa7, NPHY_AfectrlCore2_save);
  21511. write_phy_reg(pi, 0xe7, NPHY_RfctrlOverride0_save);
  21512. write_phy_reg(pi, 0xec, NPHY_RfctrlOverride1_save);
  21513. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21514. write_phy_reg(pi, 0x342, NPHY_REV7_RfctrlOverride3_save);
  21515. write_phy_reg(pi, 0x343, NPHY_REV7_RfctrlOverride4_save);
  21516. write_phy_reg(pi, 0x346, NPHY_REV7_RfctrlOverride5_save);
  21517. write_phy_reg(pi, 0x347, NPHY_REV7_RfctrlOverride6_save);
  21518. }
  21519. write_phy_reg(pi, 0xe5, NPHY_RfctrlOverrideAux0_save);
  21520. write_phy_reg(pi, 0xe6, NPHY_RfctrlOverrideAux1_save);
  21521. write_phy_reg(pi, 0x78, NPHY_RfctrlCmd_save);
  21522. write_phy_reg(pi, 0xf9, NPHY_RfctrlMiscReg1_save);
  21523. write_phy_reg(pi, 0xfb, NPHY_RfctrlMiscReg2_save);
  21524. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21525. write_phy_reg(pi, 0x340, NPHY_REV7_RfctrlMiscReg3_save);
  21526. write_phy_reg(pi, 0x341, NPHY_REV7_RfctrlMiscReg4_save);
  21527. write_phy_reg(pi, 0x344, NPHY_REV7_RfctrlMiscReg5_save);
  21528. write_phy_reg(pi, 0x345, NPHY_REV7_RfctrlMiscReg6_save);
  21529. }
  21530. write_phy_reg(pi, 0x7a, NPHY_RfctrlRSSIOTHERS1_save);
  21531. write_phy_reg(pi, 0x7d, NPHY_RfctrlRSSIOTHERS2_save);
  21532. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  21533. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21534. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21535. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21536. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21537. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21538. } else {
  21539. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21540. read_radio_reg(pi,
  21541. RADIO_2056_RX_RSSI_MISC |
  21542. RADIO_2056_RX0);
  21543. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21544. read_radio_reg(pi,
  21545. RADIO_2056_RX_RSSI_MISC |
  21546. RADIO_2056_RX1);
  21547. }
  21548. pi->rssical_cache.rssical_phyregs_2G[0] =
  21549. read_phy_reg(pi, 0x1a6);
  21550. pi->rssical_cache.rssical_phyregs_2G[1] =
  21551. read_phy_reg(pi, 0x1ac);
  21552. pi->rssical_cache.rssical_phyregs_2G[2] =
  21553. read_phy_reg(pi, 0x1b2);
  21554. pi->rssical_cache.rssical_phyregs_2G[3] =
  21555. read_phy_reg(pi, 0x1b8);
  21556. pi->rssical_cache.rssical_phyregs_2G[4] =
  21557. read_phy_reg(pi, 0x1a4);
  21558. pi->rssical_cache.rssical_phyregs_2G[5] =
  21559. read_phy_reg(pi, 0x1aa);
  21560. pi->rssical_cache.rssical_phyregs_2G[6] =
  21561. read_phy_reg(pi, 0x1b0);
  21562. pi->rssical_cache.rssical_phyregs_2G[7] =
  21563. read_phy_reg(pi, 0x1b6);
  21564. pi->rssical_cache.rssical_phyregs_2G[8] =
  21565. read_phy_reg(pi, 0x1a5);
  21566. pi->rssical_cache.rssical_phyregs_2G[9] =
  21567. read_phy_reg(pi, 0x1ab);
  21568. pi->rssical_cache.rssical_phyregs_2G[10] =
  21569. read_phy_reg(pi, 0x1b1);
  21570. pi->rssical_cache.rssical_phyregs_2G[11] =
  21571. read_phy_reg(pi, 0x1b7);
  21572. pi->nphy_rssical_chanspec_2G = pi->radio_chanspec;
  21573. } else {
  21574. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21575. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21576. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21577. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21578. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21579. } else {
  21580. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21581. read_radio_reg(pi,
  21582. RADIO_2056_RX_RSSI_MISC |
  21583. RADIO_2056_RX0);
  21584. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21585. read_radio_reg(pi,
  21586. RADIO_2056_RX_RSSI_MISC |
  21587. RADIO_2056_RX1);
  21588. }
  21589. pi->rssical_cache.rssical_phyregs_5G[0] =
  21590. read_phy_reg(pi, 0x1a6);
  21591. pi->rssical_cache.rssical_phyregs_5G[1] =
  21592. read_phy_reg(pi, 0x1ac);
  21593. pi->rssical_cache.rssical_phyregs_5G[2] =
  21594. read_phy_reg(pi, 0x1b2);
  21595. pi->rssical_cache.rssical_phyregs_5G[3] =
  21596. read_phy_reg(pi, 0x1b8);
  21597. pi->rssical_cache.rssical_phyregs_5G[4] =
  21598. read_phy_reg(pi, 0x1a4);
  21599. pi->rssical_cache.rssical_phyregs_5G[5] =
  21600. read_phy_reg(pi, 0x1aa);
  21601. pi->rssical_cache.rssical_phyregs_5G[6] =
  21602. read_phy_reg(pi, 0x1b0);
  21603. pi->rssical_cache.rssical_phyregs_5G[7] =
  21604. read_phy_reg(pi, 0x1b6);
  21605. pi->rssical_cache.rssical_phyregs_5G[8] =
  21606. read_phy_reg(pi, 0x1a5);
  21607. pi->rssical_cache.rssical_phyregs_5G[9] =
  21608. read_phy_reg(pi, 0x1ab);
  21609. pi->rssical_cache.rssical_phyregs_5G[10] =
  21610. read_phy_reg(pi, 0x1b1);
  21611. pi->rssical_cache.rssical_phyregs_5G[11] =
  21612. read_phy_reg(pi, 0x1b7);
  21613. pi->nphy_rssical_chanspec_5G = pi->radio_chanspec;
  21614. }
  21615. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21616. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21617. }
  21618. static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
  21619. {
  21620. s32 target_code;
  21621. u16 classif_state;
  21622. u16 clip_state[2];
  21623. u16 rssi_ctrl_state[2], pd_state[2];
  21624. u16 rfctrlintc_state[2], rfpdcorerxtx_state[2];
  21625. u16 rfctrlintc_override_val;
  21626. u16 clip_off[] = { 0xffff, 0xffff };
  21627. u16 rf_pd_val, pd_mask, rssi_ctrl_mask;
  21628. u8 vcm, min_vcm, vcm_tmp[4];
  21629. u8 vcm_final[4] = { 0, 0, 0, 0 };
  21630. u8 result_idx, ctr;
  21631. s32 poll_results[4][4] = {
  21632. {0, 0, 0, 0},
  21633. {0, 0, 0, 0},
  21634. {0, 0, 0, 0},
  21635. {0, 0, 0, 0}
  21636. };
  21637. s32 poll_miniq[4][2] = {
  21638. {0, 0},
  21639. {0, 0},
  21640. {0, 0},
  21641. {0, 0}
  21642. };
  21643. s32 min_d, curr_d;
  21644. s32 fine_digital_offset[4];
  21645. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21646. s32 min_poll;
  21647. switch (rssi_type) {
  21648. case NPHY_RSSI_SEL_NB:
  21649. target_code = NPHY_RSSICAL_NB_TARGET;
  21650. break;
  21651. case NPHY_RSSI_SEL_W1:
  21652. target_code = NPHY_RSSICAL_W1_TARGET;
  21653. break;
  21654. case NPHY_RSSI_SEL_W2:
  21655. target_code = NPHY_RSSICAL_W2_TARGET;
  21656. break;
  21657. default:
  21658. return;
  21659. break;
  21660. }
  21661. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21662. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21663. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21664. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21665. rf_pd_val = (rssi_type == NPHY_RSSI_SEL_NB) ? 0x6 : 0x4;
  21666. rfctrlintc_override_val =
  21667. CHSPEC_IS5G(pi->radio_chanspec) ? 0x140 : 0x110;
  21668. rfctrlintc_state[0] = read_phy_reg(pi, 0x91);
  21669. rfpdcorerxtx_state[0] = read_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX);
  21670. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  21671. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rf_pd_val);
  21672. rfctrlintc_state[1] = read_phy_reg(pi, 0x92);
  21673. rfpdcorerxtx_state[1] = read_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX);
  21674. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  21675. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rf_pd_val);
  21676. pd_mask = RADIO_2055_NBRSSI_PD | RADIO_2055_WBRSSI_G1_PD |
  21677. RADIO_2055_WBRSSI_G2_PD;
  21678. pd_state[0] =
  21679. read_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC) & pd_mask;
  21680. pd_state[1] =
  21681. read_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC) & pd_mask;
  21682. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, 0);
  21683. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, 0);
  21684. rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  21685. RADIO_2055_WBRSSI_G2_SEL;
  21686. rssi_ctrl_state[0] =
  21687. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE1) & rssi_ctrl_mask;
  21688. rssi_ctrl_state[1] =
  21689. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE2) & rssi_ctrl_mask;
  21690. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  21691. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21692. NPHY_RAIL_I, rssi_type);
  21693. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21694. NPHY_RAIL_Q, rssi_type);
  21695. for (vcm = 0; vcm < 4; vcm++) {
  21696. vcm_tmp[0] = vcm_tmp[1] = vcm_tmp[2] = vcm_tmp[3] = vcm;
  21697. if (rssi_type != NPHY_RSSI_SEL_W2)
  21698. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_tmp);
  21699. wlc_phy_poll_rssi_nphy(pi, rssi_type, &poll_results[vcm][0],
  21700. NPHY_RSSICAL_NPOLL);
  21701. if ((rssi_type == NPHY_RSSI_SEL_W1)
  21702. || (rssi_type == NPHY_RSSI_SEL_W2)) {
  21703. for (ctr = 0; ctr < 2; ctr++)
  21704. poll_miniq[vcm][ctr] =
  21705. min(poll_results[vcm][ctr * 2 + 0],
  21706. poll_results[vcm][ctr * 2 + 1]);
  21707. }
  21708. }
  21709. for (result_idx = 0; result_idx < 4; result_idx++) {
  21710. min_d = NPHY_RSSICAL_MAXD;
  21711. min_vcm = 0;
  21712. min_poll = NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL + 1;
  21713. for (vcm = 0; vcm < 4; vcm++) {
  21714. curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ?
  21715. poll_results[vcm][result_idx] :
  21716. poll_miniq[vcm][result_idx / 2]) -
  21717. (target_code * NPHY_RSSICAL_NPOLL));
  21718. if (curr_d < min_d) {
  21719. min_d = curr_d;
  21720. min_vcm = vcm;
  21721. }
  21722. if (poll_results[vcm][result_idx] < min_poll)
  21723. min_poll = poll_results[vcm][result_idx];
  21724. }
  21725. vcm_final[result_idx] = min_vcm;
  21726. poll_results_min[result_idx] = min_poll;
  21727. }
  21728. if (rssi_type != NPHY_RSSI_SEL_W2)
  21729. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_final);
  21730. for (result_idx = 0; result_idx < 4; result_idx++) {
  21731. fine_digital_offset[result_idx] =
  21732. (target_code * NPHY_RSSICAL_NPOLL) -
  21733. poll_results[vcm_final[result_idx]][result_idx];
  21734. if (fine_digital_offset[result_idx] < 0) {
  21735. fine_digital_offset[result_idx] =
  21736. abs(fine_digital_offset[result_idx]);
  21737. fine_digital_offset[result_idx] +=
  21738. (NPHY_RSSICAL_NPOLL / 2);
  21739. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21740. fine_digital_offset[result_idx] =
  21741. -fine_digital_offset[result_idx];
  21742. } else {
  21743. fine_digital_offset[result_idx] +=
  21744. (NPHY_RSSICAL_NPOLL / 2);
  21745. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21746. }
  21747. if (poll_results_min[result_idx] ==
  21748. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21749. fine_digital_offset[result_idx] =
  21750. (target_code - NPHY_RSSICAL_MAXREAD - 1);
  21751. wlc_phy_scale_offset_rssi_nphy(pi, 0x0,
  21752. (s8)
  21753. fine_digital_offset[result_idx],
  21754. (result_idx / 2 ==
  21755. 0) ? RADIO_MIMO_CORESEL_CORE1 :
  21756. RADIO_MIMO_CORESEL_CORE2,
  21757. (result_idx % 2 ==
  21758. 0) ? NPHY_RAIL_I : NPHY_RAIL_Q,
  21759. rssi_type);
  21760. }
  21761. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, pd_state[0]);
  21762. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, pd_state[1]);
  21763. if (rssi_ctrl_state[0] == RADIO_2055_NBRSSI_SEL)
  21764. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21765. NPHY_RSSI_SEL_NB);
  21766. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G1_SEL)
  21767. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21768. NPHY_RSSI_SEL_W1);
  21769. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G2_SEL)
  21770. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21771. NPHY_RSSI_SEL_W2);
  21772. else
  21773. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21774. NPHY_RSSI_SEL_W2);
  21775. if (rssi_ctrl_state[1] == RADIO_2055_NBRSSI_SEL)
  21776. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21777. NPHY_RSSI_SEL_NB);
  21778. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G1_SEL)
  21779. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21780. NPHY_RSSI_SEL_W1);
  21781. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G2_SEL)
  21782. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21783. NPHY_RSSI_SEL_W2);
  21784. else
  21785. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21786. NPHY_RSSI_SEL_W2);
  21787. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, rssi_type);
  21788. write_phy_reg(pi, 0x91, rfctrlintc_state[0]);
  21789. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rfpdcorerxtx_state[0]);
  21790. write_phy_reg(pi, 0x92, rfctrlintc_state[1]);
  21791. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rfpdcorerxtx_state[1]);
  21792. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21793. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21794. wlc_phy_resetcca_nphy(pi);
  21795. }
  21796. void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi)
  21797. {
  21798. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21799. wlc_phy_rssi_cal_nphy_rev3(pi);
  21800. } else {
  21801. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_NB);
  21802. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W1);
  21803. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W2);
  21804. }
  21805. }
  21806. int
  21807. wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh)
  21808. {
  21809. s16 rxpwr, rxpwr0, rxpwr1;
  21810. s16 phyRx0_l, phyRx2_l;
  21811. rxpwr = 0;
  21812. rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK;
  21813. rxpwr1 = (rxh->PhyRxStatus_1 & PRXS1_nphy_PWR1_MASK) >> 8;
  21814. if (rxpwr0 > 127)
  21815. rxpwr0 -= 256;
  21816. if (rxpwr1 > 127)
  21817. rxpwr1 -= 256;
  21818. phyRx0_l = rxh->PhyRxStatus_0 & 0x00ff;
  21819. phyRx2_l = rxh->PhyRxStatus_2 & 0x00ff;
  21820. if (phyRx2_l > 127)
  21821. phyRx2_l -= 256;
  21822. if (((rxpwr0 == 16) || (rxpwr0 == 32))) {
  21823. rxpwr0 = rxpwr1;
  21824. rxpwr1 = phyRx2_l;
  21825. }
  21826. if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MAX)
  21827. rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1;
  21828. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MIN)
  21829. rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1;
  21830. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_AVG)
  21831. rxpwr = (rxpwr0 + rxpwr1) >> 1;
  21832. return rxpwr;
  21833. }
  21834. static void
  21835. wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf,
  21836. u16 num_samps)
  21837. {
  21838. u16 t;
  21839. u32 *data_buf = NULL;
  21840. data_buf = kmalloc(sizeof(u32) * num_samps, GFP_ATOMIC);
  21841. if (data_buf == NULL)
  21842. return;
  21843. if (pi->phyhang_avoid)
  21844. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21845. for (t = 0; t < num_samps; t++)
  21846. data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) |
  21847. (((unsigned int)tone_buf[t].q) & 0x3ff);
  21848. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SAMPLEPLAY, num_samps, 0, 32,
  21849. data_buf);
  21850. kfree(data_buf);
  21851. if (pi->phyhang_avoid)
  21852. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21853. }
  21854. static u16
  21855. wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21856. u8 dac_test_mode)
  21857. {
  21858. u8 phy_bw, is_phybw40;
  21859. u16 num_samps, t, spur;
  21860. s32 theta = 0, rot = 0;
  21861. u32 tbl_len;
  21862. struct cordic_iq *tone_buf = NULL;
  21863. is_phybw40 = CHSPEC_IS40(pi->radio_chanspec);
  21864. phy_bw = (is_phybw40 == 1) ? 40 : 20;
  21865. tbl_len = (phy_bw << 3);
  21866. if (dac_test_mode == 1) {
  21867. spur = read_phy_reg(pi, 0x01);
  21868. spur = (spur >> 15) & 1;
  21869. phy_bw = (spur == 1) ? 82 : 80;
  21870. phy_bw = (is_phybw40 == 1) ? (phy_bw << 1) : phy_bw;
  21871. tbl_len = (phy_bw << 1);
  21872. }
  21873. tone_buf = kmalloc(sizeof(struct cordic_iq) * tbl_len, GFP_ATOMIC);
  21874. if (tone_buf == NULL)
  21875. return 0;
  21876. num_samps = (u16) tbl_len;
  21877. rot = ((f_kHz * 36) / phy_bw) / 100;
  21878. theta = 0;
  21879. for (t = 0; t < num_samps; t++) {
  21880. tone_buf[t] = cordic_calc_iq(theta);
  21881. theta += rot;
  21882. tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val);
  21883. tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val);
  21884. }
  21885. wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps);
  21886. kfree(tone_buf);
  21887. return num_samps;
  21888. }
  21889. static void
  21890. wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops,
  21891. u16 wait, u8 iqmode, u8 dac_test_mode,
  21892. bool modify_bbmult)
  21893. {
  21894. u16 bb_mult;
  21895. u8 phy_bw, sample_cmd;
  21896. u16 orig_RfseqCoreActv;
  21897. u16 lpf_bw_ctl_override3, lpf_bw_ctl_override4, lpf_bw_ctl_miscreg3,
  21898. lpf_bw_ctl_miscreg4;
  21899. if (pi->phyhang_avoid)
  21900. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21901. phy_bw = 20;
  21902. if (CHSPEC_IS40(pi->radio_chanspec))
  21903. phy_bw = 40;
  21904. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21905. lpf_bw_ctl_override3 = read_phy_reg(pi, 0x342) & (0x1 << 7);
  21906. lpf_bw_ctl_override4 = read_phy_reg(pi, 0x343) & (0x1 << 7);
  21907. if (lpf_bw_ctl_override3 | lpf_bw_ctl_override4) {
  21908. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21909. (0x7 << 8);
  21910. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21911. (0x7 << 8);
  21912. } else {
  21913. wlc_phy_rfctrl_override_nphy_rev7(
  21914. pi,
  21915. (0x1 << 7),
  21916. wlc_phy_read_lpf_bw_ctl_nphy
  21917. (pi,
  21918. 0), 0, 0,
  21919. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21920. pi->nphy_sample_play_lpf_bw_ctl_ovr = true;
  21921. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21922. (0x7 << 8);
  21923. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21924. (0x7 << 8);
  21925. }
  21926. }
  21927. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) == 0) {
  21928. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21929. &bb_mult);
  21930. pi->nphy_bb_mult_save =
  21931. BB_MULT_VALID_MASK | (bb_mult & BB_MULT_MASK);
  21932. }
  21933. if (modify_bbmult) {
  21934. bb_mult = (phy_bw == 20) ? 100 : 71;
  21935. bb_mult = (bb_mult << 8) + bb_mult;
  21936. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21937. &bb_mult);
  21938. }
  21939. if (pi->phyhang_avoid)
  21940. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21941. write_phy_reg(pi, 0xc6, num_samps - 1);
  21942. if (loops != 0xffff)
  21943. write_phy_reg(pi, 0xc4, loops - 1);
  21944. else
  21945. write_phy_reg(pi, 0xc4, loops);
  21946. write_phy_reg(pi, 0xc5, wait);
  21947. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  21948. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  21949. if (iqmode) {
  21950. and_phy_reg(pi, 0xc2, 0x7FFF);
  21951. or_phy_reg(pi, 0xc2, 0x8000);
  21952. } else {
  21953. sample_cmd = (dac_test_mode == 1) ? 0x5 : 0x1;
  21954. write_phy_reg(pi, 0xc3, sample_cmd);
  21955. }
  21956. SPINWAIT(((read_phy_reg(pi, 0xa4) & 0x1) == 1), 1000);
  21957. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  21958. }
  21959. int
  21960. wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21961. u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
  21962. {
  21963. u16 num_samps;
  21964. u16 loops = 0xffff;
  21965. u16 wait = 0;
  21966. num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val,
  21967. dac_test_mode);
  21968. if (num_samps == 0)
  21969. return -EBADE;
  21970. wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode,
  21971. dac_test_mode, modify_bbmult);
  21972. return 0;
  21973. }
  21974. void wlc_phy_stopplayback_nphy(struct brcms_phy *pi)
  21975. {
  21976. u16 playback_status;
  21977. u16 bb_mult;
  21978. if (pi->phyhang_avoid)
  21979. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21980. playback_status = read_phy_reg(pi, 0xc7);
  21981. if (playback_status & 0x1)
  21982. or_phy_reg(pi, 0xc3, NPHY_sampleCmd_STOP);
  21983. else if (playback_status & 0x2)
  21984. and_phy_reg(pi, 0xc2,
  21985. (u16) ~NPHY_iqloCalCmdGctl_IQLO_CAL_EN);
  21986. and_phy_reg(pi, 0xc3, (u16) ~(0x1 << 2));
  21987. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) != 0) {
  21988. bb_mult = pi->nphy_bb_mult_save & BB_MULT_MASK;
  21989. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21990. &bb_mult);
  21991. pi->nphy_bb_mult_save = 0;
  21992. }
  21993. if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) {
  21994. if (pi->nphy_sample_play_lpf_bw_ctl_ovr) {
  21995. wlc_phy_rfctrl_override_nphy_rev7(
  21996. pi,
  21997. (0x1 << 7),
  21998. 0, 0, 1,
  21999. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22000. pi->nphy_sample_play_lpf_bw_ctl_ovr = false;
  22001. }
  22002. }
  22003. if (pi->phyhang_avoid)
  22004. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22005. }
  22006. static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi)
  22007. {
  22008. u32 *tx_pwrctrl_tbl = NULL;
  22009. uint phyrev = pi->pubpi.phy_rev;
  22010. if (PHY_IPA(pi)) {
  22011. tx_pwrctrl_tbl =
  22012. wlc_phy_get_ipa_gaintbl_nphy(pi);
  22013. } else {
  22014. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22015. if (NREV_IS(phyrev, 3))
  22016. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev3;
  22017. else if (NREV_IS(phyrev, 4))
  22018. tx_pwrctrl_tbl =
  22019. (pi->srom_fem5g.extpagain == 3) ?
  22020. nphy_tpc_5GHz_txgain_HiPwrEPA :
  22021. nphy_tpc_5GHz_txgain_rev4;
  22022. else
  22023. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev5;
  22024. } else {
  22025. if (NREV_GE(phyrev, 7)) {
  22026. if (pi->pubpi.radiorev == 3)
  22027. tx_pwrctrl_tbl =
  22028. nphy_tpc_txgain_epa_2057rev3;
  22029. else if (pi->pubpi.radiorev == 5)
  22030. tx_pwrctrl_tbl =
  22031. nphy_tpc_txgain_epa_2057rev5;
  22032. } else {
  22033. if (NREV_GE(phyrev, 5) &&
  22034. (pi->srom_fem2g.extpagain == 3))
  22035. tx_pwrctrl_tbl =
  22036. nphy_tpc_txgain_HiPwrEPA;
  22037. else
  22038. tx_pwrctrl_tbl =
  22039. nphy_tpc_txgain_rev3;
  22040. }
  22041. }
  22042. }
  22043. return tx_pwrctrl_tbl;
  22044. }
  22045. struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi)
  22046. {
  22047. u16 base_idx[2], curr_gain[2];
  22048. u8 core_no;
  22049. struct nphy_txgains target_gain;
  22050. u32 *tx_pwrctrl_tbl = NULL;
  22051. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF) {
  22052. if (pi->phyhang_avoid)
  22053. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  22054. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  22055. curr_gain);
  22056. if (pi->phyhang_avoid)
  22057. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22058. for (core_no = 0; core_no < 2; core_no++) {
  22059. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22060. target_gain.ipa[core_no] =
  22061. curr_gain[core_no] & 0x0007;
  22062. target_gain.pad[core_no] =
  22063. ((curr_gain[core_no] & 0x00F8) >> 3);
  22064. target_gain.pga[core_no] =
  22065. ((curr_gain[core_no] & 0x0F00) >> 8);
  22066. target_gain.txgm[core_no] =
  22067. ((curr_gain[core_no] & 0x7000) >> 12);
  22068. target_gain.txlpf[core_no] =
  22069. ((curr_gain[core_no] & 0x8000) >> 15);
  22070. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22071. target_gain.ipa[core_no] =
  22072. curr_gain[core_no] & 0x000F;
  22073. target_gain.pad[core_no] =
  22074. ((curr_gain[core_no] & 0x00F0) >> 4);
  22075. target_gain.pga[core_no] =
  22076. ((curr_gain[core_no] & 0x0F00) >> 8);
  22077. target_gain.txgm[core_no] =
  22078. ((curr_gain[core_no] & 0x7000) >> 12);
  22079. } else {
  22080. target_gain.ipa[core_no] =
  22081. curr_gain[core_no] & 0x0003;
  22082. target_gain.pad[core_no] =
  22083. ((curr_gain[core_no] & 0x000C) >> 2);
  22084. target_gain.pga[core_no] =
  22085. ((curr_gain[core_no] & 0x0070) >> 4);
  22086. target_gain.txgm[core_no] =
  22087. ((curr_gain[core_no] & 0x0380) >> 7);
  22088. }
  22089. }
  22090. } else {
  22091. uint phyrev = pi->pubpi.phy_rev;
  22092. base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f;
  22093. base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f;
  22094. for (core_no = 0; core_no < 2; core_no++) {
  22095. if (NREV_GE(phyrev, 3)) {
  22096. tx_pwrctrl_tbl =
  22097. brcms_phy_get_tx_pwrctrl_tbl(pi);
  22098. if (NREV_GE(phyrev, 7)) {
  22099. target_gain.ipa[core_no] =
  22100. (tx_pwrctrl_tbl
  22101. [base_idx[core_no]]
  22102. >> 16) & 0x7;
  22103. target_gain.pad[core_no] =
  22104. (tx_pwrctrl_tbl
  22105. [base_idx[core_no]]
  22106. >> 19) & 0x1f;
  22107. target_gain.pga[core_no] =
  22108. (tx_pwrctrl_tbl
  22109. [base_idx[core_no]]
  22110. >> 24) & 0xf;
  22111. target_gain.txgm[core_no] =
  22112. (tx_pwrctrl_tbl
  22113. [base_idx[core_no]]
  22114. >> 28) & 0x7;
  22115. target_gain.txlpf[core_no] =
  22116. (tx_pwrctrl_tbl
  22117. [base_idx[core_no]]
  22118. >> 31) & 0x1;
  22119. } else {
  22120. target_gain.ipa[core_no] =
  22121. (tx_pwrctrl_tbl
  22122. [base_idx[core_no]]
  22123. >> 16) & 0xf;
  22124. target_gain.pad[core_no] =
  22125. (tx_pwrctrl_tbl
  22126. [base_idx[core_no]]
  22127. >> 20) & 0xf;
  22128. target_gain.pga[core_no] =
  22129. (tx_pwrctrl_tbl
  22130. [base_idx[core_no]]
  22131. >> 24) & 0xf;
  22132. target_gain.txgm[core_no] =
  22133. (tx_pwrctrl_tbl
  22134. [base_idx[core_no]]
  22135. >> 28) & 0x7;
  22136. }
  22137. } else {
  22138. target_gain.ipa[core_no] =
  22139. (nphy_tpc_txgain[base_idx[core_no]] >>
  22140. 16) & 0x3;
  22141. target_gain.pad[core_no] =
  22142. (nphy_tpc_txgain[base_idx[core_no]] >>
  22143. 18) & 0x3;
  22144. target_gain.pga[core_no] =
  22145. (nphy_tpc_txgain[base_idx[core_no]] >>
  22146. 20) & 0x7;
  22147. target_gain.txgm[core_no] =
  22148. (nphy_tpc_txgain[base_idx[core_no]] >>
  22149. 23) & 0x7;
  22150. }
  22151. }
  22152. }
  22153. return target_gain;
  22154. }
  22155. static void
  22156. wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no,
  22157. struct nphy_txgains target_gain,
  22158. struct nphy_iqcal_params *params)
  22159. {
  22160. u8 k;
  22161. int idx;
  22162. u16 gain_index;
  22163. u8 band_idx = (CHSPEC_IS5G(pi->radio_chanspec) ? 1 : 0);
  22164. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22165. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22166. params->txlpf = target_gain.txlpf[core_no];
  22167. params->txgm = target_gain.txgm[core_no];
  22168. params->pga = target_gain.pga[core_no];
  22169. params->pad = target_gain.pad[core_no];
  22170. params->ipa = target_gain.ipa[core_no];
  22171. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22172. params->cal_gain =
  22173. ((params->txlpf << 15) | (params->txgm << 12) |
  22174. (params->pga << 8) |
  22175. (params->pad << 3) | (params->ipa));
  22176. else
  22177. params->cal_gain =
  22178. ((params->txgm << 12) | (params->pga << 8) |
  22179. (params->pad << 4) | (params->ipa));
  22180. params->ncorr[0] = 0x79;
  22181. params->ncorr[1] = 0x79;
  22182. params->ncorr[2] = 0x79;
  22183. params->ncorr[3] = 0x79;
  22184. params->ncorr[4] = 0x79;
  22185. } else {
  22186. gain_index = ((target_gain.pad[core_no] << 0) |
  22187. (target_gain.pga[core_no] << 4) |
  22188. (target_gain.txgm[core_no] << 8));
  22189. idx = -1;
  22190. for (k = 0; k < NPHY_IQCAL_NUMGAINS; k++) {
  22191. if (tbl_iqcal_gainparams_nphy[band_idx][k][0] ==
  22192. gain_index) {
  22193. idx = k;
  22194. break;
  22195. }
  22196. }
  22197. params->txgm = tbl_iqcal_gainparams_nphy[band_idx][k][1];
  22198. params->pga = tbl_iqcal_gainparams_nphy[band_idx][k][2];
  22199. params->pad = tbl_iqcal_gainparams_nphy[band_idx][k][3];
  22200. params->cal_gain = ((params->txgm << 7) | (params->pga << 4) |
  22201. (params->pad << 2));
  22202. params->ncorr[0] = tbl_iqcal_gainparams_nphy[band_idx][k][4];
  22203. params->ncorr[1] = tbl_iqcal_gainparams_nphy[band_idx][k][5];
  22204. params->ncorr[2] = tbl_iqcal_gainparams_nphy[band_idx][k][6];
  22205. params->ncorr[3] = tbl_iqcal_gainparams_nphy[band_idx][k][7];
  22206. }
  22207. }
  22208. static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi)
  22209. {
  22210. u16 jtag_core, core;
  22211. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22212. for (core = 0; core <= 1; core++) {
  22213. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22214. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22215. TX_SSI_MASTER);
  22216. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22217. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22218. IQCAL_VCM_HG);
  22219. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22220. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22221. IQCAL_IDAC);
  22222. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22223. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22224. TSSI_VCM);
  22225. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] = 0;
  22226. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22227. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22228. TX_SSI_MUX);
  22229. if (pi->pubpi.radiorev != 5)
  22230. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22231. READ_RADIO_REG3(pi, RADIO_2057, TX,
  22232. core,
  22233. TSSIA);
  22234. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22235. READ_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG);
  22236. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22237. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22238. TSSI_MISC1);
  22239. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22240. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22241. TX_SSI_MASTER, 0x0a);
  22242. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22243. IQCAL_VCM_HG, 0x43);
  22244. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22245. IQCAL_IDAC, 0x55);
  22246. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22247. TSSI_VCM, 0x00);
  22248. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22249. TSSIG, 0x00);
  22250. if (pi->use_int_tx_iqlo_cal_nphy) {
  22251. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22252. core, TX_SSI_MUX, 0x4);
  22253. if (!(pi->
  22254. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22255. WRITE_RADIO_REG3(pi, RADIO_2057,
  22256. TX, core,
  22257. TSSIA, 0x31);
  22258. else
  22259. WRITE_RADIO_REG3(pi, RADIO_2057,
  22260. TX, core,
  22261. TSSIA, 0x21);
  22262. }
  22263. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22264. TSSI_MISC1, 0x00);
  22265. } else {
  22266. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22267. TX_SSI_MASTER, 0x06);
  22268. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22269. IQCAL_VCM_HG, 0x43);
  22270. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22271. IQCAL_IDAC, 0x55);
  22272. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22273. TSSI_VCM, 0x00);
  22274. if (pi->pubpi.radiorev != 5)
  22275. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22276. core, TSSIA, 0x00);
  22277. if (pi->use_int_tx_iqlo_cal_nphy) {
  22278. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22279. core, TX_SSI_MUX,
  22280. 0x06);
  22281. if (!(pi->
  22282. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22283. WRITE_RADIO_REG3(pi, RADIO_2057,
  22284. TX, core,
  22285. TSSIG, 0x31);
  22286. else
  22287. WRITE_RADIO_REG3(pi, RADIO_2057,
  22288. TX, core,
  22289. TSSIG, 0x21);
  22290. }
  22291. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22292. TSSI_MISC1, 0x00);
  22293. }
  22294. }
  22295. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22296. for (core = 0; core <= 1; core++) {
  22297. jtag_core =
  22298. (core ==
  22299. PHY_CORE_0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  22300. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22301. read_radio_reg(pi,
  22302. RADIO_2056_TX_TX_SSI_MASTER |
  22303. jtag_core);
  22304. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22305. read_radio_reg(pi,
  22306. RADIO_2056_TX_IQCAL_VCM_HG |
  22307. jtag_core);
  22308. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22309. read_radio_reg(pi,
  22310. RADIO_2056_TX_IQCAL_IDAC |
  22311. jtag_core);
  22312. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22313. read_radio_reg(
  22314. pi,
  22315. RADIO_2056_TX_TSSI_VCM |
  22316. jtag_core);
  22317. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] =
  22318. read_radio_reg(pi,
  22319. RADIO_2056_TX_TX_AMP_DET |
  22320. jtag_core);
  22321. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22322. read_radio_reg(pi,
  22323. RADIO_2056_TX_TX_SSI_MUX |
  22324. jtag_core);
  22325. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22326. read_radio_reg(pi,
  22327. RADIO_2056_TX_TSSIA | jtag_core);
  22328. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22329. read_radio_reg(pi,
  22330. RADIO_2056_TX_TSSIG | jtag_core);
  22331. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22332. read_radio_reg(pi,
  22333. RADIO_2056_TX_TSSI_MISC1 |
  22334. jtag_core);
  22335. pi->tx_rx_cal_radio_saveregs[(core * 11) + 9] =
  22336. read_radio_reg(pi,
  22337. RADIO_2056_TX_TSSI_MISC2 |
  22338. jtag_core);
  22339. pi->tx_rx_cal_radio_saveregs[(core * 11) + 10] =
  22340. read_radio_reg(pi,
  22341. RADIO_2056_TX_TSSI_MISC3 |
  22342. jtag_core);
  22343. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22344. write_radio_reg(pi,
  22345. RADIO_2056_TX_TX_SSI_MASTER |
  22346. jtag_core, 0x0a);
  22347. write_radio_reg(pi,
  22348. RADIO_2056_TX_IQCAL_VCM_HG |
  22349. jtag_core, 0x40);
  22350. write_radio_reg(pi,
  22351. RADIO_2056_TX_IQCAL_IDAC |
  22352. jtag_core, 0x55);
  22353. write_radio_reg(pi,
  22354. RADIO_2056_TX_TSSI_VCM |
  22355. jtag_core, 0x00);
  22356. write_radio_reg(pi,
  22357. RADIO_2056_TX_TX_AMP_DET |
  22358. jtag_core, 0x00);
  22359. if (PHY_IPA(pi)) {
  22360. write_radio_reg(
  22361. pi,
  22362. RADIO_2056_TX_TX_SSI_MUX
  22363. | jtag_core, 0x4);
  22364. write_radio_reg(pi,
  22365. RADIO_2056_TX_TSSIA |
  22366. jtag_core, 0x1);
  22367. } else {
  22368. write_radio_reg(
  22369. pi,
  22370. RADIO_2056_TX_TX_SSI_MUX
  22371. | jtag_core, 0x00);
  22372. write_radio_reg(pi,
  22373. RADIO_2056_TX_TSSIA |
  22374. jtag_core, 0x2f);
  22375. }
  22376. write_radio_reg(pi,
  22377. RADIO_2056_TX_TSSIG | jtag_core,
  22378. 0x00);
  22379. write_radio_reg(pi,
  22380. RADIO_2056_TX_TSSI_MISC1 |
  22381. jtag_core, 0x00);
  22382. write_radio_reg(pi,
  22383. RADIO_2056_TX_TSSI_MISC2 |
  22384. jtag_core, 0x00);
  22385. write_radio_reg(pi,
  22386. RADIO_2056_TX_TSSI_MISC3 |
  22387. jtag_core, 0x00);
  22388. } else {
  22389. write_radio_reg(pi,
  22390. RADIO_2056_TX_TX_SSI_MASTER |
  22391. jtag_core, 0x06);
  22392. write_radio_reg(pi,
  22393. RADIO_2056_TX_IQCAL_VCM_HG |
  22394. jtag_core, 0x40);
  22395. write_radio_reg(pi,
  22396. RADIO_2056_TX_IQCAL_IDAC |
  22397. jtag_core, 0x55);
  22398. write_radio_reg(pi,
  22399. RADIO_2056_TX_TSSI_VCM |
  22400. jtag_core, 0x00);
  22401. write_radio_reg(pi,
  22402. RADIO_2056_TX_TX_AMP_DET |
  22403. jtag_core, 0x00);
  22404. write_radio_reg(pi,
  22405. RADIO_2056_TX_TSSIA | jtag_core,
  22406. 0x00);
  22407. if (PHY_IPA(pi)) {
  22408. write_radio_reg(
  22409. pi,
  22410. RADIO_2056_TX_TX_SSI_MUX
  22411. | jtag_core, 0x06);
  22412. if (NREV_LT(pi->pubpi.phy_rev, 5))
  22413. write_radio_reg(
  22414. pi,
  22415. RADIO_2056_TX_TSSIG
  22416. | jtag_core,
  22417. 0x11);
  22418. else
  22419. write_radio_reg(
  22420. pi,
  22421. RADIO_2056_TX_TSSIG
  22422. | jtag_core,
  22423. 0x1);
  22424. } else {
  22425. write_radio_reg(
  22426. pi,
  22427. RADIO_2056_TX_TX_SSI_MUX
  22428. | jtag_core, 0x00);
  22429. write_radio_reg(pi,
  22430. RADIO_2056_TX_TSSIG |
  22431. jtag_core, 0x20);
  22432. }
  22433. write_radio_reg(pi,
  22434. RADIO_2056_TX_TSSI_MISC1 |
  22435. jtag_core, 0x00);
  22436. write_radio_reg(pi,
  22437. RADIO_2056_TX_TSSI_MISC2 |
  22438. jtag_core, 0x00);
  22439. write_radio_reg(pi,
  22440. RADIO_2056_TX_TSSI_MISC3 |
  22441. jtag_core, 0x00);
  22442. }
  22443. }
  22444. } else {
  22445. pi->tx_rx_cal_radio_saveregs[0] =
  22446. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  22447. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x29);
  22448. pi->tx_rx_cal_radio_saveregs[1] =
  22449. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  22450. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x54);
  22451. pi->tx_rx_cal_radio_saveregs[2] =
  22452. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  22453. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x29);
  22454. pi->tx_rx_cal_radio_saveregs[3] =
  22455. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  22456. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x54);
  22457. pi->tx_rx_cal_radio_saveregs[4] =
  22458. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  22459. pi->tx_rx_cal_radio_saveregs[5] =
  22460. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  22461. if ((read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand) ==
  22462. 0) {
  22463. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  22464. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  22465. } else {
  22466. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x20);
  22467. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x20);
  22468. }
  22469. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  22470. or_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0x20);
  22471. or_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0x20);
  22472. } else {
  22473. and_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0xdf);
  22474. and_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0xdf);
  22475. }
  22476. }
  22477. }
  22478. static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi)
  22479. {
  22480. u16 jtag_core, core;
  22481. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22482. for (core = 0; core <= 1; core++) {
  22483. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22484. TX_SSI_MASTER,
  22485. pi->
  22486. tx_rx_cal_radio_saveregs[(core * 11) +
  22487. 0]);
  22488. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  22489. pi->
  22490. tx_rx_cal_radio_saveregs[(core * 11) +
  22491. 1]);
  22492. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  22493. pi->
  22494. tx_rx_cal_radio_saveregs[(core * 11) +
  22495. 2]);
  22496. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  22497. pi->
  22498. tx_rx_cal_radio_saveregs[(core * 11) +
  22499. 3]);
  22500. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TX_SSI_MUX,
  22501. pi->
  22502. tx_rx_cal_radio_saveregs[(core * 11) +
  22503. 5]);
  22504. if (pi->pubpi.radiorev != 5)
  22505. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22506. TSSIA,
  22507. pi->tx_rx_cal_radio_saveregs
  22508. [(core * 11) + 6]);
  22509. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG,
  22510. pi->
  22511. tx_rx_cal_radio_saveregs[(core * 11) +
  22512. 7]);
  22513. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  22514. pi->
  22515. tx_rx_cal_radio_saveregs[(core * 11) +
  22516. 8]);
  22517. }
  22518. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22519. for (core = 0; core <= 1; core++) {
  22520. jtag_core = (core == PHY_CORE_0) ?
  22521. RADIO_2056_TX0 : RADIO_2056_TX1;
  22522. write_radio_reg(pi,
  22523. RADIO_2056_TX_TX_SSI_MASTER | jtag_core,
  22524. pi->
  22525. tx_rx_cal_radio_saveregs[(core * 11) +
  22526. 0]);
  22527. write_radio_reg(pi,
  22528. RADIO_2056_TX_IQCAL_VCM_HG | jtag_core,
  22529. pi->
  22530. tx_rx_cal_radio_saveregs[(core * 11) +
  22531. 1]);
  22532. write_radio_reg(pi,
  22533. RADIO_2056_TX_IQCAL_IDAC | jtag_core,
  22534. pi->
  22535. tx_rx_cal_radio_saveregs[(core * 11) +
  22536. 2]);
  22537. write_radio_reg(pi, RADIO_2056_TX_TSSI_VCM | jtag_core,
  22538. pi->
  22539. tx_rx_cal_radio_saveregs[(core * 11) +
  22540. 3]);
  22541. write_radio_reg(pi,
  22542. RADIO_2056_TX_TX_AMP_DET | jtag_core,
  22543. pi->
  22544. tx_rx_cal_radio_saveregs[(core * 11) +
  22545. 4]);
  22546. write_radio_reg(pi,
  22547. RADIO_2056_TX_TX_SSI_MUX | jtag_core,
  22548. pi->
  22549. tx_rx_cal_radio_saveregs[(core * 11) +
  22550. 5]);
  22551. write_radio_reg(pi, RADIO_2056_TX_TSSIA | jtag_core,
  22552. pi->
  22553. tx_rx_cal_radio_saveregs[(core * 11) +
  22554. 6]);
  22555. write_radio_reg(pi, RADIO_2056_TX_TSSIG | jtag_core,
  22556. pi->
  22557. tx_rx_cal_radio_saveregs[(core * 11) +
  22558. 7]);
  22559. write_radio_reg(pi,
  22560. RADIO_2056_TX_TSSI_MISC1 | jtag_core,
  22561. pi->
  22562. tx_rx_cal_radio_saveregs[(core * 11) +
  22563. 8]);
  22564. write_radio_reg(pi,
  22565. RADIO_2056_TX_TSSI_MISC2 | jtag_core,
  22566. pi->
  22567. tx_rx_cal_radio_saveregs[(core * 11) +
  22568. 9]);
  22569. write_radio_reg(pi,
  22570. RADIO_2056_TX_TSSI_MISC3 | jtag_core,
  22571. pi->
  22572. tx_rx_cal_radio_saveregs[(core * 11) +
  22573. 10]);
  22574. }
  22575. } else {
  22576. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  22577. pi->tx_rx_cal_radio_saveregs[0]);
  22578. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  22579. pi->tx_rx_cal_radio_saveregs[1]);
  22580. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  22581. pi->tx_rx_cal_radio_saveregs[2]);
  22582. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  22583. pi->tx_rx_cal_radio_saveregs[3]);
  22584. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  22585. pi->tx_rx_cal_radio_saveregs[4]);
  22586. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  22587. pi->tx_rx_cal_radio_saveregs[5]);
  22588. }
  22589. }
  22590. static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi)
  22591. {
  22592. u16 val, mask;
  22593. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22594. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22595. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22596. mask = ((0x3 << 8) | (0x3 << 10));
  22597. val = (0x2 << 8);
  22598. val |= (0x2 << 10);
  22599. mod_phy_reg(pi, 0xa6, mask, val);
  22600. mod_phy_reg(pi, 0xa7, mask, val);
  22601. val = read_phy_reg(pi, 0x8f);
  22602. pi->tx_rx_cal_phy_saveregs[2] = val;
  22603. val |= ((0x1 << 9) | (0x1 << 10));
  22604. write_phy_reg(pi, 0x8f, val);
  22605. val = read_phy_reg(pi, 0xa5);
  22606. pi->tx_rx_cal_phy_saveregs[3] = val;
  22607. val |= ((0x1 << 9) | (0x1 << 10));
  22608. write_phy_reg(pi, 0xa5, val);
  22609. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x01);
  22610. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  22611. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22612. &val);
  22613. pi->tx_rx_cal_phy_saveregs[5] = val;
  22614. val = 0;
  22615. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22616. &val);
  22617. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22618. &val);
  22619. pi->tx_rx_cal_phy_saveregs[6] = val;
  22620. val = 0;
  22621. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22622. &val);
  22623. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0x91);
  22624. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0x92);
  22625. if (!(pi->use_int_tx_iqlo_cal_nphy))
  22626. wlc_phy_rfctrlintc_override_nphy(
  22627. pi,
  22628. NPHY_RfctrlIntc_override_PA,
  22629. 1,
  22630. RADIO_MIMO_CORESEL_CORE1
  22631. |
  22632. RADIO_MIMO_CORESEL_CORE2);
  22633. else
  22634. wlc_phy_rfctrlintc_override_nphy(
  22635. pi,
  22636. NPHY_RfctrlIntc_override_PA,
  22637. 0,
  22638. RADIO_MIMO_CORESEL_CORE1
  22639. |
  22640. RADIO_MIMO_CORESEL_CORE2);
  22641. wlc_phy_rfctrlintc_override_nphy(pi,
  22642. NPHY_RfctrlIntc_override_TRSW,
  22643. 0x2, RADIO_MIMO_CORESEL_CORE1);
  22644. wlc_phy_rfctrlintc_override_nphy(pi,
  22645. NPHY_RfctrlIntc_override_TRSW,
  22646. 0x8, RADIO_MIMO_CORESEL_CORE2);
  22647. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  22648. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  22649. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  22650. 0x29b, (0x1 << 0), (0) << 0);
  22651. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  22652. 0x29b, (0x1 << 0), (0) << 0);
  22653. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22654. || NREV_GE(pi->pubpi.phy_rev, 8))
  22655. wlc_phy_rfctrl_override_nphy_rev7(
  22656. pi, (0x1 << 7),
  22657. wlc_phy_read_lpf_bw_ctl_nphy
  22658. (pi,
  22659. 0), 0, 0,
  22660. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22661. if (pi->use_int_tx_iqlo_cal_nphy
  22662. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22663. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22664. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22665. 1 << 4);
  22666. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22667. mod_radio_reg(
  22668. pi,
  22669. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22670. 1, 0);
  22671. mod_radio_reg(
  22672. pi,
  22673. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22674. 1, 0);
  22675. } else {
  22676. mod_radio_reg(
  22677. pi,
  22678. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22679. 1, 0);
  22680. mod_radio_reg(
  22681. pi,
  22682. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22683. 1, 0);
  22684. }
  22685. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22686. wlc_phy_rfctrl_override_nphy_rev7(
  22687. pi,
  22688. (0x1 << 3), 0,
  22689. 0x3, 0,
  22690. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22691. }
  22692. }
  22693. } else {
  22694. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22695. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22696. mask = ((0x3 << 12) | (0x3 << 14));
  22697. val = (0x2 << 12);
  22698. val |= (0x2 << 14);
  22699. mod_phy_reg(pi, 0xa6, mask, val);
  22700. mod_phy_reg(pi, 0xa7, mask, val);
  22701. val = read_phy_reg(pi, 0xa5);
  22702. pi->tx_rx_cal_phy_saveregs[2] = val;
  22703. val |= ((0x1 << 12) | (0x1 << 13));
  22704. write_phy_reg(pi, 0xa5, val);
  22705. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22706. &val);
  22707. pi->tx_rx_cal_phy_saveregs[3] = val;
  22708. val |= 0x2000;
  22709. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22710. &val);
  22711. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22712. &val);
  22713. pi->tx_rx_cal_phy_saveregs[4] = val;
  22714. val |= 0x2000;
  22715. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22716. &val);
  22717. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x91);
  22718. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x92);
  22719. val = CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  22720. write_phy_reg(pi, 0x91, val);
  22721. write_phy_reg(pi, 0x92, val);
  22722. }
  22723. }
  22724. static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi)
  22725. {
  22726. u16 mask;
  22727. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22728. write_phy_reg(pi, 0xa6, pi->tx_rx_cal_phy_saveregs[0]);
  22729. write_phy_reg(pi, 0xa7, pi->tx_rx_cal_phy_saveregs[1]);
  22730. write_phy_reg(pi, 0x8f, pi->tx_rx_cal_phy_saveregs[2]);
  22731. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[3]);
  22732. write_phy_reg(pi, 0x01, pi->tx_rx_cal_phy_saveregs[4]);
  22733. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22734. &pi->tx_rx_cal_phy_saveregs[5]);
  22735. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22736. &pi->tx_rx_cal_phy_saveregs[6]);
  22737. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[7]);
  22738. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[8]);
  22739. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  22740. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  22741. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22742. || NREV_GE(pi->pubpi.phy_rev, 8))
  22743. wlc_phy_rfctrl_override_nphy_rev7(
  22744. pi, (0x1 << 7), 0, 0,
  22745. 1,
  22746. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22747. wlc_phy_resetcca_nphy(pi);
  22748. if (pi->use_int_tx_iqlo_cal_nphy
  22749. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22750. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22751. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22752. mod_radio_reg(
  22753. pi,
  22754. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22755. 1, 1);
  22756. mod_radio_reg(
  22757. pi,
  22758. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22759. 1, 1);
  22760. } else {
  22761. mod_radio_reg(
  22762. pi,
  22763. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22764. 1, 1);
  22765. mod_radio_reg(
  22766. pi,
  22767. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22768. 1, 1);
  22769. }
  22770. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22771. 0);
  22772. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22773. wlc_phy_rfctrl_override_nphy_rev7(
  22774. pi,
  22775. (0x1 << 3), 0,
  22776. 0x3, 1,
  22777. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22778. }
  22779. }
  22780. } else {
  22781. mask = ((0x3 << 12) | (0x3 << 14));
  22782. mod_phy_reg(pi, 0xa6, mask, pi->tx_rx_cal_phy_saveregs[0]);
  22783. mod_phy_reg(pi, 0xa7, mask, pi->tx_rx_cal_phy_saveregs[1]);
  22784. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[2]);
  22785. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22786. &pi->tx_rx_cal_phy_saveregs[3]);
  22787. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22788. &pi->tx_rx_cal_phy_saveregs[4]);
  22789. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[5]);
  22790. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[6]);
  22791. }
  22792. }
  22793. void
  22794. wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
  22795. {
  22796. u16 tssi_reg;
  22797. s32 temp, pwrindex[2];
  22798. s32 idle_tssi[2];
  22799. s32 rssi_buf[4];
  22800. s32 tssival[2];
  22801. u8 tssi_type;
  22802. tssi_reg = read_phy_reg(pi, 0x1e9);
  22803. temp = (s32) (tssi_reg & 0x3f);
  22804. idle_tssi[0] = (temp <= 31) ? temp : (temp - 64);
  22805. temp = (s32) ((tssi_reg >> 8) & 0x3f);
  22806. idle_tssi[1] = (temp <= 31) ? temp : (temp - 64);
  22807. tssi_type =
  22808. CHSPEC_IS5G(pi->radio_chanspec) ?
  22809. (u8)NPHY_RSSI_SEL_TSSI_5G : (u8)NPHY_RSSI_SEL_TSSI_2G;
  22810. wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
  22811. tssival[0] = rssi_buf[0] / ((s32) num_samps);
  22812. tssival[1] = rssi_buf[2] / ((s32) num_samps);
  22813. pwrindex[0] = idle_tssi[0] - tssival[0] + 64;
  22814. pwrindex[1] = idle_tssi[1] - tssival[1] + 64;
  22815. if (pwrindex[0] < 0)
  22816. pwrindex[0] = 0;
  22817. else if (pwrindex[0] > 63)
  22818. pwrindex[0] = 63;
  22819. if (pwrindex[1] < 0)
  22820. pwrindex[1] = 0;
  22821. else if (pwrindex[1] > 63)
  22822. pwrindex[1] = 63;
  22823. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 1,
  22824. (u32) pwrindex[0], 32, &qdBm_pwrbuf[0]);
  22825. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 1,
  22826. (u32) pwrindex[1], 32, &qdBm_pwrbuf[1]);
  22827. }
  22828. static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core)
  22829. {
  22830. int index;
  22831. u32 bbmult_scale;
  22832. u16 bbmult;
  22833. u16 tblentry;
  22834. struct nphy_txiqcal_ladder ladder_lo[] = {
  22835. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22836. {25, 0}, {25, 1}, {25, 2}, {25, 3}, {25, 4}, {25, 5},
  22837. {25, 6}, {25, 7}, {35, 7}, {50, 7}, {71, 7}, {100, 7}
  22838. };
  22839. struct nphy_txiqcal_ladder ladder_iq[] = {
  22840. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22841. {25, 0}, {35, 0}, {50, 0}, {71, 0}, {100, 0}, {100, 1},
  22842. {100, 2}, {100, 3}, {100, 4}, {100, 5}, {100, 6}, {100, 7}
  22843. };
  22844. bbmult = (core == PHY_CORE_0) ?
  22845. ((pi->nphy_txcal_bbmult >> 8) & 0xff) :
  22846. (pi->nphy_txcal_bbmult & 0xff);
  22847. for (index = 0; index < 18; index++) {
  22848. bbmult_scale = ladder_lo[index].percent * bbmult;
  22849. bbmult_scale /= 100;
  22850. tblentry =
  22851. ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env;
  22852. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16,
  22853. &tblentry);
  22854. bbmult_scale = ladder_iq[index].percent * bbmult;
  22855. bbmult_scale /= 100;
  22856. tblentry =
  22857. ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env;
  22858. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32,
  22859. 16, &tblentry);
  22860. }
  22861. }
  22862. static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core)
  22863. {
  22864. u16 tmp;
  22865. tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee));
  22866. tmp = (tmp & (0x7f << 8)) >> 8;
  22867. return (u8) tmp;
  22868. }
  22869. static void
  22870. wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1)
  22871. {
  22872. mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0);
  22873. if (NREV_GT(pi->pubpi.phy_rev, 1))
  22874. mod_phy_reg(pi, 0x222, (0xff << 0), idx1);
  22875. }
  22876. static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi)
  22877. {
  22878. u16 m0m1;
  22879. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  22880. return m0m1;
  22881. }
  22882. static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1)
  22883. {
  22884. u16 m0m1 = (u16) ((m0 << 8) | m1);
  22885. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m0m1);
  22886. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &m0m1);
  22887. }
  22888. static void
  22889. wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi,
  22890. struct nphy_papd_restore_state *state, u8 core)
  22891. {
  22892. s32 tone_freq;
  22893. u8 off_core;
  22894. u16 mixgain = 0;
  22895. off_core = core ^ 0x1;
  22896. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22897. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22898. || NREV_GE(pi->pubpi.phy_rev, 8))
  22899. wlc_phy_rfctrl_override_nphy_rev7(
  22900. pi, (0x1 << 7),
  22901. wlc_phy_read_lpf_bw_ctl_nphy
  22902. (pi,
  22903. 0), 0, 0,
  22904. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22905. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22906. if (pi->pubpi.radiorev == 5)
  22907. mixgain = (core == 0) ? 0x20 : 0x00;
  22908. else if ((pi->pubpi.radiorev == 7)
  22909. || (pi->pubpi.radiorev == 8))
  22910. mixgain = 0x00;
  22911. else if ((pi->pubpi.radiorev <= 4)
  22912. || (pi->pubpi.radiorev == 6))
  22913. mixgain = 0x00;
  22914. } else {
  22915. if ((pi->pubpi.radiorev == 4) ||
  22916. (pi->pubpi.radiorev == 6))
  22917. mixgain = 0x50;
  22918. else if ((pi->pubpi.radiorev == 3)
  22919. || (pi->pubpi.radiorev == 7)
  22920. || (pi->pubpi.radiorev == 8))
  22921. mixgain = 0x0;
  22922. }
  22923. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11),
  22924. mixgain, (1 << core), 0,
  22925. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22926. wlc_phy_rfctrl_override_1tomany_nphy(
  22927. pi,
  22928. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22929. 1, (1 << core), 0);
  22930. wlc_phy_rfctrl_override_1tomany_nphy(
  22931. pi,
  22932. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22933. 0, (1 << off_core), 0);
  22934. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  22935. 0, 0x3, 0,
  22936. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22937. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1,
  22938. (1 << core), 0,
  22939. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22940. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0,
  22941. (1 << core), 0,
  22942. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22943. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1,
  22944. (1 << core), 0,
  22945. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22946. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0,
  22947. (1 << core), 0,
  22948. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22949. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1,
  22950. (1 << core), 0,
  22951. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22952. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0,
  22953. (1 << core), 0,
  22954. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22955. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1,
  22956. (1 << core), 0,
  22957. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22958. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5),
  22959. 0, (1 << core), 0,
  22960. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22961. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0,
  22962. (1 << core), 0,
  22963. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22964. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22965. 0xa6 : 0xa7);
  22966. state->afeoverride[core] =
  22967. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22968. state->afectrl[off_core] =
  22969. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa7 : 0xa6);
  22970. state->afeoverride[off_core] =
  22971. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa5 : 0x8f);
  22972. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22973. (0x1 << 2), 0);
  22974. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22975. 0xa5), (0x1 << 2), (0x1 << 2));
  22976. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa7 : 0xa6),
  22977. (0x1 << 2), (0x1 << 2));
  22978. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa5 :
  22979. 0x8f), (0x1 << 2), (0x1 << 2));
  22980. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22981. state->pwrup[core] =
  22982. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22983. TXRXCOUPLE_2G_PWRUP);
  22984. state->atten[core] =
  22985. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22986. TXRXCOUPLE_2G_ATTEN);
  22987. state->pwrup[off_core] =
  22988. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22989. TXRXCOUPLE_2G_PWRUP);
  22990. state->atten[off_core] =
  22991. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22992. TXRXCOUPLE_2G_ATTEN);
  22993. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22994. TXRXCOUPLE_2G_PWRUP, 0xc);
  22995. if ((pi->pubpi.radiorev == 3) ||
  22996. (pi->pubpi.radiorev == 4) ||
  22997. (pi->pubpi.radiorev == 6))
  22998. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22999. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23000. else if (pi->pubpi.radiorev == 5)
  23001. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23002. TXRXCOUPLE_2G_ATTEN,
  23003. (core == 0) ? 0xf7 : 0xf2);
  23004. else if ((pi->pubpi.radiorev == 7)
  23005. || (pi->pubpi.radiorev == 8))
  23006. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23007. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23008. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23009. TXRXCOUPLE_2G_PWRUP, 0x0);
  23010. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23011. TXRXCOUPLE_2G_ATTEN, 0xff);
  23012. } else {
  23013. state->pwrup[core] =
  23014. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23015. TXRXCOUPLE_5G_PWRUP);
  23016. state->atten[core] =
  23017. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23018. TXRXCOUPLE_5G_ATTEN);
  23019. state->pwrup[off_core] =
  23020. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23021. TXRXCOUPLE_5G_PWRUP);
  23022. state->atten[off_core] =
  23023. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23024. TXRXCOUPLE_5G_ATTEN);
  23025. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23026. TXRXCOUPLE_5G_PWRUP, 0xc);
  23027. if ((pi->pubpi.radiorev == 7)
  23028. || (pi->pubpi.radiorev == 8))
  23029. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23030. TXRXCOUPLE_5G_ATTEN, 0xf4);
  23031. else
  23032. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23033. TXRXCOUPLE_5G_ATTEN, 0xf0);
  23034. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23035. TXRXCOUPLE_5G_PWRUP, 0x0);
  23036. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23037. TXRXCOUPLE_5G_ATTEN, 0xff);
  23038. }
  23039. tone_freq = 4000;
  23040. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23041. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23042. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23043. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23044. 0x2a4, (0x1 << 13), (1) << 13);
  23045. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23046. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_OFF) << 0);
  23047. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x2a3 :
  23048. 0x2a4, (0x1 << 13), (0) << 13);
  23049. } else {
  23050. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 0);
  23051. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0, 0);
  23052. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 0);
  23053. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 1, 0x3, 0);
  23054. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0x3, 0);
  23055. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  23056. 0xa6 : 0xa7);
  23057. state->afeoverride[core] =
  23058. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  23059. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  23060. (0x1 << 0) | (0x1 << 1) | (0x1 << 2), 0);
  23061. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  23062. 0xa5),
  23063. (0x1 << 0) |
  23064. (0x1 << 1) |
  23065. (0x1 << 2), (0x1 << 0) | (0x1 << 1) | (0x1 << 2));
  23066. state->vga_master[core] =
  23067. READ_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER);
  23068. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER, 0x2b);
  23069. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23070. state->fbmix[core] =
  23071. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23072. TXFBMIX_G);
  23073. state->intpa_master[core] =
  23074. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23075. INTPAG_MASTER);
  23076. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_G,
  23077. 0x03);
  23078. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23079. INTPAG_MASTER, 0x04);
  23080. } else {
  23081. state->fbmix[core] =
  23082. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23083. TXFBMIX_A);
  23084. state->intpa_master[core] =
  23085. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23086. INTPAA_MASTER);
  23087. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_A,
  23088. 0x03);
  23089. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23090. INTPAA_MASTER, 0x04);
  23091. }
  23092. tone_freq = 4000;
  23093. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23094. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23095. 0x29b, (0x1 << 0), (1) << 0);
  23096. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23097. 0x29b, (0x1 << 0), (0) << 0);
  23098. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23099. }
  23100. }
  23101. static void
  23102. wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi,
  23103. struct nphy_papd_restore_state *state)
  23104. {
  23105. u8 core;
  23106. wlc_phy_stopplayback_nphy(pi);
  23107. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23108. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23109. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23110. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23111. TXRXCOUPLE_2G_PWRUP, 0);
  23112. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23113. TXRXCOUPLE_2G_ATTEN,
  23114. state->atten[core]);
  23115. } else {
  23116. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23117. TXRXCOUPLE_5G_PWRUP, 0);
  23118. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23119. TXRXCOUPLE_5G_ATTEN,
  23120. state->atten[core]);
  23121. }
  23122. }
  23123. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  23124. wlc_phy_rfctrl_override_nphy_rev7(
  23125. pi, (0x1 << 2),
  23126. 1, 0x3, 0,
  23127. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23128. else
  23129. wlc_phy_rfctrl_override_nphy_rev7(
  23130. pi, (0x1 << 2),
  23131. 0, 0x3, 1,
  23132. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23133. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  23134. 0, 0x3, 1,
  23135. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23136. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23137. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23138. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 0, 0x3, 1,
  23139. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23140. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 1, 0x3, 1,
  23141. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23142. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 0, 0x3, 1,
  23143. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23144. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0x3, 1,
  23145. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23146. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12), 0, 0x3, 1,
  23147. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23148. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 1,
  23149. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23150. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23151. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23152. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0x3, 1,
  23153. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23154. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0, 0x3, 1,
  23155. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23156. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1, 0x3, 1,
  23157. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23158. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0, 0x3, 1,
  23159. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23160. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1, 0x3, 1,
  23161. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23162. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0x3, 1,
  23163. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23164. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0, 0x3, 1,
  23165. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23166. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23167. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23168. 0xa6 : 0xa7, state->afectrl[core]);
  23169. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23170. 0xa5, state->afeoverride[core]);
  23171. }
  23172. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23173. (state->mm & 0xff));
  23174. if (NREV_IS(pi->pubpi.phy_rev, 7)
  23175. || NREV_GE(pi->pubpi.phy_rev, 8))
  23176. wlc_phy_rfctrl_override_nphy_rev7(
  23177. pi, (0x1 << 7), 0, 0,
  23178. 1,
  23179. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23180. } else {
  23181. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  23182. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 0x3, 1);
  23183. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 1);
  23184. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 0, 0x3, 1);
  23185. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 0, 0x3, 1);
  23186. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23187. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER,
  23188. state->vga_master[core]);
  23189. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23190. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23191. TXFBMIX_G, state->fbmix[core]);
  23192. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23193. INTPAG_MASTER,
  23194. state->intpa_master[core]);
  23195. } else {
  23196. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23197. TXFBMIX_A, state->fbmix[core]);
  23198. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23199. INTPAA_MASTER,
  23200. state->intpa_master[core]);
  23201. }
  23202. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23203. 0xa6 : 0xa7, state->afectrl[core]);
  23204. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23205. 0xa5, state->afeoverride[core]);
  23206. }
  23207. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23208. (state->mm & 0xff));
  23209. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 1);
  23210. }
  23211. }
  23212. static void
  23213. wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start,
  23214. u32 end)
  23215. {
  23216. u32 *buf, *src, *dst, sz;
  23217. sz = end - start + 1;
  23218. buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
  23219. if (NULL == buf)
  23220. return;
  23221. src = buf;
  23222. dst = buf + NPHY_PAPD_EPS_TBL_SIZE;
  23223. wlc_phy_table_read_nphy(pi,
  23224. (core ==
  23225. PHY_CORE_0 ? NPHY_TBL_ID_EPSILONTBL0 :
  23226. NPHY_TBL_ID_EPSILONTBL1),
  23227. NPHY_PAPD_EPS_TBL_SIZE, 0, 32, src);
  23228. do {
  23229. u32 phy_a1, phy_a2;
  23230. s32 phy_a3, phy_a4, phy_a5, phy_a6, phy_a7;
  23231. phy_a1 = end - min(end, (winsz >> 1));
  23232. phy_a2 = min_t(u32, NPHY_PAPD_EPS_TBL_SIZE - 1,
  23233. end + (winsz >> 1));
  23234. phy_a3 = phy_a2 - phy_a1 + 1;
  23235. phy_a6 = 0;
  23236. phy_a7 = 0;
  23237. do {
  23238. wlc_phy_papd_decode_epsilon(src[phy_a2], &phy_a4,
  23239. &phy_a5);
  23240. phy_a6 += phy_a4;
  23241. phy_a7 += phy_a5;
  23242. } while (phy_a2-- != phy_a1);
  23243. phy_a6 /= phy_a3;
  23244. phy_a7 /= phy_a3;
  23245. dst[end] = ((u32) phy_a7 << 13) | ((u32) phy_a6 & 0x1fff);
  23246. } while (end-- != start);
  23247. wlc_phy_table_write_nphy(pi,
  23248. (core ==
  23249. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0 :
  23250. NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
  23251. kfree(buf);
  23252. }
  23253. static void
  23254. wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains,
  23255. enum phy_cal_mode cal_mode, u8 core)
  23256. {
  23257. u16 phy_a1, phy_a2, phy_a3;
  23258. u16 phy_a4, phy_a5;
  23259. bool phy_a6;
  23260. u8 phy_a7, m[2];
  23261. u32 phy_a8 = 0;
  23262. struct nphy_txgains phy_a9;
  23263. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23264. return;
  23265. phy_a7 = (core == PHY_CORE_0) ? 1 : 0;
  23266. phy_a6 = ((cal_mode == CAL_GCTRL)
  23267. || (cal_mode == CAL_SOFT)) ? true : false;
  23268. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23269. phy_a9 = wlc_phy_get_tx_gain_nphy(pi);
  23270. if (CHSPEC_IS2G(pi->radio_chanspec))
  23271. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23272. (phy_a9.txgm[core] << 12) |
  23273. (phy_a9.pga[core] << 8) |
  23274. (txgains->gains.pad[core] << 3) |
  23275. (phy_a9.ipa[core]));
  23276. else
  23277. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23278. (phy_a9.txgm[core] << 12) |
  23279. (txgains->gains.pga[core] << 8) |
  23280. (phy_a9.pad[core] << 3) | (phy_a9.ipa[core]));
  23281. wlc_phy_rfctrl_override_1tomany_nphy(
  23282. pi,
  23283. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23284. phy_a5, (1 << core), 0);
  23285. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23286. if ((pi->pubpi.radiorev <= 4)
  23287. || (pi->pubpi.radiorev == 6))
  23288. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23289. 60 : 79;
  23290. else
  23291. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23292. 45 : 64;
  23293. } else {
  23294. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23295. }
  23296. m[phy_a7] = 0;
  23297. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23298. phy_a2 = 63;
  23299. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23300. if ((pi->pubpi.radiorev == 4)
  23301. || (pi->pubpi.radiorev == 6)) {
  23302. phy_a1 = 30;
  23303. phy_a3 = 30;
  23304. } else {
  23305. phy_a1 = 25;
  23306. phy_a3 = 25;
  23307. }
  23308. } else {
  23309. if ((pi->pubpi.radiorev == 5)
  23310. || (pi->pubpi.radiorev == 7)
  23311. || (pi->pubpi.radiorev == 8)) {
  23312. phy_a1 = 25;
  23313. phy_a3 = 25;
  23314. } else {
  23315. phy_a1 = 35;
  23316. phy_a3 = 35;
  23317. }
  23318. }
  23319. if (cal_mode == CAL_GCTRL) {
  23320. if ((pi->pubpi.radiorev == 5)
  23321. && (CHSPEC_IS2G(pi->radio_chanspec)))
  23322. phy_a1 = 55;
  23323. else if (((pi->pubpi.radiorev == 7) &&
  23324. (CHSPEC_IS2G(pi->radio_chanspec))) ||
  23325. ((pi->pubpi.radiorev == 8) &&
  23326. (CHSPEC_IS2G(pi->radio_chanspec))))
  23327. phy_a1 = 60;
  23328. else
  23329. phy_a1 = 63;
  23330. } else if ((cal_mode != CAL_FULL) && (cal_mode != CAL_SOFT)) {
  23331. phy_a1 = 35;
  23332. phy_a3 = 35;
  23333. }
  23334. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23335. 0x29b, (0x1 << 0), (1) << 0);
  23336. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23337. 0x29b, (0x1 << 0), (0) << 0);
  23338. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23339. 0x2a4, (0x1 << 13), (1) << 13);
  23340. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23341. 0x2a4, (0x1 << 13), (0) << 13);
  23342. write_phy_reg(pi, 0x2a1, 0x80);
  23343. write_phy_reg(pi, 0x2a2, 0x100);
  23344. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23345. 0x2a4, (0x7 << 4), (11) << 4);
  23346. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23347. 0x2a4, (0x7 << 8), (11) << 8);
  23348. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23349. 0x2a4, (0x7 << 0), (0x3) << 0);
  23350. write_phy_reg(pi, 0x2e5, 0x20);
  23351. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23352. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23353. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23354. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23355. 1, ((core == 0) ? 1 : 2), 0,
  23356. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23357. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23358. 0, ((core == 0) ? 2 : 1), 0,
  23359. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23360. write_phy_reg(pi, 0x2be, 1);
  23361. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23362. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23363. 0, 0x3, 0,
  23364. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23365. wlc_phy_table_write_nphy(pi,
  23366. (core ==
  23367. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23368. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23369. 32, &phy_a8);
  23370. if (cal_mode != CAL_GCTRL) {
  23371. if (CHSPEC_IS5G(pi->radio_chanspec))
  23372. wlc_phy_a1_nphy(pi, core, 5, 0, 35);
  23373. }
  23374. wlc_phy_rfctrl_override_1tomany_nphy(
  23375. pi,
  23376. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23377. phy_a5, (1 << core), 1);
  23378. } else {
  23379. if (txgains) {
  23380. if (txgains->useindex) {
  23381. phy_a4 = 15 - ((txgains->index) >> 3);
  23382. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23383. if (NREV_GE(pi->pubpi.phy_rev, 6))
  23384. phy_a5 = 0x00f7 | (phy_a4 << 8);
  23385. else
  23386. if (NREV_IS(pi->pubpi.phy_rev, 5))
  23387. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23388. else
  23389. phy_a5 = 0x50f7 | (phy_a4 << 8);
  23390. } else {
  23391. phy_a5 = 0x70f7 | (phy_a4 << 8);
  23392. }
  23393. wlc_phy_rfctrl_override_nphy(pi,
  23394. (0x1 << 13),
  23395. phy_a5,
  23396. (1 << core), 0);
  23397. } else {
  23398. wlc_phy_rfctrl_override_nphy(pi,
  23399. (0x1 << 13),
  23400. 0x5bf7,
  23401. (1 << core), 0);
  23402. }
  23403. }
  23404. if (CHSPEC_IS2G(pi->radio_chanspec))
  23405. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
  23406. else
  23407. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23408. m[phy_a7] = 0;
  23409. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23410. phy_a2 = 63;
  23411. if (cal_mode == CAL_FULL) {
  23412. phy_a1 = 25;
  23413. phy_a3 = 25;
  23414. } else if (cal_mode == CAL_SOFT) {
  23415. phy_a1 = 25;
  23416. phy_a3 = 25;
  23417. } else if (cal_mode == CAL_GCTRL) {
  23418. phy_a1 = 63;
  23419. phy_a3 = 25;
  23420. } else {
  23421. phy_a1 = 25;
  23422. phy_a3 = 25;
  23423. }
  23424. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23425. 0x29b, (0x1 << 0), (1) << 0);
  23426. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23427. 0x29b, (0x1 << 0), (0) << 0);
  23428. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23429. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23430. 0x2a4, (0x1 << 13), (1) << 13);
  23431. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23432. 0x2a4, (0x1 << 13), (0) << 13);
  23433. write_phy_reg(pi, 0x2a1, 0x20);
  23434. write_phy_reg(pi, 0x2a2, 0x60);
  23435. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23436. 0x2a4, (0xf << 4), (9) << 4);
  23437. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23438. 0x2a4, (0xf << 8), (9) << 8);
  23439. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23440. 0x2a4, (0xf << 0), (0x2) << 0);
  23441. write_phy_reg(pi, 0x2e5, 0x20);
  23442. } else {
  23443. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23444. 0x2a4, (0x1 << 11), (1) << 11);
  23445. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23446. 0x2a4, (0x1 << 11), (0) << 11);
  23447. write_phy_reg(pi, 0x2a1, 0x80);
  23448. write_phy_reg(pi, 0x2a2, 0x600);
  23449. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23450. 0x2a4, (0x7 << 4), (0) << 4);
  23451. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23452. 0x2a4, (0x7 << 8), (0) << 8);
  23453. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23454. 0x2a4, (0x7 << 0), (0x3) << 0);
  23455. mod_phy_reg(pi, 0x2a0, (0x3f << 8), (0x20) << 8);
  23456. }
  23457. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23458. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23459. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23460. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0x3, 0);
  23461. write_phy_reg(pi, 0x2be, 1);
  23462. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23463. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23464. wlc_phy_table_write_nphy(pi,
  23465. (core ==
  23466. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23467. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23468. 32, &phy_a8);
  23469. if (cal_mode != CAL_GCTRL)
  23470. wlc_phy_a1_nphy(pi, core, 5, 0, 40);
  23471. }
  23472. }
  23473. static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core)
  23474. {
  23475. int phy_a1;
  23476. int phy_a2;
  23477. bool phy_a3;
  23478. struct nphy_ipa_txcalgains phy_a4;
  23479. bool phy_a5 = false;
  23480. bool phy_a6 = true;
  23481. s32 phy_a7, phy_a8;
  23482. u32 phy_a9;
  23483. int phy_a10;
  23484. bool phy_a11 = false;
  23485. int phy_a12;
  23486. u8 phy_a13 = 0;
  23487. u8 phy_a14;
  23488. u8 *phy_a15 = NULL;
  23489. phy_a4.useindex = true;
  23490. phy_a12 = start_gain;
  23491. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23492. phy_a2 = 20;
  23493. phy_a1 = 1;
  23494. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23495. if (pi->pubpi.radiorev == 5) {
  23496. phy_a15 = pad_gain_codes_used_2057rev5;
  23497. phy_a13 =
  23498. sizeof(pad_gain_codes_used_2057rev5) /
  23499. sizeof(pad_gain_codes_used_2057rev5
  23500. [0]) - 1;
  23501. } else if ((pi->pubpi.radiorev == 7)
  23502. || (pi->pubpi.radiorev == 8)) {
  23503. phy_a15 = pad_gain_codes_used_2057rev7;
  23504. phy_a13 =
  23505. sizeof(pad_gain_codes_used_2057rev7) /
  23506. sizeof(pad_gain_codes_used_2057rev7
  23507. [0]) - 1;
  23508. } else {
  23509. phy_a15 = pad_all_gain_codes_2057;
  23510. phy_a13 = sizeof(pad_all_gain_codes_2057) /
  23511. sizeof(pad_all_gain_codes_2057[0]) -
  23512. 1;
  23513. }
  23514. } else {
  23515. phy_a15 = pga_all_gain_codes_2057;
  23516. phy_a13 = sizeof(pga_all_gain_codes_2057) /
  23517. sizeof(pga_all_gain_codes_2057[0]) - 1;
  23518. }
  23519. phy_a14 = 0;
  23520. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23521. if (CHSPEC_IS2G(pi->radio_chanspec))
  23522. phy_a4.gains.pad[core] =
  23523. (u16) phy_a15[phy_a12];
  23524. else
  23525. phy_a4.gains.pga[core] =
  23526. (u16) phy_a15[phy_a12];
  23527. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23528. wlc_phy_table_read_nphy(pi,
  23529. (core ==
  23530. PHY_CORE_0 ?
  23531. NPHY_TBL_ID_EPSILONTBL0 :
  23532. NPHY_TBL_ID_EPSILONTBL1), 1,
  23533. 63, 32, &phy_a9);
  23534. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23535. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23536. (phy_a8 == 4095) || (phy_a8 == -4096));
  23537. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23538. if (!phy_a3)
  23539. phy_a12 -= (u8) phy_a1;
  23540. phy_a11 = true;
  23541. break;
  23542. }
  23543. if (phy_a3)
  23544. phy_a12 += (u8) phy_a1;
  23545. else
  23546. phy_a12 -= (u8) phy_a1;
  23547. if ((phy_a12 < phy_a14) || (phy_a12 > phy_a13)) {
  23548. if (phy_a12 < phy_a14)
  23549. phy_a12 = phy_a14;
  23550. else
  23551. phy_a12 = phy_a13;
  23552. phy_a11 = true;
  23553. break;
  23554. }
  23555. phy_a6 = false;
  23556. phy_a5 = phy_a3;
  23557. }
  23558. } else {
  23559. phy_a2 = 10;
  23560. phy_a1 = 8;
  23561. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23562. phy_a4.index = (u8) phy_a12;
  23563. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23564. wlc_phy_table_read_nphy(pi,
  23565. (core ==
  23566. PHY_CORE_0 ?
  23567. NPHY_TBL_ID_EPSILONTBL0 :
  23568. NPHY_TBL_ID_EPSILONTBL1), 1,
  23569. 63, 32, &phy_a9);
  23570. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23571. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23572. (phy_a8 == 4095) || (phy_a8 == -4096));
  23573. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23574. if (!phy_a3)
  23575. phy_a12 -= (u8) phy_a1;
  23576. phy_a11 = true;
  23577. break;
  23578. }
  23579. if (phy_a3)
  23580. phy_a12 += (u8) phy_a1;
  23581. else
  23582. phy_a12 -= (u8) phy_a1;
  23583. if ((phy_a12 < 0) || (phy_a12 > 127)) {
  23584. if (phy_a12 < 0)
  23585. phy_a12 = 0;
  23586. else
  23587. phy_a12 = 127;
  23588. phy_a11 = true;
  23589. break;
  23590. }
  23591. phy_a6 = false;
  23592. phy_a5 = phy_a3;
  23593. }
  23594. }
  23595. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23596. return (u8) phy_a15[phy_a12];
  23597. else
  23598. return (u8) phy_a12;
  23599. }
  23600. static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal)
  23601. {
  23602. struct nphy_ipa_txcalgains phy_b1[2];
  23603. struct nphy_papd_restore_state phy_b2;
  23604. bool phy_b3;
  23605. u8 phy_b4;
  23606. u8 phy_b5;
  23607. s16 phy_b6, phy_b7, phy_b8;
  23608. u16 phy_b9;
  23609. s16 phy_b10, phy_b11, phy_b12;
  23610. phy_b11 = 0;
  23611. phy_b12 = 0;
  23612. phy_b7 = 0;
  23613. phy_b8 = 0;
  23614. phy_b6 = 0;
  23615. if (pi->nphy_papd_skip == 1)
  23616. return;
  23617. phy_b3 = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  23618. MCTL_EN_MAC));
  23619. if (!phy_b3)
  23620. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23621. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23622. pi->nphy_force_papd_cal = false;
  23623. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++)
  23624. pi->nphy_papd_tx_gain_at_last_cal[phy_b5] =
  23625. wlc_phy_txpwr_idx_cur_get_nphy(pi, phy_b5);
  23626. pi->nphy_papd_last_cal = pi->sh->now;
  23627. pi->nphy_papd_recal_counter++;
  23628. phy_b4 = pi->nphy_txpwrctrl;
  23629. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23630. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL0, 64, 0, 32,
  23631. nphy_papd_scaltbl);
  23632. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL1, 64, 0, 32,
  23633. nphy_papd_scaltbl);
  23634. phy_b9 = read_phy_reg(pi, 0x01);
  23635. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  23636. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23637. s32 i, val = 0;
  23638. for (i = 0; i < 64; i++)
  23639. wlc_phy_table_write_nphy(pi,
  23640. ((phy_b5 ==
  23641. PHY_CORE_0) ?
  23642. NPHY_TBL_ID_EPSILONTBL0 :
  23643. NPHY_TBL_ID_EPSILONTBL1), 1,
  23644. i, 32, &val);
  23645. }
  23646. wlc_phy_ipa_restore_tx_digi_filts_nphy(pi);
  23647. phy_b2.mm = wlc_phy_ipa_get_bbmult_nphy(pi);
  23648. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23649. wlc_phy_papd_cal_setup_nphy(pi, &phy_b2, phy_b5);
  23650. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23651. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23652. if ((pi->pubpi.radiorev == 3)
  23653. || (pi->pubpi.radiorev == 4)
  23654. || (pi->pubpi.radiorev == 6)) {
  23655. pi->nphy_papd_cal_gain_index[phy_b5] =
  23656. 23;
  23657. } else if (pi->pubpi.radiorev == 5) {
  23658. pi->nphy_papd_cal_gain_index[phy_b5] =
  23659. 0;
  23660. pi->nphy_papd_cal_gain_index[phy_b5] =
  23661. wlc_phy_a3_nphy(
  23662. pi,
  23663. pi->
  23664. nphy_papd_cal_gain_index
  23665. [phy_b5],
  23666. phy_b5);
  23667. } else if ((pi->pubpi.radiorev == 7)
  23668. || (pi->pubpi.radiorev == 8)) {
  23669. pi->nphy_papd_cal_gain_index[phy_b5] =
  23670. 0;
  23671. pi->nphy_papd_cal_gain_index[phy_b5] =
  23672. wlc_phy_a3_nphy(
  23673. pi,
  23674. pi->
  23675. nphy_papd_cal_gain_index
  23676. [phy_b5],
  23677. phy_b5);
  23678. }
  23679. phy_b1[phy_b5].gains.pad[phy_b5] =
  23680. pi->nphy_papd_cal_gain_index[phy_b5];
  23681. } else {
  23682. pi->nphy_papd_cal_gain_index[phy_b5] = 0;
  23683. pi->nphy_papd_cal_gain_index[phy_b5] =
  23684. wlc_phy_a3_nphy(
  23685. pi,
  23686. pi->
  23687. nphy_papd_cal_gain_index
  23688. [phy_b5], phy_b5);
  23689. phy_b1[phy_b5].gains.pga[phy_b5] =
  23690. pi->nphy_papd_cal_gain_index[phy_b5];
  23691. }
  23692. } else {
  23693. phy_b1[phy_b5].useindex = true;
  23694. phy_b1[phy_b5].index = 16;
  23695. phy_b1[phy_b5].index =
  23696. wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index,
  23697. phy_b5);
  23698. pi->nphy_papd_cal_gain_index[phy_b5] =
  23699. 15 - ((phy_b1[phy_b5].index) >> 3);
  23700. }
  23701. switch (pi->nphy_papd_cal_type) {
  23702. case 0:
  23703. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_FULL, phy_b5);
  23704. break;
  23705. case 1:
  23706. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_SOFT, phy_b5);
  23707. break;
  23708. }
  23709. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23710. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23711. }
  23712. if (NREV_LT(pi->pubpi.phy_rev, 7))
  23713. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23714. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23715. int eps_offset = 0;
  23716. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23717. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23718. if (pi->pubpi.radiorev == 3)
  23719. eps_offset = -2;
  23720. else if (pi->pubpi.radiorev == 5)
  23721. eps_offset = 3;
  23722. else
  23723. eps_offset = -1;
  23724. } else {
  23725. eps_offset = 2;
  23726. }
  23727. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23728. phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5];
  23729. phy_b10 = 0;
  23730. if ((pi->pubpi.radiorev == 3) ||
  23731. (pi->pubpi.radiorev == 4) ||
  23732. (pi->pubpi.radiorev == 6)) {
  23733. phy_b12 = -(
  23734. nphy_papd_padgain_dlt_2g_2057rev3n4
  23735. [phy_b8] + 1) / 2;
  23736. phy_b10 = -1;
  23737. } else if (pi->pubpi.radiorev == 5) {
  23738. phy_b12 = -(
  23739. nphy_papd_padgain_dlt_2g_2057rev5
  23740. [phy_b8] + 1) / 2;
  23741. } else if ((pi->pubpi.radiorev == 7) ||
  23742. (pi->pubpi.radiorev == 8)) {
  23743. phy_b12 = -(
  23744. nphy_papd_padgain_dlt_2g_2057rev7
  23745. [phy_b8] + 1) / 2;
  23746. }
  23747. } else {
  23748. phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5];
  23749. if ((pi->pubpi.radiorev == 3) ||
  23750. (pi->pubpi.radiorev == 4) ||
  23751. (pi->pubpi.radiorev == 6))
  23752. phy_b11 =
  23753. -(nphy_papd_pgagain_dlt_5g_2057
  23754. [phy_b7]
  23755. + 1) / 2;
  23756. else if ((pi->pubpi.radiorev == 7)
  23757. || (pi->pubpi.radiorev == 8))
  23758. phy_b11 = -(
  23759. nphy_papd_pgagain_dlt_5g_2057rev7
  23760. [phy_b7] + 1) / 2;
  23761. phy_b10 = -9;
  23762. }
  23763. if (CHSPEC_IS2G(pi->radio_chanspec))
  23764. phy_b6 =
  23765. -60 + 27 + eps_offset + phy_b12 +
  23766. phy_b10;
  23767. else
  23768. phy_b6 =
  23769. -60 + 27 + eps_offset + phy_b11 +
  23770. phy_b10;
  23771. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23772. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23773. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23774. } else {
  23775. if (NREV_LT(pi->pubpi.phy_rev, 5))
  23776. eps_offset = 4;
  23777. else
  23778. eps_offset = 2;
  23779. phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3);
  23780. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23781. phy_b11 =
  23782. -(nphy_papd_pga_gain_delta_ipa_2g[
  23783. phy_b7] +
  23784. 1) / 2;
  23785. phy_b10 = 0;
  23786. } else {
  23787. phy_b11 =
  23788. -(nphy_papd_pga_gain_delta_ipa_5g[
  23789. phy_b7] +
  23790. 1) / 2;
  23791. phy_b10 = -9;
  23792. }
  23793. phy_b6 = -60 + 27 + eps_offset + phy_b11 + phy_b10;
  23794. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23795. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23796. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23797. }
  23798. }
  23799. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  23800. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23801. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  23802. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23803. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23804. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23805. 0x2a4, (0x1 << 13), (0) << 13);
  23806. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23807. 0x2a4, (0x1 << 13), (0) << 13);
  23808. } else {
  23809. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23810. 0x2a4, (0x1 << 11), (0) << 11);
  23811. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23812. 0x2a4, (0x1 << 11), (0) << 11);
  23813. }
  23814. pi->nphy_papdcomp = NPHY_PAPD_COMP_ON;
  23815. write_phy_reg(pi, 0x01, phy_b9);
  23816. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  23817. wlc_phy_txpwrctrl_enable_nphy(pi, phy_b4);
  23818. if (phy_b4 == PHY_TPC_HW_OFF) {
  23819. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23820. (s8) (pi->nphy_txpwrindex[0].
  23821. index_internal), false);
  23822. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23823. (s8) (pi->nphy_txpwrindex[1].
  23824. index_internal), false);
  23825. }
  23826. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  23827. if (!phy_b3)
  23828. wlapi_enable_mac(pi->sh->physhim);
  23829. }
  23830. void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype)
  23831. {
  23832. struct nphy_txgains target_gain;
  23833. u8 tx_pwr_ctrl_state;
  23834. bool fullcal = true;
  23835. bool restore_tx_gain = false;
  23836. bool mphase;
  23837. if (PHY_MUTED(pi))
  23838. return;
  23839. if (caltype == PHY_PERICAL_AUTO)
  23840. fullcal = (pi->radio_chanspec != pi->nphy_txiqlocal_chanspec);
  23841. else if (caltype == PHY_PERICAL_PARTIAL)
  23842. fullcal = false;
  23843. if (pi->cal_type_override != PHY_PERICAL_AUTO)
  23844. fullcal =
  23845. (pi->cal_type_override ==
  23846. PHY_PERICAL_FULL) ? true : false;
  23847. if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) {
  23848. if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec)
  23849. wlc_phy_cal_perical_mphase_restart(pi);
  23850. }
  23851. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL))
  23852. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000);
  23853. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23854. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23855. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_IDLE) ||
  23856. (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_INIT)) {
  23857. pi->nphy_cal_orig_pwr_idx[0] =
  23858. (u8) ((read_phy_reg(pi, 0x1ed) >> 8) & 0x7f);
  23859. pi->nphy_cal_orig_pwr_idx[1] =
  23860. (u8) ((read_phy_reg(pi, 0x1ee) >> 8) & 0x7f);
  23861. if (pi->nphy_txpwrctrl != PHY_TPC_HW_OFF) {
  23862. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2,
  23863. 0x110, 16,
  23864. pi->nphy_cal_orig_tx_gain);
  23865. } else {
  23866. pi->nphy_cal_orig_tx_gain[0] = 0;
  23867. pi->nphy_cal_orig_tx_gain[1] = 0;
  23868. }
  23869. }
  23870. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23871. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  23872. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23873. if (pi->antsel_type == ANTSEL_2x3)
  23874. wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
  23875. mphase = (pi->mphase_cal_phase_id != MPHASE_CAL_STATE_IDLE);
  23876. if (!mphase) {
  23877. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23878. wlc_phy_precal_txgain_nphy(pi);
  23879. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23880. restore_tx_gain = true;
  23881. target_gain = pi->nphy_cal_target_gain;
  23882. }
  23883. if (0 ==
  23884. wlc_phy_cal_txiqlo_nphy(pi, target_gain, fullcal,
  23885. mphase)) {
  23886. if (PHY_IPA(pi))
  23887. wlc_phy_a4(pi, true);
  23888. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23889. wlapi_enable_mac(pi->sh->physhim);
  23890. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION,
  23891. 10000);
  23892. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23893. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23894. if (0 == wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23895. (pi->first_cal_after_assoc ||
  23896. (pi->cal_type_override ==
  23897. PHY_PERICAL_FULL)) ? 2 : 0, false)) {
  23898. wlc_phy_savecal_nphy(pi);
  23899. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23900. pi->nphy_perical_last = pi->sh->now;
  23901. }
  23902. }
  23903. if (caltype != PHY_PERICAL_AUTO)
  23904. wlc_phy_rssi_cal_nphy(pi);
  23905. if (pi->first_cal_after_assoc
  23906. || (pi->cal_type_override == PHY_PERICAL_FULL)) {
  23907. pi->first_cal_after_assoc = false;
  23908. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23909. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23910. }
  23911. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23912. wlc_phy_radio205x_vcocal_nphy(pi);
  23913. } else {
  23914. switch (pi->mphase_cal_phase_id) {
  23915. case MPHASE_CAL_STATE_INIT:
  23916. pi->nphy_perical_last = pi->sh->now;
  23917. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  23918. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23919. wlc_phy_precal_txgain_nphy(pi);
  23920. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23921. pi->mphase_cal_phase_id++;
  23922. break;
  23923. case MPHASE_CAL_STATE_TXPHASE0:
  23924. case MPHASE_CAL_STATE_TXPHASE1:
  23925. case MPHASE_CAL_STATE_TXPHASE2:
  23926. case MPHASE_CAL_STATE_TXPHASE3:
  23927. case MPHASE_CAL_STATE_TXPHASE4:
  23928. case MPHASE_CAL_STATE_TXPHASE5:
  23929. if ((pi->radar_percal_mask & 0x10) != 0)
  23930. pi->nphy_rxcal_active = true;
  23931. if (wlc_phy_cal_txiqlo_nphy
  23932. (pi, pi->nphy_cal_target_gain, fullcal,
  23933. true) != 0) {
  23934. wlc_phy_cal_perical_mphase_reset(pi);
  23935. break;
  23936. }
  23937. if (NREV_LE(pi->pubpi.phy_rev, 2) &&
  23938. (pi->mphase_cal_phase_id ==
  23939. MPHASE_CAL_STATE_TXPHASE4))
  23940. pi->mphase_cal_phase_id += 2;
  23941. else
  23942. pi->mphase_cal_phase_id++;
  23943. break;
  23944. case MPHASE_CAL_STATE_PAPDCAL:
  23945. if ((pi->radar_percal_mask & 0x2) != 0)
  23946. pi->nphy_rxcal_active = true;
  23947. if (PHY_IPA(pi))
  23948. wlc_phy_a4(pi, true);
  23949. pi->mphase_cal_phase_id++;
  23950. break;
  23951. case MPHASE_CAL_STATE_RXCAL:
  23952. if ((pi->radar_percal_mask & 0x1) != 0)
  23953. pi->nphy_rxcal_active = true;
  23954. if (wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23955. (pi->first_cal_after_assoc ||
  23956. (pi->cal_type_override ==
  23957. PHY_PERICAL_FULL)) ? 2 : 0,
  23958. false) == 0)
  23959. wlc_phy_savecal_nphy(pi);
  23960. pi->mphase_cal_phase_id++;
  23961. break;
  23962. case MPHASE_CAL_STATE_RSSICAL:
  23963. if ((pi->radar_percal_mask & 0x4) != 0)
  23964. pi->nphy_rxcal_active = true;
  23965. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23966. wlc_phy_rssi_cal_nphy(pi);
  23967. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23968. wlc_phy_radio205x_vcocal_nphy(pi);
  23969. restore_tx_gain = true;
  23970. if (pi->first_cal_after_assoc)
  23971. pi->mphase_cal_phase_id++;
  23972. else
  23973. wlc_phy_cal_perical_mphase_reset(pi);
  23974. break;
  23975. case MPHASE_CAL_STATE_IDLETSSI:
  23976. if ((pi->radar_percal_mask & 0x8) != 0)
  23977. pi->nphy_rxcal_active = true;
  23978. if (pi->first_cal_after_assoc) {
  23979. pi->first_cal_after_assoc = false;
  23980. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23981. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23982. }
  23983. wlc_phy_cal_perical_mphase_reset(pi);
  23984. break;
  23985. default:
  23986. wlc_phy_cal_perical_mphase_reset(pi);
  23987. break;
  23988. }
  23989. }
  23990. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23991. if (restore_tx_gain) {
  23992. if (tx_pwr_ctrl_state != PHY_TPC_HW_OFF) {
  23993. wlc_phy_txpwr_index_nphy(pi, 1,
  23994. pi->
  23995. nphy_cal_orig_pwr_idx
  23996. [0], false);
  23997. wlc_phy_txpwr_index_nphy(pi, 2,
  23998. pi->
  23999. nphy_cal_orig_pwr_idx
  24000. [1], false);
  24001. pi->nphy_txpwrindex[0].index = -1;
  24002. pi->nphy_txpwrindex[1].index = -1;
  24003. } else {
  24004. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  24005. (s8) (pi->
  24006. nphy_txpwrindex
  24007. [0].
  24008. index_internal),
  24009. false);
  24010. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  24011. (s8) (pi->
  24012. nphy_txpwrindex
  24013. [1].
  24014. index_internal),
  24015. false);
  24016. }
  24017. }
  24018. }
  24019. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  24020. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  24021. wlapi_enable_mac(pi->sh->physhim);
  24022. }
  24023. int
  24024. wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  24025. bool fullcal, bool mphase)
  24026. {
  24027. u16 val;
  24028. u16 tbl_buf[11];
  24029. u8 cal_cnt;
  24030. u16 cal_cmd;
  24031. u8 num_cals, max_cal_cmds;
  24032. u16 core_no, cal_type;
  24033. u16 diq_start = 0;
  24034. u8 phy_bw;
  24035. u16 max_val;
  24036. u16 tone_freq;
  24037. u16 gain_save[2];
  24038. u16 cal_gain[2];
  24039. struct nphy_iqcal_params cal_params[2];
  24040. u32 tbl_len;
  24041. void *tbl_ptr;
  24042. bool ladder_updated[2];
  24043. u8 mphase_cal_lastphase = 0;
  24044. int bcmerror = 0;
  24045. bool phyhang_avoid_state = false;
  24046. u16 tbl_tx_iqlo_cal_loft_ladder_20[] = {
  24047. 0x0300, 0x0500, 0x0700, 0x0900, 0x0d00, 0x1100, 0x1900, 0x1901,
  24048. 0x1902,
  24049. 0x1903, 0x1904, 0x1905, 0x1906, 0x1907, 0x2407, 0x3207, 0x4607,
  24050. 0x6407
  24051. };
  24052. u16 tbl_tx_iqlo_cal_iqimb_ladder_20[] = {
  24053. 0x0200, 0x0300, 0x0600, 0x0900, 0x0d00, 0x1100, 0x1900, 0x2400,
  24054. 0x3200,
  24055. 0x4600, 0x6400, 0x6401, 0x6402, 0x6403, 0x6404, 0x6405, 0x6406,
  24056. 0x6407
  24057. };
  24058. u16 tbl_tx_iqlo_cal_loft_ladder_40[] = {
  24059. 0x0200, 0x0300, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1201,
  24060. 0x1202,
  24061. 0x1203, 0x1204, 0x1205, 0x1206, 0x1207, 0x1907, 0x2307, 0x3207,
  24062. 0x4707
  24063. };
  24064. u16 tbl_tx_iqlo_cal_iqimb_ladder_40[] = {
  24065. 0x0100, 0x0200, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1900,
  24066. 0x2300,
  24067. 0x3200, 0x4700, 0x4701, 0x4702, 0x4703, 0x4704, 0x4705, 0x4706,
  24068. 0x4707
  24069. };
  24070. u16 tbl_tx_iqlo_cal_startcoefs[] = {
  24071. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24072. 0x0000
  24073. };
  24074. u16 tbl_tx_iqlo_cal_cmds_fullcal[] = {
  24075. 0x8123, 0x8264, 0x8086, 0x8245, 0x8056,
  24076. 0x9123, 0x9264, 0x9086, 0x9245, 0x9056
  24077. };
  24078. u16 tbl_tx_iqlo_cal_cmds_recal[] = {
  24079. 0x8101, 0x8253, 0x8053, 0x8234, 0x8034,
  24080. 0x9101, 0x9253, 0x9053, 0x9234, 0x9034
  24081. };
  24082. u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[] = {
  24083. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24084. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24085. 0x0000
  24086. };
  24087. u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[] = {
  24088. 0x8434, 0x8334, 0x8084, 0x8267, 0x8056, 0x8234,
  24089. 0x9434, 0x9334, 0x9084, 0x9267, 0x9056, 0x9234
  24090. };
  24091. u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[] = {
  24092. 0x8423, 0x8323, 0x8073, 0x8256, 0x8045, 0x8223,
  24093. 0x9423, 0x9323, 0x9073, 0x9256, 0x9045, 0x9223
  24094. };
  24095. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  24096. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  24097. phyhang_avoid_state = pi->phyhang_avoid;
  24098. pi->phyhang_avoid = false;
  24099. }
  24100. if (CHSPEC_IS40(pi->radio_chanspec))
  24101. phy_bw = 40;
  24102. else
  24103. phy_bw = 20;
  24104. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  24105. for (core_no = 0; core_no <= 1; core_no++) {
  24106. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  24107. &cal_params[core_no]);
  24108. cal_gain[core_no] = cal_params[core_no].cal_gain;
  24109. }
  24110. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  24111. wlc_phy_txcal_radio_setup_nphy(pi);
  24112. wlc_phy_txcal_physetup_nphy(pi);
  24113. ladder_updated[0] = ladder_updated[1] = false;
  24114. if (!(NREV_GE(pi->pubpi.phy_rev, 6) ||
  24115. (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi)
  24116. && (CHSPEC_IS2G(pi->radio_chanspec))))) {
  24117. if (phy_bw == 40) {
  24118. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_40;
  24119. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_40);
  24120. } else {
  24121. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_20;
  24122. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_20);
  24123. }
  24124. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 0,
  24125. 16, tbl_ptr);
  24126. if (phy_bw == 40) {
  24127. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_40;
  24128. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_40);
  24129. } else {
  24130. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_20;
  24131. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_20);
  24132. }
  24133. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 32,
  24134. 16, tbl_ptr);
  24135. }
  24136. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24137. write_phy_reg(pi, 0xc2, 0x8ad9);
  24138. else
  24139. write_phy_reg(pi, 0xc2, 0x8aa9);
  24140. max_val = 250;
  24141. tone_freq = (phy_bw == 20) ? 2500 : 5000;
  24142. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24143. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff, 0, 1, 0, false);
  24144. bcmerror = 0;
  24145. } else {
  24146. bcmerror =
  24147. wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0,
  24148. false);
  24149. }
  24150. if (bcmerror == 0) {
  24151. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24152. tbl_ptr = pi->mphase_txcal_bestcoeffs;
  24153. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24154. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24155. tbl_len -= 2;
  24156. } else {
  24157. if ((!fullcal) && (pi->nphy_txiqlocal_coeffsvalid)) {
  24158. tbl_ptr = pi->nphy_txiqlocal_bestc;
  24159. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24160. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24161. tbl_len -= 2;
  24162. } else {
  24163. fullcal = true;
  24164. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24165. tbl_ptr =
  24166. tbl_tx_iqlo_cal_startcoefs_nphyrev3;
  24167. tbl_len = ARRAY_SIZE(
  24168. tbl_tx_iqlo_cal_startcoefs_nphyrev3);
  24169. } else {
  24170. tbl_ptr = tbl_tx_iqlo_cal_startcoefs;
  24171. tbl_len = ARRAY_SIZE(
  24172. tbl_tx_iqlo_cal_startcoefs);
  24173. }
  24174. }
  24175. }
  24176. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 64,
  24177. 16, tbl_ptr);
  24178. if (fullcal) {
  24179. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24180. ARRAY_SIZE(
  24181. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3) :
  24182. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_fullcal);
  24183. } else {
  24184. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24185. ARRAY_SIZE(
  24186. tbl_tx_iqlo_cal_cmds_recal_nphyrev3) :
  24187. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_recal);
  24188. }
  24189. if (mphase) {
  24190. cal_cnt = pi->mphase_txcal_cmdidx;
  24191. if ((cal_cnt + pi->mphase_txcal_numcmds) < max_cal_cmds)
  24192. num_cals = cal_cnt + pi->mphase_txcal_numcmds;
  24193. else
  24194. num_cals = max_cal_cmds;
  24195. } else {
  24196. cal_cnt = 0;
  24197. num_cals = max_cal_cmds;
  24198. }
  24199. for (; cal_cnt < num_cals; cal_cnt++) {
  24200. if (fullcal) {
  24201. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24202. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3
  24203. [cal_cnt] :
  24204. tbl_tx_iqlo_cal_cmds_fullcal[cal_cnt];
  24205. } else {
  24206. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24207. tbl_tx_iqlo_cal_cmds_recal_nphyrev3[
  24208. cal_cnt]
  24209. : tbl_tx_iqlo_cal_cmds_recal[cal_cnt];
  24210. }
  24211. core_no = ((cal_cmd & 0x3000) >> 12);
  24212. cal_type = ((cal_cmd & 0x0F00) >> 8);
  24213. if (NREV_GE(pi->pubpi.phy_rev, 6) ||
  24214. (NREV_IS(pi->pubpi.phy_rev, 5) &&
  24215. PHY_IPA(pi)
  24216. && (CHSPEC_IS2G(pi->radio_chanspec)))) {
  24217. if (!ladder_updated[core_no]) {
  24218. wlc_phy_update_txcal_ladder_nphy(
  24219. pi,
  24220. core_no);
  24221. ladder_updated[core_no] = true;
  24222. }
  24223. }
  24224. val =
  24225. (cal_params[core_no].
  24226. ncorr[cal_type] << 8) | NPHY_N_GCTL;
  24227. write_phy_reg(pi, 0xc1, val);
  24228. if ((cal_type == 1) || (cal_type == 3)
  24229. || (cal_type == 4)) {
  24230. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24231. 1, 69 + core_no, 16,
  24232. tbl_buf);
  24233. diq_start = tbl_buf[0];
  24234. tbl_buf[0] = 0;
  24235. wlc_phy_table_write_nphy(pi,
  24236. NPHY_TBL_ID_IQLOCAL, 1,
  24237. 69 + core_no, 16,
  24238. tbl_buf);
  24239. }
  24240. write_phy_reg(pi, 0xc0, cal_cmd);
  24241. SPINWAIT(((read_phy_reg(pi, 0xc0) & 0xc000) != 0),
  24242. 20000);
  24243. if (WARN(read_phy_reg(pi, 0xc0) & 0xc000,
  24244. "HW error: txiq calib"))
  24245. return -EIO;
  24246. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24247. tbl_len, 96, 16, tbl_buf);
  24248. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24249. tbl_len, 64, 16, tbl_buf);
  24250. if ((cal_type == 1) || (cal_type == 3)
  24251. || (cal_type == 4)) {
  24252. tbl_buf[0] = diq_start;
  24253. }
  24254. }
  24255. if (mphase) {
  24256. pi->mphase_txcal_cmdidx = num_cals;
  24257. if (pi->mphase_txcal_cmdidx >= max_cal_cmds)
  24258. pi->mphase_txcal_cmdidx = 0;
  24259. }
  24260. mphase_cal_lastphase =
  24261. (NREV_LE(pi->pubpi.phy_rev, 2)) ?
  24262. MPHASE_CAL_STATE_TXPHASE4 : MPHASE_CAL_STATE_TXPHASE5;
  24263. if (!mphase
  24264. || (pi->mphase_cal_phase_id == mphase_cal_lastphase)) {
  24265. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 96,
  24266. 16, tbl_buf);
  24267. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24268. 16, tbl_buf);
  24269. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24270. tbl_buf[0] = 0;
  24271. tbl_buf[1] = 0;
  24272. tbl_buf[2] = 0;
  24273. tbl_buf[3] = 0;
  24274. }
  24275. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24276. 16, tbl_buf);
  24277. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 101,
  24278. 16, tbl_buf);
  24279. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24280. 16, tbl_buf);
  24281. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24282. 16, tbl_buf);
  24283. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24284. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24285. tbl_len -= 2;
  24286. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24287. tbl_len, 96, 16,
  24288. pi->nphy_txiqlocal_bestc);
  24289. pi->nphy_txiqlocal_coeffsvalid = true;
  24290. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  24291. } else {
  24292. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24293. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24294. tbl_len -= 2;
  24295. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24296. tbl_len, 96, 16,
  24297. pi->mphase_txcal_bestcoeffs);
  24298. }
  24299. wlc_phy_stopplayback_nphy(pi);
  24300. write_phy_reg(pi, 0xc2, 0x0000);
  24301. }
  24302. wlc_phy_txcal_phycleanup_nphy(pi);
  24303. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  24304. gain_save);
  24305. wlc_phy_txcal_radio_cleanup_nphy(pi);
  24306. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24307. if (!mphase
  24308. || (pi->mphase_cal_phase_id == mphase_cal_lastphase))
  24309. wlc_phy_tx_iq_war_nphy(pi);
  24310. }
  24311. if (NREV_GE(pi->pubpi.phy_rev, 4))
  24312. pi->phyhang_avoid = phyhang_avoid_state;
  24313. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  24314. return bcmerror;
  24315. }
  24316. static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi)
  24317. {
  24318. u16 tbl_buf[7];
  24319. if ((pi->nphy_txiqlocal_chanspec == pi->radio_chanspec) &&
  24320. (pi->nphy_txiqlocal_coeffsvalid)) {
  24321. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24322. ARRAY_SIZE(tbl_buf), 80, 16, tbl_buf);
  24323. if ((pi->nphy_txiqlocal_bestc[0] != tbl_buf[0]) ||
  24324. (pi->nphy_txiqlocal_bestc[1] != tbl_buf[1]) ||
  24325. (pi->nphy_txiqlocal_bestc[2] != tbl_buf[2]) ||
  24326. (pi->nphy_txiqlocal_bestc[3] != tbl_buf[3])) {
  24327. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24328. 16, pi->nphy_txiqlocal_bestc);
  24329. tbl_buf[0] = 0;
  24330. tbl_buf[1] = 0;
  24331. tbl_buf[2] = 0;
  24332. tbl_buf[3] = 0;
  24333. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24334. 16, tbl_buf);
  24335. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24336. 16,
  24337. &pi->nphy_txiqlocal_bestc[5]);
  24338. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24339. 16,
  24340. &pi->nphy_txiqlocal_bestc[5]);
  24341. }
  24342. }
  24343. }
  24344. void
  24345. wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write,
  24346. struct nphy_iq_comp *pcomp)
  24347. {
  24348. if (write) {
  24349. write_phy_reg(pi, 0x9a, pcomp->a0);
  24350. write_phy_reg(pi, 0x9b, pcomp->b0);
  24351. write_phy_reg(pi, 0x9c, pcomp->a1);
  24352. write_phy_reg(pi, 0x9d, pcomp->b1);
  24353. } else {
  24354. pcomp->a0 = read_phy_reg(pi, 0x9a);
  24355. pcomp->b0 = read_phy_reg(pi, 0x9b);
  24356. pcomp->a1 = read_phy_reg(pi, 0x9c);
  24357. pcomp->b1 = read_phy_reg(pi, 0x9d);
  24358. }
  24359. }
  24360. void
  24361. wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
  24362. u16 num_samps, u8 wait_time, u8 wait_for_crs)
  24363. {
  24364. u8 core;
  24365. write_phy_reg(pi, 0x12b, num_samps);
  24366. mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0));
  24367. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqMode,
  24368. (wait_for_crs) ? NPHY_IqestCmd_iqMode : 0);
  24369. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqstart, NPHY_IqestCmd_iqstart);
  24370. SPINWAIT(((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) != 0),
  24371. 10000);
  24372. if (WARN(read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart,
  24373. "HW error: rxiq est"))
  24374. return;
  24375. if ((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) == 0) {
  24376. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  24377. est[core].i_pwr =
  24378. (read_phy_reg(pi,
  24379. NPHY_IqestipwrAccHi(core)) << 16)
  24380. | read_phy_reg(pi, NPHY_IqestipwrAccLo(core));
  24381. est[core].q_pwr =
  24382. (read_phy_reg(pi,
  24383. NPHY_IqestqpwrAccHi(core)) << 16)
  24384. | read_phy_reg(pi, NPHY_IqestqpwrAccLo(core));
  24385. est[core].iq_prod =
  24386. (read_phy_reg(pi,
  24387. NPHY_IqestIqAccHi(core)) << 16) |
  24388. read_phy_reg(pi, NPHY_IqestIqAccLo(core));
  24389. }
  24390. }
  24391. }
  24392. #define CAL_RETRY_CNT 2
  24393. static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask)
  24394. {
  24395. u8 curr_core;
  24396. struct phy_iq_est est[PHY_CORE_MAX];
  24397. struct nphy_iq_comp old_comp, new_comp;
  24398. s32 iq = 0;
  24399. u32 ii = 0, qq = 0;
  24400. s16 iq_nbits, qq_nbits, brsh, arsh;
  24401. s32 a, b, temp;
  24402. int bcmerror = 0;
  24403. uint cal_retry = 0;
  24404. if (core_mask == 0x0)
  24405. return;
  24406. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &old_comp);
  24407. new_comp.a0 = new_comp.b0 = new_comp.a1 = new_comp.b1 = 0x0;
  24408. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24409. cal_try:
  24410. wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0);
  24411. new_comp = old_comp;
  24412. for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) {
  24413. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24414. iq = est[curr_core].iq_prod;
  24415. ii = est[curr_core].i_pwr;
  24416. qq = est[curr_core].q_pwr;
  24417. } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24418. iq = est[curr_core].iq_prod;
  24419. ii = est[curr_core].i_pwr;
  24420. qq = est[curr_core].q_pwr;
  24421. } else {
  24422. continue;
  24423. }
  24424. if ((ii + qq) < NPHY_MIN_RXIQ_PWR) {
  24425. bcmerror = -EBADE;
  24426. break;
  24427. }
  24428. iq_nbits = wlc_phy_nbits(iq);
  24429. qq_nbits = wlc_phy_nbits(qq);
  24430. arsh = 10 - (30 - iq_nbits);
  24431. if (arsh >= 0) {
  24432. a = (-(iq << (30 - iq_nbits)) + (ii >> (1 + arsh)));
  24433. temp = (s32) (ii >> arsh);
  24434. if (temp == 0) {
  24435. bcmerror = -EBADE;
  24436. break;
  24437. }
  24438. } else {
  24439. a = (-(iq << (30 - iq_nbits)) + (ii << (-1 - arsh)));
  24440. temp = (s32) (ii << -arsh);
  24441. if (temp == 0) {
  24442. bcmerror = -EBADE;
  24443. break;
  24444. }
  24445. }
  24446. a /= temp;
  24447. brsh = qq_nbits - 31 + 20;
  24448. if (brsh >= 0) {
  24449. b = (qq << (31 - qq_nbits));
  24450. temp = (s32) (ii >> brsh);
  24451. if (temp == 0) {
  24452. bcmerror = -EBADE;
  24453. break;
  24454. }
  24455. } else {
  24456. b = (qq << (31 - qq_nbits));
  24457. temp = (s32) (ii << -brsh);
  24458. if (temp == 0) {
  24459. bcmerror = -EBADE;
  24460. break;
  24461. }
  24462. }
  24463. b /= temp;
  24464. b -= a * a;
  24465. b = (s32) int_sqrt((unsigned long) b);
  24466. b -= (1 << 10);
  24467. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24468. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24469. new_comp.a0 = (s16) a & 0x3ff;
  24470. new_comp.b0 = (s16) b & 0x3ff;
  24471. } else {
  24472. new_comp.a0 = (s16) b & 0x3ff;
  24473. new_comp.b0 = (s16) a & 0x3ff;
  24474. }
  24475. }
  24476. if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24477. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24478. new_comp.a1 = (s16) a & 0x3ff;
  24479. new_comp.b1 = (s16) b & 0x3ff;
  24480. } else {
  24481. new_comp.a1 = (s16) b & 0x3ff;
  24482. new_comp.b1 = (s16) a & 0x3ff;
  24483. }
  24484. }
  24485. }
  24486. if (bcmerror != 0) {
  24487. pr_debug("%s: Failed, cnt = %d\n", __func__, cal_retry);
  24488. if (cal_retry < CAL_RETRY_CNT) {
  24489. cal_retry++;
  24490. goto cal_try;
  24491. }
  24492. new_comp = old_comp;
  24493. }
  24494. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24495. }
  24496. static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core)
  24497. {
  24498. u16 offtune_val;
  24499. u16 bias_g = 0;
  24500. u16 bias_a = 0;
  24501. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24502. if (rx_core == PHY_CORE_0) {
  24503. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24504. pi->tx_rx_cal_radio_saveregs[0] =
  24505. read_radio_reg(pi,
  24506. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP);
  24507. pi->tx_rx_cal_radio_saveregs[1] =
  24508. read_radio_reg(pi,
  24509. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN);
  24510. write_radio_reg(pi,
  24511. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24512. 0x3);
  24513. write_radio_reg(pi,
  24514. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24515. 0xaf);
  24516. } else {
  24517. pi->tx_rx_cal_radio_saveregs[0] =
  24518. read_radio_reg(pi,
  24519. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP);
  24520. pi->tx_rx_cal_radio_saveregs[1] =
  24521. read_radio_reg(pi,
  24522. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN);
  24523. write_radio_reg(
  24524. pi,
  24525. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24526. 0x3);
  24527. write_radio_reg(
  24528. pi,
  24529. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24530. 0x7f);
  24531. }
  24532. } else {
  24533. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24534. pi->tx_rx_cal_radio_saveregs[0] =
  24535. read_radio_reg(pi,
  24536. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP);
  24537. pi->tx_rx_cal_radio_saveregs[1] =
  24538. read_radio_reg(pi,
  24539. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN);
  24540. write_radio_reg(
  24541. pi,
  24542. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24543. 0x3);
  24544. write_radio_reg(
  24545. pi,
  24546. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24547. 0xaf);
  24548. } else {
  24549. pi->tx_rx_cal_radio_saveregs[0] =
  24550. read_radio_reg(pi,
  24551. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP);
  24552. pi->tx_rx_cal_radio_saveregs[1] =
  24553. read_radio_reg(pi,
  24554. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN);
  24555. write_radio_reg(pi,
  24556. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24557. 0x3);
  24558. write_radio_reg(pi,
  24559. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24560. 0x7f);
  24561. }
  24562. }
  24563. } else {
  24564. if (rx_core == PHY_CORE_0) {
  24565. pi->tx_rx_cal_radio_saveregs[0] =
  24566. read_radio_reg(pi,
  24567. RADIO_2056_TX_RXIQCAL_TXMUX |
  24568. RADIO_2056_TX1);
  24569. pi->tx_rx_cal_radio_saveregs[1] =
  24570. read_radio_reg(pi,
  24571. RADIO_2056_RX_RXIQCAL_RXMUX |
  24572. RADIO_2056_RX0);
  24573. if (pi->pubpi.radiorev >= 5) {
  24574. pi->tx_rx_cal_radio_saveregs[2] =
  24575. read_radio_reg(pi,
  24576. RADIO_2056_RX_RXSPARE2 |
  24577. RADIO_2056_RX0);
  24578. pi->tx_rx_cal_radio_saveregs[3] =
  24579. read_radio_reg(pi,
  24580. RADIO_2056_TX_TXSPARE2 |
  24581. RADIO_2056_TX1);
  24582. }
  24583. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24584. if (pi->pubpi.radiorev >= 5) {
  24585. pi->tx_rx_cal_radio_saveregs[4] =
  24586. read_radio_reg(pi,
  24587. RADIO_2056_RX_LNAA_MASTER
  24588. | RADIO_2056_RX0);
  24589. write_radio_reg(
  24590. pi,
  24591. RADIO_2056_RX_LNAA_MASTER
  24592. | RADIO_2056_RX0, 0x40);
  24593. write_radio_reg(pi,
  24594. RADIO_2056_TX_TXSPARE2 |
  24595. RADIO_2056_TX1, bias_a);
  24596. write_radio_reg(pi,
  24597. RADIO_2056_RX_RXSPARE2 |
  24598. RADIO_2056_RX0, bias_a);
  24599. } else {
  24600. pi->tx_rx_cal_radio_saveregs[4] =
  24601. read_radio_reg(pi,
  24602. RADIO_2056_RX_LNAA_TUNE
  24603. | RADIO_2056_RX0);
  24604. offtune_val =
  24605. (pi->tx_rx_cal_radio_saveregs
  24606. [2] & 0xF0) >> 8;
  24607. offtune_val =
  24608. (offtune_val <= 0x7) ? 0xF : 0;
  24609. mod_radio_reg(pi,
  24610. RADIO_2056_RX_LNAA_TUNE |
  24611. RADIO_2056_RX0, 0xF0,
  24612. (offtune_val << 8));
  24613. }
  24614. write_radio_reg(pi,
  24615. RADIO_2056_TX_RXIQCAL_TXMUX |
  24616. RADIO_2056_TX1, 0x9);
  24617. write_radio_reg(pi,
  24618. RADIO_2056_RX_RXIQCAL_RXMUX |
  24619. RADIO_2056_RX0, 0x9);
  24620. } else {
  24621. if (pi->pubpi.radiorev >= 5) {
  24622. pi->tx_rx_cal_radio_saveregs[4] =
  24623. read_radio_reg(
  24624. pi,
  24625. RADIO_2056_RX_LNAG_MASTER
  24626. | RADIO_2056_RX0);
  24627. write_radio_reg(
  24628. pi,
  24629. RADIO_2056_RX_LNAG_MASTER
  24630. | RADIO_2056_RX0, 0x40);
  24631. write_radio_reg(
  24632. pi,
  24633. RADIO_2056_TX_TXSPARE2
  24634. |
  24635. RADIO_2056_TX1, bias_g);
  24636. write_radio_reg(
  24637. pi,
  24638. RADIO_2056_RX_RXSPARE2
  24639. |
  24640. RADIO_2056_RX0, bias_g);
  24641. } else {
  24642. pi->tx_rx_cal_radio_saveregs[4] =
  24643. read_radio_reg(
  24644. pi,
  24645. RADIO_2056_RX_LNAG_TUNE
  24646. | RADIO_2056_RX0);
  24647. offtune_val =
  24648. (pi->
  24649. tx_rx_cal_radio_saveregs[2] &
  24650. 0xF0) >> 8;
  24651. offtune_val =
  24652. (offtune_val <= 0x7) ? 0xF : 0;
  24653. mod_radio_reg(pi,
  24654. RADIO_2056_RX_LNAG_TUNE |
  24655. RADIO_2056_RX0, 0xF0,
  24656. (offtune_val << 8));
  24657. }
  24658. write_radio_reg(pi,
  24659. RADIO_2056_TX_RXIQCAL_TXMUX |
  24660. RADIO_2056_TX1, 0x6);
  24661. write_radio_reg(pi,
  24662. RADIO_2056_RX_RXIQCAL_RXMUX |
  24663. RADIO_2056_RX0, 0x6);
  24664. }
  24665. } else {
  24666. pi->tx_rx_cal_radio_saveregs[0] =
  24667. read_radio_reg(pi,
  24668. RADIO_2056_TX_RXIQCAL_TXMUX |
  24669. RADIO_2056_TX0);
  24670. pi->tx_rx_cal_radio_saveregs[1] =
  24671. read_radio_reg(pi,
  24672. RADIO_2056_RX_RXIQCAL_RXMUX |
  24673. RADIO_2056_RX1);
  24674. if (pi->pubpi.radiorev >= 5) {
  24675. pi->tx_rx_cal_radio_saveregs[2] =
  24676. read_radio_reg(pi,
  24677. RADIO_2056_RX_RXSPARE2 |
  24678. RADIO_2056_RX1);
  24679. pi->tx_rx_cal_radio_saveregs[3] =
  24680. read_radio_reg(pi,
  24681. RADIO_2056_TX_TXSPARE2 |
  24682. RADIO_2056_TX0);
  24683. }
  24684. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24685. if (pi->pubpi.radiorev >= 5) {
  24686. pi->tx_rx_cal_radio_saveregs[4] =
  24687. read_radio_reg(
  24688. pi,
  24689. RADIO_2056_RX_LNAA_MASTER
  24690. | RADIO_2056_RX1);
  24691. write_radio_reg(
  24692. pi,
  24693. RADIO_2056_RX_LNAA_MASTER |
  24694. RADIO_2056_RX1, 0x40);
  24695. write_radio_reg(
  24696. pi,
  24697. RADIO_2056_TX_TXSPARE2
  24698. |
  24699. RADIO_2056_TX0, bias_a);
  24700. write_radio_reg(
  24701. pi,
  24702. RADIO_2056_RX_RXSPARE2
  24703. |
  24704. RADIO_2056_RX1, bias_a);
  24705. } else {
  24706. pi->tx_rx_cal_radio_saveregs[4] =
  24707. read_radio_reg(
  24708. pi,
  24709. RADIO_2056_RX_LNAA_TUNE
  24710. | RADIO_2056_RX1);
  24711. offtune_val =
  24712. (pi->
  24713. tx_rx_cal_radio_saveregs[2] &
  24714. 0xF0) >> 8;
  24715. offtune_val =
  24716. (offtune_val <= 0x7) ? 0xF : 0;
  24717. mod_radio_reg(pi,
  24718. RADIO_2056_RX_LNAA_TUNE |
  24719. RADIO_2056_RX1, 0xF0,
  24720. (offtune_val << 8));
  24721. }
  24722. write_radio_reg(pi,
  24723. RADIO_2056_TX_RXIQCAL_TXMUX |
  24724. RADIO_2056_TX0, 0x9);
  24725. write_radio_reg(pi,
  24726. RADIO_2056_RX_RXIQCAL_RXMUX |
  24727. RADIO_2056_RX1, 0x9);
  24728. } else {
  24729. if (pi->pubpi.radiorev >= 5) {
  24730. pi->tx_rx_cal_radio_saveregs[4] =
  24731. read_radio_reg(
  24732. pi,
  24733. RADIO_2056_RX_LNAG_MASTER
  24734. | RADIO_2056_RX1);
  24735. write_radio_reg(
  24736. pi,
  24737. RADIO_2056_RX_LNAG_MASTER
  24738. | RADIO_2056_RX1, 0x40);
  24739. write_radio_reg(
  24740. pi,
  24741. RADIO_2056_TX_TXSPARE2
  24742. |
  24743. RADIO_2056_TX0, bias_g);
  24744. write_radio_reg(
  24745. pi,
  24746. RADIO_2056_RX_RXSPARE2
  24747. |
  24748. RADIO_2056_RX1, bias_g);
  24749. } else {
  24750. pi->tx_rx_cal_radio_saveregs[4] =
  24751. read_radio_reg(
  24752. pi,
  24753. RADIO_2056_RX_LNAG_TUNE
  24754. | RADIO_2056_RX1);
  24755. offtune_val =
  24756. (pi->
  24757. tx_rx_cal_radio_saveregs[2] &
  24758. 0xF0) >> 8;
  24759. offtune_val =
  24760. (offtune_val <= 0x7) ? 0xF : 0;
  24761. mod_radio_reg(pi,
  24762. RADIO_2056_RX_LNAG_TUNE |
  24763. RADIO_2056_RX1, 0xF0,
  24764. (offtune_val << 8));
  24765. }
  24766. write_radio_reg(pi,
  24767. RADIO_2056_TX_RXIQCAL_TXMUX |
  24768. RADIO_2056_TX0, 0x6);
  24769. write_radio_reg(pi,
  24770. RADIO_2056_RX_RXIQCAL_RXMUX |
  24771. RADIO_2056_RX1, 0x6);
  24772. }
  24773. }
  24774. }
  24775. }
  24776. static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24777. {
  24778. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24779. if (rx_core == PHY_CORE_0) {
  24780. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24781. write_radio_reg(
  24782. pi,
  24783. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24784. pi->
  24785. tx_rx_cal_radio_saveregs[0]);
  24786. write_radio_reg(
  24787. pi,
  24788. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24789. pi->
  24790. tx_rx_cal_radio_saveregs[1]);
  24791. } else {
  24792. write_radio_reg(
  24793. pi,
  24794. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24795. pi->
  24796. tx_rx_cal_radio_saveregs[0]);
  24797. write_radio_reg(
  24798. pi,
  24799. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24800. pi->
  24801. tx_rx_cal_radio_saveregs[1]);
  24802. }
  24803. } else {
  24804. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24805. write_radio_reg(
  24806. pi,
  24807. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24808. pi->
  24809. tx_rx_cal_radio_saveregs[0]);
  24810. write_radio_reg(
  24811. pi,
  24812. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24813. pi->
  24814. tx_rx_cal_radio_saveregs[1]);
  24815. } else {
  24816. write_radio_reg(
  24817. pi,
  24818. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24819. pi->
  24820. tx_rx_cal_radio_saveregs[0]);
  24821. write_radio_reg(
  24822. pi,
  24823. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24824. pi->
  24825. tx_rx_cal_radio_saveregs[1]);
  24826. }
  24827. }
  24828. } else {
  24829. if (rx_core == PHY_CORE_0) {
  24830. write_radio_reg(pi,
  24831. RADIO_2056_TX_RXIQCAL_TXMUX |
  24832. RADIO_2056_TX1,
  24833. pi->tx_rx_cal_radio_saveregs[0]);
  24834. write_radio_reg(pi,
  24835. RADIO_2056_RX_RXIQCAL_RXMUX |
  24836. RADIO_2056_RX0,
  24837. pi->tx_rx_cal_radio_saveregs[1]);
  24838. if (pi->pubpi.radiorev >= 5) {
  24839. write_radio_reg(pi,
  24840. RADIO_2056_RX_RXSPARE2 |
  24841. RADIO_2056_RX0,
  24842. pi->
  24843. tx_rx_cal_radio_saveregs[2]);
  24844. write_radio_reg(pi,
  24845. RADIO_2056_TX_TXSPARE2 |
  24846. RADIO_2056_TX1,
  24847. pi->
  24848. tx_rx_cal_radio_saveregs[3]);
  24849. }
  24850. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24851. if (pi->pubpi.radiorev >= 5)
  24852. write_radio_reg(
  24853. pi,
  24854. RADIO_2056_RX_LNAA_MASTER
  24855. | RADIO_2056_RX0,
  24856. pi->
  24857. tx_rx_cal_radio_saveregs
  24858. [4]);
  24859. else
  24860. write_radio_reg(
  24861. pi,
  24862. RADIO_2056_RX_LNAA_TUNE
  24863. | RADIO_2056_RX0,
  24864. pi->
  24865. tx_rx_cal_radio_saveregs
  24866. [4]);
  24867. } else {
  24868. if (pi->pubpi.radiorev >= 5)
  24869. write_radio_reg(
  24870. pi,
  24871. RADIO_2056_RX_LNAG_MASTER
  24872. | RADIO_2056_RX0,
  24873. pi->
  24874. tx_rx_cal_radio_saveregs
  24875. [4]);
  24876. else
  24877. write_radio_reg(
  24878. pi,
  24879. RADIO_2056_RX_LNAG_TUNE
  24880. | RADIO_2056_RX0,
  24881. pi->
  24882. tx_rx_cal_radio_saveregs
  24883. [4]);
  24884. }
  24885. } else {
  24886. write_radio_reg(pi,
  24887. RADIO_2056_TX_RXIQCAL_TXMUX |
  24888. RADIO_2056_TX0,
  24889. pi->tx_rx_cal_radio_saveregs[0]);
  24890. write_radio_reg(pi,
  24891. RADIO_2056_RX_RXIQCAL_RXMUX |
  24892. RADIO_2056_RX1,
  24893. pi->tx_rx_cal_radio_saveregs[1]);
  24894. if (pi->pubpi.radiorev >= 5) {
  24895. write_radio_reg(pi,
  24896. RADIO_2056_RX_RXSPARE2 |
  24897. RADIO_2056_RX1,
  24898. pi->
  24899. tx_rx_cal_radio_saveregs[2]);
  24900. write_radio_reg(pi,
  24901. RADIO_2056_TX_TXSPARE2 |
  24902. RADIO_2056_TX0,
  24903. pi->
  24904. tx_rx_cal_radio_saveregs[3]);
  24905. }
  24906. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24907. if (pi->pubpi.radiorev >= 5)
  24908. write_radio_reg(
  24909. pi,
  24910. RADIO_2056_RX_LNAA_MASTER
  24911. | RADIO_2056_RX1,
  24912. pi->
  24913. tx_rx_cal_radio_saveregs
  24914. [4]);
  24915. else
  24916. write_radio_reg(
  24917. pi,
  24918. RADIO_2056_RX_LNAA_TUNE
  24919. | RADIO_2056_RX1,
  24920. pi->
  24921. tx_rx_cal_radio_saveregs
  24922. [4]);
  24923. } else {
  24924. if (pi->pubpi.radiorev >= 5)
  24925. write_radio_reg(
  24926. pi,
  24927. RADIO_2056_RX_LNAG_MASTER
  24928. | RADIO_2056_RX1,
  24929. pi->
  24930. tx_rx_cal_radio_saveregs
  24931. [4]);
  24932. else
  24933. write_radio_reg(
  24934. pi,
  24935. RADIO_2056_RX_LNAG_TUNE
  24936. | RADIO_2056_RX1,
  24937. pi->
  24938. tx_rx_cal_radio_saveregs
  24939. [4]);
  24940. }
  24941. }
  24942. }
  24943. }
  24944. static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core)
  24945. {
  24946. u8 tx_core;
  24947. u16 rx_antval, tx_antval;
  24948. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24949. tx_core = rx_core;
  24950. else
  24951. tx_core = (rx_core == PHY_CORE_0) ? 1 : 0;
  24952. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa2);
  24953. pi->tx_rx_cal_phy_saveregs[1] =
  24954. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7);
  24955. pi->tx_rx_cal_phy_saveregs[2] =
  24956. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5);
  24957. pi->tx_rx_cal_phy_saveregs[3] = read_phy_reg(pi, 0x91);
  24958. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x92);
  24959. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x7a);
  24960. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x7d);
  24961. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0xe7);
  24962. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0xec);
  24963. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24964. pi->tx_rx_cal_phy_saveregs[11] = read_phy_reg(pi, 0x342);
  24965. pi->tx_rx_cal_phy_saveregs[12] = read_phy_reg(pi, 0x343);
  24966. pi->tx_rx_cal_phy_saveregs[13] = read_phy_reg(pi, 0x346);
  24967. pi->tx_rx_cal_phy_saveregs[14] = read_phy_reg(pi, 0x347);
  24968. }
  24969. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  24970. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  24971. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  24972. 0x29b, (0x1 << 0), (0) << 0);
  24973. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  24974. 0x29b, (0x1 << 0), (0) << 0);
  24975. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24976. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24977. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << (1 - rx_core)) << 12);
  24978. } else {
  24979. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  24980. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24981. mod_phy_reg(pi, 0xa2, (0xf << 4), (1 << rx_core) << 4);
  24982. mod_phy_reg(pi, 0xa2, (0xf << 8), (1 << rx_core) << 8);
  24983. }
  24984. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7), (0x1 << 2), 0);
  24985. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24986. (0x1 << 2), (0x1 << 2));
  24987. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  24988. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  24989. (0x1 << 0) | (0x1 << 1), 0);
  24990. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  24991. 0x8f : 0xa5,
  24992. (0x1 << 0) | (0x1 << 1), (0x1 << 0) | (0x1 << 1));
  24993. }
  24994. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 0,
  24995. RADIO_MIMO_CORESEL_CORE1 |
  24996. RADIO_MIMO_CORESEL_CORE2);
  24997. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24998. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  24999. 0, 0, 0,
  25000. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  25001. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 0, 0, 0,
  25002. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25003. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 1, 0, 0,
  25004. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25005. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 1, 0, 0,
  25006. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25007. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0, 0,
  25008. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  25009. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0, 0,
  25010. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25011. if (CHSPEC_IS40(pi->radio_chanspec))
  25012. wlc_phy_rfctrl_override_nphy_rev7(
  25013. pi,
  25014. (0x1 << 7),
  25015. 2, 0, 0,
  25016. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25017. else
  25018. wlc_phy_rfctrl_override_nphy_rev7(
  25019. pi,
  25020. (0x1 << 7),
  25021. 0, 0, 0,
  25022. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25023. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  25024. 0, 0, 0,
  25025. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25026. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0, 0,
  25027. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25028. } else {
  25029. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 3, 0);
  25030. }
  25031. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  25032. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25033. wlc_phy_rfctrlintc_override_nphy(pi,
  25034. NPHY_RfctrlIntc_override_TRSW,
  25035. 0x1, rx_core + 1);
  25036. } else {
  25037. if (rx_core == PHY_CORE_0) {
  25038. rx_antval = 0x1;
  25039. tx_antval = 0x8;
  25040. } else {
  25041. rx_antval = 0x4;
  25042. tx_antval = 0x2;
  25043. }
  25044. wlc_phy_rfctrlintc_override_nphy(pi,
  25045. NPHY_RfctrlIntc_override_TRSW,
  25046. rx_antval, rx_core + 1);
  25047. wlc_phy_rfctrlintc_override_nphy(pi,
  25048. NPHY_RfctrlIntc_override_TRSW,
  25049. tx_antval, tx_core + 1);
  25050. }
  25051. }
  25052. static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  25053. {
  25054. write_phy_reg(pi, 0xa2, pi->tx_rx_cal_phy_saveregs[0]);
  25055. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7,
  25056. pi->tx_rx_cal_phy_saveregs[1]);
  25057. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  25058. pi->tx_rx_cal_phy_saveregs[2]);
  25059. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[3]);
  25060. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[4]);
  25061. write_phy_reg(pi, 0x7a, pi->tx_rx_cal_phy_saveregs[5]);
  25062. write_phy_reg(pi, 0x7d, pi->tx_rx_cal_phy_saveregs[6]);
  25063. write_phy_reg(pi, 0xe7, pi->tx_rx_cal_phy_saveregs[7]);
  25064. write_phy_reg(pi, 0xec, pi->tx_rx_cal_phy_saveregs[8]);
  25065. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25066. write_phy_reg(pi, 0x342, pi->tx_rx_cal_phy_saveregs[11]);
  25067. write_phy_reg(pi, 0x343, pi->tx_rx_cal_phy_saveregs[12]);
  25068. write_phy_reg(pi, 0x346, pi->tx_rx_cal_phy_saveregs[13]);
  25069. write_phy_reg(pi, 0x347, pi->tx_rx_cal_phy_saveregs[14]);
  25070. }
  25071. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  25072. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  25073. }
  25074. static void
  25075. wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
  25076. u16 *rxgain, u8 cal_type)
  25077. {
  25078. u16 num_samps;
  25079. struct phy_iq_est est[PHY_CORE_MAX];
  25080. u8 tx_core;
  25081. struct nphy_iq_comp save_comp, zero_comp;
  25082. u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0,
  25083. thresh_pwr = 10000;
  25084. s16 desired_log2_pwr, actual_log2_pwr, delta_pwr;
  25085. bool gainctrl_done = false;
  25086. u8 mix_tia_gain = 3;
  25087. s8 optim_gaintbl_index = 0, prev_gaintbl_index = 0;
  25088. s8 curr_gaintbl_index = 3;
  25089. u8 gainctrl_dirn = NPHY_RXCAL_GAIN_INIT;
  25090. const struct nphy_ipa_txrxgain *nphy_rxcal_gaintbl;
  25091. u16 hpvga, lpf_biq1, lpf_biq0, lna2, lna1;
  25092. int fine_gain_idx;
  25093. s8 txpwrindex;
  25094. u16 nphy_rxcal_txgain[2];
  25095. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25096. tx_core = rx_core;
  25097. else
  25098. tx_core = 1 - rx_core;
  25099. num_samps = 1024;
  25100. desired_log2_pwr = (cal_type == 0) ? 13 : 13;
  25101. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
  25102. zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;
  25103. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &zero_comp);
  25104. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25105. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25106. mix_tia_gain = 3;
  25107. else if (NREV_GE(pi->pubpi.phy_rev, 4))
  25108. mix_tia_gain = 4;
  25109. else
  25110. mix_tia_gain = 6;
  25111. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25112. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz_rev7;
  25113. else
  25114. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz;
  25115. } else {
  25116. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25117. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz_rev7;
  25118. else
  25119. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz;
  25120. }
  25121. do {
  25122. hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ?
  25123. 0 : nphy_rxcal_gaintbl[curr_gaintbl_index].hpvga;
  25124. lpf_biq1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq1;
  25125. lpf_biq0 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq0;
  25126. lna2 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna2;
  25127. lna1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna1;
  25128. txpwrindex = nphy_rxcal_gaintbl[curr_gaintbl_index].txpwrindex;
  25129. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25130. wlc_phy_rfctrl_override_1tomany_nphy(
  25131. pi,
  25132. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25133. ((lpf_biq1 << 12) |
  25134. (lpf_biq0 << 8) |
  25135. (mix_tia_gain << 4) | (lna2 << 2)
  25136. | lna1), 0x3, 0);
  25137. else
  25138. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25139. ((hpvga << 12) |
  25140. (lpf_biq1 << 10) |
  25141. (lpf_biq0 << 8) |
  25142. (mix_tia_gain << 4) |
  25143. (lna2 << 2) | lna1), 0x3,
  25144. 0);
  25145. pi->nphy_rxcal_pwr_idx[tx_core] = txpwrindex;
  25146. if (txpwrindex == -1) {
  25147. nphy_rxcal_txgain[0] = 0x8ff0 | pi->nphy_gmval;
  25148. nphy_rxcal_txgain[1] = 0x8ff0 | pi->nphy_gmval;
  25149. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  25150. 2, 0x110, 16,
  25151. nphy_rxcal_txgain);
  25152. } else {
  25153. wlc_phy_txpwr_index_nphy(pi, tx_core + 1, txpwrindex,
  25154. false);
  25155. }
  25156. wlc_phy_tx_tone_nphy(pi, (CHSPEC_IS40(pi->radio_chanspec)) ?
  25157. NPHY_RXCAL_TONEFREQ_40MHz :
  25158. NPHY_RXCAL_TONEFREQ_20MHz,
  25159. NPHY_RXCAL_TONEAMP, 0, cal_type, false);
  25160. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25161. i_pwr = (est[rx_core].i_pwr + num_samps / 2) / num_samps;
  25162. q_pwr = (est[rx_core].q_pwr + num_samps / 2) / num_samps;
  25163. curr_pwr = i_pwr + q_pwr;
  25164. switch (gainctrl_dirn) {
  25165. case NPHY_RXCAL_GAIN_INIT:
  25166. if (curr_pwr > thresh_pwr) {
  25167. gainctrl_dirn = NPHY_RXCAL_GAIN_DOWN;
  25168. prev_gaintbl_index = curr_gaintbl_index;
  25169. curr_gaintbl_index--;
  25170. } else {
  25171. gainctrl_dirn = NPHY_RXCAL_GAIN_UP;
  25172. prev_gaintbl_index = curr_gaintbl_index;
  25173. curr_gaintbl_index++;
  25174. }
  25175. break;
  25176. case NPHY_RXCAL_GAIN_UP:
  25177. if (curr_pwr > thresh_pwr) {
  25178. gainctrl_done = true;
  25179. optim_pwr = prev_pwr;
  25180. optim_gaintbl_index = prev_gaintbl_index;
  25181. } else {
  25182. prev_gaintbl_index = curr_gaintbl_index;
  25183. curr_gaintbl_index++;
  25184. }
  25185. break;
  25186. case NPHY_RXCAL_GAIN_DOWN:
  25187. if (curr_pwr > thresh_pwr) {
  25188. prev_gaintbl_index = curr_gaintbl_index;
  25189. curr_gaintbl_index--;
  25190. } else {
  25191. gainctrl_done = true;
  25192. optim_pwr = curr_pwr;
  25193. optim_gaintbl_index = curr_gaintbl_index;
  25194. }
  25195. break;
  25196. default:
  25197. break;
  25198. }
  25199. if ((curr_gaintbl_index < 0) ||
  25200. (curr_gaintbl_index > NPHY_IPA_RXCAL_MAXGAININDEX)) {
  25201. gainctrl_done = true;
  25202. optim_pwr = curr_pwr;
  25203. optim_gaintbl_index = prev_gaintbl_index;
  25204. } else {
  25205. prev_pwr = curr_pwr;
  25206. }
  25207. wlc_phy_stopplayback_nphy(pi);
  25208. } while (!gainctrl_done);
  25209. hpvga = nphy_rxcal_gaintbl[optim_gaintbl_index].hpvga;
  25210. lpf_biq1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq1;
  25211. lpf_biq0 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq0;
  25212. lna2 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna2;
  25213. lna1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna1;
  25214. txpwrindex = nphy_rxcal_gaintbl[optim_gaintbl_index].txpwrindex;
  25215. actual_log2_pwr = wlc_phy_nbits(optim_pwr);
  25216. delta_pwr = desired_log2_pwr - actual_log2_pwr;
  25217. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25218. fine_gain_idx = (int)lpf_biq1 + delta_pwr;
  25219. if (fine_gain_idx + (int)lpf_biq0 > 10)
  25220. lpf_biq1 = 10 - lpf_biq0;
  25221. else
  25222. lpf_biq1 = (u16) max(fine_gain_idx, 0);
  25223. wlc_phy_rfctrl_override_1tomany_nphy(
  25224. pi,
  25225. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25226. ((lpf_biq1 << 12) |
  25227. (lpf_biq0 << 8) |
  25228. (mix_tia_gain << 4) |
  25229. (lna2 << 2) | lna1), 0x3,
  25230. 0);
  25231. } else {
  25232. hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
  25233. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25234. ((hpvga << 12) |
  25235. (lpf_biq1 << 10) |
  25236. (lpf_biq0 << 8) |
  25237. (mix_tia_gain << 4) |
  25238. (lna2 << 2) |
  25239. lna1), 0x3, 0);
  25240. }
  25241. if (rxgain != NULL) {
  25242. *rxgain++ = lna1;
  25243. *rxgain++ = lna2;
  25244. *rxgain++ = mix_tia_gain;
  25245. *rxgain++ = lpf_biq0;
  25246. *rxgain++ = lpf_biq1;
  25247. *rxgain = hpvga;
  25248. }
  25249. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &save_comp);
  25250. }
  25251. static void
  25252. wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain,
  25253. u8 cal_type)
  25254. {
  25255. wlc_phy_rxcal_gainctrl_nphy_rev5(pi, rx_core, rxgain, cal_type);
  25256. }
  25257. static u8
  25258. wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type)
  25259. {
  25260. u32 target_bws[2] = { 9500, 21000 };
  25261. u32 ref_tones[2] = { 3000, 6000 };
  25262. u32 target_bw, ref_tone;
  25263. u32 target_pwr_ratios[2] = { 28606, 18468 };
  25264. u32 target_pwr_ratio, pwr_ratio, last_pwr_ratio = 0;
  25265. u16 start_rccal_ovr_val = 128;
  25266. u16 txlpf_rccal_lpc_ovr_val = 128;
  25267. u16 rxlpf_rccal_hpc_ovr_val = 159;
  25268. u16 orig_txlpf_rccal_lpc_ovr_val;
  25269. u16 orig_rxlpf_rccal_hpc_ovr_val;
  25270. u16 radio_addr_offset_rx;
  25271. u16 radio_addr_offset_tx;
  25272. u16 orig_dcBypass;
  25273. u16 orig_RxStrnFilt40Num[6];
  25274. u16 orig_RxStrnFilt40Den[4];
  25275. u16 orig_rfctrloverride[2];
  25276. u16 orig_rfctrlauxreg[2];
  25277. u16 orig_rfctrlrssiothers;
  25278. u16 tx_lpf_bw = 4;
  25279. u16 rx_lpf_bw, rx_lpf_bws[2] = { 2, 4 };
  25280. u16 lpf_hpc = 7, hpvga_hpc = 7;
  25281. s8 rccal_stepsize;
  25282. u16 rccal_val, last_rccal_val = 0, best_rccal_val = 0;
  25283. u32 ref_iq_vals = 0, target_iq_vals = 0;
  25284. u16 num_samps, log_num_samps = 10;
  25285. struct phy_iq_est est[PHY_CORE_MAX];
  25286. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25287. return 0;
  25288. num_samps = (1 << log_num_samps);
  25289. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25290. target_bw = target_bws[1];
  25291. target_pwr_ratio = target_pwr_ratios[1];
  25292. ref_tone = ref_tones[1];
  25293. rx_lpf_bw = rx_lpf_bws[1];
  25294. } else {
  25295. target_bw = target_bws[0];
  25296. target_pwr_ratio = target_pwr_ratios[0];
  25297. ref_tone = ref_tones[0];
  25298. rx_lpf_bw = rx_lpf_bws[0];
  25299. }
  25300. if (core_idx == 0) {
  25301. radio_addr_offset_rx = RADIO_2056_RX0;
  25302. radio_addr_offset_tx =
  25303. (loopback_type == 0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  25304. } else {
  25305. radio_addr_offset_rx = RADIO_2056_RX1;
  25306. radio_addr_offset_tx =
  25307. (loopback_type == 0) ? RADIO_2056_TX1 : RADIO_2056_TX0;
  25308. }
  25309. orig_txlpf_rccal_lpc_ovr_val =
  25310. read_radio_reg(pi,
  25311. (RADIO_2056_TX_TXLPF_RCCAL |
  25312. radio_addr_offset_tx));
  25313. orig_rxlpf_rccal_hpc_ovr_val =
  25314. read_radio_reg(pi,
  25315. (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25316. radio_addr_offset_rx));
  25317. orig_dcBypass = ((read_phy_reg(pi, 0x48) >> 8) & 1);
  25318. orig_RxStrnFilt40Num[0] = read_phy_reg(pi, 0x267);
  25319. orig_RxStrnFilt40Num[1] = read_phy_reg(pi, 0x268);
  25320. orig_RxStrnFilt40Num[2] = read_phy_reg(pi, 0x269);
  25321. orig_RxStrnFilt40Den[0] = read_phy_reg(pi, 0x26a);
  25322. orig_RxStrnFilt40Den[1] = read_phy_reg(pi, 0x26b);
  25323. orig_RxStrnFilt40Num[3] = read_phy_reg(pi, 0x26c);
  25324. orig_RxStrnFilt40Num[4] = read_phy_reg(pi, 0x26d);
  25325. orig_RxStrnFilt40Num[5] = read_phy_reg(pi, 0x26e);
  25326. orig_RxStrnFilt40Den[2] = read_phy_reg(pi, 0x26f);
  25327. orig_RxStrnFilt40Den[3] = read_phy_reg(pi, 0x270);
  25328. orig_rfctrloverride[0] = read_phy_reg(pi, 0xe7);
  25329. orig_rfctrloverride[1] = read_phy_reg(pi, 0xec);
  25330. orig_rfctrlauxreg[0] = read_phy_reg(pi, 0xf8);
  25331. orig_rfctrlauxreg[1] = read_phy_reg(pi, 0xfa);
  25332. orig_rfctrlrssiothers = read_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d);
  25333. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25334. txlpf_rccal_lpc_ovr_val);
  25335. write_radio_reg(pi,
  25336. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25337. rxlpf_rccal_hpc_ovr_val);
  25338. mod_phy_reg(pi, 0x48, (0x1 << 8), (0x1 << 8));
  25339. write_phy_reg(pi, 0x267, 0x02d4);
  25340. write_phy_reg(pi, 0x268, 0x0000);
  25341. write_phy_reg(pi, 0x269, 0x0000);
  25342. write_phy_reg(pi, 0x26a, 0x0000);
  25343. write_phy_reg(pi, 0x26b, 0x0000);
  25344. write_phy_reg(pi, 0x26c, 0x02d4);
  25345. write_phy_reg(pi, 0x26d, 0x0000);
  25346. write_phy_reg(pi, 0x26e, 0x0000);
  25347. write_phy_reg(pi, 0x26f, 0x0000);
  25348. write_phy_reg(pi, 0x270, 0x0000);
  25349. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 8));
  25350. or_phy_reg(pi, (core_idx == 0) ? 0xec : 0xe7, (0x1 << 15));
  25351. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 9));
  25352. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 10));
  25353. mod_phy_reg(pi, (core_idx == 0) ? 0xfa : 0xf8,
  25354. (0x7 << 10), (tx_lpf_bw << 10));
  25355. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25356. (0x7 << 0), (hpvga_hpc << 0));
  25357. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25358. (0x7 << 4), (lpf_hpc << 4));
  25359. mod_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d,
  25360. (0x7 << 8), (rx_lpf_bw << 8));
  25361. rccal_stepsize = 16;
  25362. rccal_val = start_rccal_ovr_val + rccal_stepsize;
  25363. while (rccal_stepsize >= 0) {
  25364. write_radio_reg(pi,
  25365. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25366. radio_addr_offset_rx), rccal_val);
  25367. if (rccal_stepsize == 16) {
  25368. wlc_phy_tx_tone_nphy(pi, ref_tone, NPHY_RXCAL_TONEAMP,
  25369. 0, 1, false);
  25370. udelay(2);
  25371. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25372. if (core_idx == 0)
  25373. ref_iq_vals =
  25374. max_t(u32, (est[0].i_pwr +
  25375. est[0].q_pwr) >>
  25376. (log_num_samps + 1),
  25377. 1);
  25378. else
  25379. ref_iq_vals =
  25380. max_t(u32, (est[1].i_pwr +
  25381. est[1].q_pwr) >>
  25382. (log_num_samps + 1),
  25383. 1);
  25384. wlc_phy_tx_tone_nphy(pi, target_bw, NPHY_RXCAL_TONEAMP,
  25385. 0, 1, false);
  25386. udelay(2);
  25387. }
  25388. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25389. if (core_idx == 0)
  25390. target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >>
  25391. (log_num_samps + 1);
  25392. else
  25393. target_iq_vals =
  25394. (est[1].i_pwr +
  25395. est[1].q_pwr) >> (log_num_samps + 1);
  25396. pwr_ratio = (uint) ((target_iq_vals << 16) / ref_iq_vals);
  25397. if (rccal_stepsize == 0)
  25398. rccal_stepsize--;
  25399. else if (rccal_stepsize == 1) {
  25400. last_rccal_val = rccal_val;
  25401. rccal_val += (pwr_ratio > target_pwr_ratio) ? 1 : -1;
  25402. last_pwr_ratio = pwr_ratio;
  25403. rccal_stepsize--;
  25404. } else {
  25405. rccal_stepsize = (rccal_stepsize >> 1);
  25406. rccal_val += ((pwr_ratio > target_pwr_ratio) ?
  25407. rccal_stepsize : (-rccal_stepsize));
  25408. }
  25409. if (rccal_stepsize == -1) {
  25410. best_rccal_val =
  25411. (abs((int)last_pwr_ratio -
  25412. (int)target_pwr_ratio) <
  25413. abs((int)pwr_ratio -
  25414. (int)target_pwr_ratio)) ? last_rccal_val :
  25415. rccal_val;
  25416. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25417. if ((best_rccal_val > 140)
  25418. || (best_rccal_val < 135))
  25419. best_rccal_val = 138;
  25420. } else {
  25421. if ((best_rccal_val > 142)
  25422. || (best_rccal_val < 137))
  25423. best_rccal_val = 140;
  25424. }
  25425. write_radio_reg(pi,
  25426. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25427. radio_addr_offset_rx), best_rccal_val);
  25428. }
  25429. }
  25430. wlc_phy_stopplayback_nphy(pi);
  25431. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25432. orig_txlpf_rccal_lpc_ovr_val);
  25433. write_radio_reg(pi,
  25434. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25435. orig_rxlpf_rccal_hpc_ovr_val);
  25436. mod_phy_reg(pi, 0x48, (0x1 << 8), (orig_dcBypass << 8));
  25437. write_phy_reg(pi, 0x267, orig_RxStrnFilt40Num[0]);
  25438. write_phy_reg(pi, 0x268, orig_RxStrnFilt40Num[1]);
  25439. write_phy_reg(pi, 0x269, orig_RxStrnFilt40Num[2]);
  25440. write_phy_reg(pi, 0x26a, orig_RxStrnFilt40Den[0]);
  25441. write_phy_reg(pi, 0x26b, orig_RxStrnFilt40Den[1]);
  25442. write_phy_reg(pi, 0x26c, orig_RxStrnFilt40Num[3]);
  25443. write_phy_reg(pi, 0x26d, orig_RxStrnFilt40Num[4]);
  25444. write_phy_reg(pi, 0x26e, orig_RxStrnFilt40Num[5]);
  25445. write_phy_reg(pi, 0x26f, orig_RxStrnFilt40Den[2]);
  25446. write_phy_reg(pi, 0x270, orig_RxStrnFilt40Den[3]);
  25447. write_phy_reg(pi, 0xe7, orig_rfctrloverride[0]);
  25448. write_phy_reg(pi, 0xec, orig_rfctrloverride[1]);
  25449. write_phy_reg(pi, 0xf8, orig_rfctrlauxreg[0]);
  25450. write_phy_reg(pi, 0xfa, orig_rfctrlauxreg[1]);
  25451. write_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d, orig_rfctrlrssiothers);
  25452. pi->nphy_anarxlpf_adjusted = false;
  25453. return best_rccal_val - 0x80;
  25454. }
  25455. #define WAIT_FOR_SCOPE 4000
  25456. static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi,
  25457. struct nphy_txgains target_gain,
  25458. u8 cal_type, bool debug)
  25459. {
  25460. u16 orig_BBConfig;
  25461. u8 core_no, rx_core;
  25462. u8 best_rccal[2];
  25463. u16 gain_save[2];
  25464. u16 cal_gain[2];
  25465. struct nphy_iqcal_params cal_params[2];
  25466. u8 rxcore_state;
  25467. s8 rxlpf_rccal_hpc, txlpf_rccal_lpc;
  25468. s8 txlpf_idac;
  25469. bool phyhang_avoid_state = false;
  25470. bool skip_rxiqcal = false;
  25471. orig_BBConfig = read_phy_reg(pi, 0x01);
  25472. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  25473. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25474. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  25475. phyhang_avoid_state = pi->phyhang_avoid;
  25476. pi->phyhang_avoid = false;
  25477. }
  25478. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25479. for (core_no = 0; core_no <= 1; core_no++) {
  25480. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25481. &cal_params[core_no]);
  25482. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25483. }
  25484. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25485. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  25486. (struct brcms_phy_pub *) pi);
  25487. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25488. skip_rxiqcal =
  25489. ((rxcore_state & (1 << rx_core)) == 0) ? true : false;
  25490. wlc_phy_rxcal_physetup_nphy(pi, rx_core);
  25491. wlc_phy_rxcal_radio_setup_nphy(pi, rx_core);
  25492. if ((!skip_rxiqcal) && ((cal_type == 0) || (cal_type == 2))) {
  25493. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL, 0);
  25494. wlc_phy_tx_tone_nphy(pi,
  25495. (CHSPEC_IS40(
  25496. pi->radio_chanspec)) ?
  25497. NPHY_RXCAL_TONEFREQ_40MHz :
  25498. NPHY_RXCAL_TONEFREQ_20MHz,
  25499. NPHY_RXCAL_TONEAMP, 0, cal_type,
  25500. false);
  25501. if (debug)
  25502. mdelay(WAIT_FOR_SCOPE);
  25503. wlc_phy_calc_rx_iq_comp_nphy(pi, rx_core + 1);
  25504. wlc_phy_stopplayback_nphy(pi);
  25505. }
  25506. if (((cal_type == 1) || (cal_type == 2))
  25507. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  25508. if (rx_core == PHY_CORE_1) {
  25509. if (rxcore_state == 1)
  25510. wlc_phy_rxcore_setstate_nphy(
  25511. (struct brcms_phy_pub *) pi, 3);
  25512. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL,
  25513. 1);
  25514. best_rccal[rx_core] =
  25515. wlc_phy_rc_sweep_nphy(pi, rx_core, 1);
  25516. pi->nphy_rccal_value = best_rccal[rx_core];
  25517. if (rxcore_state == 1)
  25518. wlc_phy_rxcore_setstate_nphy(
  25519. (struct brcms_phy_pub *) pi,
  25520. rxcore_state);
  25521. }
  25522. }
  25523. wlc_phy_rxcal_radio_cleanup_nphy(pi, rx_core);
  25524. wlc_phy_rxcal_phycleanup_nphy(pi, rx_core);
  25525. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25526. }
  25527. if ((cal_type == 1) || (cal_type == 2)) {
  25528. best_rccal[0] = best_rccal[1];
  25529. write_radio_reg(pi,
  25530. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25531. RADIO_2056_RX0), (best_rccal[0] | 0x80));
  25532. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25533. rxlpf_rccal_hpc =
  25534. (((int)best_rccal[rx_core] - 12) >> 1) + 10;
  25535. txlpf_rccal_lpc = ((int)best_rccal[rx_core] - 12) + 10;
  25536. if (PHY_IPA(pi)) {
  25537. txlpf_rccal_lpc +=
  25538. (pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
  25539. txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
  25540. 0x0e : 0x13;
  25541. WRITE_RADIO_REG2(pi, RADIO_2056, TX, rx_core,
  25542. TXLPF_IDAC_4, txlpf_idac);
  25543. }
  25544. rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
  25545. 0);
  25546. txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
  25547. 0);
  25548. write_radio_reg(pi, (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25549. ((rx_core ==
  25550. PHY_CORE_0) ? RADIO_2056_RX0 :
  25551. RADIO_2056_RX1)),
  25552. (rxlpf_rccal_hpc | 0x80));
  25553. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL |
  25554. ((rx_core ==
  25555. PHY_CORE_0) ? RADIO_2056_TX0 :
  25556. RADIO_2056_TX1)),
  25557. (txlpf_rccal_lpc | 0x80));
  25558. }
  25559. }
  25560. write_phy_reg(pi, 0x01, orig_BBConfig);
  25561. wlc_phy_resetcca_nphy(pi);
  25562. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25563. wlc_phy_rfctrl_override_1tomany_nphy(
  25564. pi,
  25565. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25566. 0, 0x3, 1);
  25567. else
  25568. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  25569. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25570. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25571. gain_save);
  25572. if (NREV_GE(pi->pubpi.phy_rev, 4))
  25573. pi->phyhang_avoid = phyhang_avoid_state;
  25574. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25575. return 0;
  25576. }
  25577. static int
  25578. wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi,
  25579. struct nphy_txgains target_gain, bool debug)
  25580. {
  25581. struct phy_iq_est est[PHY_CORE_MAX];
  25582. u8 core_num, rx_core, tx_core;
  25583. u16 lna_vals[] = { 0x3, 0x3, 0x1 };
  25584. u16 hpf1_vals[] = { 0x7, 0x2, 0x0 };
  25585. u16 hpf2_vals[] = { 0x2, 0x0, 0x0 };
  25586. s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna;
  25587. s16 desired_log2_pwr, actual_log2_pwr, hpf_change;
  25588. u16 orig_RfseqCoreActv, orig_AfectrlCore, orig_AfectrlOverride;
  25589. u16 orig_RfctrlIntcRx, orig_RfctrlIntcTx;
  25590. u16 num_samps;
  25591. u32 i_pwr, q_pwr, tot_pwr[3];
  25592. u8 gain_pass, use_hpf_num;
  25593. u16 mask, val1, val2;
  25594. u16 core_no;
  25595. u16 gain_save[2];
  25596. u16 cal_gain[2];
  25597. struct nphy_iqcal_params cal_params[2];
  25598. u8 phy_bw;
  25599. int bcmerror = 0;
  25600. bool first_playtone = true;
  25601. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25602. if (NREV_LT(pi->pubpi.phy_rev, 2))
  25603. wlc_phy_reapply_txcal_coeffs_nphy(pi);
  25604. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25605. for (core_no = 0; core_no <= 1; core_no++) {
  25606. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25607. &cal_params[core_no]);
  25608. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25609. }
  25610. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25611. num_samps = 1024;
  25612. desired_log2_pwr = 13;
  25613. for (core_num = 0; core_num < 2; core_num++) {
  25614. rx_core = core_num;
  25615. tx_core = 1 - core_num;
  25616. orig_RfseqCoreActv = read_phy_reg(pi, 0xa2);
  25617. orig_AfectrlCore = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25618. 0xa6 : 0xa7);
  25619. orig_AfectrlOverride = read_phy_reg(pi, 0xa5);
  25620. orig_RfctrlIntcRx = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25621. 0x91 : 0x92);
  25622. orig_RfctrlIntcTx = read_phy_reg(pi, (tx_core == PHY_CORE_0) ?
  25623. 0x91 : 0x92);
  25624. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25625. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25626. or_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25627. ((0x1 << 1) | (0x1 << 2)));
  25628. or_phy_reg(pi, 0xa5, ((0x1 << 1) | (0x1 << 2)));
  25629. if (((pi->nphy_rxcalparams) & 0xff000000))
  25630. write_phy_reg(pi,
  25631. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25632. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25633. 0x140 : 0x110));
  25634. else
  25635. write_phy_reg(pi,
  25636. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25637. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25638. 0x180 : 0x120));
  25639. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25640. (CHSPEC_IS5G(pi->radio_chanspec) ? 0x148 :
  25641. 0x114));
  25642. mask = RADIO_2055_COUPLE_RX_MASK | RADIO_2055_COUPLE_TX_MASK;
  25643. if (rx_core == PHY_CORE_0) {
  25644. val1 = RADIO_2055_COUPLE_RX_MASK;
  25645. val2 = RADIO_2055_COUPLE_TX_MASK;
  25646. } else {
  25647. val1 = RADIO_2055_COUPLE_TX_MASK;
  25648. val2 = RADIO_2055_COUPLE_RX_MASK;
  25649. }
  25650. if ((pi->nphy_rxcalparams & 0x10000)) {
  25651. mod_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, mask,
  25652. val1);
  25653. mod_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, mask,
  25654. val2);
  25655. }
  25656. for (gain_pass = 0; gain_pass < 4; gain_pass++) {
  25657. if (debug)
  25658. mdelay(WAIT_FOR_SCOPE);
  25659. if (gain_pass < 3) {
  25660. curr_lna = lna_vals[gain_pass];
  25661. curr_hpf1 = hpf1_vals[gain_pass];
  25662. curr_hpf2 = hpf2_vals[gain_pass];
  25663. } else {
  25664. if (tot_pwr[1] > 10000) {
  25665. curr_lna = lna_vals[2];
  25666. curr_hpf1 = hpf1_vals[2];
  25667. curr_hpf2 = hpf2_vals[2];
  25668. use_hpf_num = 1;
  25669. curr_hpf = curr_hpf1;
  25670. actual_log2_pwr =
  25671. wlc_phy_nbits(tot_pwr[2]);
  25672. } else {
  25673. if (tot_pwr[0] > 10000) {
  25674. curr_lna = lna_vals[1];
  25675. curr_hpf1 = hpf1_vals[1];
  25676. curr_hpf2 = hpf2_vals[1];
  25677. use_hpf_num = 1;
  25678. curr_hpf = curr_hpf1;
  25679. actual_log2_pwr =
  25680. wlc_phy_nbits(
  25681. tot_pwr[1]);
  25682. } else {
  25683. curr_lna = lna_vals[0];
  25684. curr_hpf1 = hpf1_vals[0];
  25685. curr_hpf2 = hpf2_vals[0];
  25686. use_hpf_num = 2;
  25687. curr_hpf = curr_hpf2;
  25688. actual_log2_pwr =
  25689. wlc_phy_nbits(
  25690. tot_pwr[0]);
  25691. }
  25692. }
  25693. hpf_change = desired_log2_pwr - actual_log2_pwr;
  25694. curr_hpf += hpf_change;
  25695. curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
  25696. if (use_hpf_num == 1)
  25697. curr_hpf1 = curr_hpf;
  25698. else
  25699. curr_hpf2 = curr_hpf;
  25700. }
  25701. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10),
  25702. ((curr_hpf2 << 8) |
  25703. (curr_hpf1 << 4) |
  25704. (curr_lna << 2)), 0x3, 0);
  25705. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25706. wlc_phy_stopplayback_nphy(pi);
  25707. if (first_playtone) {
  25708. bcmerror = wlc_phy_tx_tone_nphy(pi, 4000,
  25709. (u16) (pi->nphy_rxcalparams &
  25710. 0xffff), 0, 0, true);
  25711. first_playtone = false;
  25712. } else {
  25713. phy_bw = (CHSPEC_IS40(pi->radio_chanspec)) ?
  25714. 40 : 20;
  25715. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff,
  25716. 0, 0, 0, true);
  25717. }
  25718. if (bcmerror == 0) {
  25719. if (gain_pass < 3) {
  25720. wlc_phy_rx_iq_est_nphy(pi, est,
  25721. num_samps, 32,
  25722. 0);
  25723. i_pwr = (est[rx_core].i_pwr +
  25724. num_samps / 2) / num_samps;
  25725. q_pwr = (est[rx_core].q_pwr +
  25726. num_samps / 2) / num_samps;
  25727. tot_pwr[gain_pass] = i_pwr + q_pwr;
  25728. } else {
  25729. wlc_phy_calc_rx_iq_comp_nphy(pi,
  25730. (1 <<
  25731. rx_core));
  25732. }
  25733. wlc_phy_stopplayback_nphy(pi);
  25734. }
  25735. if (bcmerror != 0)
  25736. break;
  25737. }
  25738. and_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, ~mask);
  25739. and_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, ~mask);
  25740. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 :
  25741. 0x92, orig_RfctrlIntcTx);
  25742. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x91 :
  25743. 0x92, orig_RfctrlIntcRx);
  25744. write_phy_reg(pi, 0xa5, orig_AfectrlOverride);
  25745. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 :
  25746. 0xa7, orig_AfectrlCore);
  25747. write_phy_reg(pi, 0xa2, orig_RfseqCoreActv);
  25748. if (bcmerror != 0)
  25749. break;
  25750. }
  25751. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10), 0, 0x3, 1);
  25752. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25753. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25754. gain_save);
  25755. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25756. return bcmerror;
  25757. }
  25758. int
  25759. wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  25760. u8 cal_type, bool debug)
  25761. {
  25762. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25763. cal_type = 0;
  25764. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25765. return wlc_phy_cal_rxiq_nphy_rev3(pi, target_gain, cal_type,
  25766. debug);
  25767. else
  25768. return wlc_phy_cal_rxiq_nphy_rev2(pi, target_gain, debug);
  25769. }
  25770. void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi)
  25771. {
  25772. uint core;
  25773. u32 txgain;
  25774. u16 rad_gain, dac_gain, bbmult, m1m2;
  25775. u8 txpi[2], chan_freq_range;
  25776. s32 rfpwr_offset;
  25777. if (pi->phyhang_avoid)
  25778. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25779. if (pi->sh->sromrev < 4) {
  25780. txpi[0] = txpi[1] = 72;
  25781. } else {
  25782. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  25783. switch (chan_freq_range) {
  25784. case WL_CHAN_FREQ_RANGE_2G:
  25785. case WL_CHAN_FREQ_RANGE_5GL:
  25786. case WL_CHAN_FREQ_RANGE_5GM:
  25787. case WL_CHAN_FREQ_RANGE_5GH:
  25788. txpi[0] = 0;
  25789. txpi[1] = 0;
  25790. break;
  25791. default:
  25792. txpi[0] = txpi[1] = 91;
  25793. break;
  25794. }
  25795. }
  25796. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25797. txpi[0] = txpi[1] = 30;
  25798. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  25799. txpi[0] = txpi[1] = 40;
  25800. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25801. if ((txpi[0] < 40) || (txpi[0] > 100) ||
  25802. (txpi[1] < 40) || (txpi[1] > 100))
  25803. txpi[0] = txpi[1] = 91;
  25804. }
  25805. pi->nphy_txpwrindex[PHY_CORE_0].index_internal = txpi[0];
  25806. pi->nphy_txpwrindex[PHY_CORE_1].index_internal = txpi[1];
  25807. pi->nphy_txpwrindex[PHY_CORE_0].index_internal_save = txpi[0];
  25808. pi->nphy_txpwrindex[PHY_CORE_1].index_internal_save = txpi[1];
  25809. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  25810. uint phyrev = pi->pubpi.phy_rev;
  25811. if (NREV_GE(phyrev, 3)) {
  25812. if (PHY_IPA(pi)) {
  25813. u32 *tx_gaintbl =
  25814. wlc_phy_get_ipa_gaintbl_nphy(pi);
  25815. txgain = tx_gaintbl[txpi[core]];
  25816. } else {
  25817. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25818. if (NREV_IS(phyrev, 3)) {
  25819. txgain =
  25820. nphy_tpc_5GHz_txgain_rev3
  25821. [txpi[core]];
  25822. } else if (NREV_IS(phyrev, 4)) {
  25823. txgain = (
  25824. pi->srom_fem5g.extpagain ==
  25825. 3) ?
  25826. nphy_tpc_5GHz_txgain_HiPwrEPA
  25827. [txpi[core]] :
  25828. nphy_tpc_5GHz_txgain_rev4
  25829. [txpi[core]];
  25830. } else {
  25831. txgain =
  25832. nphy_tpc_5GHz_txgain_rev5
  25833. [txpi[core]];
  25834. }
  25835. } else {
  25836. if (NREV_GE(phyrev, 5) &&
  25837. (pi->srom_fem2g.extpagain == 3)) {
  25838. txgain =
  25839. nphy_tpc_txgain_HiPwrEPA
  25840. [txpi[core]];
  25841. } else {
  25842. txgain = nphy_tpc_txgain_rev3
  25843. [txpi[core]];
  25844. }
  25845. }
  25846. }
  25847. } else {
  25848. txgain = nphy_tpc_txgain[txpi[core]];
  25849. }
  25850. if (NREV_GE(phyrev, 3))
  25851. rad_gain = (txgain >> 16) & ((1 << (32 - 16 + 1)) - 1);
  25852. else
  25853. rad_gain = (txgain >> 16) & ((1 << (28 - 16 + 1)) - 1);
  25854. if (NREV_GE(phyrev, 7))
  25855. dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1);
  25856. else
  25857. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  25858. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  25859. if (NREV_GE(phyrev, 3))
  25860. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  25861. 0xa5), (0x1 << 8), (0x1 << 8));
  25862. else
  25863. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  25864. write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain);
  25865. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  25866. &rad_gain);
  25867. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  25868. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  25869. m1m2 |= ((core == PHY_CORE_0) ? (bbmult << 8) : (bbmult << 0));
  25870. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  25871. if (PHY_IPA(pi)) {
  25872. wlc_phy_table_read_nphy(pi,
  25873. (core ==
  25874. PHY_CORE_0 ?
  25875. NPHY_TBL_ID_CORE1TXPWRCTL :
  25876. NPHY_TBL_ID_CORE2TXPWRCTL), 1,
  25877. 576 + txpi[core], 32,
  25878. &rfpwr_offset);
  25879. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25880. 0x29b, (0x1ff << 4),
  25881. ((s16) rfpwr_offset) << 4);
  25882. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25883. 0x29b, (0x1 << 2), (1) << 2);
  25884. }
  25885. }
  25886. and_phy_reg(pi, 0xbf, (u16) (~(0x1f << 0)));
  25887. if (pi->phyhang_avoid)
  25888. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25889. }
  25890. static void
  25891. wlc_phy_txpwr_nphy_srom_convert(u8 *srom_max, u16 *pwr_offset,
  25892. u8 tmp_max_pwr, u8 rate_start,
  25893. u8 rate_end)
  25894. {
  25895. u8 rate;
  25896. u8 word_num, nibble_num;
  25897. u8 tmp_nibble;
  25898. for (rate = rate_start; rate <= rate_end; rate++) {
  25899. word_num = (rate - rate_start) >> 2;
  25900. nibble_num = (rate - rate_start) & 0x3;
  25901. tmp_nibble = (pwr_offset[word_num] >> 4 * nibble_num) & 0xf;
  25902. srom_max[rate] = tmp_max_pwr - 2 * tmp_nibble;
  25903. }
  25904. }
  25905. static void
  25906. wlc_phy_txpwr_nphy_po_apply(u8 *srom_max, u8 pwr_offset,
  25907. u8 rate_start, u8 rate_end)
  25908. {
  25909. u8 rate;
  25910. for (rate = rate_start; rate <= rate_end; rate++)
  25911. srom_max[rate] -= 2 * pwr_offset;
  25912. }
  25913. void
  25914. wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start,
  25915. u8 rate_mcs_end, u8 rate_ofdm_start)
  25916. {
  25917. u8 rate1, rate2;
  25918. rate2 = rate_ofdm_start;
  25919. for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) {
  25920. power[rate1] = power[rate2];
  25921. rate2 += (rate1 == rate_mcs_start) ? 2 : 1;
  25922. }
  25923. power[rate_mcs_end] = power[rate_mcs_end - 1];
  25924. }
  25925. void
  25926. wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start,
  25927. u8 rate_ofdm_end, u8 rate_mcs_start)
  25928. {
  25929. u8 rate1, rate2;
  25930. for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start;
  25931. rate1 <= rate_ofdm_end; rate1++, rate2++) {
  25932. power[rate1] = power[rate2];
  25933. if (rate1 == rate_ofdm_start)
  25934. power[++rate1] = power[rate2];
  25935. }
  25936. }
  25937. void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi)
  25938. {
  25939. uint rate1, rate2, band_num;
  25940. u8 tmp_bw40po = 0, tmp_cddpo = 0, tmp_stbcpo = 0;
  25941. u8 tmp_max_pwr = 0;
  25942. u16 pwr_offsets1[2], *pwr_offsets2 = NULL;
  25943. u8 *tx_srom_max_rate = NULL;
  25944. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  25945. band_num++) {
  25946. switch (band_num) {
  25947. case 0:
  25948. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g,
  25949. pi->nphy_pwrctrl_info[1].max_pwr_2g);
  25950. pwr_offsets1[0] = pi->cck2gpo;
  25951. wlc_phy_txpwr_nphy_srom_convert(pi->tx_srom_max_rate_2g,
  25952. pwr_offsets1,
  25953. tmp_max_pwr,
  25954. TXP_FIRST_CCK,
  25955. TXP_LAST_CCK);
  25956. pwr_offsets1[0] = (u16) (pi->ofdm2gpo & 0xffff);
  25957. pwr_offsets1[1] =
  25958. (u16) (pi->ofdm2gpo >> 16) & 0xffff;
  25959. pwr_offsets2 = pi->mcs2gpo;
  25960. tmp_cddpo = pi->cdd2gpo;
  25961. tmp_stbcpo = pi->stbc2gpo;
  25962. tmp_bw40po = pi->bw402gpo;
  25963. tx_srom_max_rate = pi->tx_srom_max_rate_2g;
  25964. break;
  25965. case 1:
  25966. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm,
  25967. pi->nphy_pwrctrl_info[1].max_pwr_5gm);
  25968. pwr_offsets1[0] = (u16) (pi->ofdm5gpo & 0xffff);
  25969. pwr_offsets1[1] =
  25970. (u16) (pi->ofdm5gpo >> 16) & 0xffff;
  25971. pwr_offsets2 = pi->mcs5gpo;
  25972. tmp_cddpo = pi->cdd5gpo;
  25973. tmp_stbcpo = pi->stbc5gpo;
  25974. tmp_bw40po = pi->bw405gpo;
  25975. tx_srom_max_rate = pi->tx_srom_max_rate_5g_mid;
  25976. break;
  25977. case 2:
  25978. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl,
  25979. pi->nphy_pwrctrl_info[1].max_pwr_5gl);
  25980. pwr_offsets1[0] = (u16) (pi->ofdm5glpo & 0xffff);
  25981. pwr_offsets1[1] =
  25982. (u16) (pi->ofdm5glpo >> 16) & 0xffff;
  25983. pwr_offsets2 = pi->mcs5glpo;
  25984. tmp_cddpo = pi->cdd5glpo;
  25985. tmp_stbcpo = pi->stbc5glpo;
  25986. tmp_bw40po = pi->bw405glpo;
  25987. tx_srom_max_rate = pi->tx_srom_max_rate_5g_low;
  25988. break;
  25989. case 3:
  25990. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh,
  25991. pi->nphy_pwrctrl_info[1].max_pwr_5gh);
  25992. pwr_offsets1[0] = (u16) (pi->ofdm5ghpo & 0xffff);
  25993. pwr_offsets1[1] =
  25994. (u16) (pi->ofdm5ghpo >> 16) & 0xffff;
  25995. pwr_offsets2 = pi->mcs5ghpo;
  25996. tmp_cddpo = pi->cdd5ghpo;
  25997. tmp_stbcpo = pi->stbc5ghpo;
  25998. tmp_bw40po = pi->bw405ghpo;
  25999. tx_srom_max_rate = pi->tx_srom_max_rate_5g_hi;
  26000. break;
  26001. }
  26002. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets1,
  26003. tmp_max_pwr, TXP_FIRST_OFDM,
  26004. TXP_LAST_OFDM);
  26005. wlc_phy_ofdm_to_mcs_powers_nphy(tx_srom_max_rate,
  26006. TXP_FIRST_MCS_20_SISO,
  26007. TXP_LAST_MCS_20_SISO,
  26008. TXP_FIRST_OFDM);
  26009. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26010. tmp_max_pwr,
  26011. TXP_FIRST_MCS_20_CDD,
  26012. TXP_LAST_MCS_20_CDD);
  26013. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26014. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26015. TXP_FIRST_MCS_20_CDD,
  26016. TXP_LAST_MCS_20_CDD);
  26017. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26018. TXP_FIRST_OFDM_20_CDD,
  26019. TXP_LAST_OFDM_20_CDD,
  26020. TXP_FIRST_MCS_20_CDD);
  26021. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26022. tmp_max_pwr,
  26023. TXP_FIRST_MCS_20_STBC,
  26024. TXP_LAST_MCS_20_STBC);
  26025. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26026. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26027. tmp_stbcpo,
  26028. TXP_FIRST_MCS_20_STBC,
  26029. TXP_LAST_MCS_20_STBC);
  26030. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26031. &pwr_offsets2[2], tmp_max_pwr,
  26032. TXP_FIRST_MCS_20_SDM,
  26033. TXP_LAST_MCS_20_SDM);
  26034. if (NPHY_IS_SROM_REINTERPRET) {
  26035. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26036. &pwr_offsets2[4],
  26037. tmp_max_pwr,
  26038. TXP_FIRST_MCS_40_SISO,
  26039. TXP_LAST_MCS_40_SISO);
  26040. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26041. TXP_FIRST_OFDM_40_SISO,
  26042. TXP_LAST_OFDM_40_SISO,
  26043. TXP_FIRST_MCS_40_SISO);
  26044. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26045. &pwr_offsets2[4],
  26046. tmp_max_pwr,
  26047. TXP_FIRST_MCS_40_CDD,
  26048. TXP_LAST_MCS_40_CDD);
  26049. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26050. TXP_FIRST_MCS_40_CDD,
  26051. TXP_LAST_MCS_40_CDD);
  26052. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26053. TXP_FIRST_OFDM_40_CDD,
  26054. TXP_LAST_OFDM_40_CDD,
  26055. TXP_FIRST_MCS_40_CDD);
  26056. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26057. &pwr_offsets2[4],
  26058. tmp_max_pwr,
  26059. TXP_FIRST_MCS_40_STBC,
  26060. TXP_LAST_MCS_40_STBC);
  26061. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26062. tmp_stbcpo,
  26063. TXP_FIRST_MCS_40_STBC,
  26064. TXP_LAST_MCS_40_STBC);
  26065. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26066. &pwr_offsets2[6],
  26067. tmp_max_pwr,
  26068. TXP_FIRST_MCS_40_SDM,
  26069. TXP_LAST_MCS_40_SDM);
  26070. } else {
  26071. for (rate1 = TXP_FIRST_OFDM_40_SISO, rate2 =
  26072. TXP_FIRST_OFDM;
  26073. rate1 <= TXP_LAST_MCS_40_SDM;
  26074. rate1++, rate2++)
  26075. tx_srom_max_rate[rate1] =
  26076. tx_srom_max_rate[rate2];
  26077. }
  26078. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26079. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26080. tmp_bw40po,
  26081. TXP_FIRST_OFDM_40_SISO,
  26082. TXP_LAST_MCS_40_SDM);
  26083. tx_srom_max_rate[TXP_MCS_32] =
  26084. tx_srom_max_rate[TXP_FIRST_MCS_40_CDD];
  26085. }
  26086. return;
  26087. }
  26088. void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi)
  26089. {
  26090. u8 tx_pwr_ctrl_state;
  26091. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  26092. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  26093. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26094. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  26095. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  26096. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  26097. udelay(1);
  26098. }
  26099. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26100. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  26101. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  26102. }
  26103. static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi)
  26104. {
  26105. return read_phy_reg((pi), 0x1e7) & ((0x1 << 15) |
  26106. (0x1 << 14) | (0x1 << 13));
  26107. }
  26108. u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi)
  26109. {
  26110. u16 tmp;
  26111. u16 pwr_idx[2];
  26112. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26113. pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0);
  26114. pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1);
  26115. tmp = (pwr_idx[0] << 8) | pwr_idx[1];
  26116. } else {
  26117. tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff)
  26118. << 8) |
  26119. (pi->nphy_txpwrindex[PHY_CORE_1].index_internal & 0xff);
  26120. }
  26121. return tmp;
  26122. }
  26123. void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi)
  26124. {
  26125. if (PHY_IPA(pi)
  26126. && (pi->nphy_force_papd_cal
  26127. || (wlc_phy_txpwr_ison_nphy(pi)
  26128. &&
  26129. (((u32)
  26130. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) -
  26131. pi->nphy_papd_tx_gain_at_last_cal[0]) >= 4)
  26132. || ((u32)
  26133. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) -
  26134. pi->nphy_papd_tx_gain_at_last_cal[1]) >= 4)))))
  26135. wlc_phy_a4(pi, true);
  26136. }
  26137. void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type)
  26138. {
  26139. u16 mask = 0, val = 0, ishw = 0;
  26140. u8 ctr;
  26141. uint core;
  26142. u32 tbl_offset;
  26143. u32 tbl_len;
  26144. u16 regval[84];
  26145. if (pi->phyhang_avoid)
  26146. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26147. switch (ctrl_type) {
  26148. case PHY_TPC_HW_OFF:
  26149. case PHY_TPC_HW_ON:
  26150. pi->nphy_txpwrctrl = ctrl_type;
  26151. break;
  26152. default:
  26153. break;
  26154. }
  26155. if (ctrl_type == PHY_TPC_HW_OFF) {
  26156. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26157. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26158. for (core = 0; core < pi->pubpi.phy_corenum;
  26159. core++)
  26160. pi->nphy_txpwr_idx[core] =
  26161. wlc_phy_txpwr_idx_cur_get_nphy(
  26162. pi,
  26163. (u8) core);
  26164. }
  26165. }
  26166. tbl_len = 84;
  26167. tbl_offset = 64;
  26168. for (ctr = 0; ctr < tbl_len; ctr++)
  26169. regval[ctr] = 0;
  26170. wlc_phy_table_write_nphy(pi, 26, tbl_len, tbl_offset, 16,
  26171. regval);
  26172. wlc_phy_table_write_nphy(pi, 27, tbl_len, tbl_offset, 16,
  26173. regval);
  26174. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26175. and_phy_reg(pi, 0x1e7,
  26176. (u16) (~((0x1 << 15) |
  26177. (0x1 << 14) | (0x1 << 13))));
  26178. else
  26179. and_phy_reg(pi, 0x1e7,
  26180. (u16) (~((0x1 << 14) | (0x1 << 13))));
  26181. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26182. or_phy_reg(pi, 0x8f, (0x1 << 8));
  26183. or_phy_reg(pi, 0xa5, (0x1 << 8));
  26184. } else {
  26185. or_phy_reg(pi, 0xa5, (0x1 << 14));
  26186. }
  26187. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26188. mod_phy_reg(pi, 0xdc, 0x00ff, 0x53);
  26189. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26190. mod_phy_reg(pi, 0xdc, 0x00ff, 0x5a);
  26191. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26192. pi->bw == WL_CHANSPEC_BW_40)
  26193. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26194. MHF1_IQSWAP_WAR, BRCM_BAND_ALL);
  26195. } else {
  26196. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64,
  26197. 8, pi->adj_pwr_tbl_nphy);
  26198. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64,
  26199. 8, pi->adj_pwr_tbl_nphy);
  26200. ishw = (ctrl_type == PHY_TPC_HW_ON) ? 0x1 : 0x0;
  26201. mask = (0x1 << 14) | (0x1 << 13);
  26202. val = (ishw << 14) | (ishw << 13);
  26203. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26204. mask |= (0x1 << 15);
  26205. val |= (ishw << 15);
  26206. }
  26207. mod_phy_reg(pi, 0x1e7, mask, val);
  26208. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  26209. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  26210. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x32);
  26211. mod_phy_reg(pi, 0x222, (0xff << 0), 0x32);
  26212. } else {
  26213. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x64);
  26214. if (NREV_GT(pi->pubpi.phy_rev, 1))
  26215. mod_phy_reg(pi, 0x222,
  26216. (0xff << 0), 0x64);
  26217. }
  26218. }
  26219. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26220. if ((pi->nphy_txpwr_idx[0] != 128)
  26221. && (pi->nphy_txpwr_idx[1] != 128))
  26222. wlc_phy_txpwr_idx_cur_set_nphy(pi,
  26223. pi->
  26224. nphy_txpwr_idx
  26225. [0],
  26226. pi->
  26227. nphy_txpwr_idx
  26228. [1]);
  26229. }
  26230. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26231. and_phy_reg(pi, 0x8f, ~(0x1 << 8));
  26232. and_phy_reg(pi, 0xa5, ~(0x1 << 8));
  26233. } else {
  26234. and_phy_reg(pi, 0xa5, ~(0x1 << 14));
  26235. }
  26236. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26237. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  26238. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26239. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  26240. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26241. pi->bw == WL_CHANSPEC_BW_40)
  26242. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26243. 0x0, BRCM_BAND_ALL);
  26244. if (PHY_IPA(pi)) {
  26245. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  26246. 0x29b, (0x1 << 2), (0) << 2);
  26247. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  26248. 0x29b, (0x1 << 2), (0) << 2);
  26249. }
  26250. }
  26251. if (pi->phyhang_avoid)
  26252. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26253. }
  26254. void
  26255. wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex,
  26256. bool restore_cals)
  26257. {
  26258. u8 core, txpwrctl_tbl;
  26259. u16 tx_ind0, iq_ind0, lo_ind0;
  26260. u16 m1m2;
  26261. u32 txgain;
  26262. u16 rad_gain, dac_gain;
  26263. u8 bbmult;
  26264. u32 iqcomp;
  26265. u16 iqcomp_a, iqcomp_b;
  26266. u32 locomp;
  26267. u16 tmpval;
  26268. u8 tx_pwr_ctrl_state;
  26269. s32 rfpwr_offset;
  26270. u16 regval[2];
  26271. if (pi->phyhang_avoid)
  26272. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26273. tx_ind0 = 192;
  26274. iq_ind0 = 320;
  26275. lo_ind0 = 448;
  26276. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  26277. if ((core_mask & (1 << core)) == 0)
  26278. continue;
  26279. txpwrctl_tbl = (core == PHY_CORE_0) ? 26 : 27;
  26280. if (txpwrindex < 0) {
  26281. if (pi->nphy_txpwrindex[core].index < 0)
  26282. continue;
  26283. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26284. mod_phy_reg(pi, 0x8f,
  26285. (0x1 << 8),
  26286. pi->nphy_txpwrindex[core].
  26287. AfectrlOverride);
  26288. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26289. pi->nphy_txpwrindex[core].
  26290. AfectrlOverride);
  26291. } else {
  26292. mod_phy_reg(pi, 0xa5,
  26293. (0x1 << 14),
  26294. pi->nphy_txpwrindex[core].
  26295. AfectrlOverride);
  26296. }
  26297. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26298. 0xaa : 0xab,
  26299. pi->nphy_txpwrindex[core].AfeCtrlDacGain);
  26300. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26301. &pi->nphy_txpwrindex[core].
  26302. rad_gain);
  26303. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26304. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26305. m1m2 |= ((core == PHY_CORE_0) ?
  26306. (pi->nphy_txpwrindex[core].bbmult << 8) :
  26307. (pi->nphy_txpwrindex[core].bbmult << 0));
  26308. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26309. if (restore_cals) {
  26310. wlc_phy_table_write_nphy(
  26311. pi, 15, 2, (80 + 2 * core), 16,
  26312. &pi->nphy_txpwrindex[core].iqcomp_a);
  26313. wlc_phy_table_write_nphy(
  26314. pi, 15, 1, (85 + core), 16,
  26315. &pi->nphy_txpwrindex[core].locomp);
  26316. wlc_phy_table_write_nphy(
  26317. pi, 15, 1, (93 + core), 16,
  26318. &pi->nphy_txpwrindex[core].locomp);
  26319. }
  26320. wlc_phy_txpwrctrl_enable_nphy(pi, pi->nphy_txpwrctrl);
  26321. pi->nphy_txpwrindex[core].index_internal =
  26322. pi->nphy_txpwrindex[core].index_internal_save;
  26323. } else {
  26324. if (pi->nphy_txpwrindex[core].index < 0) {
  26325. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26326. mod_phy_reg(pi, 0x8f,
  26327. (0x1 << 8),
  26328. pi->nphy_txpwrindex[core].
  26329. AfectrlOverride);
  26330. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26331. pi->nphy_txpwrindex[core].
  26332. AfectrlOverride);
  26333. } else {
  26334. pi->nphy_txpwrindex[core].
  26335. AfectrlOverride =
  26336. read_phy_reg(pi, 0xa5);
  26337. }
  26338. pi->nphy_txpwrindex[core].AfeCtrlDacGain =
  26339. read_phy_reg(pi, (core == PHY_CORE_0) ?
  26340. 0xaa : 0xab);
  26341. wlc_phy_table_read_nphy(pi, 7, 1,
  26342. (0x110 + core), 16,
  26343. &pi->
  26344. nphy_txpwrindex[core].
  26345. rad_gain);
  26346. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  26347. &tmpval);
  26348. tmpval >>= ((core == PHY_CORE_0) ? 8 : 0);
  26349. tmpval &= 0xff;
  26350. pi->nphy_txpwrindex[core].bbmult = (u8) tmpval;
  26351. wlc_phy_table_read_nphy(pi, 15, 2,
  26352. (80 + 2 * core), 16,
  26353. &pi->
  26354. nphy_txpwrindex[core].
  26355. iqcomp_a);
  26356. wlc_phy_table_read_nphy(pi, 15, 1, (85 + core),
  26357. 16,
  26358. &pi->
  26359. nphy_txpwrindex[core].
  26360. locomp);
  26361. pi->nphy_txpwrindex[core].index_internal_save =
  26362. pi->nphy_txpwrindex[core].
  26363. index_internal;
  26364. }
  26365. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26366. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  26367. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26368. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  26369. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26370. (tx_ind0 + txpwrindex), 32,
  26371. &txgain);
  26372. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26373. rad_gain = (txgain >> 16) &
  26374. ((1 << (32 - 16 + 1)) - 1);
  26375. else
  26376. rad_gain = (txgain >> 16) &
  26377. ((1 << (28 - 16 + 1)) - 1);
  26378. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  26379. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  26380. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26381. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  26382. 0xa5), (0x1 << 8), (0x1 << 8));
  26383. else
  26384. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  26385. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26386. 0xaa : 0xab, dac_gain);
  26387. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26388. &rad_gain);
  26389. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26390. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26391. m1m2 |= ((core == PHY_CORE_0) ?
  26392. (bbmult << 8) : (bbmult << 0));
  26393. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26394. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26395. (iq_ind0 + txpwrindex), 32,
  26396. &iqcomp);
  26397. iqcomp_a = (iqcomp >> 10) & ((1 << (19 - 10 + 1)) - 1);
  26398. iqcomp_b = (iqcomp >> 0) & ((1 << (9 - 0 + 1)) - 1);
  26399. if (restore_cals) {
  26400. regval[0] = (u16) iqcomp_a;
  26401. regval[1] = (u16) iqcomp_b;
  26402. wlc_phy_table_write_nphy(pi, 15, 2,
  26403. (80 + 2 * core), 16,
  26404. regval);
  26405. }
  26406. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26407. (lo_ind0 + txpwrindex), 32,
  26408. &locomp);
  26409. if (restore_cals)
  26410. wlc_phy_table_write_nphy(pi, 15, 1, (85 + core),
  26411. 16, &locomp);
  26412. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26413. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  26414. if (PHY_IPA(pi)) {
  26415. wlc_phy_table_read_nphy(pi,
  26416. (core == PHY_CORE_0 ?
  26417. NPHY_TBL_ID_CORE1TXPWRCTL :
  26418. NPHY_TBL_ID_CORE2TXPWRCTL),
  26419. 1, 576 + txpwrindex, 32,
  26420. &rfpwr_offset);
  26421. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26422. 0x29b, (0x1ff << 4),
  26423. ((s16) rfpwr_offset) << 4);
  26424. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26425. 0x29b, (0x1 << 2), (1) << 2);
  26426. }
  26427. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26428. }
  26429. pi->nphy_txpwrindex[core].index = txpwrindex;
  26430. }
  26431. if (pi->phyhang_avoid)
  26432. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26433. }
  26434. void
  26435. wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr,
  26436. u8 txp_rate_idx)
  26437. {
  26438. u8 chan_freq_range;
  26439. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, chan);
  26440. switch (chan_freq_range) {
  26441. case WL_CHAN_FREQ_RANGE_2G:
  26442. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26443. break;
  26444. case WL_CHAN_FREQ_RANGE_5GM:
  26445. *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
  26446. break;
  26447. case WL_CHAN_FREQ_RANGE_5GL:
  26448. *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
  26449. break;
  26450. case WL_CHAN_FREQ_RANGE_5GH:
  26451. *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
  26452. break;
  26453. default:
  26454. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26455. break;
  26456. }
  26457. return;
  26458. }
  26459. void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable)
  26460. {
  26461. u16 clip_off[] = { 0xffff, 0xffff };
  26462. if (enable) {
  26463. if (pi->nphy_deaf_count == 0) {
  26464. pi->classifier_state =
  26465. wlc_phy_classifier_nphy(pi, 0, 0);
  26466. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  26467. wlc_phy_clip_det_nphy(pi, 0, pi->clip_state);
  26468. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  26469. }
  26470. pi->nphy_deaf_count++;
  26471. wlc_phy_resetcca_nphy(pi);
  26472. } else {
  26473. pi->nphy_deaf_count--;
  26474. if (pi->nphy_deaf_count == 0) {
  26475. wlc_phy_classifier_nphy(pi, (0x7 << 0),
  26476. pi->classifier_state);
  26477. wlc_phy_clip_det_nphy(pi, 1, pi->clip_state);
  26478. }
  26479. }
  26480. }
  26481. void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode)
  26482. {
  26483. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  26484. if (mode) {
  26485. if (pi->nphy_deaf_count == 0)
  26486. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26487. } else if (pi->nphy_deaf_count > 0) {
  26488. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26489. }
  26490. wlapi_enable_mac(pi->sh->physhim);
  26491. }