phy_n.c 919 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843
  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. #include <linux/kernel.h>
  17. #include <linux/delay.h>
  18. #include <linux/cordic.h>
  19. #include <brcm_hw_ids.h>
  20. #include <aiutils.h>
  21. #include <chipcommon.h>
  22. #include <pmu.h>
  23. #include <d11.h>
  24. #include <phy_shim.h>
  25. #include "phy_int.h"
  26. #include "phy_hal.h"
  27. #include "phy_radio.h"
  28. #include "phyreg_n.h"
  29. #include "phytbl_n.h"
  30. #include "soc.h"
  31. #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \
  32. read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  33. ((core == PHY_CORE_0) ? \
  34. radio_type##_##jspace##0 : \
  35. radio_type##_##jspace##1))
  36. #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \
  37. write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  38. ((core == PHY_CORE_0) ? \
  39. radio_type##_##jspace##0 : \
  40. radio_type##_##jspace##1), value)
  41. #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \
  42. write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
  43. #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \
  44. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  45. radio_type##_##jspace##0##_##reg_name : \
  46. radio_type##_##jspace##1##_##reg_name))
  47. #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \
  48. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  49. radio_type##_##jspace##0##_##reg_name : \
  50. radio_type##_##jspace##1##_##reg_name), \
  51. value)
  52. #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \
  53. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  54. radio_type##_##reg_name##_##jspace##0 : \
  55. radio_type##_##reg_name##_##jspace##1))
  56. #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \
  57. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  58. radio_type##_##reg_name##_##jspace##0 : \
  59. radio_type##_##reg_name##_##jspace##1), \
  60. value)
  61. #define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ 40
  62. #define NPHY_ACI_CHANNEL_DELTA 5
  63. #define NPHY_ACI_CHANNEL_SKIP 4
  64. #define NPHY_ACI_40MHZ_CHANNEL_DELTA 6
  65. #define NPHY_ACI_40MHZ_CHANNEL_SKIP 5
  66. #define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3 6
  67. #define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3 5
  68. #define NPHY_ACI_CHANNEL_DELTA_GE_REV3 4
  69. #define NPHY_ACI_CHANNEL_SKIP_GE_REV3 3
  70. #define NPHY_NOISE_NOASSOC_GLITCH_TH_UP 2
  71. #define NPHY_NOISE_NOASSOC_GLITCH_TH_DN 8
  72. #define NPHY_NOISE_ASSOC_GLITCH_TH_UP 2
  73. #define NPHY_NOISE_ASSOC_GLITCH_TH_DN 8
  74. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP 2
  75. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN 8
  76. #define NPHY_NOISE_NOASSOC_ENTER_TH 400
  77. #define NPHY_NOISE_ASSOC_ENTER_TH 400
  78. #define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH 400
  79. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX 44
  80. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7 56
  81. #define NPHY_NOISE_NOASSOC_CRSIDX_INCR 16
  82. #define NPHY_NOISE_ASSOC_CRSIDX_INCR 8
  83. #define NPHY_IS_SROM_REINTERPRET NREV_GE(pi->pubpi.phy_rev, 5)
  84. #define NPHY_RSSICAL_MAXREAD 31
  85. #define NPHY_RSSICAL_NPOLL 8
  86. #define NPHY_RSSICAL_MAXD (1<<20)
  87. #define NPHY_MIN_RXIQ_PWR 2
  88. #define NPHY_RSSICAL_W1_TARGET 25
  89. #define NPHY_RSSICAL_W2_TARGET NPHY_RSSICAL_W1_TARGET
  90. #define NPHY_RSSICAL_NB_TARGET 0
  91. #define NPHY_RSSICAL_W1_TARGET_REV3 29
  92. #define NPHY_RSSICAL_W2_TARGET_REV3 NPHY_RSSICAL_W1_TARGET_REV3
  93. #define NPHY_CALSANITY_RSSI_NB_MAX_POS 9
  94. #define NPHY_CALSANITY_RSSI_NB_MAX_NEG -9
  95. #define NPHY_CALSANITY_RSSI_W1_MAX_POS 12
  96. #define NPHY_CALSANITY_RSSI_W1_MAX_NEG (NPHY_RSSICAL_W1_TARGET - \
  97. NPHY_RSSICAL_MAXREAD)
  98. #define NPHY_CALSANITY_RSSI_W2_MAX_POS NPHY_CALSANITY_RSSI_W1_MAX_POS
  99. #define NPHY_CALSANITY_RSSI_W2_MAX_NEG (NPHY_RSSICAL_W2_TARGET - \
  100. NPHY_RSSICAL_MAXREAD)
  101. #define NPHY_RSSI_SXT(x) ((s8) (-((x) & 0x20) + ((x) & 0x1f)))
  102. #define NPHY_RSSI_NB_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_NB_MAX_POS) || \
  103. ((x) < NPHY_CALSANITY_RSSI_NB_MAX_NEG))
  104. #define NPHY_RSSI_W1_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W1_MAX_POS) || \
  105. ((x) < NPHY_CALSANITY_RSSI_W1_MAX_NEG))
  106. #define NPHY_RSSI_W2_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W2_MAX_POS) || \
  107. ((x) < NPHY_CALSANITY_RSSI_W2_MAX_NEG))
  108. #define NPHY_IQCAL_NUMGAINS 9
  109. #define NPHY_N_GCTL 0x66
  110. #define NPHY_PAPD_EPS_TBL_SIZE 64
  111. #define NPHY_PAPD_SCL_TBL_SIZE 64
  112. #define NPHY_NUM_DIG_FILT_COEFFS 15
  113. #define NPHY_PAPD_COMP_OFF 0
  114. #define NPHY_PAPD_COMP_ON 1
  115. #define NPHY_SROM_TEMPSHIFT 32
  116. #define NPHY_SROM_MAXTEMPOFFSET 16
  117. #define NPHY_SROM_MINTEMPOFFSET -16
  118. #define NPHY_CAL_MAXTEMPDELTA 64
  119. #define NPHY_NOISEVAR_TBLLEN40 256
  120. #define NPHY_NOISEVAR_TBLLEN20 128
  121. #define NPHY_ANARXLPFBW_REDUCTIONFACT 7
  122. #define NPHY_ADJUSTED_MINCRSPOWER 0x1e
  123. /* 5357 Chip specific ChipControl register bits */
  124. #define CCTRL5357_EXTPA (1<<14) /* extPA in ChipControl 1, bit 14 */
  125. #define CCTRL5357_ANT_MUX_2o3 (1<<15) /* 2o3 in ChipControl 1, bit 15 */
  126. #define NPHY_CAL_TSSISAMPS 64
  127. #define NPHY_TEST_TONE_FREQ_40MHz 4000
  128. #define NPHY_TEST_TONE_FREQ_20MHz 2500
  129. #define MAX_205x_RCAL_WAITLOOPS 10000
  130. #define NPHY_RXCAL_TONEAMP 181
  131. #define NPHY_RXCAL_TONEFREQ_40MHz 4000
  132. #define NPHY_RXCAL_TONEFREQ_20MHz 2000
  133. #define TXFILT_SHAPING_OFDM20 0
  134. #define TXFILT_SHAPING_OFDM40 1
  135. #define TXFILT_SHAPING_CCK 2
  136. #define TXFILT_DEFAULT_OFDM20 3
  137. #define TXFILT_DEFAULT_OFDM40 4
  138. struct nphy_iqcal_params {
  139. u16 txlpf;
  140. u16 txgm;
  141. u16 pga;
  142. u16 pad;
  143. u16 ipa;
  144. u16 cal_gain;
  145. u16 ncorr[5];
  146. };
  147. struct nphy_txiqcal_ladder {
  148. u8 percent;
  149. u8 g_env;
  150. };
  151. struct nphy_ipa_txcalgains {
  152. struct nphy_txgains gains;
  153. bool useindex;
  154. u8 index;
  155. };
  156. struct nphy_papd_restore_state {
  157. u16 fbmix[2];
  158. u16 vga_master[2];
  159. u16 intpa_master[2];
  160. u16 afectrl[2];
  161. u16 afeoverride[2];
  162. u16 pwrup[2];
  163. u16 atten[2];
  164. u16 mm;
  165. };
  166. struct nphy_ipa_txrxgain {
  167. u16 hpvga;
  168. u16 lpf_biq1;
  169. u16 lpf_biq0;
  170. u16 lna2;
  171. u16 lna1;
  172. s8 txpwrindex;
  173. };
  174. #define NPHY_IPA_RXCAL_MAXGAININDEX (6 - 1)
  175. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz[] = {
  176. {0, 0, 0, 0, 0, 100},
  177. {0, 0, 0, 0, 0, 50},
  178. {0, 0, 0, 0, 0, -1},
  179. {0, 0, 0, 3, 0, -1},
  180. {0, 0, 3, 3, 0, -1},
  181. {0, 2, 3, 3, 0, -1}
  182. };
  183. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz[] = {
  184. {0, 0, 0, 0, 0, 128},
  185. {0, 0, 0, 0, 0, 70},
  186. {0, 0, 0, 0, 0, 20},
  187. {0, 0, 0, 3, 0, 20},
  188. {0, 0, 3, 3, 0, 20},
  189. {0, 2, 3, 3, 0, 20}
  190. };
  191. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz_rev7[] = {
  192. {0, 0, 0, 0, 0, 100},
  193. {0, 0, 0, 0, 0, 50},
  194. {0, 0, 0, 0, 0, -1},
  195. {0, 0, 0, 3, 0, -1},
  196. {0, 0, 3, 3, 0, -1},
  197. {0, 0, 5, 3, 0, -1}
  198. };
  199. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz_rev7[] = {
  200. {0, 0, 0, 0, 0, 10},
  201. {0, 0, 0, 1, 0, 10},
  202. {0, 0, 1, 2, 0, 10},
  203. {0, 0, 1, 3, 0, 10},
  204. {0, 0, 4, 3, 0, 10},
  205. {0, 0, 6, 3, 0, 10}
  206. };
  207. enum {
  208. NPHY_RXCAL_GAIN_INIT = 0,
  209. NPHY_RXCAL_GAIN_UP,
  210. NPHY_RXCAL_GAIN_DOWN
  211. };
  212. #define wlc_phy_get_papd_nphy(pi) \
  213. (read_phy_reg((pi), 0x1e7) & \
  214. ((0x1 << 15) | \
  215. (0x1 << 14) | \
  216. (0x1 << 13)))
  217. static const u16 NPHY_IPA_REV4_txdigi_filtcoeffs[][NPHY_NUM_DIG_FILT_COEFFS] = {
  218. {-377, 137, -407, 208, -1527, 956, 93, 186, 93,
  219. 230, -44, 230, 201, -191, 201},
  220. {-77, 20, -98, 49, -93, 60, 56, 111, 56, 26, -5,
  221. 26, 34, -32, 34},
  222. {-360, 164, -376, 164, -1533, 576, 308, -314, 308,
  223. 121, -73, 121, 91, 124, 91},
  224. {-295, 200, -363, 142, -1391, 826, 151, 301, 151,
  225. 151, 301, 151, 602, -752, 602},
  226. {-92, 58, -96, 49, -104, 44, 17, 35, 17,
  227. 12, 25, 12, 13, 27, 13},
  228. {-375, 136, -399, 209, -1479, 949, 130, 260, 130,
  229. 230, -44, 230, 201, -191, 201},
  230. {0xed9, 0xc8, 0xe95, 0x8e, 0xa91, 0x33a, 0x97, 0x12d, 0x97,
  231. 0x97, 0x12d, 0x97, 0x25a, 0xd10, 0x25a}
  232. };
  233. struct chan_info_nphy_2055 {
  234. u16 chan;
  235. u16 freq;
  236. uint unknown;
  237. u8 RF_pll_ref;
  238. u8 RF_rf_pll_mod1;
  239. u8 RF_rf_pll_mod0;
  240. u8 RF_vco_cap_tail;
  241. u8 RF_vco_cal1;
  242. u8 RF_vco_cal2;
  243. u8 RF_pll_lf_c1;
  244. u8 RF_pll_lf_r1;
  245. u8 RF_pll_lf_c2;
  246. u8 RF_lgbuf_cen_buf;
  247. u8 RF_lgen_tune1;
  248. u8 RF_lgen_tune2;
  249. u8 RF_core1_lgbuf_a_tune;
  250. u8 RF_core1_lgbuf_g_tune;
  251. u8 RF_core1_rxrf_reg1;
  252. u8 RF_core1_tx_pga_pad_tn;
  253. u8 RF_core1_tx_mx_bgtrim;
  254. u8 RF_core2_lgbuf_a_tune;
  255. u8 RF_core2_lgbuf_g_tune;
  256. u8 RF_core2_rxrf_reg1;
  257. u8 RF_core2_tx_pga_pad_tn;
  258. u8 RF_core2_tx_mx_bgtrim;
  259. u16 PHY_BW1a;
  260. u16 PHY_BW2;
  261. u16 PHY_BW3;
  262. u16 PHY_BW4;
  263. u16 PHY_BW5;
  264. u16 PHY_BW6;
  265. };
  266. struct chan_info_nphy_radio205x {
  267. u16 chan;
  268. u16 freq;
  269. u8 RF_SYN_pll_vcocal1;
  270. u8 RF_SYN_pll_vcocal2;
  271. u8 RF_SYN_pll_refdiv;
  272. u8 RF_SYN_pll_mmd2;
  273. u8 RF_SYN_pll_mmd1;
  274. u8 RF_SYN_pll_loopfilter1;
  275. u8 RF_SYN_pll_loopfilter2;
  276. u8 RF_SYN_pll_loopfilter3;
  277. u8 RF_SYN_pll_loopfilter4;
  278. u8 RF_SYN_pll_loopfilter5;
  279. u8 RF_SYN_reserved_addr27;
  280. u8 RF_SYN_reserved_addr28;
  281. u8 RF_SYN_reserved_addr29;
  282. u8 RF_SYN_logen_VCOBUF1;
  283. u8 RF_SYN_logen_MIXER2;
  284. u8 RF_SYN_logen_BUF3;
  285. u8 RF_SYN_logen_BUF4;
  286. u8 RF_RX0_lnaa_tune;
  287. u8 RF_RX0_lnag_tune;
  288. u8 RF_TX0_intpaa_boost_tune;
  289. u8 RF_TX0_intpag_boost_tune;
  290. u8 RF_TX0_pada_boost_tune;
  291. u8 RF_TX0_padg_boost_tune;
  292. u8 RF_TX0_pgaa_boost_tune;
  293. u8 RF_TX0_pgag_boost_tune;
  294. u8 RF_TX0_mixa_boost_tune;
  295. u8 RF_TX0_mixg_boost_tune;
  296. u8 RF_RX1_lnaa_tune;
  297. u8 RF_RX1_lnag_tune;
  298. u8 RF_TX1_intpaa_boost_tune;
  299. u8 RF_TX1_intpag_boost_tune;
  300. u8 RF_TX1_pada_boost_tune;
  301. u8 RF_TX1_padg_boost_tune;
  302. u8 RF_TX1_pgaa_boost_tune;
  303. u8 RF_TX1_pgag_boost_tune;
  304. u8 RF_TX1_mixa_boost_tune;
  305. u8 RF_TX1_mixg_boost_tune;
  306. u16 PHY_BW1a;
  307. u16 PHY_BW2;
  308. u16 PHY_BW3;
  309. u16 PHY_BW4;
  310. u16 PHY_BW5;
  311. u16 PHY_BW6;
  312. };
  313. struct chan_info_nphy_radio2057 {
  314. u16 chan;
  315. u16 freq;
  316. u8 RF_vcocal_countval0;
  317. u8 RF_vcocal_countval1;
  318. u8 RF_rfpll_refmaster_sparextalsize;
  319. u8 RF_rfpll_loopfilter_r1;
  320. u8 RF_rfpll_loopfilter_c2;
  321. u8 RF_rfpll_loopfilter_c1;
  322. u8 RF_cp_kpd_idac;
  323. u8 RF_rfpll_mmd0;
  324. u8 RF_rfpll_mmd1;
  325. u8 RF_vcobuf_tune;
  326. u8 RF_logen_mx2g_tune;
  327. u8 RF_logen_mx5g_tune;
  328. u8 RF_logen_indbuf2g_tune;
  329. u8 RF_logen_indbuf5g_tune;
  330. u8 RF_txmix2g_tune_boost_pu_core0;
  331. u8 RF_pad2g_tune_pus_core0;
  332. u8 RF_pga_boost_tune_core0;
  333. u8 RF_txmix5g_boost_tune_core0;
  334. u8 RF_pad5g_tune_misc_pus_core0;
  335. u8 RF_lna2g_tune_core0;
  336. u8 RF_lna5g_tune_core0;
  337. u8 RF_txmix2g_tune_boost_pu_core1;
  338. u8 RF_pad2g_tune_pus_core1;
  339. u8 RF_pga_boost_tune_core1;
  340. u8 RF_txmix5g_boost_tune_core1;
  341. u8 RF_pad5g_tune_misc_pus_core1;
  342. u8 RF_lna2g_tune_core1;
  343. u8 RF_lna5g_tune_core1;
  344. u16 PHY_BW1a;
  345. u16 PHY_BW2;
  346. u16 PHY_BW3;
  347. u16 PHY_BW4;
  348. u16 PHY_BW5;
  349. u16 PHY_BW6;
  350. };
  351. struct chan_info_nphy_radio2057_rev5 {
  352. u16 chan;
  353. u16 freq;
  354. u8 RF_vcocal_countval0;
  355. u8 RF_vcocal_countval1;
  356. u8 RF_rfpll_refmaster_sparextalsize;
  357. u8 RF_rfpll_loopfilter_r1;
  358. u8 RF_rfpll_loopfilter_c2;
  359. u8 RF_rfpll_loopfilter_c1;
  360. u8 RF_cp_kpd_idac;
  361. u8 RF_rfpll_mmd0;
  362. u8 RF_rfpll_mmd1;
  363. u8 RF_vcobuf_tune;
  364. u8 RF_logen_mx2g_tune;
  365. u8 RF_logen_indbuf2g_tune;
  366. u8 RF_txmix2g_tune_boost_pu_core0;
  367. u8 RF_pad2g_tune_pus_core0;
  368. u8 RF_lna2g_tune_core0;
  369. u8 RF_txmix2g_tune_boost_pu_core1;
  370. u8 RF_pad2g_tune_pus_core1;
  371. u8 RF_lna2g_tune_core1;
  372. u16 PHY_BW1a;
  373. u16 PHY_BW2;
  374. u16 PHY_BW3;
  375. u16 PHY_BW4;
  376. u16 PHY_BW5;
  377. u16 PHY_BW6;
  378. };
  379. struct nphy_sfo_cfg {
  380. u16 PHY_BW1a;
  381. u16 PHY_BW2;
  382. u16 PHY_BW3;
  383. u16 PHY_BW4;
  384. u16 PHY_BW5;
  385. u16 PHY_BW6;
  386. };
  387. static const struct chan_info_nphy_2055 chan_info_nphy_2055[] = {
  388. {
  389. 184, 4920, 3280, 0x71, 0x01, 0xEC, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  390. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  391. 0x0F, 0x8F, 0x7B4, 0x7B0, 0x7AC, 0x214, 0x215, 0x216},
  392. {
  393. 186, 4930, 3287, 0x71, 0x01, 0xED, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  394. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  395. 0x0F, 0x8F, 0x7B8, 0x7B4, 0x7B0, 0x213, 0x214, 0x215},
  396. {
  397. 188, 4940, 3293, 0x71, 0x01, 0xEE, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  398. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  399. 0x0F, 0x8F, 0x7BC, 0x7B8, 0x7B4, 0x212, 0x213, 0x214},
  400. {
  401. 190, 4950, 3300, 0x71, 0x01, 0xEF, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  402. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  403. 0x0F, 0x8F, 0x7C0, 0x7BC, 0x7B8, 0x211, 0x212, 0x213},
  404. {
  405. 192, 4960, 3307, 0x71, 0x01, 0xF0, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  406. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  407. 0x0F, 0x8F, 0x7C4, 0x7C0, 0x7BC, 0x20F, 0x211, 0x212},
  408. {
  409. 194, 4970, 3313, 0x71, 0x01, 0xF1, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  410. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  411. 0x0F, 0x8F, 0x7C8, 0x7C4, 0x7C0, 0x20E, 0x20F, 0x211},
  412. {
  413. 196, 4980, 3320, 0x71, 0x01, 0xF2, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  414. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  415. 0x0F, 0x8F, 0x7CC, 0x7C8, 0x7C4, 0x20D, 0x20E, 0x20F},
  416. {
  417. 198, 4990, 3327, 0x71, 0x01, 0xF3, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  418. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  419. 0x0F, 0x8F, 0x7D0, 0x7CC, 0x7C8, 0x20C, 0x20D, 0x20E},
  420. {
  421. 200, 5000, 3333, 0x71, 0x01, 0xF4, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  422. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  423. 0x0F, 0x8F, 0x7D4, 0x7D0, 0x7CC, 0x20B, 0x20C, 0x20D},
  424. {
  425. 202, 5010, 3340, 0x71, 0x01, 0xF5, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  426. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  427. 0x0F, 0x8F, 0x7D8, 0x7D4, 0x7D0, 0x20A, 0x20B, 0x20C},
  428. {
  429. 204, 5020, 3347, 0x71, 0x01, 0xF6, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  430. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  431. 0x0F, 0x8F, 0x7DC, 0x7D8, 0x7D4, 0x209, 0x20A, 0x20B},
  432. {
  433. 206, 5030, 3353, 0x71, 0x01, 0xF7, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  434. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  435. 0x0F, 0x8F, 0x7E0, 0x7DC, 0x7D8, 0x208, 0x209, 0x20A},
  436. {
  437. 208, 5040, 3360, 0x71, 0x01, 0xF8, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  438. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  439. 0x0F, 0x8F, 0x7E4, 0x7E0, 0x7DC, 0x207, 0x208, 0x209},
  440. {
  441. 210, 5050, 3367, 0x71, 0x01, 0xF9, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  442. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  443. 0x0F, 0x8F, 0x7E8, 0x7E4, 0x7E0, 0x206, 0x207, 0x208},
  444. {
  445. 212, 5060, 3373, 0x71, 0x01, 0xFA, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  446. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  447. 0x0F, 0x8E, 0x7EC, 0x7E8, 0x7E4, 0x205, 0x206, 0x207},
  448. {
  449. 214, 5070, 3380, 0x71, 0x01, 0xFB, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  450. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  451. 0x0F, 0x8E, 0x7F0, 0x7EC, 0x7E8, 0x204, 0x205, 0x206},
  452. {
  453. 216, 5080, 3387, 0x71, 0x01, 0xFC, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  454. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  455. 0x0F, 0x8D, 0x7F4, 0x7F0, 0x7EC, 0x203, 0x204, 0x205},
  456. {
  457. 218, 5090, 3393, 0x71, 0x01, 0xFD, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  458. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  459. 0x0F, 0x8D, 0x7F8, 0x7F4, 0x7F0, 0x202, 0x203, 0x204},
  460. {
  461. 220, 5100, 3400, 0x71, 0x01, 0xFE, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  462. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  463. 0x0F, 0x8D, 0x7FC, 0x7F8, 0x7F4, 0x201, 0x202, 0x203},
  464. {
  465. 222, 5110, 3407, 0x71, 0x01, 0xFF, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  466. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  467. 0x0F, 0x8D, 0x800, 0x7FC, 0x7F8, 0x200, 0x201, 0x202},
  468. {
  469. 224, 5120, 3413, 0x71, 0x02, 0x00, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  470. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  471. 0x0F, 0x8C, 0x804, 0x800, 0x7FC, 0x1FF, 0x200, 0x201},
  472. {
  473. 226, 5130, 3420, 0x71, 0x02, 0x01, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  474. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  475. 0x0F, 0x8C, 0x808, 0x804, 0x800, 0x1FE, 0x1FF, 0x200},
  476. {
  477. 228, 5140, 3427, 0x71, 0x02, 0x02, 0x0C, 0xC6, 0x01, 0x04, 0x0A,
  478. 0x00, 0x8D, 0x99, 0x99, 0xDD, 0x00, 0x0C, 0x0E, 0x8B, 0xDD, 0x00, 0x0C,
  479. 0x0E, 0x8B, 0x80C, 0x808, 0x804, 0x1FD, 0x1FE, 0x1FF},
  480. {
  481. 32, 5160, 3440, 0x71, 0x02, 0x04, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  482. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  483. 0x0D, 0x8A, 0x814, 0x810, 0x80C, 0x1FB, 0x1FC, 0x1FD},
  484. {
  485. 34, 5170, 3447, 0x71, 0x02, 0x05, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  486. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  487. 0x0D, 0x8A, 0x818, 0x814, 0x810, 0x1FA, 0x1FB, 0x1FC},
  488. {
  489. 36, 5180, 3453, 0x71, 0x02, 0x06, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  490. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  491. 0x0C, 0x89, 0x81C, 0x818, 0x814, 0x1F9, 0x1FA, 0x1FB},
  492. {
  493. 38, 5190, 3460, 0x71, 0x02, 0x07, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  494. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  495. 0x0C, 0x89, 0x820, 0x81C, 0x818, 0x1F8, 0x1F9, 0x1FA},
  496. {
  497. 40, 5200, 3467, 0x71, 0x02, 0x08, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  498. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  499. 0x0B, 0x89, 0x824, 0x820, 0x81C, 0x1F7, 0x1F8, 0x1F9},
  500. {
  501. 42, 5210, 3473, 0x71, 0x02, 0x09, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  502. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  503. 0x0B, 0x89, 0x828, 0x824, 0x820, 0x1F6, 0x1F7, 0x1F8},
  504. {
  505. 44, 5220, 3480, 0x71, 0x02, 0x0A, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  506. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  507. 0x0A, 0x88, 0x82C, 0x828, 0x824, 0x1F5, 0x1F6, 0x1F7},
  508. {
  509. 46, 5230, 3487, 0x71, 0x02, 0x0B, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  510. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  511. 0x0A, 0x88, 0x830, 0x82C, 0x828, 0x1F4, 0x1F5, 0x1F6},
  512. {
  513. 48, 5240, 3493, 0x71, 0x02, 0x0C, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  514. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  515. 0x0A, 0x87, 0x834, 0x830, 0x82C, 0x1F3, 0x1F4, 0x1F5},
  516. {
  517. 50, 5250, 3500, 0x71, 0x02, 0x0D, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  518. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  519. 0x0A, 0x87, 0x838, 0x834, 0x830, 0x1F2, 0x1F3, 0x1F4},
  520. {
  521. 52, 5260, 3507, 0x71, 0x02, 0x0E, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  522. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  523. 0x09, 0x87, 0x83C, 0x838, 0x834, 0x1F1, 0x1F2, 0x1F3},
  524. {
  525. 54, 5270, 3513, 0x71, 0x02, 0x0F, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  526. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  527. 0x09, 0x87, 0x840, 0x83C, 0x838, 0x1F0, 0x1F1, 0x1F2},
  528. {
  529. 56, 5280, 3520, 0x71, 0x02, 0x10, 0x09, 0x91, 0x01, 0x04, 0x0A,
  530. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  531. 0x08, 0x86, 0x844, 0x840, 0x83C, 0x1F0, 0x1F0, 0x1F1},
  532. {
  533. 58, 5290, 3527, 0x71, 0x02, 0x11, 0x09, 0x91, 0x01, 0x04, 0x0A,
  534. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  535. 0x08, 0x86, 0x848, 0x844, 0x840, 0x1EF, 0x1F0, 0x1F0},
  536. {
  537. 60, 5300, 3533, 0x71, 0x02, 0x12, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  538. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  539. 0x07, 0x85, 0x84C, 0x848, 0x844, 0x1EE, 0x1EF, 0x1F0},
  540. {
  541. 62, 5310, 3540, 0x71, 0x02, 0x13, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  542. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  543. 0x07, 0x85, 0x850, 0x84C, 0x848, 0x1ED, 0x1EE, 0x1EF},
  544. {
  545. 64, 5320, 3547, 0x71, 0x02, 0x14, 0x09, 0x83, 0x01, 0x04, 0x0A,
  546. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  547. 0x07, 0x84, 0x854, 0x850, 0x84C, 0x1EC, 0x1ED, 0x1EE},
  548. {
  549. 66, 5330, 3553, 0x71, 0x02, 0x15, 0x09, 0x83, 0x01, 0x04, 0x0A,
  550. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  551. 0x07, 0x84, 0x858, 0x854, 0x850, 0x1EB, 0x1EC, 0x1ED},
  552. {
  553. 68, 5340, 3560, 0x71, 0x02, 0x16, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  554. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  555. 0x06, 0x84, 0x85C, 0x858, 0x854, 0x1EA, 0x1EB, 0x1EC},
  556. {
  557. 70, 5350, 3567, 0x71, 0x02, 0x17, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  558. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  559. 0x06, 0x84, 0x860, 0x85C, 0x858, 0x1E9, 0x1EA, 0x1EB},
  560. {
  561. 72, 5360, 3573, 0x71, 0x02, 0x18, 0x08, 0x75, 0x01, 0x04, 0x0A,
  562. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  563. 0x05, 0x83, 0x864, 0x860, 0x85C, 0x1E8, 0x1E9, 0x1EA},
  564. {
  565. 74, 5370, 3580, 0x71, 0x02, 0x19, 0x08, 0x75, 0x01, 0x04, 0x0A,
  566. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  567. 0x05, 0x83, 0x868, 0x864, 0x860, 0x1E7, 0x1E8, 0x1E9},
  568. {
  569. 76, 5380, 3587, 0x71, 0x02, 0x1A, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  570. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  571. 0x04, 0x82, 0x86C, 0x868, 0x864, 0x1E6, 0x1E7, 0x1E8},
  572. {
  573. 78, 5390, 3593, 0x71, 0x02, 0x1B, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  574. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  575. 0x04, 0x82, 0x870, 0x86C, 0x868, 0x1E5, 0x1E6, 0x1E7},
  576. {
  577. 80, 5400, 3600, 0x71, 0x02, 0x1C, 0x07, 0x67, 0x01, 0x04, 0x0A,
  578. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  579. 0x04, 0x81, 0x874, 0x870, 0x86C, 0x1E5, 0x1E5, 0x1E6},
  580. {
  581. 82, 5410, 3607, 0x71, 0x02, 0x1D, 0x07, 0x67, 0x01, 0x04, 0x0A,
  582. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  583. 0x04, 0x81, 0x878, 0x874, 0x870, 0x1E4, 0x1E5, 0x1E5},
  584. {
  585. 84, 5420, 3613, 0x71, 0x02, 0x1E, 0x07, 0x61, 0x01, 0x04, 0x0A,
  586. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  587. 0x03, 0x80, 0x87C, 0x878, 0x874, 0x1E3, 0x1E4, 0x1E5},
  588. {
  589. 86, 5430, 3620, 0x71, 0x02, 0x1F, 0x07, 0x61, 0x01, 0x04, 0x0A,
  590. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  591. 0x03, 0x80, 0x880, 0x87C, 0x878, 0x1E2, 0x1E3, 0x1E4},
  592. {
  593. 88, 5440, 3627, 0x71, 0x02, 0x20, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  594. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  595. 0x02, 0x80, 0x884, 0x880, 0x87C, 0x1E1, 0x1E2, 0x1E3},
  596. {
  597. 90, 5450, 3633, 0x71, 0x02, 0x21, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  598. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  599. 0x02, 0x80, 0x888, 0x884, 0x880, 0x1E0, 0x1E1, 0x1E2},
  600. {
  601. 92, 5460, 3640, 0x71, 0x02, 0x22, 0x06, 0x53, 0x01, 0x04, 0x0A,
  602. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  603. 0x01, 0x80, 0x88C, 0x888, 0x884, 0x1DF, 0x1E0, 0x1E1},
  604. {
  605. 94, 5470, 3647, 0x71, 0x02, 0x23, 0x06, 0x53, 0x01, 0x04, 0x0A,
  606. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  607. 0x01, 0x80, 0x890, 0x88C, 0x888, 0x1DE, 0x1DF, 0x1E0},
  608. {
  609. 96, 5480, 3653, 0x71, 0x02, 0x24, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  610. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  611. 0x00, 0x80, 0x894, 0x890, 0x88C, 0x1DD, 0x1DE, 0x1DF},
  612. {
  613. 98, 5490, 3660, 0x71, 0x02, 0x25, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  614. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  615. 0x00, 0x80, 0x898, 0x894, 0x890, 0x1DD, 0x1DD, 0x1DE},
  616. {
  617. 100, 5500, 3667, 0x71, 0x02, 0x26, 0x06, 0x47, 0x01, 0x04, 0x0A,
  618. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  619. 0x00, 0x80, 0x89C, 0x898, 0x894, 0x1DC, 0x1DD, 0x1DD},
  620. {
  621. 102, 5510, 3673, 0x71, 0x02, 0x27, 0x06, 0x47, 0x01, 0x04, 0x0A,
  622. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  623. 0x00, 0x80, 0x8A0, 0x89C, 0x898, 0x1DB, 0x1DC, 0x1DD},
  624. {
  625. 104, 5520, 3680, 0x71, 0x02, 0x28, 0x05, 0x40, 0x01, 0x04, 0x0A,
  626. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  627. 0x00, 0x80, 0x8A4, 0x8A0, 0x89C, 0x1DA, 0x1DB, 0x1DC},
  628. {
  629. 106, 5530, 3687, 0x71, 0x02, 0x29, 0x05, 0x40, 0x01, 0x04, 0x0A,
  630. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  631. 0x00, 0x80, 0x8A8, 0x8A4, 0x8A0, 0x1D9, 0x1DA, 0x1DB},
  632. {
  633. 108, 5540, 3693, 0x71, 0x02, 0x2A, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  634. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  635. 0x00, 0x80, 0x8AC, 0x8A8, 0x8A4, 0x1D8, 0x1D9, 0x1DA},
  636. {
  637. 110, 5550, 3700, 0x71, 0x02, 0x2B, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  638. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  639. 0x00, 0x80, 0x8B0, 0x8AC, 0x8A8, 0x1D7, 0x1D8, 0x1D9},
  640. {
  641. 112, 5560, 3707, 0x71, 0x02, 0x2C, 0x05, 0x34, 0x01, 0x04, 0x0A,
  642. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  643. 0x00, 0x80, 0x8B4, 0x8B0, 0x8AC, 0x1D7, 0x1D7, 0x1D8},
  644. {
  645. 114, 5570, 3713, 0x71, 0x02, 0x2D, 0x05, 0x34, 0x01, 0x04, 0x0A,
  646. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  647. 0x00, 0x80, 0x8B8, 0x8B4, 0x8B0, 0x1D6, 0x1D7, 0x1D7},
  648. {
  649. 116, 5580, 3720, 0x71, 0x02, 0x2E, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  650. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  651. 0x00, 0x80, 0x8BC, 0x8B8, 0x8B4, 0x1D5, 0x1D6, 0x1D7},
  652. {
  653. 118, 5590, 3727, 0x71, 0x02, 0x2F, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  654. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  655. 0x00, 0x80, 0x8C0, 0x8BC, 0x8B8, 0x1D4, 0x1D5, 0x1D6},
  656. {
  657. 120, 5600, 3733, 0x71, 0x02, 0x30, 0x04, 0x28, 0x01, 0x04, 0x0A,
  658. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  659. 0x00, 0x80, 0x8C4, 0x8C0, 0x8BC, 0x1D3, 0x1D4, 0x1D5},
  660. {
  661. 122, 5610, 3740, 0x71, 0x02, 0x31, 0x04, 0x28, 0x01, 0x04, 0x0A,
  662. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  663. 0x00, 0x80, 0x8C8, 0x8C4, 0x8C0, 0x1D2, 0x1D3, 0x1D4},
  664. {
  665. 124, 5620, 3747, 0x71, 0x02, 0x32, 0x04, 0x21, 0x01, 0x04, 0x0A,
  666. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  667. 0x00, 0x80, 0x8CC, 0x8C8, 0x8C4, 0x1D2, 0x1D2, 0x1D3},
  668. {
  669. 126, 5630, 3753, 0x71, 0x02, 0x33, 0x04, 0x21, 0x01, 0x04, 0x0A,
  670. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  671. 0x00, 0x80, 0x8D0, 0x8CC, 0x8C8, 0x1D1, 0x1D2, 0x1D2},
  672. {
  673. 128, 5640, 3760, 0x71, 0x02, 0x34, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  674. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  675. 0x00, 0x80, 0x8D4, 0x8D0, 0x8CC, 0x1D0, 0x1D1, 0x1D2},
  676. {
  677. 130, 5650, 3767, 0x71, 0x02, 0x35, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  678. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  679. 0x00, 0x80, 0x8D8, 0x8D4, 0x8D0, 0x1CF, 0x1D0, 0x1D1},
  680. {
  681. 132, 5660, 3773, 0x71, 0x02, 0x36, 0x03, 0x16, 0x01, 0x04, 0x0A,
  682. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  683. 0x00, 0x80, 0x8DC, 0x8D8, 0x8D4, 0x1CE, 0x1CF, 0x1D0},
  684. {
  685. 134, 5670, 3780, 0x71, 0x02, 0x37, 0x03, 0x16, 0x01, 0x04, 0x0A,
  686. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  687. 0x00, 0x80, 0x8E0, 0x8DC, 0x8D8, 0x1CE, 0x1CE, 0x1CF},
  688. {
  689. 136, 5680, 3787, 0x71, 0x02, 0x38, 0x03, 0x10, 0x01, 0x04, 0x0A,
  690. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  691. 0x00, 0x80, 0x8E4, 0x8E0, 0x8DC, 0x1CD, 0x1CE, 0x1CE},
  692. {
  693. 138, 5690, 3793, 0x71, 0x02, 0x39, 0x03, 0x10, 0x01, 0x04, 0x0A,
  694. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  695. 0x00, 0x80, 0x8E8, 0x8E4, 0x8E0, 0x1CC, 0x1CD, 0x1CE},
  696. {
  697. 140, 5700, 3800, 0x71, 0x02, 0x3A, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  698. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  699. 0x00, 0x80, 0x8EC, 0x8E8, 0x8E4, 0x1CB, 0x1CC, 0x1CD},
  700. {
  701. 142, 5710, 3807, 0x71, 0x02, 0x3B, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  702. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  703. 0x00, 0x80, 0x8F0, 0x8EC, 0x8E8, 0x1CA, 0x1CB, 0x1CC},
  704. {
  705. 144, 5720, 3813, 0x71, 0x02, 0x3C, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  706. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  707. 0x00, 0x80, 0x8F4, 0x8F0, 0x8EC, 0x1C9, 0x1CA, 0x1CB},
  708. {
  709. 145, 5725, 3817, 0x72, 0x04, 0x79, 0x02, 0x03, 0x01, 0x03, 0x14,
  710. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  711. 0x00, 0x80, 0x8F6, 0x8F2, 0x8EE, 0x1C9, 0x1CA, 0x1CB},
  712. {
  713. 146, 5730, 3820, 0x71, 0x02, 0x3D, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  714. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  715. 0x00, 0x80, 0x8F8, 0x8F4, 0x8F0, 0x1C9, 0x1C9, 0x1CA},
  716. {
  717. 147, 5735, 3823, 0x72, 0x04, 0x7B, 0x02, 0x03, 0x01, 0x03, 0x14,
  718. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  719. 0x00, 0x80, 0x8FA, 0x8F6, 0x8F2, 0x1C8, 0x1C9, 0x1CA},
  720. {
  721. 148, 5740, 3827, 0x71, 0x02, 0x3E, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  722. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  723. 0x00, 0x80, 0x8FC, 0x8F8, 0x8F4, 0x1C8, 0x1C9, 0x1C9},
  724. {
  725. 149, 5745, 3830, 0x72, 0x04, 0x7D, 0x02, 0xFE, 0x00, 0x03, 0x14,
  726. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  727. 0x00, 0x80, 0x8FE, 0x8FA, 0x8F6, 0x1C8, 0x1C8, 0x1C9},
  728. {
  729. 150, 5750, 3833, 0x71, 0x02, 0x3F, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  730. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  731. 0x00, 0x80, 0x900, 0x8FC, 0x8F8, 0x1C7, 0x1C8, 0x1C9},
  732. {
  733. 151, 5755, 3837, 0x72, 0x04, 0x7F, 0x02, 0xFE, 0x00, 0x03, 0x14,
  734. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  735. 0x00, 0x80, 0x902, 0x8FE, 0x8FA, 0x1C7, 0x1C8, 0x1C8},
  736. {
  737. 152, 5760, 3840, 0x71, 0x02, 0x40, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  738. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  739. 0x00, 0x80, 0x904, 0x900, 0x8FC, 0x1C6, 0x1C7, 0x1C8},
  740. {
  741. 153, 5765, 3843, 0x72, 0x04, 0x81, 0x02, 0xF8, 0x00, 0x03, 0x14,
  742. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  743. 0x00, 0x80, 0x906, 0x902, 0x8FE, 0x1C6, 0x1C7, 0x1C8},
  744. {
  745. 154, 5770, 3847, 0x71, 0x02, 0x41, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  746. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  747. 0x00, 0x80, 0x908, 0x904, 0x900, 0x1C6, 0x1C6, 0x1C7},
  748. {
  749. 155, 5775, 3850, 0x72, 0x04, 0x83, 0x02, 0xF8, 0x00, 0x03, 0x14,
  750. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  751. 0x00, 0x80, 0x90A, 0x906, 0x902, 0x1C5, 0x1C6, 0x1C7},
  752. {
  753. 156, 5780, 3853, 0x71, 0x02, 0x42, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  754. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  755. 0x00, 0x80, 0x90C, 0x908, 0x904, 0x1C5, 0x1C6, 0x1C6},
  756. {
  757. 157, 5785, 3857, 0x72, 0x04, 0x85, 0x02, 0xF2, 0x00, 0x03, 0x14,
  758. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  759. 0x00, 0x80, 0x90E, 0x90A, 0x906, 0x1C4, 0x1C5, 0x1C6},
  760. {
  761. 158, 5790, 3860, 0x71, 0x02, 0x43, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  762. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  763. 0x00, 0x80, 0x910, 0x90C, 0x908, 0x1C4, 0x1C5, 0x1C6},
  764. {
  765. 159, 5795, 3863, 0x72, 0x04, 0x87, 0x02, 0xF2, 0x00, 0x03, 0x14,
  766. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  767. 0x00, 0x80, 0x912, 0x90E, 0x90A, 0x1C4, 0x1C4, 0x1C5},
  768. {
  769. 160, 5800, 3867, 0x71, 0x02, 0x44, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  770. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  771. 0x00, 0x80, 0x914, 0x910, 0x90C, 0x1C3, 0x1C4, 0x1C5},
  772. {
  773. 161, 5805, 3870, 0x72, 0x04, 0x89, 0x01, 0xED, 0x00, 0x03, 0x14,
  774. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  775. 0x00, 0x80, 0x916, 0x912, 0x90E, 0x1C3, 0x1C4, 0x1C4},
  776. {
  777. 162, 5810, 3873, 0x71, 0x02, 0x45, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  778. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  779. 0x00, 0x80, 0x918, 0x914, 0x910, 0x1C2, 0x1C3, 0x1C4},
  780. {
  781. 163, 5815, 3877, 0x72, 0x04, 0x8B, 0x01, 0xED, 0x00, 0x03, 0x14,
  782. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  783. 0x00, 0x80, 0x91A, 0x916, 0x912, 0x1C2, 0x1C3, 0x1C4},
  784. {
  785. 164, 5820, 3880, 0x71, 0x02, 0x46, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  786. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  787. 0x00, 0x80, 0x91C, 0x918, 0x914, 0x1C2, 0x1C2, 0x1C3},
  788. {
  789. 165, 5825, 3883, 0x72, 0x04, 0x8D, 0x01, 0xED, 0x00, 0x03, 0x14,
  790. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  791. 0x00, 0x80, 0x91E, 0x91A, 0x916, 0x1C1, 0x1C2, 0x1C3},
  792. {
  793. 166, 5830, 3887, 0x71, 0x02, 0x47, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  794. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  795. 0x00, 0x80, 0x920, 0x91C, 0x918, 0x1C1, 0x1C2, 0x1C2},
  796. {
  797. 168, 5840, 3893, 0x71, 0x02, 0x48, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  798. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  799. 0x00, 0x80, 0x924, 0x920, 0x91C, 0x1C0, 0x1C1, 0x1C2},
  800. {
  801. 170, 5850, 3900, 0x71, 0x02, 0x49, 0x01, 0xE0, 0x00, 0x04, 0x0A,
  802. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  803. 0x00, 0x80, 0x928, 0x924, 0x920, 0x1BF, 0x1C0, 0x1C1},
  804. {
  805. 172, 5860, 3907, 0x71, 0x02, 0x4A, 0x01, 0xDE, 0x00, 0x04, 0x0A,
  806. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  807. 0x00, 0x80, 0x92C, 0x928, 0x924, 0x1BF, 0x1BF, 0x1C0},
  808. {
  809. 174, 5870, 3913, 0x71, 0x02, 0x4B, 0x00, 0xDB, 0x00, 0x04, 0x0A,
  810. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  811. 0x00, 0x80, 0x930, 0x92C, 0x928, 0x1BE, 0x1BF, 0x1BF},
  812. {
  813. 176, 5880, 3920, 0x71, 0x02, 0x4C, 0x00, 0xD8, 0x00, 0x04, 0x0A,
  814. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  815. 0x00, 0x80, 0x934, 0x930, 0x92C, 0x1BD, 0x1BE, 0x1BF},
  816. {
  817. 178, 5890, 3927, 0x71, 0x02, 0x4D, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  818. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  819. 0x00, 0x80, 0x938, 0x934, 0x930, 0x1BC, 0x1BD, 0x1BE},
  820. {
  821. 180, 5900, 3933, 0x71, 0x02, 0x4E, 0x00, 0xD3, 0x00, 0x04, 0x0A,
  822. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  823. 0x00, 0x80, 0x93C, 0x938, 0x934, 0x1BC, 0x1BC, 0x1BD},
  824. {
  825. 182, 5910, 3940, 0x71, 0x02, 0x4F, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  826. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  827. 0x00, 0x80, 0x940, 0x93C, 0x938, 0x1BB, 0x1BC, 0x1BC},
  828. {
  829. 1, 2412, 3216, 0x73, 0x09, 0x6C, 0x0F, 0x00, 0x01, 0x07, 0x15,
  830. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0D, 0x0C, 0x80, 0xFF, 0x88, 0x0D,
  831. 0x0C, 0x80, 0x3C9, 0x3C5, 0x3C1, 0x43A, 0x43F, 0x443},
  832. {
  833. 2, 2417, 3223, 0x73, 0x09, 0x71, 0x0F, 0x00, 0x01, 0x07, 0x15,
  834. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0B, 0x80, 0xFF, 0x88, 0x0C,
  835. 0x0B, 0x80, 0x3CB, 0x3C7, 0x3C3, 0x438, 0x43D, 0x441},
  836. {
  837. 3, 2422, 3229, 0x73, 0x09, 0x76, 0x0F, 0x00, 0x01, 0x07, 0x15,
  838. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  839. 0x0A, 0x80, 0x3CD, 0x3C9, 0x3C5, 0x436, 0x43A, 0x43F},
  840. {
  841. 4, 2427, 3236, 0x73, 0x09, 0x7B, 0x0F, 0x00, 0x01, 0x07, 0x15,
  842. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  843. 0x0A, 0x80, 0x3CF, 0x3CB, 0x3C7, 0x434, 0x438, 0x43D},
  844. {
  845. 5, 2432, 3243, 0x73, 0x09, 0x80, 0x0F, 0x00, 0x01, 0x07, 0x15,
  846. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x09, 0x80, 0xFF, 0x88, 0x0C,
  847. 0x09, 0x80, 0x3D1, 0x3CD, 0x3C9, 0x431, 0x436, 0x43A},
  848. {
  849. 6, 2437, 3249, 0x73, 0x09, 0x85, 0x0F, 0x00, 0x01, 0x07, 0x15,
  850. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0B, 0x08, 0x80, 0xFF, 0x88, 0x0B,
  851. 0x08, 0x80, 0x3D3, 0x3CF, 0x3CB, 0x42F, 0x434, 0x438},
  852. {
  853. 7, 2442, 3256, 0x73, 0x09, 0x8A, 0x0F, 0x00, 0x01, 0x07, 0x15,
  854. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x07, 0x80, 0xFF, 0x88, 0x0A,
  855. 0x07, 0x80, 0x3D5, 0x3D1, 0x3CD, 0x42D, 0x431, 0x436},
  856. {
  857. 8, 2447, 3263, 0x73, 0x09, 0x8F, 0x0F, 0x00, 0x01, 0x07, 0x15,
  858. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x06, 0x80, 0xFF, 0x88, 0x0A,
  859. 0x06, 0x80, 0x3D7, 0x3D3, 0x3CF, 0x42B, 0x42F, 0x434},
  860. {
  861. 9, 2452, 3269, 0x73, 0x09, 0x94, 0x0F, 0x00, 0x01, 0x07, 0x15,
  862. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x09, 0x06, 0x80, 0xFF, 0x88, 0x09,
  863. 0x06, 0x80, 0x3D9, 0x3D5, 0x3D1, 0x429, 0x42D, 0x431},
  864. {
  865. 10, 2457, 3276, 0x73, 0x09, 0x99, 0x0F, 0x00, 0x01, 0x07, 0x15,
  866. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x05, 0x80, 0xFF, 0x88, 0x08,
  867. 0x05, 0x80, 0x3DB, 0x3D7, 0x3D3, 0x427, 0x42B, 0x42F},
  868. {
  869. 11, 2462, 3283, 0x73, 0x09, 0x9E, 0x0F, 0x00, 0x01, 0x07, 0x15,
  870. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x04, 0x80, 0xFF, 0x88, 0x08,
  871. 0x04, 0x80, 0x3DD, 0x3D9, 0x3D5, 0x424, 0x429, 0x42D},
  872. {
  873. 12, 2467, 3289, 0x73, 0x09, 0xA3, 0x0F, 0x00, 0x01, 0x07, 0x15,
  874. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x03, 0x80, 0xFF, 0x88, 0x08,
  875. 0x03, 0x80, 0x3DF, 0x3DB, 0x3D7, 0x422, 0x427, 0x42B},
  876. {
  877. 13, 2472, 3296, 0x73, 0x09, 0xA8, 0x0F, 0x00, 0x01, 0x07, 0x15,
  878. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x03, 0x80, 0xFF, 0x88, 0x07,
  879. 0x03, 0x80, 0x3E1, 0x3DD, 0x3D9, 0x420, 0x424, 0x429},
  880. {
  881. 14, 2484, 3312, 0x73, 0x09, 0xB4, 0x0F, 0xFF, 0x01, 0x07, 0x15,
  882. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x01, 0x80, 0xFF, 0x88, 0x07,
  883. 0x01, 0x80, 0x3E6, 0x3E2, 0x3DE, 0x41B, 0x41F, 0x424}
  884. };
  885. static const struct chan_info_nphy_radio205x chan_info_nphyrev3_2056[] = {
  886. {
  887. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  888. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  889. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  890. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  891. {
  892. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  893. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  894. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  895. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  896. {
  897. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  898. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  899. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  900. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  901. {
  902. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  903. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  904. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  905. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  906. {
  907. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  908. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  909. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  910. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  911. {
  912. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  913. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  914. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  915. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  916. {
  917. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  918. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  919. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  920. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  921. {
  922. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  923. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  924. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  925. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  926. {
  927. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  928. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  929. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  930. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  931. {
  932. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  933. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  934. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  935. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  936. {
  937. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  938. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  939. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  940. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  941. {
  942. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  943. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  944. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  945. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  946. {
  947. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  948. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  949. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  950. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  951. {
  952. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  953. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  954. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  955. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  956. {
  957. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  958. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  959. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  960. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  961. {
  962. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  963. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  964. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  965. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  966. {
  967. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  968. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  969. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  970. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  971. {
  972. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  973. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  974. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  975. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  976. {
  977. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  978. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  979. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  980. 0x00, 0xff, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  981. {
  982. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  983. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  984. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  985. 0x00, 0xfc, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  986. {
  987. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  988. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  989. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  990. 0x00, 0xfc, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  991. {
  992. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  993. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  994. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  995. 0x00, 0xfc, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  996. {
  997. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  998. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  999. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1000. 0x00, 0xfc, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1001. {
  1002. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1003. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1004. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1005. 0x00, 0xfc, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1006. {
  1007. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1008. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1009. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1010. 0x00, 0xfc, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1011. {
  1012. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1013. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1014. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1015. 0x00, 0xfc, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1016. {
  1017. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1018. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1019. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1020. 0x00, 0xfc, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1021. {
  1022. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1023. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x06, 0x00, 0x7f,
  1024. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1025. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1026. {
  1027. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1028. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1029. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1030. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1031. {
  1032. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1033. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1034. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1035. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1036. {
  1037. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1038. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1039. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1040. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1041. {
  1042. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1043. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1044. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1045. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1046. {
  1047. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1048. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1049. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1050. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1051. {
  1052. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1053. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1054. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1055. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1056. {
  1057. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1058. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1059. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1060. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1061. {
  1062. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1063. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1064. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1065. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1066. {
  1067. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1068. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1069. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1070. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1071. {
  1072. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1073. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1074. 0x00, 0x09, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1075. 0x00, 0xfc, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1076. {
  1077. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1078. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1079. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1080. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1081. {
  1082. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1083. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1084. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1085. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1086. {
  1087. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1088. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1089. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1090. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1091. {
  1092. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1093. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1094. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1095. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1096. {
  1097. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1098. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1099. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1100. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1101. {
  1102. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1103. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1104. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1105. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1106. {
  1107. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1108. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1109. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1110. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1111. {
  1112. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1113. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1114. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1115. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1116. {
  1117. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1118. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x05, 0x00, 0x7f,
  1119. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1120. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1121. {
  1122. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1123. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1124. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1125. 0x00, 0xfa, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1126. {
  1127. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1128. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1129. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1130. 0x00, 0xfa, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1131. {
  1132. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1133. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1134. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1135. 0x00, 0xfa, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1136. {
  1137. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1138. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1139. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1140. 0x00, 0xfa, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1141. {
  1142. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1143. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x04, 0x00, 0x7f,
  1144. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1145. 0x00, 0xfa, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1146. {
  1147. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1148. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x04, 0x00, 0x7f,
  1149. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1150. 0x00, 0xfa, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1151. {
  1152. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1153. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1154. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1155. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1156. {
  1157. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1158. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1159. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1160. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1161. {
  1162. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1163. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x04, 0x00, 0x7f,
  1164. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1165. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1166. {
  1167. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1168. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x04, 0x00, 0x7f,
  1169. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1170. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1171. {
  1172. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1173. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x03, 0x00, 0x7f,
  1174. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1175. 0x00, 0xf8, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1176. {
  1177. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1178. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1179. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1180. 0x00, 0xf8, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1181. {
  1182. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1183. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1184. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1185. 0x00, 0xf8, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1186. {
  1187. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1188. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1189. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1190. 0x00, 0xf8, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1191. {
  1192. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1193. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1194. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1195. 0x00, 0xf8, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1196. {
  1197. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1198. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1199. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1200. 0x00, 0xf8, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1201. {
  1202. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1203. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x03, 0x00, 0x7f,
  1204. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1205. 0x00, 0xf8, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1206. {
  1207. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1208. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x03, 0x00, 0x7f,
  1209. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1210. 0x00, 0xf8, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1211. {
  1212. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1213. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1214. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1215. 0x00, 0xf8, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1216. {
  1217. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1218. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1219. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1220. 0x00, 0xf8, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1221. {
  1222. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1223. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1224. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1225. 0x00, 0xf8, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1226. {
  1227. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1228. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1229. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1230. 0x00, 0xf8, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1231. {
  1232. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1233. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1234. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1235. 0x00, 0xf8, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1236. {
  1237. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1238. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1239. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1240. 0x00, 0xf8, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1241. {
  1242. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1243. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1244. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1245. 0x00, 0xf8, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1246. {
  1247. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1248. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1249. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1250. 0x00, 0xf8, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1251. {
  1252. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1253. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1254. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1255. 0x00, 0xf6, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1256. {
  1257. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1258. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1259. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1260. 0x00, 0xf6, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1261. {
  1262. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1263. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1264. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1265. 0x00, 0xf6, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1266. {
  1267. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1268. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1269. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1270. 0x00, 0xf6, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1271. {
  1272. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1273. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1274. 0x00, 0x06, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1275. 0x00, 0xf6, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1276. {
  1277. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1278. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1279. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1280. 0x00, 0xf4, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1281. {
  1282. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1283. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1284. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1285. 0x00, 0xf4, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1286. {
  1287. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1288. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1289. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1290. 0x00, 0xf4, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1291. {
  1292. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1293. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1294. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1295. 0x00, 0xf4, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1296. {
  1297. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1298. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1299. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1300. 0x00, 0xf4, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1301. {
  1302. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1303. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1304. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1305. 0x00, 0xf4, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1306. {
  1307. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1308. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1309. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1310. 0x00, 0xf4, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1311. {
  1312. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1313. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1314. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1315. 0x00, 0xf4, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1316. {
  1317. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1318. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1319. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1320. 0x00, 0xf4, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1321. {
  1322. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1323. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1324. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1325. 0x00, 0xf4, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1326. {
  1327. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1328. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1329. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1330. 0x00, 0xf4, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1331. {
  1332. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1333. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1334. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1335. 0x00, 0xf4, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1336. {
  1337. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1338. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1339. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1340. 0x00, 0xf4, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1341. {
  1342. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1343. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1344. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1345. 0x00, 0xf4, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1346. {
  1347. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1348. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1349. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1350. 0x00, 0xf4, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1351. {
  1352. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1353. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1354. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1355. 0x00, 0xf4, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1356. {
  1357. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1358. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1359. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1360. 0x00, 0xf4, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1361. {
  1362. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1363. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1364. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1365. 0x00, 0xf4, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1366. {
  1367. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1368. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1369. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1370. 0x00, 0xf4, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1371. {
  1372. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1373. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1374. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1375. 0x00, 0xf4, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1376. {
  1377. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1378. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1379. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1380. 0x00, 0xf4, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  1381. {
  1382. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1383. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1384. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1385. 0x00, 0xf4, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  1386. {
  1387. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1388. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1389. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1390. 0x00, 0xf4, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  1391. {
  1392. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1393. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1394. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1395. 0x00, 0xf4, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  1396. {
  1397. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1398. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1399. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1400. 0x00, 0xf4, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  1401. {
  1402. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1403. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1404. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1405. 0x00, 0xf4, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  1406. {
  1407. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1408. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1409. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1410. 0x00, 0xf2, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  1411. {
  1412. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1413. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1414. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1415. 0x00, 0xf2, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  1416. {
  1417. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1418. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1419. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1420. 0x00, 0xf2, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  1421. {
  1422. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1423. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1424. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1425. 0x00, 0xf2, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  1426. {
  1427. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1428. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1429. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1430. 0x00, 0xf2, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  1431. {
  1432. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1433. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  1434. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1435. 0x00, 0xf2, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  1436. {
  1437. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  1438. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1439. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1440. 0x0f, 0x00, 0x0f, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  1441. {
  1442. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  1443. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1444. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1445. 0x0f, 0x00, 0x0f, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  1446. {
  1447. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  1448. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1449. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1450. 0x0f, 0x00, 0x0f, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  1451. {
  1452. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  1453. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x05, 0x00,
  1454. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfd, 0x00, 0x05, 0x00, 0x70, 0x00,
  1455. 0x0f, 0x00, 0x0f, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  1456. {
  1457. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  1458. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x05, 0x00,
  1459. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfb, 0x00, 0x05, 0x00, 0x70, 0x00,
  1460. 0x0f, 0x00, 0x0f, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  1461. {
  1462. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  1463. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x05, 0x00,
  1464. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x05, 0x00, 0x70, 0x00,
  1465. 0x0f, 0x00, 0x0f, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  1466. {
  1467. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  1468. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x05, 0x00,
  1469. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x05, 0x00, 0x70, 0x00,
  1470. 0x0f, 0x00, 0x0f, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  1471. {
  1472. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  1473. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x05, 0x00,
  1474. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf7, 0x00, 0x05, 0x00, 0x70, 0x00,
  1475. 0x0f, 0x00, 0x0f, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  1476. {
  1477. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  1478. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x05, 0x00,
  1479. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf6, 0x00, 0x05, 0x00, 0x70, 0x00,
  1480. 0x0f, 0x00, 0x0f, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  1481. {
  1482. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  1483. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x05, 0x00,
  1484. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf5, 0x00, 0x05, 0x00, 0x70, 0x00,
  1485. 0x0f, 0x00, 0x0d, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  1486. {
  1487. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  1488. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x05, 0x00,
  1489. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x70, 0x00,
  1490. 0x0f, 0x00, 0x0d, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  1491. {
  1492. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  1493. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x05, 0x00,
  1494. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf3, 0x00, 0x05, 0x00, 0x70, 0x00,
  1495. 0x0f, 0x00, 0x0d, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  1496. {
  1497. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  1498. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x05, 0x00,
  1499. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x70, 0x00,
  1500. 0x0f, 0x00, 0x0d, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  1501. {
  1502. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  1503. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x05, 0x00,
  1504. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf0, 0x00, 0x05, 0x00, 0x70, 0x00,
  1505. 0x0f, 0x00, 0x0d, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  1506. };
  1507. static const struct chan_info_nphy_radio205x chan_info_nphyrev4_2056_A1[] = {
  1508. {
  1509. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1510. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1511. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1512. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  1513. {
  1514. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1515. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1516. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1517. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  1518. {
  1519. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1520. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1521. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1522. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  1523. {
  1524. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1525. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1526. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1527. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  1528. {
  1529. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1530. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1531. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1532. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  1533. {
  1534. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1535. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1536. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1537. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  1538. {
  1539. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1540. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1541. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1542. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  1543. {
  1544. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1545. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1546. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1547. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  1548. {
  1549. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1550. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1551. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1552. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  1553. {
  1554. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1555. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1556. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1557. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  1558. {
  1559. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1560. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1561. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1562. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  1563. {
  1564. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1565. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1566. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1567. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  1568. {
  1569. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1570. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1571. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1572. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  1573. {
  1574. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1575. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1576. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1577. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  1578. {
  1579. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1580. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1581. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1582. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  1583. {
  1584. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1585. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1586. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1587. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  1588. {
  1589. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1590. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1591. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1592. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  1593. {
  1594. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1595. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1596. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1597. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  1598. {
  1599. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1600. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1601. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1602. 0x00, 0xfe, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  1603. {
  1604. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1605. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1606. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1607. 0x00, 0xfe, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  1608. {
  1609. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1610. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1611. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1612. 0x00, 0xfe, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  1613. {
  1614. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1615. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1616. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1617. 0x00, 0xfe, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  1618. {
  1619. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1620. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1621. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1622. 0x00, 0xfe, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1623. {
  1624. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1625. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1626. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1627. 0x00, 0xfe, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1628. {
  1629. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1630. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1631. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1632. 0x00, 0xfe, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1633. {
  1634. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1635. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1636. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1637. 0x00, 0xfe, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1638. {
  1639. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1640. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1641. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1642. 0x00, 0xfe, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1643. {
  1644. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1645. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0a, 0x00, 0x7f,
  1646. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1647. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1648. {
  1649. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1650. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1651. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1652. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1653. {
  1654. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1655. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1656. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1657. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1658. {
  1659. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1660. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1661. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1662. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1663. {
  1664. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1665. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1666. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1667. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1668. {
  1669. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1670. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1671. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1672. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1673. {
  1674. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1675. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1676. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1677. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1678. {
  1679. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1680. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1681. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1682. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1683. {
  1684. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1685. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1686. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1687. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1688. {
  1689. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1690. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1691. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1692. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1693. {
  1694. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1695. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1696. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1697. 0x00, 0xfa, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1698. {
  1699. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1700. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1701. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1702. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1703. {
  1704. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1705. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1706. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1707. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1708. {
  1709. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1710. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1711. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1712. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1713. {
  1714. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1715. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1716. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1717. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1718. {
  1719. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1720. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1721. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1722. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1723. {
  1724. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1725. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1726. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1727. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1728. {
  1729. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1730. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1731. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1732. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1733. {
  1734. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1735. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1736. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1737. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1738. {
  1739. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1740. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x08, 0x00, 0x7f,
  1741. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1742. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1743. {
  1744. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1745. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1746. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1747. 0x00, 0xf8, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1748. {
  1749. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1750. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1751. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1752. 0x00, 0xf8, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1753. {
  1754. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1755. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1756. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1757. 0x00, 0xf8, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1758. {
  1759. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1760. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1761. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1762. 0x00, 0xf8, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1763. {
  1764. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1765. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x07, 0x00, 0x7f,
  1766. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1767. 0x00, 0xf8, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1768. {
  1769. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1770. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x07, 0x00, 0x7f,
  1771. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1772. 0x00, 0xf8, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1773. {
  1774. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1775. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1776. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1777. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1778. {
  1779. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1780. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1781. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1782. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1783. {
  1784. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1785. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x07, 0x00, 0x7f,
  1786. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1787. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1788. {
  1789. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1790. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x07, 0x00, 0x7f,
  1791. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1792. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1793. {
  1794. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1795. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x06, 0x00, 0x7f,
  1796. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x5c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1797. 0x00, 0xf6, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1798. {
  1799. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1800. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1801. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1802. 0x00, 0xf6, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1803. {
  1804. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1805. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1806. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1807. 0x00, 0xf6, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1808. {
  1809. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1810. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1811. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1812. 0x00, 0xf6, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1813. {
  1814. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1815. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1816. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1817. 0x00, 0xf6, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1818. {
  1819. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1820. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1821. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1822. 0x00, 0xf6, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1823. {
  1824. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1825. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x06, 0x00, 0x7f,
  1826. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1827. 0x00, 0xf6, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1828. {
  1829. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1830. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x06, 0x00, 0x7f,
  1831. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1832. 0x00, 0xf6, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1833. {
  1834. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1835. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1836. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1837. 0x00, 0xf6, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1838. {
  1839. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1840. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1841. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1842. 0x00, 0xf6, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1843. {
  1844. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1845. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x04, 0x00, 0x7f,
  1846. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x1a, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1847. 0x00, 0xf4, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1848. {
  1849. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1850. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1851. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1852. 0x00, 0xf4, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1853. {
  1854. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1855. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1856. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1857. 0x00, 0xf4, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1858. {
  1859. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1860. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1861. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1862. 0x00, 0xf4, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1863. {
  1864. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1865. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1866. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1867. 0x00, 0xf4, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1868. {
  1869. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1870. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1871. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1872. 0x00, 0xf4, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1873. {
  1874. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1875. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1876. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1877. 0x00, 0xf4, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1878. {
  1879. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1880. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1881. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1882. 0x00, 0xf4, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1883. {
  1884. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1885. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1886. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1887. 0x00, 0xf4, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1888. {
  1889. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1890. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x04, 0x00, 0x7f,
  1891. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1892. 0x00, 0xf4, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1893. {
  1894. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1895. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1896. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1897. 0x00, 0xf2, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1898. {
  1899. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1900. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1901. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1902. 0x00, 0xf2, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1903. {
  1904. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1905. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1906. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1907. 0x00, 0xf2, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1908. {
  1909. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1910. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1911. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1912. 0x00, 0xf2, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1913. {
  1914. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1915. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1916. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1917. 0x00, 0xf2, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1918. {
  1919. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1920. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1921. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1922. 0x00, 0xf2, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1923. {
  1924. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1925. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1926. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1927. 0x00, 0xf2, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1928. {
  1929. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1930. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1931. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1932. 0x00, 0xf2, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1933. {
  1934. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1935. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1936. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1937. 0x00, 0xf2, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1938. {
  1939. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1940. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1941. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1942. 0x00, 0xf2, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1943. {
  1944. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1945. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1946. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1947. 0x00, 0xf2, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1948. {
  1949. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1950. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1951. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1952. 0x00, 0xf2, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1953. {
  1954. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1955. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1956. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1957. 0x00, 0xf2, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1958. {
  1959. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1960. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1961. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1962. 0x00, 0xf2, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1963. {
  1964. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1965. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1966. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1967. 0x00, 0xf2, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1968. {
  1969. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1970. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1971. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1972. 0x00, 0xf2, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1973. {
  1974. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1975. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1976. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1977. 0x00, 0xf2, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1978. {
  1979. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1980. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1981. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1982. 0x00, 0xf2, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1983. {
  1984. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1985. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1986. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1987. 0x00, 0xf0, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1988. {
  1989. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1990. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1991. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1992. 0x00, 0xf0, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1993. {
  1994. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1995. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1996. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1997. 0x00, 0xf0, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1998. {
  1999. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2000. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  2001. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2002. 0x00, 0xf0, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2003. {
  2004. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2005. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2006. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2007. 0x00, 0xf0, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2008. {
  2009. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2010. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2011. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2012. 0x00, 0xf0, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2013. {
  2014. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2015. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2016. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2017. 0x00, 0xf0, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2018. {
  2019. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2020. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2021. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2022. 0x00, 0xf0, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2023. {
  2024. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2025. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2026. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2027. 0x00, 0xf0, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2028. {
  2029. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2030. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2031. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2032. 0x00, 0xf0, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2033. {
  2034. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2035. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2036. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2037. 0x00, 0xf0, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2038. {
  2039. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2040. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2041. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2042. 0x00, 0xf0, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2043. {
  2044. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2045. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2046. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2047. 0x00, 0xf0, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2048. {
  2049. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2050. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  2051. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2052. 0x00, 0xf0, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2053. {
  2054. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2055. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  2056. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2057. 0x00, 0xf0, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2058. {
  2059. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2060. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2061. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2062. 0x0f, 0x00, 0x0e, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2063. {
  2064. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2065. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2066. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2067. 0x0f, 0x00, 0x0e, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2068. {
  2069. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2070. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2071. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2072. 0x0f, 0x00, 0x0e, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2073. {
  2074. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2075. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x04, 0x00,
  2076. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfd, 0x00, 0x04, 0x00, 0x70, 0x00,
  2077. 0x0f, 0x00, 0x0e, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2078. {
  2079. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2080. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x04, 0x00,
  2081. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfb, 0x00, 0x04, 0x00, 0x70, 0x00,
  2082. 0x0f, 0x00, 0x0e, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2083. {
  2084. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2085. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x04, 0x00,
  2086. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfa, 0x00, 0x04, 0x00, 0x70, 0x00,
  2087. 0x0f, 0x00, 0x0e, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2088. {
  2089. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2090. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x04, 0x00,
  2091. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf8, 0x00, 0x04, 0x00, 0x70, 0x00,
  2092. 0x0f, 0x00, 0x0e, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2093. {
  2094. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2095. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x04, 0x00,
  2096. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf7, 0x00, 0x04, 0x00, 0x70, 0x00,
  2097. 0x0f, 0x00, 0x0e, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2098. {
  2099. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2100. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x04, 0x00,
  2101. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf6, 0x00, 0x04, 0x00, 0x70, 0x00,
  2102. 0x0f, 0x00, 0x0e, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2103. {
  2104. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2105. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x04, 0x00,
  2106. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf5, 0x00, 0x04, 0x00, 0x70, 0x00,
  2107. 0x0f, 0x00, 0x0e, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2108. {
  2109. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2110. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x04, 0x00,
  2111. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x70, 0x00,
  2112. 0x0f, 0x00, 0x0e, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2113. {
  2114. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2115. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x04, 0x00,
  2116. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf3, 0x00, 0x04, 0x00, 0x70, 0x00,
  2117. 0x0f, 0x00, 0x0e, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2118. {
  2119. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2120. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x04, 0x00,
  2121. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x70, 0x00,
  2122. 0x0f, 0x00, 0x0e, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2123. {
  2124. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2125. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x04, 0x00,
  2126. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x70, 0x00,
  2127. 0x0f, 0x00, 0x0e, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2128. };
  2129. static const struct chan_info_nphy_radio205x chan_info_nphyrev5_2056v5[] = {
  2130. {
  2131. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2132. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2133. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  2134. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2135. {
  2136. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2137. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2138. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2139. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2140. {
  2141. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2142. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2143. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2144. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2145. {
  2146. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2147. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2148. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2149. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2150. {
  2151. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2152. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2153. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  2154. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2155. {
  2156. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2157. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2158. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2159. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2160. {
  2161. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2162. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2163. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2164. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2165. {
  2166. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2167. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2168. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2169. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2170. {
  2171. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2172. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2173. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2174. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2175. {
  2176. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2177. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2178. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2179. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2180. {
  2181. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2182. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2183. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  2184. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2185. {
  2186. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2187. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2188. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2189. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2190. {
  2191. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2192. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2193. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2194. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2195. {
  2196. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2197. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2198. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2199. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2200. {
  2201. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2202. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  2203. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2204. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2205. {
  2206. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2207. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  2208. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2209. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2210. {
  2211. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2212. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2213. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2214. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2215. {
  2216. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2217. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2218. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2219. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2220. {
  2221. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2222. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2223. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2224. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2225. {
  2226. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2227. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2228. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2229. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2230. {
  2231. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2232. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2233. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2234. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2235. {
  2236. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2237. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  2238. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  2239. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2240. {
  2241. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2242. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2243. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  2244. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2245. {
  2246. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2247. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2248. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  2249. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2250. {
  2251. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2252. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  2253. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2254. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2255. {
  2256. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2257. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2258. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2259. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2260. {
  2261. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2262. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2263. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2264. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2265. {
  2266. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2267. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2268. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2269. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2270. {
  2271. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2272. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2273. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2274. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2275. {
  2276. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2277. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2278. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2279. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2280. {
  2281. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2282. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xea, 0x00, 0x06, 0x00, 0x70,
  2283. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  2284. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2285. {
  2286. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2287. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2288. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2289. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2290. {
  2291. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2292. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2293. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2294. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2295. {
  2296. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2297. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xd9, 0x00, 0x05, 0x00, 0x70,
  2298. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2299. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2300. {
  2301. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2302. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xd8, 0x00, 0x04, 0x00, 0x70,
  2303. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2304. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2305. {
  2306. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2307. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2308. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2309. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2310. {
  2311. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2312. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2313. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2314. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2315. {
  2316. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2317. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2318. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2319. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2320. {
  2321. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2322. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2323. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2324. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2325. {
  2326. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2327. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb8, 0x00, 0x04, 0x00, 0x70,
  2328. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2329. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2330. {
  2331. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2332. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x04, 0x00, 0x70,
  2333. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2334. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2335. {
  2336. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2337. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x03, 0x00, 0x70,
  2338. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  2339. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2340. {
  2341. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2342. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa7, 0x00, 0x03, 0x00, 0x70,
  2343. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2344. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2345. {
  2346. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2347. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2348. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2349. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2350. {
  2351. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2352. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2353. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2354. 0x00, 0x5b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2355. {
  2356. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2357. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x96, 0x00, 0x03, 0x00, 0x70,
  2358. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2359. 0x00, 0x5a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2360. {
  2361. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2362. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x95, 0x00, 0x03, 0x00, 0x70,
  2363. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2364. 0x00, 0x5a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2365. {
  2366. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2367. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2368. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2369. 0x00, 0x5a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2370. {
  2371. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2372. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2373. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2374. 0x00, 0x5a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2375. {
  2376. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2377. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2378. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2379. 0x00, 0x5a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  2380. {
  2381. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2382. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x85, 0x00, 0x02, 0x00, 0x70,
  2383. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2384. 0x00, 0x59, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  2385. {
  2386. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2387. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2388. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2389. 0x00, 0x59, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  2390. {
  2391. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2392. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2393. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2394. 0x00, 0x59, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  2395. {
  2396. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2397. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2398. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  2399. 0x00, 0x69, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  2400. {
  2401. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2402. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x74, 0x00, 0x01, 0x00, 0x70,
  2403. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2404. 0x00, 0x69, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  2405. {
  2406. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2407. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2408. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2409. 0x00, 0x68, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  2410. {
  2411. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2412. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2413. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2414. 0x00, 0x68, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  2415. {
  2416. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2417. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2418. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2419. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  2420. {
  2421. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2422. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2423. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2424. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  2425. {
  2426. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2427. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2428. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2429. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  2430. {
  2431. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2432. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x63, 0x00, 0x01, 0x00, 0x70,
  2433. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  2434. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  2435. {
  2436. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2437. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2438. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2439. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  2440. {
  2441. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2442. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2443. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2444. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  2445. {
  2446. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2447. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2448. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2449. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  2450. {
  2451. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2452. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2453. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2454. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  2455. {
  2456. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2457. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2458. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2459. 0x00, 0x76, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  2460. {
  2461. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2462. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x51, 0x00, 0x00, 0x00, 0x70,
  2463. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2464. 0x00, 0x76, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  2465. {
  2466. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2467. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2468. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2469. 0x00, 0x76, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  2470. {
  2471. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2472. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2473. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2474. 0x00, 0x76, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  2475. {
  2476. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2477. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2478. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2479. 0x00, 0x76, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  2480. {
  2481. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2482. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2483. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2484. 0x00, 0x76, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  2485. {
  2486. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2487. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2488. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2489. 0x00, 0x75, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  2490. {
  2491. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2492. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2493. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2494. 0x00, 0x75, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  2495. {
  2496. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2497. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2498. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2499. 0x00, 0x75, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  2500. {
  2501. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2502. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2503. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2504. 0x00, 0x74, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  2505. {
  2506. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2507. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2508. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2509. 0x00, 0x74, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  2510. {
  2511. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2512. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2513. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2514. 0x00, 0x74, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  2515. {
  2516. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2517. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2518. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2519. 0x00, 0x74, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  2520. {
  2521. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2522. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2523. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2524. 0x00, 0x74, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  2525. {
  2526. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2527. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2528. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2529. 0x00, 0x74, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  2530. {
  2531. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  2532. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2533. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2534. 0x00, 0x74, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  2535. {
  2536. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2537. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2538. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2539. 0x00, 0x84, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  2540. {
  2541. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2542. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2543. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2544. 0x00, 0x83, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  2545. {
  2546. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2547. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2548. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2549. 0x00, 0x83, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  2550. {
  2551. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2552. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2553. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2554. 0x00, 0x83, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  2555. {
  2556. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2557. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2558. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2559. 0x00, 0x83, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  2560. {
  2561. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  2562. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2563. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2564. 0x00, 0x83, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  2565. {
  2566. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2567. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2568. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2569. 0x00, 0x83, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  2570. {
  2571. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  2572. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2573. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2574. 0x00, 0x82, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  2575. {
  2576. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2577. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2578. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2579. 0x00, 0x82, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  2580. {
  2581. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  2582. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2583. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2584. 0x00, 0x82, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  2585. {
  2586. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2587. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2588. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2589. 0x00, 0x82, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  2590. {
  2591. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  2592. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2593. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2594. 0x00, 0x82, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  2595. {
  2596. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2597. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2598. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2599. 0x00, 0x82, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  2600. {
  2601. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  2602. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2603. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2604. 0x00, 0x82, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  2605. {
  2606. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2607. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2608. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2609. 0x00, 0x82, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  2610. {
  2611. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  2612. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2613. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2614. 0x00, 0x82, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  2615. {
  2616. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2617. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2618. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2619. 0x00, 0x82, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  2620. {
  2621. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2622. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2623. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2624. 0x00, 0x82, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2625. {
  2626. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2627. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2628. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2629. 0x00, 0x82, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2630. {
  2631. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2632. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2633. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2634. 0x00, 0x82, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2635. {
  2636. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2637. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2638. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2639. 0x00, 0x72, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2640. {
  2641. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2642. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2643. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2644. 0x00, 0x72, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2645. {
  2646. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2647. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2648. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2649. 0x00, 0x72, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2650. {
  2651. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2652. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2653. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2654. 0x00, 0x72, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2655. {
  2656. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2657. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2658. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2659. 0x00, 0x71, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2660. {
  2661. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2662. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2663. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2664. 0x00, 0x71, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2665. {
  2666. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2667. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2668. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2669. 0x00, 0x71, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2670. {
  2671. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2672. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2673. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2674. 0x00, 0x71, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2675. {
  2676. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2677. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2678. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2679. 0x00, 0x71, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2680. {
  2681. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2682. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2683. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2684. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2685. {
  2686. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2687. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2688. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2689. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2690. {
  2691. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2692. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x03, 0x00,
  2693. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0x03, 0x00, 0x70, 0x00,
  2694. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2695. {
  2696. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2697. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x03, 0x00,
  2698. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0d, 0x00, 0x03, 0x00, 0x70, 0x00,
  2699. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2700. {
  2701. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2702. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00,
  2703. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x70, 0x00,
  2704. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2705. {
  2706. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2707. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x03, 0x00,
  2708. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x03, 0x00, 0x70, 0x00,
  2709. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2710. {
  2711. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2712. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00,
  2713. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x03, 0x00, 0x70, 0x00,
  2714. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2715. {
  2716. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2717. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00,
  2718. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x08, 0x00, 0x02, 0x00, 0x70, 0x00,
  2719. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2720. {
  2721. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2722. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x07, 0x00, 0x02, 0x00,
  2723. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x07, 0x00, 0x02, 0x00, 0x70, 0x00,
  2724. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2725. {
  2726. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2727. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x06, 0x00, 0x02, 0x00,
  2728. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x06, 0x00, 0x02, 0x00, 0x70, 0x00,
  2729. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2730. {
  2731. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2732. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00,
  2733. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x05, 0x00, 0x02, 0x00, 0x70, 0x00,
  2734. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2735. {
  2736. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2737. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00,
  2738. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x70, 0x00,
  2739. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2740. {
  2741. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2742. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
  2743. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x03, 0x00, 0x02, 0x00, 0x70, 0x00,
  2744. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2745. {
  2746. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2747. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  2748. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  2749. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2750. };
  2751. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v6[] = {
  2752. {
  2753. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2754. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2755. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2756. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2757. {
  2758. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2759. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2760. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2761. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2762. {
  2763. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2764. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2765. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2766. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2767. {
  2768. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2769. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2770. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2771. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2772. {
  2773. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2774. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2775. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2776. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2777. {
  2778. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2779. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2780. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2781. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2782. {
  2783. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2784. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2785. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2786. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2787. {
  2788. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2789. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2790. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2791. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2792. {
  2793. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2794. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2795. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2796. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2797. {
  2798. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2799. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2800. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2801. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2802. {
  2803. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2804. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2805. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2806. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2807. {
  2808. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2809. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2810. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2811. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2812. {
  2813. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2814. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2815. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2816. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2817. {
  2818. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2819. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2820. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2821. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2822. {
  2823. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2824. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2825. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2826. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2827. {
  2828. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2829. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2830. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2831. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2832. {
  2833. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2834. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2835. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2836. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2837. {
  2838. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2839. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2840. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2841. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2842. {
  2843. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2844. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  2845. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2846. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2847. {
  2848. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2849. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2850. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2851. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2852. {
  2853. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2854. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2855. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2856. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2857. {
  2858. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2859. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2860. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2861. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2862. {
  2863. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2864. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  2865. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2866. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2867. {
  2868. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2869. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2870. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2871. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2872. {
  2873. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2874. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2875. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2876. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2877. {
  2878. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2879. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2880. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  2881. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2882. {
  2883. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2884. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2885. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  2886. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2887. {
  2888. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2889. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2890. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2891. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2892. {
  2893. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2894. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2895. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2896. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2897. {
  2898. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2899. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2900. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2901. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2902. {
  2903. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2904. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2905. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2906. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2907. {
  2908. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2909. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  2910. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2911. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2912. {
  2913. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2914. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  2915. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2916. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2917. {
  2918. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2919. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2920. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  2921. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2922. {
  2923. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2924. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2925. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  2926. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2927. {
  2928. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2929. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2930. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2931. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2932. {
  2933. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2934. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2935. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2936. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2937. {
  2938. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2939. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2940. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2941. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2942. {
  2943. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2944. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2945. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2946. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2947. {
  2948. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2949. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2950. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2951. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2952. {
  2953. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2954. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2955. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2956. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2957. {
  2958. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2959. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2960. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2961. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2962. {
  2963. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2964. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2965. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2966. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2967. {
  2968. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2969. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2970. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2971. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2972. {
  2973. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2974. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2975. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2976. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2977. {
  2978. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2979. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  2980. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2981. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2982. {
  2983. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2984. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2985. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2986. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2987. {
  2988. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2989. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2990. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2991. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2992. {
  2993. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2994. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  2995. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  2996. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2997. {
  2998. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2999. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  3000. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3001. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3002. {
  3003. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3004. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3005. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3006. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3007. {
  3008. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3009. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3010. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  3011. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3012. {
  3013. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3014. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3015. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3016. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3017. {
  3018. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3019. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3020. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3021. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3022. {
  3023. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3024. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  3025. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3026. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3027. {
  3028. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3029. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  3030. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3031. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3032. {
  3033. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3034. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  3035. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3036. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3037. {
  3038. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3039. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3040. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3041. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3042. {
  3043. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3044. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3045. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3046. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3047. {
  3048. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3049. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3050. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3051. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3052. {
  3053. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3054. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3055. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3056. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3057. {
  3058. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3059. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  3060. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3061. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3062. {
  3063. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3064. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3065. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3066. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3067. {
  3068. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3069. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3070. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3071. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3072. {
  3073. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3074. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  3075. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3076. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3077. {
  3078. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3079. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  3080. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3081. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3082. {
  3083. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3084. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  3085. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3086. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3087. {
  3088. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3089. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3090. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3091. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3092. {
  3093. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3094. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3095. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3096. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3097. {
  3098. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3099. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3100. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3101. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3102. {
  3103. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3104. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3105. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3106. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3107. {
  3108. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3109. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  3110. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3111. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3112. {
  3113. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3114. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3115. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3116. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3117. {
  3118. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3119. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3120. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3121. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3122. {
  3123. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3124. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  3125. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3126. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3127. {
  3128. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3129. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3130. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3131. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3132. {
  3133. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3134. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3135. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3136. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3137. {
  3138. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3139. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3140. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3141. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3142. {
  3143. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3144. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3145. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3146. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3147. {
  3148. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3149. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3150. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3151. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3152. {
  3153. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3154. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3155. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3156. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3157. {
  3158. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3159. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3160. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3161. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3162. {
  3163. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3164. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3165. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3166. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3167. {
  3168. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3169. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3170. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3171. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3172. {
  3173. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3174. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3175. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3176. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3177. {
  3178. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3179. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  3180. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3181. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3182. {
  3183. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3184. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3185. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3186. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3187. {
  3188. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3189. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3190. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3191. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3192. {
  3193. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3194. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3195. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3196. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3197. {
  3198. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3199. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3200. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3201. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3202. {
  3203. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3204. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3205. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3206. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3207. {
  3208. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3209. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3210. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3211. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3212. {
  3213. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3214. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3215. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3216. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3217. {
  3218. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3219. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3220. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3221. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3222. {
  3223. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3224. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3225. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3226. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3227. {
  3228. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3229. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3230. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3231. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3232. {
  3233. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3234. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3235. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3236. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3237. {
  3238. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3239. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3240. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3241. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3242. {
  3243. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3244. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3245. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3246. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3247. {
  3248. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3249. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3250. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3251. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3252. {
  3253. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3254. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3255. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3256. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3257. {
  3258. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3259. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3260. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3261. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3262. {
  3263. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3264. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3265. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3266. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3267. {
  3268. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3269. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3270. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3271. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3272. {
  3273. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3274. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3275. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3276. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3277. {
  3278. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3279. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3280. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3281. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3282. {
  3283. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3284. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3285. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3286. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3287. {
  3288. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3289. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3290. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3291. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3292. {
  3293. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3294. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3295. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3296. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3297. {
  3298. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3299. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3300. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3301. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3302. {
  3303. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3304. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3305. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3306. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3307. {
  3308. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3309. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3310. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3311. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3312. {
  3313. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3314. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  3315. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x67, 0x00, 0x03, 0x00, 0x70, 0x00,
  3316. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3317. {
  3318. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3319. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  3320. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x57, 0x00, 0x03, 0x00, 0x70, 0x00,
  3321. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3322. {
  3323. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3324. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  3325. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x56, 0x00, 0x03, 0x00, 0x70, 0x00,
  3326. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3327. {
  3328. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3329. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  3330. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x46, 0x00, 0x03, 0x00, 0x70, 0x00,
  3331. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3332. {
  3333. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3334. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3335. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3336. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3337. {
  3338. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3339. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3340. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3341. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3342. {
  3343. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3344. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  3345. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x23, 0x00, 0x02, 0x00, 0x70, 0x00,
  3346. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3347. {
  3348. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3349. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  3350. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x12, 0x00, 0x02, 0x00, 0x70, 0x00,
  3351. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3352. {
  3353. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3354. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  3355. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x70, 0x00,
  3356. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3357. {
  3358. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3359. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3360. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3361. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3362. {
  3363. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3364. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3365. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3366. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3367. {
  3368. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3369. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3370. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3371. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3372. };
  3373. static const struct chan_info_nphy_radio205x chan_info_nphyrev5n6_2056v7[] = {
  3374. {
  3375. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3376. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3377. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  3378. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  3379. {
  3380. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3381. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3382. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3383. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  3384. {
  3385. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3386. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3387. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3388. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  3389. {
  3390. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3391. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3392. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3393. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  3394. {
  3395. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3396. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3397. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  3398. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  3399. {
  3400. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3401. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3402. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3403. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  3404. {
  3405. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3406. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3407. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3408. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  3409. {
  3410. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3411. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3412. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3413. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  3414. {
  3415. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3416. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3417. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3418. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  3419. {
  3420. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3421. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3422. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3423. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  3424. {
  3425. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3426. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3427. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  3428. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  3429. {
  3430. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3431. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3432. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3433. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  3434. {
  3435. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3436. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3437. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3438. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  3439. {
  3440. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3441. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3442. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3443. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  3444. {
  3445. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3446. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  3447. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3448. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  3449. {
  3450. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3451. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  3452. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3453. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  3454. {
  3455. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3456. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3457. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3458. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  3459. {
  3460. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3461. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3462. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3463. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  3464. {
  3465. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3466. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3467. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3468. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  3469. {
  3470. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3471. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3472. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3473. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  3474. {
  3475. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3476. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3477. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3478. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  3479. {
  3480. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3481. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  3482. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  3483. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  3484. {
  3485. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3486. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3487. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  3488. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  3489. {
  3490. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3491. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3492. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  3493. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  3494. {
  3495. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3496. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  3497. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3498. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  3499. {
  3500. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3501. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3502. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3503. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  3504. {
  3505. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3506. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3507. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3508. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  3509. {
  3510. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3511. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3512. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3513. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  3514. {
  3515. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3516. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3517. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3518. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  3519. {
  3520. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3521. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3522. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3523. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  3524. {
  3525. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3526. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xea, 0x00, 0x06, 0x00, 0x70,
  3527. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  3528. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  3529. {
  3530. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3531. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3532. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3533. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  3534. {
  3535. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3536. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3537. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3538. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  3539. {
  3540. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3541. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xd9, 0x00, 0x05, 0x00, 0x70,
  3542. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3543. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  3544. {
  3545. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3546. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xd8, 0x00, 0x04, 0x00, 0x70,
  3547. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3548. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  3549. {
  3550. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3551. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3552. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3553. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  3554. {
  3555. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3556. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3557. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3558. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  3559. {
  3560. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3561. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3562. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3563. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  3564. {
  3565. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3566. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3567. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3568. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  3569. {
  3570. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3571. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb8, 0x00, 0x04, 0x00, 0x70,
  3572. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3573. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  3574. {
  3575. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3576. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xb7, 0x00, 0x04, 0x00, 0x70,
  3577. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3578. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  3579. {
  3580. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3581. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xb7, 0x00, 0x03, 0x00, 0x70,
  3582. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  3583. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  3584. {
  3585. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3586. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa7, 0x00, 0x03, 0x00, 0x70,
  3587. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3588. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  3589. {
  3590. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3591. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3592. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3593. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  3594. {
  3595. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3596. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3597. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3598. 0x00, 0x7b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  3599. {
  3600. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3601. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x96, 0x00, 0x03, 0x00, 0x70,
  3602. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3603. 0x00, 0x7a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  3604. {
  3605. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3606. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3607. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3608. 0x00, 0x7a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  3609. {
  3610. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3611. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3612. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3613. 0x00, 0x7a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  3614. {
  3615. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3616. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3617. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3618. 0x00, 0x7a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  3619. {
  3620. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3621. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3622. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3623. 0x00, 0x7a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3624. {
  3625. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3626. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x85, 0x00, 0x02, 0x00, 0x70,
  3627. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3628. 0x00, 0x79, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3629. {
  3630. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3631. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x70,
  3632. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3633. 0x00, 0x79, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3634. {
  3635. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3636. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3637. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3638. 0x00, 0x79, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3639. {
  3640. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3641. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3642. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  3643. 0x00, 0x79, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3644. {
  3645. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3646. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x74, 0x00, 0x01, 0x00, 0x70,
  3647. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3648. 0x00, 0x79, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3649. {
  3650. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3651. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  3652. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3653. 0x00, 0x78, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3654. {
  3655. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3656. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x01, 0x00, 0x70,
  3657. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3658. 0x00, 0x78, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3659. {
  3660. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3661. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3662. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3663. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3664. {
  3665. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3666. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3667. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3668. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3669. {
  3670. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3671. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x01, 0x00, 0x70,
  3672. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3673. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3674. {
  3675. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3676. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x63, 0x00, 0x01, 0x00, 0x70,
  3677. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  3678. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3679. {
  3680. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3681. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x62, 0x00, 0x00, 0x00, 0x70,
  3682. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3683. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3684. {
  3685. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3686. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3687. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3688. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3689. {
  3690. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3691. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3692. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3693. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3694. {
  3695. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3696. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x52, 0x00, 0x00, 0x00, 0x70,
  3697. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3698. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3699. {
  3700. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3701. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x52, 0x00, 0x00, 0x00, 0x70,
  3702. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3703. 0x00, 0x86, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3704. {
  3705. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3706. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3707. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3708. 0x00, 0x86, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3709. {
  3710. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3711. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3712. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3713. 0x00, 0x86, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3714. {
  3715. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3716. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3717. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3718. 0x00, 0x86, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3719. {
  3720. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3721. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3722. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3723. 0x00, 0x86, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3724. {
  3725. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3726. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3727. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3728. 0x00, 0x86, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3729. {
  3730. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3731. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x51, 0x00, 0x00, 0x00, 0x70,
  3732. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3733. 0x00, 0x85, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3734. {
  3735. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3736. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3737. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3738. 0x00, 0x85, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3739. {
  3740. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3741. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3742. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3743. 0x00, 0x85, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3744. {
  3745. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3746. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  3747. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3748. 0x00, 0x84, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3749. {
  3750. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3751. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3752. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3753. 0x00, 0x84, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3754. {
  3755. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3756. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3757. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3758. 0x00, 0x94, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3759. {
  3760. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3761. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3762. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3763. 0x00, 0x94, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3764. {
  3765. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3766. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3767. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3768. 0x00, 0x94, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3769. {
  3770. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3771. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3772. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3773. 0x00, 0x94, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3774. {
  3775. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3776. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3777. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3778. 0x00, 0x94, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3779. {
  3780. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3781. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3782. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3783. 0x00, 0x94, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3784. {
  3785. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3786. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3787. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3788. 0x00, 0x93, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3789. {
  3790. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3791. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3792. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3793. 0x00, 0x93, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3794. {
  3795. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3796. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3797. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3798. 0x00, 0x93, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3799. {
  3800. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3801. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3802. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3803. 0x00, 0x93, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3804. {
  3805. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3806. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x30, 0x00, 0x00, 0x00, 0x70,
  3807. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3808. 0x00, 0x93, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3809. {
  3810. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3811. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3812. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3813. 0x00, 0x93, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3814. {
  3815. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3816. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3817. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3818. 0x00, 0x92, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3819. {
  3820. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3821. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3822. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3823. 0x00, 0x92, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3824. {
  3825. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3826. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3827. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3828. 0x00, 0x92, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3829. {
  3830. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3831. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x70,
  3832. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3833. 0x00, 0x92, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3834. {
  3835. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3836. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3837. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3838. 0x00, 0x92, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3839. {
  3840. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3841. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3842. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3843. 0x00, 0x92, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3844. {
  3845. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3846. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3847. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3848. 0x00, 0x92, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3849. {
  3850. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3851. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3852. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3853. 0x00, 0x92, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3854. {
  3855. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3856. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3857. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3858. 0x00, 0x92, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3859. {
  3860. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3861. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3862. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3863. 0x00, 0x92, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3864. {
  3865. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3866. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3867. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3868. 0x00, 0x92, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3869. {
  3870. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3871. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3872. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3873. 0x00, 0x92, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3874. {
  3875. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3876. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3877. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3878. 0x00, 0x92, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3879. {
  3880. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3881. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3882. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3883. 0x00, 0x92, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3884. {
  3885. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3886. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3887. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3888. 0x00, 0x92, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3889. {
  3890. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3891. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3892. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3893. 0x00, 0x92, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3894. {
  3895. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3896. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3897. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3898. 0x00, 0x92, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3899. {
  3900. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3901. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3902. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3903. 0x00, 0x91, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3904. {
  3905. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3906. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3907. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3908. 0x00, 0x91, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3909. {
  3910. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3911. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3912. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3913. 0x00, 0x91, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3914. {
  3915. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3916. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3917. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3918. 0x00, 0x91, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3919. {
  3920. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3921. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3922. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3923. 0x00, 0x91, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3924. {
  3925. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3926. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3927. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3928. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3929. {
  3930. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3931. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3932. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3933. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3934. {
  3935. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3936. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3937. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3938. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3939. {
  3940. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3941. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3942. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3943. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3944. {
  3945. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3946. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x03, 0x00,
  3947. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  3948. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3949. {
  3950. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3951. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x76, 0x00, 0x03, 0x00,
  3952. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  3953. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3954. {
  3955. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3956. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x66, 0x00, 0x03, 0x00,
  3957. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x03, 0x00, 0x70, 0x00,
  3958. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3959. {
  3960. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3961. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x55, 0x00, 0x02, 0x00,
  3962. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  3963. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3964. {
  3965. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3966. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3967. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3968. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3969. {
  3970. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3971. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3972. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3973. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3974. {
  3975. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3976. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00,
  3977. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  3978. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3979. {
  3980. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3981. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00,
  3982. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  3983. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3984. {
  3985. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3986. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
  3987. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  3988. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3989. {
  3990. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3991. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3992. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3993. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3994. };
  3995. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v8[] = {
  3996. {
  3997. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3998. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  3999. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4000. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4001. {
  4002. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4003. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4004. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4005. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4006. {
  4007. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4008. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4009. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4010. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4011. {
  4012. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4013. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4014. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4015. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4016. {
  4017. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4018. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4019. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4020. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4021. {
  4022. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4023. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4024. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4025. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4026. {
  4027. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4028. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4029. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4030. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4031. {
  4032. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4033. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4034. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4035. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4036. {
  4037. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4038. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4039. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4040. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4041. {
  4042. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4043. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4044. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4045. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4046. {
  4047. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4048. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4049. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4050. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4051. {
  4052. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4053. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4054. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4055. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4056. {
  4057. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4058. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4059. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4060. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4061. {
  4062. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4063. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4064. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4065. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4066. {
  4067. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4068. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4069. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4070. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4071. {
  4072. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4073. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4074. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4075. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4076. {
  4077. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4078. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4079. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4080. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4081. {
  4082. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4083. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4084. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4085. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4086. {
  4087. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4088. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4089. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4090. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4091. {
  4092. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4093. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4094. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4095. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4096. {
  4097. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4098. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4099. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4100. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4101. {
  4102. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4103. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4104. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4105. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4106. {
  4107. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4108. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4109. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4110. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4111. {
  4112. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4113. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4114. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4115. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4116. {
  4117. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4118. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4119. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4120. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4121. {
  4122. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4123. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4124. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4125. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4126. {
  4127. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4128. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4129. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4130. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4131. {
  4132. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4133. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4134. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4135. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4136. {
  4137. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4138. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4139. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4140. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4141. {
  4142. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4143. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4144. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4145. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4146. {
  4147. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4148. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4149. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4150. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4151. {
  4152. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4153. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4154. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4155. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4156. {
  4157. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4158. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4159. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4160. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4161. {
  4162. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4163. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4164. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4165. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4166. {
  4167. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4168. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4169. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4170. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4171. {
  4172. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4173. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4174. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4175. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4176. {
  4177. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4178. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4179. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4180. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4181. {
  4182. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4183. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4184. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4185. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4186. {
  4187. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4188. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4189. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4190. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4191. {
  4192. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4193. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4194. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4195. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4196. {
  4197. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4198. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4199. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4200. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4201. {
  4202. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4203. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4204. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4205. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4206. {
  4207. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4208. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4209. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4210. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4211. {
  4212. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4213. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4214. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4215. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4216. {
  4217. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4218. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4219. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4220. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4221. {
  4222. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4223. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4224. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4225. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4226. {
  4227. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4228. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4229. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4230. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4231. {
  4232. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4233. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4234. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4235. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4236. {
  4237. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4238. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4239. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4240. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4241. {
  4242. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4243. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4244. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4245. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4246. {
  4247. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4248. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4249. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4250. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4251. {
  4252. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4253. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4254. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4255. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4256. {
  4257. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4258. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4259. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4260. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4261. {
  4262. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4263. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4264. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4265. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4266. {
  4267. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4268. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4269. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4270. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4271. {
  4272. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4273. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4274. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4275. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4276. {
  4277. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4278. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4279. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4280. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4281. {
  4282. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4283. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4284. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4285. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4286. {
  4287. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4288. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4289. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4290. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4291. {
  4292. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4293. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4294. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4295. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4296. {
  4297. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4298. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4299. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4300. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4301. {
  4302. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4303. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4304. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4305. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4306. {
  4307. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4308. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4309. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4310. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4311. {
  4312. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4313. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4314. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4315. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4316. {
  4317. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4318. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4319. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4320. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4321. {
  4322. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4323. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4324. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4325. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4326. {
  4327. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4328. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4329. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4330. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4331. {
  4332. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4333. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4334. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4335. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4336. {
  4337. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4338. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4339. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4340. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4341. {
  4342. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4343. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4344. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4345. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4346. {
  4347. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4348. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4349. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4350. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4351. {
  4352. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4353. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4354. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4355. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4356. {
  4357. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4358. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4359. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4360. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4361. {
  4362. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4363. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4364. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4365. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4366. {
  4367. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4368. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4369. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4370. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4371. {
  4372. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4373. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4374. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4375. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4376. {
  4377. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4378. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4379. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4380. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  4381. {
  4382. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4383. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4384. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4385. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  4386. {
  4387. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4388. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4389. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4390. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  4391. {
  4392. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4393. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4394. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4395. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  4396. {
  4397. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  4398. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4399. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4400. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  4401. {
  4402. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4403. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4404. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4405. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  4406. {
  4407. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4408. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4409. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4410. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  4411. {
  4412. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4413. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4414. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4415. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  4416. {
  4417. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4418. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4419. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4420. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  4421. {
  4422. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4423. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  4424. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4425. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  4426. {
  4427. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  4428. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4429. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4430. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  4431. {
  4432. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4433. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4434. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4435. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  4436. {
  4437. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  4438. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4439. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4440. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  4441. {
  4442. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4443. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4444. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4445. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  4446. {
  4447. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  4448. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4449. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4450. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  4451. {
  4452. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4453. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4454. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4455. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  4456. {
  4457. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  4458. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4459. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4460. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  4461. {
  4462. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4463. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4464. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4465. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  4466. {
  4467. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  4468. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4469. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4470. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  4471. {
  4472. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4473. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4474. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4475. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  4476. {
  4477. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  4478. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4479. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4480. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  4481. {
  4482. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4483. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4484. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4485. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  4486. {
  4487. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4488. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4489. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4490. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  4491. {
  4492. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4493. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4494. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4495. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  4496. {
  4497. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4498. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4499. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4500. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  4501. {
  4502. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4503. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4504. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4505. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  4506. {
  4507. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4508. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4509. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4510. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  4511. {
  4512. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4513. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4514. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4515. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  4516. {
  4517. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4518. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4519. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4520. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  4521. {
  4522. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4523. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4524. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4525. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  4526. {
  4527. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4528. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4529. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4530. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  4531. {
  4532. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4533. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4534. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4535. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  4536. {
  4537. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4538. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4539. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4540. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  4541. {
  4542. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4543. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4544. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4545. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  4546. {
  4547. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  4548. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4549. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4550. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  4551. {
  4552. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  4553. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4554. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4555. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  4556. {
  4557. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  4558. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  4559. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4560. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  4561. {
  4562. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  4563. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  4564. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  4565. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  4566. {
  4567. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  4568. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  4569. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  4570. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  4571. {
  4572. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  4573. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  4574. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  4575. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  4576. {
  4577. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  4578. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  4579. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  4580. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  4581. {
  4582. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  4583. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  4584. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  4585. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  4586. {
  4587. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  4588. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  4589. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  4590. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  4591. {
  4592. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  4593. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  4594. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  4595. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  4596. {
  4597. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  4598. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  4599. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  4600. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  4601. {
  4602. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  4603. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4604. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  4605. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  4606. {
  4607. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  4608. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4609. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  4610. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  4611. {
  4612. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  4613. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  4614. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  4615. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  4616. };
  4617. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v11[] = {
  4618. {
  4619. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4620. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4621. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4622. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4623. {
  4624. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4625. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4626. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4627. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4628. {
  4629. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4630. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4631. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4632. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4633. {
  4634. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4635. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4636. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4637. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4638. {
  4639. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4640. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4641. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4642. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4643. {
  4644. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4645. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4646. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4647. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4648. {
  4649. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4650. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4651. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4652. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4653. {
  4654. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4655. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4656. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4657. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4658. {
  4659. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4660. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4661. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4662. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4663. {
  4664. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4665. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4666. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4667. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4668. {
  4669. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4670. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4671. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4672. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4673. {
  4674. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4675. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4676. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4677. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4678. {
  4679. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4680. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4681. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4682. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4683. {
  4684. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4685. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4686. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4687. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4688. {
  4689. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4690. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4691. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4692. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4693. {
  4694. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4695. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4696. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4697. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4698. {
  4699. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4700. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4701. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4702. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4703. {
  4704. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4705. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4706. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4707. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4708. {
  4709. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4710. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4711. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4712. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4713. {
  4714. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4715. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4716. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4717. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4718. {
  4719. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4720. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4721. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4722. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4723. {
  4724. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4725. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4726. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4727. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4728. {
  4729. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4730. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4731. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4732. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4733. {
  4734. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4735. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4736. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4737. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4738. {
  4739. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4740. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4741. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4742. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4743. {
  4744. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4745. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4746. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4747. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4748. {
  4749. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4750. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4751. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4752. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4753. {
  4754. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4755. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4756. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4757. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4758. {
  4759. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4760. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4761. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4762. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4763. {
  4764. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4765. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4766. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4767. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4768. {
  4769. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4770. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4771. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4772. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4773. {
  4774. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4775. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4776. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4777. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4778. {
  4779. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4780. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4781. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4782. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4783. {
  4784. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4785. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4786. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4787. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4788. {
  4789. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4790. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4791. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4792. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4793. {
  4794. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4795. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4796. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4797. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4798. {
  4799. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4800. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4801. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4802. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4803. {
  4804. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4805. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4806. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4807. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4808. {
  4809. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4810. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4811. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4812. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4813. {
  4814. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4815. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4816. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4817. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4818. {
  4819. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4820. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4821. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4822. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4823. {
  4824. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4825. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4826. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4827. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4828. {
  4829. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4830. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4831. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4832. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4833. {
  4834. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4835. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4836. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4837. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4838. {
  4839. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4840. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4841. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4842. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4843. {
  4844. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4845. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4846. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4847. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4848. {
  4849. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4850. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4851. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4852. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4853. {
  4854. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4855. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4856. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4857. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4858. {
  4859. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4860. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4861. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4862. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4863. {
  4864. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4865. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4866. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4867. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4868. {
  4869. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4870. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4871. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4872. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4873. {
  4874. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4875. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4876. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4877. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4878. {
  4879. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4880. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4881. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4882. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4883. {
  4884. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4885. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4886. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4887. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4888. {
  4889. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4890. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4891. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4892. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4893. {
  4894. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4895. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4896. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4897. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4898. {
  4899. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4900. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4901. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4902. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4903. {
  4904. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4905. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4906. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4907. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4908. {
  4909. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4910. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4911. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4912. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4913. {
  4914. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4915. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4916. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4917. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4918. {
  4919. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4920. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4921. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4922. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4923. {
  4924. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4925. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4926. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4927. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4928. {
  4929. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4930. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4931. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4932. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4933. {
  4934. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4935. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4936. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4937. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4938. {
  4939. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4940. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4941. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4942. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4943. {
  4944. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4945. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4946. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4947. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4948. {
  4949. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4950. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4951. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4952. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4953. {
  4954. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4955. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4956. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4957. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4958. {
  4959. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4960. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4961. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4962. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4963. {
  4964. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4965. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4966. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4967. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4968. {
  4969. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4970. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4971. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4972. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4973. {
  4974. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4975. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4976. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4977. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4978. {
  4979. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4980. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4981. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4982. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4983. {
  4984. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4985. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4986. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4987. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4988. {
  4989. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4990. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4991. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4992. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4993. {
  4994. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4995. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4996. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4997. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4998. {
  4999. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5000. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5001. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5002. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  5003. {
  5004. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5005. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5006. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5007. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  5008. {
  5009. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5010. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5011. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5012. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  5013. {
  5014. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5015. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5016. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5017. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  5018. {
  5019. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x05, 0x05, 0x02, 0x15, 0x01,
  5020. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5021. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5022. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  5023. {
  5024. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5025. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5026. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5027. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  5028. {
  5029. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5030. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5031. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5032. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  5033. {
  5034. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5035. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5036. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5037. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  5038. {
  5039. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5040. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5041. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5042. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  5043. {
  5044. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5045. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  5046. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5047. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  5048. {
  5049. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x05, 0x05, 0x02, 0x15, 0x01,
  5050. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5051. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5052. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  5053. {
  5054. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5055. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5056. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5057. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  5058. {
  5059. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x05, 0x05, 0x02, 0x15, 0x01,
  5060. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5061. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5062. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  5063. {
  5064. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5065. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5066. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5067. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  5068. {
  5069. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x05, 0x05, 0x02, 0x15, 0x01,
  5070. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5071. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5072. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  5073. {
  5074. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5075. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5076. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5077. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  5078. {
  5079. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x05, 0x05, 0x02, 0x15, 0x01,
  5080. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5081. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5082. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  5083. {
  5084. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5085. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5086. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5087. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  5088. {
  5089. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x05, 0x05, 0x02, 0x15, 0x01,
  5090. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5091. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5092. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  5093. {
  5094. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5095. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5096. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5097. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  5098. {
  5099. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x05, 0x05, 0x02, 0x15, 0x01,
  5100. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5101. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5102. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  5103. {
  5104. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5105. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5106. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5107. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  5108. {
  5109. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5110. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5111. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5112. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  5113. {
  5114. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5115. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5116. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5117. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  5118. {
  5119. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5120. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5121. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5122. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  5123. {
  5124. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5125. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5126. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5127. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  5128. {
  5129. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5130. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5131. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5132. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  5133. {
  5134. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5135. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5136. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5137. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  5138. {
  5139. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5140. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5141. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5142. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  5143. {
  5144. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5145. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5146. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5147. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  5148. {
  5149. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5150. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5151. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5152. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  5153. {
  5154. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5155. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5156. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5157. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  5158. {
  5159. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5160. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5161. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5162. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  5163. {
  5164. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5165. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5166. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5167. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  5168. {
  5169. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5170. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5171. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5172. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  5173. {
  5174. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5175. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5176. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5177. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  5178. {
  5179. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5180. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  5181. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5182. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  5183. {
  5184. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5185. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  5186. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  5187. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  5188. {
  5189. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5190. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  5191. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  5192. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  5193. {
  5194. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5195. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  5196. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  5197. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  5198. {
  5199. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5200. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  5201. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  5202. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  5203. {
  5204. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5205. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  5206. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  5207. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  5208. {
  5209. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5210. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  5211. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  5212. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  5213. {
  5214. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5215. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  5216. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  5217. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  5218. {
  5219. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5220. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  5221. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  5222. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  5223. {
  5224. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5225. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5226. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  5227. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  5228. {
  5229. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5230. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5231. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  5232. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  5233. {
  5234. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5235. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  5236. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  5237. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  5238. };
  5239. static const struct chan_info_nphy_radio2057 chan_info_nphyrev7_2057_rev4[] = {
  5240. {
  5241. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  5242. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5243. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  5244. 0x0215,
  5245. 0x0216,
  5246. },
  5247. {
  5248. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  5249. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5250. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  5251. 0x0214,
  5252. 0x0215,
  5253. },
  5254. {
  5255. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  5256. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5257. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  5258. 0x0213,
  5259. 0x0214,
  5260. },
  5261. {
  5262. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  5263. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5264. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  5265. 0x0212,
  5266. 0x0213,
  5267. },
  5268. {
  5269. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  5270. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5271. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  5272. 0x0211,
  5273. 0x0212,
  5274. },
  5275. {
  5276. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  5277. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5278. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  5279. 0x020f,
  5280. 0x0211,
  5281. },
  5282. {
  5283. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  5284. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5285. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  5286. 0x020e,
  5287. 0x020f,
  5288. },
  5289. {
  5290. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  5291. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5292. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  5293. 0x020d,
  5294. 0x020e,
  5295. },
  5296. {
  5297. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  5298. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5299. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  5300. 0x020c,
  5301. 0x020d,
  5302. },
  5303. {
  5304. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  5305. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5306. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  5307. 0x020b,
  5308. 0x020c,
  5309. },
  5310. {
  5311. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  5312. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5313. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  5314. 0x020a,
  5315. 0x020b,
  5316. },
  5317. {
  5318. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  5319. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5320. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  5321. 0x0209,
  5322. 0x020a,
  5323. },
  5324. {
  5325. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  5326. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5327. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  5328. 0x0208,
  5329. 0x0209,
  5330. },
  5331. {
  5332. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  5333. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5334. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  5335. 0x0207,
  5336. 0x0208,
  5337. },
  5338. {
  5339. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  5340. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5341. 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  5342. 0x0206,
  5343. 0x0207,
  5344. },
  5345. {
  5346. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  5347. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5348. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  5349. 0x0205,
  5350. 0x0206,
  5351. },
  5352. {
  5353. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  5354. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5355. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  5356. 0x0204,
  5357. 0x0205,
  5358. },
  5359. {
  5360. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  5361. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5362. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  5363. 0x0203,
  5364. 0x0204,
  5365. },
  5366. {
  5367. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  5368. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5369. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  5370. 0x0202,
  5371. 0x0203,
  5372. },
  5373. {
  5374. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  5375. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5376. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0800, 0x07fc, 0x07f8, 0x0200,
  5377. 0x0201,
  5378. 0x0202,
  5379. },
  5380. {
  5381. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  5382. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5383. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0804, 0x0800, 0x07fc, 0x01ff,
  5384. 0x0200,
  5385. 0x0201,
  5386. },
  5387. {
  5388. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  5389. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5390. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0808, 0x0804, 0x0800, 0x01fe,
  5391. 0x01ff,
  5392. 0x0200,
  5393. },
  5394. {
  5395. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  5396. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5397. 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x080c, 0x0808, 0x0804, 0x01fd,
  5398. 0x01fe,
  5399. 0x01ff,
  5400. },
  5401. {
  5402. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  5403. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5404. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0814, 0x0810, 0x080c, 0x01fb,
  5405. 0x01fc,
  5406. 0x01fd,
  5407. },
  5408. {
  5409. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  5410. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5411. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0818, 0x0814, 0x0810, 0x01fa,
  5412. 0x01fb,
  5413. 0x01fc,
  5414. },
  5415. {
  5416. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  5417. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5418. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x081c, 0x0818, 0x0814, 0x01f9,
  5419. 0x01fa,
  5420. 0x01fb,
  5421. },
  5422. {
  5423. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  5424. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5425. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0820, 0x081c, 0x0818, 0x01f8,
  5426. 0x01f9,
  5427. 0x01fa,
  5428. },
  5429. {
  5430. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  5431. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5432. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0824, 0x0820, 0x081c, 0x01f7,
  5433. 0x01f8,
  5434. 0x01f9,
  5435. },
  5436. {
  5437. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  5438. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5439. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0828, 0x0824, 0x0820, 0x01f6,
  5440. 0x01f7,
  5441. 0x01f8,
  5442. },
  5443. {
  5444. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  5445. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5446. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x082c, 0x0828, 0x0824, 0x01f5,
  5447. 0x01f6,
  5448. 0x01f7,
  5449. },
  5450. {
  5451. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  5452. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5453. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0830, 0x082c, 0x0828, 0x01f4,
  5454. 0x01f5,
  5455. 0x01f6,
  5456. },
  5457. {
  5458. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  5459. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5460. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0834, 0x0830, 0x082c, 0x01f3,
  5461. 0x01f4,
  5462. 0x01f5,
  5463. },
  5464. {
  5465. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  5466. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5467. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0838, 0x0834, 0x0830, 0x01f2,
  5468. 0x01f3,
  5469. 0x01f4,
  5470. },
  5471. {
  5472. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  5473. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5474. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x083c, 0x0838, 0x0834, 0x01f1,
  5475. 0x01f2,
  5476. 0x01f3,
  5477. },
  5478. {
  5479. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  5480. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5481. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x0840, 0x083c, 0x0838, 0x01f0,
  5482. 0x01f1,
  5483. 0x01f2,
  5484. },
  5485. {
  5486. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  5487. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5488. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0844, 0x0840, 0x083c, 0x01f0,
  5489. 0x01f0,
  5490. 0x01f1,
  5491. },
  5492. {
  5493. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  5494. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5495. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0848, 0x0844, 0x0840, 0x01ef,
  5496. 0x01f0,
  5497. 0x01f0,
  5498. },
  5499. {
  5500. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  5501. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5502. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x084c, 0x0848, 0x0844, 0x01ee,
  5503. 0x01ef,
  5504. 0x01f0,
  5505. },
  5506. {
  5507. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  5508. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5509. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0850, 0x084c, 0x0848, 0x01ed,
  5510. 0x01ee,
  5511. 0x01ef,
  5512. },
  5513. {
  5514. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  5515. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5516. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0854, 0x0850, 0x084c, 0x01ec,
  5517. 0x01ed,
  5518. 0x01ee,
  5519. },
  5520. {
  5521. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  5522. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5523. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0858, 0x0854, 0x0850, 0x01eb,
  5524. 0x01ec,
  5525. 0x01ed,
  5526. },
  5527. {
  5528. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  5529. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x00,
  5530. 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x085c, 0x0858, 0x0854, 0x01ea,
  5531. 0x01eb,
  5532. 0x01ec,
  5533. },
  5534. {
  5535. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  5536. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5537. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0860, 0x085c, 0x0858, 0x01e9,
  5538. 0x01ea,
  5539. 0x01eb,
  5540. },
  5541. {
  5542. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  5543. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5544. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0864, 0x0860, 0x085c, 0x01e8,
  5545. 0x01e9,
  5546. 0x01ea,
  5547. },
  5548. {
  5549. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  5550. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5551. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0868, 0x0864, 0x0860, 0x01e7,
  5552. 0x01e8,
  5553. 0x01e9,
  5554. },
  5555. {
  5556. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  5557. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5558. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x086c, 0x0868, 0x0864, 0x01e6,
  5559. 0x01e7,
  5560. 0x01e8,
  5561. },
  5562. {
  5563. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  5564. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x00,
  5565. 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x0870, 0x086c, 0x0868, 0x01e5,
  5566. 0x01e6,
  5567. 0x01e7,
  5568. },
  5569. {
  5570. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  5571. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5572. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0874, 0x0870, 0x086c, 0x01e5,
  5573. 0x01e5,
  5574. 0x01e6,
  5575. },
  5576. {
  5577. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  5578. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5579. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0878, 0x0874, 0x0870, 0x01e4,
  5580. 0x01e5,
  5581. 0x01e5,
  5582. },
  5583. {
  5584. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  5585. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x00,
  5586. 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x087c, 0x0878, 0x0874, 0x01e3,
  5587. 0x01e4,
  5588. 0x01e5,
  5589. },
  5590. {
  5591. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  5592. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5593. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0880, 0x087c, 0x0878, 0x01e2,
  5594. 0x01e3,
  5595. 0x01e4,
  5596. },
  5597. {
  5598. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  5599. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5600. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0884, 0x0880, 0x087c, 0x01e1,
  5601. 0x01e2,
  5602. 0x01e3,
  5603. },
  5604. {
  5605. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  5606. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5607. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0888, 0x0884, 0x0880, 0x01e0,
  5608. 0x01e1,
  5609. 0x01e2,
  5610. },
  5611. {
  5612. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  5613. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x00,
  5614. 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x088c, 0x0888, 0x0884, 0x01df,
  5615. 0x01e0,
  5616. 0x01e1,
  5617. },
  5618. {
  5619. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  5620. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x00,
  5621. 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x0890, 0x088c, 0x0888, 0x01de,
  5622. 0x01df,
  5623. 0x01e0,
  5624. },
  5625. {
  5626. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  5627. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5628. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0894, 0x0890, 0x088c, 0x01dd,
  5629. 0x01de,
  5630. 0x01df,
  5631. },
  5632. {
  5633. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  5634. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5635. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0898, 0x0894, 0x0890, 0x01dd,
  5636. 0x01dd,
  5637. 0x01de,
  5638. },
  5639. {
  5640. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  5641. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5642. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x089c, 0x0898, 0x0894, 0x01dc,
  5643. 0x01dd,
  5644. 0x01dd,
  5645. },
  5646. {
  5647. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  5648. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5649. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x08a0, 0x089c, 0x0898, 0x01db,
  5650. 0x01dc,
  5651. 0x01dd,
  5652. },
  5653. {
  5654. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  5655. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5656. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a4, 0x08a0, 0x089c, 0x01da,
  5657. 0x01db,
  5658. 0x01dc,
  5659. },
  5660. {
  5661. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  5662. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5663. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  5664. 0x01da,
  5665. 0x01db,
  5666. },
  5667. {
  5668. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  5669. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5670. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  5671. 0x01d9,
  5672. 0x01da,
  5673. },
  5674. {
  5675. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  5676. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5677. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  5678. 0x01d8,
  5679. 0x01d9,
  5680. },
  5681. {
  5682. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  5683. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5684. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  5685. 0x01d7,
  5686. 0x01d8,
  5687. },
  5688. {
  5689. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  5690. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5691. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  5692. 0x01d7,
  5693. 0x01d7,
  5694. },
  5695. {
  5696. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  5697. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x00,
  5698. 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  5699. 0x01d6,
  5700. 0x01d7,
  5701. },
  5702. {
  5703. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  5704. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x00,
  5705. 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  5706. 0x01d5,
  5707. 0x01d6,
  5708. },
  5709. {
  5710. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  5711. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x00,
  5712. 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  5713. 0x01d4,
  5714. 0x01d5,
  5715. },
  5716. {
  5717. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  5718. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5719. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  5720. 0x01d3,
  5721. 0x01d4,
  5722. },
  5723. {
  5724. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  5725. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5726. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  5727. 0x01d2,
  5728. 0x01d3,
  5729. },
  5730. {
  5731. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  5732. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5733. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  5734. 0x01d2,
  5735. 0x01d2,
  5736. },
  5737. {
  5738. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  5739. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5740. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  5741. 0x01d1,
  5742. 0x01d2,
  5743. },
  5744. {
  5745. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  5746. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5747. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  5748. 0x01d0,
  5749. 0x01d1,
  5750. },
  5751. {
  5752. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  5753. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5754. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  5755. 0x01cf,
  5756. 0x01d0,
  5757. },
  5758. {
  5759. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  5760. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x00,
  5761. 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  5762. 0x01ce,
  5763. 0x01cf,
  5764. },
  5765. {
  5766. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  5767. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5768. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  5769. 0x01ce,
  5770. 0x01ce,
  5771. },
  5772. {
  5773. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  5774. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5775. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  5776. 0x01cd,
  5777. 0x01ce,
  5778. },
  5779. {
  5780. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  5781. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5782. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  5783. 0x01cc,
  5784. 0x01cd,
  5785. },
  5786. {
  5787. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  5788. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5789. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  5790. 0x01cb,
  5791. 0x01cc,
  5792. },
  5793. {
  5794. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  5795. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5796. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  5797. 0x01ca,
  5798. 0x01cb,
  5799. },
  5800. {
  5801. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  5802. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x00,
  5803. 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  5804. 0x01ca,
  5805. 0x01cb,
  5806. },
  5807. {
  5808. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  5809. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5810. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  5811. 0x01c9,
  5812. 0x01ca,
  5813. },
  5814. {
  5815. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  5816. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5817. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  5818. 0x01c9,
  5819. 0x01ca,
  5820. },
  5821. {
  5822. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  5823. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5824. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  5825. 0x01c9,
  5826. 0x01c9,
  5827. },
  5828. {
  5829. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  5830. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5831. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  5832. 0x01c8,
  5833. 0x01c9,
  5834. },
  5835. {
  5836. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  5837. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5838. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  5839. 0x01c8,
  5840. 0x01c9,
  5841. },
  5842. {
  5843. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  5844. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5845. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  5846. 0x01c8,
  5847. 0x01c8,
  5848. },
  5849. {
  5850. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  5851. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5852. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  5853. 0x01c7,
  5854. 0x01c8,
  5855. },
  5856. {
  5857. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  5858. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5859. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  5860. 0x01c7,
  5861. 0x01c8,
  5862. },
  5863. {
  5864. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  5865. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5866. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  5867. 0x01c6,
  5868. 0x01c7,
  5869. },
  5870. {
  5871. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  5872. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5873. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  5874. 0x01c6,
  5875. 0x01c7,
  5876. },
  5877. {
  5878. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  5879. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x00,
  5880. 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  5881. 0x01c6,
  5882. 0x01c6,
  5883. },
  5884. {
  5885. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  5886. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5887. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  5888. 0x01c5,
  5889. 0x01c6,
  5890. },
  5891. {
  5892. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  5893. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5894. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  5895. 0x01c5,
  5896. 0x01c6,
  5897. },
  5898. {
  5899. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  5900. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5901. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  5902. 0x01c4,
  5903. 0x01c5,
  5904. },
  5905. {
  5906. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  5907. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5908. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  5909. 0x01c4,
  5910. 0x01c5,
  5911. },
  5912. {
  5913. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  5914. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5915. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  5916. 0x01c4,
  5917. 0x01c4,
  5918. },
  5919. {
  5920. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  5921. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5922. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  5923. 0x01c3,
  5924. 0x01c4,
  5925. },
  5926. {
  5927. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  5928. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5929. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  5930. 0x01c3,
  5931. 0x01c4,
  5932. },
  5933. {
  5934. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  5935. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5936. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  5937. 0x01c2,
  5938. 0x01c3,
  5939. },
  5940. {
  5941. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  5942. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5943. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  5944. 0x01c2,
  5945. 0x01c3,
  5946. },
  5947. {
  5948. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  5949. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5950. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  5951. 0x01c2,
  5952. 0x01c2,
  5953. },
  5954. {
  5955. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  5956. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5957. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  5958. 0x01c1,
  5959. 0x01c2,
  5960. },
  5961. {
  5962. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  5963. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5964. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  5965. 0x01c0,
  5966. 0x01c1,
  5967. },
  5968. {
  5969. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  5970. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5971. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  5972. 0x01bf,
  5973. 0x01c0,
  5974. },
  5975. {
  5976. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  5977. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5978. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  5979. 0x01bf,
  5980. 0x01bf,
  5981. },
  5982. {
  5983. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  5984. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5985. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  5986. 0x01be,
  5987. 0x01bf,
  5988. },
  5989. {
  5990. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  5991. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5992. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  5993. 0x01bd,
  5994. 0x01be,
  5995. },
  5996. {
  5997. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  5998. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5999. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6000. 0x01bc,
  6001. 0x01bd,
  6002. },
  6003. {
  6004. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6005. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6006. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6007. 0x043f,
  6008. 0x0443,
  6009. },
  6010. {
  6011. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6012. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6013. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6014. 0x043d,
  6015. 0x0441,
  6016. },
  6017. {
  6018. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6019. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6020. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6021. 0x043a,
  6022. 0x043f,
  6023. },
  6024. {
  6025. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6026. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6027. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6028. 0x0438,
  6029. 0x043d,
  6030. },
  6031. {
  6032. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6033. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6034. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6035. 0x0436,
  6036. 0x043a,
  6037. },
  6038. {
  6039. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6040. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6041. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6042. 0x0434,
  6043. 0x0438,
  6044. },
  6045. {
  6046. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6047. 0x07, 0x00, 0x07, 0x00, 0x51, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6048. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6049. 0x0431,
  6050. 0x0436,
  6051. },
  6052. {
  6053. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6054. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6055. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6056. 0x042f,
  6057. 0x0434,
  6058. },
  6059. {
  6060. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6061. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6062. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6063. 0x042d,
  6064. 0x0431,
  6065. },
  6066. {
  6067. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6068. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6069. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6070. 0x042b,
  6071. 0x042f,
  6072. },
  6073. {
  6074. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6075. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6076. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6077. 0x0429,
  6078. 0x042d,
  6079. },
  6080. {
  6081. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6082. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6083. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6084. 0x0427,
  6085. 0x042b,
  6086. },
  6087. {
  6088. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6089. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6090. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6091. 0x0424,
  6092. 0x0429,
  6093. },
  6094. {
  6095. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6096. 0x04, 0x00, 0x04, 0x00, 0x11, 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x11,
  6097. 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6098. 0x041f,
  6099. 0x0424}
  6100. };
  6101. static const struct chan_info_nphy_radio2057_rev5
  6102. chan_info_nphyrev8_2057_rev5[] = {
  6103. {
  6104. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6105. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6106. 0x043a, 0x043f, 0x0443},
  6107. {
  6108. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6109. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6110. 0x0438, 0x043d, 0x0441},
  6111. {
  6112. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6113. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6114. 0x0436, 0x043a, 0x043f},
  6115. {
  6116. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6117. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6118. 0x0434, 0x0438, 0x043d},
  6119. {
  6120. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6121. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6122. 0x0431, 0x0436, 0x043a},
  6123. {
  6124. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6125. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6126. 0x042f, 0x0434, 0x0438},
  6127. {
  6128. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6129. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6130. 0x042d, 0x0431, 0x0436},
  6131. {
  6132. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6133. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6134. 0x042b, 0x042f, 0x0434},
  6135. {
  6136. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6137. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6138. 0x0429, 0x042d, 0x0431},
  6139. {
  6140. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6141. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6142. 0x0427, 0x042b, 0x042f},
  6143. {
  6144. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6145. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6146. 0x0424, 0x0429, 0x042d},
  6147. {
  6148. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6149. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6150. 0x0422, 0x0427, 0x042b},
  6151. {
  6152. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6153. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6154. 0x0420, 0x0424, 0x0429},
  6155. {
  6156. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6157. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6158. 0x041b, 0x041f, 0x0424}
  6159. };
  6160. static const struct chan_info_nphy_radio2057_rev5
  6161. chan_info_nphyrev9_2057_rev5v1[] = {
  6162. {
  6163. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6164. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6165. 0x043a, 0x043f, 0x0443},
  6166. {
  6167. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6168. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6169. 0x0438, 0x043d, 0x0441},
  6170. {
  6171. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6172. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6173. 0x0436, 0x043a, 0x043f},
  6174. {
  6175. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6176. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6177. 0x0434, 0x0438, 0x043d},
  6178. {
  6179. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6180. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6181. 0x0431, 0x0436, 0x043a},
  6182. {
  6183. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6184. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6185. 0x042f, 0x0434, 0x0438},
  6186. {
  6187. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6188. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6189. 0x042d, 0x0431, 0x0436},
  6190. {
  6191. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6192. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6193. 0x042b, 0x042f, 0x0434},
  6194. {
  6195. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6196. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6197. 0x0429, 0x042d, 0x0431},
  6198. {
  6199. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6200. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6201. 0x0427, 0x042b, 0x042f},
  6202. {
  6203. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6204. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6205. 0x0424, 0x0429, 0x042d},
  6206. {
  6207. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6208. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6209. 0x0422, 0x0427, 0x042b},
  6210. {
  6211. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6212. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6213. 0x0420, 0x0424, 0x0429},
  6214. {
  6215. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6216. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6217. 0x041b, 0x041f, 0x0424}
  6218. };
  6219. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev7[] = {
  6220. {
  6221. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  6222. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6223. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  6224. 0x0215,
  6225. 0x0216},
  6226. {
  6227. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6228. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6229. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6230. 0x0214,
  6231. 0x0215},
  6232. {
  6233. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6234. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6235. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6236. 0x0213,
  6237. 0x0214},
  6238. {
  6239. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6240. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6241. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6242. 0x0212,
  6243. 0x0213},
  6244. {
  6245. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6246. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6247. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6248. 0x0211,
  6249. 0x0212},
  6250. {
  6251. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6252. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6253. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6254. 0x020f,
  6255. 0x0211},
  6256. {
  6257. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6258. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6259. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6260. 0x020e,
  6261. 0x020f},
  6262. {
  6263. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6264. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6265. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  6266. 0x020d,
  6267. 0x020e},
  6268. {
  6269. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  6270. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6271. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  6272. 0x020c,
  6273. 0x020d},
  6274. {
  6275. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  6276. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6277. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  6278. 0x020b,
  6279. 0x020c},
  6280. {
  6281. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  6282. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6283. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  6284. 0x020a,
  6285. 0x020b},
  6286. {
  6287. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  6288. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6289. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  6290. 0x0209,
  6291. 0x020a},
  6292. {
  6293. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  6294. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6295. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  6296. 0x0208,
  6297. 0x0209},
  6298. {
  6299. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  6300. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6301. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  6302. 0x0207,
  6303. 0x0208},
  6304. {
  6305. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  6306. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6307. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  6308. 0x0206,
  6309. 0x0207},
  6310. {
  6311. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  6312. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6313. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  6314. 0x0205,
  6315. 0x0206},
  6316. {
  6317. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  6318. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6319. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  6320. 0x0204,
  6321. 0x0205},
  6322. {
  6323. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  6324. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6325. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  6326. 0x0203,
  6327. 0x0204},
  6328. {
  6329. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  6330. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6331. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  6332. 0x0202,
  6333. 0x0203},
  6334. {
  6335. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  6336. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6337. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  6338. 0x0201,
  6339. 0x0202},
  6340. {
  6341. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  6342. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6343. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  6344. 0x0200,
  6345. 0x0201},
  6346. {
  6347. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  6348. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6349. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  6350. 0x01ff,
  6351. 0x0200},
  6352. {
  6353. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  6354. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6355. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  6356. 0x01fe,
  6357. 0x01ff},
  6358. {
  6359. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  6360. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6361. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  6362. 0x01fc,
  6363. 0x01fd},
  6364. {
  6365. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  6366. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6367. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  6368. 0x01fb,
  6369. 0x01fc},
  6370. {
  6371. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  6372. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6373. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  6374. 0x01fa,
  6375. 0x01fb},
  6376. {
  6377. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  6378. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6379. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  6380. 0x01f9,
  6381. 0x01fa},
  6382. {
  6383. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  6384. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6385. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  6386. 0x01f8,
  6387. 0x01f9},
  6388. {
  6389. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  6390. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6391. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  6392. 0x01f7,
  6393. 0x01f8},
  6394. {
  6395. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  6396. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6397. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  6398. 0x01f6,
  6399. 0x01f7},
  6400. {
  6401. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  6402. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6403. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  6404. 0x01f5,
  6405. 0x01f6},
  6406. {
  6407. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  6408. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6409. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  6410. 0x01f4,
  6411. 0x01f5},
  6412. {
  6413. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  6414. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6415. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  6416. 0x01f3,
  6417. 0x01f4},
  6418. {
  6419. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  6420. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6421. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  6422. 0x01f2,
  6423. 0x01f3},
  6424. {
  6425. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  6426. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6427. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  6428. 0x01f1,
  6429. 0x01f2},
  6430. {
  6431. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  6432. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6433. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  6434. 0x01f0,
  6435. 0x01f1},
  6436. {
  6437. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  6438. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6439. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  6440. 0x01f0,
  6441. 0x01f0},
  6442. {
  6443. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  6444. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6445. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  6446. 0x01ef,
  6447. 0x01f0},
  6448. {
  6449. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  6450. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6451. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  6452. 0x01ee,
  6453. 0x01ef},
  6454. {
  6455. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  6456. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6457. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  6458. 0x01ed,
  6459. 0x01ee},
  6460. {
  6461. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  6462. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6463. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  6464. 0x01ec,
  6465. 0x01ed},
  6466. {
  6467. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  6468. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6469. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  6470. 0x01eb,
  6471. 0x01ec},
  6472. {
  6473. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  6474. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6475. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  6476. 0x01ea,
  6477. 0x01eb},
  6478. {
  6479. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  6480. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6481. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  6482. 0x01e9,
  6483. 0x01ea},
  6484. {
  6485. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  6486. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6487. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  6488. 0x01e8,
  6489. 0x01e9},
  6490. {
  6491. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  6492. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6493. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  6494. 0x01e7,
  6495. 0x01e8},
  6496. {
  6497. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  6498. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6499. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  6500. 0x01e6,
  6501. 0x01e7},
  6502. {
  6503. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  6504. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6505. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  6506. 0x01e5,
  6507. 0x01e6},
  6508. {
  6509. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  6510. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6511. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  6512. 0x01e5,
  6513. 0x01e5},
  6514. {
  6515. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  6516. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6517. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  6518. 0x01e4,
  6519. 0x01e5},
  6520. {
  6521. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  6522. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6523. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  6524. 0x01e3,
  6525. 0x01e4},
  6526. {
  6527. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  6528. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6529. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  6530. 0x01e2,
  6531. 0x01e3},
  6532. {
  6533. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  6534. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6535. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  6536. 0x01e1,
  6537. 0x01e2},
  6538. {
  6539. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  6540. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6541. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  6542. 0x01e0,
  6543. 0x01e1},
  6544. {
  6545. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  6546. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6547. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  6548. 0x01df,
  6549. 0x01e0},
  6550. {
  6551. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  6552. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6553. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  6554. 0x01de,
  6555. 0x01df},
  6556. {
  6557. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  6558. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6559. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  6560. 0x01dd,
  6561. 0x01de},
  6562. {
  6563. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  6564. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6565. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  6566. 0x01dd,
  6567. 0x01dd},
  6568. {
  6569. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  6570. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6571. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  6572. 0x01dc,
  6573. 0x01dd},
  6574. {
  6575. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  6576. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6577. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  6578. 0x01db,
  6579. 0x01dc},
  6580. {
  6581. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  6582. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6583. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  6584. 0x01da,
  6585. 0x01db},
  6586. {
  6587. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  6588. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6589. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  6590. 0x01d9,
  6591. 0x01da},
  6592. {
  6593. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  6594. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6595. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  6596. 0x01d8,
  6597. 0x01d9},
  6598. {
  6599. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  6600. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6601. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  6602. 0x01d7,
  6603. 0x01d8},
  6604. {
  6605. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  6606. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6607. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  6608. 0x01d7,
  6609. 0x01d7},
  6610. {
  6611. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  6612. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6613. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  6614. 0x01d6,
  6615. 0x01d7},
  6616. {
  6617. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  6618. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6619. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  6620. 0x01d5,
  6621. 0x01d6},
  6622. {
  6623. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  6624. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6625. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  6626. 0x01d4,
  6627. 0x01d5},
  6628. {
  6629. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  6630. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6631. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  6632. 0x01d3,
  6633. 0x01d4},
  6634. {
  6635. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  6636. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6637. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  6638. 0x01d2,
  6639. 0x01d3},
  6640. {
  6641. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  6642. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6643. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  6644. 0x01d2,
  6645. 0x01d2},
  6646. {
  6647. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  6648. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6649. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  6650. 0x01d1,
  6651. 0x01d2},
  6652. {
  6653. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  6654. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6655. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  6656. 0x01d0,
  6657. 0x01d1},
  6658. {
  6659. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  6660. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6661. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  6662. 0x01cf,
  6663. 0x01d0},
  6664. {
  6665. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  6666. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6667. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  6668. 0x01ce,
  6669. 0x01cf},
  6670. {
  6671. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  6672. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6673. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  6674. 0x01ce,
  6675. 0x01ce},
  6676. {
  6677. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  6678. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6679. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  6680. 0x01cd,
  6681. 0x01ce},
  6682. {
  6683. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  6684. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6685. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  6686. 0x01cc,
  6687. 0x01cd},
  6688. {
  6689. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  6690. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6691. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  6692. 0x01cb,
  6693. 0x01cc},
  6694. {
  6695. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  6696. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6697. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  6698. 0x01ca,
  6699. 0x01cb},
  6700. {
  6701. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  6702. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6703. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  6704. 0x01ca,
  6705. 0x01cb},
  6706. {
  6707. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  6708. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6709. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  6710. 0x01c9,
  6711. 0x01ca},
  6712. {
  6713. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  6714. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6715. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  6716. 0x01c9,
  6717. 0x01ca},
  6718. {
  6719. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  6720. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6721. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  6722. 0x01c9,
  6723. 0x01c9},
  6724. {
  6725. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  6726. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6727. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  6728. 0x01c8,
  6729. 0x01c9},
  6730. {
  6731. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  6732. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6733. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  6734. 0x01c8,
  6735. 0x01c9},
  6736. {
  6737. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  6738. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6739. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  6740. 0x01c8,
  6741. 0x01c8},
  6742. {
  6743. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  6744. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6745. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  6746. 0x01c7,
  6747. 0x01c8},
  6748. {
  6749. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  6750. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6751. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  6752. 0x01c7,
  6753. 0x01c8},
  6754. {
  6755. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  6756. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6757. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  6758. 0x01c6,
  6759. 0x01c7},
  6760. {
  6761. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  6762. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6763. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  6764. 0x01c6,
  6765. 0x01c7},
  6766. {
  6767. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  6768. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6769. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  6770. 0x01c6,
  6771. 0x01c6},
  6772. {
  6773. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  6774. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6775. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  6776. 0x01c5,
  6777. 0x01c6},
  6778. {
  6779. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  6780. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6781. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  6782. 0x01c5,
  6783. 0x01c6},
  6784. {
  6785. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  6786. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6787. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  6788. 0x01c4,
  6789. 0x01c5},
  6790. {
  6791. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  6792. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  6793. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  6794. 0x01c4,
  6795. 0x01c5},
  6796. {
  6797. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  6798. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6799. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  6800. 0x01c4,
  6801. 0x01c4},
  6802. {
  6803. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  6804. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6805. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  6806. 0x01c3,
  6807. 0x01c4},
  6808. {
  6809. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  6810. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6811. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  6812. 0x01c3,
  6813. 0x01c4},
  6814. {
  6815. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  6816. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6817. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  6818. 0x01c2,
  6819. 0x01c3},
  6820. {
  6821. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  6822. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6823. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  6824. 0x01c2,
  6825. 0x01c3},
  6826. {
  6827. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  6828. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6829. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  6830. 0x01c2,
  6831. 0x01c2},
  6832. {
  6833. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  6834. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6835. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  6836. 0x01c1,
  6837. 0x01c2},
  6838. {
  6839. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  6840. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6841. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  6842. 0x01c0,
  6843. 0x01c1},
  6844. {
  6845. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  6846. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6847. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  6848. 0x01bf,
  6849. 0x01c0},
  6850. {
  6851. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  6852. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6853. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  6854. 0x01bf,
  6855. 0x01bf},
  6856. {
  6857. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  6858. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6859. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  6860. 0x01be,
  6861. 0x01bf},
  6862. {
  6863. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  6864. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6865. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  6866. 0x01bd,
  6867. 0x01be},
  6868. {
  6869. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  6870. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6871. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6872. 0x01bc,
  6873. 0x01bd},
  6874. {
  6875. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6876. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6877. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6878. 0x043f,
  6879. 0x0443},
  6880. {
  6881. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6882. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6883. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6884. 0x043d,
  6885. 0x0441},
  6886. {
  6887. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6888. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6889. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6890. 0x043a,
  6891. 0x043f},
  6892. {
  6893. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6894. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6895. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6896. 0x0438,
  6897. 0x043d},
  6898. {
  6899. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6900. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6901. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6902. 0x0436,
  6903. 0x043a},
  6904. {
  6905. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6906. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6907. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6908. 0x0434,
  6909. 0x0438},
  6910. {
  6911. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6912. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6913. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6914. 0x0431,
  6915. 0x0436},
  6916. {
  6917. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6918. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6919. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6920. 0x042f,
  6921. 0x0434},
  6922. {
  6923. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6924. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6925. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6926. 0x042d,
  6927. 0x0431},
  6928. {
  6929. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6930. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6931. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6932. 0x042b,
  6933. 0x042f},
  6934. {
  6935. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6936. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6937. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6938. 0x0429,
  6939. 0x042d},
  6940. {
  6941. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6942. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6943. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6944. 0x0427,
  6945. 0x042b},
  6946. {
  6947. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6948. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6949. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6950. 0x0424,
  6951. 0x0429},
  6952. {
  6953. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6954. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  6955. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6956. 0x041f,
  6957. 0x0424}
  6958. };
  6959. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev8[] = {
  6960. {
  6961. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6962. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6963. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6964. 0x0214,
  6965. 0x0215},
  6966. {
  6967. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6968. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6969. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6970. 0x0213,
  6971. 0x0214},
  6972. {
  6973. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6974. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6975. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6976. 0x0212,
  6977. 0x0213},
  6978. {
  6979. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6980. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6981. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6982. 0x0211,
  6983. 0x0212},
  6984. {
  6985. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6986. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6987. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6988. 0x020f,
  6989. 0x0211},
  6990. {
  6991. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6992. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6993. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6994. 0x020e,
  6995. 0x020f},
  6996. {
  6997. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6998. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6999. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  7000. 0x020d,
  7001. 0x020e},
  7002. {
  7003. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  7004. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7005. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  7006. 0x020c,
  7007. 0x020d},
  7008. {
  7009. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  7010. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7011. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  7012. 0x020b,
  7013. 0x020c},
  7014. {
  7015. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  7016. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7017. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  7018. 0x020a,
  7019. 0x020b},
  7020. {
  7021. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  7022. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7023. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  7024. 0x0209,
  7025. 0x020a},
  7026. {
  7027. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  7028. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7029. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  7030. 0x0208,
  7031. 0x0209},
  7032. {
  7033. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  7034. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7035. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  7036. 0x0207,
  7037. 0x0208},
  7038. {
  7039. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  7040. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7041. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  7042. 0x0206,
  7043. 0x0207},
  7044. {
  7045. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  7046. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7047. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  7048. 0x0205,
  7049. 0x0206},
  7050. {
  7051. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  7052. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7053. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  7054. 0x0204,
  7055. 0x0205},
  7056. {
  7057. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  7058. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7059. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  7060. 0x0203,
  7061. 0x0204},
  7062. {
  7063. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  7064. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7065. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  7066. 0x0202,
  7067. 0x0203},
  7068. {
  7069. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  7070. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7071. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  7072. 0x0201,
  7073. 0x0202},
  7074. {
  7075. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  7076. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7077. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  7078. 0x0200,
  7079. 0x0201},
  7080. {
  7081. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  7082. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7083. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  7084. 0x01ff,
  7085. 0x0200},
  7086. {
  7087. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  7088. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7089. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  7090. 0x01fe,
  7091. 0x01ff},
  7092. {
  7093. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  7094. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7095. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  7096. 0x01fc,
  7097. 0x01fd},
  7098. {
  7099. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  7100. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7101. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  7102. 0x01fb,
  7103. 0x01fc},
  7104. {
  7105. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  7106. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7107. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  7108. 0x01fa,
  7109. 0x01fb},
  7110. {
  7111. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  7112. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7113. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  7114. 0x01f9,
  7115. 0x01fa},
  7116. {
  7117. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  7118. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7119. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  7120. 0x01f8,
  7121. 0x01f9},
  7122. {
  7123. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  7124. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7125. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  7126. 0x01f7,
  7127. 0x01f8},
  7128. {
  7129. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  7130. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7131. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  7132. 0x01f6,
  7133. 0x01f7},
  7134. {
  7135. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  7136. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7137. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  7138. 0x01f5,
  7139. 0x01f6},
  7140. {
  7141. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  7142. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7143. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  7144. 0x01f4,
  7145. 0x01f5},
  7146. {
  7147. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  7148. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7149. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  7150. 0x01f3,
  7151. 0x01f4},
  7152. {
  7153. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  7154. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7155. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  7156. 0x01f2,
  7157. 0x01f3},
  7158. {
  7159. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  7160. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7161. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  7162. 0x01f1,
  7163. 0x01f2},
  7164. {
  7165. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  7166. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7167. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  7168. 0x01f0,
  7169. 0x01f1},
  7170. {
  7171. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  7172. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7173. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  7174. 0x01f0,
  7175. 0x01f0},
  7176. {
  7177. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  7178. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7179. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  7180. 0x01ef,
  7181. 0x01f0},
  7182. {
  7183. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  7184. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7185. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  7186. 0x01ee,
  7187. 0x01ef},
  7188. {
  7189. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  7190. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7191. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  7192. 0x01ed,
  7193. 0x01ee},
  7194. {
  7195. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  7196. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7197. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  7198. 0x01ec,
  7199. 0x01ed},
  7200. {
  7201. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  7202. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7203. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  7204. 0x01eb,
  7205. 0x01ec},
  7206. {
  7207. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  7208. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7209. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  7210. 0x01ea,
  7211. 0x01eb},
  7212. {
  7213. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  7214. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7215. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  7216. 0x01e9,
  7217. 0x01ea},
  7218. {
  7219. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  7220. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7221. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  7222. 0x01e8,
  7223. 0x01e9},
  7224. {
  7225. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  7226. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7227. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  7228. 0x01e7,
  7229. 0x01e8},
  7230. {
  7231. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  7232. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7233. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  7234. 0x01e6,
  7235. 0x01e7},
  7236. {
  7237. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  7238. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7239. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  7240. 0x01e5,
  7241. 0x01e6},
  7242. {
  7243. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  7244. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7245. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  7246. 0x01e5,
  7247. 0x01e5},
  7248. {
  7249. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  7250. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7251. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  7252. 0x01e4,
  7253. 0x01e5},
  7254. {
  7255. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  7256. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7257. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  7258. 0x01e3,
  7259. 0x01e4},
  7260. {
  7261. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  7262. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7263. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  7264. 0x01e2,
  7265. 0x01e3},
  7266. {
  7267. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  7268. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7269. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  7270. 0x01e1,
  7271. 0x01e2},
  7272. {
  7273. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  7274. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7275. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  7276. 0x01e0,
  7277. 0x01e1},
  7278. {
  7279. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  7280. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7281. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  7282. 0x01df,
  7283. 0x01e0},
  7284. {
  7285. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  7286. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7287. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  7288. 0x01de,
  7289. 0x01df},
  7290. {
  7291. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  7292. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7293. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  7294. 0x01dd,
  7295. 0x01de},
  7296. {
  7297. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  7298. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7299. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  7300. 0x01dd,
  7301. 0x01dd},
  7302. {
  7303. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  7304. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7305. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  7306. 0x01dc,
  7307. 0x01dd},
  7308. {
  7309. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  7310. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7311. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  7312. 0x01db,
  7313. 0x01dc},
  7314. {
  7315. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  7316. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7317. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  7318. 0x01da,
  7319. 0x01db},
  7320. {
  7321. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  7322. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7323. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  7324. 0x01d9,
  7325. 0x01da},
  7326. {
  7327. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  7328. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7329. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  7330. 0x01d8,
  7331. 0x01d9},
  7332. {
  7333. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  7334. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7335. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  7336. 0x01d7,
  7337. 0x01d8},
  7338. {
  7339. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  7340. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7341. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  7342. 0x01d7,
  7343. 0x01d7},
  7344. {
  7345. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  7346. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7347. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  7348. 0x01d6,
  7349. 0x01d7},
  7350. {
  7351. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  7352. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7353. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  7354. 0x01d5,
  7355. 0x01d6},
  7356. {
  7357. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  7358. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7359. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  7360. 0x01d4,
  7361. 0x01d5},
  7362. {
  7363. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  7364. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7365. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  7366. 0x01d3,
  7367. 0x01d4},
  7368. {
  7369. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  7370. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7371. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  7372. 0x01d2,
  7373. 0x01d3},
  7374. {
  7375. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  7376. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7377. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  7378. 0x01d2,
  7379. 0x01d2},
  7380. {
  7381. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  7382. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7383. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  7384. 0x01d1,
  7385. 0x01d2},
  7386. {
  7387. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  7388. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7389. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  7390. 0x01d0,
  7391. 0x01d1},
  7392. {
  7393. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  7394. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7395. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  7396. 0x01cf,
  7397. 0x01d0},
  7398. {
  7399. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  7400. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7401. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  7402. 0x01ce,
  7403. 0x01cf},
  7404. {
  7405. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  7406. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7407. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  7408. 0x01ce,
  7409. 0x01ce},
  7410. {
  7411. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  7412. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7413. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  7414. 0x01cd,
  7415. 0x01ce},
  7416. {
  7417. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  7418. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7419. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  7420. 0x01cc,
  7421. 0x01cd},
  7422. {
  7423. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  7424. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7425. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  7426. 0x01cb,
  7427. 0x01cc},
  7428. {
  7429. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  7430. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7431. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  7432. 0x01ca,
  7433. 0x01cb},
  7434. {
  7435. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  7436. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7437. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  7438. 0x01ca,
  7439. 0x01cb},
  7440. {
  7441. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  7442. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7443. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  7444. 0x01c9,
  7445. 0x01ca},
  7446. {
  7447. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  7448. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7449. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  7450. 0x01c9,
  7451. 0x01ca},
  7452. {
  7453. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  7454. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7455. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  7456. 0x01c9,
  7457. 0x01c9},
  7458. {
  7459. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  7460. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7461. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  7462. 0x01c8,
  7463. 0x01c9},
  7464. {
  7465. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  7466. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7467. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  7468. 0x01c8,
  7469. 0x01c9},
  7470. {
  7471. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  7472. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7473. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  7474. 0x01c8,
  7475. 0x01c8},
  7476. {
  7477. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  7478. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7479. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  7480. 0x01c7,
  7481. 0x01c8},
  7482. {
  7483. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  7484. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7485. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  7486. 0x01c7,
  7487. 0x01c8},
  7488. {
  7489. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  7490. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7491. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  7492. 0x01c6,
  7493. 0x01c7},
  7494. {
  7495. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  7496. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7497. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  7498. 0x01c6,
  7499. 0x01c7},
  7500. {
  7501. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  7502. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7503. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  7504. 0x01c6,
  7505. 0x01c6},
  7506. {
  7507. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  7508. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7509. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  7510. 0x01c5,
  7511. 0x01c6},
  7512. {
  7513. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  7514. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7515. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  7516. 0x01c5,
  7517. 0x01c6},
  7518. {
  7519. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  7520. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7521. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  7522. 0x01c4,
  7523. 0x01c5},
  7524. {
  7525. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  7526. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  7527. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  7528. 0x01c4,
  7529. 0x01c5},
  7530. {
  7531. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  7532. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7533. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  7534. 0x01c4,
  7535. 0x01c4},
  7536. {
  7537. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  7538. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7539. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  7540. 0x01c3,
  7541. 0x01c4},
  7542. {
  7543. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  7544. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7545. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  7546. 0x01c3,
  7547. 0x01c4},
  7548. {
  7549. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  7550. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7551. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  7552. 0x01c2,
  7553. 0x01c3},
  7554. {
  7555. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  7556. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7557. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  7558. 0x01c2,
  7559. 0x01c3},
  7560. {
  7561. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  7562. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7563. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  7564. 0x01c2,
  7565. 0x01c2},
  7566. {
  7567. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  7568. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7569. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  7570. 0x01c1,
  7571. 0x01c2},
  7572. {
  7573. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  7574. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7575. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  7576. 0x01c0,
  7577. 0x01c1},
  7578. {
  7579. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  7580. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7581. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  7582. 0x01bf,
  7583. 0x01c0},
  7584. {
  7585. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  7586. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7587. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  7588. 0x01bf,
  7589. 0x01bf},
  7590. {
  7591. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  7592. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7593. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  7594. 0x01be,
  7595. 0x01bf},
  7596. {
  7597. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  7598. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7599. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  7600. 0x01bd,
  7601. 0x01be},
  7602. {
  7603. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  7604. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7605. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  7606. 0x01bc,
  7607. 0x01bd},
  7608. {
  7609. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  7610. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7611. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  7612. 0x043f,
  7613. 0x0443},
  7614. {
  7615. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  7616. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7617. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  7618. 0x043d,
  7619. 0x0441},
  7620. {
  7621. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  7622. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7623. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  7624. 0x043a,
  7625. 0x043f},
  7626. {
  7627. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  7628. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7629. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  7630. 0x0438,
  7631. 0x043d},
  7632. {
  7633. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  7634. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7635. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  7636. 0x0436,
  7637. 0x043a},
  7638. {
  7639. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  7640. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7641. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  7642. 0x0434,
  7643. 0x0438},
  7644. {
  7645. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  7646. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7647. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  7648. 0x0431,
  7649. 0x0436},
  7650. {
  7651. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  7652. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7653. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  7654. 0x042f,
  7655. 0x0434},
  7656. {
  7657. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  7658. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7659. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  7660. 0x042d,
  7661. 0x0431},
  7662. {
  7663. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  7664. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7665. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  7666. 0x042b,
  7667. 0x042f},
  7668. {
  7669. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  7670. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7671. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  7672. 0x0429,
  7673. 0x042d},
  7674. {
  7675. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  7676. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7677. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  7678. 0x0427,
  7679. 0x042b},
  7680. {
  7681. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  7682. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7683. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  7684. 0x0424,
  7685. 0x0429},
  7686. {
  7687. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  7688. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  7689. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  7690. 0x041f,
  7691. 0x0424}
  7692. };
  7693. static struct radio_regs regs_2055[] = {
  7694. {0x02, 0x80, 0x80, 0, 0},
  7695. {0x03, 0, 0, 0, 0},
  7696. {0x04, 0x27, 0x27, 0, 0},
  7697. {0x05, 0, 0, 0, 0},
  7698. {0x06, 0x27, 0x27, 0, 0},
  7699. {0x07, 0x7f, 0x7f, 1, 1},
  7700. {0x08, 0x7, 0x7, 1, 1},
  7701. {0x09, 0x7f, 0x7f, 1, 1},
  7702. {0x0A, 0x7, 0x7, 1, 1},
  7703. {0x0B, 0x15, 0x15, 0, 0},
  7704. {0x0C, 0x15, 0x15, 0, 0},
  7705. {0x0D, 0x4f, 0x4f, 1, 1},
  7706. {0x0E, 0x5, 0x5, 1, 1},
  7707. {0x0F, 0x4f, 0x4f, 1, 1},
  7708. {0x10, 0x5, 0x5, 1, 1},
  7709. {0x11, 0xd0, 0xd0, 0, 0},
  7710. {0x12, 0x2, 0x2, 0, 0},
  7711. {0x13, 0, 0, 0, 0},
  7712. {0x14, 0x40, 0x40, 0, 0},
  7713. {0x15, 0, 0, 0, 0},
  7714. {0x16, 0, 0, 0, 0},
  7715. {0x17, 0, 0, 0, 0},
  7716. {0x18, 0, 0, 0, 0},
  7717. {0x19, 0, 0, 0, 0},
  7718. {0x1A, 0, 0, 0, 0},
  7719. {0x1B, 0, 0, 0, 0},
  7720. {0x1C, 0, 0, 0, 0},
  7721. {0x1D, 0xc0, 0xc0, 0, 0},
  7722. {0x1E, 0xff, 0xff, 0, 0},
  7723. {0x1F, 0xc0, 0xc0, 0, 0},
  7724. {0x20, 0xff, 0xff, 0, 0},
  7725. {0x21, 0xc0, 0xc0, 0, 0},
  7726. {0x22, 0, 0, 0, 0},
  7727. {0x23, 0x2c, 0x2c, 0, 0},
  7728. {0x24, 0, 0, 0, 0},
  7729. {0x25, 0, 0, 0, 0},
  7730. {0x26, 0, 0, 0, 0},
  7731. {0x27, 0, 0, 0, 0},
  7732. {0x28, 0, 0, 0, 0},
  7733. {0x29, 0, 0, 0, 0},
  7734. {0x2A, 0, 0, 0, 0},
  7735. {0x2B, 0, 0, 0, 0},
  7736. {0x2C, 0, 0, 0, 0},
  7737. {0x2D, 0xa4, 0xa4, 0, 0},
  7738. {0x2E, 0x38, 0x38, 0, 0},
  7739. {0x2F, 0, 0, 0, 0},
  7740. {0x30, 0x4, 0x4, 1, 1},
  7741. {0x31, 0, 0, 0, 0},
  7742. {0x32, 0xa, 0xa, 0, 0},
  7743. {0x33, 0x87, 0x87, 0, 0},
  7744. {0x34, 0x9, 0x9, 0, 0},
  7745. {0x35, 0x70, 0x70, 0, 0},
  7746. {0x36, 0x11, 0x11, 0, 0},
  7747. {0x37, 0x18, 0x18, 1, 1},
  7748. {0x38, 0x6, 0x6, 0, 0},
  7749. {0x39, 0x4, 0x4, 1, 1},
  7750. {0x3A, 0x6, 0x6, 0, 0},
  7751. {0x3B, 0x9e, 0x9e, 0, 0},
  7752. {0x3C, 0x9, 0x9, 0, 0},
  7753. {0x3D, 0xc8, 0xc8, 1, 1},
  7754. {0x3E, 0x88, 0x88, 0, 0},
  7755. {0x3F, 0, 0, 0, 0},
  7756. {0x40, 0, 0, 0, 0},
  7757. {0x41, 0, 0, 0, 0},
  7758. {0x42, 0x1, 0x1, 0, 0},
  7759. {0x43, 0x2, 0x2, 0, 0},
  7760. {0x44, 0x96, 0x96, 0, 0},
  7761. {0x45, 0x3e, 0x3e, 0, 0},
  7762. {0x46, 0x3e, 0x3e, 0, 0},
  7763. {0x47, 0x13, 0x13, 0, 0},
  7764. {0x48, 0x2, 0x2, 0, 0},
  7765. {0x49, 0x15, 0x15, 0, 0},
  7766. {0x4A, 0x7, 0x7, 0, 0},
  7767. {0x4B, 0, 0, 0, 0},
  7768. {0x4C, 0, 0, 0, 0},
  7769. {0x4D, 0, 0, 0, 0},
  7770. {0x4E, 0, 0, 0, 0},
  7771. {0x4F, 0, 0, 0, 0},
  7772. {0x50, 0x8, 0x8, 0, 0},
  7773. {0x51, 0x8, 0x8, 0, 0},
  7774. {0x52, 0x6, 0x6, 0, 0},
  7775. {0x53, 0x84, 0x84, 1, 1},
  7776. {0x54, 0xc3, 0xc3, 0, 0},
  7777. {0x55, 0x8f, 0x8f, 0, 0},
  7778. {0x56, 0xff, 0xff, 0, 0},
  7779. {0x57, 0xff, 0xff, 0, 0},
  7780. {0x58, 0x88, 0x88, 0, 0},
  7781. {0x59, 0x88, 0x88, 0, 0},
  7782. {0x5A, 0, 0, 0, 0},
  7783. {0x5B, 0xcc, 0xcc, 0, 0},
  7784. {0x5C, 0x6, 0x6, 0, 0},
  7785. {0x5D, 0x80, 0x80, 0, 0},
  7786. {0x5E, 0x80, 0x80, 0, 0},
  7787. {0x5F, 0xf8, 0xf8, 0, 0},
  7788. {0x60, 0x88, 0x88, 0, 0},
  7789. {0x61, 0x88, 0x88, 0, 0},
  7790. {0x62, 0x88, 0x8, 1, 1},
  7791. {0x63, 0x88, 0x88, 0, 0},
  7792. {0x64, 0, 0, 0, 0},
  7793. {0x65, 0x1, 0x1, 1, 1},
  7794. {0x66, 0x8a, 0x8a, 0, 0},
  7795. {0x67, 0x8, 0x8, 0, 0},
  7796. {0x68, 0x83, 0x83, 0, 0},
  7797. {0x69, 0x6, 0x6, 0, 0},
  7798. {0x6A, 0xa0, 0xa0, 0, 0},
  7799. {0x6B, 0xa, 0xa, 0, 0},
  7800. {0x6C, 0x87, 0x87, 1, 1},
  7801. {0x6D, 0x2a, 0x2a, 0, 0},
  7802. {0x6E, 0x2a, 0x2a, 0, 0},
  7803. {0x6F, 0x2a, 0x2a, 0, 0},
  7804. {0x70, 0x2a, 0x2a, 0, 0},
  7805. {0x71, 0x18, 0x18, 0, 0},
  7806. {0x72, 0x6a, 0x6a, 1, 1},
  7807. {0x73, 0xab, 0xab, 1, 1},
  7808. {0x74, 0x13, 0x13, 1, 1},
  7809. {0x75, 0xc1, 0xc1, 1, 1},
  7810. {0x76, 0xaa, 0xaa, 1, 1},
  7811. {0x77, 0x87, 0x87, 1, 1},
  7812. {0x78, 0, 0, 0, 0},
  7813. {0x79, 0x6, 0x6, 0, 0},
  7814. {0x7A, 0x7, 0x7, 0, 0},
  7815. {0x7B, 0x7, 0x7, 0, 0},
  7816. {0x7C, 0x15, 0x15, 0, 0},
  7817. {0x7D, 0x55, 0x55, 0, 0},
  7818. {0x7E, 0x97, 0x97, 1, 1},
  7819. {0x7F, 0x8, 0x8, 0, 0},
  7820. {0x80, 0x14, 0x14, 1, 1},
  7821. {0x81, 0x33, 0x33, 0, 0},
  7822. {0x82, 0x88, 0x88, 0, 0},
  7823. {0x83, 0x6, 0x6, 0, 0},
  7824. {0x84, 0x3, 0x3, 1, 1},
  7825. {0x85, 0xa, 0xa, 0, 0},
  7826. {0x86, 0x3, 0x3, 1, 1},
  7827. {0x87, 0x2a, 0x2a, 0, 0},
  7828. {0x88, 0xa4, 0xa4, 0, 0},
  7829. {0x89, 0x18, 0x18, 0, 0},
  7830. {0x8A, 0x28, 0x28, 0, 0},
  7831. {0x8B, 0, 0, 0, 0},
  7832. {0x8C, 0x4a, 0x4a, 0, 0},
  7833. {0x8D, 0, 0, 0, 0},
  7834. {0x8E, 0xf8, 0xf8, 0, 0},
  7835. {0x8F, 0x88, 0x88, 0, 0},
  7836. {0x90, 0x88, 0x88, 0, 0},
  7837. {0x91, 0x88, 0x8, 1, 1},
  7838. {0x92, 0x88, 0x88, 0, 0},
  7839. {0x93, 0, 0, 0, 0},
  7840. {0x94, 0x1, 0x1, 1, 1},
  7841. {0x95, 0x8a, 0x8a, 0, 0},
  7842. {0x96, 0x8, 0x8, 0, 0},
  7843. {0x97, 0x83, 0x83, 0, 0},
  7844. {0x98, 0x6, 0x6, 0, 0},
  7845. {0x99, 0xa0, 0xa0, 0, 0},
  7846. {0x9A, 0xa, 0xa, 0, 0},
  7847. {0x9B, 0x87, 0x87, 1, 1},
  7848. {0x9C, 0x2a, 0x2a, 0, 0},
  7849. {0x9D, 0x2a, 0x2a, 0, 0},
  7850. {0x9E, 0x2a, 0x2a, 0, 0},
  7851. {0x9F, 0x2a, 0x2a, 0, 0},
  7852. {0xA0, 0x18, 0x18, 0, 0},
  7853. {0xA1, 0x6a, 0x6a, 1, 1},
  7854. {0xA2, 0xab, 0xab, 1, 1},
  7855. {0xA3, 0x13, 0x13, 1, 1},
  7856. {0xA4, 0xc1, 0xc1, 1, 1},
  7857. {0xA5, 0xaa, 0xaa, 1, 1},
  7858. {0xA6, 0x87, 0x87, 1, 1},
  7859. {0xA7, 0, 0, 0, 0},
  7860. {0xA8, 0x6, 0x6, 0, 0},
  7861. {0xA9, 0x7, 0x7, 0, 0},
  7862. {0xAA, 0x7, 0x7, 0, 0},
  7863. {0xAB, 0x15, 0x15, 0, 0},
  7864. {0xAC, 0x55, 0x55, 0, 0},
  7865. {0xAD, 0x97, 0x97, 1, 1},
  7866. {0xAE, 0x8, 0x8, 0, 0},
  7867. {0xAF, 0x14, 0x14, 1, 1},
  7868. {0xB0, 0x33, 0x33, 0, 0},
  7869. {0xB1, 0x88, 0x88, 0, 0},
  7870. {0xB2, 0x6, 0x6, 0, 0},
  7871. {0xB3, 0x3, 0x3, 1, 1},
  7872. {0xB4, 0xa, 0xa, 0, 0},
  7873. {0xB5, 0x3, 0x3, 1, 1},
  7874. {0xB6, 0x2a, 0x2a, 0, 0},
  7875. {0xB7, 0xa4, 0xa4, 0, 0},
  7876. {0xB8, 0x18, 0x18, 0, 0},
  7877. {0xB9, 0x28, 0x28, 0, 0},
  7878. {0xBA, 0, 0, 0, 0},
  7879. {0xBB, 0x4a, 0x4a, 0, 0},
  7880. {0xBC, 0, 0, 0, 0},
  7881. {0xBD, 0x71, 0x71, 0, 0},
  7882. {0xBE, 0x72, 0x72, 0, 0},
  7883. {0xBF, 0x73, 0x73, 0, 0},
  7884. {0xC0, 0x74, 0x74, 0, 0},
  7885. {0xC1, 0x75, 0x75, 0, 0},
  7886. {0xC2, 0x76, 0x76, 0, 0},
  7887. {0xC3, 0x77, 0x77, 0, 0},
  7888. {0xC4, 0x78, 0x78, 0, 0},
  7889. {0xC5, 0x79, 0x79, 0, 0},
  7890. {0xC6, 0x7a, 0x7a, 0, 0},
  7891. {0xC7, 0, 0, 0, 0},
  7892. {0xC8, 0, 0, 0, 0},
  7893. {0xC9, 0, 0, 0, 0},
  7894. {0xCA, 0, 0, 0, 0},
  7895. {0xCB, 0, 0, 0, 0},
  7896. {0xCC, 0, 0, 0, 0},
  7897. {0xCD, 0, 0, 0, 0},
  7898. {0xCE, 0x6, 0x6, 0, 0},
  7899. {0xCF, 0, 0, 0, 0},
  7900. {0xD0, 0, 0, 0, 0},
  7901. {0xD1, 0x18, 0x18, 0, 0},
  7902. {0xD2, 0x88, 0x88, 0, 0},
  7903. {0xD3, 0, 0, 0, 0},
  7904. {0xD4, 0, 0, 0, 0},
  7905. {0xD5, 0, 0, 0, 0},
  7906. {0xD6, 0, 0, 0, 0},
  7907. {0xD7, 0, 0, 0, 0},
  7908. {0xD8, 0, 0, 0, 0},
  7909. {0xD9, 0, 0, 0, 0},
  7910. {0xDA, 0x6, 0x6, 0, 0},
  7911. {0xDB, 0, 0, 0, 0},
  7912. {0xDC, 0, 0, 0, 0},
  7913. {0xDD, 0x18, 0x18, 0, 0},
  7914. {0xDE, 0x88, 0x88, 0, 0},
  7915. {0xDF, 0, 0, 0, 0},
  7916. {0xE0, 0, 0, 0, 0},
  7917. {0xE1, 0, 0, 0, 0},
  7918. {0xE2, 0, 0, 0, 0},
  7919. {0xFFFF, 0, 0, 0, 0},
  7920. };
  7921. static struct radio_regs regs_SYN_2056[] = {
  7922. {0x02, 0, 0, 0, 0},
  7923. {0x03, 0, 0, 0, 0},
  7924. {0x04, 0, 0, 0, 0},
  7925. {0x05, 0, 0, 0, 0},
  7926. {0x06, 0, 0, 0, 0},
  7927. {0x07, 0, 0, 0, 0},
  7928. {0x08, 0, 0, 0, 0},
  7929. {0x09, 0x1, 0x1, 0, 0},
  7930. {0x0A, 0, 0, 0, 0},
  7931. {0x0B, 0, 0, 0, 0},
  7932. {0x0C, 0, 0, 0, 0},
  7933. {0x0D, 0, 0, 0, 0},
  7934. {0x0E, 0, 0, 0, 0},
  7935. {0x0F, 0, 0, 0, 0},
  7936. {0x10, 0, 0, 0, 0},
  7937. {0x11, 0, 0, 0, 0},
  7938. {0x12, 0, 0, 0, 0},
  7939. {0x13, 0, 0, 0, 0},
  7940. {0x14, 0, 0, 0, 0},
  7941. {0x15, 0, 0, 0, 0},
  7942. {0x16, 0, 0, 0, 0},
  7943. {0x17, 0, 0, 0, 0},
  7944. {0x18, 0, 0, 0, 0},
  7945. {0x19, 0, 0, 0, 0},
  7946. {0x1A, 0, 0, 0, 0},
  7947. {0x1B, 0, 0, 0, 0},
  7948. {0x1C, 0, 0, 0, 0},
  7949. {0x1D, 0, 0, 0, 0},
  7950. {0x1E, 0, 0, 0, 0},
  7951. {0x1F, 0, 0, 0, 0},
  7952. {0x20, 0, 0, 0, 0},
  7953. {0x21, 0, 0, 0, 0},
  7954. {0x22, 0x60, 0x60, 0, 0},
  7955. {0x23, 0x6, 0x6, 0, 0},
  7956. {0x24, 0xc, 0xc, 0, 0},
  7957. {0x25, 0, 0, 0, 0},
  7958. {0x26, 0, 0, 0, 0},
  7959. {0x27, 0, 0, 0, 0},
  7960. {0x28, 0x1, 0x1, 0, 0},
  7961. {0x29, 0, 0, 0, 0},
  7962. {0x2A, 0, 0, 0, 0},
  7963. {0x2B, 0, 0, 0, 0},
  7964. {0x2C, 0, 0, 0, 0},
  7965. {0x2D, 0, 0, 0, 0},
  7966. {0x2E, 0xd, 0xd, 0, 0},
  7967. {0x2F, 0x1f, 0x1f, 0, 0},
  7968. {0x30, 0x15, 0x15, 0, 0},
  7969. {0x31, 0xf, 0xf, 0, 0},
  7970. {0x32, 0, 0, 0, 0},
  7971. {0x33, 0, 0, 0, 0},
  7972. {0x34, 0, 0, 0, 0},
  7973. {0x35, 0, 0, 0, 0},
  7974. {0x36, 0, 0, 0, 0},
  7975. {0x37, 0, 0, 0, 0},
  7976. {0x38, 0, 0, 0, 0},
  7977. {0x39, 0, 0, 0, 0},
  7978. {0x3A, 0, 0, 0, 0},
  7979. {0x3B, 0, 0, 0, 0},
  7980. {0x3C, 0x13, 0x13, 0, 0},
  7981. {0x3D, 0xf, 0xf, 0, 0},
  7982. {0x3E, 0x18, 0x18, 0, 0},
  7983. {0x3F, 0, 0, 0, 0},
  7984. {0x40, 0, 0, 0, 0},
  7985. {0x41, 0x20, 0x20, 0, 0},
  7986. {0x42, 0x20, 0x20, 0, 0},
  7987. {0x43, 0, 0, 0, 0},
  7988. {0x44, 0x77, 0x77, 0, 0},
  7989. {0x45, 0x7, 0x7, 0, 0},
  7990. {0x46, 0x1, 0x1, 0, 0},
  7991. {0x47, 0x4, 0x4, 0, 0},
  7992. {0x48, 0xf, 0xf, 0, 0},
  7993. {0x49, 0x30, 0x30, 0, 0},
  7994. {0x4A, 0x32, 0x32, 0, 0},
  7995. {0x4B, 0xd, 0xd, 0, 0},
  7996. {0x4C, 0xd, 0xd, 0, 0},
  7997. {0x4D, 0x4, 0x4, 0, 0},
  7998. {0x4E, 0x6, 0x6, 0, 0},
  7999. {0x4F, 0x1, 0x1, 0, 0},
  8000. {0x50, 0x1c, 0x1c, 0, 0},
  8001. {0x51, 0x2, 0x2, 0, 0},
  8002. {0x52, 0x2, 0x2, 0, 0},
  8003. {0x53, 0xf7, 0xf7, 1, 1},
  8004. {0x54, 0xb4, 0xb4, 0, 0},
  8005. {0x55, 0xd2, 0xd2, 0, 0},
  8006. {0x56, 0, 0, 0, 0},
  8007. {0x57, 0, 0, 0, 0},
  8008. {0x58, 0x4, 0x4, 0, 0},
  8009. {0x59, 0x96, 0x96, 0, 0},
  8010. {0x5A, 0x3e, 0x3e, 0, 0},
  8011. {0x5B, 0x3e, 0x3e, 0, 0},
  8012. {0x5C, 0x13, 0x13, 0, 0},
  8013. {0x5D, 0x2, 0x2, 0, 0},
  8014. {0x5E, 0, 0, 0, 0},
  8015. {0x5F, 0x7, 0x7, 0, 0},
  8016. {0x60, 0x7, 0x7, 1, 1},
  8017. {0x61, 0x8, 0x8, 0, 0},
  8018. {0x62, 0x3, 0x3, 0, 0},
  8019. {0x63, 0, 0, 0, 0},
  8020. {0x64, 0, 0, 0, 0},
  8021. {0x65, 0, 0, 0, 0},
  8022. {0x66, 0, 0, 0, 0},
  8023. {0x67, 0, 0, 0, 0},
  8024. {0x68, 0x40, 0x40, 0, 0},
  8025. {0x69, 0, 0, 0, 0},
  8026. {0x6A, 0, 0, 0, 0},
  8027. {0x6B, 0, 0, 0, 0},
  8028. {0x6C, 0, 0, 0, 0},
  8029. {0x6D, 0x1, 0x1, 0, 0},
  8030. {0x6E, 0, 0, 0, 0},
  8031. {0x6F, 0, 0, 0, 0},
  8032. {0x70, 0x60, 0x60, 0, 0},
  8033. {0x71, 0x66, 0x66, 0, 0},
  8034. {0x72, 0xc, 0xc, 0, 0},
  8035. {0x73, 0x66, 0x66, 0, 0},
  8036. {0x74, 0x8f, 0x8f, 1, 1},
  8037. {0x75, 0, 0, 0, 0},
  8038. {0x76, 0xcc, 0xcc, 0, 0},
  8039. {0x77, 0x1, 0x1, 0, 0},
  8040. {0x78, 0x66, 0x66, 0, 0},
  8041. {0x79, 0x66, 0x66, 0, 0},
  8042. {0x7A, 0, 0, 0, 0},
  8043. {0x7B, 0, 0, 0, 0},
  8044. {0x7C, 0, 0, 0, 0},
  8045. {0x7D, 0, 0, 0, 0},
  8046. {0x7E, 0, 0, 0, 0},
  8047. {0x7F, 0, 0, 0, 0},
  8048. {0x80, 0, 0, 0, 0},
  8049. {0x81, 0, 0, 0, 0},
  8050. {0x82, 0, 0, 0, 0},
  8051. {0x83, 0, 0, 0, 0},
  8052. {0x84, 0, 0, 0, 0},
  8053. {0x85, 0xff, 0xff, 0, 0},
  8054. {0x86, 0, 0, 0, 0},
  8055. {0x87, 0, 0, 0, 0},
  8056. {0x88, 0, 0, 0, 0},
  8057. {0x89, 0, 0, 0, 0},
  8058. {0x8A, 0, 0, 0, 0},
  8059. {0x8B, 0, 0, 0, 0},
  8060. {0x8C, 0, 0, 0, 0},
  8061. {0x8D, 0, 0, 0, 0},
  8062. {0x8E, 0, 0, 0, 0},
  8063. {0x8F, 0, 0, 0, 0},
  8064. {0x90, 0, 0, 0, 0},
  8065. {0x91, 0, 0, 0, 0},
  8066. {0x92, 0, 0, 0, 0},
  8067. {0x93, 0, 0, 0, 0},
  8068. {0x94, 0, 0, 0, 0},
  8069. {0x95, 0, 0, 0, 0},
  8070. {0x96, 0, 0, 0, 0},
  8071. {0x97, 0, 0, 0, 0},
  8072. {0x98, 0, 0, 0, 0},
  8073. {0x99, 0, 0, 0, 0},
  8074. {0x9A, 0, 0, 0, 0},
  8075. {0x9B, 0, 0, 0, 0},
  8076. {0x9C, 0, 0, 0, 0},
  8077. {0x9D, 0, 0, 0, 0},
  8078. {0x9E, 0, 0, 0, 0},
  8079. {0x9F, 0x6, 0x6, 0, 0},
  8080. {0xA0, 0x66, 0x66, 0, 0},
  8081. {0xA1, 0x66, 0x66, 0, 0},
  8082. {0xA2, 0x66, 0x66, 0, 0},
  8083. {0xA3, 0x66, 0x66, 0, 0},
  8084. {0xA4, 0x66, 0x66, 0, 0},
  8085. {0xA5, 0x66, 0x66, 0, 0},
  8086. {0xA6, 0x66, 0x66, 0, 0},
  8087. {0xA7, 0x66, 0x66, 0, 0},
  8088. {0xA8, 0x66, 0x66, 0, 0},
  8089. {0xA9, 0x66, 0x66, 0, 0},
  8090. {0xAA, 0x66, 0x66, 0, 0},
  8091. {0xAB, 0x66, 0x66, 0, 0},
  8092. {0xAC, 0x66, 0x66, 0, 0},
  8093. {0xAD, 0x66, 0x66, 0, 0},
  8094. {0xAE, 0x66, 0x66, 0, 0},
  8095. {0xAF, 0x66, 0x66, 0, 0},
  8096. {0xB0, 0x66, 0x66, 0, 0},
  8097. {0xB1, 0x66, 0x66, 0, 0},
  8098. {0xB2, 0x66, 0x66, 0, 0},
  8099. {0xB3, 0xa, 0xa, 0, 0},
  8100. {0xB4, 0, 0, 0, 0},
  8101. {0xB5, 0, 0, 0, 0},
  8102. {0xB6, 0, 0, 0, 0},
  8103. {0xFFFF, 0, 0, 0, 0}
  8104. };
  8105. static struct radio_regs regs_TX_2056[] = {
  8106. {0x02, 0, 0, 0, 0},
  8107. {0x03, 0, 0, 0, 0},
  8108. {0x04, 0, 0, 0, 0},
  8109. {0x05, 0, 0, 0, 0},
  8110. {0x06, 0, 0, 0, 0},
  8111. {0x07, 0, 0, 0, 0},
  8112. {0x08, 0, 0, 0, 0},
  8113. {0x09, 0, 0, 0, 0},
  8114. {0x0A, 0, 0, 0, 0},
  8115. {0x0B, 0, 0, 0, 0},
  8116. {0x0C, 0, 0, 0, 0},
  8117. {0x0D, 0, 0, 0, 0},
  8118. {0x0E, 0, 0, 0, 0},
  8119. {0x0F, 0, 0, 0, 0},
  8120. {0x10, 0, 0, 0, 0},
  8121. {0x11, 0, 0, 0, 0},
  8122. {0x12, 0, 0, 0, 0},
  8123. {0x13, 0, 0, 0, 0},
  8124. {0x14, 0, 0, 0, 0},
  8125. {0x15, 0, 0, 0, 0},
  8126. {0x16, 0, 0, 0, 0},
  8127. {0x17, 0, 0, 0, 0},
  8128. {0x18, 0, 0, 0, 0},
  8129. {0x19, 0, 0, 0, 0},
  8130. {0x1A, 0, 0, 0, 0},
  8131. {0x1B, 0, 0, 0, 0},
  8132. {0x1C, 0, 0, 0, 0},
  8133. {0x1D, 0, 0, 0, 0},
  8134. {0x1E, 0, 0, 0, 0},
  8135. {0x1F, 0, 0, 0, 0},
  8136. {0x20, 0, 0, 0, 0},
  8137. {0x21, 0x88, 0x88, 0, 0},
  8138. {0x22, 0x88, 0x88, 0, 0},
  8139. {0x23, 0x88, 0x88, 0, 0},
  8140. {0x24, 0x88, 0x88, 0, 0},
  8141. {0x25, 0xc, 0xc, 0, 0},
  8142. {0x26, 0, 0, 0, 0},
  8143. {0x27, 0x3, 0x3, 0, 0},
  8144. {0x28, 0, 0, 0, 0},
  8145. {0x29, 0x3, 0x3, 0, 0},
  8146. {0x2A, 0x37, 0x37, 0, 0},
  8147. {0x2B, 0x3, 0x3, 0, 0},
  8148. {0x2C, 0, 0, 0, 0},
  8149. {0x2D, 0, 0, 0, 0},
  8150. {0x2E, 0x1, 0x1, 0, 0},
  8151. {0x2F, 0x1, 0x1, 0, 0},
  8152. {0x30, 0, 0, 0, 0},
  8153. {0x31, 0, 0, 0, 0},
  8154. {0x32, 0, 0, 0, 0},
  8155. {0x33, 0x11, 0x11, 0, 0},
  8156. {0x34, 0x11, 0x11, 0, 0},
  8157. {0x35, 0, 0, 0, 0},
  8158. {0x36, 0, 0, 0, 0},
  8159. {0x37, 0x3, 0x3, 0, 0},
  8160. {0x38, 0xf, 0xf, 0, 0},
  8161. {0x39, 0, 0, 0, 0},
  8162. {0x3A, 0x2d, 0x2d, 0, 0},
  8163. {0x3B, 0, 0, 0, 0},
  8164. {0x3C, 0x6e, 0x6e, 0, 0},
  8165. {0x3D, 0xf0, 0xf0, 1, 1},
  8166. {0x3E, 0, 0, 0, 0},
  8167. {0x3F, 0, 0, 0, 0},
  8168. {0x40, 0, 0, 0, 0},
  8169. {0x41, 0x3, 0x3, 0, 0},
  8170. {0x42, 0x3, 0x3, 0, 0},
  8171. {0x43, 0, 0, 0, 0},
  8172. {0x44, 0x1e, 0x1e, 0, 0},
  8173. {0x45, 0, 0, 0, 0},
  8174. {0x46, 0x6e, 0x6e, 0, 0},
  8175. {0x47, 0xf0, 0xf0, 1, 1},
  8176. {0x48, 0, 0, 0, 0},
  8177. {0x49, 0x2, 0x2, 0, 0},
  8178. {0x4A, 0xff, 0xff, 1, 1},
  8179. {0x4B, 0xc, 0xc, 0, 0},
  8180. {0x4C, 0, 0, 0, 0},
  8181. {0x4D, 0x38, 0x38, 0, 0},
  8182. {0x4E, 0x70, 0x70, 1, 1},
  8183. {0x4F, 0x2, 0x2, 0, 0},
  8184. {0x50, 0x88, 0x88, 0, 0},
  8185. {0x51, 0xc, 0xc, 0, 0},
  8186. {0x52, 0, 0, 0, 0},
  8187. {0x53, 0x8, 0x8, 0, 0},
  8188. {0x54, 0x70, 0x70, 1, 1},
  8189. {0x55, 0x2, 0x2, 0, 0},
  8190. {0x56, 0xff, 0xff, 1, 1},
  8191. {0x57, 0, 0, 0, 0},
  8192. {0x58, 0x83, 0x83, 0, 0},
  8193. {0x59, 0x77, 0x77, 1, 1},
  8194. {0x5A, 0, 0, 0, 0},
  8195. {0x5B, 0x2, 0x2, 0, 0},
  8196. {0x5C, 0x88, 0x88, 0, 0},
  8197. {0x5D, 0, 0, 0, 0},
  8198. {0x5E, 0x8, 0x8, 0, 0},
  8199. {0x5F, 0x77, 0x77, 1, 1},
  8200. {0x60, 0x1, 0x1, 0, 0},
  8201. {0x61, 0, 0, 0, 0},
  8202. {0x62, 0x7, 0x7, 0, 0},
  8203. {0x63, 0, 0, 0, 0},
  8204. {0x64, 0x7, 0x7, 0, 0},
  8205. {0x65, 0, 0, 0, 0},
  8206. {0x66, 0, 0, 0, 0},
  8207. {0x67, 0x74, 0x74, 1, 1},
  8208. {0x68, 0, 0, 0, 0},
  8209. {0x69, 0xa, 0xa, 0, 0},
  8210. {0x6A, 0, 0, 0, 0},
  8211. {0x6B, 0, 0, 0, 0},
  8212. {0x6C, 0, 0, 0, 0},
  8213. {0x6D, 0, 0, 0, 0},
  8214. {0x6E, 0, 0, 0, 0},
  8215. {0x6F, 0, 0, 0, 0},
  8216. {0x70, 0, 0, 0, 0},
  8217. {0x71, 0x2, 0x2, 0, 0},
  8218. {0x72, 0, 0, 0, 0},
  8219. {0x73, 0, 0, 0, 0},
  8220. {0x74, 0xe, 0xe, 0, 0},
  8221. {0x75, 0xe, 0xe, 0, 0},
  8222. {0x76, 0xe, 0xe, 0, 0},
  8223. {0x77, 0x13, 0x13, 0, 0},
  8224. {0x78, 0x13, 0x13, 0, 0},
  8225. {0x79, 0x1b, 0x1b, 0, 0},
  8226. {0x7A, 0x1b, 0x1b, 0, 0},
  8227. {0x7B, 0x55, 0x55, 0, 0},
  8228. {0x7C, 0x5b, 0x5b, 0, 0},
  8229. {0x7D, 0, 0, 0, 0},
  8230. {0x7E, 0, 0, 0, 0},
  8231. {0x7F, 0, 0, 0, 0},
  8232. {0x80, 0, 0, 0, 0},
  8233. {0x81, 0, 0, 0, 0},
  8234. {0x82, 0, 0, 0, 0},
  8235. {0x83, 0, 0, 0, 0},
  8236. {0x84, 0, 0, 0, 0},
  8237. {0x85, 0, 0, 0, 0},
  8238. {0x86, 0, 0, 0, 0},
  8239. {0x87, 0, 0, 0, 0},
  8240. {0x88, 0, 0, 0, 0},
  8241. {0x89, 0, 0, 0, 0},
  8242. {0x8A, 0, 0, 0, 0},
  8243. {0x8B, 0, 0, 0, 0},
  8244. {0x8C, 0, 0, 0, 0},
  8245. {0x8D, 0, 0, 0, 0},
  8246. {0x8E, 0, 0, 0, 0},
  8247. {0x8F, 0, 0, 0, 0},
  8248. {0x90, 0, 0, 0, 0},
  8249. {0x91, 0, 0, 0, 0},
  8250. {0x92, 0, 0, 0, 0},
  8251. {0xFFFF, 0, 0, 0, 0}
  8252. };
  8253. static struct radio_regs regs_RX_2056[] = {
  8254. {0x02, 0, 0, 0, 0},
  8255. {0x03, 0, 0, 0, 0},
  8256. {0x04, 0, 0, 0, 0},
  8257. {0x05, 0, 0, 0, 0},
  8258. {0x06, 0, 0, 0, 0},
  8259. {0x07, 0, 0, 0, 0},
  8260. {0x08, 0, 0, 0, 0},
  8261. {0x09, 0, 0, 0, 0},
  8262. {0x0A, 0, 0, 0, 0},
  8263. {0x0B, 0, 0, 0, 0},
  8264. {0x0C, 0, 0, 0, 0},
  8265. {0x0D, 0, 0, 0, 0},
  8266. {0x0E, 0, 0, 0, 0},
  8267. {0x0F, 0, 0, 0, 0},
  8268. {0x10, 0, 0, 0, 0},
  8269. {0x11, 0, 0, 0, 0},
  8270. {0x12, 0, 0, 0, 0},
  8271. {0x13, 0, 0, 0, 0},
  8272. {0x14, 0, 0, 0, 0},
  8273. {0x15, 0, 0, 0, 0},
  8274. {0x16, 0, 0, 0, 0},
  8275. {0x17, 0, 0, 0, 0},
  8276. {0x18, 0, 0, 0, 0},
  8277. {0x19, 0, 0, 0, 0},
  8278. {0x1A, 0, 0, 0, 0},
  8279. {0x1B, 0, 0, 0, 0},
  8280. {0x1C, 0, 0, 0, 0},
  8281. {0x1D, 0, 0, 0, 0},
  8282. {0x1E, 0, 0, 0, 0},
  8283. {0x1F, 0, 0, 0, 0},
  8284. {0x20, 0x3, 0x3, 0, 0},
  8285. {0x21, 0, 0, 0, 0},
  8286. {0x22, 0, 0, 0, 0},
  8287. {0x23, 0x90, 0x90, 0, 0},
  8288. {0x24, 0x55, 0x55, 0, 0},
  8289. {0x25, 0x15, 0x15, 0, 0},
  8290. {0x26, 0x5, 0x5, 0, 0},
  8291. {0x27, 0x15, 0x15, 0, 0},
  8292. {0x28, 0x5, 0x5, 0, 0},
  8293. {0x29, 0x20, 0x20, 0, 0},
  8294. {0x2A, 0x11, 0x11, 0, 0},
  8295. {0x2B, 0x90, 0x90, 0, 0},
  8296. {0x2C, 0, 0, 0, 0},
  8297. {0x2D, 0x88, 0x88, 0, 0},
  8298. {0x2E, 0x32, 0x32, 0, 0},
  8299. {0x2F, 0x77, 0x77, 0, 0},
  8300. {0x30, 0x17, 0x17, 1, 1},
  8301. {0x31, 0xff, 0xff, 1, 1},
  8302. {0x32, 0x20, 0x20, 0, 0},
  8303. {0x33, 0, 0, 0, 0},
  8304. {0x34, 0x88, 0x88, 0, 0},
  8305. {0x35, 0x32, 0x32, 0, 0},
  8306. {0x36, 0x77, 0x77, 0, 0},
  8307. {0x37, 0x17, 0x17, 1, 1},
  8308. {0x38, 0xf0, 0xf0, 1, 1},
  8309. {0x39, 0x20, 0x20, 0, 0},
  8310. {0x3A, 0x8, 0x8, 0, 0},
  8311. {0x3B, 0x99, 0x99, 0, 0},
  8312. {0x3C, 0, 0, 0, 0},
  8313. {0x3D, 0x44, 0x44, 1, 1},
  8314. {0x3E, 0, 0, 0, 0},
  8315. {0x3F, 0x44, 0x44, 0, 0},
  8316. {0x40, 0xf, 0xf, 1, 1},
  8317. {0x41, 0x6, 0x6, 0, 0},
  8318. {0x42, 0x4, 0x4, 0, 0},
  8319. {0x43, 0x50, 0x50, 1, 1},
  8320. {0x44, 0x8, 0x8, 0, 0},
  8321. {0x45, 0x99, 0x99, 0, 0},
  8322. {0x46, 0, 0, 0, 0},
  8323. {0x47, 0x11, 0x11, 0, 0},
  8324. {0x48, 0, 0, 0, 0},
  8325. {0x49, 0x44, 0x44, 0, 0},
  8326. {0x4A, 0x7, 0x7, 0, 0},
  8327. {0x4B, 0x6, 0x6, 0, 0},
  8328. {0x4C, 0x4, 0x4, 0, 0},
  8329. {0x4D, 0, 0, 0, 0},
  8330. {0x4E, 0, 0, 0, 0},
  8331. {0x4F, 0x66, 0x66, 0, 0},
  8332. {0x50, 0x66, 0x66, 0, 0},
  8333. {0x51, 0x57, 0x57, 0, 0},
  8334. {0x52, 0x57, 0x57, 0, 0},
  8335. {0x53, 0x44, 0x44, 0, 0},
  8336. {0x54, 0, 0, 0, 0},
  8337. {0x55, 0, 0, 0, 0},
  8338. {0x56, 0x8, 0x8, 0, 0},
  8339. {0x57, 0x8, 0x8, 0, 0},
  8340. {0x58, 0x7, 0x7, 0, 0},
  8341. {0x59, 0x22, 0x22, 0, 0},
  8342. {0x5A, 0x22, 0x22, 0, 0},
  8343. {0x5B, 0x2, 0x2, 0, 0},
  8344. {0x5C, 0x23, 0x23, 0, 0},
  8345. {0x5D, 0x7, 0x7, 0, 0},
  8346. {0x5E, 0x55, 0x55, 0, 0},
  8347. {0x5F, 0x23, 0x23, 0, 0},
  8348. {0x60, 0x41, 0x41, 0, 0},
  8349. {0x61, 0x1, 0x1, 0, 0},
  8350. {0x62, 0xa, 0xa, 0, 0},
  8351. {0x63, 0, 0, 0, 0},
  8352. {0x64, 0, 0, 0, 0},
  8353. {0x65, 0, 0, 0, 0},
  8354. {0x66, 0, 0, 0, 0},
  8355. {0x67, 0, 0, 0, 0},
  8356. {0x68, 0, 0, 0, 0},
  8357. {0x69, 0, 0, 0, 0},
  8358. {0x6A, 0, 0, 0, 0},
  8359. {0x6B, 0xc, 0xc, 0, 0},
  8360. {0x6C, 0, 0, 0, 0},
  8361. {0x6D, 0, 0, 0, 0},
  8362. {0x6E, 0, 0, 0, 0},
  8363. {0x6F, 0, 0, 0, 0},
  8364. {0x70, 0, 0, 0, 0},
  8365. {0x71, 0, 0, 0, 0},
  8366. {0x72, 0x22, 0x22, 0, 0},
  8367. {0x73, 0x22, 0x22, 0, 0},
  8368. {0x74, 0x2, 0x2, 0, 0},
  8369. {0x75, 0xa, 0xa, 0, 0},
  8370. {0x76, 0x1, 0x1, 0, 0},
  8371. {0x77, 0x22, 0x22, 0, 0},
  8372. {0x78, 0x30, 0x30, 0, 0},
  8373. {0x79, 0, 0, 0, 0},
  8374. {0x7A, 0, 0, 0, 0},
  8375. {0x7B, 0, 0, 0, 0},
  8376. {0x7C, 0, 0, 0, 0},
  8377. {0x7D, 0, 0, 0, 0},
  8378. {0x7E, 0, 0, 0, 0},
  8379. {0x7F, 0, 0, 0, 0},
  8380. {0x80, 0, 0, 0, 0},
  8381. {0x81, 0, 0, 0, 0},
  8382. {0x82, 0, 0, 0, 0},
  8383. {0x83, 0, 0, 0, 0},
  8384. {0x84, 0, 0, 0, 0},
  8385. {0x85, 0, 0, 0, 0},
  8386. {0x86, 0, 0, 0, 0},
  8387. {0x87, 0, 0, 0, 0},
  8388. {0x88, 0, 0, 0, 0},
  8389. {0x89, 0, 0, 0, 0},
  8390. {0x8A, 0, 0, 0, 0},
  8391. {0x8B, 0, 0, 0, 0},
  8392. {0x8C, 0, 0, 0, 0},
  8393. {0x8D, 0, 0, 0, 0},
  8394. {0x8E, 0, 0, 0, 0},
  8395. {0x8F, 0, 0, 0, 0},
  8396. {0x90, 0, 0, 0, 0},
  8397. {0x91, 0, 0, 0, 0},
  8398. {0x92, 0, 0, 0, 0},
  8399. {0x93, 0, 0, 0, 0},
  8400. {0x94, 0, 0, 0, 0},
  8401. {0xFFFF, 0, 0, 0, 0}
  8402. };
  8403. static struct radio_regs regs_SYN_2056_A1[] = {
  8404. {0x02, 0, 0, 0, 0},
  8405. {0x03, 0, 0, 0, 0},
  8406. {0x04, 0, 0, 0, 0},
  8407. {0x05, 0, 0, 0, 0},
  8408. {0x06, 0, 0, 0, 0},
  8409. {0x07, 0, 0, 0, 0},
  8410. {0x08, 0, 0, 0, 0},
  8411. {0x09, 0x1, 0x1, 0, 0},
  8412. {0x0A, 0, 0, 0, 0},
  8413. {0x0B, 0, 0, 0, 0},
  8414. {0x0C, 0, 0, 0, 0},
  8415. {0x0D, 0, 0, 0, 0},
  8416. {0x0E, 0, 0, 0, 0},
  8417. {0x0F, 0, 0, 0, 0},
  8418. {0x10, 0, 0, 0, 0},
  8419. {0x11, 0, 0, 0, 0},
  8420. {0x12, 0, 0, 0, 0},
  8421. {0x13, 0, 0, 0, 0},
  8422. {0x14, 0, 0, 0, 0},
  8423. {0x15, 0, 0, 0, 0},
  8424. {0x16, 0, 0, 0, 0},
  8425. {0x17, 0, 0, 0, 0},
  8426. {0x18, 0, 0, 0, 0},
  8427. {0x19, 0, 0, 0, 0},
  8428. {0x1A, 0, 0, 0, 0},
  8429. {0x1B, 0, 0, 0, 0},
  8430. {0x1C, 0, 0, 0, 0},
  8431. {0x1D, 0, 0, 0, 0},
  8432. {0x1E, 0, 0, 0, 0},
  8433. {0x1F, 0, 0, 0, 0},
  8434. {0x20, 0, 0, 0, 0},
  8435. {0x21, 0, 0, 0, 0},
  8436. {0x22, 0x60, 0x60, 0, 0},
  8437. {0x23, 0x6, 0x6, 0, 0},
  8438. {0x24, 0xc, 0xc, 0, 0},
  8439. {0x25, 0, 0, 0, 0},
  8440. {0x26, 0, 0, 0, 0},
  8441. {0x27, 0, 0, 0, 0},
  8442. {0x28, 0x1, 0x1, 0, 0},
  8443. {0x29, 0, 0, 0, 0},
  8444. {0x2A, 0, 0, 0, 0},
  8445. {0x2B, 0, 0, 0, 0},
  8446. {0x2C, 0, 0, 0, 0},
  8447. {0x2D, 0, 0, 0, 0},
  8448. {0x2E, 0xd, 0xd, 0, 0},
  8449. {0x2F, 0x1f, 0x1f, 0, 0},
  8450. {0x30, 0x15, 0x15, 0, 0},
  8451. {0x31, 0xf, 0xf, 0, 0},
  8452. {0x32, 0, 0, 0, 0},
  8453. {0x33, 0, 0, 0, 0},
  8454. {0x34, 0, 0, 0, 0},
  8455. {0x35, 0, 0, 0, 0},
  8456. {0x36, 0, 0, 0, 0},
  8457. {0x37, 0, 0, 0, 0},
  8458. {0x38, 0, 0, 0, 0},
  8459. {0x39, 0, 0, 0, 0},
  8460. {0x3A, 0, 0, 0, 0},
  8461. {0x3B, 0, 0, 0, 0},
  8462. {0x3C, 0x13, 0x13, 0, 0},
  8463. {0x3D, 0xf, 0xf, 0, 0},
  8464. {0x3E, 0x18, 0x18, 0, 0},
  8465. {0x3F, 0, 0, 0, 0},
  8466. {0x40, 0, 0, 0, 0},
  8467. {0x41, 0x20, 0x20, 0, 0},
  8468. {0x42, 0x20, 0x20, 0, 0},
  8469. {0x43, 0, 0, 0, 0},
  8470. {0x44, 0x77, 0x77, 0, 0},
  8471. {0x45, 0x7, 0x7, 0, 0},
  8472. {0x46, 0x1, 0x1, 0, 0},
  8473. {0x47, 0x4, 0x4, 0, 0},
  8474. {0x48, 0xf, 0xf, 0, 0},
  8475. {0x49, 0x30, 0x30, 0, 0},
  8476. {0x4A, 0x32, 0x32, 0, 0},
  8477. {0x4B, 0xd, 0xd, 0, 0},
  8478. {0x4C, 0xd, 0xd, 0, 0},
  8479. {0x4D, 0x4, 0x4, 0, 0},
  8480. {0x4E, 0x6, 0x6, 0, 0},
  8481. {0x4F, 0x1, 0x1, 0, 0},
  8482. {0x50, 0x1c, 0x1c, 0, 0},
  8483. {0x51, 0x2, 0x2, 0, 0},
  8484. {0x52, 0x2, 0x2, 0, 0},
  8485. {0x53, 0xf7, 0xf7, 1, 1},
  8486. {0x54, 0xb4, 0xb4, 0, 0},
  8487. {0x55, 0xd2, 0xd2, 0, 0},
  8488. {0x56, 0, 0, 0, 0},
  8489. {0x57, 0, 0, 0, 0},
  8490. {0x58, 0x4, 0x4, 0, 0},
  8491. {0x59, 0x96, 0x96, 0, 0},
  8492. {0x5A, 0x3e, 0x3e, 0, 0},
  8493. {0x5B, 0x3e, 0x3e, 0, 0},
  8494. {0x5C, 0x13, 0x13, 0, 0},
  8495. {0x5D, 0x2, 0x2, 0, 0},
  8496. {0x5E, 0, 0, 0, 0},
  8497. {0x5F, 0x7, 0x7, 0, 0},
  8498. {0x60, 0x7, 0x7, 1, 1},
  8499. {0x61, 0x8, 0x8, 0, 0},
  8500. {0x62, 0x3, 0x3, 0, 0},
  8501. {0x63, 0, 0, 0, 0},
  8502. {0x64, 0, 0, 0, 0},
  8503. {0x65, 0, 0, 0, 0},
  8504. {0x66, 0, 0, 0, 0},
  8505. {0x67, 0, 0, 0, 0},
  8506. {0x68, 0x40, 0x40, 0, 0},
  8507. {0x69, 0, 0, 0, 0},
  8508. {0x6A, 0, 0, 0, 0},
  8509. {0x6B, 0, 0, 0, 0},
  8510. {0x6C, 0, 0, 0, 0},
  8511. {0x6D, 0x1, 0x1, 0, 0},
  8512. {0x6E, 0, 0, 0, 0},
  8513. {0x6F, 0, 0, 0, 0},
  8514. {0x70, 0x60, 0x60, 0, 0},
  8515. {0x71, 0x66, 0x66, 0, 0},
  8516. {0x72, 0xc, 0xc, 0, 0},
  8517. {0x73, 0x66, 0x66, 0, 0},
  8518. {0x74, 0x8f, 0x8f, 1, 1},
  8519. {0x75, 0, 0, 0, 0},
  8520. {0x76, 0xcc, 0xcc, 0, 0},
  8521. {0x77, 0x1, 0x1, 0, 0},
  8522. {0x78, 0x66, 0x66, 0, 0},
  8523. {0x79, 0x66, 0x66, 0, 0},
  8524. {0x7A, 0, 0, 0, 0},
  8525. {0x7B, 0, 0, 0, 0},
  8526. {0x7C, 0, 0, 0, 0},
  8527. {0x7D, 0, 0, 0, 0},
  8528. {0x7E, 0, 0, 0, 0},
  8529. {0x7F, 0, 0, 0, 0},
  8530. {0x80, 0, 0, 0, 0},
  8531. {0x81, 0, 0, 0, 0},
  8532. {0x82, 0, 0, 0, 0},
  8533. {0x83, 0, 0, 0, 0},
  8534. {0x84, 0, 0, 0, 0},
  8535. {0x85, 0xff, 0xff, 0, 0},
  8536. {0x86, 0, 0, 0, 0},
  8537. {0x87, 0, 0, 0, 0},
  8538. {0x88, 0, 0, 0, 0},
  8539. {0x89, 0, 0, 0, 0},
  8540. {0x8A, 0, 0, 0, 0},
  8541. {0x8B, 0, 0, 0, 0},
  8542. {0x8C, 0, 0, 0, 0},
  8543. {0x8D, 0, 0, 0, 0},
  8544. {0x8E, 0, 0, 0, 0},
  8545. {0x8F, 0, 0, 0, 0},
  8546. {0x90, 0, 0, 0, 0},
  8547. {0x91, 0, 0, 0, 0},
  8548. {0x92, 0, 0, 0, 0},
  8549. {0x93, 0, 0, 0, 0},
  8550. {0x94, 0, 0, 0, 0},
  8551. {0x95, 0, 0, 0, 0},
  8552. {0x96, 0, 0, 0, 0},
  8553. {0x97, 0, 0, 0, 0},
  8554. {0x98, 0, 0, 0, 0},
  8555. {0x99, 0, 0, 0, 0},
  8556. {0x9A, 0, 0, 0, 0},
  8557. {0x9B, 0, 0, 0, 0},
  8558. {0x9C, 0, 0, 0, 0},
  8559. {0x9D, 0, 0, 0, 0},
  8560. {0x9E, 0, 0, 0, 0},
  8561. {0x9F, 0x6, 0x6, 0, 0},
  8562. {0xA0, 0x66, 0x66, 0, 0},
  8563. {0xA1, 0x66, 0x66, 0, 0},
  8564. {0xA2, 0x66, 0x66, 0, 0},
  8565. {0xA3, 0x66, 0x66, 0, 0},
  8566. {0xA4, 0x66, 0x66, 0, 0},
  8567. {0xA5, 0x66, 0x66, 0, 0},
  8568. {0xA6, 0x66, 0x66, 0, 0},
  8569. {0xA7, 0x66, 0x66, 0, 0},
  8570. {0xA8, 0x66, 0x66, 0, 0},
  8571. {0xA9, 0x66, 0x66, 0, 0},
  8572. {0xAA, 0x66, 0x66, 0, 0},
  8573. {0xAB, 0x66, 0x66, 0, 0},
  8574. {0xAC, 0x66, 0x66, 0, 0},
  8575. {0xAD, 0x66, 0x66, 0, 0},
  8576. {0xAE, 0x66, 0x66, 0, 0},
  8577. {0xAF, 0x66, 0x66, 0, 0},
  8578. {0xB0, 0x66, 0x66, 0, 0},
  8579. {0xB1, 0x66, 0x66, 0, 0},
  8580. {0xB2, 0x66, 0x66, 0, 0},
  8581. {0xB3, 0xa, 0xa, 0, 0},
  8582. {0xB4, 0, 0, 0, 0},
  8583. {0xB5, 0, 0, 0, 0},
  8584. {0xB6, 0, 0, 0, 0},
  8585. {0xFFFF, 0, 0, 0, 0}
  8586. };
  8587. static struct radio_regs regs_TX_2056_A1[] = {
  8588. {0x02, 0, 0, 0, 0},
  8589. {0x03, 0, 0, 0, 0},
  8590. {0x04, 0, 0, 0, 0},
  8591. {0x05, 0, 0, 0, 0},
  8592. {0x06, 0, 0, 0, 0},
  8593. {0x07, 0, 0, 0, 0},
  8594. {0x08, 0, 0, 0, 0},
  8595. {0x09, 0, 0, 0, 0},
  8596. {0x0A, 0, 0, 0, 0},
  8597. {0x0B, 0, 0, 0, 0},
  8598. {0x0C, 0, 0, 0, 0},
  8599. {0x0D, 0, 0, 0, 0},
  8600. {0x0E, 0, 0, 0, 0},
  8601. {0x0F, 0, 0, 0, 0},
  8602. {0x10, 0, 0, 0, 0},
  8603. {0x11, 0, 0, 0, 0},
  8604. {0x12, 0, 0, 0, 0},
  8605. {0x13, 0, 0, 0, 0},
  8606. {0x14, 0, 0, 0, 0},
  8607. {0x15, 0, 0, 0, 0},
  8608. {0x16, 0, 0, 0, 0},
  8609. {0x17, 0, 0, 0, 0},
  8610. {0x18, 0, 0, 0, 0},
  8611. {0x19, 0, 0, 0, 0},
  8612. {0x1A, 0, 0, 0, 0},
  8613. {0x1B, 0, 0, 0, 0},
  8614. {0x1C, 0, 0, 0, 0},
  8615. {0x1D, 0, 0, 0, 0},
  8616. {0x1E, 0, 0, 0, 0},
  8617. {0x1F, 0, 0, 0, 0},
  8618. {0x20, 0, 0, 0, 0},
  8619. {0x21, 0x88, 0x88, 0, 0},
  8620. {0x22, 0x88, 0x88, 0, 0},
  8621. {0x23, 0x88, 0x88, 0, 0},
  8622. {0x24, 0x88, 0x88, 0, 0},
  8623. {0x25, 0xc, 0xc, 0, 0},
  8624. {0x26, 0, 0, 0, 0},
  8625. {0x27, 0x3, 0x3, 0, 0},
  8626. {0x28, 0, 0, 0, 0},
  8627. {0x29, 0x3, 0x3, 0, 0},
  8628. {0x2A, 0x37, 0x37, 0, 0},
  8629. {0x2B, 0x3, 0x3, 0, 0},
  8630. {0x2C, 0, 0, 0, 0},
  8631. {0x2D, 0, 0, 0, 0},
  8632. {0x2E, 0x1, 0x1, 0, 0},
  8633. {0x2F, 0x1, 0x1, 0, 0},
  8634. {0x30, 0, 0, 0, 0},
  8635. {0x31, 0, 0, 0, 0},
  8636. {0x32, 0, 0, 0, 0},
  8637. {0x33, 0x11, 0x11, 0, 0},
  8638. {0x34, 0x11, 0x11, 0, 0},
  8639. {0x35, 0, 0, 0, 0},
  8640. {0x36, 0, 0, 0, 0},
  8641. {0x37, 0x3, 0x3, 0, 0},
  8642. {0x38, 0xf, 0xf, 0, 0},
  8643. {0x39, 0, 0, 0, 0},
  8644. {0x3A, 0x2d, 0x2d, 0, 0},
  8645. {0x3B, 0, 0, 0, 0},
  8646. {0x3C, 0x6e, 0x6e, 0, 0},
  8647. {0x3D, 0xf0, 0xf0, 1, 1},
  8648. {0x3E, 0, 0, 0, 0},
  8649. {0x3F, 0, 0, 0, 0},
  8650. {0x40, 0, 0, 0, 0},
  8651. {0x41, 0x3, 0x3, 0, 0},
  8652. {0x42, 0x3, 0x3, 0, 0},
  8653. {0x43, 0, 0, 0, 0},
  8654. {0x44, 0x1e, 0x1e, 0, 0},
  8655. {0x45, 0, 0, 0, 0},
  8656. {0x46, 0x6e, 0x6e, 0, 0},
  8657. {0x47, 0xf0, 0xf0, 1, 1},
  8658. {0x48, 0, 0, 0, 0},
  8659. {0x49, 0x2, 0x2, 0, 0},
  8660. {0x4A, 0xff, 0xff, 1, 1},
  8661. {0x4B, 0xc, 0xc, 0, 0},
  8662. {0x4C, 0, 0, 0, 0},
  8663. {0x4D, 0x38, 0x38, 0, 0},
  8664. {0x4E, 0x70, 0x70, 1, 1},
  8665. {0x4F, 0x2, 0x2, 0, 0},
  8666. {0x50, 0x88, 0x88, 0, 0},
  8667. {0x51, 0xc, 0xc, 0, 0},
  8668. {0x52, 0, 0, 0, 0},
  8669. {0x53, 0x8, 0x8, 0, 0},
  8670. {0x54, 0x70, 0x70, 1, 1},
  8671. {0x55, 0x2, 0x2, 0, 0},
  8672. {0x56, 0xff, 0xff, 1, 1},
  8673. {0x57, 0, 0, 0, 0},
  8674. {0x58, 0x83, 0x83, 0, 0},
  8675. {0x59, 0x77, 0x77, 1, 1},
  8676. {0x5A, 0, 0, 0, 0},
  8677. {0x5B, 0x2, 0x2, 0, 0},
  8678. {0x5C, 0x88, 0x88, 0, 0},
  8679. {0x5D, 0, 0, 0, 0},
  8680. {0x5E, 0x8, 0x8, 0, 0},
  8681. {0x5F, 0x77, 0x77, 1, 1},
  8682. {0x60, 0x1, 0x1, 0, 0},
  8683. {0x61, 0, 0, 0, 0},
  8684. {0x62, 0x7, 0x7, 0, 0},
  8685. {0x63, 0, 0, 0, 0},
  8686. {0x64, 0x7, 0x7, 0, 0},
  8687. {0x65, 0, 0, 0, 0},
  8688. {0x66, 0, 0, 0, 0},
  8689. {0x67, 0x72, 0x72, 1, 1},
  8690. {0x68, 0, 0, 0, 0},
  8691. {0x69, 0xa, 0xa, 0, 0},
  8692. {0x6A, 0, 0, 0, 0},
  8693. {0x6B, 0, 0, 0, 0},
  8694. {0x6C, 0, 0, 0, 0},
  8695. {0x6D, 0, 0, 0, 0},
  8696. {0x6E, 0, 0, 0, 0},
  8697. {0x6F, 0, 0, 0, 0},
  8698. {0x70, 0, 0, 0, 0},
  8699. {0x71, 0x2, 0x2, 0, 0},
  8700. {0x72, 0, 0, 0, 0},
  8701. {0x73, 0, 0, 0, 0},
  8702. {0x74, 0xe, 0xe, 0, 0},
  8703. {0x75, 0xe, 0xe, 0, 0},
  8704. {0x76, 0xe, 0xe, 0, 0},
  8705. {0x77, 0x13, 0x13, 0, 0},
  8706. {0x78, 0x13, 0x13, 0, 0},
  8707. {0x79, 0x1b, 0x1b, 0, 0},
  8708. {0x7A, 0x1b, 0x1b, 0, 0},
  8709. {0x7B, 0x55, 0x55, 0, 0},
  8710. {0x7C, 0x5b, 0x5b, 0, 0},
  8711. {0x7D, 0, 0, 0, 0},
  8712. {0x7E, 0, 0, 0, 0},
  8713. {0x7F, 0, 0, 0, 0},
  8714. {0x80, 0, 0, 0, 0},
  8715. {0x81, 0, 0, 0, 0},
  8716. {0x82, 0, 0, 0, 0},
  8717. {0x83, 0, 0, 0, 0},
  8718. {0x84, 0, 0, 0, 0},
  8719. {0x85, 0, 0, 0, 0},
  8720. {0x86, 0, 0, 0, 0},
  8721. {0x87, 0, 0, 0, 0},
  8722. {0x88, 0, 0, 0, 0},
  8723. {0x89, 0, 0, 0, 0},
  8724. {0x8A, 0, 0, 0, 0},
  8725. {0x8B, 0, 0, 0, 0},
  8726. {0x8C, 0, 0, 0, 0},
  8727. {0x8D, 0, 0, 0, 0},
  8728. {0x8E, 0, 0, 0, 0},
  8729. {0x8F, 0, 0, 0, 0},
  8730. {0x90, 0, 0, 0, 0},
  8731. {0x91, 0, 0, 0, 0},
  8732. {0x92, 0, 0, 0, 0},
  8733. {0xFFFF, 0, 0, 0, 0}
  8734. };
  8735. static struct radio_regs regs_RX_2056_A1[] = {
  8736. {0x02, 0, 0, 0, 0},
  8737. {0x03, 0, 0, 0, 0},
  8738. {0x04, 0, 0, 0, 0},
  8739. {0x05, 0, 0, 0, 0},
  8740. {0x06, 0, 0, 0, 0},
  8741. {0x07, 0, 0, 0, 0},
  8742. {0x08, 0, 0, 0, 0},
  8743. {0x09, 0, 0, 0, 0},
  8744. {0x0A, 0, 0, 0, 0},
  8745. {0x0B, 0, 0, 0, 0},
  8746. {0x0C, 0, 0, 0, 0},
  8747. {0x0D, 0, 0, 0, 0},
  8748. {0x0E, 0, 0, 0, 0},
  8749. {0x0F, 0, 0, 0, 0},
  8750. {0x10, 0, 0, 0, 0},
  8751. {0x11, 0, 0, 0, 0},
  8752. {0x12, 0, 0, 0, 0},
  8753. {0x13, 0, 0, 0, 0},
  8754. {0x14, 0, 0, 0, 0},
  8755. {0x15, 0, 0, 0, 0},
  8756. {0x16, 0, 0, 0, 0},
  8757. {0x17, 0, 0, 0, 0},
  8758. {0x18, 0, 0, 0, 0},
  8759. {0x19, 0, 0, 0, 0},
  8760. {0x1A, 0, 0, 0, 0},
  8761. {0x1B, 0, 0, 0, 0},
  8762. {0x1C, 0, 0, 0, 0},
  8763. {0x1D, 0, 0, 0, 0},
  8764. {0x1E, 0, 0, 0, 0},
  8765. {0x1F, 0, 0, 0, 0},
  8766. {0x20, 0x3, 0x3, 0, 0},
  8767. {0x21, 0, 0, 0, 0},
  8768. {0x22, 0, 0, 0, 0},
  8769. {0x23, 0x90, 0x90, 0, 0},
  8770. {0x24, 0x55, 0x55, 0, 0},
  8771. {0x25, 0x15, 0x15, 0, 0},
  8772. {0x26, 0x5, 0x5, 0, 0},
  8773. {0x27, 0x15, 0x15, 0, 0},
  8774. {0x28, 0x5, 0x5, 0, 0},
  8775. {0x29, 0x20, 0x20, 0, 0},
  8776. {0x2A, 0x11, 0x11, 0, 0},
  8777. {0x2B, 0x90, 0x90, 0, 0},
  8778. {0x2C, 0, 0, 0, 0},
  8779. {0x2D, 0x88, 0x88, 0, 0},
  8780. {0x2E, 0x32, 0x32, 0, 0},
  8781. {0x2F, 0x77, 0x77, 0, 0},
  8782. {0x30, 0x17, 0x17, 1, 1},
  8783. {0x31, 0xff, 0xff, 1, 1},
  8784. {0x32, 0x20, 0x20, 0, 0},
  8785. {0x33, 0, 0, 0, 0},
  8786. {0x34, 0x88, 0x88, 0, 0},
  8787. {0x35, 0x32, 0x32, 0, 0},
  8788. {0x36, 0x77, 0x77, 0, 0},
  8789. {0x37, 0x17, 0x17, 1, 1},
  8790. {0x38, 0xf0, 0xf0, 1, 1},
  8791. {0x39, 0x20, 0x20, 0, 0},
  8792. {0x3A, 0x8, 0x8, 0, 0},
  8793. {0x3B, 0x55, 0x55, 1, 1},
  8794. {0x3C, 0, 0, 0, 0},
  8795. {0x3D, 0x44, 0x44, 1, 1},
  8796. {0x3E, 0, 0, 0, 0},
  8797. {0x3F, 0x44, 0x44, 0, 0},
  8798. {0x40, 0xf, 0xf, 1, 1},
  8799. {0x41, 0x6, 0x6, 0, 0},
  8800. {0x42, 0x4, 0x4, 0, 0},
  8801. {0x43, 0x50, 0x50, 1, 1},
  8802. {0x44, 0x8, 0x8, 0, 0},
  8803. {0x45, 0x55, 0x55, 1, 1},
  8804. {0x46, 0, 0, 0, 0},
  8805. {0x47, 0x11, 0x11, 0, 0},
  8806. {0x48, 0, 0, 0, 0},
  8807. {0x49, 0x44, 0x44, 0, 0},
  8808. {0x4A, 0x7, 0x7, 0, 0},
  8809. {0x4B, 0x6, 0x6, 0, 0},
  8810. {0x4C, 0x4, 0x4, 0, 0},
  8811. {0x4D, 0, 0, 0, 0},
  8812. {0x4E, 0, 0, 0, 0},
  8813. {0x4F, 0x26, 0x26, 1, 1},
  8814. {0x50, 0x26, 0x26, 1, 1},
  8815. {0x51, 0xf, 0xf, 1, 1},
  8816. {0x52, 0xf, 0xf, 1, 1},
  8817. {0x53, 0x44, 0x44, 0, 0},
  8818. {0x54, 0, 0, 0, 0},
  8819. {0x55, 0, 0, 0, 0},
  8820. {0x56, 0x8, 0x8, 0, 0},
  8821. {0x57, 0x8, 0x8, 0, 0},
  8822. {0x58, 0x7, 0x7, 0, 0},
  8823. {0x59, 0x22, 0x22, 0, 0},
  8824. {0x5A, 0x22, 0x22, 0, 0},
  8825. {0x5B, 0x2, 0x2, 0, 0},
  8826. {0x5C, 0x2f, 0x2f, 1, 1},
  8827. {0x5D, 0x7, 0x7, 0, 0},
  8828. {0x5E, 0x55, 0x55, 0, 0},
  8829. {0x5F, 0x23, 0x23, 0, 0},
  8830. {0x60, 0x41, 0x41, 0, 0},
  8831. {0x61, 0x1, 0x1, 0, 0},
  8832. {0x62, 0xa, 0xa, 0, 0},
  8833. {0x63, 0, 0, 0, 0},
  8834. {0x64, 0, 0, 0, 0},
  8835. {0x65, 0, 0, 0, 0},
  8836. {0x66, 0, 0, 0, 0},
  8837. {0x67, 0, 0, 0, 0},
  8838. {0x68, 0, 0, 0, 0},
  8839. {0x69, 0, 0, 0, 0},
  8840. {0x6A, 0, 0, 0, 0},
  8841. {0x6B, 0xc, 0xc, 0, 0},
  8842. {0x6C, 0, 0, 0, 0},
  8843. {0x6D, 0, 0, 0, 0},
  8844. {0x6E, 0, 0, 0, 0},
  8845. {0x6F, 0, 0, 0, 0},
  8846. {0x70, 0, 0, 0, 0},
  8847. {0x71, 0, 0, 0, 0},
  8848. {0x72, 0x22, 0x22, 0, 0},
  8849. {0x73, 0x22, 0x22, 0, 0},
  8850. {0x74, 0, 0, 1, 1},
  8851. {0x75, 0xa, 0xa, 0, 0},
  8852. {0x76, 0x1, 0x1, 0, 0},
  8853. {0x77, 0x22, 0x22, 0, 0},
  8854. {0x78, 0x30, 0x30, 0, 0},
  8855. {0x79, 0, 0, 0, 0},
  8856. {0x7A, 0, 0, 0, 0},
  8857. {0x7B, 0, 0, 0, 0},
  8858. {0x7C, 0, 0, 0, 0},
  8859. {0x7D, 0, 0, 0, 0},
  8860. {0x7E, 0, 0, 0, 0},
  8861. {0x7F, 0, 0, 0, 0},
  8862. {0x80, 0, 0, 0, 0},
  8863. {0x81, 0, 0, 0, 0},
  8864. {0x82, 0, 0, 0, 0},
  8865. {0x83, 0, 0, 0, 0},
  8866. {0x84, 0, 0, 0, 0},
  8867. {0x85, 0, 0, 0, 0},
  8868. {0x86, 0, 0, 0, 0},
  8869. {0x87, 0, 0, 0, 0},
  8870. {0x88, 0, 0, 0, 0},
  8871. {0x89, 0, 0, 0, 0},
  8872. {0x8A, 0, 0, 0, 0},
  8873. {0x8B, 0, 0, 0, 0},
  8874. {0x8C, 0, 0, 0, 0},
  8875. {0x8D, 0, 0, 0, 0},
  8876. {0x8E, 0, 0, 0, 0},
  8877. {0x8F, 0, 0, 0, 0},
  8878. {0x90, 0, 0, 0, 0},
  8879. {0x91, 0, 0, 0, 0},
  8880. {0x92, 0, 0, 0, 0},
  8881. {0x93, 0, 0, 0, 0},
  8882. {0x94, 0, 0, 0, 0},
  8883. {0xFFFF, 0, 0, 0, 0}
  8884. };
  8885. static struct radio_regs regs_SYN_2056_rev5[] = {
  8886. {0x02, 0, 0, 0, 0},
  8887. {0x03, 0, 0, 0, 0},
  8888. {0x04, 0, 0, 0, 0},
  8889. {0x05, 0, 0, 0, 0},
  8890. {0x06, 0, 0, 0, 0},
  8891. {0x07, 0, 0, 0, 0},
  8892. {0x08, 0, 0, 0, 0},
  8893. {0x09, 0x1, 0x1, 0, 0},
  8894. {0x0A, 0, 0, 0, 0},
  8895. {0x0B, 0, 0, 0, 0},
  8896. {0x0C, 0, 0, 0, 0},
  8897. {0x0D, 0, 0, 0, 0},
  8898. {0x0E, 0, 0, 0, 0},
  8899. {0x0F, 0, 0, 0, 0},
  8900. {0x10, 0, 0, 0, 0},
  8901. {0x11, 0, 0, 0, 0},
  8902. {0x12, 0, 0, 0, 0},
  8903. {0x13, 0, 0, 0, 0},
  8904. {0x14, 0, 0, 0, 0},
  8905. {0x15, 0, 0, 0, 0},
  8906. {0x16, 0, 0, 0, 0},
  8907. {0x17, 0, 0, 0, 0},
  8908. {0x18, 0, 0, 0, 0},
  8909. {0x19, 0, 0, 0, 0},
  8910. {0x1A, 0, 0, 0, 0},
  8911. {0x1B, 0, 0, 0, 0},
  8912. {0x1C, 0, 0, 0, 0},
  8913. {0x1D, 0, 0, 0, 0},
  8914. {0x1E, 0, 0, 0, 0},
  8915. {0x1F, 0, 0, 0, 0},
  8916. {0x20, 0, 0, 0, 0},
  8917. {0x21, 0, 0, 0, 0},
  8918. {0x22, 0x60, 0x60, 0, 0},
  8919. {0x23, 0x6, 0x6, 0, 0},
  8920. {0x24, 0xc, 0xc, 0, 0},
  8921. {0x25, 0, 0, 0, 0},
  8922. {0x26, 0, 0, 0, 0},
  8923. {0x27, 0, 0, 0, 0},
  8924. {0x28, 0x1, 0x1, 0, 0},
  8925. {0x29, 0, 0, 0, 0},
  8926. {0x2A, 0, 0, 0, 0},
  8927. {0x2B, 0, 0, 0, 0},
  8928. {0x2C, 0, 0, 0, 0},
  8929. {0x2D, 0, 0, 0, 0},
  8930. {0x2E, 0, 0, 0, 0},
  8931. {0x2F, 0x1f, 0x1f, 0, 0},
  8932. {0x30, 0x15, 0x15, 0, 0},
  8933. {0x31, 0xf, 0xf, 0, 0},
  8934. {0x32, 0, 0, 0, 0},
  8935. {0x33, 0, 0, 0, 0},
  8936. {0x34, 0, 0, 0, 0},
  8937. {0x35, 0, 0, 0, 0},
  8938. {0x36, 0, 0, 0, 0},
  8939. {0x37, 0, 0, 0, 0},
  8940. {0x38, 0, 0, 0, 0},
  8941. {0x39, 0, 0, 0, 0},
  8942. {0x3A, 0, 0, 0, 0},
  8943. {0x3B, 0, 0, 0, 0},
  8944. {0x3C, 0x13, 0x13, 0, 0},
  8945. {0x3D, 0xf, 0xf, 0, 0},
  8946. {0x3E, 0x18, 0x18, 0, 0},
  8947. {0x3F, 0, 0, 0, 0},
  8948. {0x40, 0, 0, 0, 0},
  8949. {0x41, 0x20, 0x20, 0, 0},
  8950. {0x42, 0x20, 0x20, 0, 0},
  8951. {0x43, 0, 0, 0, 0},
  8952. {0x44, 0x77, 0x77, 0, 0},
  8953. {0x45, 0x7, 0x7, 0, 0},
  8954. {0x46, 0x1, 0x1, 0, 0},
  8955. {0x47, 0x4, 0x4, 0, 0},
  8956. {0x48, 0xf, 0xf, 0, 0},
  8957. {0x49, 0x30, 0x30, 0, 0},
  8958. {0x4A, 0x32, 0x32, 0, 0},
  8959. {0x4B, 0xd, 0xd, 0, 0},
  8960. {0x4C, 0xd, 0xd, 0, 0},
  8961. {0x4D, 0x4, 0x4, 0, 0},
  8962. {0x4E, 0x6, 0x6, 0, 0},
  8963. {0x4F, 0x1, 0x1, 0, 0},
  8964. {0x50, 0x1c, 0x1c, 0, 0},
  8965. {0x51, 0x2, 0x2, 0, 0},
  8966. {0x52, 0x2, 0x2, 0, 0},
  8967. {0x53, 0xf7, 0xf7, 1, 1},
  8968. {0x54, 0xb4, 0xb4, 0, 0},
  8969. {0x55, 0xd2, 0xd2, 0, 0},
  8970. {0x56, 0, 0, 0, 0},
  8971. {0x57, 0, 0, 0, 0},
  8972. {0x58, 0x4, 0x4, 0, 0},
  8973. {0x59, 0x96, 0x96, 0, 0},
  8974. {0x5A, 0x3e, 0x3e, 0, 0},
  8975. {0x5B, 0x3e, 0x3e, 0, 0},
  8976. {0x5C, 0x13, 0x13, 0, 0},
  8977. {0x5D, 0x2, 0x2, 0, 0},
  8978. {0x5E, 0, 0, 0, 0},
  8979. {0x5F, 0x7, 0x7, 0, 0},
  8980. {0x60, 0x7, 0x7, 1, 1},
  8981. {0x61, 0x8, 0x8, 0, 0},
  8982. {0x62, 0x3, 0x3, 0, 0},
  8983. {0x63, 0, 0, 0, 0},
  8984. {0x64, 0, 0, 0, 0},
  8985. {0x65, 0, 0, 0, 0},
  8986. {0x66, 0, 0, 0, 0},
  8987. {0x67, 0, 0, 0, 0},
  8988. {0x68, 0x40, 0x40, 0, 0},
  8989. {0x69, 0, 0, 0, 0},
  8990. {0x6A, 0, 0, 0, 0},
  8991. {0x6B, 0, 0, 0, 0},
  8992. {0x6C, 0, 0, 0, 0},
  8993. {0x6D, 0x1, 0x1, 0, 0},
  8994. {0x6E, 0, 0, 0, 0},
  8995. {0x6F, 0, 0, 0, 0},
  8996. {0x70, 0x60, 0x60, 0, 0},
  8997. {0x71, 0x66, 0x66, 0, 0},
  8998. {0x72, 0xc, 0xc, 0, 0},
  8999. {0x73, 0x66, 0x66, 0, 0},
  9000. {0x74, 0x8f, 0x8f, 1, 1},
  9001. {0x75, 0, 0, 0, 0},
  9002. {0x76, 0xcc, 0xcc, 0, 0},
  9003. {0x77, 0x1, 0x1, 0, 0},
  9004. {0x78, 0x66, 0x66, 0, 0},
  9005. {0x79, 0x66, 0x66, 0, 0},
  9006. {0x7A, 0, 0, 0, 0},
  9007. {0x7B, 0, 0, 0, 0},
  9008. {0x7C, 0, 0, 0, 0},
  9009. {0x7D, 0, 0, 0, 0},
  9010. {0x7E, 0, 0, 0, 0},
  9011. {0x7F, 0, 0, 0, 0},
  9012. {0x80, 0, 0, 0, 0},
  9013. {0x81, 0, 0, 0, 0},
  9014. {0x82, 0, 0, 0, 0},
  9015. {0x83, 0, 0, 0, 0},
  9016. {0x84, 0, 0, 0, 0},
  9017. {0x85, 0xff, 0xff, 0, 0},
  9018. {0x86, 0, 0, 0, 0},
  9019. {0x87, 0, 0, 0, 0},
  9020. {0x88, 0, 0, 0, 0},
  9021. {0x89, 0, 0, 0, 0},
  9022. {0x8A, 0, 0, 0, 0},
  9023. {0x8B, 0, 0, 0, 0},
  9024. {0x8C, 0, 0, 0, 0},
  9025. {0x8D, 0, 0, 0, 0},
  9026. {0x8E, 0, 0, 0, 0},
  9027. {0x8F, 0, 0, 0, 0},
  9028. {0x90, 0, 0, 0, 0},
  9029. {0x91, 0, 0, 0, 0},
  9030. {0x92, 0, 0, 0, 0},
  9031. {0x93, 0, 0, 0, 0},
  9032. {0x94, 0, 0, 0, 0},
  9033. {0x95, 0, 0, 0, 0},
  9034. {0x96, 0, 0, 0, 0},
  9035. {0x97, 0, 0, 0, 0},
  9036. {0x98, 0, 0, 0, 0},
  9037. {0x99, 0, 0, 0, 0},
  9038. {0x9A, 0, 0, 0, 0},
  9039. {0x9B, 0, 0, 0, 0},
  9040. {0x9C, 0, 0, 0, 0},
  9041. {0x9D, 0, 0, 0, 0},
  9042. {0x9E, 0, 0, 0, 0},
  9043. {0x9F, 0x6, 0x6, 0, 0},
  9044. {0xA0, 0x66, 0x66, 0, 0},
  9045. {0xA1, 0x66, 0x66, 0, 0},
  9046. {0xA2, 0x66, 0x66, 0, 0},
  9047. {0xA3, 0x66, 0x66, 0, 0},
  9048. {0xA4, 0x66, 0x66, 0, 0},
  9049. {0xA5, 0x66, 0x66, 0, 0},
  9050. {0xA6, 0x66, 0x66, 0, 0},
  9051. {0xA7, 0x66, 0x66, 0, 0},
  9052. {0xA8, 0x66, 0x66, 0, 0},
  9053. {0xA9, 0x66, 0x66, 0, 0},
  9054. {0xAA, 0x66, 0x66, 0, 0},
  9055. {0xAB, 0x66, 0x66, 0, 0},
  9056. {0xAC, 0x66, 0x66, 0, 0},
  9057. {0xAD, 0x66, 0x66, 0, 0},
  9058. {0xAE, 0x66, 0x66, 0, 0},
  9059. {0xAF, 0x66, 0x66, 0, 0},
  9060. {0xB0, 0x66, 0x66, 0, 0},
  9061. {0xB1, 0x66, 0x66, 0, 0},
  9062. {0xB2, 0x66, 0x66, 0, 0},
  9063. {0xB3, 0xa, 0xa, 0, 0},
  9064. {0xB4, 0, 0, 0, 0},
  9065. {0xB5, 0, 0, 0, 0},
  9066. {0xB6, 0, 0, 0, 0},
  9067. {0xFFFF, 0, 0, 0, 0}
  9068. };
  9069. static struct radio_regs regs_TX_2056_rev5[] = {
  9070. {0x02, 0, 0, 0, 0},
  9071. {0x03, 0, 0, 0, 0},
  9072. {0x04, 0, 0, 0, 0},
  9073. {0x05, 0, 0, 0, 0},
  9074. {0x06, 0, 0, 0, 0},
  9075. {0x07, 0, 0, 0, 0},
  9076. {0x08, 0, 0, 0, 0},
  9077. {0x09, 0, 0, 0, 0},
  9078. {0x0A, 0, 0, 0, 0},
  9079. {0x0B, 0, 0, 0, 0},
  9080. {0x0C, 0, 0, 0, 0},
  9081. {0x0D, 0, 0, 0, 0},
  9082. {0x0E, 0, 0, 0, 0},
  9083. {0x0F, 0, 0, 0, 0},
  9084. {0x10, 0, 0, 0, 0},
  9085. {0x11, 0, 0, 0, 0},
  9086. {0x12, 0, 0, 0, 0},
  9087. {0x13, 0, 0, 0, 0},
  9088. {0x14, 0, 0, 0, 0},
  9089. {0x15, 0, 0, 0, 0},
  9090. {0x16, 0, 0, 0, 0},
  9091. {0x17, 0, 0, 0, 0},
  9092. {0x18, 0, 0, 0, 0},
  9093. {0x19, 0, 0, 0, 0},
  9094. {0x1A, 0, 0, 0, 0},
  9095. {0x1B, 0, 0, 0, 0},
  9096. {0x1C, 0, 0, 0, 0},
  9097. {0x1D, 0, 0, 0, 0},
  9098. {0x1E, 0, 0, 0, 0},
  9099. {0x1F, 0, 0, 0, 0},
  9100. {0x20, 0, 0, 0, 0},
  9101. {0x21, 0x88, 0x88, 0, 0},
  9102. {0x22, 0x88, 0x88, 0, 0},
  9103. {0x23, 0x88, 0x88, 0, 0},
  9104. {0x24, 0x88, 0x88, 0, 0},
  9105. {0x25, 0xc, 0xc, 0, 0},
  9106. {0x26, 0, 0, 0, 0},
  9107. {0x27, 0x3, 0x3, 0, 0},
  9108. {0x28, 0, 0, 0, 0},
  9109. {0x29, 0x3, 0x3, 0, 0},
  9110. {0x2A, 0x37, 0x37, 0, 0},
  9111. {0x2B, 0x3, 0x3, 0, 0},
  9112. {0x2C, 0, 0, 0, 0},
  9113. {0x2D, 0, 0, 0, 0},
  9114. {0x2E, 0x1, 0x1, 0, 0},
  9115. {0x2F, 0x1, 0x1, 0, 0},
  9116. {0x30, 0, 0, 0, 0},
  9117. {0x31, 0, 0, 0, 0},
  9118. {0x32, 0, 0, 0, 0},
  9119. {0x33, 0x11, 0x11, 0, 0},
  9120. {0x34, 0x11, 0x11, 0, 0},
  9121. {0x35, 0, 0, 0, 0},
  9122. {0x36, 0, 0, 0, 0},
  9123. {0x37, 0x3, 0x3, 0, 0},
  9124. {0x38, 0xf, 0xf, 0, 0},
  9125. {0x39, 0, 0, 0, 0},
  9126. {0x3A, 0x2d, 0x2d, 0, 0},
  9127. {0x3B, 0, 0, 0, 0},
  9128. {0x3C, 0x6e, 0x6e, 0, 0},
  9129. {0x3D, 0xf0, 0xf0, 1, 1},
  9130. {0x3E, 0, 0, 0, 0},
  9131. {0x3F, 0, 0, 0, 0},
  9132. {0x40, 0, 0, 0, 0},
  9133. {0x41, 0x3, 0x3, 0, 0},
  9134. {0x42, 0x3, 0x3, 0, 0},
  9135. {0x43, 0, 0, 0, 0},
  9136. {0x44, 0x1e, 0x1e, 0, 0},
  9137. {0x45, 0, 0, 0, 0},
  9138. {0x46, 0x6e, 0x6e, 0, 0},
  9139. {0x47, 0xf0, 0xf0, 1, 1},
  9140. {0x48, 0, 0, 0, 0},
  9141. {0x49, 0x2, 0x2, 0, 0},
  9142. {0x4A, 0xff, 0xff, 1, 1},
  9143. {0x4B, 0xc, 0xc, 0, 0},
  9144. {0x4C, 0, 0, 0, 0},
  9145. {0x4D, 0x38, 0x38, 0, 0},
  9146. {0x4E, 0x70, 0x70, 1, 1},
  9147. {0x4F, 0x2, 0x2, 0, 0},
  9148. {0x50, 0x88, 0x88, 0, 0},
  9149. {0x51, 0xc, 0xc, 0, 0},
  9150. {0x52, 0, 0, 0, 0},
  9151. {0x53, 0x8, 0x8, 0, 0},
  9152. {0x54, 0x70, 0x70, 1, 1},
  9153. {0x55, 0x2, 0x2, 0, 0},
  9154. {0x56, 0xff, 0xff, 1, 1},
  9155. {0x57, 0, 0, 0, 0},
  9156. {0x58, 0x83, 0x83, 0, 0},
  9157. {0x59, 0x77, 0x77, 1, 1},
  9158. {0x5A, 0, 0, 0, 0},
  9159. {0x5B, 0x2, 0x2, 0, 0},
  9160. {0x5C, 0x88, 0x88, 0, 0},
  9161. {0x5D, 0, 0, 0, 0},
  9162. {0x5E, 0x8, 0x8, 0, 0},
  9163. {0x5F, 0x77, 0x77, 1, 1},
  9164. {0x60, 0x1, 0x1, 0, 0},
  9165. {0x61, 0, 0, 0, 0},
  9166. {0x62, 0x7, 0x7, 0, 0},
  9167. {0x63, 0, 0, 0, 0},
  9168. {0x64, 0x7, 0x7, 0, 0},
  9169. {0x65, 0, 0, 0, 0},
  9170. {0x66, 0, 0, 0, 0},
  9171. {0x67, 0, 0, 1, 1},
  9172. {0x68, 0, 0, 0, 0},
  9173. {0x69, 0xa, 0xa, 0, 0},
  9174. {0x6A, 0, 0, 0, 0},
  9175. {0x6B, 0, 0, 0, 0},
  9176. {0x6C, 0, 0, 0, 0},
  9177. {0x6D, 0, 0, 0, 0},
  9178. {0x6E, 0, 0, 0, 0},
  9179. {0x6F, 0, 0, 0, 0},
  9180. {0x70, 0, 0, 0, 0},
  9181. {0x71, 0x2, 0x2, 0, 0},
  9182. {0x72, 0, 0, 0, 0},
  9183. {0x73, 0, 0, 0, 0},
  9184. {0x74, 0xe, 0xe, 0, 0},
  9185. {0x75, 0xe, 0xe, 0, 0},
  9186. {0x76, 0xe, 0xe, 0, 0},
  9187. {0x77, 0x13, 0x13, 0, 0},
  9188. {0x78, 0x13, 0x13, 0, 0},
  9189. {0x79, 0x1b, 0x1b, 0, 0},
  9190. {0x7A, 0x1b, 0x1b, 0, 0},
  9191. {0x7B, 0x55, 0x55, 0, 0},
  9192. {0x7C, 0x5b, 0x5b, 0, 0},
  9193. {0x7D, 0, 0, 0, 0},
  9194. {0x7E, 0, 0, 0, 0},
  9195. {0x7F, 0, 0, 0, 0},
  9196. {0x80, 0, 0, 0, 0},
  9197. {0x81, 0, 0, 0, 0},
  9198. {0x82, 0, 0, 0, 0},
  9199. {0x83, 0, 0, 0, 0},
  9200. {0x84, 0, 0, 0, 0},
  9201. {0x85, 0, 0, 0, 0},
  9202. {0x86, 0, 0, 0, 0},
  9203. {0x87, 0, 0, 0, 0},
  9204. {0x88, 0, 0, 0, 0},
  9205. {0x89, 0, 0, 0, 0},
  9206. {0x8A, 0, 0, 0, 0},
  9207. {0x8B, 0, 0, 0, 0},
  9208. {0x8C, 0, 0, 0, 0},
  9209. {0x8D, 0, 0, 0, 0},
  9210. {0x8E, 0, 0, 0, 0},
  9211. {0x8F, 0, 0, 0, 0},
  9212. {0x90, 0, 0, 0, 0},
  9213. {0x91, 0, 0, 0, 0},
  9214. {0x92, 0, 0, 0, 0},
  9215. {0x93, 0x70, 0x70, 0, 0},
  9216. {0x94, 0x70, 0x70, 0, 0},
  9217. {0x95, 0x71, 0x71, 1, 1},
  9218. {0x96, 0x71, 0x71, 1, 1},
  9219. {0x97, 0x72, 0x72, 1, 1},
  9220. {0x98, 0x73, 0x73, 1, 1},
  9221. {0x99, 0x74, 0x74, 1, 1},
  9222. {0x9A, 0x75, 0x75, 1, 1},
  9223. {0xFFFF, 0, 0, 0, 0}
  9224. };
  9225. static struct radio_regs regs_RX_2056_rev5[] = {
  9226. {0x02, 0, 0, 0, 0},
  9227. {0x03, 0, 0, 0, 0},
  9228. {0x04, 0, 0, 0, 0},
  9229. {0x05, 0, 0, 0, 0},
  9230. {0x06, 0, 0, 0, 0},
  9231. {0x07, 0, 0, 0, 0},
  9232. {0x08, 0, 0, 0, 0},
  9233. {0x09, 0, 0, 0, 0},
  9234. {0x0A, 0, 0, 0, 0},
  9235. {0x0B, 0, 0, 0, 0},
  9236. {0x0C, 0, 0, 0, 0},
  9237. {0x0D, 0, 0, 0, 0},
  9238. {0x0E, 0, 0, 0, 0},
  9239. {0x0F, 0, 0, 0, 0},
  9240. {0x10, 0, 0, 0, 0},
  9241. {0x11, 0, 0, 0, 0},
  9242. {0x12, 0, 0, 0, 0},
  9243. {0x13, 0, 0, 0, 0},
  9244. {0x14, 0, 0, 0, 0},
  9245. {0x15, 0, 0, 0, 0},
  9246. {0x16, 0, 0, 0, 0},
  9247. {0x17, 0, 0, 0, 0},
  9248. {0x18, 0, 0, 0, 0},
  9249. {0x19, 0, 0, 0, 0},
  9250. {0x1A, 0, 0, 0, 0},
  9251. {0x1B, 0, 0, 0, 0},
  9252. {0x1C, 0, 0, 0, 0},
  9253. {0x1D, 0, 0, 0, 0},
  9254. {0x1E, 0, 0, 0, 0},
  9255. {0x1F, 0, 0, 0, 0},
  9256. {0x20, 0x3, 0x3, 0, 0},
  9257. {0x21, 0, 0, 0, 0},
  9258. {0x22, 0, 0, 0, 0},
  9259. {0x23, 0x90, 0x90, 0, 0},
  9260. {0x24, 0x55, 0x55, 0, 0},
  9261. {0x25, 0x15, 0x15, 0, 0},
  9262. {0x26, 0x5, 0x5, 0, 0},
  9263. {0x27, 0x15, 0x15, 0, 0},
  9264. {0x28, 0x5, 0x5, 0, 0},
  9265. {0x29, 0x20, 0x20, 0, 0},
  9266. {0x2A, 0x11, 0x11, 0, 0},
  9267. {0x2B, 0x90, 0x90, 0, 0},
  9268. {0x2C, 0, 0, 0, 0},
  9269. {0x2D, 0x88, 0x88, 0, 0},
  9270. {0x2E, 0x32, 0x32, 0, 0},
  9271. {0x2F, 0x77, 0x77, 0, 0},
  9272. {0x30, 0x17, 0x17, 1, 1},
  9273. {0x31, 0xff, 0xff, 1, 1},
  9274. {0x32, 0x20, 0x20, 0, 0},
  9275. {0x33, 0, 0, 0, 0},
  9276. {0x34, 0x88, 0x88, 0, 0},
  9277. {0x35, 0x32, 0x32, 0, 0},
  9278. {0x36, 0x77, 0x77, 0, 0},
  9279. {0x37, 0x17, 0x17, 1, 1},
  9280. {0x38, 0xf0, 0xf0, 1, 1},
  9281. {0x39, 0x20, 0x20, 0, 0},
  9282. {0x3A, 0x8, 0x8, 0, 0},
  9283. {0x3B, 0x55, 0x55, 1, 1},
  9284. {0x3C, 0, 0, 0, 0},
  9285. {0x3D, 0x88, 0x88, 1, 1},
  9286. {0x3E, 0, 0, 0, 0},
  9287. {0x3F, 0, 0, 1, 1},
  9288. {0x40, 0x7, 0x7, 1, 1},
  9289. {0x41, 0x6, 0x6, 0, 0},
  9290. {0x42, 0x4, 0x4, 0, 0},
  9291. {0x43, 0, 0, 0, 0},
  9292. {0x44, 0x8, 0x8, 0, 0},
  9293. {0x45, 0x55, 0x55, 1, 1},
  9294. {0x46, 0, 0, 0, 0},
  9295. {0x47, 0x11, 0x11, 0, 0},
  9296. {0x48, 0, 0, 0, 0},
  9297. {0x49, 0, 0, 1, 1},
  9298. {0x4A, 0x7, 0x7, 0, 0},
  9299. {0x4B, 0x6, 0x6, 0, 0},
  9300. {0x4C, 0x4, 0x4, 0, 0},
  9301. {0x4D, 0, 0, 0, 0},
  9302. {0x4E, 0, 0, 0, 0},
  9303. {0x4F, 0x26, 0x26, 1, 1},
  9304. {0x50, 0x26, 0x26, 1, 1},
  9305. {0x51, 0xf, 0xf, 1, 1},
  9306. {0x52, 0xf, 0xf, 1, 1},
  9307. {0x53, 0x44, 0x44, 0, 0},
  9308. {0x54, 0, 0, 0, 0},
  9309. {0x55, 0, 0, 0, 0},
  9310. {0x56, 0x8, 0x8, 0, 0},
  9311. {0x57, 0x8, 0x8, 0, 0},
  9312. {0x58, 0x7, 0x7, 0, 0},
  9313. {0x59, 0x22, 0x22, 0, 0},
  9314. {0x5A, 0x22, 0x22, 0, 0},
  9315. {0x5B, 0x2, 0x2, 0, 0},
  9316. {0x5C, 0x4, 0x4, 1, 1},
  9317. {0x5D, 0x7, 0x7, 0, 0},
  9318. {0x5E, 0x55, 0x55, 0, 0},
  9319. {0x5F, 0x23, 0x23, 0, 0},
  9320. {0x60, 0x41, 0x41, 0, 0},
  9321. {0x61, 0x1, 0x1, 0, 0},
  9322. {0x62, 0xa, 0xa, 0, 0},
  9323. {0x63, 0, 0, 0, 0},
  9324. {0x64, 0, 0, 0, 0},
  9325. {0x65, 0, 0, 0, 0},
  9326. {0x66, 0, 0, 0, 0},
  9327. {0x67, 0, 0, 0, 0},
  9328. {0x68, 0, 0, 0, 0},
  9329. {0x69, 0, 0, 0, 0},
  9330. {0x6A, 0, 0, 0, 0},
  9331. {0x6B, 0xc, 0xc, 0, 0},
  9332. {0x6C, 0, 0, 0, 0},
  9333. {0x6D, 0, 0, 0, 0},
  9334. {0x6E, 0, 0, 0, 0},
  9335. {0x6F, 0, 0, 0, 0},
  9336. {0x70, 0, 0, 0, 0},
  9337. {0x71, 0, 0, 0, 0},
  9338. {0x72, 0x22, 0x22, 0, 0},
  9339. {0x73, 0x22, 0x22, 0, 0},
  9340. {0x74, 0, 0, 1, 1},
  9341. {0x75, 0xa, 0xa, 0, 0},
  9342. {0x76, 0x1, 0x1, 0, 0},
  9343. {0x77, 0x22, 0x22, 0, 0},
  9344. {0x78, 0x30, 0x30, 0, 0},
  9345. {0x79, 0, 0, 0, 0},
  9346. {0x7A, 0, 0, 0, 0},
  9347. {0x7B, 0, 0, 0, 0},
  9348. {0x7C, 0, 0, 0, 0},
  9349. {0x7D, 0, 0, 0, 0},
  9350. {0x7E, 0, 0, 0, 0},
  9351. {0x7F, 0, 0, 0, 0},
  9352. {0x80, 0, 0, 0, 0},
  9353. {0x81, 0, 0, 0, 0},
  9354. {0x82, 0, 0, 0, 0},
  9355. {0x83, 0, 0, 0, 0},
  9356. {0x84, 0, 0, 0, 0},
  9357. {0x85, 0, 0, 0, 0},
  9358. {0x86, 0, 0, 0, 0},
  9359. {0x87, 0, 0, 0, 0},
  9360. {0x88, 0, 0, 0, 0},
  9361. {0x89, 0, 0, 0, 0},
  9362. {0x8A, 0, 0, 0, 0},
  9363. {0x8B, 0, 0, 0, 0},
  9364. {0x8C, 0, 0, 0, 0},
  9365. {0x8D, 0, 0, 0, 0},
  9366. {0x8E, 0, 0, 0, 0},
  9367. {0x8F, 0, 0, 0, 0},
  9368. {0x90, 0, 0, 0, 0},
  9369. {0x91, 0, 0, 0, 0},
  9370. {0x92, 0, 0, 0, 0},
  9371. {0x93, 0, 0, 0, 0},
  9372. {0x94, 0, 0, 0, 0},
  9373. {0xFFFF, 0, 0, 0, 0}
  9374. };
  9375. static struct radio_regs regs_SYN_2056_rev6[] = {
  9376. {0x02, 0, 0, 0, 0},
  9377. {0x03, 0, 0, 0, 0},
  9378. {0x04, 0, 0, 0, 0},
  9379. {0x05, 0, 0, 0, 0},
  9380. {0x06, 0, 0, 0, 0},
  9381. {0x07, 0, 0, 0, 0},
  9382. {0x08, 0, 0, 0, 0},
  9383. {0x09, 0x1, 0x1, 0, 0},
  9384. {0x0A, 0, 0, 0, 0},
  9385. {0x0B, 0, 0, 0, 0},
  9386. {0x0C, 0, 0, 0, 0},
  9387. {0x0D, 0, 0, 0, 0},
  9388. {0x0E, 0, 0, 0, 0},
  9389. {0x0F, 0, 0, 0, 0},
  9390. {0x10, 0, 0, 0, 0},
  9391. {0x11, 0, 0, 0, 0},
  9392. {0x12, 0, 0, 0, 0},
  9393. {0x13, 0, 0, 0, 0},
  9394. {0x14, 0, 0, 0, 0},
  9395. {0x15, 0, 0, 0, 0},
  9396. {0x16, 0, 0, 0, 0},
  9397. {0x17, 0, 0, 0, 0},
  9398. {0x18, 0, 0, 0, 0},
  9399. {0x19, 0, 0, 0, 0},
  9400. {0x1A, 0, 0, 0, 0},
  9401. {0x1B, 0, 0, 0, 0},
  9402. {0x1C, 0, 0, 0, 0},
  9403. {0x1D, 0, 0, 0, 0},
  9404. {0x1E, 0, 0, 0, 0},
  9405. {0x1F, 0, 0, 0, 0},
  9406. {0x20, 0, 0, 0, 0},
  9407. {0x21, 0, 0, 0, 0},
  9408. {0x22, 0x60, 0x60, 0, 0},
  9409. {0x23, 0x6, 0x6, 0, 0},
  9410. {0x24, 0xc, 0xc, 0, 0},
  9411. {0x25, 0, 0, 0, 0},
  9412. {0x26, 0, 0, 0, 0},
  9413. {0x27, 0, 0, 0, 0},
  9414. {0x28, 0x1, 0x1, 0, 0},
  9415. {0x29, 0, 0, 0, 0},
  9416. {0x2A, 0, 0, 0, 0},
  9417. {0x2B, 0, 0, 0, 0},
  9418. {0x2C, 0, 0, 0, 0},
  9419. {0x2D, 0, 0, 0, 0},
  9420. {0x2E, 0, 0, 0, 0},
  9421. {0x2F, 0x1f, 0x1f, 0, 0},
  9422. {0x30, 0x15, 0x15, 0, 0},
  9423. {0x31, 0xf, 0xf, 0, 0},
  9424. {0x32, 0, 0, 0, 0},
  9425. {0x33, 0, 0, 0, 0},
  9426. {0x34, 0, 0, 0, 0},
  9427. {0x35, 0, 0, 0, 0},
  9428. {0x36, 0, 0, 0, 0},
  9429. {0x37, 0, 0, 0, 0},
  9430. {0x38, 0, 0, 0, 0},
  9431. {0x39, 0, 0, 0, 0},
  9432. {0x3A, 0, 0, 0, 0},
  9433. {0x3B, 0, 0, 0, 0},
  9434. {0x3C, 0x13, 0x13, 0, 0},
  9435. {0x3D, 0xf, 0xf, 0, 0},
  9436. {0x3E, 0x18, 0x18, 0, 0},
  9437. {0x3F, 0, 0, 0, 0},
  9438. {0x40, 0, 0, 0, 0},
  9439. {0x41, 0x20, 0x20, 0, 0},
  9440. {0x42, 0x20, 0x20, 0, 0},
  9441. {0x43, 0, 0, 0, 0},
  9442. {0x44, 0x77, 0x77, 0, 0},
  9443. {0x45, 0x7, 0x7, 0, 0},
  9444. {0x46, 0x1, 0x1, 0, 0},
  9445. {0x47, 0x4, 0x4, 0, 0},
  9446. {0x48, 0xf, 0xf, 0, 0},
  9447. {0x49, 0x30, 0x30, 0, 0},
  9448. {0x4A, 0x32, 0x32, 0, 0},
  9449. {0x4B, 0xd, 0xd, 0, 0},
  9450. {0x4C, 0xd, 0xd, 0, 0},
  9451. {0x4D, 0x4, 0x4, 0, 0},
  9452. {0x4E, 0x6, 0x6, 0, 0},
  9453. {0x4F, 0x1, 0x1, 0, 0},
  9454. {0x50, 0x1c, 0x1c, 0, 0},
  9455. {0x51, 0x2, 0x2, 0, 0},
  9456. {0x52, 0x2, 0x2, 0, 0},
  9457. {0x53, 0xf7, 0xf7, 1, 1},
  9458. {0x54, 0xb4, 0xb4, 0, 0},
  9459. {0x55, 0xd2, 0xd2, 0, 0},
  9460. {0x56, 0, 0, 0, 0},
  9461. {0x57, 0, 0, 0, 0},
  9462. {0x58, 0x4, 0x4, 0, 0},
  9463. {0x59, 0x96, 0x96, 0, 0},
  9464. {0x5A, 0x3e, 0x3e, 0, 0},
  9465. {0x5B, 0x3e, 0x3e, 0, 0},
  9466. {0x5C, 0x13, 0x13, 0, 0},
  9467. {0x5D, 0x2, 0x2, 0, 0},
  9468. {0x5E, 0, 0, 0, 0},
  9469. {0x5F, 0x7, 0x7, 0, 0},
  9470. {0x60, 0x7, 0x7, 1, 1},
  9471. {0x61, 0x8, 0x8, 0, 0},
  9472. {0x62, 0x3, 0x3, 0, 0},
  9473. {0x63, 0, 0, 0, 0},
  9474. {0x64, 0, 0, 0, 0},
  9475. {0x65, 0, 0, 0, 0},
  9476. {0x66, 0, 0, 0, 0},
  9477. {0x67, 0, 0, 0, 0},
  9478. {0x68, 0x40, 0x40, 0, 0},
  9479. {0x69, 0, 0, 0, 0},
  9480. {0x6A, 0, 0, 0, 0},
  9481. {0x6B, 0, 0, 0, 0},
  9482. {0x6C, 0, 0, 0, 0},
  9483. {0x6D, 0x1, 0x1, 0, 0},
  9484. {0x6E, 0, 0, 0, 0},
  9485. {0x6F, 0, 0, 0, 0},
  9486. {0x70, 0x60, 0x60, 0, 0},
  9487. {0x71, 0x66, 0x66, 0, 0},
  9488. {0x72, 0xc, 0xc, 0, 0},
  9489. {0x73, 0x66, 0x66, 0, 0},
  9490. {0x74, 0x8f, 0x8f, 1, 1},
  9491. {0x75, 0, 0, 0, 0},
  9492. {0x76, 0xcc, 0xcc, 0, 0},
  9493. {0x77, 0x1, 0x1, 0, 0},
  9494. {0x78, 0x66, 0x66, 0, 0},
  9495. {0x79, 0x66, 0x66, 0, 0},
  9496. {0x7A, 0, 0, 0, 0},
  9497. {0x7B, 0, 0, 0, 0},
  9498. {0x7C, 0, 0, 0, 0},
  9499. {0x7D, 0, 0, 0, 0},
  9500. {0x7E, 0, 0, 0, 0},
  9501. {0x7F, 0, 0, 0, 0},
  9502. {0x80, 0, 0, 0, 0},
  9503. {0x81, 0, 0, 0, 0},
  9504. {0x82, 0, 0, 0, 0},
  9505. {0x83, 0, 0, 0, 0},
  9506. {0x84, 0, 0, 0, 0},
  9507. {0x85, 0xff, 0xff, 0, 0},
  9508. {0x86, 0, 0, 0, 0},
  9509. {0x87, 0, 0, 0, 0},
  9510. {0x88, 0, 0, 0, 0},
  9511. {0x89, 0, 0, 0, 0},
  9512. {0x8A, 0, 0, 0, 0},
  9513. {0x8B, 0, 0, 0, 0},
  9514. {0x8C, 0, 0, 0, 0},
  9515. {0x8D, 0, 0, 0, 0},
  9516. {0x8E, 0, 0, 0, 0},
  9517. {0x8F, 0, 0, 0, 0},
  9518. {0x90, 0, 0, 0, 0},
  9519. {0x91, 0, 0, 0, 0},
  9520. {0x92, 0, 0, 0, 0},
  9521. {0x93, 0, 0, 0, 0},
  9522. {0x94, 0, 0, 0, 0},
  9523. {0x95, 0, 0, 0, 0},
  9524. {0x96, 0, 0, 0, 0},
  9525. {0x97, 0, 0, 0, 0},
  9526. {0x98, 0, 0, 0, 0},
  9527. {0x99, 0, 0, 0, 0},
  9528. {0x9A, 0, 0, 0, 0},
  9529. {0x9B, 0, 0, 0, 0},
  9530. {0x9C, 0, 0, 0, 0},
  9531. {0x9D, 0, 0, 0, 0},
  9532. {0x9E, 0, 0, 0, 0},
  9533. {0x9F, 0x6, 0x6, 0, 0},
  9534. {0xA0, 0x66, 0x66, 0, 0},
  9535. {0xA1, 0x66, 0x66, 0, 0},
  9536. {0xA2, 0x66, 0x66, 0, 0},
  9537. {0xA3, 0x66, 0x66, 0, 0},
  9538. {0xA4, 0x66, 0x66, 0, 0},
  9539. {0xA5, 0x66, 0x66, 0, 0},
  9540. {0xA6, 0x66, 0x66, 0, 0},
  9541. {0xA7, 0x66, 0x66, 0, 0},
  9542. {0xA8, 0x66, 0x66, 0, 0},
  9543. {0xA9, 0x66, 0x66, 0, 0},
  9544. {0xAA, 0x66, 0x66, 0, 0},
  9545. {0xAB, 0x66, 0x66, 0, 0},
  9546. {0xAC, 0x66, 0x66, 0, 0},
  9547. {0xAD, 0x66, 0x66, 0, 0},
  9548. {0xAE, 0x66, 0x66, 0, 0},
  9549. {0xAF, 0x66, 0x66, 0, 0},
  9550. {0xB0, 0x66, 0x66, 0, 0},
  9551. {0xB1, 0x66, 0x66, 0, 0},
  9552. {0xB2, 0x66, 0x66, 0, 0},
  9553. {0xB3, 0xa, 0xa, 0, 0},
  9554. {0xB4, 0, 0, 0, 0},
  9555. {0xB5, 0, 0, 0, 0},
  9556. {0xB6, 0, 0, 0, 0},
  9557. {0xFFFF, 0, 0, 0, 0}
  9558. };
  9559. static struct radio_regs regs_TX_2056_rev6[] = {
  9560. {0x02, 0, 0, 0, 0},
  9561. {0x03, 0, 0, 0, 0},
  9562. {0x04, 0, 0, 0, 0},
  9563. {0x05, 0, 0, 0, 0},
  9564. {0x06, 0, 0, 0, 0},
  9565. {0x07, 0, 0, 0, 0},
  9566. {0x08, 0, 0, 0, 0},
  9567. {0x09, 0, 0, 0, 0},
  9568. {0x0A, 0, 0, 0, 0},
  9569. {0x0B, 0, 0, 0, 0},
  9570. {0x0C, 0, 0, 0, 0},
  9571. {0x0D, 0, 0, 0, 0},
  9572. {0x0E, 0, 0, 0, 0},
  9573. {0x0F, 0, 0, 0, 0},
  9574. {0x10, 0, 0, 0, 0},
  9575. {0x11, 0, 0, 0, 0},
  9576. {0x12, 0, 0, 0, 0},
  9577. {0x13, 0, 0, 0, 0},
  9578. {0x14, 0, 0, 0, 0},
  9579. {0x15, 0, 0, 0, 0},
  9580. {0x16, 0, 0, 0, 0},
  9581. {0x17, 0, 0, 0, 0},
  9582. {0x18, 0, 0, 0, 0},
  9583. {0x19, 0, 0, 0, 0},
  9584. {0x1A, 0, 0, 0, 0},
  9585. {0x1B, 0, 0, 0, 0},
  9586. {0x1C, 0, 0, 0, 0},
  9587. {0x1D, 0, 0, 0, 0},
  9588. {0x1E, 0, 0, 0, 0},
  9589. {0x1F, 0, 0, 0, 0},
  9590. {0x20, 0, 0, 0, 0},
  9591. {0x21, 0x88, 0x88, 0, 0},
  9592. {0x22, 0x88, 0x88, 0, 0},
  9593. {0x23, 0x88, 0x88, 0, 0},
  9594. {0x24, 0x88, 0x88, 0, 0},
  9595. {0x25, 0xc, 0xc, 0, 0},
  9596. {0x26, 0, 0, 0, 0},
  9597. {0x27, 0x3, 0x3, 0, 0},
  9598. {0x28, 0, 0, 0, 0},
  9599. {0x29, 0x3, 0x3, 0, 0},
  9600. {0x2A, 0x37, 0x37, 0, 0},
  9601. {0x2B, 0x3, 0x3, 0, 0},
  9602. {0x2C, 0, 0, 0, 0},
  9603. {0x2D, 0, 0, 0, 0},
  9604. {0x2E, 0x1, 0x1, 0, 0},
  9605. {0x2F, 0x1, 0x1, 0, 0},
  9606. {0x30, 0, 0, 0, 0},
  9607. {0x31, 0, 0, 0, 0},
  9608. {0x32, 0, 0, 0, 0},
  9609. {0x33, 0x11, 0x11, 0, 0},
  9610. {0x34, 0xee, 0xee, 1, 1},
  9611. {0x35, 0, 0, 0, 0},
  9612. {0x36, 0, 0, 0, 0},
  9613. {0x37, 0x3, 0x3, 0, 0},
  9614. {0x38, 0x50, 0x50, 1, 1},
  9615. {0x39, 0, 0, 0, 0},
  9616. {0x3A, 0x50, 0x50, 1, 1},
  9617. {0x3B, 0, 0, 0, 0},
  9618. {0x3C, 0x6e, 0x6e, 0, 0},
  9619. {0x3D, 0xf0, 0xf0, 1, 1},
  9620. {0x3E, 0, 0, 0, 0},
  9621. {0x3F, 0, 0, 0, 0},
  9622. {0x40, 0, 0, 0, 0},
  9623. {0x41, 0x3, 0x3, 0, 0},
  9624. {0x42, 0x3, 0x3, 0, 0},
  9625. {0x43, 0, 0, 0, 0},
  9626. {0x44, 0x1e, 0x1e, 0, 0},
  9627. {0x45, 0, 0, 0, 0},
  9628. {0x46, 0x6e, 0x6e, 0, 0},
  9629. {0x47, 0xf0, 0xf0, 1, 1},
  9630. {0x48, 0, 0, 0, 0},
  9631. {0x49, 0x2, 0x2, 0, 0},
  9632. {0x4A, 0xff, 0xff, 1, 1},
  9633. {0x4B, 0xc, 0xc, 0, 0},
  9634. {0x4C, 0, 0, 0, 0},
  9635. {0x4D, 0x38, 0x38, 0, 0},
  9636. {0x4E, 0x70, 0x70, 1, 1},
  9637. {0x4F, 0x2, 0x2, 0, 0},
  9638. {0x50, 0x88, 0x88, 0, 0},
  9639. {0x51, 0xc, 0xc, 0, 0},
  9640. {0x52, 0, 0, 0, 0},
  9641. {0x53, 0x8, 0x8, 0, 0},
  9642. {0x54, 0x70, 0x70, 1, 1},
  9643. {0x55, 0x2, 0x2, 0, 0},
  9644. {0x56, 0xff, 0xff, 1, 1},
  9645. {0x57, 0, 0, 0, 0},
  9646. {0x58, 0x83, 0x83, 0, 0},
  9647. {0x59, 0x77, 0x77, 1, 1},
  9648. {0x5A, 0, 0, 0, 0},
  9649. {0x5B, 0x2, 0x2, 0, 0},
  9650. {0x5C, 0x88, 0x88, 0, 0},
  9651. {0x5D, 0, 0, 0, 0},
  9652. {0x5E, 0x8, 0x8, 0, 0},
  9653. {0x5F, 0x77, 0x77, 1, 1},
  9654. {0x60, 0x1, 0x1, 0, 0},
  9655. {0x61, 0, 0, 0, 0},
  9656. {0x62, 0x7, 0x7, 0, 0},
  9657. {0x63, 0, 0, 0, 0},
  9658. {0x64, 0x7, 0x7, 0, 0},
  9659. {0x65, 0, 0, 0, 0},
  9660. {0x66, 0, 0, 0, 0},
  9661. {0x67, 0, 0, 1, 1},
  9662. {0x68, 0, 0, 0, 0},
  9663. {0x69, 0xa, 0xa, 0, 0},
  9664. {0x6A, 0, 0, 0, 0},
  9665. {0x6B, 0, 0, 0, 0},
  9666. {0x6C, 0, 0, 0, 0},
  9667. {0x6D, 0, 0, 0, 0},
  9668. {0x6E, 0, 0, 0, 0},
  9669. {0x6F, 0, 0, 0, 0},
  9670. {0x70, 0, 0, 0, 0},
  9671. {0x71, 0x2, 0x2, 0, 0},
  9672. {0x72, 0, 0, 0, 0},
  9673. {0x73, 0, 0, 0, 0},
  9674. {0x74, 0xe, 0xe, 0, 0},
  9675. {0x75, 0xe, 0xe, 0, 0},
  9676. {0x76, 0xe, 0xe, 0, 0},
  9677. {0x77, 0x13, 0x13, 0, 0},
  9678. {0x78, 0x13, 0x13, 0, 0},
  9679. {0x79, 0x1b, 0x1b, 0, 0},
  9680. {0x7A, 0x1b, 0x1b, 0, 0},
  9681. {0x7B, 0x55, 0x55, 0, 0},
  9682. {0x7C, 0x5b, 0x5b, 0, 0},
  9683. {0x7D, 0x30, 0x30, 1, 1},
  9684. {0x7E, 0, 0, 0, 0},
  9685. {0x7F, 0, 0, 0, 0},
  9686. {0x80, 0, 0, 0, 0},
  9687. {0x81, 0, 0, 0, 0},
  9688. {0x82, 0, 0, 0, 0},
  9689. {0x83, 0, 0, 0, 0},
  9690. {0x84, 0, 0, 0, 0},
  9691. {0x85, 0, 0, 0, 0},
  9692. {0x86, 0, 0, 0, 0},
  9693. {0x87, 0, 0, 0, 0},
  9694. {0x88, 0, 0, 0, 0},
  9695. {0x89, 0, 0, 0, 0},
  9696. {0x8A, 0, 0, 0, 0},
  9697. {0x8B, 0, 0, 0, 0},
  9698. {0x8C, 0, 0, 0, 0},
  9699. {0x8D, 0, 0, 0, 0},
  9700. {0x8E, 0, 0, 0, 0},
  9701. {0x8F, 0, 0, 0, 0},
  9702. {0x90, 0, 0, 0, 0},
  9703. {0x91, 0, 0, 0, 0},
  9704. {0x92, 0, 0, 0, 0},
  9705. {0x93, 0x70, 0x70, 0, 0},
  9706. {0x94, 0x70, 0x70, 0, 0},
  9707. {0x95, 0x70, 0x70, 0, 0},
  9708. {0x96, 0x70, 0x70, 0, 0},
  9709. {0x97, 0x70, 0x70, 0, 0},
  9710. {0x98, 0x70, 0x70, 0, 0},
  9711. {0x99, 0x70, 0x70, 0, 0},
  9712. {0x9A, 0x70, 0x70, 0, 0},
  9713. {0xFFFF, 0, 0, 0, 0}
  9714. };
  9715. static struct radio_regs regs_RX_2056_rev6[] = {
  9716. {0x02, 0, 0, 0, 0},
  9717. {0x03, 0, 0, 0, 0},
  9718. {0x04, 0, 0, 0, 0},
  9719. {0x05, 0, 0, 0, 0},
  9720. {0x06, 0, 0, 0, 0},
  9721. {0x07, 0, 0, 0, 0},
  9722. {0x08, 0, 0, 0, 0},
  9723. {0x09, 0, 0, 0, 0},
  9724. {0x0A, 0, 0, 0, 0},
  9725. {0x0B, 0, 0, 0, 0},
  9726. {0x0C, 0, 0, 0, 0},
  9727. {0x0D, 0, 0, 0, 0},
  9728. {0x0E, 0, 0, 0, 0},
  9729. {0x0F, 0, 0, 0, 0},
  9730. {0x10, 0, 0, 0, 0},
  9731. {0x11, 0, 0, 0, 0},
  9732. {0x12, 0, 0, 0, 0},
  9733. {0x13, 0, 0, 0, 0},
  9734. {0x14, 0, 0, 0, 0},
  9735. {0x15, 0, 0, 0, 0},
  9736. {0x16, 0, 0, 0, 0},
  9737. {0x17, 0, 0, 0, 0},
  9738. {0x18, 0, 0, 0, 0},
  9739. {0x19, 0, 0, 0, 0},
  9740. {0x1A, 0, 0, 0, 0},
  9741. {0x1B, 0, 0, 0, 0},
  9742. {0x1C, 0, 0, 0, 0},
  9743. {0x1D, 0, 0, 0, 0},
  9744. {0x1E, 0, 0, 0, 0},
  9745. {0x1F, 0, 0, 0, 0},
  9746. {0x20, 0x3, 0x3, 0, 0},
  9747. {0x21, 0, 0, 0, 0},
  9748. {0x22, 0, 0, 0, 0},
  9749. {0x23, 0x90, 0x90, 0, 0},
  9750. {0x24, 0x55, 0x55, 0, 0},
  9751. {0x25, 0x15, 0x15, 0, 0},
  9752. {0x26, 0x5, 0x5, 0, 0},
  9753. {0x27, 0x15, 0x15, 0, 0},
  9754. {0x28, 0x5, 0x5, 0, 0},
  9755. {0x29, 0x20, 0x20, 0, 0},
  9756. {0x2A, 0x11, 0x11, 0, 0},
  9757. {0x2B, 0x90, 0x90, 0, 0},
  9758. {0x2C, 0, 0, 0, 0},
  9759. {0x2D, 0x88, 0x88, 0, 0},
  9760. {0x2E, 0x32, 0x32, 0, 0},
  9761. {0x2F, 0x77, 0x77, 0, 0},
  9762. {0x30, 0x17, 0x17, 1, 1},
  9763. {0x31, 0xff, 0xff, 1, 1},
  9764. {0x32, 0x20, 0x20, 0, 0},
  9765. {0x33, 0, 0, 0, 0},
  9766. {0x34, 0x88, 0x88, 0, 0},
  9767. {0x35, 0x32, 0x32, 0, 0},
  9768. {0x36, 0x77, 0x77, 0, 0},
  9769. {0x37, 0x17, 0x17, 1, 1},
  9770. {0x38, 0xf0, 0xf0, 1, 1},
  9771. {0x39, 0x20, 0x20, 0, 0},
  9772. {0x3A, 0x8, 0x8, 0, 0},
  9773. {0x3B, 0x55, 0x55, 1, 1},
  9774. {0x3C, 0, 0, 0, 0},
  9775. {0x3D, 0x88, 0x88, 1, 1},
  9776. {0x3E, 0, 0, 0, 0},
  9777. {0x3F, 0x44, 0x44, 0, 0},
  9778. {0x40, 0x7, 0x7, 1, 1},
  9779. {0x41, 0x6, 0x6, 0, 0},
  9780. {0x42, 0x4, 0x4, 0, 0},
  9781. {0x43, 0, 0, 0, 0},
  9782. {0x44, 0x8, 0x8, 0, 0},
  9783. {0x45, 0x55, 0x55, 1, 1},
  9784. {0x46, 0, 0, 0, 0},
  9785. {0x47, 0x11, 0x11, 0, 0},
  9786. {0x48, 0, 0, 0, 0},
  9787. {0x49, 0x44, 0x44, 0, 0},
  9788. {0x4A, 0x7, 0x7, 0, 0},
  9789. {0x4B, 0x6, 0x6, 0, 0},
  9790. {0x4C, 0x4, 0x4, 0, 0},
  9791. {0x4D, 0, 0, 0, 0},
  9792. {0x4E, 0, 0, 0, 0},
  9793. {0x4F, 0x26, 0x26, 1, 1},
  9794. {0x50, 0x26, 0x26, 1, 1},
  9795. {0x51, 0xf, 0xf, 1, 1},
  9796. {0x52, 0xf, 0xf, 1, 1},
  9797. {0x53, 0x44, 0x44, 0, 0},
  9798. {0x54, 0, 0, 0, 0},
  9799. {0x55, 0, 0, 0, 0},
  9800. {0x56, 0x8, 0x8, 0, 0},
  9801. {0x57, 0x8, 0x8, 0, 0},
  9802. {0x58, 0x7, 0x7, 0, 0},
  9803. {0x59, 0x22, 0x22, 0, 0},
  9804. {0x5A, 0x22, 0x22, 0, 0},
  9805. {0x5B, 0x2, 0x2, 0, 0},
  9806. {0x5C, 0x4, 0x4, 1, 1},
  9807. {0x5D, 0x7, 0x7, 0, 0},
  9808. {0x5E, 0x55, 0x55, 0, 0},
  9809. {0x5F, 0x23, 0x23, 0, 0},
  9810. {0x60, 0x41, 0x41, 0, 0},
  9811. {0x61, 0x1, 0x1, 0, 0},
  9812. {0x62, 0xa, 0xa, 0, 0},
  9813. {0x63, 0, 0, 0, 0},
  9814. {0x64, 0, 0, 0, 0},
  9815. {0x65, 0, 0, 0, 0},
  9816. {0x66, 0, 0, 0, 0},
  9817. {0x67, 0, 0, 0, 0},
  9818. {0x68, 0, 0, 0, 0},
  9819. {0x69, 0, 0, 0, 0},
  9820. {0x6A, 0, 0, 0, 0},
  9821. {0x6B, 0xc, 0xc, 0, 0},
  9822. {0x6C, 0, 0, 0, 0},
  9823. {0x6D, 0, 0, 0, 0},
  9824. {0x6E, 0, 0, 0, 0},
  9825. {0x6F, 0, 0, 0, 0},
  9826. {0x70, 0, 0, 0, 0},
  9827. {0x71, 0, 0, 0, 0},
  9828. {0x72, 0x22, 0x22, 0, 0},
  9829. {0x73, 0x22, 0x22, 0, 0},
  9830. {0x74, 0, 0, 1, 1},
  9831. {0x75, 0xa, 0xa, 0, 0},
  9832. {0x76, 0x1, 0x1, 0, 0},
  9833. {0x77, 0x22, 0x22, 0, 0},
  9834. {0x78, 0x30, 0x30, 0, 0},
  9835. {0x79, 0, 0, 0, 0},
  9836. {0x7A, 0, 0, 0, 0},
  9837. {0x7B, 0, 0, 0, 0},
  9838. {0x7C, 0, 0, 0, 0},
  9839. {0x7D, 0x5, 0x5, 1, 1},
  9840. {0x7E, 0, 0, 0, 0},
  9841. {0x7F, 0, 0, 0, 0},
  9842. {0x80, 0, 0, 0, 0},
  9843. {0x81, 0, 0, 0, 0},
  9844. {0x82, 0, 0, 0, 0},
  9845. {0x83, 0, 0, 0, 0},
  9846. {0x84, 0, 0, 0, 0},
  9847. {0x85, 0, 0, 0, 0},
  9848. {0x86, 0, 0, 0, 0},
  9849. {0x87, 0, 0, 0, 0},
  9850. {0x88, 0, 0, 0, 0},
  9851. {0x89, 0, 0, 0, 0},
  9852. {0x8A, 0, 0, 0, 0},
  9853. {0x8B, 0, 0, 0, 0},
  9854. {0x8C, 0, 0, 0, 0},
  9855. {0x8D, 0, 0, 0, 0},
  9856. {0x8E, 0, 0, 0, 0},
  9857. {0x8F, 0, 0, 0, 0},
  9858. {0x90, 0, 0, 0, 0},
  9859. {0x91, 0, 0, 0, 0},
  9860. {0x92, 0, 0, 0, 0},
  9861. {0x93, 0, 0, 0, 0},
  9862. {0x94, 0, 0, 0, 0},
  9863. {0xFFFF, 0, 0, 0, 0}
  9864. };
  9865. static struct radio_regs regs_SYN_2056_rev7[] = {
  9866. {0x02, 0, 0, 0, 0},
  9867. {0x03, 0, 0, 0, 0},
  9868. {0x04, 0, 0, 0, 0},
  9869. {0x05, 0, 0, 0, 0},
  9870. {0x06, 0, 0, 0, 0},
  9871. {0x07, 0, 0, 0, 0},
  9872. {0x08, 0, 0, 0, 0},
  9873. {0x09, 0x1, 0x1, 0, 0},
  9874. {0x0A, 0, 0, 0, 0},
  9875. {0x0B, 0, 0, 0, 0},
  9876. {0x0C, 0, 0, 0, 0},
  9877. {0x0D, 0, 0, 0, 0},
  9878. {0x0E, 0, 0, 0, 0},
  9879. {0x0F, 0, 0, 0, 0},
  9880. {0x10, 0, 0, 0, 0},
  9881. {0x11, 0, 0, 0, 0},
  9882. {0x12, 0, 0, 0, 0},
  9883. {0x13, 0, 0, 0, 0},
  9884. {0x14, 0, 0, 0, 0},
  9885. {0x15, 0, 0, 0, 0},
  9886. {0x16, 0, 0, 0, 0},
  9887. {0x17, 0, 0, 0, 0},
  9888. {0x18, 0, 0, 0, 0},
  9889. {0x19, 0, 0, 0, 0},
  9890. {0x1A, 0, 0, 0, 0},
  9891. {0x1B, 0, 0, 0, 0},
  9892. {0x1C, 0, 0, 0, 0},
  9893. {0x1D, 0, 0, 0, 0},
  9894. {0x1E, 0, 0, 0, 0},
  9895. {0x1F, 0, 0, 0, 0},
  9896. {0x20, 0, 0, 0, 0},
  9897. {0x21, 0, 0, 0, 0},
  9898. {0x22, 0x60, 0x60, 0, 0},
  9899. {0x23, 0x6, 0x6, 0, 0},
  9900. {0x24, 0xc, 0xc, 0, 0},
  9901. {0x25, 0, 0, 0, 0},
  9902. {0x26, 0, 0, 0, 0},
  9903. {0x27, 0, 0, 0, 0},
  9904. {0x28, 0x1, 0x1, 0, 0},
  9905. {0x29, 0, 0, 0, 0},
  9906. {0x2A, 0, 0, 0, 0},
  9907. {0x2B, 0, 0, 0, 0},
  9908. {0x2C, 0, 0, 0, 0},
  9909. {0x2D, 0, 0, 0, 0},
  9910. {0x2E, 0, 0, 0, 0},
  9911. {0x2F, 0x1f, 0x1f, 0, 0},
  9912. {0x30, 0x15, 0x15, 0, 0},
  9913. {0x31, 0xf, 0xf, 0, 0},
  9914. {0x32, 0, 0, 0, 0},
  9915. {0x33, 0, 0, 0, 0},
  9916. {0x34, 0, 0, 0, 0},
  9917. {0x35, 0, 0, 0, 0},
  9918. {0x36, 0, 0, 0, 0},
  9919. {0x37, 0, 0, 0, 0},
  9920. {0x38, 0, 0, 0, 0},
  9921. {0x39, 0, 0, 0, 0},
  9922. {0x3A, 0, 0, 0, 0},
  9923. {0x3B, 0, 0, 0, 0},
  9924. {0x3C, 0x13, 0x13, 0, 0},
  9925. {0x3D, 0xf, 0xf, 0, 0},
  9926. {0x3E, 0x18, 0x18, 0, 0},
  9927. {0x3F, 0, 0, 0, 0},
  9928. {0x40, 0, 0, 0, 0},
  9929. {0x41, 0x20, 0x20, 0, 0},
  9930. {0x42, 0x20, 0x20, 0, 0},
  9931. {0x43, 0, 0, 0, 0},
  9932. {0x44, 0x77, 0x77, 0, 0},
  9933. {0x45, 0x7, 0x7, 0, 0},
  9934. {0x46, 0x1, 0x1, 0, 0},
  9935. {0x47, 0x4, 0x4, 0, 0},
  9936. {0x48, 0xf, 0xf, 0, 0},
  9937. {0x49, 0x30, 0x30, 0, 0},
  9938. {0x4A, 0x32, 0x32, 0, 0},
  9939. {0x4B, 0xd, 0xd, 0, 0},
  9940. {0x4C, 0xd, 0xd, 0, 0},
  9941. {0x4D, 0x4, 0x4, 0, 0},
  9942. {0x4E, 0x6, 0x6, 0, 0},
  9943. {0x4F, 0x1, 0x1, 0, 0},
  9944. {0x50, 0x1c, 0x1c, 0, 0},
  9945. {0x51, 0x2, 0x2, 0, 0},
  9946. {0x52, 0x2, 0x2, 0, 0},
  9947. {0x53, 0xf7, 0xf7, 1, 1},
  9948. {0x54, 0xb4, 0xb4, 0, 0},
  9949. {0x55, 0xd2, 0xd2, 0, 0},
  9950. {0x56, 0, 0, 0, 0},
  9951. {0x57, 0, 0, 0, 0},
  9952. {0x58, 0x4, 0x4, 0, 0},
  9953. {0x59, 0x96, 0x96, 0, 0},
  9954. {0x5A, 0x3e, 0x3e, 0, 0},
  9955. {0x5B, 0x3e, 0x3e, 0, 0},
  9956. {0x5C, 0x13, 0x13, 0, 0},
  9957. {0x5D, 0x2, 0x2, 0, 0},
  9958. {0x5E, 0, 0, 0, 0},
  9959. {0x5F, 0x7, 0x7, 0, 0},
  9960. {0x60, 0x7, 0x7, 1, 1},
  9961. {0x61, 0x8, 0x8, 0, 0},
  9962. {0x62, 0x3, 0x3, 0, 0},
  9963. {0x63, 0, 0, 0, 0},
  9964. {0x64, 0, 0, 0, 0},
  9965. {0x65, 0, 0, 0, 0},
  9966. {0x66, 0, 0, 0, 0},
  9967. {0x67, 0, 0, 0, 0},
  9968. {0x68, 0x40, 0x40, 0, 0},
  9969. {0x69, 0, 0, 0, 0},
  9970. {0x6A, 0, 0, 0, 0},
  9971. {0x6B, 0, 0, 0, 0},
  9972. {0x6C, 0, 0, 0, 0},
  9973. {0x6D, 0x1, 0x1, 0, 0},
  9974. {0x6E, 0, 0, 0, 0},
  9975. {0x6F, 0, 0, 0, 0},
  9976. {0x70, 0x60, 0x60, 0, 0},
  9977. {0x71, 0x66, 0x66, 0, 0},
  9978. {0x72, 0xc, 0xc, 0, 0},
  9979. {0x73, 0x66, 0x66, 0, 0},
  9980. {0x74, 0x8f, 0x8f, 1, 1},
  9981. {0x75, 0, 0, 0, 0},
  9982. {0x76, 0xcc, 0xcc, 0, 0},
  9983. {0x77, 0x1, 0x1, 0, 0},
  9984. {0x78, 0x66, 0x66, 0, 0},
  9985. {0x79, 0x66, 0x66, 0, 0},
  9986. {0x7A, 0, 0, 0, 0},
  9987. {0x7B, 0, 0, 0, 0},
  9988. {0x7C, 0, 0, 0, 0},
  9989. {0x7D, 0, 0, 0, 0},
  9990. {0x7E, 0, 0, 0, 0},
  9991. {0x7F, 0, 0, 0, 0},
  9992. {0x80, 0, 0, 0, 0},
  9993. {0x81, 0, 0, 0, 0},
  9994. {0x82, 0, 0, 0, 0},
  9995. {0x83, 0, 0, 0, 0},
  9996. {0x84, 0, 0, 0, 0},
  9997. {0x85, 0xff, 0xff, 0, 0},
  9998. {0x86, 0, 0, 0, 0},
  9999. {0x87, 0, 0, 0, 0},
  10000. {0x88, 0, 0, 0, 0},
  10001. {0x89, 0, 0, 0, 0},
  10002. {0x8A, 0, 0, 0, 0},
  10003. {0x8B, 0, 0, 0, 0},
  10004. {0x8C, 0, 0, 0, 0},
  10005. {0x8D, 0, 0, 0, 0},
  10006. {0x8E, 0, 0, 0, 0},
  10007. {0x8F, 0, 0, 0, 0},
  10008. {0x90, 0, 0, 0, 0},
  10009. {0x91, 0, 0, 0, 0},
  10010. {0x92, 0, 0, 0, 0},
  10011. {0x93, 0, 0, 0, 0},
  10012. {0x94, 0, 0, 0, 0},
  10013. {0x95, 0, 0, 0, 0},
  10014. {0x96, 0, 0, 0, 0},
  10015. {0x97, 0, 0, 0, 0},
  10016. {0x98, 0, 0, 0, 0},
  10017. {0x99, 0, 0, 0, 0},
  10018. {0x9A, 0, 0, 0, 0},
  10019. {0x9B, 0, 0, 0, 0},
  10020. {0x9C, 0, 0, 0, 0},
  10021. {0x9D, 0, 0, 0, 0},
  10022. {0x9E, 0, 0, 0, 0},
  10023. {0x9F, 0x6, 0x6, 0, 0},
  10024. {0xA0, 0x66, 0x66, 0, 0},
  10025. {0xA1, 0x66, 0x66, 0, 0},
  10026. {0xA2, 0x66, 0x66, 0, 0},
  10027. {0xA3, 0x66, 0x66, 0, 0},
  10028. {0xA4, 0x66, 0x66, 0, 0},
  10029. {0xA5, 0x66, 0x66, 0, 0},
  10030. {0xA6, 0x66, 0x66, 0, 0},
  10031. {0xA7, 0x66, 0x66, 0, 0},
  10032. {0xA8, 0x66, 0x66, 0, 0},
  10033. {0xA9, 0x66, 0x66, 0, 0},
  10034. {0xAA, 0x66, 0x66, 0, 0},
  10035. {0xAB, 0x66, 0x66, 0, 0},
  10036. {0xAC, 0x66, 0x66, 0, 0},
  10037. {0xAD, 0x66, 0x66, 0, 0},
  10038. {0xAE, 0x66, 0x66, 0, 0},
  10039. {0xAF, 0x66, 0x66, 0, 0},
  10040. {0xB0, 0x66, 0x66, 0, 0},
  10041. {0xB1, 0x66, 0x66, 0, 0},
  10042. {0xB2, 0x66, 0x66, 0, 0},
  10043. {0xB3, 0xa, 0xa, 0, 0},
  10044. {0xB4, 0, 0, 0, 0},
  10045. {0xB5, 0, 0, 0, 0},
  10046. {0xB6, 0, 0, 0, 0},
  10047. {0xFFFF, 0, 0, 0, 0},
  10048. };
  10049. static struct radio_regs regs_TX_2056_rev7[] = {
  10050. {0x02, 0, 0, 0, 0},
  10051. {0x03, 0, 0, 0, 0},
  10052. {0x04, 0, 0, 0, 0},
  10053. {0x05, 0, 0, 0, 0},
  10054. {0x06, 0, 0, 0, 0},
  10055. {0x07, 0, 0, 0, 0},
  10056. {0x08, 0, 0, 0, 0},
  10057. {0x09, 0, 0, 0, 0},
  10058. {0x0A, 0, 0, 0, 0},
  10059. {0x0B, 0, 0, 0, 0},
  10060. {0x0C, 0, 0, 0, 0},
  10061. {0x0D, 0, 0, 0, 0},
  10062. {0x0E, 0, 0, 0, 0},
  10063. {0x0F, 0, 0, 0, 0},
  10064. {0x10, 0, 0, 0, 0},
  10065. {0x11, 0, 0, 0, 0},
  10066. {0x12, 0, 0, 0, 0},
  10067. {0x13, 0, 0, 0, 0},
  10068. {0x14, 0, 0, 0, 0},
  10069. {0x15, 0, 0, 0, 0},
  10070. {0x16, 0, 0, 0, 0},
  10071. {0x17, 0, 0, 0, 0},
  10072. {0x18, 0, 0, 0, 0},
  10073. {0x19, 0, 0, 0, 0},
  10074. {0x1A, 0, 0, 0, 0},
  10075. {0x1B, 0, 0, 0, 0},
  10076. {0x1C, 0, 0, 0, 0},
  10077. {0x1D, 0, 0, 0, 0},
  10078. {0x1E, 0, 0, 0, 0},
  10079. {0x1F, 0, 0, 0, 0},
  10080. {0x20, 0, 0, 0, 0},
  10081. {0x21, 0x88, 0x88, 0, 0},
  10082. {0x22, 0x88, 0x88, 0, 0},
  10083. {0x23, 0x88, 0x88, 0, 0},
  10084. {0x24, 0x88, 0x88, 0, 0},
  10085. {0x25, 0xc, 0xc, 0, 0},
  10086. {0x26, 0, 0, 0, 0},
  10087. {0x27, 0x3, 0x3, 0, 0},
  10088. {0x28, 0, 0, 0, 0},
  10089. {0x29, 0x3, 0x3, 0, 0},
  10090. {0x2A, 0x37, 0x37, 0, 0},
  10091. {0x2B, 0x3, 0x3, 0, 0},
  10092. {0x2C, 0, 0, 0, 0},
  10093. {0x2D, 0, 0, 0, 0},
  10094. {0x2E, 0x1, 0x1, 0, 0},
  10095. {0x2F, 0x1, 0x1, 0, 0},
  10096. {0x30, 0, 0, 0, 0},
  10097. {0x31, 0, 0, 0, 0},
  10098. {0x32, 0, 0, 0, 0},
  10099. {0x33, 0x11, 0x11, 0, 0},
  10100. {0x34, 0xee, 0xee, 1, 1},
  10101. {0x35, 0, 0, 0, 0},
  10102. {0x36, 0, 0, 0, 0},
  10103. {0x37, 0x3, 0x3, 0, 0},
  10104. {0x38, 0x50, 0x50, 1, 1},
  10105. {0x39, 0, 0, 0, 0},
  10106. {0x3A, 0x50, 0x50, 1, 1},
  10107. {0x3B, 0, 0, 0, 0},
  10108. {0x3C, 0x6e, 0x6e, 0, 0},
  10109. {0x3D, 0xf0, 0xf0, 1, 1},
  10110. {0x3E, 0, 0, 0, 0},
  10111. {0x3F, 0, 0, 0, 0},
  10112. {0x40, 0, 0, 0, 0},
  10113. {0x41, 0x3, 0x3, 0, 0},
  10114. {0x42, 0x3, 0x3, 0, 0},
  10115. {0x43, 0, 0, 0, 0},
  10116. {0x44, 0x1e, 0x1e, 0, 0},
  10117. {0x45, 0, 0, 0, 0},
  10118. {0x46, 0x6e, 0x6e, 0, 0},
  10119. {0x47, 0xf0, 0xf0, 1, 1},
  10120. {0x48, 0, 0, 0, 0},
  10121. {0x49, 0x2, 0x2, 0, 0},
  10122. {0x4A, 0xff, 0xff, 1, 1},
  10123. {0x4B, 0xc, 0xc, 0, 0},
  10124. {0x4C, 0, 0, 0, 0},
  10125. {0x4D, 0x38, 0x38, 0, 0},
  10126. {0x4E, 0x70, 0x70, 1, 1},
  10127. {0x4F, 0x2, 0x2, 0, 0},
  10128. {0x50, 0x88, 0x88, 0, 0},
  10129. {0x51, 0xc, 0xc, 0, 0},
  10130. {0x52, 0, 0, 0, 0},
  10131. {0x53, 0x8, 0x8, 0, 0},
  10132. {0x54, 0x70, 0x70, 1, 1},
  10133. {0x55, 0x2, 0x2, 0, 0},
  10134. {0x56, 0xff, 0xff, 1, 1},
  10135. {0x57, 0, 0, 0, 0},
  10136. {0x58, 0x83, 0x83, 0, 0},
  10137. {0x59, 0x77, 0x77, 1, 1},
  10138. {0x5A, 0, 0, 0, 0},
  10139. {0x5B, 0x2, 0x2, 0, 0},
  10140. {0x5C, 0x88, 0x88, 0, 0},
  10141. {0x5D, 0, 0, 0, 0},
  10142. {0x5E, 0x8, 0x8, 0, 0},
  10143. {0x5F, 0x77, 0x77, 1, 1},
  10144. {0x60, 0x1, 0x1, 0, 0},
  10145. {0x61, 0, 0, 0, 0},
  10146. {0x62, 0x7, 0x7, 0, 0},
  10147. {0x63, 0, 0, 0, 0},
  10148. {0x64, 0x7, 0x7, 0, 0},
  10149. {0x65, 0, 0, 0, 0},
  10150. {0x66, 0, 0, 0, 0},
  10151. {0x67, 0, 0, 1, 1},
  10152. {0x68, 0, 0, 0, 0},
  10153. {0x69, 0xa, 0xa, 0, 0},
  10154. {0x6A, 0, 0, 0, 0},
  10155. {0x6B, 0, 0, 0, 0},
  10156. {0x6C, 0, 0, 0, 0},
  10157. {0x6D, 0, 0, 0, 0},
  10158. {0x6E, 0, 0, 0, 0},
  10159. {0x6F, 0, 0, 0, 0},
  10160. {0x70, 0, 0, 0, 0},
  10161. {0x71, 0x2, 0x2, 0, 0},
  10162. {0x72, 0, 0, 0, 0},
  10163. {0x73, 0, 0, 0, 0},
  10164. {0x74, 0xe, 0xe, 0, 0},
  10165. {0x75, 0xe, 0xe, 0, 0},
  10166. {0x76, 0xe, 0xe, 0, 0},
  10167. {0x77, 0x13, 0x13, 0, 0},
  10168. {0x78, 0x13, 0x13, 0, 0},
  10169. {0x79, 0x1b, 0x1b, 0, 0},
  10170. {0x7A, 0x1b, 0x1b, 0, 0},
  10171. {0x7B, 0x55, 0x55, 0, 0},
  10172. {0x7C, 0x5b, 0x5b, 0, 0},
  10173. {0x7D, 0x30, 0x30, 1, 1},
  10174. {0x7E, 0, 0, 0, 0},
  10175. {0x7F, 0, 0, 0, 0},
  10176. {0x80, 0, 0, 0, 0},
  10177. {0x81, 0, 0, 0, 0},
  10178. {0x82, 0, 0, 0, 0},
  10179. {0x83, 0, 0, 0, 0},
  10180. {0x84, 0, 0, 0, 0},
  10181. {0x85, 0, 0, 0, 0},
  10182. {0x86, 0, 0, 0, 0},
  10183. {0x87, 0, 0, 0, 0},
  10184. {0x88, 0, 0, 0, 0},
  10185. {0x89, 0, 0, 0, 0},
  10186. {0x8A, 0, 0, 0, 0},
  10187. {0x8B, 0, 0, 0, 0},
  10188. {0x8C, 0, 0, 0, 0},
  10189. {0x8D, 0, 0, 0, 0},
  10190. {0x8E, 0, 0, 0, 0},
  10191. {0x8F, 0, 0, 0, 0},
  10192. {0x90, 0, 0, 0, 0},
  10193. {0x91, 0, 0, 0, 0},
  10194. {0x92, 0, 0, 0, 0},
  10195. {0x93, 0x70, 0x70, 0, 0},
  10196. {0x94, 0x70, 0x70, 0, 0},
  10197. {0x95, 0x71, 0x71, 1, 1},
  10198. {0x96, 0x71, 0x71, 1, 1},
  10199. {0x97, 0x72, 0x72, 1, 1},
  10200. {0x98, 0x73, 0x73, 1, 1},
  10201. {0x99, 0x74, 0x74, 1, 1},
  10202. {0x9A, 0x75, 0x75, 1, 1},
  10203. {0xFFFF, 0, 0, 0, 0},
  10204. };
  10205. static struct radio_regs regs_RX_2056_rev7[] = {
  10206. {0x02, 0, 0, 0, 0},
  10207. {0x03, 0, 0, 0, 0},
  10208. {0x04, 0, 0, 0, 0},
  10209. {0x05, 0, 0, 0, 0},
  10210. {0x06, 0, 0, 0, 0},
  10211. {0x07, 0, 0, 0, 0},
  10212. {0x08, 0, 0, 0, 0},
  10213. {0x09, 0, 0, 0, 0},
  10214. {0x0A, 0, 0, 0, 0},
  10215. {0x0B, 0, 0, 0, 0},
  10216. {0x0C, 0, 0, 0, 0},
  10217. {0x0D, 0, 0, 0, 0},
  10218. {0x0E, 0, 0, 0, 0},
  10219. {0x0F, 0, 0, 0, 0},
  10220. {0x10, 0, 0, 0, 0},
  10221. {0x11, 0, 0, 0, 0},
  10222. {0x12, 0, 0, 0, 0},
  10223. {0x13, 0, 0, 0, 0},
  10224. {0x14, 0, 0, 0, 0},
  10225. {0x15, 0, 0, 0, 0},
  10226. {0x16, 0, 0, 0, 0},
  10227. {0x17, 0, 0, 0, 0},
  10228. {0x18, 0, 0, 0, 0},
  10229. {0x19, 0, 0, 0, 0},
  10230. {0x1A, 0, 0, 0, 0},
  10231. {0x1B, 0, 0, 0, 0},
  10232. {0x1C, 0, 0, 0, 0},
  10233. {0x1D, 0, 0, 0, 0},
  10234. {0x1E, 0, 0, 0, 0},
  10235. {0x1F, 0, 0, 0, 0},
  10236. {0x20, 0x3, 0x3, 0, 0},
  10237. {0x21, 0, 0, 0, 0},
  10238. {0x22, 0, 0, 0, 0},
  10239. {0x23, 0x90, 0x90, 0, 0},
  10240. {0x24, 0x55, 0x55, 0, 0},
  10241. {0x25, 0x15, 0x15, 0, 0},
  10242. {0x26, 0x5, 0x5, 0, 0},
  10243. {0x27, 0x15, 0x15, 0, 0},
  10244. {0x28, 0x5, 0x5, 0, 0},
  10245. {0x29, 0x20, 0x20, 0, 0},
  10246. {0x2A, 0x11, 0x11, 0, 0},
  10247. {0x2B, 0x90, 0x90, 0, 0},
  10248. {0x2C, 0, 0, 0, 0},
  10249. {0x2D, 0x88, 0x88, 0, 0},
  10250. {0x2E, 0x32, 0x32, 0, 0},
  10251. {0x2F, 0x77, 0x77, 0, 0},
  10252. {0x30, 0x17, 0x17, 1, 1},
  10253. {0x31, 0xff, 0xff, 1, 1},
  10254. {0x32, 0x20, 0x20, 0, 0},
  10255. {0x33, 0, 0, 0, 0},
  10256. {0x34, 0x88, 0x88, 0, 0},
  10257. {0x35, 0x32, 0x32, 0, 0},
  10258. {0x36, 0x77, 0x77, 0, 0},
  10259. {0x37, 0x17, 0x17, 1, 1},
  10260. {0x38, 0xf0, 0xf0, 1, 1},
  10261. {0x39, 0x20, 0x20, 0, 0},
  10262. {0x3A, 0x8, 0x8, 0, 0},
  10263. {0x3B, 0x55, 0x55, 1, 1},
  10264. {0x3C, 0, 0, 0, 0},
  10265. {0x3D, 0x88, 0x88, 1, 1},
  10266. {0x3E, 0, 0, 0, 0},
  10267. {0x3F, 0, 0, 1, 1},
  10268. {0x40, 0x7, 0x7, 1, 1},
  10269. {0x41, 0x6, 0x6, 0, 0},
  10270. {0x42, 0x4, 0x4, 0, 0},
  10271. {0x43, 0, 0, 0, 0},
  10272. {0x44, 0x8, 0x8, 0, 0},
  10273. {0x45, 0x55, 0x55, 1, 1},
  10274. {0x46, 0, 0, 0, 0},
  10275. {0x47, 0x11, 0x11, 0, 0},
  10276. {0x48, 0, 0, 0, 0},
  10277. {0x49, 0, 0, 1, 1},
  10278. {0x4A, 0x7, 0x7, 0, 0},
  10279. {0x4B, 0x6, 0x6, 0, 0},
  10280. {0x4C, 0x4, 0x4, 0, 0},
  10281. {0x4D, 0, 0, 0, 0},
  10282. {0x4E, 0, 0, 0, 0},
  10283. {0x4F, 0x26, 0x26, 1, 1},
  10284. {0x50, 0x26, 0x26, 1, 1},
  10285. {0x51, 0xf, 0xf, 1, 1},
  10286. {0x52, 0xf, 0xf, 1, 1},
  10287. {0x53, 0x44, 0x44, 0, 0},
  10288. {0x54, 0, 0, 0, 0},
  10289. {0x55, 0, 0, 0, 0},
  10290. {0x56, 0x8, 0x8, 0, 0},
  10291. {0x57, 0x8, 0x8, 0, 0},
  10292. {0x58, 0x7, 0x7, 0, 0},
  10293. {0x59, 0x22, 0x22, 0, 0},
  10294. {0x5A, 0x22, 0x22, 0, 0},
  10295. {0x5B, 0x2, 0x2, 0, 0},
  10296. {0x5C, 0x4, 0x4, 1, 1},
  10297. {0x5D, 0x7, 0x7, 0, 0},
  10298. {0x5E, 0x55, 0x55, 0, 0},
  10299. {0x5F, 0x23, 0x23, 0, 0},
  10300. {0x60, 0x41, 0x41, 0, 0},
  10301. {0x61, 0x1, 0x1, 0, 0},
  10302. {0x62, 0xa, 0xa, 0, 0},
  10303. {0x63, 0, 0, 0, 0},
  10304. {0x64, 0, 0, 0, 0},
  10305. {0x65, 0, 0, 0, 0},
  10306. {0x66, 0, 0, 0, 0},
  10307. {0x67, 0, 0, 0, 0},
  10308. {0x68, 0, 0, 0, 0},
  10309. {0x69, 0, 0, 0, 0},
  10310. {0x6A, 0, 0, 0, 0},
  10311. {0x6B, 0xc, 0xc, 0, 0},
  10312. {0x6C, 0, 0, 0, 0},
  10313. {0x6D, 0, 0, 0, 0},
  10314. {0x6E, 0, 0, 0, 0},
  10315. {0x6F, 0, 0, 0, 0},
  10316. {0x70, 0, 0, 0, 0},
  10317. {0x71, 0, 0, 0, 0},
  10318. {0x72, 0x22, 0x22, 0, 0},
  10319. {0x73, 0x22, 0x22, 0, 0},
  10320. {0x74, 0, 0, 1, 1},
  10321. {0x75, 0xa, 0xa, 0, 0},
  10322. {0x76, 0x1, 0x1, 0, 0},
  10323. {0x77, 0x22, 0x22, 0, 0},
  10324. {0x78, 0x30, 0x30, 0, 0},
  10325. {0x79, 0, 0, 0, 0},
  10326. {0x7A, 0, 0, 0, 0},
  10327. {0x7B, 0, 0, 0, 0},
  10328. {0x7C, 0, 0, 0, 0},
  10329. {0x7D, 0, 0, 0, 0},
  10330. {0x7E, 0, 0, 0, 0},
  10331. {0x7F, 0, 0, 0, 0},
  10332. {0x80, 0, 0, 0, 0},
  10333. {0x81, 0, 0, 0, 0},
  10334. {0x82, 0, 0, 0, 0},
  10335. {0x83, 0, 0, 0, 0},
  10336. {0x84, 0, 0, 0, 0},
  10337. {0x85, 0, 0, 0, 0},
  10338. {0x86, 0, 0, 0, 0},
  10339. {0x87, 0, 0, 0, 0},
  10340. {0x88, 0, 0, 0, 0},
  10341. {0x89, 0, 0, 0, 0},
  10342. {0x8A, 0, 0, 0, 0},
  10343. {0x8B, 0, 0, 0, 0},
  10344. {0x8C, 0, 0, 0, 0},
  10345. {0x8D, 0, 0, 0, 0},
  10346. {0x8E, 0, 0, 0, 0},
  10347. {0x8F, 0, 0, 0, 0},
  10348. {0x90, 0, 0, 0, 0},
  10349. {0x91, 0, 0, 0, 0},
  10350. {0x92, 0, 0, 0, 0},
  10351. {0x93, 0, 0, 0, 0},
  10352. {0x94, 0, 0, 0, 0},
  10353. {0xFFFF, 0, 0, 0, 0},
  10354. };
  10355. static struct radio_regs regs_SYN_2056_rev8[] = {
  10356. {0x02, 0, 0, 0, 0},
  10357. {0x03, 0, 0, 0, 0},
  10358. {0x04, 0, 0, 0, 0},
  10359. {0x05, 0, 0, 0, 0},
  10360. {0x06, 0, 0, 0, 0},
  10361. {0x07, 0, 0, 0, 0},
  10362. {0x08, 0, 0, 0, 0},
  10363. {0x09, 0x1, 0x1, 0, 0},
  10364. {0x0A, 0, 0, 0, 0},
  10365. {0x0B, 0, 0, 0, 0},
  10366. {0x0C, 0, 0, 0, 0},
  10367. {0x0D, 0, 0, 0, 0},
  10368. {0x0E, 0, 0, 0, 0},
  10369. {0x0F, 0, 0, 0, 0},
  10370. {0x10, 0, 0, 0, 0},
  10371. {0x11, 0, 0, 0, 0},
  10372. {0x12, 0, 0, 0, 0},
  10373. {0x13, 0, 0, 0, 0},
  10374. {0x14, 0, 0, 0, 0},
  10375. {0x15, 0, 0, 0, 0},
  10376. {0x16, 0, 0, 0, 0},
  10377. {0x17, 0, 0, 0, 0},
  10378. {0x18, 0, 0, 0, 0},
  10379. {0x19, 0, 0, 0, 0},
  10380. {0x1A, 0, 0, 0, 0},
  10381. {0x1B, 0, 0, 0, 0},
  10382. {0x1C, 0, 0, 0, 0},
  10383. {0x1D, 0, 0, 0, 0},
  10384. {0x1E, 0, 0, 0, 0},
  10385. {0x1F, 0, 0, 0, 0},
  10386. {0x20, 0, 0, 0, 0},
  10387. {0x21, 0, 0, 0, 0},
  10388. {0x22, 0x60, 0x60, 0, 0},
  10389. {0x23, 0x6, 0x6, 0, 0},
  10390. {0x24, 0xc, 0xc, 0, 0},
  10391. {0x25, 0, 0, 0, 0},
  10392. {0x26, 0, 0, 0, 0},
  10393. {0x27, 0, 0, 0, 0},
  10394. {0x28, 0x1, 0x1, 0, 0},
  10395. {0x29, 0, 0, 0, 0},
  10396. {0x2A, 0, 0, 0, 0},
  10397. {0x2B, 0, 0, 0, 0},
  10398. {0x2C, 0, 0, 0, 0},
  10399. {0x2D, 0, 0, 0, 0},
  10400. {0x2E, 0, 0, 0, 0},
  10401. {0x2F, 0x1f, 0x1f, 0, 0},
  10402. {0x30, 0x15, 0x15, 0, 0},
  10403. {0x31, 0xf, 0xf, 0, 0},
  10404. {0x32, 0, 0, 0, 0},
  10405. {0x33, 0, 0, 0, 0},
  10406. {0x34, 0, 0, 0, 0},
  10407. {0x35, 0, 0, 0, 0},
  10408. {0x36, 0, 0, 0, 0},
  10409. {0x37, 0, 0, 0, 0},
  10410. {0x38, 0, 0, 0, 0},
  10411. {0x39, 0, 0, 0, 0},
  10412. {0x3A, 0, 0, 0, 0},
  10413. {0x3B, 0, 0, 0, 0},
  10414. {0x3C, 0x13, 0x13, 0, 0},
  10415. {0x3D, 0xf, 0xf, 0, 0},
  10416. {0x3E, 0x18, 0x18, 0, 0},
  10417. {0x3F, 0, 0, 0, 0},
  10418. {0x40, 0, 0, 0, 0},
  10419. {0x41, 0x20, 0x20, 0, 0},
  10420. {0x42, 0x20, 0x20, 0, 0},
  10421. {0x43, 0, 0, 0, 0},
  10422. {0x44, 0x77, 0x77, 0, 0},
  10423. {0x45, 0x7, 0x7, 0, 0},
  10424. {0x46, 0x1, 0x1, 0, 0},
  10425. {0x47, 0x4, 0x4, 0, 0},
  10426. {0x48, 0xf, 0xf, 0, 0},
  10427. {0x49, 0x30, 0x30, 0, 0},
  10428. {0x4A, 0x32, 0x32, 0, 0},
  10429. {0x4B, 0xd, 0xd, 0, 0},
  10430. {0x4C, 0xd, 0xd, 0, 0},
  10431. {0x4D, 0x4, 0x4, 0, 0},
  10432. {0x4E, 0x6, 0x6, 0, 0},
  10433. {0x4F, 0x1, 0x1, 0, 0},
  10434. {0x50, 0x1c, 0x1c, 0, 0},
  10435. {0x51, 0x2, 0x2, 0, 0},
  10436. {0x52, 0x2, 0x2, 0, 0},
  10437. {0x53, 0xf7, 0xf7, 1, 1},
  10438. {0x54, 0xb4, 0xb4, 0, 0},
  10439. {0x55, 0xd2, 0xd2, 0, 0},
  10440. {0x56, 0, 0, 0, 0},
  10441. {0x57, 0, 0, 0, 0},
  10442. {0x58, 0x4, 0x4, 0, 0},
  10443. {0x59, 0x96, 0x96, 0, 0},
  10444. {0x5A, 0x3e, 0x3e, 0, 0},
  10445. {0x5B, 0x3e, 0x3e, 0, 0},
  10446. {0x5C, 0x13, 0x13, 0, 0},
  10447. {0x5D, 0x2, 0x2, 0, 0},
  10448. {0x5E, 0, 0, 0, 0},
  10449. {0x5F, 0x7, 0x7, 0, 0},
  10450. {0x60, 0x7, 0x7, 1, 1},
  10451. {0x61, 0x8, 0x8, 0, 0},
  10452. {0x62, 0x3, 0x3, 0, 0},
  10453. {0x63, 0, 0, 0, 0},
  10454. {0x64, 0, 0, 0, 0},
  10455. {0x65, 0, 0, 0, 0},
  10456. {0x66, 0, 0, 0, 0},
  10457. {0x67, 0, 0, 0, 0},
  10458. {0x68, 0x40, 0x40, 0, 0},
  10459. {0x69, 0, 0, 0, 0},
  10460. {0x6A, 0, 0, 0, 0},
  10461. {0x6B, 0, 0, 0, 0},
  10462. {0x6C, 0, 0, 0, 0},
  10463. {0x6D, 0x1, 0x1, 0, 0},
  10464. {0x6E, 0, 0, 0, 0},
  10465. {0x6F, 0, 0, 0, 0},
  10466. {0x70, 0x60, 0x60, 0, 0},
  10467. {0x71, 0x66, 0x66, 0, 0},
  10468. {0x72, 0xc, 0xc, 0, 0},
  10469. {0x73, 0x66, 0x66, 0, 0},
  10470. {0x74, 0x8f, 0x8f, 1, 1},
  10471. {0x75, 0, 0, 0, 0},
  10472. {0x76, 0xcc, 0xcc, 0, 0},
  10473. {0x77, 0x1, 0x1, 0, 0},
  10474. {0x78, 0x66, 0x66, 0, 0},
  10475. {0x79, 0x66, 0x66, 0, 0},
  10476. {0x7A, 0, 0, 0, 0},
  10477. {0x7B, 0, 0, 0, 0},
  10478. {0x7C, 0, 0, 0, 0},
  10479. {0x7D, 0, 0, 0, 0},
  10480. {0x7E, 0, 0, 0, 0},
  10481. {0x7F, 0, 0, 0, 0},
  10482. {0x80, 0, 0, 0, 0},
  10483. {0x81, 0, 0, 0, 0},
  10484. {0x82, 0, 0, 0, 0},
  10485. {0x83, 0, 0, 0, 0},
  10486. {0x84, 0, 0, 0, 0},
  10487. {0x85, 0xff, 0xff, 0, 0},
  10488. {0x86, 0, 0, 0, 0},
  10489. {0x87, 0, 0, 0, 0},
  10490. {0x88, 0, 0, 0, 0},
  10491. {0x89, 0, 0, 0, 0},
  10492. {0x8A, 0, 0, 0, 0},
  10493. {0x8B, 0, 0, 0, 0},
  10494. {0x8C, 0, 0, 0, 0},
  10495. {0x8D, 0, 0, 0, 0},
  10496. {0x8E, 0, 0, 0, 0},
  10497. {0x8F, 0, 0, 0, 0},
  10498. {0x90, 0, 0, 0, 0},
  10499. {0x91, 0, 0, 0, 0},
  10500. {0x92, 0, 0, 0, 0},
  10501. {0x93, 0, 0, 0, 0},
  10502. {0x94, 0, 0, 0, 0},
  10503. {0x95, 0, 0, 0, 0},
  10504. {0x96, 0, 0, 0, 0},
  10505. {0x97, 0, 0, 0, 0},
  10506. {0x98, 0, 0, 0, 0},
  10507. {0x99, 0, 0, 0, 0},
  10508. {0x9A, 0, 0, 0, 0},
  10509. {0x9B, 0, 0, 0, 0},
  10510. {0x9C, 0, 0, 0, 0},
  10511. {0x9D, 0, 0, 0, 0},
  10512. {0x9E, 0, 0, 0, 0},
  10513. {0x9F, 0x6, 0x6, 0, 0},
  10514. {0xA0, 0x66, 0x66, 0, 0},
  10515. {0xA1, 0x66, 0x66, 0, 0},
  10516. {0xA2, 0x66, 0x66, 0, 0},
  10517. {0xA3, 0x66, 0x66, 0, 0},
  10518. {0xA4, 0x66, 0x66, 0, 0},
  10519. {0xA5, 0x66, 0x66, 0, 0},
  10520. {0xA6, 0x66, 0x66, 0, 0},
  10521. {0xA7, 0x66, 0x66, 0, 0},
  10522. {0xA8, 0x66, 0x66, 0, 0},
  10523. {0xA9, 0x66, 0x66, 0, 0},
  10524. {0xAA, 0x66, 0x66, 0, 0},
  10525. {0xAB, 0x66, 0x66, 0, 0},
  10526. {0xAC, 0x66, 0x66, 0, 0},
  10527. {0xAD, 0x66, 0x66, 0, 0},
  10528. {0xAE, 0x66, 0x66, 0, 0},
  10529. {0xAF, 0x66, 0x66, 0, 0},
  10530. {0xB0, 0x66, 0x66, 0, 0},
  10531. {0xB1, 0x66, 0x66, 0, 0},
  10532. {0xB2, 0x66, 0x66, 0, 0},
  10533. {0xB3, 0xa, 0xa, 0, 0},
  10534. {0xB4, 0, 0, 0, 0},
  10535. {0xB5, 0, 0, 0, 0},
  10536. {0xB6, 0, 0, 0, 0},
  10537. {0xFFFF, 0, 0, 0, 0},
  10538. };
  10539. static struct radio_regs regs_TX_2056_rev8[] = {
  10540. {0x02, 0, 0, 0, 0},
  10541. {0x03, 0, 0, 0, 0},
  10542. {0x04, 0, 0, 0, 0},
  10543. {0x05, 0, 0, 0, 0},
  10544. {0x06, 0, 0, 0, 0},
  10545. {0x07, 0, 0, 0, 0},
  10546. {0x08, 0, 0, 0, 0},
  10547. {0x09, 0, 0, 0, 0},
  10548. {0x0A, 0, 0, 0, 0},
  10549. {0x0B, 0, 0, 0, 0},
  10550. {0x0C, 0, 0, 0, 0},
  10551. {0x0D, 0, 0, 0, 0},
  10552. {0x0E, 0, 0, 0, 0},
  10553. {0x0F, 0, 0, 0, 0},
  10554. {0x10, 0, 0, 0, 0},
  10555. {0x11, 0, 0, 0, 0},
  10556. {0x12, 0, 0, 0, 0},
  10557. {0x13, 0, 0, 0, 0},
  10558. {0x14, 0, 0, 0, 0},
  10559. {0x15, 0, 0, 0, 0},
  10560. {0x16, 0, 0, 0, 0},
  10561. {0x17, 0, 0, 0, 0},
  10562. {0x18, 0, 0, 0, 0},
  10563. {0x19, 0, 0, 0, 0},
  10564. {0x1A, 0, 0, 0, 0},
  10565. {0x1B, 0, 0, 0, 0},
  10566. {0x1C, 0, 0, 0, 0},
  10567. {0x1D, 0, 0, 0, 0},
  10568. {0x1E, 0, 0, 0, 0},
  10569. {0x1F, 0, 0, 0, 0},
  10570. {0x20, 0, 0, 0, 0},
  10571. {0x21, 0x88, 0x88, 0, 0},
  10572. {0x22, 0x88, 0x88, 0, 0},
  10573. {0x23, 0x88, 0x88, 0, 0},
  10574. {0x24, 0x88, 0x88, 0, 0},
  10575. {0x25, 0xc, 0xc, 0, 0},
  10576. {0x26, 0, 0, 0, 0},
  10577. {0x27, 0x3, 0x3, 0, 0},
  10578. {0x28, 0, 0, 0, 0},
  10579. {0x29, 0x3, 0x3, 0, 0},
  10580. {0x2A, 0x37, 0x37, 0, 0},
  10581. {0x2B, 0x3, 0x3, 0, 0},
  10582. {0x2C, 0, 0, 0, 0},
  10583. {0x2D, 0, 0, 0, 0},
  10584. {0x2E, 0x1, 0x1, 0, 0},
  10585. {0x2F, 0x1, 0x1, 0, 0},
  10586. {0x30, 0, 0, 0, 0},
  10587. {0x31, 0, 0, 0, 0},
  10588. {0x32, 0, 0, 0, 0},
  10589. {0x33, 0x11, 0x11, 0, 0},
  10590. {0x34, 0xee, 0xee, 1, 1},
  10591. {0x35, 0, 0, 0, 0},
  10592. {0x36, 0, 0, 0, 0},
  10593. {0x37, 0x3, 0x3, 0, 0},
  10594. {0x38, 0x50, 0x50, 1, 1},
  10595. {0x39, 0, 0, 0, 0},
  10596. {0x3A, 0x50, 0x50, 1, 1},
  10597. {0x3B, 0, 0, 0, 0},
  10598. {0x3C, 0x6e, 0x6e, 0, 0},
  10599. {0x3D, 0xf0, 0xf0, 1, 1},
  10600. {0x3E, 0, 0, 0, 0},
  10601. {0x3F, 0, 0, 0, 0},
  10602. {0x40, 0, 0, 0, 0},
  10603. {0x41, 0x3, 0x3, 0, 0},
  10604. {0x42, 0x3, 0x3, 0, 0},
  10605. {0x43, 0, 0, 0, 0},
  10606. {0x44, 0x1e, 0x1e, 0, 0},
  10607. {0x45, 0, 0, 0, 0},
  10608. {0x46, 0x6e, 0x6e, 0, 0},
  10609. {0x47, 0xf0, 0xf0, 1, 1},
  10610. {0x48, 0, 0, 0, 0},
  10611. {0x49, 0x2, 0x2, 0, 0},
  10612. {0x4A, 0xff, 0xff, 1, 1},
  10613. {0x4B, 0xc, 0xc, 0, 0},
  10614. {0x4C, 0, 0, 0, 0},
  10615. {0x4D, 0x38, 0x38, 0, 0},
  10616. {0x4E, 0x70, 0x70, 1, 1},
  10617. {0x4F, 0x2, 0x2, 0, 0},
  10618. {0x50, 0x88, 0x88, 0, 0},
  10619. {0x51, 0xc, 0xc, 0, 0},
  10620. {0x52, 0, 0, 0, 0},
  10621. {0x53, 0x8, 0x8, 0, 0},
  10622. {0x54, 0x70, 0x70, 1, 1},
  10623. {0x55, 0x2, 0x2, 0, 0},
  10624. {0x56, 0xff, 0xff, 1, 1},
  10625. {0x57, 0, 0, 0, 0},
  10626. {0x58, 0x83, 0x83, 0, 0},
  10627. {0x59, 0x77, 0x77, 1, 1},
  10628. {0x5A, 0, 0, 0, 0},
  10629. {0x5B, 0x2, 0x2, 0, 0},
  10630. {0x5C, 0x88, 0x88, 0, 0},
  10631. {0x5D, 0, 0, 0, 0},
  10632. {0x5E, 0x8, 0x8, 0, 0},
  10633. {0x5F, 0x77, 0x77, 1, 1},
  10634. {0x60, 0x1, 0x1, 0, 0},
  10635. {0x61, 0, 0, 0, 0},
  10636. {0x62, 0x7, 0x7, 0, 0},
  10637. {0x63, 0, 0, 0, 0},
  10638. {0x64, 0x7, 0x7, 0, 0},
  10639. {0x65, 0, 0, 0, 0},
  10640. {0x66, 0, 0, 0, 0},
  10641. {0x67, 0, 0, 1, 1},
  10642. {0x68, 0, 0, 0, 0},
  10643. {0x69, 0xa, 0xa, 0, 0},
  10644. {0x6A, 0, 0, 0, 0},
  10645. {0x6B, 0, 0, 0, 0},
  10646. {0x6C, 0, 0, 0, 0},
  10647. {0x6D, 0, 0, 0, 0},
  10648. {0x6E, 0, 0, 0, 0},
  10649. {0x6F, 0, 0, 0, 0},
  10650. {0x70, 0, 0, 0, 0},
  10651. {0x71, 0x2, 0x2, 0, 0},
  10652. {0x72, 0, 0, 0, 0},
  10653. {0x73, 0, 0, 0, 0},
  10654. {0x74, 0xe, 0xe, 0, 0},
  10655. {0x75, 0xe, 0xe, 0, 0},
  10656. {0x76, 0xe, 0xe, 0, 0},
  10657. {0x77, 0x13, 0x13, 0, 0},
  10658. {0x78, 0x13, 0x13, 0, 0},
  10659. {0x79, 0x1b, 0x1b, 0, 0},
  10660. {0x7A, 0x1b, 0x1b, 0, 0},
  10661. {0x7B, 0x55, 0x55, 0, 0},
  10662. {0x7C, 0x5b, 0x5b, 0, 0},
  10663. {0x7D, 0x30, 0x30, 1, 1},
  10664. {0x7E, 0, 0, 0, 0},
  10665. {0x7F, 0, 0, 0, 0},
  10666. {0x80, 0, 0, 0, 0},
  10667. {0x81, 0, 0, 0, 0},
  10668. {0x82, 0, 0, 0, 0},
  10669. {0x83, 0, 0, 0, 0},
  10670. {0x84, 0, 0, 0, 0},
  10671. {0x85, 0, 0, 0, 0},
  10672. {0x86, 0, 0, 0, 0},
  10673. {0x87, 0, 0, 0, 0},
  10674. {0x88, 0, 0, 0, 0},
  10675. {0x89, 0, 0, 0, 0},
  10676. {0x8A, 0, 0, 0, 0},
  10677. {0x8B, 0, 0, 0, 0},
  10678. {0x8C, 0, 0, 0, 0},
  10679. {0x8D, 0, 0, 0, 0},
  10680. {0x8E, 0, 0, 0, 0},
  10681. {0x8F, 0, 0, 0, 0},
  10682. {0x90, 0, 0, 0, 0},
  10683. {0x91, 0, 0, 0, 0},
  10684. {0x92, 0, 0, 0, 0},
  10685. {0x93, 0x70, 0x70, 0, 0},
  10686. {0x94, 0x70, 0x70, 0, 0},
  10687. {0x95, 0x70, 0x70, 0, 0},
  10688. {0x96, 0x70, 0x70, 0, 0},
  10689. {0x97, 0x70, 0x70, 0, 0},
  10690. {0x98, 0x70, 0x70, 0, 0},
  10691. {0x99, 0x70, 0x70, 0, 0},
  10692. {0x9A, 0x70, 0x70, 0, 0},
  10693. {0xFFFF, 0, 0, 0, 0},
  10694. };
  10695. static struct radio_regs regs_RX_2056_rev8[] = {
  10696. {0x02, 0, 0, 0, 0},
  10697. {0x03, 0, 0, 0, 0},
  10698. {0x04, 0, 0, 0, 0},
  10699. {0x05, 0, 0, 0, 0},
  10700. {0x06, 0, 0, 0, 0},
  10701. {0x07, 0, 0, 0, 0},
  10702. {0x08, 0, 0, 0, 0},
  10703. {0x09, 0, 0, 0, 0},
  10704. {0x0A, 0, 0, 0, 0},
  10705. {0x0B, 0, 0, 0, 0},
  10706. {0x0C, 0, 0, 0, 0},
  10707. {0x0D, 0, 0, 0, 0},
  10708. {0x0E, 0, 0, 0, 0},
  10709. {0x0F, 0, 0, 0, 0},
  10710. {0x10, 0, 0, 0, 0},
  10711. {0x11, 0, 0, 0, 0},
  10712. {0x12, 0, 0, 0, 0},
  10713. {0x13, 0, 0, 0, 0},
  10714. {0x14, 0, 0, 0, 0},
  10715. {0x15, 0, 0, 0, 0},
  10716. {0x16, 0, 0, 0, 0},
  10717. {0x17, 0, 0, 0, 0},
  10718. {0x18, 0, 0, 0, 0},
  10719. {0x19, 0, 0, 0, 0},
  10720. {0x1A, 0, 0, 0, 0},
  10721. {0x1B, 0, 0, 0, 0},
  10722. {0x1C, 0, 0, 0, 0},
  10723. {0x1D, 0, 0, 0, 0},
  10724. {0x1E, 0, 0, 0, 0},
  10725. {0x1F, 0, 0, 0, 0},
  10726. {0x20, 0x3, 0x3, 0, 0},
  10727. {0x21, 0, 0, 0, 0},
  10728. {0x22, 0, 0, 0, 0},
  10729. {0x23, 0x90, 0x90, 0, 0},
  10730. {0x24, 0x55, 0x55, 0, 0},
  10731. {0x25, 0x15, 0x15, 0, 0},
  10732. {0x26, 0x5, 0x5, 0, 0},
  10733. {0x27, 0x15, 0x15, 0, 0},
  10734. {0x28, 0x5, 0x5, 0, 0},
  10735. {0x29, 0x20, 0x20, 0, 0},
  10736. {0x2A, 0x11, 0x11, 0, 0},
  10737. {0x2B, 0x90, 0x90, 0, 0},
  10738. {0x2C, 0, 0, 0, 0},
  10739. {0x2D, 0x88, 0x88, 0, 0},
  10740. {0x2E, 0x32, 0x32, 0, 0},
  10741. {0x2F, 0x77, 0x77, 0, 0},
  10742. {0x30, 0x17, 0x17, 1, 1},
  10743. {0x31, 0xff, 0xff, 1, 1},
  10744. {0x32, 0x20, 0x20, 0, 0},
  10745. {0x33, 0, 0, 0, 0},
  10746. {0x34, 0x88, 0x88, 0, 0},
  10747. {0x35, 0x32, 0x32, 0, 0},
  10748. {0x36, 0x77, 0x77, 0, 0},
  10749. {0x37, 0x17, 0x17, 1, 1},
  10750. {0x38, 0xf0, 0xf0, 1, 1},
  10751. {0x39, 0x20, 0x20, 0, 0},
  10752. {0x3A, 0x8, 0x8, 0, 0},
  10753. {0x3B, 0x55, 0x55, 1, 1},
  10754. {0x3C, 0, 0, 0, 0},
  10755. {0x3D, 0x88, 0x88, 1, 1},
  10756. {0x3E, 0, 0, 0, 0},
  10757. {0x3F, 0x44, 0x44, 0, 0},
  10758. {0x40, 0x7, 0x7, 1, 1},
  10759. {0x41, 0x6, 0x6, 0, 0},
  10760. {0x42, 0x4, 0x4, 0, 0},
  10761. {0x43, 0, 0, 0, 0},
  10762. {0x44, 0x8, 0x8, 0, 0},
  10763. {0x45, 0x55, 0x55, 1, 1},
  10764. {0x46, 0, 0, 0, 0},
  10765. {0x47, 0x11, 0x11, 0, 0},
  10766. {0x48, 0, 0, 0, 0},
  10767. {0x49, 0x44, 0x44, 0, 0},
  10768. {0x4A, 0x7, 0x7, 0, 0},
  10769. {0x4B, 0x6, 0x6, 0, 0},
  10770. {0x4C, 0x4, 0x4, 0, 0},
  10771. {0x4D, 0, 0, 0, 0},
  10772. {0x4E, 0, 0, 0, 0},
  10773. {0x4F, 0x26, 0x26, 1, 1},
  10774. {0x50, 0x26, 0x26, 1, 1},
  10775. {0x51, 0xf, 0xf, 1, 1},
  10776. {0x52, 0xf, 0xf, 1, 1},
  10777. {0x53, 0x44, 0x44, 0, 0},
  10778. {0x54, 0, 0, 0, 0},
  10779. {0x55, 0, 0, 0, 0},
  10780. {0x56, 0x8, 0x8, 0, 0},
  10781. {0x57, 0x8, 0x8, 0, 0},
  10782. {0x58, 0x7, 0x7, 0, 0},
  10783. {0x59, 0x22, 0x22, 0, 0},
  10784. {0x5A, 0x22, 0x22, 0, 0},
  10785. {0x5B, 0x2, 0x2, 0, 0},
  10786. {0x5C, 0x4, 0x4, 1, 1},
  10787. {0x5D, 0x7, 0x7, 0, 0},
  10788. {0x5E, 0x55, 0x55, 0, 0},
  10789. {0x5F, 0x23, 0x23, 0, 0},
  10790. {0x60, 0x41, 0x41, 0, 0},
  10791. {0x61, 0x1, 0x1, 0, 0},
  10792. {0x62, 0xa, 0xa, 0, 0},
  10793. {0x63, 0, 0, 0, 0},
  10794. {0x64, 0, 0, 0, 0},
  10795. {0x65, 0, 0, 0, 0},
  10796. {0x66, 0, 0, 0, 0},
  10797. {0x67, 0, 0, 0, 0},
  10798. {0x68, 0, 0, 0, 0},
  10799. {0x69, 0, 0, 0, 0},
  10800. {0x6A, 0, 0, 0, 0},
  10801. {0x6B, 0xc, 0xc, 0, 0},
  10802. {0x6C, 0, 0, 0, 0},
  10803. {0x6D, 0, 0, 0, 0},
  10804. {0x6E, 0, 0, 0, 0},
  10805. {0x6F, 0, 0, 0, 0},
  10806. {0x70, 0, 0, 0, 0},
  10807. {0x71, 0, 0, 0, 0},
  10808. {0x72, 0x22, 0x22, 0, 0},
  10809. {0x73, 0x22, 0x22, 0, 0},
  10810. {0x74, 0, 0, 1, 1},
  10811. {0x75, 0xa, 0xa, 0, 0},
  10812. {0x76, 0x1, 0x1, 0, 0},
  10813. {0x77, 0x22, 0x22, 0, 0},
  10814. {0x78, 0x30, 0x30, 0, 0},
  10815. {0x79, 0, 0, 0, 0},
  10816. {0x7A, 0, 0, 0, 0},
  10817. {0x7B, 0, 0, 0, 0},
  10818. {0x7C, 0, 0, 0, 0},
  10819. {0x7D, 0x5, 0x5, 1, 1},
  10820. {0x7E, 0, 0, 0, 0},
  10821. {0x7F, 0, 0, 0, 0},
  10822. {0x80, 0, 0, 0, 0},
  10823. {0x81, 0, 0, 0, 0},
  10824. {0x82, 0, 0, 0, 0},
  10825. {0x83, 0, 0, 0, 0},
  10826. {0x84, 0, 0, 0, 0},
  10827. {0x85, 0, 0, 0, 0},
  10828. {0x86, 0, 0, 0, 0},
  10829. {0x87, 0, 0, 0, 0},
  10830. {0x88, 0, 0, 0, 0},
  10831. {0x89, 0, 0, 0, 0},
  10832. {0x8A, 0, 0, 0, 0},
  10833. {0x8B, 0, 0, 0, 0},
  10834. {0x8C, 0, 0, 0, 0},
  10835. {0x8D, 0, 0, 0, 0},
  10836. {0x8E, 0, 0, 0, 0},
  10837. {0x8F, 0, 0, 0, 0},
  10838. {0x90, 0, 0, 0, 0},
  10839. {0x91, 0, 0, 0, 0},
  10840. {0x92, 0, 0, 0, 0},
  10841. {0x93, 0, 0, 0, 0},
  10842. {0x94, 0, 0, 0, 0},
  10843. {0xFFFF, 0, 0, 0, 0},
  10844. };
  10845. static const struct radio_regs regs_SYN_2056_rev11[] = {
  10846. {0x02, 0, 0, 0, 0},
  10847. {0x03, 0, 0, 0, 0},
  10848. {0x04, 0, 0, 0, 0},
  10849. {0x05, 0, 0, 0, 0},
  10850. {0x06, 0, 0, 0, 0},
  10851. {0x07, 0, 0, 0, 0},
  10852. {0x08, 0, 0, 0, 0},
  10853. {0x09, 0x1, 0x1, 0, 0},
  10854. {0x0A, 0, 0, 0, 0},
  10855. {0x0B, 0, 0, 0, 0},
  10856. {0x0C, 0, 0, 0, 0},
  10857. {0x0D, 0, 0, 0, 0},
  10858. {0x0E, 0, 0, 0, 0},
  10859. {0x0F, 0, 0, 0, 0},
  10860. {0x10, 0, 0, 0, 0},
  10861. {0x11, 0, 0, 0, 0},
  10862. {0x12, 0, 0, 0, 0},
  10863. {0x13, 0, 0, 0, 0},
  10864. {0x14, 0, 0, 0, 0},
  10865. {0x15, 0, 0, 0, 0},
  10866. {0x16, 0, 0, 0, 0},
  10867. {0x17, 0, 0, 0, 0},
  10868. {0x18, 0, 0, 0, 0},
  10869. {0x19, 0, 0, 0, 0},
  10870. {0x1A, 0, 0, 0, 0},
  10871. {0x1B, 0, 0, 0, 0},
  10872. {0x1C, 0, 0, 0, 0},
  10873. {0x1D, 0, 0, 0, 0},
  10874. {0x1E, 0, 0, 0, 0},
  10875. {0x1F, 0, 0, 0, 0},
  10876. {0x20, 0, 0, 0, 0},
  10877. {0x21, 0, 0, 0, 0},
  10878. {0x22, 0x60, 0x60, 0, 0},
  10879. {0x23, 0x6, 0x6, 0, 0},
  10880. {0x24, 0xc, 0xc, 0, 0},
  10881. {0x25, 0, 0, 0, 0},
  10882. {0x26, 0, 0, 0, 0},
  10883. {0x27, 0, 0, 0, 0},
  10884. {0x28, 0x1, 0x1, 0, 0},
  10885. {0x29, 0, 0, 0, 0},
  10886. {0x2A, 0, 0, 0, 0},
  10887. {0x2B, 0, 0, 0, 0},
  10888. {0x2C, 0, 0, 0, 0},
  10889. {0x2D, 0, 0, 0, 0},
  10890. {0x2E, 0, 0, 0, 0},
  10891. {0x2F, 0x1f, 0x1f, 0, 0},
  10892. {0x30, 0x15, 0x15, 0, 0},
  10893. {0x31, 0xf, 0xf, 0, 0},
  10894. {0x32, 0, 0, 0, 0},
  10895. {0x33, 0, 0, 0, 0},
  10896. {0x34, 0, 0, 0, 0},
  10897. {0x35, 0, 0, 0, 0},
  10898. {0x36, 0, 0, 0, 0},
  10899. {0x37, 0, 0, 0, 0},
  10900. {0x38, 0, 0, 0, 0},
  10901. {0x39, 0, 0, 0, 0},
  10902. {0x3A, 0, 0, 0, 0},
  10903. {0x3B, 0, 0, 0, 0},
  10904. {0x3C, 0x13, 0x13, 0, 0},
  10905. {0x3D, 0xf, 0xf, 0, 0},
  10906. {0x3E, 0x18, 0x18, 0, 0},
  10907. {0x3F, 0, 0, 0, 0},
  10908. {0x40, 0, 0, 0, 0},
  10909. {0x41, 0x20, 0x20, 0, 0},
  10910. {0x42, 0x20, 0x20, 0, 0},
  10911. {0x43, 0, 0, 0, 0},
  10912. {0x44, 0x77, 0x77, 0, 0},
  10913. {0x45, 0x7, 0x7, 0, 0},
  10914. {0x46, 0x1, 0x1, 0, 0},
  10915. {0x47, 0x6, 0x6, 1, 1},
  10916. {0x48, 0xf, 0xf, 0, 0},
  10917. {0x49, 0x3f, 0x3f, 1, 1},
  10918. {0x4A, 0x32, 0x32, 0, 0},
  10919. {0x4B, 0x6, 0x6, 1, 1},
  10920. {0x4C, 0x6, 0x6, 1, 1},
  10921. {0x4D, 0x4, 0x4, 0, 0},
  10922. {0x4E, 0x2b, 0x2b, 1, 1},
  10923. {0x4F, 0x1, 0x1, 0, 0},
  10924. {0x50, 0x1c, 0x1c, 0, 0},
  10925. {0x51, 0x2, 0x2, 0, 0},
  10926. {0x52, 0x2, 0x2, 0, 0},
  10927. {0x53, 0xf7, 0xf7, 1, 1},
  10928. {0x54, 0xb4, 0xb4, 0, 0},
  10929. {0x55, 0xd2, 0xd2, 0, 0},
  10930. {0x56, 0, 0, 0, 0},
  10931. {0x57, 0, 0, 0, 0},
  10932. {0x58, 0x4, 0x4, 0, 0},
  10933. {0x59, 0x96, 0x96, 0, 0},
  10934. {0x5A, 0x3e, 0x3e, 0, 0},
  10935. {0x5B, 0x3e, 0x3e, 0, 0},
  10936. {0x5C, 0x13, 0x13, 0, 0},
  10937. {0x5D, 0x2, 0x2, 0, 0},
  10938. {0x5E, 0, 0, 0, 0},
  10939. {0x5F, 0x7, 0x7, 0, 0},
  10940. {0x60, 0x7, 0x7, 1, 1},
  10941. {0x61, 0x8, 0x8, 0, 0},
  10942. {0x62, 0x3, 0x3, 0, 0},
  10943. {0x63, 0, 0, 0, 0},
  10944. {0x64, 0, 0, 0, 0},
  10945. {0x65, 0, 0, 0, 0},
  10946. {0x66, 0, 0, 0, 0},
  10947. {0x67, 0, 0, 0, 0},
  10948. {0x68, 0x40, 0x40, 0, 0},
  10949. {0x69, 0, 0, 0, 0},
  10950. {0x6A, 0, 0, 0, 0},
  10951. {0x6B, 0, 0, 0, 0},
  10952. {0x6C, 0, 0, 0, 0},
  10953. {0x6D, 0x1, 0x1, 0, 0},
  10954. {0x6E, 0, 0, 0, 0},
  10955. {0x6F, 0, 0, 0, 0},
  10956. {0x70, 0x60, 0x60, 0, 0},
  10957. {0x71, 0x66, 0x66, 0, 0},
  10958. {0x72, 0xc, 0xc, 0, 0},
  10959. {0x73, 0x66, 0x66, 0, 0},
  10960. {0x74, 0x8f, 0x8f, 1, 1},
  10961. {0x75, 0, 0, 0, 0},
  10962. {0x76, 0xcc, 0xcc, 0, 0},
  10963. {0x77, 0x1, 0x1, 0, 0},
  10964. {0x78, 0x66, 0x66, 0, 0},
  10965. {0x79, 0x66, 0x66, 0, 0},
  10966. {0x7A, 0, 0, 0, 0},
  10967. {0x7B, 0, 0, 0, 0},
  10968. {0x7C, 0, 0, 0, 0},
  10969. {0x7D, 0, 0, 0, 0},
  10970. {0x7E, 0, 0, 0, 0},
  10971. {0x7F, 0, 0, 0, 0},
  10972. {0x80, 0, 0, 0, 0},
  10973. {0x81, 0, 0, 0, 0},
  10974. {0x82, 0, 0, 0, 0},
  10975. {0x83, 0, 0, 0, 0},
  10976. {0x84, 0, 0, 0, 0},
  10977. {0x85, 0xff, 0xff, 0, 0},
  10978. {0x86, 0, 0, 0, 0},
  10979. {0x87, 0, 0, 0, 0},
  10980. {0x88, 0, 0, 0, 0},
  10981. {0x89, 0, 0, 0, 0},
  10982. {0x8A, 0, 0, 0, 0},
  10983. {0x8B, 0, 0, 0, 0},
  10984. {0x8C, 0, 0, 0, 0},
  10985. {0x8D, 0, 0, 0, 0},
  10986. {0x8E, 0, 0, 0, 0},
  10987. {0x8F, 0, 0, 0, 0},
  10988. {0x90, 0, 0, 0, 0},
  10989. {0x91, 0, 0, 0, 0},
  10990. {0x92, 0, 0, 0, 0},
  10991. {0x93, 0, 0, 0, 0},
  10992. {0x94, 0, 0, 0, 0},
  10993. {0x95, 0, 0, 0, 0},
  10994. {0x96, 0, 0, 0, 0},
  10995. {0x97, 0, 0, 0, 0},
  10996. {0x98, 0, 0, 0, 0},
  10997. {0x99, 0, 0, 0, 0},
  10998. {0x9A, 0, 0, 0, 0},
  10999. {0x9B, 0, 0, 0, 0},
  11000. {0x9C, 0, 0, 0, 0},
  11001. {0x9D, 0, 0, 0, 0},
  11002. {0x9E, 0, 0, 0, 0},
  11003. {0x9F, 0x6, 0x6, 0, 0},
  11004. {0xA0, 0x66, 0x66, 0, 0},
  11005. {0xA1, 0x66, 0x66, 0, 0},
  11006. {0xA2, 0x66, 0x66, 0, 0},
  11007. {0xA3, 0x66, 0x66, 0, 0},
  11008. {0xA4, 0x66, 0x66, 0, 0},
  11009. {0xA5, 0x66, 0x66, 0, 0},
  11010. {0xA6, 0x66, 0x66, 0, 0},
  11011. {0xA7, 0x66, 0x66, 0, 0},
  11012. {0xA8, 0x66, 0x66, 0, 0},
  11013. {0xA9, 0x66, 0x66, 0, 0},
  11014. {0xAA, 0x66, 0x66, 0, 0},
  11015. {0xAB, 0x66, 0x66, 0, 0},
  11016. {0xAC, 0x66, 0x66, 0, 0},
  11017. {0xAD, 0x66, 0x66, 0, 0},
  11018. {0xAE, 0x66, 0x66, 0, 0},
  11019. {0xAF, 0x66, 0x66, 0, 0},
  11020. {0xB0, 0x66, 0x66, 0, 0},
  11021. {0xB1, 0x66, 0x66, 0, 0},
  11022. {0xB2, 0x66, 0x66, 0, 0},
  11023. {0xB3, 0xa, 0xa, 0, 0},
  11024. {0xB4, 0, 0, 0, 0},
  11025. {0xB5, 0, 0, 0, 0},
  11026. {0xB6, 0, 0, 0, 0},
  11027. {0xFFFF, 0, 0, 0, 0},
  11028. };
  11029. static const struct radio_regs regs_TX_2056_rev11[] = {
  11030. {0x02, 0, 0, 0, 0},
  11031. {0x03, 0, 0, 0, 0},
  11032. {0x04, 0, 0, 0, 0},
  11033. {0x05, 0, 0, 0, 0},
  11034. {0x06, 0, 0, 0, 0},
  11035. {0x07, 0, 0, 0, 0},
  11036. {0x08, 0, 0, 0, 0},
  11037. {0x09, 0, 0, 0, 0},
  11038. {0x0A, 0, 0, 0, 0},
  11039. {0x0B, 0, 0, 0, 0},
  11040. {0x0C, 0, 0, 0, 0},
  11041. {0x0D, 0, 0, 0, 0},
  11042. {0x0E, 0, 0, 0, 0},
  11043. {0x0F, 0, 0, 0, 0},
  11044. {0x10, 0, 0, 0, 0},
  11045. {0x11, 0, 0, 0, 0},
  11046. {0x12, 0, 0, 0, 0},
  11047. {0x13, 0, 0, 0, 0},
  11048. {0x14, 0, 0, 0, 0},
  11049. {0x15, 0, 0, 0, 0},
  11050. {0x16, 0, 0, 0, 0},
  11051. {0x17, 0, 0, 0, 0},
  11052. {0x18, 0, 0, 0, 0},
  11053. {0x19, 0, 0, 0, 0},
  11054. {0x1A, 0, 0, 0, 0},
  11055. {0x1B, 0, 0, 0, 0},
  11056. {0x1C, 0, 0, 0, 0},
  11057. {0x1D, 0, 0, 0, 0},
  11058. {0x1E, 0, 0, 0, 0},
  11059. {0x1F, 0, 0, 0, 0},
  11060. {0x20, 0, 0, 0, 0},
  11061. {0x21, 0x88, 0x88, 0, 0},
  11062. {0x22, 0x88, 0x88, 0, 0},
  11063. {0x23, 0x88, 0x88, 0, 0},
  11064. {0x24, 0x88, 0x88, 0, 0},
  11065. {0x25, 0xc, 0xc, 0, 0},
  11066. {0x26, 0, 0, 0, 0},
  11067. {0x27, 0x3, 0x3, 0, 0},
  11068. {0x28, 0, 0, 0, 0},
  11069. {0x29, 0x3, 0x3, 0, 0},
  11070. {0x2A, 0x37, 0x37, 0, 0},
  11071. {0x2B, 0x3, 0x3, 0, 0},
  11072. {0x2C, 0, 0, 0, 0},
  11073. {0x2D, 0, 0, 0, 0},
  11074. {0x2E, 0x1, 0x1, 0, 0},
  11075. {0x2F, 0x1, 0x1, 0, 0},
  11076. {0x30, 0, 0, 0, 0},
  11077. {0x31, 0, 0, 0, 0},
  11078. {0x32, 0, 0, 0, 0},
  11079. {0x33, 0x11, 0x11, 0, 0},
  11080. {0x34, 0xee, 0xee, 1, 1},
  11081. {0x35, 0, 0, 0, 0},
  11082. {0x36, 0, 0, 0, 0},
  11083. {0x37, 0x3, 0x3, 0, 0},
  11084. {0x38, 0x50, 0x50, 1, 1},
  11085. {0x39, 0, 0, 0, 0},
  11086. {0x3A, 0x50, 0x50, 1, 1},
  11087. {0x3B, 0, 0, 0, 0},
  11088. {0x3C, 0x6e, 0x6e, 0, 0},
  11089. {0x3D, 0xf0, 0xf0, 1, 1},
  11090. {0x3E, 0, 0, 0, 0},
  11091. {0x3F, 0, 0, 0, 0},
  11092. {0x40, 0, 0, 0, 0},
  11093. {0x41, 0x3, 0x3, 0, 0},
  11094. {0x42, 0x3, 0x3, 0, 0},
  11095. {0x43, 0, 0, 0, 0},
  11096. {0x44, 0x1e, 0x1e, 0, 0},
  11097. {0x45, 0, 0, 0, 0},
  11098. {0x46, 0x6e, 0x6e, 0, 0},
  11099. {0x47, 0xf0, 0xf0, 1, 1},
  11100. {0x48, 0, 0, 0, 0},
  11101. {0x49, 0x2, 0x2, 0, 0},
  11102. {0x4A, 0xff, 0xff, 1, 1},
  11103. {0x4B, 0xc, 0xc, 0, 0},
  11104. {0x4C, 0, 0, 0, 0},
  11105. {0x4D, 0x38, 0x38, 0, 0},
  11106. {0x4E, 0x70, 0x70, 1, 1},
  11107. {0x4F, 0x2, 0x2, 0, 0},
  11108. {0x50, 0x88, 0x88, 0, 0},
  11109. {0x51, 0xc, 0xc, 0, 0},
  11110. {0x52, 0, 0, 0, 0},
  11111. {0x53, 0x8, 0x8, 0, 0},
  11112. {0x54, 0x70, 0x70, 1, 1},
  11113. {0x55, 0x2, 0x2, 0, 0},
  11114. {0x56, 0xff, 0xff, 1, 1},
  11115. {0x57, 0, 0, 0, 0},
  11116. {0x58, 0x83, 0x83, 0, 0},
  11117. {0x59, 0x77, 0x77, 1, 1},
  11118. {0x5A, 0, 0, 0, 0},
  11119. {0x5B, 0x2, 0x2, 0, 0},
  11120. {0x5C, 0x88, 0x88, 0, 0},
  11121. {0x5D, 0, 0, 0, 0},
  11122. {0x5E, 0x8, 0x8, 0, 0},
  11123. {0x5F, 0x77, 0x77, 1, 1},
  11124. {0x60, 0x1, 0x1, 0, 0},
  11125. {0x61, 0, 0, 0, 0},
  11126. {0x62, 0x7, 0x7, 0, 0},
  11127. {0x63, 0, 0, 0, 0},
  11128. {0x64, 0x7, 0x7, 0, 0},
  11129. {0x65, 0, 0, 0, 0},
  11130. {0x66, 0, 0, 0, 0},
  11131. {0x67, 0, 0, 1, 1},
  11132. {0x68, 0, 0, 0, 0},
  11133. {0x69, 0xa, 0xa, 0, 0},
  11134. {0x6A, 0, 0, 0, 0},
  11135. {0x6B, 0, 0, 0, 0},
  11136. {0x6C, 0, 0, 0, 0},
  11137. {0x6D, 0, 0, 0, 0},
  11138. {0x6E, 0, 0, 0, 0},
  11139. {0x6F, 0, 0, 0, 0},
  11140. {0x70, 0, 0, 0, 0},
  11141. {0x71, 0x2, 0x2, 0, 0},
  11142. {0x72, 0, 0, 0, 0},
  11143. {0x73, 0, 0, 0, 0},
  11144. {0x74, 0xe, 0xe, 0, 0},
  11145. {0x75, 0xe, 0xe, 0, 0},
  11146. {0x76, 0xe, 0xe, 0, 0},
  11147. {0x77, 0x13, 0x13, 0, 0},
  11148. {0x78, 0x13, 0x13, 0, 0},
  11149. {0x79, 0x1b, 0x1b, 0, 0},
  11150. {0x7A, 0x1b, 0x1b, 0, 0},
  11151. {0x7B, 0x55, 0x55, 0, 0},
  11152. {0x7C, 0x5b, 0x5b, 0, 0},
  11153. {0x7D, 0x30, 0x30, 1, 1},
  11154. {0x7E, 0, 0, 0, 0},
  11155. {0x7F, 0, 0, 0, 0},
  11156. {0x80, 0, 0, 0, 0},
  11157. {0x81, 0, 0, 0, 0},
  11158. {0x82, 0, 0, 0, 0},
  11159. {0x83, 0, 0, 0, 0},
  11160. {0x84, 0, 0, 0, 0},
  11161. {0x85, 0, 0, 0, 0},
  11162. {0x86, 0, 0, 0, 0},
  11163. {0x87, 0, 0, 0, 0},
  11164. {0x88, 0, 0, 0, 0},
  11165. {0x89, 0, 0, 0, 0},
  11166. {0x8A, 0, 0, 0, 0},
  11167. {0x8B, 0, 0, 0, 0},
  11168. {0x8C, 0, 0, 0, 0},
  11169. {0x8D, 0, 0, 0, 0},
  11170. {0x8E, 0, 0, 0, 0},
  11171. {0x8F, 0, 0, 0, 0},
  11172. {0x90, 0, 0, 0, 0},
  11173. {0x91, 0, 0, 0, 0},
  11174. {0x92, 0, 0, 0, 0},
  11175. {0x93, 0x70, 0x70, 0, 0},
  11176. {0x94, 0x70, 0x70, 0, 0},
  11177. {0x95, 0x70, 0x70, 0, 0},
  11178. {0x96, 0x70, 0x70, 0, 0},
  11179. {0x97, 0x70, 0x70, 0, 0},
  11180. {0x98, 0x70, 0x70, 0, 0},
  11181. {0x99, 0x70, 0x70, 0, 0},
  11182. {0x9A, 0x70, 0x70, 0, 0},
  11183. {0xFFFF, 0, 0, 0, 0},
  11184. };
  11185. static const struct radio_regs regs_RX_2056_rev11[] = {
  11186. {0x02, 0, 0, 0, 0},
  11187. {0x03, 0, 0, 0, 0},
  11188. {0x04, 0, 0, 0, 0},
  11189. {0x05, 0, 0, 0, 0},
  11190. {0x06, 0, 0, 0, 0},
  11191. {0x07, 0, 0, 0, 0},
  11192. {0x08, 0, 0, 0, 0},
  11193. {0x09, 0, 0, 0, 0},
  11194. {0x0A, 0, 0, 0, 0},
  11195. {0x0B, 0, 0, 0, 0},
  11196. {0x0C, 0, 0, 0, 0},
  11197. {0x0D, 0, 0, 0, 0},
  11198. {0x0E, 0, 0, 0, 0},
  11199. {0x0F, 0, 0, 0, 0},
  11200. {0x10, 0, 0, 0, 0},
  11201. {0x11, 0, 0, 0, 0},
  11202. {0x12, 0, 0, 0, 0},
  11203. {0x13, 0, 0, 0, 0},
  11204. {0x14, 0, 0, 0, 0},
  11205. {0x15, 0, 0, 0, 0},
  11206. {0x16, 0, 0, 0, 0},
  11207. {0x17, 0, 0, 0, 0},
  11208. {0x18, 0, 0, 0, 0},
  11209. {0x19, 0, 0, 0, 0},
  11210. {0x1A, 0, 0, 0, 0},
  11211. {0x1B, 0, 0, 0, 0},
  11212. {0x1C, 0, 0, 0, 0},
  11213. {0x1D, 0, 0, 0, 0},
  11214. {0x1E, 0, 0, 0, 0},
  11215. {0x1F, 0, 0, 0, 0},
  11216. {0x20, 0x3, 0x3, 0, 0},
  11217. {0x21, 0, 0, 0, 0},
  11218. {0x22, 0, 0, 0, 0},
  11219. {0x23, 0x90, 0x90, 0, 0},
  11220. {0x24, 0x55, 0x55, 0, 0},
  11221. {0x25, 0x15, 0x15, 0, 0},
  11222. {0x26, 0x5, 0x5, 0, 0},
  11223. {0x27, 0x15, 0x15, 0, 0},
  11224. {0x28, 0x5, 0x5, 0, 0},
  11225. {0x29, 0x20, 0x20, 0, 0},
  11226. {0x2A, 0x11, 0x11, 0, 0},
  11227. {0x2B, 0x90, 0x90, 0, 0},
  11228. {0x2C, 0, 0, 0, 0},
  11229. {0x2D, 0x88, 0x88, 0, 0},
  11230. {0x2E, 0x32, 0x32, 0, 0},
  11231. {0x2F, 0x77, 0x77, 0, 0},
  11232. {0x30, 0x17, 0x17, 1, 1},
  11233. {0x31, 0xff, 0xff, 1, 1},
  11234. {0x32, 0x20, 0x20, 0, 0},
  11235. {0x33, 0, 0, 0, 0},
  11236. {0x34, 0x88, 0x88, 0, 0},
  11237. {0x35, 0x32, 0x32, 0, 0},
  11238. {0x36, 0x77, 0x77, 0, 0},
  11239. {0x37, 0x17, 0x17, 1, 1},
  11240. {0x38, 0xf0, 0xf0, 1, 1},
  11241. {0x39, 0x20, 0x20, 0, 0},
  11242. {0x3A, 0x8, 0x8, 0, 0},
  11243. {0x3B, 0x55, 0x55, 1, 1},
  11244. {0x3C, 0, 0, 0, 0},
  11245. {0x3D, 0x88, 0x88, 1, 1},
  11246. {0x3E, 0, 0, 0, 0},
  11247. {0x3F, 0x44, 0x44, 0, 0},
  11248. {0x40, 0x7, 0x7, 1, 1},
  11249. {0x41, 0x6, 0x6, 0, 0},
  11250. {0x42, 0x4, 0x4, 0, 0},
  11251. {0x43, 0, 0, 0, 0},
  11252. {0x44, 0x8, 0x8, 0, 0},
  11253. {0x45, 0x55, 0x55, 1, 1},
  11254. {0x46, 0, 0, 0, 0},
  11255. {0x47, 0x11, 0x11, 0, 0},
  11256. {0x48, 0, 0, 0, 0},
  11257. {0x49, 0x44, 0x44, 0, 0},
  11258. {0x4A, 0x7, 0x7, 0, 0},
  11259. {0x4B, 0x6, 0x6, 0, 0},
  11260. {0x4C, 0x4, 0x4, 0, 0},
  11261. {0x4D, 0, 0, 0, 0},
  11262. {0x4E, 0, 0, 0, 0},
  11263. {0x4F, 0x26, 0x26, 1, 1},
  11264. {0x50, 0x26, 0x26, 1, 1},
  11265. {0x51, 0xf, 0xf, 1, 1},
  11266. {0x52, 0xf, 0xf, 1, 1},
  11267. {0x53, 0x44, 0x44, 0, 0},
  11268. {0x54, 0, 0, 0, 0},
  11269. {0x55, 0, 0, 0, 0},
  11270. {0x56, 0x8, 0x8, 0, 0},
  11271. {0x57, 0x8, 0x8, 0, 0},
  11272. {0x58, 0x7, 0x7, 0, 0},
  11273. {0x59, 0x22, 0x22, 0, 0},
  11274. {0x5A, 0x22, 0x22, 0, 0},
  11275. {0x5B, 0x2, 0x2, 0, 0},
  11276. {0x5C, 0x4, 0x4, 1, 1},
  11277. {0x5D, 0x7, 0x7, 0, 0},
  11278. {0x5E, 0x55, 0x55, 0, 0},
  11279. {0x5F, 0x23, 0x23, 0, 0},
  11280. {0x60, 0x41, 0x41, 0, 0},
  11281. {0x61, 0x1, 0x1, 0, 0},
  11282. {0x62, 0xa, 0xa, 0, 0},
  11283. {0x63, 0, 0, 0, 0},
  11284. {0x64, 0, 0, 0, 0},
  11285. {0x65, 0, 0, 0, 0},
  11286. {0x66, 0, 0, 0, 0},
  11287. {0x67, 0, 0, 0, 0},
  11288. {0x68, 0, 0, 0, 0},
  11289. {0x69, 0, 0, 0, 0},
  11290. {0x6A, 0, 0, 0, 0},
  11291. {0x6B, 0xc, 0xc, 0, 0},
  11292. {0x6C, 0, 0, 0, 0},
  11293. {0x6D, 0, 0, 0, 0},
  11294. {0x6E, 0, 0, 0, 0},
  11295. {0x6F, 0, 0, 0, 0},
  11296. {0x70, 0, 0, 0, 0},
  11297. {0x71, 0, 0, 0, 0},
  11298. {0x72, 0x22, 0x22, 0, 0},
  11299. {0x73, 0x22, 0x22, 0, 0},
  11300. {0x74, 0, 0, 1, 1},
  11301. {0x75, 0xa, 0xa, 0, 0},
  11302. {0x76, 0x1, 0x1, 0, 0},
  11303. {0x77, 0x22, 0x22, 0, 0},
  11304. {0x78, 0x30, 0x30, 0, 0},
  11305. {0x79, 0, 0, 0, 0},
  11306. {0x7A, 0, 0, 0, 0},
  11307. {0x7B, 0, 0, 0, 0},
  11308. {0x7C, 0, 0, 0, 0},
  11309. {0x7D, 0x5, 0x5, 1, 1},
  11310. {0x7E, 0, 0, 0, 0},
  11311. {0x7F, 0, 0, 0, 0},
  11312. {0x80, 0, 0, 0, 0},
  11313. {0x81, 0, 0, 0, 0},
  11314. {0x82, 0, 0, 0, 0},
  11315. {0x83, 0, 0, 0, 0},
  11316. {0x84, 0, 0, 0, 0},
  11317. {0x85, 0, 0, 0, 0},
  11318. {0x86, 0, 0, 0, 0},
  11319. {0x87, 0, 0, 0, 0},
  11320. {0x88, 0, 0, 0, 0},
  11321. {0x89, 0, 0, 0, 0},
  11322. {0x8A, 0, 0, 0, 0},
  11323. {0x8B, 0, 0, 0, 0},
  11324. {0x8C, 0, 0, 0, 0},
  11325. {0x8D, 0, 0, 0, 0},
  11326. {0x8E, 0, 0, 0, 0},
  11327. {0x8F, 0, 0, 0, 0},
  11328. {0x90, 0, 0, 0, 0},
  11329. {0x91, 0, 0, 0, 0},
  11330. {0x92, 0, 0, 0, 0},
  11331. {0x93, 0, 0, 0, 0},
  11332. {0x94, 0, 0, 0, 0},
  11333. {0xFFFF, 0, 0, 0, 0},
  11334. };
  11335. static struct radio_20xx_regs regs_2057_rev4[] = {
  11336. {0x00, 0x84, 0},
  11337. {0x01, 0, 0},
  11338. {0x02, 0x60, 0},
  11339. {0x03, 0x1f, 0},
  11340. {0x04, 0x4, 0},
  11341. {0x05, 0x2, 0},
  11342. {0x06, 0x1, 0},
  11343. {0x07, 0x1, 0},
  11344. {0x08, 0x1, 0},
  11345. {0x09, 0x69, 0},
  11346. {0x0A, 0x66, 0},
  11347. {0x0B, 0x6, 0},
  11348. {0x0C, 0x18, 0},
  11349. {0x0D, 0x3, 0},
  11350. {0x0E, 0x20, 1},
  11351. {0x0F, 0x20, 0},
  11352. {0x10, 0, 0},
  11353. {0x11, 0x7c, 0},
  11354. {0x12, 0x42, 0},
  11355. {0x13, 0xbd, 0},
  11356. {0x14, 0x7, 0},
  11357. {0x15, 0xf7, 0},
  11358. {0x16, 0x8, 0},
  11359. {0x17, 0x17, 0},
  11360. {0x18, 0x7, 0},
  11361. {0x19, 0, 0},
  11362. {0x1A, 0x2, 0},
  11363. {0x1B, 0x13, 0},
  11364. {0x1C, 0x3e, 0},
  11365. {0x1D, 0x3e, 0},
  11366. {0x1E, 0x96, 0},
  11367. {0x1F, 0x4, 0},
  11368. {0x20, 0, 0},
  11369. {0x21, 0, 0},
  11370. {0x22, 0x17, 0},
  11371. {0x23, 0x4, 0},
  11372. {0x24, 0x1, 0},
  11373. {0x25, 0x6, 0},
  11374. {0x26, 0x4, 0},
  11375. {0x27, 0xd, 0},
  11376. {0x28, 0xd, 0},
  11377. {0x29, 0x30, 0},
  11378. {0x2A, 0x32, 0},
  11379. {0x2B, 0x8, 0},
  11380. {0x2C, 0x1c, 0},
  11381. {0x2D, 0x2, 0},
  11382. {0x2E, 0x4, 0},
  11383. {0x2F, 0x7f, 0},
  11384. {0x30, 0x27, 0},
  11385. {0x31, 0, 1},
  11386. {0x32, 0, 1},
  11387. {0x33, 0, 1},
  11388. {0x34, 0, 0},
  11389. {0x35, 0x26, 1},
  11390. {0x36, 0x18, 0},
  11391. {0x37, 0x7, 0},
  11392. {0x38, 0x66, 0},
  11393. {0x39, 0x66, 0},
  11394. {0x3A, 0x66, 0},
  11395. {0x3B, 0x66, 0},
  11396. {0x3C, 0xff, 1},
  11397. {0x3D, 0xff, 1},
  11398. {0x3E, 0xff, 1},
  11399. {0x3F, 0xff, 1},
  11400. {0x40, 0x16, 0},
  11401. {0x41, 0x7, 0},
  11402. {0x42, 0x19, 0},
  11403. {0x43, 0x7, 0},
  11404. {0x44, 0x6, 0},
  11405. {0x45, 0x3, 0},
  11406. {0x46, 0x1, 0},
  11407. {0x47, 0x7, 0},
  11408. {0x48, 0x33, 0},
  11409. {0x49, 0x5, 0},
  11410. {0x4A, 0x77, 0},
  11411. {0x4B, 0x66, 0},
  11412. {0x4C, 0x66, 0},
  11413. {0x4D, 0, 0},
  11414. {0x4E, 0x4, 0},
  11415. {0x4F, 0xc, 0},
  11416. {0x50, 0, 0},
  11417. {0x51, 0x75, 0},
  11418. {0x56, 0x7, 0},
  11419. {0x57, 0, 0},
  11420. {0x58, 0, 0},
  11421. {0x59, 0xa8, 0},
  11422. {0x5A, 0, 0},
  11423. {0x5B, 0x1f, 0},
  11424. {0x5C, 0x30, 0},
  11425. {0x5D, 0x1, 0},
  11426. {0x5E, 0x30, 0},
  11427. {0x5F, 0x70, 0},
  11428. {0x60, 0, 0},
  11429. {0x61, 0, 0},
  11430. {0x62, 0x33, 1},
  11431. {0x63, 0x19, 0},
  11432. {0x64, 0x62, 0},
  11433. {0x65, 0, 0},
  11434. {0x66, 0x11, 0},
  11435. {0x69, 0, 0},
  11436. {0x6A, 0x7e, 0},
  11437. {0x6B, 0x3f, 0},
  11438. {0x6C, 0x7f, 0},
  11439. {0x6D, 0x78, 0},
  11440. {0x6E, 0xc8, 0},
  11441. {0x6F, 0x88, 0},
  11442. {0x70, 0x8, 0},
  11443. {0x71, 0xf, 0},
  11444. {0x72, 0xbc, 0},
  11445. {0x73, 0x8, 0},
  11446. {0x74, 0x60, 0},
  11447. {0x75, 0x1e, 0},
  11448. {0x76, 0x70, 0},
  11449. {0x77, 0, 0},
  11450. {0x78, 0, 0},
  11451. {0x79, 0, 0},
  11452. {0x7A, 0x33, 0},
  11453. {0x7B, 0x1e, 0},
  11454. {0x7C, 0x62, 0},
  11455. {0x7D, 0x11, 0},
  11456. {0x80, 0x3c, 0},
  11457. {0x81, 0x9c, 0},
  11458. {0x82, 0xa, 0},
  11459. {0x83, 0x9d, 0},
  11460. {0x84, 0xa, 0},
  11461. {0x85, 0, 0},
  11462. {0x86, 0x40, 0},
  11463. {0x87, 0x40, 0},
  11464. {0x88, 0x88, 0},
  11465. {0x89, 0x10, 0},
  11466. {0x8A, 0xf0, 1},
  11467. {0x8B, 0x10, 1},
  11468. {0x8C, 0xf0, 1},
  11469. {0x8D, 0, 0},
  11470. {0x8E, 0, 0},
  11471. {0x8F, 0x10, 0},
  11472. {0x90, 0x55, 0},
  11473. {0x91, 0x3f, 1},
  11474. {0x92, 0x36, 1},
  11475. {0x93, 0, 0},
  11476. {0x94, 0, 0},
  11477. {0x95, 0, 0},
  11478. {0x96, 0x87, 0},
  11479. {0x97, 0x11, 0},
  11480. {0x98, 0, 0},
  11481. {0x99, 0x33, 0},
  11482. {0x9A, 0x88, 0},
  11483. {0x9B, 0, 0},
  11484. {0x9C, 0x87, 0},
  11485. {0x9D, 0x11, 0},
  11486. {0x9E, 0, 0},
  11487. {0x9F, 0x33, 0},
  11488. {0xA0, 0x88, 0},
  11489. {0xA1, 0xe1, 0},
  11490. {0xA2, 0x3f, 0},
  11491. {0xA3, 0x44, 0},
  11492. {0xA4, 0x8c, 1},
  11493. {0xA5, 0x6d, 0},
  11494. {0xA6, 0x22, 0},
  11495. {0xA7, 0xbe, 0},
  11496. {0xA8, 0x55, 1},
  11497. {0xA9, 0xc, 0},
  11498. {0xAA, 0xc, 0},
  11499. {0xAB, 0xaa, 0},
  11500. {0xAC, 0x2, 0},
  11501. {0xAD, 0, 0},
  11502. {0xAE, 0x10, 0},
  11503. {0xAF, 0x1, 1},
  11504. {0xB0, 0, 0},
  11505. {0xB1, 0, 0},
  11506. {0xB2, 0x80, 0},
  11507. {0xB3, 0x60, 0},
  11508. {0xB4, 0x44, 0},
  11509. {0xB5, 0x55, 0},
  11510. {0xB6, 0x1, 0},
  11511. {0xB7, 0x55, 0},
  11512. {0xB8, 0x1, 0},
  11513. {0xB9, 0x5, 0},
  11514. {0xBA, 0x55, 0},
  11515. {0xBB, 0x55, 0},
  11516. {0xC1, 0, 0},
  11517. {0xC2, 0, 0},
  11518. {0xC3, 0, 0},
  11519. {0xC4, 0, 0},
  11520. {0xC5, 0, 0},
  11521. {0xC6, 0, 0},
  11522. {0xC7, 0, 0},
  11523. {0xC8, 0, 0},
  11524. {0xC9, 0, 0},
  11525. {0xCA, 0, 0},
  11526. {0xCB, 0, 0},
  11527. {0xCC, 0, 0},
  11528. {0xCD, 0, 0},
  11529. {0xCE, 0x5e, 0},
  11530. {0xCF, 0xc, 0},
  11531. {0xD0, 0xc, 0},
  11532. {0xD1, 0xc, 0},
  11533. {0xD2, 0, 0},
  11534. {0xD3, 0x2b, 0},
  11535. {0xD4, 0xc, 0},
  11536. {0xD5, 0, 0},
  11537. {0xD6, 0x75, 0},
  11538. {0xDB, 0x7, 0},
  11539. {0xDC, 0, 0},
  11540. {0xDD, 0, 0},
  11541. {0xDE, 0xa8, 0},
  11542. {0xDF, 0, 0},
  11543. {0xE0, 0x1f, 0},
  11544. {0xE1, 0x30, 0},
  11545. {0xE2, 0x1, 0},
  11546. {0xE3, 0x30, 0},
  11547. {0xE4, 0x70, 0},
  11548. {0xE5, 0, 0},
  11549. {0xE6, 0, 0},
  11550. {0xE7, 0x33, 0},
  11551. {0xE8, 0x19, 0},
  11552. {0xE9, 0x62, 0},
  11553. {0xEA, 0, 0},
  11554. {0xEB, 0x11, 0},
  11555. {0xEE, 0, 0},
  11556. {0xEF, 0x7e, 0},
  11557. {0xF0, 0x3f, 0},
  11558. {0xF1, 0x7f, 0},
  11559. {0xF2, 0x78, 0},
  11560. {0xF3, 0xc8, 0},
  11561. {0xF4, 0x88, 0},
  11562. {0xF5, 0x8, 0},
  11563. {0xF6, 0xf, 0},
  11564. {0xF7, 0xbc, 0},
  11565. {0xF8, 0x8, 0},
  11566. {0xF9, 0x60, 0},
  11567. {0xFA, 0x1e, 0},
  11568. {0xFB, 0x70, 0},
  11569. {0xFC, 0, 0},
  11570. {0xFD, 0, 0},
  11571. {0xFE, 0, 0},
  11572. {0xFF, 0x33, 0},
  11573. {0x100, 0x1e, 0},
  11574. {0x101, 0x62, 0},
  11575. {0x102, 0x11, 0},
  11576. {0x105, 0x3c, 0},
  11577. {0x106, 0x9c, 0},
  11578. {0x107, 0xa, 0},
  11579. {0x108, 0x9d, 0},
  11580. {0x109, 0xa, 0},
  11581. {0x10A, 0, 0},
  11582. {0x10B, 0x40, 0},
  11583. {0x10C, 0x40, 0},
  11584. {0x10D, 0x88, 0},
  11585. {0x10E, 0x10, 0},
  11586. {0x10F, 0xf0, 1},
  11587. {0x110, 0x10, 1},
  11588. {0x111, 0xf0, 1},
  11589. {0x112, 0, 0},
  11590. {0x113, 0, 0},
  11591. {0x114, 0x10, 0},
  11592. {0x115, 0x55, 0},
  11593. {0x116, 0x3f, 1},
  11594. {0x117, 0x36, 1},
  11595. {0x118, 0, 0},
  11596. {0x119, 0, 0},
  11597. {0x11A, 0, 0},
  11598. {0x11B, 0x87, 0},
  11599. {0x11C, 0x11, 0},
  11600. {0x11D, 0, 0},
  11601. {0x11E, 0x33, 0},
  11602. {0x11F, 0x88, 0},
  11603. {0x120, 0, 0},
  11604. {0x121, 0x87, 0},
  11605. {0x122, 0x11, 0},
  11606. {0x123, 0, 0},
  11607. {0x124, 0x33, 0},
  11608. {0x125, 0x88, 0},
  11609. {0x126, 0xe1, 0},
  11610. {0x127, 0x3f, 0},
  11611. {0x128, 0x44, 0},
  11612. {0x129, 0x8c, 1},
  11613. {0x12A, 0x6d, 0},
  11614. {0x12B, 0x22, 0},
  11615. {0x12C, 0xbe, 0},
  11616. {0x12D, 0x55, 1},
  11617. {0x12E, 0xc, 0},
  11618. {0x12F, 0xc, 0},
  11619. {0x130, 0xaa, 0},
  11620. {0x131, 0x2, 0},
  11621. {0x132, 0, 0},
  11622. {0x133, 0x10, 0},
  11623. {0x134, 0x1, 1},
  11624. {0x135, 0, 0},
  11625. {0x136, 0, 0},
  11626. {0x137, 0x80, 0},
  11627. {0x138, 0x60, 0},
  11628. {0x139, 0x44, 0},
  11629. {0x13A, 0x55, 0},
  11630. {0x13B, 0x1, 0},
  11631. {0x13C, 0x55, 0},
  11632. {0x13D, 0x1, 0},
  11633. {0x13E, 0x5, 0},
  11634. {0x13F, 0x55, 0},
  11635. {0x140, 0x55, 0},
  11636. {0x146, 0, 0},
  11637. {0x147, 0, 0},
  11638. {0x148, 0, 0},
  11639. {0x149, 0, 0},
  11640. {0x14A, 0, 0},
  11641. {0x14B, 0, 0},
  11642. {0x14C, 0, 0},
  11643. {0x14D, 0, 0},
  11644. {0x14E, 0, 0},
  11645. {0x14F, 0, 0},
  11646. {0x150, 0, 0},
  11647. {0x151, 0, 0},
  11648. {0x152, 0, 0},
  11649. {0x153, 0, 0},
  11650. {0x154, 0xc, 0},
  11651. {0x155, 0xc, 0},
  11652. {0x156, 0xc, 0},
  11653. {0x157, 0, 0},
  11654. {0x158, 0x2b, 0},
  11655. {0x159, 0x84, 0},
  11656. {0x15A, 0x15, 0},
  11657. {0x15B, 0xf, 0},
  11658. {0x15C, 0, 0},
  11659. {0x15D, 0, 0},
  11660. {0x15E, 0, 1},
  11661. {0x15F, 0, 1},
  11662. {0x160, 0, 1},
  11663. {0x161, 0, 1},
  11664. {0x162, 0, 1},
  11665. {0x163, 0, 1},
  11666. {0x164, 0, 0},
  11667. {0x165, 0, 0},
  11668. {0x166, 0, 0},
  11669. {0x167, 0, 0},
  11670. {0x168, 0, 0},
  11671. {0x169, 0x2, 1},
  11672. {0x16A, 0, 1},
  11673. {0x16B, 0, 1},
  11674. {0x16C, 0, 1},
  11675. {0x16D, 0, 0},
  11676. {0x170, 0, 0},
  11677. {0x171, 0x77, 0},
  11678. {0x172, 0x77, 0},
  11679. {0x173, 0x77, 0},
  11680. {0x174, 0x77, 0},
  11681. {0x175, 0, 0},
  11682. {0x176, 0x3, 0},
  11683. {0x177, 0x37, 0},
  11684. {0x178, 0x3, 0},
  11685. {0x179, 0, 0},
  11686. {0x17A, 0x21, 0},
  11687. {0x17B, 0x21, 0},
  11688. {0x17C, 0, 0},
  11689. {0x17D, 0xaa, 0},
  11690. {0x17E, 0, 0},
  11691. {0x17F, 0xaa, 0},
  11692. {0x180, 0, 0},
  11693. {0x190, 0, 0},
  11694. {0x191, 0x77, 0},
  11695. {0x192, 0x77, 0},
  11696. {0x193, 0x77, 0},
  11697. {0x194, 0x77, 0},
  11698. {0x195, 0, 0},
  11699. {0x196, 0x3, 0},
  11700. {0x197, 0x37, 0},
  11701. {0x198, 0x3, 0},
  11702. {0x199, 0, 0},
  11703. {0x19A, 0x21, 0},
  11704. {0x19B, 0x21, 0},
  11705. {0x19C, 0, 0},
  11706. {0x19D, 0xaa, 0},
  11707. {0x19E, 0, 0},
  11708. {0x19F, 0xaa, 0},
  11709. {0x1A0, 0, 0},
  11710. {0x1A1, 0x2, 0},
  11711. {0x1A2, 0xf, 0},
  11712. {0x1A3, 0xf, 0},
  11713. {0x1A4, 0, 1},
  11714. {0x1A5, 0, 1},
  11715. {0x1A6, 0, 1},
  11716. {0x1A7, 0x2, 0},
  11717. {0x1A8, 0xf, 0},
  11718. {0x1A9, 0xf, 0},
  11719. {0x1AA, 0, 1},
  11720. {0x1AB, 0, 1},
  11721. {0x1AC, 0, 1},
  11722. {0xFFFF, 0, 0},
  11723. };
  11724. static struct radio_20xx_regs regs_2057_rev5[] = {
  11725. {0x00, 0, 1},
  11726. {0x01, 0x57, 1},
  11727. {0x02, 0x20, 1},
  11728. {0x03, 0x1f, 0},
  11729. {0x04, 0x4, 0},
  11730. {0x05, 0x2, 0},
  11731. {0x06, 0x1, 0},
  11732. {0x07, 0x1, 0},
  11733. {0x08, 0x1, 0},
  11734. {0x09, 0x69, 0},
  11735. {0x0A, 0x66, 0},
  11736. {0x0B, 0x6, 0},
  11737. {0x0C, 0x18, 0},
  11738. {0x0D, 0x3, 0},
  11739. {0x0E, 0x20, 0},
  11740. {0x0F, 0x20, 0},
  11741. {0x10, 0, 0},
  11742. {0x11, 0x7c, 0},
  11743. {0x12, 0x42, 0},
  11744. {0x13, 0xbd, 0},
  11745. {0x14, 0x7, 0},
  11746. {0x15, 0x87, 0},
  11747. {0x16, 0x8, 0},
  11748. {0x17, 0x17, 0},
  11749. {0x18, 0x7, 0},
  11750. {0x19, 0, 0},
  11751. {0x1A, 0x2, 0},
  11752. {0x1B, 0x13, 0},
  11753. {0x1C, 0x3e, 0},
  11754. {0x1D, 0x3e, 0},
  11755. {0x1E, 0x96, 0},
  11756. {0x1F, 0x4, 0},
  11757. {0x20, 0, 0},
  11758. {0x21, 0, 0},
  11759. {0x22, 0x17, 0},
  11760. {0x23, 0x6, 1},
  11761. {0x24, 0x1, 0},
  11762. {0x25, 0x6, 0},
  11763. {0x26, 0x4, 0},
  11764. {0x27, 0xd, 0},
  11765. {0x28, 0xd, 0},
  11766. {0x29, 0x30, 0},
  11767. {0x2A, 0x32, 0},
  11768. {0x2B, 0x8, 0},
  11769. {0x2C, 0x1c, 0},
  11770. {0x2D, 0x2, 0},
  11771. {0x2E, 0x4, 0},
  11772. {0x2F, 0x7f, 0},
  11773. {0x30, 0x27, 0},
  11774. {0x31, 0, 1},
  11775. {0x32, 0, 1},
  11776. {0x33, 0, 1},
  11777. {0x34, 0, 0},
  11778. {0x35, 0x20, 0},
  11779. {0x36, 0x18, 0},
  11780. {0x37, 0x7, 0},
  11781. {0x38, 0x66, 0},
  11782. {0x39, 0x66, 0},
  11783. {0x3C, 0xff, 0},
  11784. {0x3D, 0xff, 0},
  11785. {0x40, 0x16, 0},
  11786. {0x41, 0x7, 0},
  11787. {0x45, 0x3, 0},
  11788. {0x46, 0x1, 0},
  11789. {0x47, 0x7, 0},
  11790. {0x4B, 0x66, 0},
  11791. {0x4C, 0x66, 0},
  11792. {0x4D, 0, 0},
  11793. {0x4E, 0x4, 0},
  11794. {0x4F, 0xc, 0},
  11795. {0x50, 0, 0},
  11796. {0x51, 0x70, 1},
  11797. {0x56, 0x7, 0},
  11798. {0x57, 0, 0},
  11799. {0x58, 0, 0},
  11800. {0x59, 0x88, 1},
  11801. {0x5A, 0, 0},
  11802. {0x5B, 0x1f, 0},
  11803. {0x5C, 0x20, 1},
  11804. {0x5D, 0x1, 0},
  11805. {0x5E, 0x30, 0},
  11806. {0x5F, 0x70, 0},
  11807. {0x60, 0, 0},
  11808. {0x61, 0, 0},
  11809. {0x62, 0x33, 1},
  11810. {0x63, 0xf, 1},
  11811. {0x64, 0xf, 1},
  11812. {0x65, 0, 0},
  11813. {0x66, 0x11, 0},
  11814. {0x80, 0x3c, 0},
  11815. {0x81, 0x1, 1},
  11816. {0x82, 0xa, 0},
  11817. {0x85, 0, 0},
  11818. {0x86, 0x40, 0},
  11819. {0x87, 0x40, 0},
  11820. {0x88, 0x88, 0},
  11821. {0x89, 0x10, 0},
  11822. {0x8A, 0xf0, 0},
  11823. {0x8B, 0x10, 0},
  11824. {0x8C, 0xf0, 0},
  11825. {0x8F, 0x10, 0},
  11826. {0x90, 0x55, 0},
  11827. {0x91, 0x3f, 1},
  11828. {0x92, 0x36, 1},
  11829. {0x93, 0, 0},
  11830. {0x94, 0, 0},
  11831. {0x95, 0, 0},
  11832. {0x96, 0x87, 0},
  11833. {0x97, 0x11, 0},
  11834. {0x98, 0, 0},
  11835. {0x99, 0x33, 0},
  11836. {0x9A, 0x88, 0},
  11837. {0xA1, 0x20, 1},
  11838. {0xA2, 0x3f, 0},
  11839. {0xA3, 0x44, 0},
  11840. {0xA4, 0x8c, 0},
  11841. {0xA5, 0x6c, 0},
  11842. {0xA6, 0x22, 0},
  11843. {0xA7, 0xbe, 0},
  11844. {0xA8, 0x55, 0},
  11845. {0xAA, 0xc, 0},
  11846. {0xAB, 0xaa, 0},
  11847. {0xAC, 0x2, 0},
  11848. {0xAD, 0, 0},
  11849. {0xAE, 0x10, 0},
  11850. {0xAF, 0x1, 0},
  11851. {0xB0, 0, 0},
  11852. {0xB1, 0, 0},
  11853. {0xB2, 0x80, 0},
  11854. {0xB3, 0x60, 0},
  11855. {0xB4, 0x44, 0},
  11856. {0xB5, 0x55, 0},
  11857. {0xB6, 0x1, 0},
  11858. {0xB7, 0x55, 0},
  11859. {0xB8, 0x1, 0},
  11860. {0xB9, 0x5, 0},
  11861. {0xBA, 0x55, 0},
  11862. {0xBB, 0x55, 0},
  11863. {0xC3, 0, 0},
  11864. {0xC4, 0, 0},
  11865. {0xC5, 0, 0},
  11866. {0xC6, 0, 0},
  11867. {0xC7, 0, 0},
  11868. {0xC8, 0, 0},
  11869. {0xC9, 0, 0},
  11870. {0xCA, 0, 0},
  11871. {0xCB, 0, 0},
  11872. {0xCD, 0, 0},
  11873. {0xCE, 0x5e, 0},
  11874. {0xCF, 0xc, 0},
  11875. {0xD0, 0xc, 0},
  11876. {0xD1, 0xc, 0},
  11877. {0xD2, 0, 0},
  11878. {0xD3, 0x2b, 0},
  11879. {0xD4, 0xc, 0},
  11880. {0xD5, 0, 0},
  11881. {0xD6, 0x70, 1},
  11882. {0xDB, 0x7, 0},
  11883. {0xDC, 0, 0},
  11884. {0xDD, 0, 0},
  11885. {0xDE, 0x88, 1},
  11886. {0xDF, 0, 0},
  11887. {0xE0, 0x1f, 0},
  11888. {0xE1, 0x20, 1},
  11889. {0xE2, 0x1, 0},
  11890. {0xE3, 0x30, 0},
  11891. {0xE4, 0x70, 0},
  11892. {0xE5, 0, 0},
  11893. {0xE6, 0, 0},
  11894. {0xE7, 0x33, 0},
  11895. {0xE8, 0xf, 1},
  11896. {0xE9, 0xf, 1},
  11897. {0xEA, 0, 0},
  11898. {0xEB, 0x11, 0},
  11899. {0x105, 0x3c, 0},
  11900. {0x106, 0x1, 1},
  11901. {0x107, 0xa, 0},
  11902. {0x10A, 0, 0},
  11903. {0x10B, 0x40, 0},
  11904. {0x10C, 0x40, 0},
  11905. {0x10D, 0x88, 0},
  11906. {0x10E, 0x10, 0},
  11907. {0x10F, 0xf0, 0},
  11908. {0x110, 0x10, 0},
  11909. {0x111, 0xf0, 0},
  11910. {0x114, 0x10, 0},
  11911. {0x115, 0x55, 0},
  11912. {0x116, 0x3f, 1},
  11913. {0x117, 0x36, 1},
  11914. {0x118, 0, 0},
  11915. {0x119, 0, 0},
  11916. {0x11A, 0, 0},
  11917. {0x11B, 0x87, 0},
  11918. {0x11C, 0x11, 0},
  11919. {0x11D, 0, 0},
  11920. {0x11E, 0x33, 0},
  11921. {0x11F, 0x88, 0},
  11922. {0x126, 0x20, 1},
  11923. {0x127, 0x3f, 0},
  11924. {0x128, 0x44, 0},
  11925. {0x129, 0x8c, 0},
  11926. {0x12A, 0x6c, 0},
  11927. {0x12B, 0x22, 0},
  11928. {0x12C, 0xbe, 0},
  11929. {0x12D, 0x55, 0},
  11930. {0x12F, 0xc, 0},
  11931. {0x130, 0xaa, 0},
  11932. {0x131, 0x2, 0},
  11933. {0x132, 0, 0},
  11934. {0x133, 0x10, 0},
  11935. {0x134, 0x1, 0},
  11936. {0x135, 0, 0},
  11937. {0x136, 0, 0},
  11938. {0x137, 0x80, 0},
  11939. {0x138, 0x60, 0},
  11940. {0x139, 0x44, 0},
  11941. {0x13A, 0x55, 0},
  11942. {0x13B, 0x1, 0},
  11943. {0x13C, 0x55, 0},
  11944. {0x13D, 0x1, 0},
  11945. {0x13E, 0x5, 0},
  11946. {0x13F, 0x55, 0},
  11947. {0x140, 0x55, 0},
  11948. {0x148, 0, 0},
  11949. {0x149, 0, 0},
  11950. {0x14A, 0, 0},
  11951. {0x14B, 0, 0},
  11952. {0x14C, 0, 0},
  11953. {0x14D, 0, 0},
  11954. {0x14E, 0, 0},
  11955. {0x14F, 0, 0},
  11956. {0x150, 0, 0},
  11957. {0x154, 0xc, 0},
  11958. {0x155, 0xc, 0},
  11959. {0x156, 0xc, 0},
  11960. {0x157, 0, 0},
  11961. {0x158, 0x2b, 0},
  11962. {0x159, 0x84, 0},
  11963. {0x15A, 0x15, 0},
  11964. {0x15B, 0xf, 0},
  11965. {0x15C, 0, 0},
  11966. {0x15D, 0, 0},
  11967. {0x15E, 0, 1},
  11968. {0x15F, 0, 1},
  11969. {0x160, 0, 1},
  11970. {0x161, 0, 1},
  11971. {0x162, 0, 1},
  11972. {0x163, 0, 1},
  11973. {0x164, 0, 0},
  11974. {0x165, 0, 0},
  11975. {0x166, 0, 0},
  11976. {0x167, 0, 0},
  11977. {0x168, 0, 0},
  11978. {0x169, 0, 0},
  11979. {0x16A, 0, 1},
  11980. {0x16B, 0, 1},
  11981. {0x16C, 0, 1},
  11982. {0x16D, 0, 0},
  11983. {0x170, 0, 0},
  11984. {0x171, 0x77, 0},
  11985. {0x172, 0x77, 0},
  11986. {0x173, 0x77, 0},
  11987. {0x174, 0x77, 0},
  11988. {0x175, 0, 0},
  11989. {0x176, 0x3, 0},
  11990. {0x177, 0x37, 0},
  11991. {0x178, 0x3, 0},
  11992. {0x179, 0, 0},
  11993. {0x17B, 0x21, 0},
  11994. {0x17C, 0, 0},
  11995. {0x17D, 0xaa, 0},
  11996. {0x17E, 0, 0},
  11997. {0x190, 0, 0},
  11998. {0x191, 0x77, 0},
  11999. {0x192, 0x77, 0},
  12000. {0x193, 0x77, 0},
  12001. {0x194, 0x77, 0},
  12002. {0x195, 0, 0},
  12003. {0x196, 0x3, 0},
  12004. {0x197, 0x37, 0},
  12005. {0x198, 0x3, 0},
  12006. {0x199, 0, 0},
  12007. {0x19B, 0x21, 0},
  12008. {0x19C, 0, 0},
  12009. {0x19D, 0xaa, 0},
  12010. {0x19E, 0, 0},
  12011. {0x1A1, 0x2, 0},
  12012. {0x1A2, 0xf, 0},
  12013. {0x1A3, 0xf, 0},
  12014. {0x1A4, 0, 1},
  12015. {0x1A5, 0, 1},
  12016. {0x1A6, 0, 1},
  12017. {0x1A7, 0x2, 0},
  12018. {0x1A8, 0xf, 0},
  12019. {0x1A9, 0xf, 0},
  12020. {0x1AA, 0, 1},
  12021. {0x1AB, 0, 1},
  12022. {0x1AC, 0, 1},
  12023. {0x1AD, 0x84, 0},
  12024. {0x1AE, 0x60, 0},
  12025. {0x1AF, 0x47, 0},
  12026. {0x1B0, 0x47, 0},
  12027. {0x1B1, 0, 0},
  12028. {0x1B2, 0, 0},
  12029. {0x1B3, 0, 0},
  12030. {0x1B4, 0, 0},
  12031. {0x1B5, 0, 0},
  12032. {0x1B6, 0, 0},
  12033. {0x1B7, 0xc, 1},
  12034. {0x1B8, 0, 0},
  12035. {0x1B9, 0, 0},
  12036. {0x1BA, 0, 0},
  12037. {0x1BB, 0, 0},
  12038. {0x1BC, 0, 0},
  12039. {0x1BD, 0, 0},
  12040. {0x1BE, 0, 0},
  12041. {0x1BF, 0, 0},
  12042. {0x1C0, 0, 0},
  12043. {0x1C1, 0x1, 1},
  12044. {0x1C2, 0x80, 1},
  12045. {0x1C3, 0, 0},
  12046. {0x1C4, 0, 0},
  12047. {0x1C5, 0, 0},
  12048. {0x1C6, 0, 0},
  12049. {0x1C7, 0, 0},
  12050. {0x1C8, 0, 0},
  12051. {0x1C9, 0, 0},
  12052. {0x1CA, 0, 0},
  12053. {0xFFFF, 0, 0}
  12054. };
  12055. static struct radio_20xx_regs regs_2057_rev5v1[] = {
  12056. {0x00, 0x15, 1},
  12057. {0x01, 0x57, 1},
  12058. {0x02, 0x20, 1},
  12059. {0x03, 0x1f, 0},
  12060. {0x04, 0x4, 0},
  12061. {0x05, 0x2, 0},
  12062. {0x06, 0x1, 0},
  12063. {0x07, 0x1, 0},
  12064. {0x08, 0x1, 0},
  12065. {0x09, 0x69, 0},
  12066. {0x0A, 0x66, 0},
  12067. {0x0B, 0x6, 0},
  12068. {0x0C, 0x18, 0},
  12069. {0x0D, 0x3, 0},
  12070. {0x0E, 0x20, 0},
  12071. {0x0F, 0x20, 0},
  12072. {0x10, 0, 0},
  12073. {0x11, 0x7c, 0},
  12074. {0x12, 0x42, 0},
  12075. {0x13, 0xbd, 0},
  12076. {0x14, 0x7, 0},
  12077. {0x15, 0x87, 0},
  12078. {0x16, 0x8, 0},
  12079. {0x17, 0x17, 0},
  12080. {0x18, 0x7, 0},
  12081. {0x19, 0, 0},
  12082. {0x1A, 0x2, 0},
  12083. {0x1B, 0x13, 0},
  12084. {0x1C, 0x3e, 0},
  12085. {0x1D, 0x3e, 0},
  12086. {0x1E, 0x96, 0},
  12087. {0x1F, 0x4, 0},
  12088. {0x20, 0, 0},
  12089. {0x21, 0, 0},
  12090. {0x22, 0x17, 0},
  12091. {0x23, 0x6, 1},
  12092. {0x24, 0x1, 0},
  12093. {0x25, 0x6, 0},
  12094. {0x26, 0x4, 0},
  12095. {0x27, 0xd, 0},
  12096. {0x28, 0xd, 0},
  12097. {0x29, 0x30, 0},
  12098. {0x2A, 0x32, 0},
  12099. {0x2B, 0x8, 0},
  12100. {0x2C, 0x1c, 0},
  12101. {0x2D, 0x2, 0},
  12102. {0x2E, 0x4, 0},
  12103. {0x2F, 0x7f, 0},
  12104. {0x30, 0x27, 0},
  12105. {0x31, 0, 1},
  12106. {0x32, 0, 1},
  12107. {0x33, 0, 1},
  12108. {0x34, 0, 0},
  12109. {0x35, 0x20, 0},
  12110. {0x36, 0x18, 0},
  12111. {0x37, 0x7, 0},
  12112. {0x38, 0x66, 0},
  12113. {0x39, 0x66, 0},
  12114. {0x3C, 0xff, 0},
  12115. {0x3D, 0xff, 0},
  12116. {0x40, 0x16, 0},
  12117. {0x41, 0x7, 0},
  12118. {0x45, 0x3, 0},
  12119. {0x46, 0x1, 0},
  12120. {0x47, 0x7, 0},
  12121. {0x4B, 0x66, 0},
  12122. {0x4C, 0x66, 0},
  12123. {0x4D, 0, 0},
  12124. {0x4E, 0x4, 0},
  12125. {0x4F, 0xc, 0},
  12126. {0x50, 0, 0},
  12127. {0x51, 0x70, 1},
  12128. {0x56, 0x7, 0},
  12129. {0x57, 0, 0},
  12130. {0x58, 0, 0},
  12131. {0x59, 0x88, 1},
  12132. {0x5A, 0, 0},
  12133. {0x5B, 0x1f, 0},
  12134. {0x5C, 0x20, 1},
  12135. {0x5D, 0x1, 0},
  12136. {0x5E, 0x30, 0},
  12137. {0x5F, 0x70, 0},
  12138. {0x60, 0, 0},
  12139. {0x61, 0, 0},
  12140. {0x62, 0x33, 1},
  12141. {0x63, 0xf, 1},
  12142. {0x64, 0xf, 1},
  12143. {0x65, 0, 0},
  12144. {0x66, 0x11, 0},
  12145. {0x80, 0x3c, 0},
  12146. {0x81, 0x1, 1},
  12147. {0x82, 0xa, 0},
  12148. {0x85, 0, 0},
  12149. {0x86, 0x40, 0},
  12150. {0x87, 0x40, 0},
  12151. {0x88, 0x88, 0},
  12152. {0x89, 0x10, 0},
  12153. {0x8A, 0xf0, 0},
  12154. {0x8B, 0x10, 0},
  12155. {0x8C, 0xf0, 0},
  12156. {0x8F, 0x10, 0},
  12157. {0x90, 0x55, 0},
  12158. {0x91, 0x3f, 1},
  12159. {0x92, 0x36, 1},
  12160. {0x93, 0, 0},
  12161. {0x94, 0, 0},
  12162. {0x95, 0, 0},
  12163. {0x96, 0x87, 0},
  12164. {0x97, 0x11, 0},
  12165. {0x98, 0, 0},
  12166. {0x99, 0x33, 0},
  12167. {0x9A, 0x88, 0},
  12168. {0xA1, 0x20, 1},
  12169. {0xA2, 0x3f, 0},
  12170. {0xA3, 0x44, 0},
  12171. {0xA4, 0x8c, 0},
  12172. {0xA5, 0x6c, 0},
  12173. {0xA6, 0x22, 0},
  12174. {0xA7, 0xbe, 0},
  12175. {0xA8, 0x55, 0},
  12176. {0xAA, 0xc, 0},
  12177. {0xAB, 0xaa, 0},
  12178. {0xAC, 0x2, 0},
  12179. {0xAD, 0, 0},
  12180. {0xAE, 0x10, 0},
  12181. {0xAF, 0x1, 0},
  12182. {0xB0, 0, 0},
  12183. {0xB1, 0, 0},
  12184. {0xB2, 0x80, 0},
  12185. {0xB3, 0x60, 0},
  12186. {0xB4, 0x44, 0},
  12187. {0xB5, 0x55, 0},
  12188. {0xB6, 0x1, 0},
  12189. {0xB7, 0x55, 0},
  12190. {0xB8, 0x1, 0},
  12191. {0xB9, 0x5, 0},
  12192. {0xBA, 0x55, 0},
  12193. {0xBB, 0x55, 0},
  12194. {0xC3, 0, 0},
  12195. {0xC4, 0, 0},
  12196. {0xC5, 0, 0},
  12197. {0xC6, 0, 0},
  12198. {0xC7, 0, 0},
  12199. {0xC8, 0, 0},
  12200. {0xC9, 0x1, 1},
  12201. {0xCA, 0, 0},
  12202. {0xCB, 0, 0},
  12203. {0xCD, 0, 0},
  12204. {0xCE, 0x5e, 0},
  12205. {0xCF, 0xc, 0},
  12206. {0xD0, 0xc, 0},
  12207. {0xD1, 0xc, 0},
  12208. {0xD2, 0, 0},
  12209. {0xD3, 0x2b, 0},
  12210. {0xD4, 0xc, 0},
  12211. {0xD5, 0, 0},
  12212. {0xD6, 0x70, 1},
  12213. {0xDB, 0x7, 0},
  12214. {0xDC, 0, 0},
  12215. {0xDD, 0, 0},
  12216. {0xDE, 0x88, 1},
  12217. {0xDF, 0, 0},
  12218. {0xE0, 0x1f, 0},
  12219. {0xE1, 0x20, 1},
  12220. {0xE2, 0x1, 0},
  12221. {0xE3, 0x30, 0},
  12222. {0xE4, 0x70, 0},
  12223. {0xE5, 0, 0},
  12224. {0xE6, 0, 0},
  12225. {0xE7, 0x33, 0},
  12226. {0xE8, 0xf, 1},
  12227. {0xE9, 0xf, 1},
  12228. {0xEA, 0, 0},
  12229. {0xEB, 0x11, 0},
  12230. {0x105, 0x3c, 0},
  12231. {0x106, 0x1, 1},
  12232. {0x107, 0xa, 0},
  12233. {0x10A, 0, 0},
  12234. {0x10B, 0x40, 0},
  12235. {0x10C, 0x40, 0},
  12236. {0x10D, 0x88, 0},
  12237. {0x10E, 0x10, 0},
  12238. {0x10F, 0xf0, 0},
  12239. {0x110, 0x10, 0},
  12240. {0x111, 0xf0, 0},
  12241. {0x114, 0x10, 0},
  12242. {0x115, 0x55, 0},
  12243. {0x116, 0x3f, 1},
  12244. {0x117, 0x36, 1},
  12245. {0x118, 0, 0},
  12246. {0x119, 0, 0},
  12247. {0x11A, 0, 0},
  12248. {0x11B, 0x87, 0},
  12249. {0x11C, 0x11, 0},
  12250. {0x11D, 0, 0},
  12251. {0x11E, 0x33, 0},
  12252. {0x11F, 0x88, 0},
  12253. {0x126, 0x20, 1},
  12254. {0x127, 0x3f, 0},
  12255. {0x128, 0x44, 0},
  12256. {0x129, 0x8c, 0},
  12257. {0x12A, 0x6c, 0},
  12258. {0x12B, 0x22, 0},
  12259. {0x12C, 0xbe, 0},
  12260. {0x12D, 0x55, 0},
  12261. {0x12F, 0xc, 0},
  12262. {0x130, 0xaa, 0},
  12263. {0x131, 0x2, 0},
  12264. {0x132, 0, 0},
  12265. {0x133, 0x10, 0},
  12266. {0x134, 0x1, 0},
  12267. {0x135, 0, 0},
  12268. {0x136, 0, 0},
  12269. {0x137, 0x80, 0},
  12270. {0x138, 0x60, 0},
  12271. {0x139, 0x44, 0},
  12272. {0x13A, 0x55, 0},
  12273. {0x13B, 0x1, 0},
  12274. {0x13C, 0x55, 0},
  12275. {0x13D, 0x1, 0},
  12276. {0x13E, 0x5, 0},
  12277. {0x13F, 0x55, 0},
  12278. {0x140, 0x55, 0},
  12279. {0x148, 0, 0},
  12280. {0x149, 0, 0},
  12281. {0x14A, 0, 0},
  12282. {0x14B, 0, 0},
  12283. {0x14C, 0, 0},
  12284. {0x14D, 0, 0},
  12285. {0x14E, 0x1, 1},
  12286. {0x14F, 0, 0},
  12287. {0x150, 0, 0},
  12288. {0x154, 0xc, 0},
  12289. {0x155, 0xc, 0},
  12290. {0x156, 0xc, 0},
  12291. {0x157, 0, 0},
  12292. {0x158, 0x2b, 0},
  12293. {0x159, 0x84, 0},
  12294. {0x15A, 0x15, 0},
  12295. {0x15B, 0xf, 0},
  12296. {0x15C, 0, 0},
  12297. {0x15D, 0, 0},
  12298. {0x15E, 0, 1},
  12299. {0x15F, 0, 1},
  12300. {0x160, 0, 1},
  12301. {0x161, 0, 1},
  12302. {0x162, 0, 1},
  12303. {0x163, 0, 1},
  12304. {0x164, 0, 0},
  12305. {0x165, 0, 0},
  12306. {0x166, 0, 0},
  12307. {0x167, 0, 0},
  12308. {0x168, 0, 0},
  12309. {0x169, 0, 0},
  12310. {0x16A, 0, 1},
  12311. {0x16B, 0, 1},
  12312. {0x16C, 0, 1},
  12313. {0x16D, 0, 0},
  12314. {0x170, 0, 0},
  12315. {0x171, 0x77, 0},
  12316. {0x172, 0x77, 0},
  12317. {0x173, 0x77, 0},
  12318. {0x174, 0x77, 0},
  12319. {0x175, 0, 0},
  12320. {0x176, 0x3, 0},
  12321. {0x177, 0x37, 0},
  12322. {0x178, 0x3, 0},
  12323. {0x179, 0, 0},
  12324. {0x17B, 0x21, 0},
  12325. {0x17C, 0, 0},
  12326. {0x17D, 0xaa, 0},
  12327. {0x17E, 0, 0},
  12328. {0x190, 0, 0},
  12329. {0x191, 0x77, 0},
  12330. {0x192, 0x77, 0},
  12331. {0x193, 0x77, 0},
  12332. {0x194, 0x77, 0},
  12333. {0x195, 0, 0},
  12334. {0x196, 0x3, 0},
  12335. {0x197, 0x37, 0},
  12336. {0x198, 0x3, 0},
  12337. {0x199, 0, 0},
  12338. {0x19B, 0x21, 0},
  12339. {0x19C, 0, 0},
  12340. {0x19D, 0xaa, 0},
  12341. {0x19E, 0, 0},
  12342. {0x1A1, 0x2, 0},
  12343. {0x1A2, 0xf, 0},
  12344. {0x1A3, 0xf, 0},
  12345. {0x1A4, 0, 1},
  12346. {0x1A5, 0, 1},
  12347. {0x1A6, 0, 1},
  12348. {0x1A7, 0x2, 0},
  12349. {0x1A8, 0xf, 0},
  12350. {0x1A9, 0xf, 0},
  12351. {0x1AA, 0, 1},
  12352. {0x1AB, 0, 1},
  12353. {0x1AC, 0, 1},
  12354. {0x1AD, 0x84, 0},
  12355. {0x1AE, 0x60, 0},
  12356. {0x1AF, 0x47, 0},
  12357. {0x1B0, 0x47, 0},
  12358. {0x1B1, 0, 0},
  12359. {0x1B2, 0, 0},
  12360. {0x1B3, 0, 0},
  12361. {0x1B4, 0, 0},
  12362. {0x1B5, 0, 0},
  12363. {0x1B6, 0, 0},
  12364. {0x1B7, 0xc, 1},
  12365. {0x1B8, 0, 0},
  12366. {0x1B9, 0, 0},
  12367. {0x1BA, 0, 0},
  12368. {0x1BB, 0, 0},
  12369. {0x1BC, 0, 0},
  12370. {0x1BD, 0, 0},
  12371. {0x1BE, 0, 0},
  12372. {0x1BF, 0, 0},
  12373. {0x1C0, 0, 0},
  12374. {0x1C1, 0x1, 1},
  12375. {0x1C2, 0x80, 1},
  12376. {0x1C3, 0, 0},
  12377. {0x1C4, 0, 0},
  12378. {0x1C5, 0, 0},
  12379. {0x1C6, 0, 0},
  12380. {0x1C7, 0, 0},
  12381. {0x1C8, 0, 0},
  12382. {0x1C9, 0, 0},
  12383. {0x1CA, 0, 0},
  12384. {0xFFFF, 0, 0}
  12385. };
  12386. static struct radio_20xx_regs regs_2057_rev7[] = {
  12387. {0x00, 0, 1},
  12388. {0x01, 0x57, 1},
  12389. {0x02, 0x20, 1},
  12390. {0x03, 0x1f, 0},
  12391. {0x04, 0x4, 0},
  12392. {0x05, 0x2, 0},
  12393. {0x06, 0x1, 0},
  12394. {0x07, 0x1, 0},
  12395. {0x08, 0x1, 0},
  12396. {0x09, 0x69, 0},
  12397. {0x0A, 0x66, 0},
  12398. {0x0B, 0x6, 0},
  12399. {0x0C, 0x18, 0},
  12400. {0x0D, 0x3, 0},
  12401. {0x0E, 0x20, 0},
  12402. {0x0F, 0x20, 0},
  12403. {0x10, 0, 0},
  12404. {0x11, 0x7c, 0},
  12405. {0x12, 0x42, 0},
  12406. {0x13, 0xbd, 0},
  12407. {0x14, 0x7, 0},
  12408. {0x15, 0x87, 0},
  12409. {0x16, 0x8, 0},
  12410. {0x17, 0x17, 0},
  12411. {0x18, 0x7, 0},
  12412. {0x19, 0, 0},
  12413. {0x1A, 0x2, 0},
  12414. {0x1B, 0x13, 0},
  12415. {0x1C, 0x3e, 0},
  12416. {0x1D, 0x3e, 0},
  12417. {0x1E, 0x96, 0},
  12418. {0x1F, 0x4, 0},
  12419. {0x20, 0, 0},
  12420. {0x21, 0, 0},
  12421. {0x22, 0x17, 0},
  12422. {0x23, 0x6, 0},
  12423. {0x24, 0x1, 0},
  12424. {0x25, 0x6, 0},
  12425. {0x26, 0x4, 0},
  12426. {0x27, 0xd, 0},
  12427. {0x28, 0xd, 0},
  12428. {0x29, 0x30, 0},
  12429. {0x2A, 0x32, 0},
  12430. {0x2B, 0x8, 0},
  12431. {0x2C, 0x1c, 0},
  12432. {0x2D, 0x2, 0},
  12433. {0x2E, 0x4, 0},
  12434. {0x2F, 0x7f, 0},
  12435. {0x30, 0x27, 0},
  12436. {0x31, 0, 1},
  12437. {0x32, 0, 1},
  12438. {0x33, 0, 1},
  12439. {0x34, 0, 0},
  12440. {0x35, 0x20, 0},
  12441. {0x36, 0x18, 0},
  12442. {0x37, 0x7, 0},
  12443. {0x38, 0x66, 0},
  12444. {0x39, 0x66, 0},
  12445. {0x3A, 0x66, 0},
  12446. {0x3B, 0x66, 0},
  12447. {0x3C, 0xff, 0},
  12448. {0x3D, 0xff, 0},
  12449. {0x3E, 0xff, 0},
  12450. {0x3F, 0xff, 0},
  12451. {0x40, 0x16, 0},
  12452. {0x41, 0x7, 0},
  12453. {0x42, 0x19, 0},
  12454. {0x43, 0x7, 0},
  12455. {0x44, 0x6, 0},
  12456. {0x45, 0x3, 0},
  12457. {0x46, 0x1, 0},
  12458. {0x47, 0x7, 0},
  12459. {0x48, 0x33, 0},
  12460. {0x49, 0x5, 0},
  12461. {0x4A, 0x77, 0},
  12462. {0x4B, 0x66, 0},
  12463. {0x4C, 0x66, 0},
  12464. {0x4D, 0, 0},
  12465. {0x4E, 0x4, 0},
  12466. {0x4F, 0xc, 0},
  12467. {0x50, 0, 0},
  12468. {0x51, 0x70, 1},
  12469. {0x56, 0x7, 0},
  12470. {0x57, 0, 0},
  12471. {0x58, 0, 0},
  12472. {0x59, 0x88, 1},
  12473. {0x5A, 0, 0},
  12474. {0x5B, 0x1f, 0},
  12475. {0x5C, 0x20, 1},
  12476. {0x5D, 0x1, 0},
  12477. {0x5E, 0x30, 0},
  12478. {0x5F, 0x70, 0},
  12479. {0x60, 0, 0},
  12480. {0x61, 0, 0},
  12481. {0x62, 0x33, 1},
  12482. {0x63, 0xf, 1},
  12483. {0x64, 0x13, 1},
  12484. {0x65, 0, 0},
  12485. {0x66, 0xee, 1},
  12486. {0x69, 0, 0},
  12487. {0x6A, 0x7e, 0},
  12488. {0x6B, 0x3f, 0},
  12489. {0x6C, 0x7f, 0},
  12490. {0x6D, 0x78, 0},
  12491. {0x6E, 0x58, 1},
  12492. {0x6F, 0x88, 0},
  12493. {0x70, 0x8, 0},
  12494. {0x71, 0xf, 0},
  12495. {0x72, 0xbc, 0},
  12496. {0x73, 0x8, 0},
  12497. {0x74, 0x60, 0},
  12498. {0x75, 0x13, 1},
  12499. {0x76, 0x70, 0},
  12500. {0x77, 0, 0},
  12501. {0x78, 0, 0},
  12502. {0x79, 0, 0},
  12503. {0x7A, 0x33, 0},
  12504. {0x7B, 0x13, 1},
  12505. {0x7C, 0x14, 1},
  12506. {0x7D, 0xee, 1},
  12507. {0x80, 0x3c, 0},
  12508. {0x81, 0x1, 1},
  12509. {0x82, 0xa, 0},
  12510. {0x83, 0x9d, 0},
  12511. {0x84, 0xa, 0},
  12512. {0x85, 0, 0},
  12513. {0x86, 0x40, 0},
  12514. {0x87, 0x40, 0},
  12515. {0x88, 0x88, 0},
  12516. {0x89, 0x10, 0},
  12517. {0x8A, 0xf0, 0},
  12518. {0x8B, 0x10, 0},
  12519. {0x8C, 0xf0, 0},
  12520. {0x8D, 0, 0},
  12521. {0x8E, 0, 0},
  12522. {0x8F, 0x10, 0},
  12523. {0x90, 0x55, 0},
  12524. {0x91, 0x3f, 1},
  12525. {0x92, 0x36, 1},
  12526. {0x93, 0, 0},
  12527. {0x94, 0, 0},
  12528. {0x95, 0, 0},
  12529. {0x96, 0x87, 0},
  12530. {0x97, 0x11, 0},
  12531. {0x98, 0, 0},
  12532. {0x99, 0x33, 0},
  12533. {0x9A, 0x88, 0},
  12534. {0x9B, 0, 0},
  12535. {0x9C, 0x87, 0},
  12536. {0x9D, 0x11, 0},
  12537. {0x9E, 0, 0},
  12538. {0x9F, 0x33, 0},
  12539. {0xA0, 0x88, 0},
  12540. {0xA1, 0x20, 1},
  12541. {0xA2, 0x3f, 0},
  12542. {0xA3, 0x44, 0},
  12543. {0xA4, 0x8c, 0},
  12544. {0xA5, 0x6c, 0},
  12545. {0xA6, 0x22, 0},
  12546. {0xA7, 0xbe, 0},
  12547. {0xA8, 0x55, 0},
  12548. {0xAA, 0xc, 0},
  12549. {0xAB, 0xaa, 0},
  12550. {0xAC, 0x2, 0},
  12551. {0xAD, 0, 0},
  12552. {0xAE, 0x10, 0},
  12553. {0xAF, 0x1, 0},
  12554. {0xB0, 0, 0},
  12555. {0xB1, 0, 0},
  12556. {0xB2, 0x80, 0},
  12557. {0xB3, 0x60, 0},
  12558. {0xB4, 0x44, 0},
  12559. {0xB5, 0x55, 0},
  12560. {0xB6, 0x1, 0},
  12561. {0xB7, 0x55, 0},
  12562. {0xB8, 0x1, 0},
  12563. {0xB9, 0x5, 0},
  12564. {0xBA, 0x55, 0},
  12565. {0xBB, 0x55, 0},
  12566. {0xC1, 0, 0},
  12567. {0xC2, 0, 0},
  12568. {0xC3, 0, 0},
  12569. {0xC4, 0, 0},
  12570. {0xC5, 0, 0},
  12571. {0xC6, 0, 0},
  12572. {0xC7, 0, 0},
  12573. {0xC8, 0, 0},
  12574. {0xC9, 0, 0},
  12575. {0xCA, 0, 0},
  12576. {0xCB, 0, 0},
  12577. {0xCC, 0, 0},
  12578. {0xCD, 0, 0},
  12579. {0xCE, 0x5e, 0},
  12580. {0xCF, 0xc, 0},
  12581. {0xD0, 0xc, 0},
  12582. {0xD1, 0xc, 0},
  12583. {0xD2, 0, 0},
  12584. {0xD3, 0x2b, 0},
  12585. {0xD4, 0xc, 0},
  12586. {0xD5, 0, 0},
  12587. {0xD6, 0x70, 1},
  12588. {0xDB, 0x7, 0},
  12589. {0xDC, 0, 0},
  12590. {0xDD, 0, 0},
  12591. {0xDE, 0x88, 1},
  12592. {0xDF, 0, 0},
  12593. {0xE0, 0x1f, 0},
  12594. {0xE1, 0x20, 1},
  12595. {0xE2, 0x1, 0},
  12596. {0xE3, 0x30, 0},
  12597. {0xE4, 0x70, 0},
  12598. {0xE5, 0, 0},
  12599. {0xE6, 0, 0},
  12600. {0xE7, 0x33, 0},
  12601. {0xE8, 0xf, 1},
  12602. {0xE9, 0x13, 1},
  12603. {0xEA, 0, 0},
  12604. {0xEB, 0xee, 1},
  12605. {0xEE, 0, 0},
  12606. {0xEF, 0x7e, 0},
  12607. {0xF0, 0x3f, 0},
  12608. {0xF1, 0x7f, 0},
  12609. {0xF2, 0x78, 0},
  12610. {0xF3, 0x58, 1},
  12611. {0xF4, 0x88, 0},
  12612. {0xF5, 0x8, 0},
  12613. {0xF6, 0xf, 0},
  12614. {0xF7, 0xbc, 0},
  12615. {0xF8, 0x8, 0},
  12616. {0xF9, 0x60, 0},
  12617. {0xFA, 0x13, 1},
  12618. {0xFB, 0x70, 0},
  12619. {0xFC, 0, 0},
  12620. {0xFD, 0, 0},
  12621. {0xFE, 0, 0},
  12622. {0xFF, 0x33, 0},
  12623. {0x100, 0x13, 1},
  12624. {0x101, 0x14, 1},
  12625. {0x102, 0xee, 1},
  12626. {0x105, 0x3c, 0},
  12627. {0x106, 0x1, 1},
  12628. {0x107, 0xa, 0},
  12629. {0x108, 0x9d, 0},
  12630. {0x109, 0xa, 0},
  12631. {0x10A, 0, 0},
  12632. {0x10B, 0x40, 0},
  12633. {0x10C, 0x40, 0},
  12634. {0x10D, 0x88, 0},
  12635. {0x10E, 0x10, 0},
  12636. {0x10F, 0xf0, 0},
  12637. {0x110, 0x10, 0},
  12638. {0x111, 0xf0, 0},
  12639. {0x112, 0, 0},
  12640. {0x113, 0, 0},
  12641. {0x114, 0x10, 0},
  12642. {0x115, 0x55, 0},
  12643. {0x116, 0x3f, 1},
  12644. {0x117, 0x36, 1},
  12645. {0x118, 0, 0},
  12646. {0x119, 0, 0},
  12647. {0x11A, 0, 0},
  12648. {0x11B, 0x87, 0},
  12649. {0x11C, 0x11, 0},
  12650. {0x11D, 0, 0},
  12651. {0x11E, 0x33, 0},
  12652. {0x11F, 0x88, 0},
  12653. {0x120, 0, 0},
  12654. {0x121, 0x87, 0},
  12655. {0x122, 0x11, 0},
  12656. {0x123, 0, 0},
  12657. {0x124, 0x33, 0},
  12658. {0x125, 0x88, 0},
  12659. {0x126, 0x20, 1},
  12660. {0x127, 0x3f, 0},
  12661. {0x128, 0x44, 0},
  12662. {0x129, 0x8c, 0},
  12663. {0x12A, 0x6c, 0},
  12664. {0x12B, 0x22, 0},
  12665. {0x12C, 0xbe, 0},
  12666. {0x12D, 0x55, 0},
  12667. {0x12F, 0xc, 0},
  12668. {0x130, 0xaa, 0},
  12669. {0x131, 0x2, 0},
  12670. {0x132, 0, 0},
  12671. {0x133, 0x10, 0},
  12672. {0x134, 0x1, 0},
  12673. {0x135, 0, 0},
  12674. {0x136, 0, 0},
  12675. {0x137, 0x80, 0},
  12676. {0x138, 0x60, 0},
  12677. {0x139, 0x44, 0},
  12678. {0x13A, 0x55, 0},
  12679. {0x13B, 0x1, 0},
  12680. {0x13C, 0x55, 0},
  12681. {0x13D, 0x1, 0},
  12682. {0x13E, 0x5, 0},
  12683. {0x13F, 0x55, 0},
  12684. {0x140, 0x55, 0},
  12685. {0x146, 0, 0},
  12686. {0x147, 0, 0},
  12687. {0x148, 0, 0},
  12688. {0x149, 0, 0},
  12689. {0x14A, 0, 0},
  12690. {0x14B, 0, 0},
  12691. {0x14C, 0, 0},
  12692. {0x14D, 0, 0},
  12693. {0x14E, 0, 0},
  12694. {0x14F, 0, 0},
  12695. {0x150, 0, 0},
  12696. {0x151, 0, 0},
  12697. {0x154, 0xc, 0},
  12698. {0x155, 0xc, 0},
  12699. {0x156, 0xc, 0},
  12700. {0x157, 0, 0},
  12701. {0x158, 0x2b, 0},
  12702. {0x159, 0x84, 0},
  12703. {0x15A, 0x15, 0},
  12704. {0x15B, 0xf, 0},
  12705. {0x15C, 0, 0},
  12706. {0x15D, 0, 0},
  12707. {0x15E, 0, 1},
  12708. {0x15F, 0, 1},
  12709. {0x160, 0, 1},
  12710. {0x161, 0, 1},
  12711. {0x162, 0, 1},
  12712. {0x163, 0, 1},
  12713. {0x164, 0, 0},
  12714. {0x165, 0, 0},
  12715. {0x166, 0, 0},
  12716. {0x167, 0, 0},
  12717. {0x168, 0, 0},
  12718. {0x169, 0, 0},
  12719. {0x16A, 0, 1},
  12720. {0x16B, 0, 1},
  12721. {0x16C, 0, 1},
  12722. {0x16D, 0, 0},
  12723. {0x170, 0, 0},
  12724. {0x171, 0x77, 0},
  12725. {0x172, 0x77, 0},
  12726. {0x173, 0x77, 0},
  12727. {0x174, 0x77, 0},
  12728. {0x175, 0, 0},
  12729. {0x176, 0x3, 0},
  12730. {0x177, 0x37, 0},
  12731. {0x178, 0x3, 0},
  12732. {0x179, 0, 0},
  12733. {0x17A, 0x21, 0},
  12734. {0x17B, 0x21, 0},
  12735. {0x17C, 0, 0},
  12736. {0x17D, 0xaa, 0},
  12737. {0x17E, 0, 0},
  12738. {0x17F, 0xaa, 0},
  12739. {0x180, 0, 0},
  12740. {0x190, 0, 0},
  12741. {0x191, 0x77, 0},
  12742. {0x192, 0x77, 0},
  12743. {0x193, 0x77, 0},
  12744. {0x194, 0x77, 0},
  12745. {0x195, 0, 0},
  12746. {0x196, 0x3, 0},
  12747. {0x197, 0x37, 0},
  12748. {0x198, 0x3, 0},
  12749. {0x199, 0, 0},
  12750. {0x19A, 0x21, 0},
  12751. {0x19B, 0x21, 0},
  12752. {0x19C, 0, 0},
  12753. {0x19D, 0xaa, 0},
  12754. {0x19E, 0, 0},
  12755. {0x19F, 0xaa, 0},
  12756. {0x1A0, 0, 0},
  12757. {0x1A1, 0x2, 0},
  12758. {0x1A2, 0xf, 0},
  12759. {0x1A3, 0xf, 0},
  12760. {0x1A4, 0, 1},
  12761. {0x1A5, 0, 1},
  12762. {0x1A6, 0, 1},
  12763. {0x1A7, 0x2, 0},
  12764. {0x1A8, 0xf, 0},
  12765. {0x1A9, 0xf, 0},
  12766. {0x1AA, 0, 1},
  12767. {0x1AB, 0, 1},
  12768. {0x1AC, 0, 1},
  12769. {0x1AD, 0x84, 0},
  12770. {0x1AE, 0x60, 0},
  12771. {0x1AF, 0x47, 0},
  12772. {0x1B0, 0x47, 0},
  12773. {0x1B1, 0, 0},
  12774. {0x1B2, 0, 0},
  12775. {0x1B3, 0, 0},
  12776. {0x1B4, 0, 0},
  12777. {0x1B5, 0, 0},
  12778. {0x1B6, 0, 0},
  12779. {0x1B7, 0x5, 1},
  12780. {0x1B8, 0, 0},
  12781. {0x1B9, 0, 0},
  12782. {0x1BA, 0, 0},
  12783. {0x1BB, 0, 0},
  12784. {0x1BC, 0, 0},
  12785. {0x1BD, 0, 0},
  12786. {0x1BE, 0, 0},
  12787. {0x1BF, 0, 0},
  12788. {0x1C0, 0, 0},
  12789. {0x1C1, 0, 0},
  12790. {0x1C2, 0xa0, 1},
  12791. {0x1C3, 0, 0},
  12792. {0x1C4, 0, 0},
  12793. {0x1C5, 0, 0},
  12794. {0x1C6, 0, 0},
  12795. {0x1C7, 0, 0},
  12796. {0x1C8, 0, 0},
  12797. {0x1C9, 0, 0},
  12798. {0x1CA, 0, 0},
  12799. {0xFFFF, 0, 0}
  12800. };
  12801. static struct radio_20xx_regs regs_2057_rev8[] = {
  12802. {0x00, 0x8, 1},
  12803. {0x01, 0x57, 1},
  12804. {0x02, 0x20, 1},
  12805. {0x03, 0x1f, 0},
  12806. {0x04, 0x4, 0},
  12807. {0x05, 0x2, 0},
  12808. {0x06, 0x1, 0},
  12809. {0x07, 0x1, 0},
  12810. {0x08, 0x1, 0},
  12811. {0x09, 0x69, 0},
  12812. {0x0A, 0x66, 0},
  12813. {0x0B, 0x6, 0},
  12814. {0x0C, 0x18, 0},
  12815. {0x0D, 0x3, 0},
  12816. {0x0E, 0x20, 0},
  12817. {0x0F, 0x20, 0},
  12818. {0x10, 0, 0},
  12819. {0x11, 0x7c, 0},
  12820. {0x12, 0x42, 0},
  12821. {0x13, 0xbd, 0},
  12822. {0x14, 0x7, 0},
  12823. {0x15, 0x87, 0},
  12824. {0x16, 0x8, 0},
  12825. {0x17, 0x17, 0},
  12826. {0x18, 0x7, 0},
  12827. {0x19, 0, 0},
  12828. {0x1A, 0x2, 0},
  12829. {0x1B, 0x13, 0},
  12830. {0x1C, 0x3e, 0},
  12831. {0x1D, 0x3e, 0},
  12832. {0x1E, 0x96, 0},
  12833. {0x1F, 0x4, 0},
  12834. {0x20, 0, 0},
  12835. {0x21, 0, 0},
  12836. {0x22, 0x17, 0},
  12837. {0x23, 0x6, 0},
  12838. {0x24, 0x1, 0},
  12839. {0x25, 0x6, 0},
  12840. {0x26, 0x4, 0},
  12841. {0x27, 0xd, 0},
  12842. {0x28, 0xd, 0},
  12843. {0x29, 0x30, 0},
  12844. {0x2A, 0x32, 0},
  12845. {0x2B, 0x8, 0},
  12846. {0x2C, 0x1c, 0},
  12847. {0x2D, 0x2, 0},
  12848. {0x2E, 0x4, 0},
  12849. {0x2F, 0x7f, 0},
  12850. {0x30, 0x27, 0},
  12851. {0x31, 0, 1},
  12852. {0x32, 0, 1},
  12853. {0x33, 0, 1},
  12854. {0x34, 0, 0},
  12855. {0x35, 0x20, 0},
  12856. {0x36, 0x18, 0},
  12857. {0x37, 0x7, 0},
  12858. {0x38, 0x66, 0},
  12859. {0x39, 0x66, 0},
  12860. {0x3A, 0x66, 0},
  12861. {0x3B, 0x66, 0},
  12862. {0x3C, 0xff, 0},
  12863. {0x3D, 0xff, 0},
  12864. {0x3E, 0xff, 0},
  12865. {0x3F, 0xff, 0},
  12866. {0x40, 0x16, 0},
  12867. {0x41, 0x7, 0},
  12868. {0x42, 0x19, 0},
  12869. {0x43, 0x7, 0},
  12870. {0x44, 0x6, 0},
  12871. {0x45, 0x3, 0},
  12872. {0x46, 0x1, 0},
  12873. {0x47, 0x7, 0},
  12874. {0x48, 0x33, 0},
  12875. {0x49, 0x5, 0},
  12876. {0x4A, 0x77, 0},
  12877. {0x4B, 0x66, 0},
  12878. {0x4C, 0x66, 0},
  12879. {0x4D, 0, 0},
  12880. {0x4E, 0x4, 0},
  12881. {0x4F, 0xc, 0},
  12882. {0x50, 0, 0},
  12883. {0x51, 0x70, 1},
  12884. {0x56, 0x7, 0},
  12885. {0x57, 0, 0},
  12886. {0x58, 0, 0},
  12887. {0x59, 0x88, 1},
  12888. {0x5A, 0, 0},
  12889. {0x5B, 0x1f, 0},
  12890. {0x5C, 0x20, 1},
  12891. {0x5D, 0x1, 0},
  12892. {0x5E, 0x30, 0},
  12893. {0x5F, 0x70, 0},
  12894. {0x60, 0, 0},
  12895. {0x61, 0, 0},
  12896. {0x62, 0x33, 1},
  12897. {0x63, 0xf, 1},
  12898. {0x64, 0xf, 1},
  12899. {0x65, 0, 0},
  12900. {0x66, 0x11, 0},
  12901. {0x69, 0, 0},
  12902. {0x6A, 0x7e, 0},
  12903. {0x6B, 0x3f, 0},
  12904. {0x6C, 0x7f, 0},
  12905. {0x6D, 0x78, 0},
  12906. {0x6E, 0x58, 1},
  12907. {0x6F, 0x88, 0},
  12908. {0x70, 0x8, 0},
  12909. {0x71, 0xf, 0},
  12910. {0x72, 0xbc, 0},
  12911. {0x73, 0x8, 0},
  12912. {0x74, 0x60, 0},
  12913. {0x75, 0x13, 1},
  12914. {0x76, 0x70, 0},
  12915. {0x77, 0, 0},
  12916. {0x78, 0, 0},
  12917. {0x79, 0, 0},
  12918. {0x7A, 0x33, 0},
  12919. {0x7B, 0x13, 1},
  12920. {0x7C, 0xf, 1},
  12921. {0x7D, 0xee, 1},
  12922. {0x80, 0x3c, 0},
  12923. {0x81, 0x1, 1},
  12924. {0x82, 0xa, 0},
  12925. {0x83, 0x9d, 0},
  12926. {0x84, 0xa, 0},
  12927. {0x85, 0, 0},
  12928. {0x86, 0x40, 0},
  12929. {0x87, 0x40, 0},
  12930. {0x88, 0x88, 0},
  12931. {0x89, 0x10, 0},
  12932. {0x8A, 0xf0, 0},
  12933. {0x8B, 0x10, 0},
  12934. {0x8C, 0xf0, 0},
  12935. {0x8D, 0, 0},
  12936. {0x8E, 0, 0},
  12937. {0x8F, 0x10, 0},
  12938. {0x90, 0x55, 0},
  12939. {0x91, 0x3f, 1},
  12940. {0x92, 0x36, 1},
  12941. {0x93, 0, 0},
  12942. {0x94, 0, 0},
  12943. {0x95, 0, 0},
  12944. {0x96, 0x87, 0},
  12945. {0x97, 0x11, 0},
  12946. {0x98, 0, 0},
  12947. {0x99, 0x33, 0},
  12948. {0x9A, 0x88, 0},
  12949. {0x9B, 0, 0},
  12950. {0x9C, 0x87, 0},
  12951. {0x9D, 0x11, 0},
  12952. {0x9E, 0, 0},
  12953. {0x9F, 0x33, 0},
  12954. {0xA0, 0x88, 0},
  12955. {0xA1, 0x20, 1},
  12956. {0xA2, 0x3f, 0},
  12957. {0xA3, 0x44, 0},
  12958. {0xA4, 0x8c, 0},
  12959. {0xA5, 0x6c, 0},
  12960. {0xA6, 0x22, 0},
  12961. {0xA7, 0xbe, 0},
  12962. {0xA8, 0x55, 0},
  12963. {0xAA, 0xc, 0},
  12964. {0xAB, 0xaa, 0},
  12965. {0xAC, 0x2, 0},
  12966. {0xAD, 0, 0},
  12967. {0xAE, 0x10, 0},
  12968. {0xAF, 0x1, 0},
  12969. {0xB0, 0, 0},
  12970. {0xB1, 0, 0},
  12971. {0xB2, 0x80, 0},
  12972. {0xB3, 0x60, 0},
  12973. {0xB4, 0x44, 0},
  12974. {0xB5, 0x55, 0},
  12975. {0xB6, 0x1, 0},
  12976. {0xB7, 0x55, 0},
  12977. {0xB8, 0x1, 0},
  12978. {0xB9, 0x5, 0},
  12979. {0xBA, 0x55, 0},
  12980. {0xBB, 0x55, 0},
  12981. {0xC1, 0, 0},
  12982. {0xC2, 0, 0},
  12983. {0xC3, 0, 0},
  12984. {0xC4, 0, 0},
  12985. {0xC5, 0, 0},
  12986. {0xC6, 0, 0},
  12987. {0xC7, 0, 0},
  12988. {0xC8, 0, 0},
  12989. {0xC9, 0x1, 1},
  12990. {0xCA, 0, 0},
  12991. {0xCB, 0, 0},
  12992. {0xCC, 0, 0},
  12993. {0xCD, 0, 0},
  12994. {0xCE, 0x5e, 0},
  12995. {0xCF, 0xc, 0},
  12996. {0xD0, 0xc, 0},
  12997. {0xD1, 0xc, 0},
  12998. {0xD2, 0, 0},
  12999. {0xD3, 0x2b, 0},
  13000. {0xD4, 0xc, 0},
  13001. {0xD5, 0, 0},
  13002. {0xD6, 0x70, 1},
  13003. {0xDB, 0x7, 0},
  13004. {0xDC, 0, 0},
  13005. {0xDD, 0, 0},
  13006. {0xDE, 0x88, 1},
  13007. {0xDF, 0, 0},
  13008. {0xE0, 0x1f, 0},
  13009. {0xE1, 0x20, 1},
  13010. {0xE2, 0x1, 0},
  13011. {0xE3, 0x30, 0},
  13012. {0xE4, 0x70, 0},
  13013. {0xE5, 0, 0},
  13014. {0xE6, 0, 0},
  13015. {0xE7, 0x33, 0},
  13016. {0xE8, 0xf, 1},
  13017. {0xE9, 0xf, 1},
  13018. {0xEA, 0, 0},
  13019. {0xEB, 0x11, 0},
  13020. {0xEE, 0, 0},
  13021. {0xEF, 0x7e, 0},
  13022. {0xF0, 0x3f, 0},
  13023. {0xF1, 0x7f, 0},
  13024. {0xF2, 0x78, 0},
  13025. {0xF3, 0x58, 1},
  13026. {0xF4, 0x88, 0},
  13027. {0xF5, 0x8, 0},
  13028. {0xF6, 0xf, 0},
  13029. {0xF7, 0xbc, 0},
  13030. {0xF8, 0x8, 0},
  13031. {0xF9, 0x60, 0},
  13032. {0xFA, 0x13, 1},
  13033. {0xFB, 0x70, 0},
  13034. {0xFC, 0, 0},
  13035. {0xFD, 0, 0},
  13036. {0xFE, 0, 0},
  13037. {0xFF, 0x33, 0},
  13038. {0x100, 0x13, 1},
  13039. {0x101, 0xf, 1},
  13040. {0x102, 0xee, 1},
  13041. {0x105, 0x3c, 0},
  13042. {0x106, 0x1, 1},
  13043. {0x107, 0xa, 0},
  13044. {0x108, 0x9d, 0},
  13045. {0x109, 0xa, 0},
  13046. {0x10A, 0, 0},
  13047. {0x10B, 0x40, 0},
  13048. {0x10C, 0x40, 0},
  13049. {0x10D, 0x88, 0},
  13050. {0x10E, 0x10, 0},
  13051. {0x10F, 0xf0, 0},
  13052. {0x110, 0x10, 0},
  13053. {0x111, 0xf0, 0},
  13054. {0x112, 0, 0},
  13055. {0x113, 0, 0},
  13056. {0x114, 0x10, 0},
  13057. {0x115, 0x55, 0},
  13058. {0x116, 0x3f, 1},
  13059. {0x117, 0x36, 1},
  13060. {0x118, 0, 0},
  13061. {0x119, 0, 0},
  13062. {0x11A, 0, 0},
  13063. {0x11B, 0x87, 0},
  13064. {0x11C, 0x11, 0},
  13065. {0x11D, 0, 0},
  13066. {0x11E, 0x33, 0},
  13067. {0x11F, 0x88, 0},
  13068. {0x120, 0, 0},
  13069. {0x121, 0x87, 0},
  13070. {0x122, 0x11, 0},
  13071. {0x123, 0, 0},
  13072. {0x124, 0x33, 0},
  13073. {0x125, 0x88, 0},
  13074. {0x126, 0x20, 1},
  13075. {0x127, 0x3f, 0},
  13076. {0x128, 0x44, 0},
  13077. {0x129, 0x8c, 0},
  13078. {0x12A, 0x6c, 0},
  13079. {0x12B, 0x22, 0},
  13080. {0x12C, 0xbe, 0},
  13081. {0x12D, 0x55, 0},
  13082. {0x12F, 0xc, 0},
  13083. {0x130, 0xaa, 0},
  13084. {0x131, 0x2, 0},
  13085. {0x132, 0, 0},
  13086. {0x133, 0x10, 0},
  13087. {0x134, 0x1, 0},
  13088. {0x135, 0, 0},
  13089. {0x136, 0, 0},
  13090. {0x137, 0x80, 0},
  13091. {0x138, 0x60, 0},
  13092. {0x139, 0x44, 0},
  13093. {0x13A, 0x55, 0},
  13094. {0x13B, 0x1, 0},
  13095. {0x13C, 0x55, 0},
  13096. {0x13D, 0x1, 0},
  13097. {0x13E, 0x5, 0},
  13098. {0x13F, 0x55, 0},
  13099. {0x140, 0x55, 0},
  13100. {0x146, 0, 0},
  13101. {0x147, 0, 0},
  13102. {0x148, 0, 0},
  13103. {0x149, 0, 0},
  13104. {0x14A, 0, 0},
  13105. {0x14B, 0, 0},
  13106. {0x14C, 0, 0},
  13107. {0x14D, 0, 0},
  13108. {0x14E, 0x1, 1},
  13109. {0x14F, 0, 0},
  13110. {0x150, 0, 0},
  13111. {0x151, 0, 0},
  13112. {0x154, 0xc, 0},
  13113. {0x155, 0xc, 0},
  13114. {0x156, 0xc, 0},
  13115. {0x157, 0, 0},
  13116. {0x158, 0x2b, 0},
  13117. {0x159, 0x84, 0},
  13118. {0x15A, 0x15, 0},
  13119. {0x15B, 0xf, 0},
  13120. {0x15C, 0, 0},
  13121. {0x15D, 0, 0},
  13122. {0x15E, 0, 1},
  13123. {0x15F, 0, 1},
  13124. {0x160, 0, 1},
  13125. {0x161, 0, 1},
  13126. {0x162, 0, 1},
  13127. {0x163, 0, 1},
  13128. {0x164, 0, 0},
  13129. {0x165, 0, 0},
  13130. {0x166, 0, 0},
  13131. {0x167, 0, 0},
  13132. {0x168, 0, 0},
  13133. {0x169, 0, 0},
  13134. {0x16A, 0, 1},
  13135. {0x16B, 0, 1},
  13136. {0x16C, 0, 1},
  13137. {0x16D, 0, 0},
  13138. {0x170, 0, 0},
  13139. {0x171, 0x77, 0},
  13140. {0x172, 0x77, 0},
  13141. {0x173, 0x77, 0},
  13142. {0x174, 0x77, 0},
  13143. {0x175, 0, 0},
  13144. {0x176, 0x3, 0},
  13145. {0x177, 0x37, 0},
  13146. {0x178, 0x3, 0},
  13147. {0x179, 0, 0},
  13148. {0x17A, 0x21, 0},
  13149. {0x17B, 0x21, 0},
  13150. {0x17C, 0, 0},
  13151. {0x17D, 0xaa, 0},
  13152. {0x17E, 0, 0},
  13153. {0x17F, 0xaa, 0},
  13154. {0x180, 0, 0},
  13155. {0x190, 0, 0},
  13156. {0x191, 0x77, 0},
  13157. {0x192, 0x77, 0},
  13158. {0x193, 0x77, 0},
  13159. {0x194, 0x77, 0},
  13160. {0x195, 0, 0},
  13161. {0x196, 0x3, 0},
  13162. {0x197, 0x37, 0},
  13163. {0x198, 0x3, 0},
  13164. {0x199, 0, 0},
  13165. {0x19A, 0x21, 0},
  13166. {0x19B, 0x21, 0},
  13167. {0x19C, 0, 0},
  13168. {0x19D, 0xaa, 0},
  13169. {0x19E, 0, 0},
  13170. {0x19F, 0xaa, 0},
  13171. {0x1A0, 0, 0},
  13172. {0x1A1, 0x2, 0},
  13173. {0x1A2, 0xf, 0},
  13174. {0x1A3, 0xf, 0},
  13175. {0x1A4, 0, 1},
  13176. {0x1A5, 0, 1},
  13177. {0x1A6, 0, 1},
  13178. {0x1A7, 0x2, 0},
  13179. {0x1A8, 0xf, 0},
  13180. {0x1A9, 0xf, 0},
  13181. {0x1AA, 0, 1},
  13182. {0x1AB, 0, 1},
  13183. {0x1AC, 0, 1},
  13184. {0x1AD, 0x84, 0},
  13185. {0x1AE, 0x60, 0},
  13186. {0x1AF, 0x47, 0},
  13187. {0x1B0, 0x47, 0},
  13188. {0x1B1, 0, 0},
  13189. {0x1B2, 0, 0},
  13190. {0x1B3, 0, 0},
  13191. {0x1B4, 0, 0},
  13192. {0x1B5, 0, 0},
  13193. {0x1B6, 0, 0},
  13194. {0x1B7, 0x5, 1},
  13195. {0x1B8, 0, 0},
  13196. {0x1B9, 0, 0},
  13197. {0x1BA, 0, 0},
  13198. {0x1BB, 0, 0},
  13199. {0x1BC, 0, 0},
  13200. {0x1BD, 0, 0},
  13201. {0x1BE, 0, 0},
  13202. {0x1BF, 0, 0},
  13203. {0x1C0, 0, 0},
  13204. {0x1C1, 0, 0},
  13205. {0x1C2, 0xa0, 1},
  13206. {0x1C3, 0, 0},
  13207. {0x1C4, 0, 0},
  13208. {0x1C5, 0, 0},
  13209. {0x1C6, 0, 0},
  13210. {0x1C7, 0, 0},
  13211. {0x1C8, 0, 0},
  13212. {0x1C9, 0, 0},
  13213. {0x1CA, 0, 0},
  13214. {0xFFFF, 0, 0}
  13215. };
  13216. static s16 nphy_def_lnagains[] = { -2, 10, 19, 25 };
  13217. static s32 nphy_lnagain_est0[] = { -315, 40370 };
  13218. static s32 nphy_lnagain_est1[] = { -224, 23242 };
  13219. static const u16 tbl_iqcal_gainparams_nphy[2][NPHY_IQCAL_NUMGAINS][8] = {
  13220. {
  13221. {0x000, 0, 0, 2, 0x69, 0x69, 0x69, 0x69},
  13222. {0x700, 7, 0, 0, 0x69, 0x69, 0x69, 0x69},
  13223. {0x710, 7, 1, 0, 0x68, 0x68, 0x68, 0x68},
  13224. {0x720, 7, 2, 0, 0x67, 0x67, 0x67, 0x67},
  13225. {0x730, 7, 3, 0, 0x66, 0x66, 0x66, 0x66},
  13226. {0x740, 7, 4, 0, 0x65, 0x65, 0x65, 0x65},
  13227. {0x741, 7, 4, 1, 0x65, 0x65, 0x65, 0x65},
  13228. {0x742, 7, 4, 2, 0x65, 0x65, 0x65, 0x65},
  13229. {0x743, 7, 4, 3, 0x65, 0x65, 0x65, 0x65}
  13230. },
  13231. {
  13232. {0x000, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13233. {0x700, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13234. {0x710, 7, 1, 0, 0x79, 0x79, 0x79, 0x79},
  13235. {0x720, 7, 2, 0, 0x78, 0x78, 0x78, 0x78},
  13236. {0x730, 7, 3, 0, 0x78, 0x78, 0x78, 0x78},
  13237. {0x740, 7, 4, 0, 0x78, 0x78, 0x78, 0x78},
  13238. {0x741, 7, 4, 1, 0x78, 0x78, 0x78, 0x78},
  13239. {0x742, 7, 4, 2, 0x78, 0x78, 0x78, 0x78},
  13240. {0x743, 7, 4, 3, 0x78, 0x78, 0x78, 0x78}
  13241. }
  13242. };
  13243. static const u32 nphy_tpc_txgain[] = {
  13244. 0x03cc2b44, 0x03cc2b42, 0x03cc2a44, 0x03cc2a42,
  13245. 0x03cc2944, 0x03c82b44, 0x03c82b42, 0x03c82a44,
  13246. 0x03c82a42, 0x03c82944, 0x03c82942, 0x03c82844,
  13247. 0x03c82842, 0x03c42b44, 0x03c42b42, 0x03c42a44,
  13248. 0x03c42a42, 0x03c42944, 0x03c42942, 0x03c42844,
  13249. 0x03c42842, 0x03c42744, 0x03c42742, 0x03c42644,
  13250. 0x03c42642, 0x03c42544, 0x03c42542, 0x03c42444,
  13251. 0x03c42442, 0x03c02b44, 0x03c02b42, 0x03c02a44,
  13252. 0x03c02a42, 0x03c02944, 0x03c02942, 0x03c02844,
  13253. 0x03c02842, 0x03c02744, 0x03c02742, 0x03b02b44,
  13254. 0x03b02b42, 0x03b02a44, 0x03b02a42, 0x03b02944,
  13255. 0x03b02942, 0x03b02844, 0x03b02842, 0x03b02744,
  13256. 0x03b02742, 0x03b02644, 0x03b02642, 0x03b02544,
  13257. 0x03b02542, 0x03a02b44, 0x03a02b42, 0x03a02a44,
  13258. 0x03a02a42, 0x03a02944, 0x03a02942, 0x03a02844,
  13259. 0x03a02842, 0x03a02744, 0x03a02742, 0x03902b44,
  13260. 0x03902b42, 0x03902a44, 0x03902a42, 0x03902944,
  13261. 0x03902942, 0x03902844, 0x03902842, 0x03902744,
  13262. 0x03902742, 0x03902644, 0x03902642, 0x03902544,
  13263. 0x03902542, 0x03802b44, 0x03802b42, 0x03802a44,
  13264. 0x03802a42, 0x03802944, 0x03802942, 0x03802844,
  13265. 0x03802842, 0x03802744, 0x03802742, 0x03802644,
  13266. 0x03802642, 0x03802544, 0x03802542, 0x03802444,
  13267. 0x03802442, 0x03802344, 0x03802342, 0x03802244,
  13268. 0x03802242, 0x03802144, 0x03802142, 0x03802044,
  13269. 0x03802042, 0x03801f44, 0x03801f42, 0x03801e44,
  13270. 0x03801e42, 0x03801d44, 0x03801d42, 0x03801c44,
  13271. 0x03801c42, 0x03801b44, 0x03801b42, 0x03801a44,
  13272. 0x03801a42, 0x03801944, 0x03801942, 0x03801844,
  13273. 0x03801842, 0x03801744, 0x03801742, 0x03801644,
  13274. 0x03801642, 0x03801544, 0x03801542, 0x03801444,
  13275. 0x03801442, 0x03801344, 0x03801342, 0x00002b00
  13276. };
  13277. static const u16 nphy_tpc_loscale[] = {
  13278. 256, 256, 271, 271, 287, 256, 256, 271,
  13279. 271, 287, 287, 304, 304, 256, 256, 271,
  13280. 271, 287, 287, 304, 304, 322, 322, 341,
  13281. 341, 362, 362, 383, 383, 256, 256, 271,
  13282. 271, 287, 287, 304, 304, 322, 322, 256,
  13283. 256, 271, 271, 287, 287, 304, 304, 322,
  13284. 322, 341, 341, 362, 362, 256, 256, 271,
  13285. 271, 287, 287, 304, 304, 322, 322, 256,
  13286. 256, 271, 271, 287, 287, 304, 304, 322,
  13287. 322, 341, 341, 362, 362, 256, 256, 271,
  13288. 271, 287, 287, 304, 304, 322, 322, 341,
  13289. 341, 362, 362, 383, 383, 406, 406, 430,
  13290. 430, 455, 455, 482, 482, 511, 511, 541,
  13291. 541, 573, 573, 607, 607, 643, 643, 681,
  13292. 681, 722, 722, 764, 764, 810, 810, 858,
  13293. 858, 908, 908, 962, 962, 1019, 1019, 256
  13294. };
  13295. static u32 nphy_tpc_txgain_ipa[] = {
  13296. 0x5ff7002d, 0x5ff7002b, 0x5ff7002a, 0x5ff70029,
  13297. 0x5ff70028, 0x5ff70027, 0x5ff70026, 0x5ff70025,
  13298. 0x5ef7002d, 0x5ef7002b, 0x5ef7002a, 0x5ef70029,
  13299. 0x5ef70028, 0x5ef70027, 0x5ef70026, 0x5ef70025,
  13300. 0x5df7002d, 0x5df7002b, 0x5df7002a, 0x5df70029,
  13301. 0x5df70028, 0x5df70027, 0x5df70026, 0x5df70025,
  13302. 0x5cf7002d, 0x5cf7002b, 0x5cf7002a, 0x5cf70029,
  13303. 0x5cf70028, 0x5cf70027, 0x5cf70026, 0x5cf70025,
  13304. 0x5bf7002d, 0x5bf7002b, 0x5bf7002a, 0x5bf70029,
  13305. 0x5bf70028, 0x5bf70027, 0x5bf70026, 0x5bf70025,
  13306. 0x5af7002d, 0x5af7002b, 0x5af7002a, 0x5af70029,
  13307. 0x5af70028, 0x5af70027, 0x5af70026, 0x5af70025,
  13308. 0x59f7002d, 0x59f7002b, 0x59f7002a, 0x59f70029,
  13309. 0x59f70028, 0x59f70027, 0x59f70026, 0x59f70025,
  13310. 0x58f7002d, 0x58f7002b, 0x58f7002a, 0x58f70029,
  13311. 0x58f70028, 0x58f70027, 0x58f70026, 0x58f70025,
  13312. 0x57f7002d, 0x57f7002b, 0x57f7002a, 0x57f70029,
  13313. 0x57f70028, 0x57f70027, 0x57f70026, 0x57f70025,
  13314. 0x56f7002d, 0x56f7002b, 0x56f7002a, 0x56f70029,
  13315. 0x56f70028, 0x56f70027, 0x56f70026, 0x56f70025,
  13316. 0x55f7002d, 0x55f7002b, 0x55f7002a, 0x55f70029,
  13317. 0x55f70028, 0x55f70027, 0x55f70026, 0x55f70025,
  13318. 0x54f7002d, 0x54f7002b, 0x54f7002a, 0x54f70029,
  13319. 0x54f70028, 0x54f70027, 0x54f70026, 0x54f70025,
  13320. 0x53f7002d, 0x53f7002b, 0x53f7002a, 0x53f70029,
  13321. 0x53f70028, 0x53f70027, 0x53f70026, 0x53f70025,
  13322. 0x52f7002d, 0x52f7002b, 0x52f7002a, 0x52f70029,
  13323. 0x52f70028, 0x52f70027, 0x52f70026, 0x52f70025,
  13324. 0x51f7002d, 0x51f7002b, 0x51f7002a, 0x51f70029,
  13325. 0x51f70028, 0x51f70027, 0x51f70026, 0x51f70025,
  13326. 0x50f7002d, 0x50f7002b, 0x50f7002a, 0x50f70029,
  13327. 0x50f70028, 0x50f70027, 0x50f70026, 0x50f70025
  13328. };
  13329. static u32 nphy_tpc_txgain_ipa_rev5[] = {
  13330. 0x1ff7002d, 0x1ff7002b, 0x1ff7002a, 0x1ff70029,
  13331. 0x1ff70028, 0x1ff70027, 0x1ff70026, 0x1ff70025,
  13332. 0x1ef7002d, 0x1ef7002b, 0x1ef7002a, 0x1ef70029,
  13333. 0x1ef70028, 0x1ef70027, 0x1ef70026, 0x1ef70025,
  13334. 0x1df7002d, 0x1df7002b, 0x1df7002a, 0x1df70029,
  13335. 0x1df70028, 0x1df70027, 0x1df70026, 0x1df70025,
  13336. 0x1cf7002d, 0x1cf7002b, 0x1cf7002a, 0x1cf70029,
  13337. 0x1cf70028, 0x1cf70027, 0x1cf70026, 0x1cf70025,
  13338. 0x1bf7002d, 0x1bf7002b, 0x1bf7002a, 0x1bf70029,
  13339. 0x1bf70028, 0x1bf70027, 0x1bf70026, 0x1bf70025,
  13340. 0x1af7002d, 0x1af7002b, 0x1af7002a, 0x1af70029,
  13341. 0x1af70028, 0x1af70027, 0x1af70026, 0x1af70025,
  13342. 0x19f7002d, 0x19f7002b, 0x19f7002a, 0x19f70029,
  13343. 0x19f70028, 0x19f70027, 0x19f70026, 0x19f70025,
  13344. 0x18f7002d, 0x18f7002b, 0x18f7002a, 0x18f70029,
  13345. 0x18f70028, 0x18f70027, 0x18f70026, 0x18f70025,
  13346. 0x17f7002d, 0x17f7002b, 0x17f7002a, 0x17f70029,
  13347. 0x17f70028, 0x17f70027, 0x17f70026, 0x17f70025,
  13348. 0x16f7002d, 0x16f7002b, 0x16f7002a, 0x16f70029,
  13349. 0x16f70028, 0x16f70027, 0x16f70026, 0x16f70025,
  13350. 0x15f7002d, 0x15f7002b, 0x15f7002a, 0x15f70029,
  13351. 0x15f70028, 0x15f70027, 0x15f70026, 0x15f70025,
  13352. 0x14f7002d, 0x14f7002b, 0x14f7002a, 0x14f70029,
  13353. 0x14f70028, 0x14f70027, 0x14f70026, 0x14f70025,
  13354. 0x13f7002d, 0x13f7002b, 0x13f7002a, 0x13f70029,
  13355. 0x13f70028, 0x13f70027, 0x13f70026, 0x13f70025,
  13356. 0x12f7002d, 0x12f7002b, 0x12f7002a, 0x12f70029,
  13357. 0x12f70028, 0x12f70027, 0x12f70026, 0x12f70025,
  13358. 0x11f7002d, 0x11f7002b, 0x11f7002a, 0x11f70029,
  13359. 0x11f70028, 0x11f70027, 0x11f70026, 0x11f70025,
  13360. 0x10f7002d, 0x10f7002b, 0x10f7002a, 0x10f70029,
  13361. 0x10f70028, 0x10f70027, 0x10f70026, 0x10f70025
  13362. };
  13363. static u32 nphy_tpc_txgain_ipa_rev6[] = {
  13364. 0x0ff7002d, 0x0ff7002b, 0x0ff7002a, 0x0ff70029,
  13365. 0x0ff70028, 0x0ff70027, 0x0ff70026, 0x0ff70025,
  13366. 0x0ef7002d, 0x0ef7002b, 0x0ef7002a, 0x0ef70029,
  13367. 0x0ef70028, 0x0ef70027, 0x0ef70026, 0x0ef70025,
  13368. 0x0df7002d, 0x0df7002b, 0x0df7002a, 0x0df70029,
  13369. 0x0df70028, 0x0df70027, 0x0df70026, 0x0df70025,
  13370. 0x0cf7002d, 0x0cf7002b, 0x0cf7002a, 0x0cf70029,
  13371. 0x0cf70028, 0x0cf70027, 0x0cf70026, 0x0cf70025,
  13372. 0x0bf7002d, 0x0bf7002b, 0x0bf7002a, 0x0bf70029,
  13373. 0x0bf70028, 0x0bf70027, 0x0bf70026, 0x0bf70025,
  13374. 0x0af7002d, 0x0af7002b, 0x0af7002a, 0x0af70029,
  13375. 0x0af70028, 0x0af70027, 0x0af70026, 0x0af70025,
  13376. 0x09f7002d, 0x09f7002b, 0x09f7002a, 0x09f70029,
  13377. 0x09f70028, 0x09f70027, 0x09f70026, 0x09f70025,
  13378. 0x08f7002d, 0x08f7002b, 0x08f7002a, 0x08f70029,
  13379. 0x08f70028, 0x08f70027, 0x08f70026, 0x08f70025,
  13380. 0x07f7002d, 0x07f7002b, 0x07f7002a, 0x07f70029,
  13381. 0x07f70028, 0x07f70027, 0x07f70026, 0x07f70025,
  13382. 0x06f7002d, 0x06f7002b, 0x06f7002a, 0x06f70029,
  13383. 0x06f70028, 0x06f70027, 0x06f70026, 0x06f70025,
  13384. 0x05f7002d, 0x05f7002b, 0x05f7002a, 0x05f70029,
  13385. 0x05f70028, 0x05f70027, 0x05f70026, 0x05f70025,
  13386. 0x04f7002d, 0x04f7002b, 0x04f7002a, 0x04f70029,
  13387. 0x04f70028, 0x04f70027, 0x04f70026, 0x04f70025,
  13388. 0x03f7002d, 0x03f7002b, 0x03f7002a, 0x03f70029,
  13389. 0x03f70028, 0x03f70027, 0x03f70026, 0x03f70025,
  13390. 0x02f7002d, 0x02f7002b, 0x02f7002a, 0x02f70029,
  13391. 0x02f70028, 0x02f70027, 0x02f70026, 0x02f70025,
  13392. 0x01f7002d, 0x01f7002b, 0x01f7002a, 0x01f70029,
  13393. 0x01f70028, 0x01f70027, 0x01f70026, 0x01f70025,
  13394. 0x00f7002d, 0x00f7002b, 0x00f7002a, 0x00f70029,
  13395. 0x00f70028, 0x00f70027, 0x00f70026, 0x00f70025
  13396. };
  13397. static u32 nphy_tpc_txgain_ipa_2g_2057rev3[] = {
  13398. 0x70ff0040, 0x70f7003e, 0x70ef003b, 0x70e70039,
  13399. 0x70df0037, 0x70d70036, 0x70cf0033, 0x70c70032,
  13400. 0x70bf0031, 0x70b7002f, 0x70af002e, 0x70a7002d,
  13401. 0x709f002d, 0x7097002c, 0x708f002c, 0x7087002c,
  13402. 0x707f002b, 0x7077002c, 0x706f002c, 0x7067002d,
  13403. 0x705f002e, 0x705f002b, 0x705f0029, 0x7057002a,
  13404. 0x70570028, 0x704f002a, 0x7047002c, 0x7047002a,
  13405. 0x70470028, 0x70470026, 0x70470024, 0x70470022,
  13406. 0x7047001f, 0x70370027, 0x70370024, 0x70370022,
  13407. 0x70370020, 0x7037001f, 0x7037001d, 0x7037001b,
  13408. 0x7037001a, 0x70370018, 0x70370017, 0x7027001e,
  13409. 0x7027001d, 0x7027001a, 0x701f0024, 0x701f0022,
  13410. 0x701f0020, 0x701f001f, 0x701f001d, 0x701f001b,
  13411. 0x701f001a, 0x701f0018, 0x701f0017, 0x701f0015,
  13412. 0x701f0014, 0x701f0013, 0x701f0012, 0x701f0011,
  13413. 0x70170019, 0x70170018, 0x70170016, 0x70170015,
  13414. 0x70170014, 0x70170013, 0x70170012, 0x70170010,
  13415. 0x70170010, 0x7017000f, 0x700f001d, 0x700f001b,
  13416. 0x700f001a, 0x700f0018, 0x700f0017, 0x700f0015,
  13417. 0x700f0015, 0x700f0013, 0x700f0013, 0x700f0011,
  13418. 0x700f0010, 0x700f0010, 0x700f000f, 0x700f000e,
  13419. 0x700f000d, 0x700f000c, 0x700f000b, 0x700f000b,
  13420. 0x700f000b, 0x700f000a, 0x700f0009, 0x700f0009,
  13421. 0x700f0009, 0x700f0008, 0x700f0007, 0x700f0007,
  13422. 0x700f0006, 0x700f0006, 0x700f0006, 0x700f0006,
  13423. 0x700f0005, 0x700f0005, 0x700f0005, 0x700f0004,
  13424. 0x700f0004, 0x700f0004, 0x700f0004, 0x700f0004,
  13425. 0x700f0004, 0x700f0003, 0x700f0003, 0x700f0003,
  13426. 0x700f0003, 0x700f0002, 0x700f0002, 0x700f0002,
  13427. 0x700f0002, 0x700f0002, 0x700f0002, 0x700f0001,
  13428. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001,
  13429. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001
  13430. };
  13431. static u32 nphy_tpc_txgain_ipa_2g_2057rev4n6[] = {
  13432. 0xf0ff0040, 0xf0f7003e, 0xf0ef003b, 0xf0e70039,
  13433. 0xf0df0037, 0xf0d70036, 0xf0cf0033, 0xf0c70032,
  13434. 0xf0bf0031, 0xf0b7002f, 0xf0af002e, 0xf0a7002d,
  13435. 0xf09f002d, 0xf097002c, 0xf08f002c, 0xf087002c,
  13436. 0xf07f002b, 0xf077002c, 0xf06f002c, 0xf067002d,
  13437. 0xf05f002e, 0xf05f002b, 0xf05f0029, 0xf057002a,
  13438. 0xf0570028, 0xf04f002a, 0xf047002c, 0xf047002a,
  13439. 0xf0470028, 0xf0470026, 0xf0470024, 0xf0470022,
  13440. 0xf047001f, 0xf0370027, 0xf0370024, 0xf0370022,
  13441. 0xf0370020, 0xf037001f, 0xf037001d, 0xf037001b,
  13442. 0xf037001a, 0xf0370018, 0xf0370017, 0xf027001e,
  13443. 0xf027001d, 0xf027001a, 0xf01f0024, 0xf01f0022,
  13444. 0xf01f0020, 0xf01f001f, 0xf01f001d, 0xf01f001b,
  13445. 0xf01f001a, 0xf01f0018, 0xf01f0017, 0xf01f0015,
  13446. 0xf01f0014, 0xf01f0013, 0xf01f0012, 0xf01f0011,
  13447. 0xf0170019, 0xf0170018, 0xf0170016, 0xf0170015,
  13448. 0xf0170014, 0xf0170013, 0xf0170012, 0xf0170010,
  13449. 0xf0170010, 0xf017000f, 0xf00f001d, 0xf00f001b,
  13450. 0xf00f001a, 0xf00f0018, 0xf00f0017, 0xf00f0015,
  13451. 0xf00f0015, 0xf00f0013, 0xf00f0013, 0xf00f0011,
  13452. 0xf00f0010, 0xf00f0010, 0xf00f000f, 0xf00f000e,
  13453. 0xf00f000d, 0xf00f000c, 0xf00f000b, 0xf00f000b,
  13454. 0xf00f000b, 0xf00f000a, 0xf00f0009, 0xf00f0009,
  13455. 0xf00f0009, 0xf00f0008, 0xf00f0007, 0xf00f0007,
  13456. 0xf00f0006, 0xf00f0006, 0xf00f0006, 0xf00f0006,
  13457. 0xf00f0005, 0xf00f0005, 0xf00f0005, 0xf00f0004,
  13458. 0xf00f0004, 0xf00f0004, 0xf00f0004, 0xf00f0004,
  13459. 0xf00f0004, 0xf00f0003, 0xf00f0003, 0xf00f0003,
  13460. 0xf00f0003, 0xf00f0002, 0xf00f0002, 0xf00f0002,
  13461. 0xf00f0002, 0xf00f0002, 0xf00f0002, 0xf00f0001,
  13462. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001,
  13463. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001
  13464. };
  13465. static u32 nphy_tpc_txgain_ipa_2g_2057rev5[] = {
  13466. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13467. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13468. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13469. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13470. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13471. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13472. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13473. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13474. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13475. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13476. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13477. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13478. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13479. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13480. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13481. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13482. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13483. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13484. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13485. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  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. };
  13499. static u32 nphy_tpc_txgain_ipa_2g_2057rev7[] = {
  13500. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13501. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13502. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13503. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13504. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13505. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13506. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13507. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13508. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13509. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13510. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13511. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13512. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13513. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13514. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13515. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13516. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13517. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13518. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13519. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  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. };
  13533. static u32 nphy_tpc_txgain_ipa_5g[] = {
  13534. 0x7ff70035, 0x7ff70033, 0x7ff70032, 0x7ff70031,
  13535. 0x7ff7002f, 0x7ff7002e, 0x7ff7002d, 0x7ff7002b,
  13536. 0x7ff7002a, 0x7ff70029, 0x7ff70028, 0x7ff70027,
  13537. 0x7ff70026, 0x7ff70024, 0x7ff70023, 0x7ff70022,
  13538. 0x7ef70028, 0x7ef70027, 0x7ef70026, 0x7ef70025,
  13539. 0x7ef70024, 0x7ef70023, 0x7df70028, 0x7df70027,
  13540. 0x7df70026, 0x7df70025, 0x7df70024, 0x7df70023,
  13541. 0x7df70022, 0x7cf70029, 0x7cf70028, 0x7cf70027,
  13542. 0x7cf70026, 0x7cf70025, 0x7cf70023, 0x7cf70022,
  13543. 0x7bf70029, 0x7bf70028, 0x7bf70026, 0x7bf70025,
  13544. 0x7bf70024, 0x7bf70023, 0x7bf70022, 0x7bf70021,
  13545. 0x7af70029, 0x7af70028, 0x7af70027, 0x7af70026,
  13546. 0x7af70025, 0x7af70024, 0x7af70023, 0x7af70022,
  13547. 0x79f70029, 0x79f70028, 0x79f70027, 0x79f70026,
  13548. 0x79f70025, 0x79f70024, 0x79f70023, 0x79f70022,
  13549. 0x78f70029, 0x78f70028, 0x78f70027, 0x78f70026,
  13550. 0x78f70025, 0x78f70024, 0x78f70023, 0x78f70022,
  13551. 0x77f70029, 0x77f70028, 0x77f70027, 0x77f70026,
  13552. 0x77f70025, 0x77f70024, 0x77f70023, 0x77f70022,
  13553. 0x76f70029, 0x76f70028, 0x76f70027, 0x76f70026,
  13554. 0x76f70024, 0x76f70023, 0x76f70022, 0x76f70021,
  13555. 0x75f70029, 0x75f70028, 0x75f70027, 0x75f70026,
  13556. 0x75f70025, 0x75f70024, 0x75f70023, 0x74f70029,
  13557. 0x74f70028, 0x74f70026, 0x74f70025, 0x74f70024,
  13558. 0x74f70023, 0x74f70022, 0x73f70029, 0x73f70027,
  13559. 0x73f70026, 0x73f70025, 0x73f70024, 0x73f70023,
  13560. 0x73f70022, 0x72f70028, 0x72f70027, 0x72f70026,
  13561. 0x72f70025, 0x72f70024, 0x72f70023, 0x72f70022,
  13562. 0x71f70028, 0x71f70027, 0x71f70026, 0x71f70025,
  13563. 0x71f70024, 0x71f70023, 0x70f70028, 0x70f70027,
  13564. 0x70f70026, 0x70f70024, 0x70f70023, 0x70f70022,
  13565. 0x70f70021, 0x70f70020, 0x70f70020, 0x70f7001f
  13566. };
  13567. static u32 nphy_tpc_txgain_ipa_5g_2057[] = {
  13568. 0x7f7f0044, 0x7f7f0040, 0x7f7f003c, 0x7f7f0039,
  13569. 0x7f7f0036, 0x7e7f003c, 0x7e7f0038, 0x7e7f0035,
  13570. 0x7d7f003c, 0x7d7f0039, 0x7d7f0036, 0x7d7f0033,
  13571. 0x7c7f003b, 0x7c7f0037, 0x7c7f0034, 0x7b7f003a,
  13572. 0x7b7f0036, 0x7b7f0033, 0x7a7f003c, 0x7a7f0039,
  13573. 0x7a7f0036, 0x7a7f0033, 0x797f003b, 0x797f0038,
  13574. 0x797f0035, 0x797f0032, 0x787f003b, 0x787f0038,
  13575. 0x787f0035, 0x787f0032, 0x777f003a, 0x777f0037,
  13576. 0x777f0034, 0x777f0031, 0x767f003a, 0x767f0036,
  13577. 0x767f0033, 0x767f0031, 0x757f003a, 0x757f0037,
  13578. 0x757f0034, 0x747f003c, 0x747f0039, 0x747f0036,
  13579. 0x747f0033, 0x737f003b, 0x737f0038, 0x737f0035,
  13580. 0x737f0032, 0x727f0039, 0x727f0036, 0x727f0033,
  13581. 0x727f0030, 0x717f003a, 0x717f0037, 0x717f0034,
  13582. 0x707f003b, 0x707f0038, 0x707f0035, 0x707f0032,
  13583. 0x707f002f, 0x707f002d, 0x707f002a, 0x707f0028,
  13584. 0x707f0025, 0x707f0023, 0x707f0021, 0x707f0020,
  13585. 0x707f001e, 0x707f001c, 0x707f001b, 0x707f0019,
  13586. 0x707f0018, 0x707f0016, 0x707f0015, 0x707f0014,
  13587. 0x707f0013, 0x707f0012, 0x707f0011, 0x707f0010,
  13588. 0x707f000f, 0x707f000e, 0x707f000d, 0x707f000d,
  13589. 0x707f000c, 0x707f000b, 0x707f000b, 0x707f000a,
  13590. 0x707f0009, 0x707f0009, 0x707f0008, 0x707f0008,
  13591. 0x707f0007, 0x707f0007, 0x707f0007, 0x707f0006,
  13592. 0x707f0006, 0x707f0006, 0x707f0005, 0x707f0005,
  13593. 0x707f0005, 0x707f0004, 0x707f0004, 0x707f0004,
  13594. 0x707f0004, 0x707f0004, 0x707f0003, 0x707f0003,
  13595. 0x707f0003, 0x707f0003, 0x707f0003, 0x707f0003,
  13596. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13597. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13598. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001,
  13599. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001
  13600. };
  13601. static u32 nphy_tpc_txgain_ipa_5g_2057rev7[] = {
  13602. 0x6f7f0031, 0x6f7f002e, 0x6f7f002c, 0x6f7f002a,
  13603. 0x6f7f0027, 0x6e7f002e, 0x6e7f002c, 0x6e7f002a,
  13604. 0x6d7f0030, 0x6d7f002d, 0x6d7f002a, 0x6d7f0028,
  13605. 0x6c7f0030, 0x6c7f002d, 0x6c7f002b, 0x6b7f002e,
  13606. 0x6b7f002c, 0x6b7f002a, 0x6b7f0027, 0x6a7f002e,
  13607. 0x6a7f002c, 0x6a7f002a, 0x697f0030, 0x697f002e,
  13608. 0x697f002b, 0x697f0029, 0x687f002f, 0x687f002d,
  13609. 0x687f002a, 0x687f0027, 0x677f002f, 0x677f002d,
  13610. 0x677f002a, 0x667f0031, 0x667f002e, 0x667f002c,
  13611. 0x667f002a, 0x657f0030, 0x657f002e, 0x657f002b,
  13612. 0x657f0029, 0x647f0030, 0x647f002d, 0x647f002b,
  13613. 0x647f0029, 0x637f002f, 0x637f002d, 0x637f002a,
  13614. 0x627f0030, 0x627f002d, 0x627f002b, 0x627f0029,
  13615. 0x617f0030, 0x617f002e, 0x617f002b, 0x617f0029,
  13616. 0x607f002f, 0x607f002d, 0x607f002a, 0x607f0027,
  13617. 0x607f0026, 0x607f0023, 0x607f0021, 0x607f0020,
  13618. 0x607f001e, 0x607f001c, 0x607f001a, 0x607f0019,
  13619. 0x607f0018, 0x607f0016, 0x607f0015, 0x607f0014,
  13620. 0x607f0012, 0x607f0012, 0x607f0011, 0x607f000f,
  13621. 0x607f000f, 0x607f000e, 0x607f000d, 0x607f000c,
  13622. 0x607f000c, 0x607f000b, 0x607f000b, 0x607f000a,
  13623. 0x607f0009, 0x607f0009, 0x607f0008, 0x607f0008,
  13624. 0x607f0008, 0x607f0007, 0x607f0007, 0x607f0006,
  13625. 0x607f0006, 0x607f0005, 0x607f0005, 0x607f0005,
  13626. 0x607f0005, 0x607f0005, 0x607f0004, 0x607f0004,
  13627. 0x607f0004, 0x607f0004, 0x607f0003, 0x607f0003,
  13628. 0x607f0003, 0x607f0003, 0x607f0002, 0x607f0002,
  13629. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13630. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13631. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13632. 0x607f0002, 0x607f0001, 0x607f0001, 0x607f0001,
  13633. 0x607f0001, 0x607f0001, 0x607f0001, 0x607f0001
  13634. };
  13635. static s8 nphy_papd_pga_gain_delta_ipa_2g[] = {
  13636. -114, -108, -98, -91, -84, -78, -70, -62,
  13637. -54, -46, -39, -31, -23, -15, -8, 0
  13638. };
  13639. static s8 nphy_papd_pga_gain_delta_ipa_5g[] = {
  13640. -100, -95, -89, -83, -77, -70, -63, -56,
  13641. -48, -41, -33, -25, -19, -12, -6, 0
  13642. };
  13643. static s16 nphy_papd_padgain_dlt_2g_2057rev3n4[] = {
  13644. -159, -113, -86, -72, -62, -54, -48, -43,
  13645. -39, -35, -31, -28, -25, -23, -20, -18,
  13646. -17, -15, -13, -11, -10, -8, -7, -6,
  13647. -5, -4, -3, -3, -2, -1, -1, 0
  13648. };
  13649. static s16 nphy_papd_padgain_dlt_2g_2057rev5[] = {
  13650. -109, -109, -82, -68, -58, -50, -44, -39,
  13651. -35, -31, -28, -26, -23, -21, -19, -17,
  13652. -16, -14, -13, -11, -10, -9, -8, -7,
  13653. -5, -5, -4, -3, -2, -1, -1, 0
  13654. };
  13655. static s16 nphy_papd_padgain_dlt_2g_2057rev7[] = {
  13656. -122, -122, -95, -80, -69, -61, -54, -49,
  13657. -43, -39, -35, -32, -28, -26, -23, -21,
  13658. -18, -16, -15, -13, -11, -10, -8, -7,
  13659. -6, -5, -4, -3, -2, -1, -1, 0
  13660. };
  13661. static s8 nphy_papd_pgagain_dlt_5g_2057[] = {
  13662. -107, -101, -92, -85, -78, -71, -62, -55,
  13663. -47, -39, -32, -24, -19, -12, -6, 0
  13664. };
  13665. static s8 nphy_papd_pgagain_dlt_5g_2057rev7[] = {
  13666. -110, -104, -95, -88, -81, -74, -66, -58,
  13667. -50, -44, -36, -28, -23, -15, -8, 0
  13668. };
  13669. static u8 pad_gain_codes_used_2057rev5[] = {
  13670. 20, 19, 18, 17, 16, 15, 14, 13, 12, 11,
  13671. 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
  13672. };
  13673. static u8 pad_gain_codes_used_2057rev7[] = {
  13674. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6,
  13675. 5, 4, 3, 2, 1
  13676. };
  13677. static u8 pad_all_gain_codes_2057[] = {
  13678. 31, 30, 29, 28, 27, 26, 25, 24, 23, 22,
  13679. 21, 20, 19, 18, 17, 16, 15, 14, 13, 12,
  13680. 11, 10, 9, 8, 7, 6, 5, 4, 3, 2,
  13681. 1, 0
  13682. };
  13683. static u8 pga_all_gain_codes_2057[] = {
  13684. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
  13685. };
  13686. static u32 nphy_papd_scaltbl[] = {
  13687. 0x0ae2002f, 0x0a3b0032, 0x09a70035, 0x09220038,
  13688. 0x0887003c, 0x081f003f, 0x07a20043, 0x07340047,
  13689. 0x06d2004b, 0x067a004f, 0x06170054, 0x05bf0059,
  13690. 0x0571005e, 0x051e0064, 0x04d3006a, 0x04910070,
  13691. 0x044c0077, 0x040f007e, 0x03d90085, 0x03a1008d,
  13692. 0x036f0095, 0x033d009e, 0x030b00a8, 0x02e000b2,
  13693. 0x02b900bc, 0x029200c7, 0x026d00d3, 0x024900e0,
  13694. 0x022900ed, 0x020a00fb, 0x01ec010a, 0x01d0011a,
  13695. 0x01b7012a, 0x019e013c, 0x0187014f, 0x01720162,
  13696. 0x015d0177, 0x0149018e, 0x013701a5, 0x012601be,
  13697. 0x011501d9, 0x010501f5, 0x00f70212, 0x00e90232,
  13698. 0x00dc0253, 0x00d00276, 0x00c4029c, 0x00b902c3,
  13699. 0x00af02ed, 0x00a5031a, 0x009c0349, 0x0093037a,
  13700. 0x008b03af, 0x008303e7, 0x007c0422, 0x00750461,
  13701. 0x006e04a3, 0x006804ea, 0x00620534, 0x005d0583,
  13702. 0x005805d7, 0x0053062f, 0x004e068d, 0x004a06f1
  13703. };
  13704. static u32 nphy_tpc_txgain_rev3[] = {
  13705. 0x1f410044, 0x1f410042, 0x1f410040, 0x1f41003e,
  13706. 0x1f41003c, 0x1f41003b, 0x1f410039, 0x1f410037,
  13707. 0x1e410044, 0x1e410042, 0x1e410040, 0x1e41003e,
  13708. 0x1e41003c, 0x1e41003b, 0x1e410039, 0x1e410037,
  13709. 0x1d410044, 0x1d410042, 0x1d410040, 0x1d41003e,
  13710. 0x1d41003c, 0x1d41003b, 0x1d410039, 0x1d410037,
  13711. 0x1c410044, 0x1c410042, 0x1c410040, 0x1c41003e,
  13712. 0x1c41003c, 0x1c41003b, 0x1c410039, 0x1c410037,
  13713. 0x1b410044, 0x1b410042, 0x1b410040, 0x1b41003e,
  13714. 0x1b41003c, 0x1b41003b, 0x1b410039, 0x1b410037,
  13715. 0x1a410044, 0x1a410042, 0x1a410040, 0x1a41003e,
  13716. 0x1a41003c, 0x1a41003b, 0x1a410039, 0x1a410037,
  13717. 0x19410044, 0x19410042, 0x19410040, 0x1941003e,
  13718. 0x1941003c, 0x1941003b, 0x19410039, 0x19410037,
  13719. 0x18410044, 0x18410042, 0x18410040, 0x1841003e,
  13720. 0x1841003c, 0x1841003b, 0x18410039, 0x18410037,
  13721. 0x17410044, 0x17410042, 0x17410040, 0x1741003e,
  13722. 0x1741003c, 0x1741003b, 0x17410039, 0x17410037,
  13723. 0x16410044, 0x16410042, 0x16410040, 0x1641003e,
  13724. 0x1641003c, 0x1641003b, 0x16410039, 0x16410037,
  13725. 0x15410044, 0x15410042, 0x15410040, 0x1541003e,
  13726. 0x1541003c, 0x1541003b, 0x15410039, 0x15410037,
  13727. 0x14410044, 0x14410042, 0x14410040, 0x1441003e,
  13728. 0x1441003c, 0x1441003b, 0x14410039, 0x14410037,
  13729. 0x13410044, 0x13410042, 0x13410040, 0x1341003e,
  13730. 0x1341003c, 0x1341003b, 0x13410039, 0x13410037,
  13731. 0x12410044, 0x12410042, 0x12410040, 0x1241003e,
  13732. 0x1241003c, 0x1241003b, 0x12410039, 0x12410037,
  13733. 0x11410044, 0x11410042, 0x11410040, 0x1141003e,
  13734. 0x1141003c, 0x1141003b, 0x11410039, 0x11410037,
  13735. 0x10410044, 0x10410042, 0x10410040, 0x1041003e,
  13736. 0x1041003c, 0x1041003b, 0x10410039, 0x10410037
  13737. };
  13738. static u32 nphy_tpc_txgain_HiPwrEPA[] = {
  13739. 0x0f410044, 0x0f410042, 0x0f410040, 0x0f41003e,
  13740. 0x0f41003c, 0x0f41003b, 0x0f410039, 0x0f410037,
  13741. 0x0e410044, 0x0e410042, 0x0e410040, 0x0e41003e,
  13742. 0x0e41003c, 0x0e41003b, 0x0e410039, 0x0e410037,
  13743. 0x0d410044, 0x0d410042, 0x0d410040, 0x0d41003e,
  13744. 0x0d41003c, 0x0d41003b, 0x0d410039, 0x0d410037,
  13745. 0x0c410044, 0x0c410042, 0x0c410040, 0x0c41003e,
  13746. 0x0c41003c, 0x0c41003b, 0x0c410039, 0x0c410037,
  13747. 0x0b410044, 0x0b410042, 0x0b410040, 0x0b41003e,
  13748. 0x0b41003c, 0x0b41003b, 0x0b410039, 0x0b410037,
  13749. 0x0a410044, 0x0a410042, 0x0a410040, 0x0a41003e,
  13750. 0x0a41003c, 0x0a41003b, 0x0a410039, 0x0a410037,
  13751. 0x09410044, 0x09410042, 0x09410040, 0x0941003e,
  13752. 0x0941003c, 0x0941003b, 0x09410039, 0x09410037,
  13753. 0x08410044, 0x08410042, 0x08410040, 0x0841003e,
  13754. 0x0841003c, 0x0841003b, 0x08410039, 0x08410037,
  13755. 0x07410044, 0x07410042, 0x07410040, 0x0741003e,
  13756. 0x0741003c, 0x0741003b, 0x07410039, 0x07410037,
  13757. 0x06410044, 0x06410042, 0x06410040, 0x0641003e,
  13758. 0x0641003c, 0x0641003b, 0x06410039, 0x06410037,
  13759. 0x05410044, 0x05410042, 0x05410040, 0x0541003e,
  13760. 0x0541003c, 0x0541003b, 0x05410039, 0x05410037,
  13761. 0x04410044, 0x04410042, 0x04410040, 0x0441003e,
  13762. 0x0441003c, 0x0441003b, 0x04410039, 0x04410037,
  13763. 0x03410044, 0x03410042, 0x03410040, 0x0341003e,
  13764. 0x0341003c, 0x0341003b, 0x03410039, 0x03410037,
  13765. 0x02410044, 0x02410042, 0x02410040, 0x0241003e,
  13766. 0x0241003c, 0x0241003b, 0x02410039, 0x02410037,
  13767. 0x01410044, 0x01410042, 0x01410040, 0x0141003e,
  13768. 0x0141003c, 0x0141003b, 0x01410039, 0x01410037,
  13769. 0x00410044, 0x00410042, 0x00410040, 0x0041003e,
  13770. 0x0041003c, 0x0041003b, 0x00410039, 0x00410037
  13771. };
  13772. static u32 nphy_tpc_txgain_epa_2057rev3[] = {
  13773. 0x80f90040, 0x80e10040, 0x80e1003c, 0x80c9003d,
  13774. 0x80b9003c, 0x80a9003d, 0x80a1003c, 0x8099003b,
  13775. 0x8091003b, 0x8089003a, 0x8081003a, 0x80790039,
  13776. 0x80710039, 0x8069003a, 0x8061003b, 0x8059003d,
  13777. 0x8051003f, 0x80490042, 0x8049003e, 0x8049003b,
  13778. 0x8041003e, 0x8041003b, 0x8039003e, 0x8039003b,
  13779. 0x80390038, 0x80390035, 0x8031003a, 0x80310036,
  13780. 0x80310033, 0x8029003a, 0x80290037, 0x80290034,
  13781. 0x80290031, 0x80210039, 0x80210036, 0x80210033,
  13782. 0x80210030, 0x8019003c, 0x80190039, 0x80190036,
  13783. 0x80190033, 0x80190030, 0x8019002d, 0x8019002b,
  13784. 0x80190028, 0x8011003a, 0x80110036, 0x80110033,
  13785. 0x80110030, 0x8011002e, 0x8011002b, 0x80110029,
  13786. 0x80110027, 0x80110024, 0x80110022, 0x80110020,
  13787. 0x8011001f, 0x8011001d, 0x8009003a, 0x80090037,
  13788. 0x80090034, 0x80090031, 0x8009002e, 0x8009002c,
  13789. 0x80090029, 0x80090027, 0x80090025, 0x80090023,
  13790. 0x80090021, 0x8009001f, 0x8009001d, 0x8009011d,
  13791. 0x8009021d, 0x8009031d, 0x8009041d, 0x8009051d,
  13792. 0x8009061d, 0x8009071d, 0x8009071d, 0x8009071d,
  13793. 0x8009071d, 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. };
  13806. static u32 nphy_tpc_txgain_epa_2057rev5[] = {
  13807. 0x10f90040, 0x10e10040, 0x10e1003c, 0x10c9003d,
  13808. 0x10b9003c, 0x10a9003d, 0x10a1003c, 0x1099003b,
  13809. 0x1091003b, 0x1089003a, 0x1081003a, 0x10790039,
  13810. 0x10710039, 0x1069003a, 0x1061003b, 0x1059003d,
  13811. 0x1051003f, 0x10490042, 0x1049003e, 0x1049003b,
  13812. 0x1041003e, 0x1041003b, 0x1039003e, 0x1039003b,
  13813. 0x10390038, 0x10390035, 0x1031003a, 0x10310036,
  13814. 0x10310033, 0x1029003a, 0x10290037, 0x10290034,
  13815. 0x10290031, 0x10210039, 0x10210036, 0x10210033,
  13816. 0x10210030, 0x1019003c, 0x10190039, 0x10190036,
  13817. 0x10190033, 0x10190030, 0x1019002d, 0x1019002b,
  13818. 0x10190028, 0x1011003a, 0x10110036, 0x10110033,
  13819. 0x10110030, 0x1011002e, 0x1011002b, 0x10110029,
  13820. 0x10110027, 0x10110024, 0x10110022, 0x10110020,
  13821. 0x1011001f, 0x1011001d, 0x1009003a, 0x10090037,
  13822. 0x10090034, 0x10090031, 0x1009002e, 0x1009002c,
  13823. 0x10090029, 0x10090027, 0x10090025, 0x10090023,
  13824. 0x10090021, 0x1009001f, 0x1009001d, 0x1009001b,
  13825. 0x1009001a, 0x10090018, 0x10090017, 0x10090016,
  13826. 0x10090015, 0x10090013, 0x10090012, 0x10090011,
  13827. 0x10090010, 0x1009000f, 0x1009000f, 0x1009000e,
  13828. 0x1009000d, 0x1009000c, 0x1009000c, 0x1009000b,
  13829. 0x1009000a, 0x1009000a, 0x10090009, 0x10090009,
  13830. 0x10090008, 0x10090008, 0x10090007, 0x10090007,
  13831. 0x10090007, 0x10090006, 0x10090006, 0x10090005,
  13832. 0x10090005, 0x10090005, 0x10090005, 0x10090004,
  13833. 0x10090004, 0x10090004, 0x10090004, 0x10090003,
  13834. 0x10090003, 0x10090003, 0x10090003, 0x10090003,
  13835. 0x10090003, 0x10090002, 0x10090002, 0x10090002,
  13836. 0x10090002, 0x10090002, 0x10090002, 0x10090002,
  13837. 0x10090002, 0x10090002, 0x10090001, 0x10090001,
  13838. 0x10090001, 0x10090001, 0x10090001, 0x10090001
  13839. };
  13840. static u32 nphy_tpc_5GHz_txgain_rev3[] = {
  13841. 0xcff70044, 0xcff70042, 0xcff70040, 0xcff7003e,
  13842. 0xcff7003c, 0xcff7003b, 0xcff70039, 0xcff70037,
  13843. 0xcef70044, 0xcef70042, 0xcef70040, 0xcef7003e,
  13844. 0xcef7003c, 0xcef7003b, 0xcef70039, 0xcef70037,
  13845. 0xcdf70044, 0xcdf70042, 0xcdf70040, 0xcdf7003e,
  13846. 0xcdf7003c, 0xcdf7003b, 0xcdf70039, 0xcdf70037,
  13847. 0xccf70044, 0xccf70042, 0xccf70040, 0xccf7003e,
  13848. 0xccf7003c, 0xccf7003b, 0xccf70039, 0xccf70037,
  13849. 0xcbf70044, 0xcbf70042, 0xcbf70040, 0xcbf7003e,
  13850. 0xcbf7003c, 0xcbf7003b, 0xcbf70039, 0xcbf70037,
  13851. 0xcaf70044, 0xcaf70042, 0xcaf70040, 0xcaf7003e,
  13852. 0xcaf7003c, 0xcaf7003b, 0xcaf70039, 0xcaf70037,
  13853. 0xc9f70044, 0xc9f70042, 0xc9f70040, 0xc9f7003e,
  13854. 0xc9f7003c, 0xc9f7003b, 0xc9f70039, 0xc9f70037,
  13855. 0xc8f70044, 0xc8f70042, 0xc8f70040, 0xc8f7003e,
  13856. 0xc8f7003c, 0xc8f7003b, 0xc8f70039, 0xc8f70037,
  13857. 0xc7f70044, 0xc7f70042, 0xc7f70040, 0xc7f7003e,
  13858. 0xc7f7003c, 0xc7f7003b, 0xc7f70039, 0xc7f70037,
  13859. 0xc6f70044, 0xc6f70042, 0xc6f70040, 0xc6f7003e,
  13860. 0xc6f7003c, 0xc6f7003b, 0xc6f70039, 0xc6f70037,
  13861. 0xc5f70044, 0xc5f70042, 0xc5f70040, 0xc5f7003e,
  13862. 0xc5f7003c, 0xc5f7003b, 0xc5f70039, 0xc5f70037,
  13863. 0xc4f70044, 0xc4f70042, 0xc4f70040, 0xc4f7003e,
  13864. 0xc4f7003c, 0xc4f7003b, 0xc4f70039, 0xc4f70037,
  13865. 0xc3f70044, 0xc3f70042, 0xc3f70040, 0xc3f7003e,
  13866. 0xc3f7003c, 0xc3f7003b, 0xc3f70039, 0xc3f70037,
  13867. 0xc2f70044, 0xc2f70042, 0xc2f70040, 0xc2f7003e,
  13868. 0xc2f7003c, 0xc2f7003b, 0xc2f70039, 0xc2f70037,
  13869. 0xc1f70044, 0xc1f70042, 0xc1f70040, 0xc1f7003e,
  13870. 0xc1f7003c, 0xc1f7003b, 0xc1f70039, 0xc1f70037,
  13871. 0xc0f70044, 0xc0f70042, 0xc0f70040, 0xc0f7003e,
  13872. 0xc0f7003c, 0xc0f7003b, 0xc0f70039, 0xc0f70037
  13873. };
  13874. static u32 nphy_tpc_5GHz_txgain_rev4[] = {
  13875. 0x2ff20044, 0x2ff20042, 0x2ff20040, 0x2ff2003e,
  13876. 0x2ff2003c, 0x2ff2003b, 0x2ff20039, 0x2ff20037,
  13877. 0x2ef20044, 0x2ef20042, 0x2ef20040, 0x2ef2003e,
  13878. 0x2ef2003c, 0x2ef2003b, 0x2ef20039, 0x2ef20037,
  13879. 0x2df20044, 0x2df20042, 0x2df20040, 0x2df2003e,
  13880. 0x2df2003c, 0x2df2003b, 0x2df20039, 0x2df20037,
  13881. 0x2cf20044, 0x2cf20042, 0x2cf20040, 0x2cf2003e,
  13882. 0x2cf2003c, 0x2cf2003b, 0x2cf20039, 0x2cf20037,
  13883. 0x2bf20044, 0x2bf20042, 0x2bf20040, 0x2bf2003e,
  13884. 0x2bf2003c, 0x2bf2003b, 0x2bf20039, 0x2bf20037,
  13885. 0x2af20044, 0x2af20042, 0x2af20040, 0x2af2003e,
  13886. 0x2af2003c, 0x2af2003b, 0x2af20039, 0x2af20037,
  13887. 0x29f20044, 0x29f20042, 0x29f20040, 0x29f2003e,
  13888. 0x29f2003c, 0x29f2003b, 0x29f20039, 0x29f20037,
  13889. 0x28f20044, 0x28f20042, 0x28f20040, 0x28f2003e,
  13890. 0x28f2003c, 0x28f2003b, 0x28f20039, 0x28f20037,
  13891. 0x27f20044, 0x27f20042, 0x27f20040, 0x27f2003e,
  13892. 0x27f2003c, 0x27f2003b, 0x27f20039, 0x27f20037,
  13893. 0x26f20044, 0x26f20042, 0x26f20040, 0x26f2003e,
  13894. 0x26f2003c, 0x26f2003b, 0x26f20039, 0x26f20037,
  13895. 0x25f20044, 0x25f20042, 0x25f20040, 0x25f2003e,
  13896. 0x25f2003c, 0x25f2003b, 0x25f20039, 0x25f20037,
  13897. 0x24f20044, 0x24f20042, 0x24f20040, 0x24f2003e,
  13898. 0x24f2003c, 0x24f2003b, 0x24f20039, 0x24f20038,
  13899. 0x23f20041, 0x23f20040, 0x23f2003f, 0x23f2003e,
  13900. 0x23f2003c, 0x23f2003b, 0x23f20039, 0x23f20037,
  13901. 0x22f20044, 0x22f20042, 0x22f20040, 0x22f2003e,
  13902. 0x22f2003c, 0x22f2003b, 0x22f20039, 0x22f20037,
  13903. 0x21f20044, 0x21f20042, 0x21f20040, 0x21f2003e,
  13904. 0x21f2003c, 0x21f2003b, 0x21f20039, 0x21f20037,
  13905. 0x20d20043, 0x20d20041, 0x20d2003e, 0x20d2003c,
  13906. 0x20d2003a, 0x20d20038, 0x20d20036, 0x20d20034
  13907. };
  13908. static u32 nphy_tpc_5GHz_txgain_rev5[] = {
  13909. 0x0f62004a, 0x0f620048, 0x0f620046, 0x0f620044,
  13910. 0x0f620042, 0x0f620040, 0x0f62003e, 0x0f62003c,
  13911. 0x0e620044, 0x0e620042, 0x0e620040, 0x0e62003e,
  13912. 0x0e62003c, 0x0e62003d, 0x0e62003b, 0x0e62003a,
  13913. 0x0d620043, 0x0d620041, 0x0d620040, 0x0d62003e,
  13914. 0x0d62003d, 0x0d62003c, 0x0d62003b, 0x0d62003a,
  13915. 0x0c620041, 0x0c620040, 0x0c62003f, 0x0c62003e,
  13916. 0x0c62003c, 0x0c62003b, 0x0c620039, 0x0c620037,
  13917. 0x0b620046, 0x0b620044, 0x0b620042, 0x0b620040,
  13918. 0x0b62003e, 0x0b62003c, 0x0b62003b, 0x0b62003a,
  13919. 0x0a620041, 0x0a620040, 0x0a62003e, 0x0a62003c,
  13920. 0x0a62003b, 0x0a62003a, 0x0a620039, 0x0a620038,
  13921. 0x0962003e, 0x0962003d, 0x0962003c, 0x0962003b,
  13922. 0x09620039, 0x09620037, 0x09620035, 0x09620033,
  13923. 0x08620044, 0x08620042, 0x08620040, 0x0862003e,
  13924. 0x0862003c, 0x0862003b, 0x0862003a, 0x08620039,
  13925. 0x07620043, 0x07620042, 0x07620040, 0x0762003f,
  13926. 0x0762003d, 0x0762003b, 0x0762003a, 0x07620039,
  13927. 0x0662003e, 0x0662003d, 0x0662003c, 0x0662003b,
  13928. 0x06620039, 0x06620037, 0x06620035, 0x06620033,
  13929. 0x05620046, 0x05620044, 0x05620042, 0x05620040,
  13930. 0x0562003e, 0x0562003c, 0x0562003b, 0x05620039,
  13931. 0x04620044, 0x04620042, 0x04620040, 0x0462003e,
  13932. 0x0462003c, 0x0462003b, 0x04620039, 0x04620038,
  13933. 0x0362003c, 0x0362003b, 0x0362003a, 0x03620039,
  13934. 0x03620038, 0x03620037, 0x03620035, 0x03620033,
  13935. 0x0262004c, 0x0262004a, 0x02620048, 0x02620047,
  13936. 0x02620046, 0x02620044, 0x02620043, 0x02620042,
  13937. 0x0162004a, 0x01620048, 0x01620046, 0x01620044,
  13938. 0x01620043, 0x01620042, 0x01620041, 0x01620040,
  13939. 0x00620042, 0x00620040, 0x0062003e, 0x0062003c,
  13940. 0x0062003b, 0x00620039, 0x00620037, 0x00620035
  13941. };
  13942. static u32 nphy_tpc_5GHz_txgain_HiPwrEPA[] = {
  13943. 0x2ff10044, 0x2ff10042, 0x2ff10040, 0x2ff1003e,
  13944. 0x2ff1003c, 0x2ff1003b, 0x2ff10039, 0x2ff10037,
  13945. 0x2ef10044, 0x2ef10042, 0x2ef10040, 0x2ef1003e,
  13946. 0x2ef1003c, 0x2ef1003b, 0x2ef10039, 0x2ef10037,
  13947. 0x2df10044, 0x2df10042, 0x2df10040, 0x2df1003e,
  13948. 0x2df1003c, 0x2df1003b, 0x2df10039, 0x2df10037,
  13949. 0x2cf10044, 0x2cf10042, 0x2cf10040, 0x2cf1003e,
  13950. 0x2cf1003c, 0x2cf1003b, 0x2cf10039, 0x2cf10037,
  13951. 0x2bf10044, 0x2bf10042, 0x2bf10040, 0x2bf1003e,
  13952. 0x2bf1003c, 0x2bf1003b, 0x2bf10039, 0x2bf10037,
  13953. 0x2af10044, 0x2af10042, 0x2af10040, 0x2af1003e,
  13954. 0x2af1003c, 0x2af1003b, 0x2af10039, 0x2af10037,
  13955. 0x29f10044, 0x29f10042, 0x29f10040, 0x29f1003e,
  13956. 0x29f1003c, 0x29f1003b, 0x29f10039, 0x29f10037,
  13957. 0x28f10044, 0x28f10042, 0x28f10040, 0x28f1003e,
  13958. 0x28f1003c, 0x28f1003b, 0x28f10039, 0x28f10037,
  13959. 0x27f10044, 0x27f10042, 0x27f10040, 0x27f1003e,
  13960. 0x27f1003c, 0x27f1003b, 0x27f10039, 0x27f10037,
  13961. 0x26f10044, 0x26f10042, 0x26f10040, 0x26f1003e,
  13962. 0x26f1003c, 0x26f1003b, 0x26f10039, 0x26f10037,
  13963. 0x25f10044, 0x25f10042, 0x25f10040, 0x25f1003e,
  13964. 0x25f1003c, 0x25f1003b, 0x25f10039, 0x25f10037,
  13965. 0x24f10044, 0x24f10042, 0x24f10040, 0x24f1003e,
  13966. 0x24f1003c, 0x24f1003b, 0x24f10039, 0x24f10038,
  13967. 0x23f10041, 0x23f10040, 0x23f1003f, 0x23f1003e,
  13968. 0x23f1003c, 0x23f1003b, 0x23f10039, 0x23f10037,
  13969. 0x22f10044, 0x22f10042, 0x22f10040, 0x22f1003e,
  13970. 0x22f1003c, 0x22f1003b, 0x22f10039, 0x22f10037,
  13971. 0x21f10044, 0x21f10042, 0x21f10040, 0x21f1003e,
  13972. 0x21f1003c, 0x21f1003b, 0x21f10039, 0x21f10037,
  13973. 0x20d10043, 0x20d10041, 0x20d1003e, 0x20d1003c,
  13974. 0x20d1003a, 0x20d10038, 0x20d10036, 0x20d10034
  13975. };
  13976. static u8 ant_sw_ctrl_tbl_rev8_2o3[] = { 0x14, 0x18 };
  13977. static u8 ant_sw_ctrl_tbl_rev8[] = { 0x4, 0x8, 0x4, 0x8, 0x11, 0x12 };
  13978. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core0[] = {
  13979. 0x09, 0x0a, 0x15, 0x16, 0x09, 0x0a
  13980. };
  13981. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core1[] = {
  13982. 0x09, 0x0a, 0x09, 0x0a, 0x15, 0x16
  13983. };
  13984. bool wlc_phy_bist_check_phy(struct brcms_phy_pub *pih)
  13985. {
  13986. struct brcms_phy *pi = (struct brcms_phy *) pih;
  13987. u32 phybist0, phybist1, phybist2, phybist3, phybist4;
  13988. if (NREV_GE(pi->pubpi.phy_rev, 16))
  13989. return true;
  13990. phybist0 = read_phy_reg(pi, 0x0e);
  13991. phybist1 = read_phy_reg(pi, 0x0f);
  13992. phybist2 = read_phy_reg(pi, 0xea);
  13993. phybist3 = read_phy_reg(pi, 0xeb);
  13994. phybist4 = read_phy_reg(pi, 0x156);
  13995. if ((phybist0 == 0) && (phybist1 == 0x4000) && (phybist2 == 0x1fe0) &&
  13996. (phybist3 == 0) && (phybist4 == 0))
  13997. return true;
  13998. return false;
  13999. }
  14000. static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi)
  14001. {
  14002. u16 addr, val;
  14003. val = 0x1e1f;
  14004. for (addr = (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT);
  14005. addr <= (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT_END); addr++) {
  14006. write_phy_reg(pi, addr, val);
  14007. if (addr == (NPHY_TO_BPHY_OFF + 0x97))
  14008. val = 0x3e3f;
  14009. else
  14010. val -= 0x0202;
  14011. }
  14012. write_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_STEP, 0x668);
  14013. }
  14014. void
  14015. wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14016. u32 width, const void *data)
  14017. {
  14018. struct phytbl_info tbl;
  14019. tbl.tbl_id = id;
  14020. tbl.tbl_len = len;
  14021. tbl.tbl_offset = offset;
  14022. tbl.tbl_width = width;
  14023. tbl.tbl_ptr = data;
  14024. wlc_phy_write_table_nphy(pi, &tbl);
  14025. }
  14026. void
  14027. wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14028. u32 width, void *data)
  14029. {
  14030. struct phytbl_info tbl;
  14031. tbl.tbl_id = id;
  14032. tbl.tbl_len = len;
  14033. tbl.tbl_offset = offset;
  14034. tbl.tbl_width = width;
  14035. tbl.tbl_ptr = data;
  14036. wlc_phy_read_table_nphy(pi, &tbl);
  14037. }
  14038. static void
  14039. wlc_phy_static_table_download_nphy(struct brcms_phy *pi)
  14040. {
  14041. uint idx;
  14042. if (NREV_GE(pi->pubpi.phy_rev, 16)) {
  14043. for (idx = 0; idx < mimophytbl_info_sz_rev16; idx++)
  14044. wlc_phy_write_table_nphy(pi,
  14045. &mimophytbl_info_rev16[idx]);
  14046. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14047. for (idx = 0; idx < mimophytbl_info_sz_rev7; idx++)
  14048. wlc_phy_write_table_nphy(pi,
  14049. &mimophytbl_info_rev7[idx]);
  14050. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14051. for (idx = 0; idx < mimophytbl_info_sz_rev3; idx++)
  14052. wlc_phy_write_table_nphy(pi,
  14053. &mimophytbl_info_rev3[idx]);
  14054. } else {
  14055. for (idx = 0; idx < mimophytbl_info_sz_rev0; idx++)
  14056. wlc_phy_write_table_nphy(pi,
  14057. &mimophytbl_info_rev0[idx]);
  14058. }
  14059. }
  14060. static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi)
  14061. {
  14062. uint idx = 0;
  14063. u8 antswctrllut;
  14064. if (pi->phy_init_por)
  14065. wlc_phy_static_table_download_nphy(pi);
  14066. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14067. antswctrllut = CHSPEC_IS2G(pi->radio_chanspec) ?
  14068. pi->srom_fem2g.antswctrllut : pi->srom_fem5g.
  14069. antswctrllut;
  14070. switch (antswctrllut) {
  14071. case 0:
  14072. break;
  14073. case 1:
  14074. if (pi->aa2g == 7)
  14075. wlc_phy_table_write_nphy(
  14076. pi,
  14077. NPHY_TBL_ID_ANTSWCTRLLUT,
  14078. 2, 0x21, 8,
  14079. &ant_sw_ctrl_tbl_rev8_2o3[0]);
  14080. else
  14081. wlc_phy_table_write_nphy(
  14082. pi,
  14083. NPHY_TBL_ID_ANTSWCTRLLUT,
  14084. 2, 0x21, 8,
  14085. &ant_sw_ctrl_tbl_rev8
  14086. [0]);
  14087. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14088. 2, 0x25, 8,
  14089. &ant_sw_ctrl_tbl_rev8[2]);
  14090. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14091. 2, 0x29, 8,
  14092. &ant_sw_ctrl_tbl_rev8[4]);
  14093. break;
  14094. case 2:
  14095. wlc_phy_table_write_nphy(
  14096. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14097. 2, 0x1, 8,
  14098. &ant_sw_ctrl_tbl_rev8_2057v7_core0[0]);
  14099. wlc_phy_table_write_nphy(
  14100. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14101. 2, 0x5, 8,
  14102. &ant_sw_ctrl_tbl_rev8_2057v7_core0[2]);
  14103. wlc_phy_table_write_nphy(
  14104. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14105. 2, 0x9, 8,
  14106. &ant_sw_ctrl_tbl_rev8_2057v7_core0[4]);
  14107. wlc_phy_table_write_nphy(
  14108. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14109. 2, 0x21, 8,
  14110. &ant_sw_ctrl_tbl_rev8_2057v7_core1[0]);
  14111. wlc_phy_table_write_nphy(
  14112. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14113. 2, 0x25, 8,
  14114. &ant_sw_ctrl_tbl_rev8_2057v7_core1[2]);
  14115. wlc_phy_table_write_nphy(
  14116. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14117. 2, 0x29, 8,
  14118. &ant_sw_ctrl_tbl_rev8_2057v7_core1[4]);
  14119. break;
  14120. default:
  14121. break;
  14122. }
  14123. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14124. for (idx = 0; idx < mimophytbl_info_sz_rev3_volatile; idx++) {
  14125. if (idx == ANT_SWCTRL_TBL_REV3_IDX) {
  14126. antswctrllut =
  14127. CHSPEC_IS2G(pi->radio_chanspec) ?
  14128. pi->srom_fem2g.antswctrllut :
  14129. pi->srom_fem5g.antswctrllut;
  14130. switch (antswctrllut) {
  14131. case 0:
  14132. wlc_phy_write_table_nphy(
  14133. pi,
  14134. &mimophytbl_info_rev3_volatile
  14135. [idx]);
  14136. break;
  14137. case 1:
  14138. wlc_phy_write_table_nphy(
  14139. pi,
  14140. &mimophytbl_info_rev3_volatile1
  14141. [idx]);
  14142. break;
  14143. case 2:
  14144. wlc_phy_write_table_nphy(
  14145. pi,
  14146. &mimophytbl_info_rev3_volatile2
  14147. [idx]);
  14148. break;
  14149. case 3:
  14150. wlc_phy_write_table_nphy(
  14151. pi,
  14152. &mimophytbl_info_rev3_volatile3
  14153. [idx]);
  14154. break;
  14155. default:
  14156. break;
  14157. }
  14158. } else {
  14159. wlc_phy_write_table_nphy(
  14160. pi,
  14161. &mimophytbl_info_rev3_volatile[idx]);
  14162. }
  14163. }
  14164. } else {
  14165. for (idx = 0; idx < mimophytbl_info_sz_rev0_volatile; idx++)
  14166. wlc_phy_write_table_nphy(pi,
  14167. &mimophytbl_info_rev0_volatile
  14168. [idx]);
  14169. }
  14170. }
  14171. static void
  14172. wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay)
  14173. {
  14174. write_phy_reg(pi, 0x77, holdoff);
  14175. write_phy_reg(pi, 0xb4, delay);
  14176. }
  14177. void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs)
  14178. {
  14179. u16 holdoff, delay;
  14180. if (rifs) {
  14181. holdoff = 0x10;
  14182. delay = 0x258;
  14183. } else {
  14184. holdoff = 0x15;
  14185. delay = 0x320;
  14186. }
  14187. wlc_phy_write_txmacreg_nphy(pi, holdoff, delay);
  14188. if (pi && pi->sh && (pi->sh->_rifs_phy != rifs))
  14189. pi->sh->_rifs_phy = rifs;
  14190. }
  14191. static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi)
  14192. {
  14193. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14194. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14195. pi->phy_5g_pwrgain = true;
  14196. return;
  14197. }
  14198. pi->nphy_txpwrctrl = PHY_TPC_HW_OFF;
  14199. pi->phy_5g_pwrgain = false;
  14200. if ((pi->sh->boardflags2 & BFL2_TXPWRCTRL_EN) &&
  14201. NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4))
  14202. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14203. else if ((pi->sh->sromrev >= 4)
  14204. && (pi->sh->boardflags2 & BFL2_5G_PWRGAIN))
  14205. pi->phy_5g_pwrgain = true;
  14206. }
  14207. static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi)
  14208. {
  14209. u16 bw40po, cddpo, stbcpo, bwduppo;
  14210. uint band_num;
  14211. struct phy_shim_info *shim = pi->sh->physhim;
  14212. if (pi->sh->sromrev >= 9)
  14213. return;
  14214. bw40po = (u16) wlapi_getintvar(shim, BRCMS_SROM_BW40PO);
  14215. pi->bw402gpo = bw40po & 0xf;
  14216. pi->bw405gpo = (bw40po & 0xf0) >> 4;
  14217. pi->bw405glpo = (bw40po & 0xf00) >> 8;
  14218. pi->bw405ghpo = (bw40po & 0xf000) >> 12;
  14219. cddpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_CDDPO);
  14220. pi->cdd2gpo = cddpo & 0xf;
  14221. pi->cdd5gpo = (cddpo & 0xf0) >> 4;
  14222. pi->cdd5glpo = (cddpo & 0xf00) >> 8;
  14223. pi->cdd5ghpo = (cddpo & 0xf000) >> 12;
  14224. stbcpo = (u16) wlapi_getintvar(shim, BRCMS_SROM_STBCPO);
  14225. pi->stbc2gpo = stbcpo & 0xf;
  14226. pi->stbc5gpo = (stbcpo & 0xf0) >> 4;
  14227. pi->stbc5glpo = (stbcpo & 0xf00) >> 8;
  14228. pi->stbc5ghpo = (stbcpo & 0xf000) >> 12;
  14229. bwduppo = (u16) wlapi_getintvar(shim, BRCMS_SROM_BWDUPPO);
  14230. pi->bwdup2gpo = bwduppo & 0xf;
  14231. pi->bwdup5gpo = (bwduppo & 0xf0) >> 4;
  14232. pi->bwdup5glpo = (bwduppo & 0xf00) >> 8;
  14233. pi->bwdup5ghpo = (bwduppo & 0xf000) >> 12;
  14234. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  14235. band_num++) {
  14236. switch (band_num) {
  14237. case 0:
  14238. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_2g =
  14239. (s8) wlapi_getintvar(shim,
  14240. BRCMS_SROM_MAXP2GA0);
  14241. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_2g =
  14242. (s8) wlapi_getintvar(shim,
  14243. BRCMS_SROM_MAXP2GA1);
  14244. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_a1 =
  14245. (s16) wlapi_getintvar(shim,
  14246. BRCMS_SROM_PA2GW0A0);
  14247. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_a1 =
  14248. (s16) wlapi_getintvar(shim,
  14249. BRCMS_SROM_PA2GW0A1);
  14250. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b0 =
  14251. (s16) wlapi_getintvar(shim,
  14252. BRCMS_SROM_PA2GW1A0);
  14253. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b0 =
  14254. (s16) wlapi_getintvar(shim,
  14255. BRCMS_SROM_PA2GW1A1);
  14256. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b1 =
  14257. (s16) wlapi_getintvar(shim,
  14258. BRCMS_SROM_PA2GW2A0);
  14259. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b1 =
  14260. (s16) wlapi_getintvar(shim,
  14261. BRCMS_SROM_PA2GW2A1);
  14262. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_2g =
  14263. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA0);
  14264. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_2g =
  14265. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT2GA1);
  14266. pi->cck2gpo = (u16) wlapi_getintvar(shim,
  14267. BRCMS_SROM_CCK2GPO);
  14268. pi->ofdm2gpo =
  14269. (u32) wlapi_getintvar(shim,
  14270. BRCMS_SROM_OFDM2GPO);
  14271. pi->mcs2gpo[0] =
  14272. (u16) wlapi_getintvar(shim,
  14273. BRCMS_SROM_MCS2GPO0);
  14274. pi->mcs2gpo[1] =
  14275. (u16) wlapi_getintvar(shim,
  14276. BRCMS_SROM_MCS2GPO1);
  14277. pi->mcs2gpo[2] =
  14278. (u16) wlapi_getintvar(shim,
  14279. BRCMS_SROM_MCS2GPO2);
  14280. pi->mcs2gpo[3] =
  14281. (u16) wlapi_getintvar(shim,
  14282. BRCMS_SROM_MCS2GPO3);
  14283. pi->mcs2gpo[4] =
  14284. (u16) wlapi_getintvar(shim,
  14285. BRCMS_SROM_MCS2GPO4);
  14286. pi->mcs2gpo[5] =
  14287. (u16) wlapi_getintvar(shim,
  14288. BRCMS_SROM_MCS2GPO5);
  14289. pi->mcs2gpo[6] =
  14290. (u16) wlapi_getintvar(shim,
  14291. BRCMS_SROM_MCS2GPO6);
  14292. pi->mcs2gpo[7] =
  14293. (u16) wlapi_getintvar(shim,
  14294. BRCMS_SROM_MCS2GPO7);
  14295. break;
  14296. case 1:
  14297. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_5gm =
  14298. (s8) wlapi_getintvar(shim, BRCMS_SROM_MAXP5GA0);
  14299. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_5gm =
  14300. (s8) wlapi_getintvar(shim,
  14301. BRCMS_SROM_MAXP5GA1);
  14302. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_a1 =
  14303. (s16) wlapi_getintvar(shim,
  14304. BRCMS_SROM_PA5GW0A0);
  14305. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_a1 =
  14306. (s16) wlapi_getintvar(shim,
  14307. BRCMS_SROM_PA5GW0A1);
  14308. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b0 =
  14309. (s16) wlapi_getintvar(shim,
  14310. BRCMS_SROM_PA5GW1A0);
  14311. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b0 =
  14312. (s16) wlapi_getintvar(shim,
  14313. BRCMS_SROM_PA5GW1A1);
  14314. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b1 =
  14315. (s16) wlapi_getintvar(shim,
  14316. BRCMS_SROM_PA5GW2A0);
  14317. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b1 =
  14318. (s16) wlapi_getintvar(shim,
  14319. BRCMS_SROM_PA5GW2A1);
  14320. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_5gm =
  14321. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA0);
  14322. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_5gm =
  14323. (s8) wlapi_getintvar(shim, BRCMS_SROM_ITT5GA1);
  14324. pi->ofdm5gpo =
  14325. (u32) wlapi_getintvar(shim,
  14326. BRCMS_SROM_OFDM5GPO);
  14327. pi->mcs5gpo[0] =
  14328. (u16) wlapi_getintvar(shim,
  14329. BRCMS_SROM_MCS5GPO0);
  14330. pi->mcs5gpo[1] =
  14331. (u16) wlapi_getintvar(shim,
  14332. BRCMS_SROM_MCS5GPO1);
  14333. pi->mcs5gpo[2] =
  14334. (u16) wlapi_getintvar(shim,
  14335. BRCMS_SROM_MCS5GPO2);
  14336. pi->mcs5gpo[3] =
  14337. (u16) wlapi_getintvar(shim,
  14338. BRCMS_SROM_MCS5GPO3);
  14339. pi->mcs5gpo[4] =
  14340. (u16) wlapi_getintvar(shim,
  14341. BRCMS_SROM_MCS5GPO4);
  14342. pi->mcs5gpo[5] =
  14343. (u16) wlapi_getintvar(shim,
  14344. BRCMS_SROM_MCS5GPO5);
  14345. pi->mcs5gpo[6] =
  14346. (u16) wlapi_getintvar(shim,
  14347. BRCMS_SROM_MCS5GPO6);
  14348. pi->mcs5gpo[7] =
  14349. (u16) wlapi_getintvar(shim,
  14350. BRCMS_SROM_MCS5GPO7);
  14351. break;
  14352. case 2:
  14353. pi->nphy_pwrctrl_info[0].max_pwr_5gl =
  14354. (s8) wlapi_getintvar(shim,
  14355. BRCMS_SROM_MAXP5GLA0);
  14356. pi->nphy_pwrctrl_info[1].max_pwr_5gl =
  14357. (s8) wlapi_getintvar(shim,
  14358. BRCMS_SROM_MAXP5GLA1);
  14359. pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1 =
  14360. (s16) wlapi_getintvar(shim,
  14361. BRCMS_SROM_PA5GLW0A0);
  14362. pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1 =
  14363. (s16) wlapi_getintvar(shim,
  14364. BRCMS_SROM_PA5GLW0A1);
  14365. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0 =
  14366. (s16) wlapi_getintvar(shim,
  14367. BRCMS_SROM_PA5GLW1A0);
  14368. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0 =
  14369. (s16) wlapi_getintvar(shim,
  14370. BRCMS_SROM_PA5GLW1A1);
  14371. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1 =
  14372. (s16) wlapi_getintvar(shim,
  14373. BRCMS_SROM_PA5GLW2A0);
  14374. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1 =
  14375. (s16) wlapi_getintvar(shim,
  14376. BRCMS_SROM_PA5GLW2A1);
  14377. pi->nphy_pwrctrl_info[0].idle_targ_5gl = 0;
  14378. pi->nphy_pwrctrl_info[1].idle_targ_5gl = 0;
  14379. pi->ofdm5glpo =
  14380. (u32) wlapi_getintvar(shim,
  14381. BRCMS_SROM_OFDM5GLPO);
  14382. pi->mcs5glpo[0] =
  14383. (u16) wlapi_getintvar(shim,
  14384. BRCMS_SROM_MCS5GLPO0);
  14385. pi->mcs5glpo[1] =
  14386. (u16) wlapi_getintvar(shim,
  14387. BRCMS_SROM_MCS5GLPO1);
  14388. pi->mcs5glpo[2] =
  14389. (u16) wlapi_getintvar(shim,
  14390. BRCMS_SROM_MCS5GLPO2);
  14391. pi->mcs5glpo[3] =
  14392. (u16) wlapi_getintvar(shim,
  14393. BRCMS_SROM_MCS5GLPO3);
  14394. pi->mcs5glpo[4] =
  14395. (u16) wlapi_getintvar(shim,
  14396. BRCMS_SROM_MCS5GLPO4);
  14397. pi->mcs5glpo[5] =
  14398. (u16) wlapi_getintvar(shim,
  14399. BRCMS_SROM_MCS5GLPO5);
  14400. pi->mcs5glpo[6] =
  14401. (u16) wlapi_getintvar(shim,
  14402. BRCMS_SROM_MCS5GLPO6);
  14403. pi->mcs5glpo[7] =
  14404. (u16) wlapi_getintvar(shim,
  14405. BRCMS_SROM_MCS5GLPO7);
  14406. break;
  14407. case 3:
  14408. pi->nphy_pwrctrl_info[0].max_pwr_5gh =
  14409. (s8) wlapi_getintvar(shim,
  14410. BRCMS_SROM_MAXP5GHA0);
  14411. pi->nphy_pwrctrl_info[1].max_pwr_5gh =
  14412. (s8) wlapi_getintvar(shim,
  14413. BRCMS_SROM_MAXP5GHA1);
  14414. pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1 =
  14415. (s16) wlapi_getintvar(shim,
  14416. BRCMS_SROM_PA5GHW0A0);
  14417. pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1 =
  14418. (s16) wlapi_getintvar(shim,
  14419. BRCMS_SROM_PA5GHW0A1);
  14420. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0 =
  14421. (s16) wlapi_getintvar(shim,
  14422. BRCMS_SROM_PA5GHW1A0);
  14423. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0 =
  14424. (s16) wlapi_getintvar(shim,
  14425. BRCMS_SROM_PA5GHW1A1);
  14426. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1 =
  14427. (s16) wlapi_getintvar(shim,
  14428. BRCMS_SROM_PA5GHW2A0);
  14429. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1 =
  14430. (s16) wlapi_getintvar(shim,
  14431. BRCMS_SROM_PA5GHW2A1);
  14432. pi->nphy_pwrctrl_info[0].idle_targ_5gh = 0;
  14433. pi->nphy_pwrctrl_info[1].idle_targ_5gh = 0;
  14434. pi->ofdm5ghpo =
  14435. (u32) wlapi_getintvar(shim,
  14436. BRCMS_SROM_OFDM5GHPO);
  14437. pi->mcs5ghpo[0] =
  14438. (u16) wlapi_getintvar(shim,
  14439. BRCMS_SROM_MCS5GHPO0);
  14440. pi->mcs5ghpo[1] =
  14441. (u16) wlapi_getintvar(shim,
  14442. BRCMS_SROM_MCS5GHPO1);
  14443. pi->mcs5ghpo[2] =
  14444. (u16) wlapi_getintvar(shim,
  14445. BRCMS_SROM_MCS5GHPO2);
  14446. pi->mcs5ghpo[3] =
  14447. (u16) wlapi_getintvar(shim,
  14448. BRCMS_SROM_MCS5GHPO3);
  14449. pi->mcs5ghpo[4] =
  14450. (u16) wlapi_getintvar(shim,
  14451. BRCMS_SROM_MCS5GHPO4);
  14452. pi->mcs5ghpo[5] =
  14453. (u16) wlapi_getintvar(shim,
  14454. BRCMS_SROM_MCS5GHPO5);
  14455. pi->mcs5ghpo[6] =
  14456. (u16) wlapi_getintvar(shim,
  14457. BRCMS_SROM_MCS5GHPO6);
  14458. pi->mcs5ghpo[7] =
  14459. (u16) wlapi_getintvar(shim,
  14460. BRCMS_SROM_MCS5GHPO7);
  14461. break;
  14462. }
  14463. }
  14464. wlc_phy_txpwr_apply_nphy(pi);
  14465. }
  14466. static bool wlc_phy_txpwr_srom_read_nphy(struct brcms_phy *pi)
  14467. {
  14468. struct phy_shim_info *shim = pi->sh->physhim;
  14469. pi->antswitch = (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWITCH);
  14470. pi->aa2g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA2G);
  14471. pi->aa5g = (u8) wlapi_getintvar(shim, BRCMS_SROM_AA5G);
  14472. pi->srom_fem2g.tssipos = (u8) wlapi_getintvar(shim,
  14473. BRCMS_SROM_TSSIPOS2G);
  14474. pi->srom_fem2g.extpagain = (u8) wlapi_getintvar(shim,
  14475. BRCMS_SROM_EXTPAGAIN2G);
  14476. pi->srom_fem2g.pdetrange = (u8) wlapi_getintvar(shim,
  14477. BRCMS_SROM_PDETRANGE2G);
  14478. pi->srom_fem2g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO2G);
  14479. pi->srom_fem2g.antswctrllut =
  14480. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14481. pi->srom_fem5g.tssipos = (u8) wlapi_getintvar(shim,
  14482. BRCMS_SROM_TSSIPOS5G);
  14483. pi->srom_fem5g.extpagain = (u8) wlapi_getintvar(shim,
  14484. BRCMS_SROM_EXTPAGAIN5G);
  14485. pi->srom_fem5g.pdetrange = (u8) wlapi_getintvar(shim,
  14486. BRCMS_SROM_PDETRANGE5G);
  14487. pi->srom_fem5g.triso = (u8) wlapi_getintvar(shim, BRCMS_SROM_TRISO5G);
  14488. if (wlapi_getvar(shim, BRCMS_SROM_ANTSWCTL5G))
  14489. pi->srom_fem5g.antswctrllut =
  14490. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL5G);
  14491. else
  14492. pi->srom_fem5g.antswctrllut =
  14493. (u8) wlapi_getintvar(shim, BRCMS_SROM_ANTSWCTL2G);
  14494. wlc_phy_txpower_ipa_upd(pi);
  14495. pi->phy_txcore_disable_temp =
  14496. (s16) wlapi_getintvar(shim, BRCMS_SROM_TEMPTHRESH);
  14497. if (pi->phy_txcore_disable_temp == 0)
  14498. pi->phy_txcore_disable_temp = PHY_CHAIN_TX_DISABLE_TEMP;
  14499. pi->phy_tempsense_offset = (s8) wlapi_getintvar(shim,
  14500. BRCMS_SROM_TEMPOFFSET);
  14501. if (pi->phy_tempsense_offset != 0) {
  14502. if (pi->phy_tempsense_offset >
  14503. (NPHY_SROM_TEMPSHIFT + NPHY_SROM_MAXTEMPOFFSET))
  14504. pi->phy_tempsense_offset = NPHY_SROM_MAXTEMPOFFSET;
  14505. else if (pi->phy_tempsense_offset < (NPHY_SROM_TEMPSHIFT +
  14506. NPHY_SROM_MINTEMPOFFSET))
  14507. pi->phy_tempsense_offset = NPHY_SROM_MINTEMPOFFSET;
  14508. else
  14509. pi->phy_tempsense_offset -= NPHY_SROM_TEMPSHIFT;
  14510. }
  14511. pi->phy_txcore_enable_temp =
  14512. pi->phy_txcore_disable_temp - PHY_HYSTERESIS_DELTATEMP;
  14513. pi->phycal_tempdelta =
  14514. (u8) wlapi_getintvar(shim, BRCMS_SROM_PHYCAL_TEMPDELTA);
  14515. if (pi->phycal_tempdelta > NPHY_CAL_MAXTEMPDELTA)
  14516. pi->phycal_tempdelta = 0;
  14517. wlc_phy_txpwr_srom_read_ppr_nphy(pi);
  14518. return true;
  14519. }
  14520. bool wlc_phy_attach_nphy(struct brcms_phy *pi)
  14521. {
  14522. uint i;
  14523. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 6))
  14524. pi->phyhang_avoid = true;
  14525. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14526. pi->nphy_gband_spurwar_en = true;
  14527. if (pi->sh->boardflags2 & BFL2_SPUR_WAR)
  14528. pi->nphy_aband_spurwar_en = true;
  14529. }
  14530. if (NREV_GE(pi->pubpi.phy_rev, 6) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14531. if (pi->sh->boardflags2 & BFL2_2G_SPUR_WAR)
  14532. pi->nphy_gband_spurwar2_en = true;
  14533. }
  14534. pi->n_preamble_override = AUTO;
  14535. if (NREV_IS(pi->pubpi.phy_rev, 3) || NREV_IS(pi->pubpi.phy_rev, 4))
  14536. pi->n_preamble_override = BRCMS_N_PREAMBLE_MIXEDMODE;
  14537. pi->nphy_txrx_chain = AUTO;
  14538. pi->phy_scraminit = AUTO;
  14539. pi->nphy_rxcalparams = 0x010100B5;
  14540. pi->nphy_perical = PHY_PERICAL_MPHASE;
  14541. pi->mphase_cal_phase_id = MPHASE_CAL_STATE_IDLE;
  14542. pi->mphase_txcal_numcmds = MPHASE_TXCAL_NUMCMDS;
  14543. pi->nphy_gain_boost = true;
  14544. pi->nphy_elna_gain_config = false;
  14545. pi->radio_is_on = false;
  14546. for (i = 0; i < pi->pubpi.phy_corenum; i++)
  14547. pi->nphy_txpwrindex[i].index = AUTO;
  14548. wlc_phy_txpwrctrl_config_nphy(pi);
  14549. if (pi->nphy_txpwrctrl == PHY_TPC_HW_ON)
  14550. pi->hwpwrctrl_capable = true;
  14551. pi->pi_fptr.init = wlc_phy_init_nphy;
  14552. pi->pi_fptr.calinit = wlc_phy_cal_init_nphy;
  14553. pi->pi_fptr.chanset = wlc_phy_chanspec_set_nphy;
  14554. pi->pi_fptr.txpwrrecalc = wlc_phy_txpower_recalc_target_nphy;
  14555. if (!wlc_phy_txpwr_srom_read_nphy(pi))
  14556. return false;
  14557. return true;
  14558. }
  14559. static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn)
  14560. {
  14561. s32 rfpwr_offset = 0;
  14562. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  14563. if ((pi->pubpi.radiorev == 3) ||
  14564. (pi->pubpi.radiorev == 4) ||
  14565. (pi->pubpi.radiorev == 6))
  14566. rfpwr_offset = (s16)
  14567. nphy_papd_padgain_dlt_2g_2057rev3n4
  14568. [pad_gn];
  14569. else if (pi->pubpi.radiorev == 5)
  14570. rfpwr_offset = (s16)
  14571. nphy_papd_padgain_dlt_2g_2057rev5
  14572. [pad_gn];
  14573. else if ((pi->pubpi.radiorev == 7)
  14574. || (pi->pubpi.radiorev ==
  14575. 8))
  14576. rfpwr_offset = (s16)
  14577. nphy_papd_padgain_dlt_2g_2057rev7
  14578. [pad_gn];
  14579. } else {
  14580. if ((pi->pubpi.radiorev == 3) ||
  14581. (pi->pubpi.radiorev == 4) ||
  14582. (pi->pubpi.radiorev == 6))
  14583. rfpwr_offset = (s16)
  14584. nphy_papd_pgagain_dlt_5g_2057
  14585. [pga_gn];
  14586. else if ((pi->pubpi.radiorev == 7)
  14587. || (pi->pubpi.radiorev ==
  14588. 8))
  14589. rfpwr_offset = (s16)
  14590. nphy_papd_pgagain_dlt_5g_2057rev7
  14591. [pga_gn];
  14592. }
  14593. return rfpwr_offset;
  14594. }
  14595. static void wlc_phy_update_mimoconfig_nphy(struct brcms_phy *pi, s32 preamble)
  14596. {
  14597. bool gf_preamble = false;
  14598. u16 val;
  14599. if (preamble == BRCMS_N_PREAMBLE_GF)
  14600. gf_preamble = true;
  14601. val = read_phy_reg(pi, 0xed);
  14602. val |= RX_GF_MM_AUTO;
  14603. val &= ~RX_GF_OR_MM;
  14604. if (gf_preamble)
  14605. val |= RX_GF_OR_MM;
  14606. write_phy_reg(pi, 0xed, val);
  14607. }
  14608. static void wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  14609. {
  14610. int j, type;
  14611. u16 addr_offset[] = { 0x186, 0x195, 0x2c5};
  14612. for (type = 0; type < 3; type++) {
  14613. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14614. write_phy_reg(pi, addr_offset[type] + j,
  14615. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  14616. }
  14617. if (pi->bw == WL_CHANSPEC_BW_40) {
  14618. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14619. write_phy_reg(pi, 0x186 + j,
  14620. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14621. } else {
  14622. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  14623. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14624. write_phy_reg(pi, 0x186 + j,
  14625. NPHY_IPA_REV4_txdigi_filtcoeffs[5][j]);
  14626. }
  14627. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  14628. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14629. write_phy_reg(pi, 0x2c5 + j,
  14630. NPHY_IPA_REV4_txdigi_filtcoeffs[6][j]);
  14631. }
  14632. }
  14633. }
  14634. static void wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy *pi)
  14635. {
  14636. int j;
  14637. if (pi->bw == WL_CHANSPEC_BW_40) {
  14638. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14639. write_phy_reg(pi, 0x195 + j,
  14640. NPHY_IPA_REV4_txdigi_filtcoeffs[4][j]);
  14641. } else {
  14642. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14643. write_phy_reg(pi, 0x186 + j,
  14644. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14645. }
  14646. }
  14647. static void
  14648. wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, u8 *events, u8 *dlys,
  14649. u8 len)
  14650. {
  14651. u32 t1_offset, t2_offset;
  14652. u8 ctr;
  14653. u8 end_event =
  14654. NREV_GE(pi->pubpi.phy_rev,
  14655. 3) ? NPHY_REV3_RFSEQ_CMD_END : NPHY_RFSEQ_CMD_END;
  14656. u8 end_dly = 1;
  14657. if (pi->phyhang_avoid)
  14658. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14659. t1_offset = cmd << 4;
  14660. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t1_offset, 8,
  14661. events);
  14662. t2_offset = t1_offset + 0x080;
  14663. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t2_offset, 8,
  14664. dlys);
  14665. for (ctr = len; ctr < 16; ctr++) {
  14666. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14667. t1_offset + ctr, 8, &end_event);
  14668. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14669. t2_offset + ctr, 8, &end_dly);
  14670. }
  14671. if (pi->phyhang_avoid)
  14672. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  14673. }
  14674. static u16 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy *pi, u16 offset)
  14675. {
  14676. u16 lpf_bw_ctl_val = 0;
  14677. u16 rx2tx_lpf_rc_lut_offset = 0;
  14678. if (offset == 0) {
  14679. if (CHSPEC_IS40(pi->radio_chanspec))
  14680. rx2tx_lpf_rc_lut_offset = 0x159;
  14681. else
  14682. rx2tx_lpf_rc_lut_offset = 0x154;
  14683. } else {
  14684. rx2tx_lpf_rc_lut_offset = offset;
  14685. }
  14686. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14687. (u32) rx2tx_lpf_rc_lut_offset, 16,
  14688. &lpf_bw_ctl_val);
  14689. lpf_bw_ctl_val = lpf_bw_ctl_val & 0x7;
  14690. return lpf_bw_ctl_val;
  14691. }
  14692. static void
  14693. wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value,
  14694. u8 core_mask, u8 off, u8 override_id)
  14695. {
  14696. u8 core_num;
  14697. u16 addr = 0, en_addr = 0, val_addr = 0, en_mask = 0, val_mask = 0;
  14698. u8 val_shift = 0;
  14699. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14700. en_mask = field;
  14701. for (core_num = 0; core_num < 2; core_num++) {
  14702. if (override_id == NPHY_REV7_RFCTRLOVERRIDE_ID0) {
  14703. switch (field) {
  14704. case (0x1 << 2):
  14705. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14706. val_addr = (core_num == 0) ? 0x7a :
  14707. 0x7d;
  14708. val_mask = (0x1 << 1);
  14709. val_shift = 1;
  14710. break;
  14711. case (0x1 << 3):
  14712. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14713. val_addr = (core_num == 0) ? 0x7a :
  14714. 0x7d;
  14715. val_mask = (0x1 << 2);
  14716. val_shift = 2;
  14717. break;
  14718. case (0x1 << 4):
  14719. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14720. val_addr = (core_num == 0) ? 0x7a :
  14721. 0x7d;
  14722. val_mask = (0x1 << 4);
  14723. val_shift = 4;
  14724. break;
  14725. case (0x1 << 5):
  14726. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14727. val_addr = (core_num == 0) ? 0x7a :
  14728. 0x7d;
  14729. val_mask = (0x1 << 5);
  14730. val_shift = 5;
  14731. break;
  14732. case (0x1 << 6):
  14733. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14734. val_addr = (core_num == 0) ? 0x7a :
  14735. 0x7d;
  14736. val_mask = (0x1 << 6);
  14737. val_shift = 6;
  14738. break;
  14739. case (0x1 << 7):
  14740. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14741. val_addr = (core_num == 0) ? 0x7a :
  14742. 0x7d;
  14743. val_mask = (0x1 << 7);
  14744. val_shift = 7;
  14745. break;
  14746. case (0x1 << 10):
  14747. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14748. val_addr = (core_num == 0) ? 0xf8 :
  14749. 0xfa;
  14750. val_mask = (0x7 << 4);
  14751. val_shift = 4;
  14752. break;
  14753. case (0x1 << 11):
  14754. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14755. val_addr = (core_num == 0) ? 0x7b :
  14756. 0x7e;
  14757. val_mask = (0xffff << 0);
  14758. val_shift = 0;
  14759. break;
  14760. case (0x1 << 12):
  14761. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14762. val_addr = (core_num == 0) ? 0x7c :
  14763. 0x7f;
  14764. val_mask = (0xffff << 0);
  14765. val_shift = 0;
  14766. break;
  14767. case (0x3 << 13):
  14768. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14769. val_addr = (core_num == 0) ? 0x348 :
  14770. 0x349;
  14771. val_mask = (0xff << 0);
  14772. val_shift = 0;
  14773. break;
  14774. case (0x1 << 13):
  14775. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14776. val_addr = (core_num == 0) ? 0x348 :
  14777. 0x349;
  14778. val_mask = (0xf << 0);
  14779. val_shift = 0;
  14780. break;
  14781. default:
  14782. addr = 0xffff;
  14783. break;
  14784. }
  14785. } else if (override_id ==
  14786. NPHY_REV7_RFCTRLOVERRIDE_ID1) {
  14787. switch (field) {
  14788. case (0x1 << 1):
  14789. en_addr = (core_num == 0) ? 0x342 :
  14790. 0x343;
  14791. val_addr = (core_num == 0) ? 0x340 :
  14792. 0x341;
  14793. val_mask = (0x1 << 1);
  14794. val_shift = 1;
  14795. break;
  14796. case (0x1 << 3):
  14797. en_addr = (core_num == 0) ? 0x342 :
  14798. 0x343;
  14799. val_addr = (core_num == 0) ? 0x340 :
  14800. 0x341;
  14801. val_mask = (0x1 << 3);
  14802. val_shift = 3;
  14803. break;
  14804. case (0x1 << 5):
  14805. en_addr = (core_num == 0) ? 0x342 :
  14806. 0x343;
  14807. val_addr = (core_num == 0) ? 0x340 :
  14808. 0x341;
  14809. val_mask = (0x1 << 5);
  14810. val_shift = 5;
  14811. break;
  14812. case (0x1 << 4):
  14813. en_addr = (core_num == 0) ? 0x342 :
  14814. 0x343;
  14815. val_addr = (core_num == 0) ? 0x340 :
  14816. 0x341;
  14817. val_mask = (0x1 << 4);
  14818. val_shift = 4;
  14819. break;
  14820. case (0x1 << 2):
  14821. en_addr = (core_num == 0) ? 0x342 :
  14822. 0x343;
  14823. val_addr = (core_num == 0) ? 0x340 :
  14824. 0x341;
  14825. val_mask = (0x1 << 2);
  14826. val_shift = 2;
  14827. break;
  14828. case (0x1 << 7):
  14829. en_addr = (core_num == 0) ? 0x342 :
  14830. 0x343;
  14831. val_addr = (core_num == 0) ? 0x340 :
  14832. 0x341;
  14833. val_mask = (0x7 << 8);
  14834. val_shift = 8;
  14835. break;
  14836. case (0x1 << 11):
  14837. en_addr = (core_num == 0) ? 0x342 :
  14838. 0x343;
  14839. val_addr = (core_num == 0) ? 0x340 :
  14840. 0x341;
  14841. val_mask = (0x1 << 14);
  14842. val_shift = 14;
  14843. break;
  14844. case (0x1 << 10):
  14845. en_addr = (core_num == 0) ? 0x342 :
  14846. 0x343;
  14847. val_addr = (core_num == 0) ? 0x340 :
  14848. 0x341;
  14849. val_mask = (0x1 << 13);
  14850. val_shift = 13;
  14851. break;
  14852. case (0x1 << 9):
  14853. en_addr = (core_num == 0) ? 0x342 :
  14854. 0x343;
  14855. val_addr = (core_num == 0) ? 0x340 :
  14856. 0x341;
  14857. val_mask = (0x1 << 12);
  14858. val_shift = 12;
  14859. break;
  14860. case (0x1 << 8):
  14861. en_addr = (core_num == 0) ? 0x342 :
  14862. 0x343;
  14863. val_addr = (core_num == 0) ? 0x340 :
  14864. 0x341;
  14865. val_mask = (0x1 << 11);
  14866. val_shift = 11;
  14867. break;
  14868. case (0x1 << 6):
  14869. en_addr = (core_num == 0) ? 0x342 :
  14870. 0x343;
  14871. val_addr = (core_num == 0) ? 0x340 :
  14872. 0x341;
  14873. val_mask = (0x1 << 6);
  14874. val_shift = 6;
  14875. break;
  14876. case (0x1 << 0):
  14877. en_addr = (core_num == 0) ? 0x342 :
  14878. 0x343;
  14879. val_addr = (core_num == 0) ? 0x340 :
  14880. 0x341;
  14881. val_mask = (0x1 << 0);
  14882. val_shift = 0;
  14883. break;
  14884. default:
  14885. addr = 0xffff;
  14886. break;
  14887. }
  14888. } else if (override_id ==
  14889. NPHY_REV7_RFCTRLOVERRIDE_ID2) {
  14890. switch (field) {
  14891. case (0x1 << 3):
  14892. en_addr = (core_num == 0) ? 0x346 :
  14893. 0x347;
  14894. val_addr = (core_num == 0) ? 0x344 :
  14895. 0x345;
  14896. val_mask = (0x1 << 3);
  14897. val_shift = 3;
  14898. break;
  14899. case (0x1 << 1):
  14900. en_addr = (core_num == 0) ? 0x346 :
  14901. 0x347;
  14902. val_addr = (core_num == 0) ? 0x344 :
  14903. 0x345;
  14904. val_mask = (0x1 << 1);
  14905. val_shift = 1;
  14906. break;
  14907. case (0x1 << 0):
  14908. en_addr = (core_num == 0) ? 0x346 :
  14909. 0x347;
  14910. val_addr = (core_num == 0) ? 0x344 :
  14911. 0x345;
  14912. val_mask = (0x1 << 0);
  14913. val_shift = 0;
  14914. break;
  14915. case (0x1 << 2):
  14916. en_addr = (core_num == 0) ? 0x346 :
  14917. 0x347;
  14918. val_addr = (core_num == 0) ? 0x344 :
  14919. 0x345;
  14920. val_mask = (0x1 << 2);
  14921. val_shift = 2;
  14922. break;
  14923. case (0x1 << 4):
  14924. en_addr = (core_num == 0) ? 0x346 :
  14925. 0x347;
  14926. val_addr = (core_num == 0) ? 0x344 :
  14927. 0x345;
  14928. val_mask = (0x1 << 4);
  14929. val_shift = 4;
  14930. break;
  14931. default:
  14932. addr = 0xffff;
  14933. break;
  14934. }
  14935. }
  14936. if (off) {
  14937. and_phy_reg(pi, en_addr, ~en_mask);
  14938. and_phy_reg(pi, val_addr, ~val_mask);
  14939. } else {
  14940. if ((core_mask == 0)
  14941. || (core_mask & (1 << core_num))) {
  14942. or_phy_reg(pi, en_addr, en_mask);
  14943. if (addr != 0xffff)
  14944. mod_phy_reg(pi, val_addr,
  14945. val_mask,
  14946. (value <<
  14947. val_shift));
  14948. }
  14949. }
  14950. }
  14951. }
  14952. }
  14953. static void wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy *pi)
  14954. {
  14955. uint core;
  14956. int ctr;
  14957. s16 gain_delta[2];
  14958. u8 curr_channel;
  14959. u16 minmax_gain[2];
  14960. u16 regval[4];
  14961. if (pi->phyhang_avoid)
  14962. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14963. if (pi->nphy_gain_boost) {
  14964. if ((CHSPEC_IS2G(pi->radio_chanspec))) {
  14965. gain_delta[0] = 6;
  14966. gain_delta[1] = 6;
  14967. } else {
  14968. curr_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  14969. gain_delta[0] =
  14970. (s16)
  14971. PHY_HW_ROUND(((nphy_lnagain_est0[0] *
  14972. curr_channel) +
  14973. nphy_lnagain_est0[1]), 13);
  14974. gain_delta[1] =
  14975. (s16)
  14976. PHY_HW_ROUND(((nphy_lnagain_est1[0] *
  14977. curr_channel) +
  14978. nphy_lnagain_est1[1]), 13);
  14979. }
  14980. } else {
  14981. gain_delta[0] = 0;
  14982. gain_delta[1] = 0;
  14983. }
  14984. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  14985. if (pi->nphy_elna_gain_config) {
  14986. regval[0] = nphy_def_lnagains[2] + gain_delta[core];
  14987. regval[1] = nphy_def_lnagains[3] + gain_delta[core];
  14988. regval[2] = nphy_def_lnagains[3] + gain_delta[core];
  14989. regval[3] = nphy_def_lnagains[3] + gain_delta[core];
  14990. } else {
  14991. for (ctr = 0; ctr < 4; ctr++)
  14992. regval[ctr] =
  14993. nphy_def_lnagains[ctr] +
  14994. gain_delta[core];
  14995. }
  14996. wlc_phy_table_write_nphy(pi, core, 4, 8, 16, regval);
  14997. minmax_gain[core] =
  14998. (u16) (nphy_def_lnagains[2] + gain_delta[core] + 4);
  14999. }
  15000. mod_phy_reg(pi, 0x1e, (0xff << 0), (minmax_gain[0] << 0));
  15001. mod_phy_reg(pi, 0x34, (0xff << 0), (minmax_gain[1] << 0));
  15002. if (pi->phyhang_avoid)
  15003. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  15004. }
  15005. static void
  15006. wlc_phy_war_force_trsw_to_R_cliplo_nphy(struct brcms_phy *pi, u8 core)
  15007. {
  15008. if (core == PHY_CORE_0) {
  15009. write_phy_reg(pi, 0x38, 0x4);
  15010. if (CHSPEC_IS2G(pi->radio_chanspec))
  15011. write_phy_reg(pi, 0x37, 0x0060);
  15012. else
  15013. write_phy_reg(pi, 0x37, 0x1080);
  15014. } else if (core == PHY_CORE_1) {
  15015. write_phy_reg(pi, 0x2ae, 0x4);
  15016. if (CHSPEC_IS2G(pi->radio_chanspec))
  15017. write_phy_reg(pi, 0x2ad, 0x0060);
  15018. else
  15019. write_phy_reg(pi, 0x2ad, 0x1080);
  15020. }
  15021. }
  15022. static void wlc_phy_war_txchain_upd_nphy(struct brcms_phy *pi, u8 txchain)
  15023. {
  15024. u8 txchain0, txchain1;
  15025. txchain0 = txchain & 0x1;
  15026. txchain1 = (txchain & 0x2) >> 1;
  15027. if (!txchain0)
  15028. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  15029. if (!txchain1)
  15030. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  15031. }
  15032. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy *pi)
  15033. {
  15034. s8 lna1_gain_db[] = { 8, 13, 17, 22 };
  15035. s8 lna2_gain_db[] = { -2, 7, 11, 15 };
  15036. s8 tia_gain_db[] = { -4, -1, 2, 5, 5, 5, 5, 5, 5, 5 };
  15037. s8 tia_gainbits[] = {
  15038. 0x0, 0x01, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15039. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15040. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15041. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15042. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3c << 0));
  15043. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3c << 0));
  15044. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x8, 8,
  15045. lna1_gain_db);
  15046. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x8, 8,
  15047. lna1_gain_db);
  15048. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10, 8,
  15049. lna2_gain_db);
  15050. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10, 8,
  15051. lna2_gain_db);
  15052. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15053. tia_gain_db);
  15054. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15055. tia_gain_db);
  15056. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15057. tia_gainbits);
  15058. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15059. tia_gainbits);
  15060. write_phy_reg(pi, 0x37, 0x74);
  15061. write_phy_reg(pi, 0x2ad, 0x74);
  15062. write_phy_reg(pi, 0x38, 0x18);
  15063. write_phy_reg(pi, 0x2ae, 0x18);
  15064. write_phy_reg(pi, 0x2b, 0xe8);
  15065. write_phy_reg(pi, 0x41, 0xe8);
  15066. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15067. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x12 << 0));
  15068. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x12 << 0));
  15069. } else {
  15070. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x10 << 0));
  15071. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x10 << 0));
  15072. }
  15073. }
  15074. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy *pi)
  15075. {
  15076. u16 currband;
  15077. s8 lna1G_gain_db_rev7[] = { 9, 14, 19, 24 };
  15078. s8 *lna1_gain_db = NULL;
  15079. s8 *lna1_gain_db_2 = NULL;
  15080. s8 *lna2_gain_db = NULL;
  15081. s8 tiaA_gain_db_rev7[] = { -9, -6, -3, 0, 3, 3, 3, 3, 3, 3 };
  15082. s8 *tia_gain_db;
  15083. s8 tiaA_gainbits_rev7[] = { 0, 1, 2, 3, 4, 4, 4, 4, 4, 4 };
  15084. s8 *tia_gainbits;
  15085. u16 rfseqA_init_gain_rev7[] = { 0x624f, 0x624f };
  15086. u16 *rfseq_init_gain;
  15087. u16 init_gaincode;
  15088. u16 clip1hi_gaincode;
  15089. u16 clip1md_gaincode = 0;
  15090. u16 clip1md_gaincode_B;
  15091. u16 clip1lo_gaincode;
  15092. u16 clip1lo_gaincode_B;
  15093. u8 crsminl_th = 0;
  15094. u8 crsminu_th;
  15095. u16 nbclip_th = 0;
  15096. u8 w1clip_th;
  15097. u16 freq;
  15098. s8 nvar_baseline_offset0 = 0, nvar_baseline_offset1 = 0;
  15099. u8 chg_nbclip_th = 0;
  15100. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15101. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15102. currband = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15103. if (currband == 0) {
  15104. lna1_gain_db = lna1G_gain_db_rev7;
  15105. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15106. lna1_gain_db);
  15107. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15108. lna1_gain_db);
  15109. mod_phy_reg(pi, 0x283, (0xff << 0), (0x40 << 0));
  15110. if (CHSPEC_IS40(pi->radio_chanspec)) {
  15111. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3e << 0));
  15112. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3e << 0));
  15113. }
  15114. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15115. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15116. mod_phy_reg(pi, 0x300, (0x3f << 0), (13 << 0));
  15117. mod_phy_reg(pi, 0x301, (0x3f << 0), (13 << 0));
  15118. }
  15119. } else {
  15120. init_gaincode = 0x9e;
  15121. clip1hi_gaincode = 0x9e;
  15122. clip1md_gaincode_B = 0x24;
  15123. clip1lo_gaincode = 0x8a;
  15124. clip1lo_gaincode_B = 8;
  15125. rfseq_init_gain = rfseqA_init_gain_rev7;
  15126. tia_gain_db = tiaA_gain_db_rev7;
  15127. tia_gainbits = tiaA_gainbits_rev7;
  15128. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  15129. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15130. w1clip_th = 25;
  15131. clip1md_gaincode = 0x82;
  15132. if ((freq <= 5080) || (freq == 5825)) {
  15133. s8 lna1A_gain_db_rev7[] = { 11, 16, 20, 24 };
  15134. s8 lna1A_gain_db_2_rev7[] = {
  15135. 11, 17, 22, 25};
  15136. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15137. crsminu_th = 0x3e;
  15138. lna1_gain_db = lna1A_gain_db_rev7;
  15139. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15140. lna2_gain_db = lna2A_gain_db_rev7;
  15141. } else if ((freq >= 5500) && (freq <= 5700)) {
  15142. s8 lna1A_gain_db_rev7[] = { 11, 17, 21, 25 };
  15143. s8 lna1A_gain_db_2_rev7[] = {
  15144. 12, 18, 22, 26};
  15145. s8 lna2A_gain_db_rev7[] = { 1, 8, 12, 16 };
  15146. crsminu_th = 0x45;
  15147. clip1md_gaincode_B = 0x14;
  15148. nbclip_th = 0xff;
  15149. chg_nbclip_th = 1;
  15150. lna1_gain_db = lna1A_gain_db_rev7;
  15151. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15152. lna2_gain_db = lna2A_gain_db_rev7;
  15153. } else {
  15154. s8 lna1A_gain_db_rev7[] = { 12, 18, 22, 26 };
  15155. s8 lna1A_gain_db_2_rev7[] = {
  15156. 12, 18, 22, 26};
  15157. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15158. crsminu_th = 0x41;
  15159. lna1_gain_db = lna1A_gain_db_rev7;
  15160. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15161. lna2_gain_db = lna2A_gain_db_rev7;
  15162. }
  15163. if (freq <= 4920) {
  15164. nvar_baseline_offset0 = 5;
  15165. nvar_baseline_offset1 = 5;
  15166. } else if ((freq > 4920) && (freq <= 5320)) {
  15167. nvar_baseline_offset0 = 3;
  15168. nvar_baseline_offset1 = 5;
  15169. } else if ((freq > 5320) && (freq <= 5700)) {
  15170. nvar_baseline_offset0 = 3;
  15171. nvar_baseline_offset1 = 2;
  15172. } else {
  15173. nvar_baseline_offset0 = 4;
  15174. nvar_baseline_offset1 = 0;
  15175. }
  15176. } else {
  15177. crsminu_th = 0x3a;
  15178. crsminl_th = 0x3a;
  15179. w1clip_th = 20;
  15180. if ((freq >= 4920) && (freq <= 5320)) {
  15181. nvar_baseline_offset0 = 4;
  15182. nvar_baseline_offset1 = 5;
  15183. } else if ((freq > 5320) && (freq <= 5550)) {
  15184. nvar_baseline_offset0 = 4;
  15185. nvar_baseline_offset1 = 2;
  15186. } else {
  15187. nvar_baseline_offset0 = 5;
  15188. nvar_baseline_offset1 = 3;
  15189. }
  15190. }
  15191. write_phy_reg(pi, 0x20, init_gaincode);
  15192. write_phy_reg(pi, 0x2a7, init_gaincode);
  15193. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15194. pi->pubpi.phy_corenum, 0x106, 16,
  15195. rfseq_init_gain);
  15196. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15197. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15198. write_phy_reg(pi, 0x36, clip1md_gaincode_B);
  15199. write_phy_reg(pi, 0x2ac, clip1md_gaincode_B);
  15200. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15201. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15202. write_phy_reg(pi, 0x38, clip1lo_gaincode_B);
  15203. write_phy_reg(pi, 0x2ae, clip1lo_gaincode_B);
  15204. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15205. tia_gain_db);
  15206. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15207. tia_gain_db);
  15208. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15209. tia_gainbits);
  15210. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15211. tia_gainbits);
  15212. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15213. if (chg_nbclip_th == 1) {
  15214. write_phy_reg(pi, 0x2b, nbclip_th);
  15215. write_phy_reg(pi, 0x41, nbclip_th);
  15216. }
  15217. mod_phy_reg(pi, 0x300, (0x3f << 0), (w1clip_th << 0));
  15218. mod_phy_reg(pi, 0x301, (0x3f << 0), (w1clip_th << 0));
  15219. mod_phy_reg(pi, 0x2e4,
  15220. (0x3f << 0), (nvar_baseline_offset0 << 0));
  15221. mod_phy_reg(pi, 0x2e4,
  15222. (0x3f << 6), (nvar_baseline_offset1 << 6));
  15223. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15224. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15225. lna1_gain_db);
  15226. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15227. lna1_gain_db_2);
  15228. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15229. 8, lna2_gain_db);
  15230. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15231. 8, lna2_gain_db);
  15232. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15233. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15234. } else {
  15235. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15236. }
  15237. }
  15238. }
  15239. static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi)
  15240. {
  15241. u16 w1th, hpf_code, currband;
  15242. int ctr;
  15243. u8 rfseq_updategainu_events[] = {
  15244. NPHY_RFSEQ_CMD_RX_GAIN,
  15245. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15246. NPHY_RFSEQ_CMD_SET_HPF_BW
  15247. };
  15248. u8 rfseq_updategainu_dlys[] = { 10, 30, 1 };
  15249. s8 lna1G_gain_db[] = { 7, 11, 16, 23 };
  15250. s8 lna1G_gain_db_rev4[] = { 8, 12, 17, 25 };
  15251. s8 lna1G_gain_db_rev5[] = { 9, 13, 18, 26 };
  15252. s8 lna1G_gain_db_rev6[] = { 8, 13, 18, 25 };
  15253. s8 lna1G_gain_db_rev6_224B0[] = { 10, 14, 19, 27 };
  15254. s8 lna1A_gain_db[] = { 7, 11, 17, 23 };
  15255. s8 lna1A_gain_db_rev4[] = { 8, 12, 18, 23 };
  15256. s8 lna1A_gain_db_rev5[] = { 6, 10, 16, 21 };
  15257. s8 lna1A_gain_db_rev6[] = { 6, 10, 16, 21 };
  15258. s8 *lna1_gain_db = NULL;
  15259. s8 lna2G_gain_db[] = { -5, 6, 10, 14 };
  15260. s8 lna2G_gain_db_rev5[] = { -3, 7, 11, 16 };
  15261. s8 lna2G_gain_db_rev6[] = { -5, 6, 10, 14 };
  15262. s8 lna2G_gain_db_rev6_224B0[] = { -5, 6, 10, 15 };
  15263. s8 lna2A_gain_db[] = { -6, 2, 6, 10 };
  15264. s8 lna2A_gain_db_rev4[] = { -5, 2, 6, 10 };
  15265. s8 lna2A_gain_db_rev5[] = { -7, 0, 4, 8 };
  15266. s8 lna2A_gain_db_rev6[] = { -7, 0, 4, 8 };
  15267. s8 *lna2_gain_db = NULL;
  15268. s8 tiaG_gain_db[] = {
  15269. 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A };
  15270. s8 tiaA_gain_db[] = {
  15271. 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13 };
  15272. s8 tiaA_gain_db_rev4[] = {
  15273. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15274. s8 tiaA_gain_db_rev5[] = {
  15275. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15276. s8 tiaA_gain_db_rev6[] = {
  15277. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15278. s8 *tia_gain_db;
  15279. s8 tiaG_gainbits[] = {
  15280. 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15281. s8 tiaA_gainbits[] = {
  15282. 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06 };
  15283. s8 tiaA_gainbits_rev4[] = {
  15284. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15285. s8 tiaA_gainbits_rev5[] = {
  15286. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15287. s8 tiaA_gainbits_rev6[] = {
  15288. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15289. s8 *tia_gainbits;
  15290. s8 lpf_gain_db[] = { 0x00, 0x06, 0x0c, 0x12, 0x12, 0x12 };
  15291. s8 lpf_gainbits[] = { 0x00, 0x01, 0x02, 0x03, 0x03, 0x03 };
  15292. u16 rfseqG_init_gain[] = { 0x613f, 0x613f, 0x613f, 0x613f };
  15293. u16 rfseqG_init_gain_rev4[] = { 0x513f, 0x513f, 0x513f, 0x513f };
  15294. u16 rfseqG_init_gain_rev5[] = { 0x413f, 0x413f, 0x413f, 0x413f };
  15295. u16 rfseqG_init_gain_rev5_elna[] = {
  15296. 0x013f, 0x013f, 0x013f, 0x013f };
  15297. u16 rfseqG_init_gain_rev6[] = { 0x513f, 0x513f };
  15298. u16 rfseqG_init_gain_rev6_224B0[] = { 0x413f, 0x413f };
  15299. u16 rfseqG_init_gain_rev6_elna[] = { 0x113f, 0x113f };
  15300. u16 rfseqA_init_gain[] = { 0x516f, 0x516f, 0x516f, 0x516f };
  15301. u16 rfseqA_init_gain_rev4[] = { 0x614f, 0x614f, 0x614f, 0x614f };
  15302. u16 rfseqA_init_gain_rev4_elna[] = {
  15303. 0x314f, 0x314f, 0x314f, 0x314f };
  15304. u16 rfseqA_init_gain_rev5[] = { 0x714f, 0x714f, 0x714f, 0x714f };
  15305. u16 rfseqA_init_gain_rev6[] = { 0x714f, 0x714f };
  15306. u16 *rfseq_init_gain;
  15307. u16 initG_gaincode = 0x627e;
  15308. u16 initG_gaincode_rev4 = 0x527e;
  15309. u16 initG_gaincode_rev5 = 0x427e;
  15310. u16 initG_gaincode_rev5_elna = 0x027e;
  15311. u16 initG_gaincode_rev6 = 0x527e;
  15312. u16 initG_gaincode_rev6_224B0 = 0x427e;
  15313. u16 initG_gaincode_rev6_elna = 0x127e;
  15314. u16 initA_gaincode = 0x52de;
  15315. u16 initA_gaincode_rev4 = 0x629e;
  15316. u16 initA_gaincode_rev4_elna = 0x329e;
  15317. u16 initA_gaincode_rev5 = 0x729e;
  15318. u16 initA_gaincode_rev6 = 0x729e;
  15319. u16 init_gaincode;
  15320. u16 clip1hiG_gaincode = 0x107e;
  15321. u16 clip1hiG_gaincode_rev4 = 0x007e;
  15322. u16 clip1hiG_gaincode_rev5 = 0x1076;
  15323. u16 clip1hiG_gaincode_rev6 = 0x007e;
  15324. u16 clip1hiA_gaincode = 0x00de;
  15325. u16 clip1hiA_gaincode_rev4 = 0x029e;
  15326. u16 clip1hiA_gaincode_rev5 = 0x029e;
  15327. u16 clip1hiA_gaincode_rev6 = 0x029e;
  15328. u16 clip1hi_gaincode;
  15329. u16 clip1mdG_gaincode = 0x0066;
  15330. u16 clip1mdA_gaincode = 0x00ca;
  15331. u16 clip1mdA_gaincode_rev4 = 0x1084;
  15332. u16 clip1mdA_gaincode_rev5 = 0x2084;
  15333. u16 clip1mdA_gaincode_rev6 = 0x2084;
  15334. u16 clip1md_gaincode = 0;
  15335. u16 clip1loG_gaincode = 0x0074;
  15336. u16 clip1loG_gaincode_rev5[] = {
  15337. 0x0062, 0x0064, 0x006a, 0x106a, 0x106c, 0x1074, 0x107c, 0x207c
  15338. };
  15339. u16 clip1loG_gaincode_rev6[] = {
  15340. 0x106a, 0x106c, 0x1074, 0x107c, 0x007e, 0x107e, 0x207e, 0x307e
  15341. };
  15342. u16 clip1loG_gaincode_rev6_224B0 = 0x1074;
  15343. u16 clip1loA_gaincode = 0x00cc;
  15344. u16 clip1loA_gaincode_rev4 = 0x0086;
  15345. u16 clip1loA_gaincode_rev5 = 0x2086;
  15346. u16 clip1loA_gaincode_rev6 = 0x2086;
  15347. u16 clip1lo_gaincode;
  15348. u8 crsminG_th = 0x18;
  15349. u8 crsminG_th_rev5 = 0x18;
  15350. u8 crsminG_th_rev6 = 0x18;
  15351. u8 crsminA_th = 0x1e;
  15352. u8 crsminA_th_rev4 = 0x24;
  15353. u8 crsminA_th_rev5 = 0x24;
  15354. u8 crsminA_th_rev6 = 0x24;
  15355. u8 crsmin_th;
  15356. u8 crsminlG_th = 0x18;
  15357. u8 crsminlG_th_rev5 = 0x18;
  15358. u8 crsminlG_th_rev6 = 0x18;
  15359. u8 crsminlA_th = 0x1e;
  15360. u8 crsminlA_th_rev4 = 0x24;
  15361. u8 crsminlA_th_rev5 = 0x24;
  15362. u8 crsminlA_th_rev6 = 0x24;
  15363. u8 crsminl_th = 0;
  15364. u8 crsminuG_th = 0x18;
  15365. u8 crsminuG_th_rev5 = 0x18;
  15366. u8 crsminuG_th_rev6 = 0x18;
  15367. u8 crsminuA_th = 0x1e;
  15368. u8 crsminuA_th_rev4 = 0x24;
  15369. u8 crsminuA_th_rev5 = 0x24;
  15370. u8 crsminuA_th_rev6 = 0x24;
  15371. u8 crsminuA_th_rev6_224B0 = 0x2d;
  15372. u8 crsminu_th;
  15373. u16 nbclipG_th = 0x20d;
  15374. u16 nbclipG_th_rev4 = 0x1a1;
  15375. u16 nbclipG_th_rev5 = 0x1d0;
  15376. u16 nbclipG_th_rev6 = 0x1d0;
  15377. u16 nbclipA_th = 0x1a1;
  15378. u16 nbclipA_th_rev4 = 0x107;
  15379. u16 nbclipA_th_rev5 = 0x0a9;
  15380. u16 nbclipA_th_rev6 = 0x0f0;
  15381. u16 nbclip_th = 0;
  15382. u8 w1clipG_th = 5;
  15383. u8 w1clipG_th_rev5 = 9;
  15384. u8 w1clipG_th_rev6 = 5;
  15385. u8 w1clipA_th = 25, w1clip_th;
  15386. u8 rssi_gain_default = 0x50;
  15387. u8 rssiG_gain_rev6_224B0 = 0x50;
  15388. u8 rssiA_gain_rev5 = 0x90;
  15389. u8 rssiA_gain_rev6 = 0x90;
  15390. u8 rssi_gain;
  15391. u16 regval[21];
  15392. u8 triso;
  15393. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.triso :
  15394. pi->srom_fem2g.triso;
  15395. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15396. if (pi->pubpi.radiorev == 5) {
  15397. wlc_phy_workarounds_nphy_gainctrl_2057_rev5(pi);
  15398. } else if (pi->pubpi.radiorev == 7) {
  15399. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15400. mod_phy_reg(pi, 0x283, (0xff << 0), (0x44 << 0));
  15401. mod_phy_reg(pi, 0x280, (0xff << 0), (0x44 << 0));
  15402. } else if ((pi->pubpi.radiorev == 3)
  15403. || (pi->pubpi.radiorev == 8)) {
  15404. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15405. if (pi->pubpi.radiorev == 8) {
  15406. mod_phy_reg(pi, 0x283,
  15407. (0xff << 0), (0x44 << 0));
  15408. mod_phy_reg(pi, 0x280,
  15409. (0xff << 0), (0x44 << 0));
  15410. }
  15411. } else {
  15412. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15413. }
  15414. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  15415. mod_phy_reg(pi, 0xa0, (0x1 << 6), (1 << 6));
  15416. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15417. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15418. currband =
  15419. read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15420. if (currband == 0) {
  15421. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15422. if (pi->pubpi.radiorev == 11) {
  15423. lna1_gain_db = lna1G_gain_db_rev6_224B0;
  15424. lna2_gain_db = lna2G_gain_db_rev6_224B0;
  15425. rfseq_init_gain =
  15426. rfseqG_init_gain_rev6_224B0;
  15427. init_gaincode =
  15428. initG_gaincode_rev6_224B0;
  15429. clip1hi_gaincode =
  15430. clip1hiG_gaincode_rev6;
  15431. clip1lo_gaincode =
  15432. clip1loG_gaincode_rev6_224B0;
  15433. nbclip_th = nbclipG_th_rev6;
  15434. w1clip_th = w1clipG_th_rev6;
  15435. crsmin_th = crsminG_th_rev6;
  15436. crsminl_th = crsminlG_th_rev6;
  15437. crsminu_th = crsminuG_th_rev6;
  15438. rssi_gain = rssiG_gain_rev6_224B0;
  15439. } else {
  15440. lna1_gain_db = lna1G_gain_db_rev6;
  15441. lna2_gain_db = lna2G_gain_db_rev6;
  15442. if (pi->sh->boardflags & BFL_EXTLNA) {
  15443. rfseq_init_gain =
  15444. rfseqG_init_gain_rev6_elna;
  15445. init_gaincode =
  15446. initG_gaincode_rev6_elna;
  15447. } else {
  15448. rfseq_init_gain =
  15449. rfseqG_init_gain_rev6;
  15450. init_gaincode =
  15451. initG_gaincode_rev6;
  15452. }
  15453. clip1hi_gaincode =
  15454. clip1hiG_gaincode_rev6;
  15455. switch (triso) {
  15456. case 0:
  15457. clip1lo_gaincode =
  15458. clip1loG_gaincode_rev6
  15459. [0];
  15460. break;
  15461. case 1:
  15462. clip1lo_gaincode =
  15463. clip1loG_gaincode_rev6
  15464. [1];
  15465. break;
  15466. case 2:
  15467. clip1lo_gaincode =
  15468. clip1loG_gaincode_rev6
  15469. [2];
  15470. break;
  15471. case 3:
  15472. default:
  15473. clip1lo_gaincode =
  15474. clip1loG_gaincode_rev6
  15475. [3];
  15476. break;
  15477. case 4:
  15478. clip1lo_gaincode =
  15479. clip1loG_gaincode_rev6
  15480. [4];
  15481. break;
  15482. case 5:
  15483. clip1lo_gaincode =
  15484. clip1loG_gaincode_rev6
  15485. [5];
  15486. break;
  15487. case 6:
  15488. clip1lo_gaincode =
  15489. clip1loG_gaincode_rev6
  15490. [6];
  15491. break;
  15492. case 7:
  15493. clip1lo_gaincode =
  15494. clip1loG_gaincode_rev6
  15495. [7];
  15496. break;
  15497. }
  15498. nbclip_th = nbclipG_th_rev6;
  15499. w1clip_th = w1clipG_th_rev6;
  15500. crsmin_th = crsminG_th_rev6;
  15501. crsminl_th = crsminlG_th_rev6;
  15502. crsminu_th = crsminuG_th_rev6;
  15503. rssi_gain = rssi_gain_default;
  15504. }
  15505. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15506. lna1_gain_db = lna1G_gain_db_rev5;
  15507. lna2_gain_db = lna2G_gain_db_rev5;
  15508. if (pi->sh->boardflags & BFL_EXTLNA) {
  15509. rfseq_init_gain =
  15510. rfseqG_init_gain_rev5_elna;
  15511. init_gaincode =
  15512. initG_gaincode_rev5_elna;
  15513. } else {
  15514. rfseq_init_gain = rfseqG_init_gain_rev5;
  15515. init_gaincode = initG_gaincode_rev5;
  15516. }
  15517. clip1hi_gaincode = clip1hiG_gaincode_rev5;
  15518. switch (triso) {
  15519. case 0:
  15520. clip1lo_gaincode =
  15521. clip1loG_gaincode_rev5[0];
  15522. break;
  15523. case 1:
  15524. clip1lo_gaincode =
  15525. clip1loG_gaincode_rev5[1];
  15526. break;
  15527. case 2:
  15528. clip1lo_gaincode =
  15529. clip1loG_gaincode_rev5[2];
  15530. break;
  15531. case 3:
  15532. clip1lo_gaincode =
  15533. clip1loG_gaincode_rev5[3];
  15534. break;
  15535. case 4:
  15536. clip1lo_gaincode =
  15537. clip1loG_gaincode_rev5[4];
  15538. break;
  15539. case 5:
  15540. clip1lo_gaincode =
  15541. clip1loG_gaincode_rev5[5];
  15542. break;
  15543. case 6:
  15544. clip1lo_gaincode =
  15545. clip1loG_gaincode_rev5[6];
  15546. break;
  15547. case 7:
  15548. clip1lo_gaincode =
  15549. clip1loG_gaincode_rev5[7];
  15550. break;
  15551. default:
  15552. clip1lo_gaincode =
  15553. clip1loG_gaincode_rev5[3];
  15554. break;
  15555. }
  15556. nbclip_th = nbclipG_th_rev5;
  15557. w1clip_th = w1clipG_th_rev5;
  15558. crsmin_th = crsminG_th_rev5;
  15559. crsminl_th = crsminlG_th_rev5;
  15560. crsminu_th = crsminuG_th_rev5;
  15561. rssi_gain = rssi_gain_default;
  15562. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15563. lna1_gain_db = lna1G_gain_db_rev4;
  15564. lna2_gain_db = lna2G_gain_db;
  15565. rfseq_init_gain = rfseqG_init_gain_rev4;
  15566. init_gaincode = initG_gaincode_rev4;
  15567. clip1hi_gaincode = clip1hiG_gaincode_rev4;
  15568. clip1lo_gaincode = clip1loG_gaincode;
  15569. nbclip_th = nbclipG_th_rev4;
  15570. w1clip_th = w1clipG_th;
  15571. crsmin_th = crsminG_th;
  15572. crsminl_th = crsminlG_th;
  15573. crsminu_th = crsminuG_th;
  15574. rssi_gain = rssi_gain_default;
  15575. } else {
  15576. lna1_gain_db = lna1G_gain_db;
  15577. lna2_gain_db = lna2G_gain_db;
  15578. rfseq_init_gain = rfseqG_init_gain;
  15579. init_gaincode = initG_gaincode;
  15580. clip1hi_gaincode = clip1hiG_gaincode;
  15581. clip1lo_gaincode = clip1loG_gaincode;
  15582. nbclip_th = nbclipG_th;
  15583. w1clip_th = w1clipG_th;
  15584. crsmin_th = crsminG_th;
  15585. crsminl_th = crsminlG_th;
  15586. crsminu_th = crsminuG_th;
  15587. rssi_gain = rssi_gain_default;
  15588. }
  15589. tia_gain_db = tiaG_gain_db;
  15590. tia_gainbits = tiaG_gainbits;
  15591. clip1md_gaincode = clip1mdG_gaincode;
  15592. } else {
  15593. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15594. lna1_gain_db = lna1A_gain_db_rev6;
  15595. lna2_gain_db = lna2A_gain_db_rev6;
  15596. tia_gain_db = tiaA_gain_db_rev6;
  15597. tia_gainbits = tiaA_gainbits_rev6;
  15598. rfseq_init_gain = rfseqA_init_gain_rev6;
  15599. init_gaincode = initA_gaincode_rev6;
  15600. clip1hi_gaincode = clip1hiA_gaincode_rev6;
  15601. clip1md_gaincode = clip1mdA_gaincode_rev6;
  15602. clip1lo_gaincode = clip1loA_gaincode_rev6;
  15603. crsmin_th = crsminA_th_rev6;
  15604. crsminl_th = crsminlA_th_rev6;
  15605. if ((pi->pubpi.radiorev == 11) &&
  15606. (CHSPEC_IS40(pi->radio_chanspec) == 0))
  15607. crsminu_th = crsminuA_th_rev6_224B0;
  15608. else
  15609. crsminu_th = crsminuA_th_rev6;
  15610. nbclip_th = nbclipA_th_rev6;
  15611. rssi_gain = rssiA_gain_rev6;
  15612. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15613. lna1_gain_db = lna1A_gain_db_rev5;
  15614. lna2_gain_db = lna2A_gain_db_rev5;
  15615. tia_gain_db = tiaA_gain_db_rev5;
  15616. tia_gainbits = tiaA_gainbits_rev5;
  15617. rfseq_init_gain = rfseqA_init_gain_rev5;
  15618. init_gaincode = initA_gaincode_rev5;
  15619. clip1hi_gaincode = clip1hiA_gaincode_rev5;
  15620. clip1md_gaincode = clip1mdA_gaincode_rev5;
  15621. clip1lo_gaincode = clip1loA_gaincode_rev5;
  15622. crsmin_th = crsminA_th_rev5;
  15623. crsminl_th = crsminlA_th_rev5;
  15624. crsminu_th = crsminuA_th_rev5;
  15625. nbclip_th = nbclipA_th_rev5;
  15626. rssi_gain = rssiA_gain_rev5;
  15627. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15628. lna1_gain_db = lna1A_gain_db_rev4;
  15629. lna2_gain_db = lna2A_gain_db_rev4;
  15630. tia_gain_db = tiaA_gain_db_rev4;
  15631. tia_gainbits = tiaA_gainbits_rev4;
  15632. if (pi->sh->boardflags & BFL_EXTLNA_5GHz) {
  15633. rfseq_init_gain =
  15634. rfseqA_init_gain_rev4_elna;
  15635. init_gaincode =
  15636. initA_gaincode_rev4_elna;
  15637. } else {
  15638. rfseq_init_gain = rfseqA_init_gain_rev4;
  15639. init_gaincode = initA_gaincode_rev4;
  15640. }
  15641. clip1hi_gaincode = clip1hiA_gaincode_rev4;
  15642. clip1md_gaincode = clip1mdA_gaincode_rev4;
  15643. clip1lo_gaincode = clip1loA_gaincode_rev4;
  15644. crsmin_th = crsminA_th_rev4;
  15645. crsminl_th = crsminlA_th_rev4;
  15646. crsminu_th = crsminuA_th_rev4;
  15647. nbclip_th = nbclipA_th_rev4;
  15648. rssi_gain = rssi_gain_default;
  15649. } else {
  15650. lna1_gain_db = lna1A_gain_db;
  15651. lna2_gain_db = lna2A_gain_db;
  15652. tia_gain_db = tiaA_gain_db;
  15653. tia_gainbits = tiaA_gainbits;
  15654. rfseq_init_gain = rfseqA_init_gain;
  15655. init_gaincode = initA_gaincode;
  15656. clip1hi_gaincode = clip1hiA_gaincode;
  15657. clip1md_gaincode = clip1mdA_gaincode;
  15658. clip1lo_gaincode = clip1loA_gaincode;
  15659. crsmin_th = crsminA_th;
  15660. crsminl_th = crsminlA_th;
  15661. crsminu_th = crsminuA_th;
  15662. nbclip_th = nbclipA_th;
  15663. rssi_gain = rssi_gain_default;
  15664. }
  15665. w1clip_th = w1clipA_th;
  15666. }
  15667. write_radio_reg(pi,
  15668. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15669. RADIO_2056_RX0), 0x17);
  15670. write_radio_reg(pi,
  15671. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15672. RADIO_2056_RX1), 0x17);
  15673. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX0),
  15674. 0xf0);
  15675. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX1),
  15676. 0xf0);
  15677. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX0),
  15678. 0x0);
  15679. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX1),
  15680. 0x0);
  15681. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX0),
  15682. rssi_gain);
  15683. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX1),
  15684. rssi_gain);
  15685. write_radio_reg(pi,
  15686. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15687. RADIO_2056_RX0), 0x17);
  15688. write_radio_reg(pi,
  15689. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15690. RADIO_2056_RX1), 0x17);
  15691. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX0),
  15692. 0xFF);
  15693. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX1),
  15694. 0xFF);
  15695. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8,
  15696. 8, lna1_gain_db);
  15697. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8,
  15698. 8, lna1_gain_db);
  15699. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15700. 8, lna2_gain_db);
  15701. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15702. 8, lna2_gain_db);
  15703. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20,
  15704. 8, tia_gain_db);
  15705. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20,
  15706. 8, tia_gain_db);
  15707. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20,
  15708. 8, tia_gainbits);
  15709. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20,
  15710. 8, tia_gainbits);
  15711. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 6, 0x40,
  15712. 8, &lpf_gain_db);
  15713. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 6, 0x40,
  15714. 8, &lpf_gain_db);
  15715. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 6, 0x40,
  15716. 8, &lpf_gainbits);
  15717. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 6, 0x40,
  15718. 8, &lpf_gainbits);
  15719. write_phy_reg(pi, 0x20, init_gaincode);
  15720. write_phy_reg(pi, 0x2a7, init_gaincode);
  15721. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15722. pi->pubpi.phy_corenum, 0x106, 16,
  15723. rfseq_init_gain);
  15724. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15725. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15726. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15727. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15728. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15729. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15730. mod_phy_reg(pi, 0x27d, (0xff << 0), (crsmin_th << 0));
  15731. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15732. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15733. write_phy_reg(pi, 0x2b, nbclip_th);
  15734. write_phy_reg(pi, 0x41, nbclip_th);
  15735. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1clip_th << 0));
  15736. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1clip_th << 0));
  15737. write_phy_reg(pi, 0x150, 0x809c);
  15738. } else {
  15739. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15740. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15741. write_phy_reg(pi, 0x2b, 0x84);
  15742. write_phy_reg(pi, 0x41, 0x84);
  15743. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15744. write_phy_reg(pi, 0x6b, 0x2b);
  15745. write_phy_reg(pi, 0x6c, 0x2b);
  15746. write_phy_reg(pi, 0x6d, 0x9);
  15747. write_phy_reg(pi, 0x6e, 0x9);
  15748. }
  15749. w1th = NPHY_RSSICAL_W1_TARGET - 4;
  15750. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1th << 0));
  15751. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1th << 0));
  15752. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15753. mod_phy_reg(pi, 0x1c, (0x1f << 0), (0x1 << 0));
  15754. mod_phy_reg(pi, 0x32, (0x1f << 0), (0x1 << 0));
  15755. mod_phy_reg(pi, 0x1d, (0x1f << 0), (0x1 << 0));
  15756. mod_phy_reg(pi, 0x33, (0x1f << 0), (0x1 << 0));
  15757. }
  15758. write_phy_reg(pi, 0x150, 0x809c);
  15759. if (pi->nphy_gain_boost)
  15760. if ((CHSPEC_IS2G(pi->radio_chanspec)) &&
  15761. (CHSPEC_IS40(pi->radio_chanspec)))
  15762. hpf_code = 4;
  15763. else
  15764. hpf_code = 5;
  15765. else if (CHSPEC_IS40(pi->radio_chanspec))
  15766. hpf_code = 6;
  15767. else
  15768. hpf_code = 7;
  15769. mod_phy_reg(pi, 0x20, (0x1f << 7), (hpf_code << 7));
  15770. mod_phy_reg(pi, 0x36, (0x1f << 7), (hpf_code << 7));
  15771. for (ctr = 0; ctr < 4; ctr++)
  15772. regval[ctr] = (hpf_code << 8) | 0x7c;
  15773. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15774. wlc_phy_adjust_lnagaintbl_nphy(pi);
  15775. if (pi->nphy_elna_gain_config) {
  15776. regval[0] = 0;
  15777. regval[1] = 1;
  15778. regval[2] = 1;
  15779. regval[3] = 1;
  15780. wlc_phy_table_write_nphy(pi, 2, 4, 8, 16, regval);
  15781. wlc_phy_table_write_nphy(pi, 3, 4, 8, 16, regval);
  15782. for (ctr = 0; ctr < 4; ctr++)
  15783. regval[ctr] = (hpf_code << 8) | 0x74;
  15784. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15785. }
  15786. if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  15787. for (ctr = 0; ctr < 21; ctr++)
  15788. regval[ctr] = 3 * ctr;
  15789. wlc_phy_table_write_nphy(pi, 0, 21, 32, 16, regval);
  15790. wlc_phy_table_write_nphy(pi, 1, 21, 32, 16, regval);
  15791. for (ctr = 0; ctr < 21; ctr++)
  15792. regval[ctr] = (u16) ctr;
  15793. wlc_phy_table_write_nphy(pi, 2, 21, 32, 16, regval);
  15794. wlc_phy_table_write_nphy(pi, 3, 21, 32, 16, regval);
  15795. }
  15796. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_UPDATEGAINU,
  15797. rfseq_updategainu_events,
  15798. rfseq_updategainu_dlys,
  15799. sizeof(rfseq_updategainu_events) /
  15800. sizeof(rfseq_updategainu_events[0]));
  15801. mod_phy_reg(pi, 0x153, (0xff << 8), (90 << 8));
  15802. if (CHSPEC_IS2G(pi->radio_chanspec))
  15803. mod_phy_reg(pi,
  15804. (NPHY_TO_BPHY_OFF + BPHY_OPTIONAL_MODES),
  15805. 0x7f, 0x4);
  15806. }
  15807. }
  15808. static void wlc_phy_workarounds_nphy(struct brcms_phy *pi)
  15809. {
  15810. u8 rfseq_rx2tx_events[] = {
  15811. NPHY_RFSEQ_CMD_NOP,
  15812. NPHY_RFSEQ_CMD_RXG_FBW,
  15813. NPHY_RFSEQ_CMD_TR_SWITCH,
  15814. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15815. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15816. NPHY_RFSEQ_CMD_TX_GAIN,
  15817. NPHY_RFSEQ_CMD_EXT_PA
  15818. };
  15819. u8 rfseq_rx2tx_dlys[] = { 8, 6, 6, 2, 4, 60, 1 };
  15820. u8 rfseq_tx2rx_events[] = {
  15821. NPHY_RFSEQ_CMD_NOP,
  15822. NPHY_RFSEQ_CMD_EXT_PA,
  15823. NPHY_RFSEQ_CMD_TX_GAIN,
  15824. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15825. NPHY_RFSEQ_CMD_TR_SWITCH,
  15826. NPHY_RFSEQ_CMD_RXG_FBW,
  15827. NPHY_RFSEQ_CMD_CLR_HIQ_DIS
  15828. };
  15829. u8 rfseq_tx2rx_dlys[] = { 8, 6, 2, 4, 4, 6, 1 };
  15830. u8 rfseq_tx2rx_events_rev3[] = {
  15831. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15832. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15833. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15834. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15835. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15836. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15837. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15838. NPHY_REV3_RFSEQ_CMD_END
  15839. };
  15840. u8 rfseq_tx2rx_dlys_rev3[] = { 8, 4, 2, 2, 4, 4, 6, 1 };
  15841. u8 rfseq_rx2tx_events_rev3[] = {
  15842. NPHY_REV3_RFSEQ_CMD_NOP,
  15843. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15844. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15845. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15846. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15847. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15848. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15849. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15850. NPHY_REV3_RFSEQ_CMD_END
  15851. };
  15852. u8 rfseq_rx2tx_dlys_rev3[] = { 8, 6, 6, 4, 4, 18, 42, 1, 1 };
  15853. u8 rfseq_rx2tx_events_rev3_ipa[] = {
  15854. NPHY_REV3_RFSEQ_CMD_NOP,
  15855. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15856. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15857. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15858. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15859. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15860. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  15861. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15862. NPHY_REV3_RFSEQ_CMD_END
  15863. };
  15864. u8 rfseq_rx2tx_dlys_rev3_ipa[] = { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  15865. u16 rfseq_rx2tx_dacbufpu_rev7[] = { 0x10f, 0x10f };
  15866. s16 alpha0, alpha1, alpha2;
  15867. s16 beta0, beta1, beta2;
  15868. u32 leg_data_weights, ht_data_weights, nss1_data_weights,
  15869. stbc_data_weights;
  15870. u8 chan_freq_range = 0;
  15871. u16 dac_control = 0x0002;
  15872. u16 aux_adc_vmid_rev7_core0[] = { 0x8e, 0x96, 0x96, 0x96 };
  15873. u16 aux_adc_vmid_rev7_core1[] = { 0x8f, 0x9f, 0x9f, 0x96 };
  15874. u16 aux_adc_vmid_rev4[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15875. u16 aux_adc_vmid_rev3[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15876. u16 *aux_adc_vmid;
  15877. u16 aux_adc_gain_rev7[] = { 0x02, 0x02, 0x02, 0x02 };
  15878. u16 aux_adc_gain_rev4[] = { 0x02, 0x02, 0x02, 0x00 };
  15879. u16 aux_adc_gain_rev3[] = { 0x02, 0x02, 0x02, 0x00 };
  15880. u16 *aux_adc_gain;
  15881. u16 sk_adc_vmid[] = { 0xb4, 0xb4, 0xb4, 0x24 };
  15882. u16 sk_adc_gain[] = { 0x02, 0x02, 0x02, 0x02 };
  15883. s32 min_nvar_val = 0x18d;
  15884. s32 min_nvar_offset_6mbps = 20;
  15885. u8 pdetrange;
  15886. u8 triso;
  15887. u16 regval;
  15888. u16 afectrl_adc_ctrl1_rev7 = 0x20;
  15889. u16 afectrl_adc_ctrl2_rev7 = 0x0;
  15890. u16 rfseq_rx2tx_lpf_h_hpc_rev7 = 0x77;
  15891. u16 rfseq_tx2rx_lpf_h_hpc_rev7 = 0x77;
  15892. u16 rfseq_pktgn_lpf_h_hpc_rev7 = 0x77;
  15893. u16 rfseq_htpktgn_lpf_hpc_rev7[] = { 0x77, 0x11, 0x11 };
  15894. u16 rfseq_pktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15895. u16 rfseq_cckpktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15896. u16 ipalvlshift_3p3_war_en = 0;
  15897. u16 rccal_bcap_val, rccal_scap_val;
  15898. u16 rccal_tx20_11b_bcap = 0;
  15899. u16 rccal_tx20_11b_scap = 0;
  15900. u16 rccal_tx20_11n_bcap = 0;
  15901. u16 rccal_tx20_11n_scap = 0;
  15902. u16 rccal_tx40_11n_bcap = 0;
  15903. u16 rccal_tx40_11n_scap = 0;
  15904. u16 rx2tx_lpf_rc_lut_tx20_11b = 0;
  15905. u16 rx2tx_lpf_rc_lut_tx20_11n = 0;
  15906. u16 rx2tx_lpf_rc_lut_tx40_11n = 0;
  15907. u16 tx_lpf_bw_ofdm_20mhz = 0;
  15908. u16 tx_lpf_bw_ofdm_40mhz = 0;
  15909. u16 tx_lpf_bw_11b = 0;
  15910. u16 ipa2g_mainbias, ipa2g_casconv, ipa2g_biasfilt;
  15911. u16 txgm_idac_bleed = 0;
  15912. bool rccal_ovrd = false;
  15913. u16 freq;
  15914. int coreNum;
  15915. if (CHSPEC_IS5G(pi->radio_chanspec))
  15916. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 0);
  15917. else
  15918. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 1);
  15919. if (pi->phyhang_avoid)
  15920. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  15921. or_phy_reg(pi, 0xb1, NPHY_IQFlip_ADC1 | NPHY_IQFlip_ADC2);
  15922. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15923. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  15924. mod_phy_reg(pi, 0x221, (0x1 << 4), (1 << 4));
  15925. mod_phy_reg(pi, 0x160, (0x7f << 0), (32 << 0));
  15926. mod_phy_reg(pi, 0x160, (0x7f << 8), (39 << 8));
  15927. mod_phy_reg(pi, 0x161, (0x7f << 0), (46 << 0));
  15928. mod_phy_reg(pi, 0x161, (0x7f << 8), (51 << 8));
  15929. mod_phy_reg(pi, 0x162, (0x7f << 0), (55 << 0));
  15930. mod_phy_reg(pi, 0x162, (0x7f << 8), (58 << 8));
  15931. mod_phy_reg(pi, 0x163, (0x7f << 0), (60 << 0));
  15932. mod_phy_reg(pi, 0x163, (0x7f << 8), (62 << 8));
  15933. mod_phy_reg(pi, 0x164, (0x7f << 0), (62 << 0));
  15934. mod_phy_reg(pi, 0x164, (0x7f << 8), (63 << 8));
  15935. mod_phy_reg(pi, 0x165, (0x7f << 0), (63 << 0));
  15936. mod_phy_reg(pi, 0x165, (0x7f << 8), (64 << 8));
  15937. mod_phy_reg(pi, 0x166, (0x7f << 0), (64 << 0));
  15938. mod_phy_reg(pi, 0x166, (0x7f << 8), (64 << 8));
  15939. mod_phy_reg(pi, 0x167, (0x7f << 0), (64 << 0));
  15940. mod_phy_reg(pi, 0x167, (0x7f << 8), (64 << 8));
  15941. }
  15942. if (NREV_LE(pi->pubpi.phy_rev, 8)) {
  15943. write_phy_reg(pi, 0x23f, 0x1b0);
  15944. write_phy_reg(pi, 0x240, 0x1b0);
  15945. }
  15946. if (NREV_GE(pi->pubpi.phy_rev, 8))
  15947. mod_phy_reg(pi, 0xbd, (0xff << 0), (114 << 0));
  15948. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  15949. &dac_control);
  15950. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  15951. &dac_control);
  15952. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15953. 1, 0, 32, &leg_data_weights);
  15954. leg_data_weights = leg_data_weights & 0xffffff;
  15955. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15956. 1, 0, 32, &leg_data_weights);
  15957. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15958. 2, 0x15e, 16,
  15959. rfseq_rx2tx_dacbufpu_rev7);
  15960. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x16e, 16,
  15961. rfseq_rx2tx_dacbufpu_rev7);
  15962. if (PHY_IPA(pi))
  15963. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  15964. rfseq_rx2tx_events_rev3_ipa,
  15965. rfseq_rx2tx_dlys_rev3_ipa,
  15966. sizeof
  15967. (rfseq_rx2tx_events_rev3_ipa) /
  15968. sizeof
  15969. (rfseq_rx2tx_events_rev3_ipa
  15970. [0]));
  15971. mod_phy_reg(pi, 0x299, (0x3 << 14), (0x1 << 14));
  15972. mod_phy_reg(pi, 0x29d, (0x3 << 14), (0x1 << 14));
  15973. tx_lpf_bw_ofdm_20mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x154);
  15974. tx_lpf_bw_ofdm_40mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x159);
  15975. tx_lpf_bw_11b = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x152);
  15976. if (PHY_IPA(pi)) {
  15977. if (((pi->pubpi.radiorev == 5)
  15978. && (CHSPEC_IS40(pi->radio_chanspec) == 1))
  15979. || (pi->pubpi.radiorev == 7)
  15980. || (pi->pubpi.radiorev == 8)) {
  15981. rccal_bcap_val =
  15982. read_radio_reg(
  15983. pi,
  15984. RADIO_2057_RCCAL_BCAP_VAL);
  15985. rccal_scap_val =
  15986. read_radio_reg(
  15987. pi,
  15988. RADIO_2057_RCCAL_SCAP_VAL);
  15989. rccal_tx20_11b_bcap = rccal_bcap_val;
  15990. rccal_tx20_11b_scap = rccal_scap_val;
  15991. if ((pi->pubpi.radiorev == 5) &&
  15992. (CHSPEC_IS40(pi->radio_chanspec) == 1)) {
  15993. rccal_tx20_11n_bcap = rccal_bcap_val;
  15994. rccal_tx20_11n_scap = rccal_scap_val;
  15995. rccal_tx40_11n_bcap = 0xc;
  15996. rccal_tx40_11n_scap = 0xc;
  15997. rccal_ovrd = true;
  15998. } else if ((pi->pubpi.radiorev == 7)
  15999. || (pi->pubpi.radiorev == 8)) {
  16000. tx_lpf_bw_ofdm_20mhz = 4;
  16001. tx_lpf_bw_11b = 1;
  16002. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16003. rccal_tx20_11n_bcap = 0xc;
  16004. rccal_tx20_11n_scap = 0xc;
  16005. rccal_tx40_11n_bcap = 0xa;
  16006. rccal_tx40_11n_scap = 0xa;
  16007. } else {
  16008. rccal_tx20_11n_bcap = 0x14;
  16009. rccal_tx20_11n_scap = 0x14;
  16010. rccal_tx40_11n_bcap = 0xf;
  16011. rccal_tx40_11n_scap = 0xf;
  16012. }
  16013. rccal_ovrd = true;
  16014. }
  16015. }
  16016. } else {
  16017. if (pi->pubpi.radiorev == 5) {
  16018. tx_lpf_bw_ofdm_20mhz = 1;
  16019. tx_lpf_bw_ofdm_40mhz = 3;
  16020. rccal_bcap_val =
  16021. read_radio_reg(
  16022. pi,
  16023. RADIO_2057_RCCAL_BCAP_VAL);
  16024. rccal_scap_val =
  16025. read_radio_reg(
  16026. pi,
  16027. RADIO_2057_RCCAL_SCAP_VAL);
  16028. rccal_tx20_11b_bcap = rccal_bcap_val;
  16029. rccal_tx20_11b_scap = rccal_scap_val;
  16030. rccal_tx20_11n_bcap = 0x13;
  16031. rccal_tx20_11n_scap = 0x11;
  16032. rccal_tx40_11n_bcap = 0x13;
  16033. rccal_tx40_11n_scap = 0x11;
  16034. rccal_ovrd = true;
  16035. }
  16036. }
  16037. if (rccal_ovrd) {
  16038. rx2tx_lpf_rc_lut_tx20_11b =
  16039. (rccal_tx20_11b_bcap << 8) |
  16040. (rccal_tx20_11b_scap << 3) |
  16041. tx_lpf_bw_11b;
  16042. rx2tx_lpf_rc_lut_tx20_11n =
  16043. (rccal_tx20_11n_bcap << 8) |
  16044. (rccal_tx20_11n_scap << 3) |
  16045. tx_lpf_bw_ofdm_20mhz;
  16046. rx2tx_lpf_rc_lut_tx40_11n =
  16047. (rccal_tx40_11n_bcap << 8) |
  16048. (rccal_tx40_11n_scap << 3) |
  16049. tx_lpf_bw_ofdm_40mhz;
  16050. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16051. wlc_phy_table_write_nphy(
  16052. pi, NPHY_TBL_ID_RFSEQ,
  16053. 1,
  16054. 0x152 + coreNum * 0x10,
  16055. 16,
  16056. &rx2tx_lpf_rc_lut_tx20_11b);
  16057. wlc_phy_table_write_nphy(
  16058. pi, NPHY_TBL_ID_RFSEQ,
  16059. 1,
  16060. 0x153 + coreNum * 0x10,
  16061. 16,
  16062. &rx2tx_lpf_rc_lut_tx20_11n);
  16063. wlc_phy_table_write_nphy(
  16064. pi, NPHY_TBL_ID_RFSEQ,
  16065. 1,
  16066. 0x154 + coreNum * 0x10,
  16067. 16,
  16068. &rx2tx_lpf_rc_lut_tx20_11n);
  16069. wlc_phy_table_write_nphy(
  16070. pi, NPHY_TBL_ID_RFSEQ,
  16071. 1,
  16072. 0x155 + coreNum * 0x10,
  16073. 16,
  16074. &rx2tx_lpf_rc_lut_tx40_11n);
  16075. wlc_phy_table_write_nphy(
  16076. pi, NPHY_TBL_ID_RFSEQ,
  16077. 1,
  16078. 0x156 + coreNum * 0x10,
  16079. 16,
  16080. &rx2tx_lpf_rc_lut_tx40_11n);
  16081. wlc_phy_table_write_nphy(
  16082. pi, NPHY_TBL_ID_RFSEQ,
  16083. 1,
  16084. 0x157 + coreNum * 0x10,
  16085. 16,
  16086. &rx2tx_lpf_rc_lut_tx40_11n);
  16087. wlc_phy_table_write_nphy(
  16088. pi, NPHY_TBL_ID_RFSEQ,
  16089. 1,
  16090. 0x158 + coreNum * 0x10,
  16091. 16,
  16092. &rx2tx_lpf_rc_lut_tx40_11n);
  16093. wlc_phy_table_write_nphy(
  16094. pi, NPHY_TBL_ID_RFSEQ,
  16095. 1,
  16096. 0x159 + coreNum * 0x10,
  16097. 16,
  16098. &rx2tx_lpf_rc_lut_tx40_11n);
  16099. }
  16100. wlc_phy_rfctrl_override_nphy_rev7(
  16101. pi, (0x1 << 4),
  16102. 1, 0x3, 0,
  16103. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  16104. }
  16105. write_phy_reg(pi, 0x32f, 0x3);
  16106. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  16107. wlc_phy_rfctrl_override_nphy_rev7(
  16108. pi, (0x1 << 2),
  16109. 1, 0x3, 0,
  16110. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16111. if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) ||
  16112. (pi->pubpi.radiorev == 6)) {
  16113. if ((pi->sh->sromrev >= 8)
  16114. && (pi->sh->boardflags2 & BFL2_IPALVLSHIFT_3P3))
  16115. ipalvlshift_3p3_war_en = 1;
  16116. if (ipalvlshift_3p3_war_en) {
  16117. write_radio_reg(pi, RADIO_2057_GPAIO_CONFIG,
  16118. 0x5);
  16119. write_radio_reg(pi, RADIO_2057_GPAIO_SEL1,
  16120. 0x30);
  16121. write_radio_reg(pi, RADIO_2057_GPAIO_SEL0, 0x0);
  16122. or_radio_reg(pi,
  16123. RADIO_2057_RXTXBIAS_CONFIG_CORE0,
  16124. 0x1);
  16125. or_radio_reg(pi,
  16126. RADIO_2057_RXTXBIAS_CONFIG_CORE1,
  16127. 0x1);
  16128. ipa2g_mainbias = 0x1f;
  16129. ipa2g_casconv = 0x6f;
  16130. ipa2g_biasfilt = 0xaa;
  16131. } else {
  16132. ipa2g_mainbias = 0x2b;
  16133. ipa2g_casconv = 0x7f;
  16134. ipa2g_biasfilt = 0xee;
  16135. }
  16136. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16137. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16138. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16139. coreNum, IPA2G_IMAIN,
  16140. ipa2g_mainbias);
  16141. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16142. coreNum, IPA2G_CASCONV,
  16143. ipa2g_casconv);
  16144. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16145. coreNum,
  16146. IPA2G_BIAS_FILTER,
  16147. ipa2g_biasfilt);
  16148. }
  16149. }
  16150. }
  16151. if (PHY_IPA(pi)) {
  16152. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16153. if ((pi->pubpi.radiorev == 3)
  16154. || (pi->pubpi.radiorev == 4)
  16155. || (pi->pubpi.radiorev == 6))
  16156. txgm_idac_bleed = 0x7f;
  16157. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16158. if (txgm_idac_bleed != 0)
  16159. WRITE_RADIO_REG4(
  16160. pi, RADIO_2057,
  16161. CORE, coreNum,
  16162. TXGM_IDAC_BLEED,
  16163. txgm_idac_bleed);
  16164. }
  16165. if (pi->pubpi.radiorev == 5) {
  16166. for (coreNum = 0; coreNum <= 1;
  16167. coreNum++) {
  16168. WRITE_RADIO_REG4(pi, RADIO_2057,
  16169. CORE, coreNum,
  16170. IPA2G_CASCONV,
  16171. 0x13);
  16172. WRITE_RADIO_REG4(pi, RADIO_2057,
  16173. CORE, coreNum,
  16174. IPA2G_IMAIN,
  16175. 0x1f);
  16176. WRITE_RADIO_REG4(
  16177. pi, RADIO_2057,
  16178. CORE, coreNum,
  16179. IPA2G_BIAS_FILTER,
  16180. 0xee);
  16181. WRITE_RADIO_REG4(pi, RADIO_2057,
  16182. CORE, coreNum,
  16183. PAD2G_IDACS,
  16184. 0x8a);
  16185. WRITE_RADIO_REG4(
  16186. pi, RADIO_2057,
  16187. CORE, coreNum,
  16188. PAD_BIAS_FILTER_BWS,
  16189. 0x3e);
  16190. }
  16191. } else if ((pi->pubpi.radiorev == 7)
  16192. || (pi->pubpi.radiorev == 8)) {
  16193. if (CHSPEC_IS40(pi->radio_chanspec) ==
  16194. 0) {
  16195. WRITE_RADIO_REG4(pi, RADIO_2057,
  16196. CORE, 0,
  16197. IPA2G_IMAIN,
  16198. 0x14);
  16199. WRITE_RADIO_REG4(pi, RADIO_2057,
  16200. CORE, 1,
  16201. IPA2G_IMAIN,
  16202. 0x12);
  16203. } else {
  16204. WRITE_RADIO_REG4(pi, RADIO_2057,
  16205. CORE, 0,
  16206. IPA2G_IMAIN,
  16207. 0x16);
  16208. WRITE_RADIO_REG4(pi, RADIO_2057,
  16209. CORE, 1,
  16210. IPA2G_IMAIN,
  16211. 0x16);
  16212. }
  16213. }
  16214. } else {
  16215. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(
  16216. pi->radio_chanspec));
  16217. if (((freq >= 5180) && (freq <= 5230))
  16218. || ((freq >= 5745) && (freq <= 5805))) {
  16219. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16220. 0, IPA5G_BIAS_FILTER,
  16221. 0xff);
  16222. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16223. 1, IPA5G_BIAS_FILTER,
  16224. 0xff);
  16225. }
  16226. }
  16227. } else {
  16228. if (pi->pubpi.radiorev != 5) {
  16229. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16230. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16231. coreNum,
  16232. TXMIX2G_TUNE_BOOST_PU,
  16233. 0x61);
  16234. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16235. coreNum,
  16236. TXGM_IDAC_BLEED, 0x70);
  16237. }
  16238. }
  16239. }
  16240. if (pi->pubpi.radiorev == 4) {
  16241. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16242. 0x05, 16,
  16243. &afectrl_adc_ctrl1_rev7);
  16244. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16245. 0x15, 16,
  16246. &afectrl_adc_ctrl1_rev7);
  16247. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16248. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16249. AFE_VCM_CAL_MASTER, 0x0);
  16250. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16251. AFE_SET_VCM_I, 0x3f);
  16252. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16253. AFE_SET_VCM_Q, 0x3f);
  16254. }
  16255. } else {
  16256. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  16257. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  16258. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  16259. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  16260. mod_phy_reg(pi, 0xa6, (0x1 << 0), 0);
  16261. mod_phy_reg(pi, 0x8f, (0x1 << 0), (0x1 << 0));
  16262. mod_phy_reg(pi, 0xa7, (0x1 << 0), 0);
  16263. mod_phy_reg(pi, 0xa5, (0x1 << 0), (0x1 << 0));
  16264. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16265. 0x05, 16,
  16266. &afectrl_adc_ctrl2_rev7);
  16267. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16268. 0x15, 16,
  16269. &afectrl_adc_ctrl2_rev7);
  16270. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  16271. mod_phy_reg(pi, 0x8f, (0x1 << 2), 0);
  16272. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  16273. mod_phy_reg(pi, 0xa5, (0x1 << 2), 0);
  16274. }
  16275. write_phy_reg(pi, 0x6a, 0x2);
  16276. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 256, 32,
  16277. &min_nvar_offset_6mbps);
  16278. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x138, 16,
  16279. &rfseq_pktgn_lpf_hpc_rev7);
  16280. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x141, 16,
  16281. &rfseq_pktgn_lpf_h_hpc_rev7);
  16282. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 3, 0x133, 16,
  16283. &rfseq_htpktgn_lpf_hpc_rev7);
  16284. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x146, 16,
  16285. &rfseq_cckpktgn_lpf_hpc_rev7);
  16286. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x123, 16,
  16287. &rfseq_tx2rx_lpf_h_hpc_rev7);
  16288. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x12A, 16,
  16289. &rfseq_rx2tx_lpf_h_hpc_rev7);
  16290. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16291. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16292. 32, &min_nvar_val);
  16293. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16294. 127, 32, &min_nvar_val);
  16295. } else {
  16296. min_nvar_val = noise_var_tbl_rev7[3];
  16297. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16298. 32, &min_nvar_val);
  16299. min_nvar_val = noise_var_tbl_rev7[127];
  16300. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16301. 127, 32, &min_nvar_val);
  16302. }
  16303. wlc_phy_workarounds_nphy_gainctrl(pi);
  16304. pdetrange =
  16305. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16306. pdetrange : pi->srom_fem2g.pdetrange;
  16307. if (pdetrange == 0) {
  16308. chan_freq_range =
  16309. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16310. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16311. aux_adc_vmid_rev7_core0[3] = 0x70;
  16312. aux_adc_vmid_rev7_core1[3] = 0x70;
  16313. aux_adc_gain_rev7[3] = 2;
  16314. } else {
  16315. aux_adc_vmid_rev7_core0[3] = 0x80;
  16316. aux_adc_vmid_rev7_core1[3] = 0x80;
  16317. aux_adc_gain_rev7[3] = 3;
  16318. }
  16319. } else if (pdetrange == 1) {
  16320. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16321. aux_adc_vmid_rev7_core0[3] = 0x7c;
  16322. aux_adc_vmid_rev7_core1[3] = 0x7c;
  16323. aux_adc_gain_rev7[3] = 2;
  16324. } else {
  16325. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16326. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16327. aux_adc_gain_rev7[3] = 1;
  16328. }
  16329. } else if (pdetrange == 2) {
  16330. if (pi->pubpi.radioid == BCM2057_ID) {
  16331. if ((pi->pubpi.radiorev == 5)
  16332. || (pi->pubpi.radiorev == 7)
  16333. || (pi->pubpi.radiorev == 8)) {
  16334. if (chan_freq_range ==
  16335. WL_CHAN_FREQ_RANGE_2G) {
  16336. aux_adc_vmid_rev7_core0[3] =
  16337. 0x8c;
  16338. aux_adc_vmid_rev7_core1[3] =
  16339. 0x8c;
  16340. aux_adc_gain_rev7[3] = 0;
  16341. } else {
  16342. aux_adc_vmid_rev7_core0[3] =
  16343. 0x96;
  16344. aux_adc_vmid_rev7_core1[3] =
  16345. 0x96;
  16346. aux_adc_gain_rev7[3] = 0;
  16347. }
  16348. }
  16349. }
  16350. } else if (pdetrange == 3) {
  16351. if (chan_freq_range == WL_CHAN_FREQ_RANGE_2G) {
  16352. aux_adc_vmid_rev7_core0[3] = 0x89;
  16353. aux_adc_vmid_rev7_core1[3] = 0x89;
  16354. aux_adc_gain_rev7[3] = 0;
  16355. }
  16356. } else if (pdetrange == 5) {
  16357. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16358. aux_adc_vmid_rev7_core0[3] = 0x80;
  16359. aux_adc_vmid_rev7_core1[3] = 0x80;
  16360. aux_adc_gain_rev7[3] = 3;
  16361. } else {
  16362. aux_adc_vmid_rev7_core0[3] = 0x70;
  16363. aux_adc_vmid_rev7_core1[3] = 0x70;
  16364. aux_adc_gain_rev7[3] = 2;
  16365. }
  16366. }
  16367. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x08, 16,
  16368. &aux_adc_vmid_rev7_core0);
  16369. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x18, 16,
  16370. &aux_adc_vmid_rev7_core1);
  16371. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x0c, 16,
  16372. &aux_adc_gain_rev7);
  16373. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x1c, 16,
  16374. &aux_adc_gain_rev7);
  16375. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16376. write_phy_reg(pi, 0x23f, 0x1f8);
  16377. write_phy_reg(pi, 0x240, 0x1f8);
  16378. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16379. 1, 0, 32, &leg_data_weights);
  16380. leg_data_weights = leg_data_weights & 0xffffff;
  16381. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16382. 1, 0, 32, &leg_data_weights);
  16383. alpha0 = 293;
  16384. alpha1 = 435;
  16385. alpha2 = 261;
  16386. beta0 = 366;
  16387. beta1 = 205;
  16388. beta2 = 32;
  16389. write_phy_reg(pi, 0x145, alpha0);
  16390. write_phy_reg(pi, 0x146, alpha1);
  16391. write_phy_reg(pi, 0x147, alpha2);
  16392. write_phy_reg(pi, 0x148, beta0);
  16393. write_phy_reg(pi, 0x149, beta1);
  16394. write_phy_reg(pi, 0x14a, beta2);
  16395. write_phy_reg(pi, 0x38, 0xC);
  16396. write_phy_reg(pi, 0x2ae, 0xC);
  16397. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX,
  16398. rfseq_tx2rx_events_rev3,
  16399. rfseq_tx2rx_dlys_rev3,
  16400. sizeof(rfseq_tx2rx_events_rev3) /
  16401. sizeof(rfseq_tx2rx_events_rev3[0]));
  16402. if (PHY_IPA(pi))
  16403. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16404. rfseq_rx2tx_events_rev3_ipa,
  16405. rfseq_rx2tx_dlys_rev3_ipa,
  16406. sizeof
  16407. (rfseq_rx2tx_events_rev3_ipa) /
  16408. sizeof
  16409. (rfseq_rx2tx_events_rev3_ipa
  16410. [0]));
  16411. if ((pi->sh->hw_phyrxchain != 0x3) &&
  16412. (pi->sh->hw_phyrxchain != pi->sh->hw_phytxchain)) {
  16413. if (PHY_IPA(pi)) {
  16414. rfseq_rx2tx_dlys_rev3[5] = 59;
  16415. rfseq_rx2tx_dlys_rev3[6] = 1;
  16416. rfseq_rx2tx_events_rev3[7] =
  16417. NPHY_REV3_RFSEQ_CMD_END;
  16418. }
  16419. wlc_phy_set_rfseq_nphy(
  16420. pi, NPHY_RFSEQ_RX2TX,
  16421. rfseq_rx2tx_events_rev3,
  16422. rfseq_rx2tx_dlys_rev3,
  16423. sizeof(rfseq_rx2tx_events_rev3) /
  16424. sizeof(rfseq_rx2tx_events_rev3[0]));
  16425. }
  16426. if (CHSPEC_IS2G(pi->radio_chanspec))
  16427. write_phy_reg(pi, 0x6a, 0x2);
  16428. else
  16429. write_phy_reg(pi, 0x6a, 0x9c40);
  16430. mod_phy_reg(pi, 0x294, (0xf << 8), (7 << 8));
  16431. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16432. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16433. 32, &min_nvar_val);
  16434. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16435. 127, 32, &min_nvar_val);
  16436. } else {
  16437. min_nvar_val = noise_var_tbl_rev3[3];
  16438. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16439. 32, &min_nvar_val);
  16440. min_nvar_val = noise_var_tbl_rev3[127];
  16441. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16442. 127, 32, &min_nvar_val);
  16443. }
  16444. wlc_phy_workarounds_nphy_gainctrl(pi);
  16445. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  16446. &dac_control);
  16447. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  16448. &dac_control);
  16449. pdetrange =
  16450. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16451. pdetrange : pi->srom_fem2g.pdetrange;
  16452. if (pdetrange == 0) {
  16453. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  16454. aux_adc_vmid = aux_adc_vmid_rev4;
  16455. aux_adc_gain = aux_adc_gain_rev4;
  16456. } else {
  16457. aux_adc_vmid = aux_adc_vmid_rev3;
  16458. aux_adc_gain = aux_adc_gain_rev3;
  16459. }
  16460. chan_freq_range =
  16461. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16462. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16463. switch (chan_freq_range) {
  16464. case WL_CHAN_FREQ_RANGE_5GL:
  16465. aux_adc_vmid[3] = 0x89;
  16466. aux_adc_gain[3] = 0;
  16467. break;
  16468. case WL_CHAN_FREQ_RANGE_5GM:
  16469. aux_adc_vmid[3] = 0x89;
  16470. aux_adc_gain[3] = 0;
  16471. break;
  16472. case WL_CHAN_FREQ_RANGE_5GH:
  16473. aux_adc_vmid[3] = 0x89;
  16474. aux_adc_gain[3] = 0;
  16475. break;
  16476. default:
  16477. break;
  16478. }
  16479. }
  16480. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16481. 0x08, 16, aux_adc_vmid);
  16482. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16483. 0x18, 16, aux_adc_vmid);
  16484. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16485. 0x0c, 16, aux_adc_gain);
  16486. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16487. 0x1c, 16, aux_adc_gain);
  16488. } else if (pdetrange == 1) {
  16489. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16490. 0x08, 16, sk_adc_vmid);
  16491. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16492. 0x18, 16, sk_adc_vmid);
  16493. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16494. 0x0c, 16, sk_adc_gain);
  16495. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16496. 0x1c, 16, sk_adc_gain);
  16497. } else if (pdetrange == 2) {
  16498. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x74 };
  16499. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x04 };
  16500. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16501. chan_freq_range =
  16502. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16503. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16504. bcm_adc_vmid[3] = 0x8e;
  16505. bcm_adc_gain[3] = 0x03;
  16506. } else {
  16507. bcm_adc_vmid[3] = 0x94;
  16508. bcm_adc_gain[3] = 0x03;
  16509. }
  16510. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  16511. bcm_adc_vmid[3] = 0x84;
  16512. bcm_adc_gain[3] = 0x02;
  16513. }
  16514. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16515. 0x08, 16, bcm_adc_vmid);
  16516. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16517. 0x18, 16, bcm_adc_vmid);
  16518. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16519. 0x0c, 16, bcm_adc_gain);
  16520. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16521. 0x1c, 16, bcm_adc_gain);
  16522. } else if (pdetrange == 3) {
  16523. chan_freq_range =
  16524. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16525. if ((NREV_GE(pi->pubpi.phy_rev, 4))
  16526. && (chan_freq_range == WL_CHAN_FREQ_RANGE_2G)) {
  16527. u16 auxadc_vmid[] = {
  16528. 0xa2, 0xb4, 0xb4, 0x270
  16529. };
  16530. u16 auxadc_gain[] = {
  16531. 0x02, 0x02, 0x02, 0x00
  16532. };
  16533. wlc_phy_table_write_nphy(pi,
  16534. NPHY_TBL_ID_AFECTRL, 4,
  16535. 0x08, 16, auxadc_vmid);
  16536. wlc_phy_table_write_nphy(pi,
  16537. NPHY_TBL_ID_AFECTRL, 4,
  16538. 0x18, 16, auxadc_vmid);
  16539. wlc_phy_table_write_nphy(pi,
  16540. NPHY_TBL_ID_AFECTRL, 4,
  16541. 0x0c, 16, auxadc_gain);
  16542. wlc_phy_table_write_nphy(pi,
  16543. NPHY_TBL_ID_AFECTRL, 4,
  16544. 0x1c, 16, auxadc_gain);
  16545. }
  16546. } else if ((pdetrange == 4) || (pdetrange == 5)) {
  16547. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x0 };
  16548. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x0 };
  16549. u16 Vmid[2], Av[2];
  16550. chan_freq_range =
  16551. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16552. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16553. Vmid[0] = (pdetrange == 4) ? 0x8e : 0x89;
  16554. Vmid[1] = (pdetrange == 4) ? 0x96 : 0x89;
  16555. Av[0] = (pdetrange == 4) ? 2 : 0;
  16556. Av[1] = (pdetrange == 4) ? 2 : 0;
  16557. } else {
  16558. Vmid[0] = (pdetrange == 4) ? 0x89 : 0x74;
  16559. Vmid[1] = (pdetrange == 4) ? 0x8b : 0x70;
  16560. Av[0] = (pdetrange == 4) ? 2 : 0;
  16561. Av[1] = (pdetrange == 4) ? 2 : 0;
  16562. }
  16563. bcm_adc_vmid[3] = Vmid[0];
  16564. bcm_adc_gain[3] = Av[0];
  16565. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16566. 0x08, 16, bcm_adc_vmid);
  16567. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16568. 0x0c, 16, bcm_adc_gain);
  16569. bcm_adc_vmid[3] = Vmid[1];
  16570. bcm_adc_gain[3] = Av[1];
  16571. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16572. 0x18, 16, bcm_adc_vmid);
  16573. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16574. 0x1c, 16, bcm_adc_gain);
  16575. }
  16576. write_radio_reg(pi,
  16577. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX0),
  16578. 0x0);
  16579. write_radio_reg(pi,
  16580. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX1),
  16581. 0x0);
  16582. write_radio_reg(pi,
  16583. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX0),
  16584. 0x6);
  16585. write_radio_reg(pi,
  16586. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX1),
  16587. 0x6);
  16588. write_radio_reg(pi,
  16589. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX0),
  16590. 0x7);
  16591. write_radio_reg(pi,
  16592. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX1),
  16593. 0x7);
  16594. write_radio_reg(pi,
  16595. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX0),
  16596. 0x88);
  16597. write_radio_reg(pi,
  16598. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX1),
  16599. 0x88);
  16600. write_radio_reg(pi,
  16601. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX0),
  16602. 0x0);
  16603. write_radio_reg(pi,
  16604. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX1),
  16605. 0x0);
  16606. write_radio_reg(pi,
  16607. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX0),
  16608. 0x0);
  16609. write_radio_reg(pi,
  16610. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX1),
  16611. 0x0);
  16612. triso =
  16613. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16614. triso : pi->srom_fem2g.triso;
  16615. if (triso == 7) {
  16616. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  16617. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  16618. }
  16619. wlc_phy_war_txchain_upd_nphy(pi, pi->sh->hw_phytxchain);
  16620. if (((pi->sh->boardflags2 & BFL2_APLL_WAR) &&
  16621. (CHSPEC_IS5G(pi->radio_chanspec))) ||
  16622. (((pi->sh->boardflags2 & BFL2_GPLL_WAR) ||
  16623. (pi->sh->boardflags2 & BFL2_GPLL_WAR2)) &&
  16624. (CHSPEC_IS2G(pi->radio_chanspec)))) {
  16625. nss1_data_weights = 0x00088888;
  16626. ht_data_weights = 0x00088888;
  16627. stbc_data_weights = 0x00088888;
  16628. } else {
  16629. nss1_data_weights = 0x88888888;
  16630. ht_data_weights = 0x88888888;
  16631. stbc_data_weights = 0x88888888;
  16632. }
  16633. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16634. 1, 1, 32, &nss1_data_weights);
  16635. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16636. 1, 2, 32, &ht_data_weights);
  16637. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16638. 1, 3, 32, &stbc_data_weights);
  16639. if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  16640. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  16641. write_radio_reg(pi,
  16642. RADIO_2056_TX_GMBB_IDAC |
  16643. RADIO_2056_TX0, 0x70);
  16644. write_radio_reg(pi,
  16645. RADIO_2056_TX_GMBB_IDAC |
  16646. RADIO_2056_TX1, 0x70);
  16647. }
  16648. }
  16649. if (!pi->edcrs_threshold_lock) {
  16650. write_phy_reg(pi, 0x224, 0x3eb);
  16651. write_phy_reg(pi, 0x225, 0x3eb);
  16652. write_phy_reg(pi, 0x226, 0x341);
  16653. write_phy_reg(pi, 0x227, 0x341);
  16654. write_phy_reg(pi, 0x228, 0x42b);
  16655. write_phy_reg(pi, 0x229, 0x42b);
  16656. write_phy_reg(pi, 0x22a, 0x381);
  16657. write_phy_reg(pi, 0x22b, 0x381);
  16658. write_phy_reg(pi, 0x22c, 0x42b);
  16659. write_phy_reg(pi, 0x22d, 0x42b);
  16660. write_phy_reg(pi, 0x22e, 0x381);
  16661. write_phy_reg(pi, 0x22f, 0x381);
  16662. }
  16663. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16664. if (pi->sh->boardflags2 & BFL2_SINGLEANT_CCK)
  16665. wlapi_bmac_mhf(pi->sh->physhim, MHF4,
  16666. MHF4_BPHY_TXCORE0,
  16667. MHF4_BPHY_TXCORE0, BRCM_BAND_ALL);
  16668. }
  16669. } else {
  16670. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD ||
  16671. (pi->sh->boardtype == 0x8b)) {
  16672. uint i;
  16673. u8 war_dlys[] = { 1, 6, 6, 2, 4, 20, 1 };
  16674. for (i = 0; i < ARRAY_SIZE(rfseq_rx2tx_dlys); i++)
  16675. rfseq_rx2tx_dlys[i] = war_dlys[i];
  16676. }
  16677. if (CHSPEC_IS5G(pi->radio_chanspec) && pi->phy_5g_pwrgain) {
  16678. and_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0xf7);
  16679. and_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0xf7);
  16680. } else {
  16681. or_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0x8);
  16682. or_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0x8);
  16683. }
  16684. regval = 0x000a;
  16685. wlc_phy_table_write_nphy(pi, 8, 1, 0, 16, &regval);
  16686. wlc_phy_table_write_nphy(pi, 8, 1, 0x10, 16, &regval);
  16687. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16688. regval = 0xcdaa;
  16689. wlc_phy_table_write_nphy(pi, 8, 1, 0x02, 16, &regval);
  16690. wlc_phy_table_write_nphy(pi, 8, 1, 0x12, 16, &regval);
  16691. }
  16692. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16693. regval = 0x0000;
  16694. wlc_phy_table_write_nphy(pi, 8, 1, 0x08, 16, &regval);
  16695. wlc_phy_table_write_nphy(pi, 8, 1, 0x18, 16, &regval);
  16696. regval = 0x7aab;
  16697. wlc_phy_table_write_nphy(pi, 8, 1, 0x07, 16, &regval);
  16698. wlc_phy_table_write_nphy(pi, 8, 1, 0x17, 16, &regval);
  16699. regval = 0x0800;
  16700. wlc_phy_table_write_nphy(pi, 8, 1, 0x06, 16, &regval);
  16701. wlc_phy_table_write_nphy(pi, 8, 1, 0x16, 16, &regval);
  16702. }
  16703. write_phy_reg(pi, 0xf8, 0x02d8);
  16704. write_phy_reg(pi, 0xf9, 0x0301);
  16705. write_phy_reg(pi, 0xfa, 0x02d8);
  16706. write_phy_reg(pi, 0xfb, 0x0301);
  16707. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX, rfseq_rx2tx_events,
  16708. rfseq_rx2tx_dlys,
  16709. sizeof(rfseq_rx2tx_events) /
  16710. sizeof(rfseq_rx2tx_events[0]));
  16711. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX, rfseq_tx2rx_events,
  16712. rfseq_tx2rx_dlys,
  16713. sizeof(rfseq_tx2rx_events) /
  16714. sizeof(rfseq_tx2rx_events[0]));
  16715. wlc_phy_workarounds_nphy_gainctrl(pi);
  16716. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16717. if (read_phy_reg(pi, 0xa0) & NPHY_MLenable)
  16718. wlapi_bmac_mhf(pi->sh->physhim, MHF3,
  16719. MHF3_NPHY_MLADV_WAR,
  16720. MHF3_NPHY_MLADV_WAR,
  16721. BRCM_BAND_ALL);
  16722. } else if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  16723. write_phy_reg(pi, 0x1e3, 0x0);
  16724. write_phy_reg(pi, 0x1e4, 0x0);
  16725. }
  16726. if (NREV_LT(pi->pubpi.phy_rev, 2))
  16727. mod_phy_reg(pi, 0x90, (0x1 << 7), 0);
  16728. alpha0 = 293;
  16729. alpha1 = 435;
  16730. alpha2 = 261;
  16731. beta0 = 366;
  16732. beta1 = 205;
  16733. beta2 = 32;
  16734. write_phy_reg(pi, 0x145, alpha0);
  16735. write_phy_reg(pi, 0x146, alpha1);
  16736. write_phy_reg(pi, 0x147, alpha2);
  16737. write_phy_reg(pi, 0x148, beta0);
  16738. write_phy_reg(pi, 0x149, beta1);
  16739. write_phy_reg(pi, 0x14a, beta2);
  16740. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16741. mod_phy_reg(pi, 0x142, (0xf << 12), 0);
  16742. write_phy_reg(pi, 0x192, 0xb5);
  16743. write_phy_reg(pi, 0x193, 0xa4);
  16744. write_phy_reg(pi, 0x194, 0x0);
  16745. }
  16746. if (NREV_IS(pi->pubpi.phy_rev, 2))
  16747. mod_phy_reg(pi, 0x221,
  16748. NPHY_FORCESIG_DECODEGATEDCLKS,
  16749. NPHY_FORCESIG_DECODEGATEDCLKS);
  16750. }
  16751. if (pi->phyhang_avoid)
  16752. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  16753. }
  16754. static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  16755. {
  16756. int j, type = 2;
  16757. u16 addr_offset = 0x2c5;
  16758. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  16759. write_phy_reg(pi, addr_offset + j,
  16760. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  16761. }
  16762. static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals)
  16763. {
  16764. if (write == 0) {
  16765. vals[0] = read_phy_reg(pi, 0x2c);
  16766. vals[1] = read_phy_reg(pi, 0x42);
  16767. } else {
  16768. write_phy_reg(pi, 0x2c, vals[0]);
  16769. write_phy_reg(pi, 0x42, vals[1]);
  16770. }
  16771. }
  16772. static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi)
  16773. {
  16774. u8 core;
  16775. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  16776. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16777. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16778. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16779. TX_SSI_MASTER, 0x5);
  16780. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16781. TX_SSI_MUX, 0xe);
  16782. if (pi->pubpi.radiorev != 5)
  16783. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16784. core, TSSIA, 0);
  16785. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16786. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16787. core, TSSIG, 0x1);
  16788. else
  16789. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16790. core, TSSIG, 0x31);
  16791. } else {
  16792. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16793. TX_SSI_MASTER, 0x9);
  16794. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16795. TX_SSI_MUX, 0xc);
  16796. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16797. TSSIG, 0);
  16798. if (pi->pubpi.radiorev != 5) {
  16799. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16800. WRITE_RADIO_REG3(pi, RADIO_2057,
  16801. TX, core,
  16802. TSSIA, 0x1);
  16803. else
  16804. WRITE_RADIO_REG3(pi, RADIO_2057,
  16805. TX, core,
  16806. TSSIA, 0x31);
  16807. }
  16808. }
  16809. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  16810. 0);
  16811. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  16812. 0);
  16813. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  16814. 0x3);
  16815. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  16816. 0x0);
  16817. }
  16818. } else {
  16819. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR31,
  16820. (CHSPEC_IS2G(pi->radio_chanspec)) ? 0x128 :
  16821. 0x80);
  16822. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR30, 0x0);
  16823. WRITE_RADIO_SYN(pi, RADIO_2056, GPIO_MASTER1, 0x29);
  16824. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16825. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_VCM_HG,
  16826. 0x0);
  16827. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_IDAC,
  16828. 0x0);
  16829. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_VCM,
  16830. 0x3);
  16831. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TX_AMP_DET,
  16832. 0x0);
  16833. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC1,
  16834. 0x8);
  16835. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC2,
  16836. 0x0);
  16837. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC3,
  16838. 0x0);
  16839. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16840. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16841. TX_SSI_MASTER, 0x5);
  16842. if (pi->pubpi.radiorev != 5)
  16843. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16844. core, TSSIA, 0x0);
  16845. if (NREV_GE(pi->pubpi.phy_rev, 5))
  16846. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16847. core, TSSIG, 0x31);
  16848. else
  16849. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16850. core, TSSIG, 0x11);
  16851. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16852. TX_SSI_MUX, 0xe);
  16853. } else {
  16854. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16855. TX_SSI_MASTER, 0x9);
  16856. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16857. TSSIA, 0x31);
  16858. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16859. TSSIG, 0x0);
  16860. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16861. TX_SSI_MUX, 0xc);
  16862. }
  16863. }
  16864. }
  16865. }
  16866. static void
  16867. wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value,
  16868. u8 core_mask, u8 off)
  16869. {
  16870. u8 core_num;
  16871. u16 addr = 0, mask = 0, en_addr = 0, val_addr = 0, en_mask =
  16872. 0, val_mask = 0;
  16873. u8 shift = 0, val_shift = 0;
  16874. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  16875. en_mask = field;
  16876. for (core_num = 0; core_num < 2; core_num++) {
  16877. switch (field) {
  16878. case (0x1 << 1):
  16879. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16880. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16881. val_mask = (0x1 << 0);
  16882. val_shift = 0;
  16883. break;
  16884. case (0x1 << 2):
  16885. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16886. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16887. val_mask = (0x1 << 1);
  16888. val_shift = 1;
  16889. break;
  16890. case (0x1 << 3):
  16891. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16892. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16893. val_mask = (0x1 << 2);
  16894. val_shift = 2;
  16895. break;
  16896. case (0x1 << 4):
  16897. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16898. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16899. val_mask = (0x1 << 4);
  16900. val_shift = 4;
  16901. break;
  16902. case (0x1 << 5):
  16903. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16904. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16905. val_mask = (0x1 << 5);
  16906. val_shift = 5;
  16907. break;
  16908. case (0x1 << 6):
  16909. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16910. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16911. val_mask = (0x1 << 6);
  16912. val_shift = 6;
  16913. break;
  16914. case (0x1 << 7):
  16915. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16916. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16917. val_mask = (0x1 << 7);
  16918. val_shift = 7;
  16919. break;
  16920. case (0x1 << 8):
  16921. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16922. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16923. val_mask = (0x7 << 8);
  16924. val_shift = 8;
  16925. break;
  16926. case (0x1 << 11):
  16927. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16928. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16929. val_mask = (0x7 << 13);
  16930. val_shift = 13;
  16931. break;
  16932. case (0x1 << 9):
  16933. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16934. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16935. val_mask = (0x7 << 0);
  16936. val_shift = 0;
  16937. break;
  16938. case (0x1 << 10):
  16939. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16940. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16941. val_mask = (0x7 << 4);
  16942. val_shift = 4;
  16943. break;
  16944. case (0x1 << 12):
  16945. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16946. val_addr = (core_num == 0) ? 0x7b : 0x7e;
  16947. val_mask = (0xffff << 0);
  16948. val_shift = 0;
  16949. break;
  16950. case (0x1 << 13):
  16951. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16952. val_addr = (core_num == 0) ? 0x7c : 0x7f;
  16953. val_mask = (0xffff << 0);
  16954. val_shift = 0;
  16955. break;
  16956. case (0x1 << 14):
  16957. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16958. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16959. val_mask = (0x3 << 6);
  16960. val_shift = 6;
  16961. break;
  16962. case (0x1 << 0):
  16963. en_addr = (core_num == 0) ? 0xe5 : 0xe6;
  16964. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16965. val_mask = (0x1 << 15);
  16966. val_shift = 15;
  16967. break;
  16968. default:
  16969. addr = 0xffff;
  16970. break;
  16971. }
  16972. if (off) {
  16973. and_phy_reg(pi, en_addr, ~en_mask);
  16974. and_phy_reg(pi, val_addr, ~val_mask);
  16975. } else {
  16976. if ((core_mask == 0)
  16977. || (core_mask & (1 << core_num))) {
  16978. or_phy_reg(pi, en_addr, en_mask);
  16979. if (addr != 0xffff)
  16980. mod_phy_reg(pi, val_addr,
  16981. val_mask,
  16982. (value <<
  16983. val_shift));
  16984. }
  16985. }
  16986. }
  16987. } else {
  16988. if (off) {
  16989. and_phy_reg(pi, 0xec, ~field);
  16990. value = 0x0;
  16991. } else {
  16992. or_phy_reg(pi, 0xec, field);
  16993. }
  16994. for (core_num = 0; core_num < 2; core_num++) {
  16995. switch (field) {
  16996. case (0x1 << 1):
  16997. case (0x1 << 9):
  16998. case (0x1 << 12):
  16999. case (0x1 << 13):
  17000. case (0x1 << 14):
  17001. addr = 0x78;
  17002. core_mask = 0x1;
  17003. break;
  17004. case (0x1 << 2):
  17005. case (0x1 << 3):
  17006. case (0x1 << 4):
  17007. case (0x1 << 5):
  17008. case (0x1 << 6):
  17009. case (0x1 << 7):
  17010. case (0x1 << 8):
  17011. addr = (core_num == 0) ? 0x7a : 0x7d;
  17012. break;
  17013. case (0x1 << 10):
  17014. addr = (core_num == 0) ? 0x7b : 0x7e;
  17015. break;
  17016. case (0x1 << 11):
  17017. addr = (core_num == 0) ? 0x7c : 0x7f;
  17018. break;
  17019. default:
  17020. addr = 0xffff;
  17021. }
  17022. switch (field) {
  17023. case (0x1 << 1):
  17024. mask = (0x7 << 3);
  17025. shift = 3;
  17026. break;
  17027. case (0x1 << 9):
  17028. mask = (0x1 << 2);
  17029. shift = 2;
  17030. break;
  17031. case (0x1 << 12):
  17032. mask = (0x1 << 8);
  17033. shift = 8;
  17034. break;
  17035. case (0x1 << 13):
  17036. mask = (0x1 << 9);
  17037. shift = 9;
  17038. break;
  17039. case (0x1 << 14):
  17040. mask = (0xf << 12);
  17041. shift = 12;
  17042. break;
  17043. case (0x1 << 2):
  17044. mask = (0x1 << 0);
  17045. shift = 0;
  17046. break;
  17047. case (0x1 << 3):
  17048. mask = (0x1 << 1);
  17049. shift = 1;
  17050. break;
  17051. case (0x1 << 4):
  17052. mask = (0x1 << 2);
  17053. shift = 2;
  17054. break;
  17055. case (0x1 << 5):
  17056. mask = (0x3 << 4);
  17057. shift = 4;
  17058. break;
  17059. case (0x1 << 6):
  17060. mask = (0x3 << 6);
  17061. shift = 6;
  17062. break;
  17063. case (0x1 << 7):
  17064. mask = (0x1 << 8);
  17065. shift = 8;
  17066. break;
  17067. case (0x1 << 8):
  17068. mask = (0x1 << 9);
  17069. shift = 9;
  17070. break;
  17071. case (0x1 << 10):
  17072. mask = 0x1fff;
  17073. shift = 0x0;
  17074. break;
  17075. case (0x1 << 11):
  17076. mask = 0x1fff;
  17077. shift = 0x0;
  17078. break;
  17079. default:
  17080. mask = 0x0;
  17081. shift = 0x0;
  17082. break;
  17083. }
  17084. if ((addr != 0xffff) && (core_mask & (1 << core_num)))
  17085. mod_phy_reg(pi, addr, mask, (value << shift));
  17086. }
  17087. or_phy_reg(pi, 0xec, (0x1 << 0));
  17088. or_phy_reg(pi, 0x78, (0x1 << 0));
  17089. udelay(1);
  17090. and_phy_reg(pi, 0xec, ~(0x1 << 0));
  17091. }
  17092. }
  17093. static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi)
  17094. {
  17095. s32 rssi_buf[4];
  17096. s32 int_val;
  17097. if (SCAN_RM_IN_PROGRESS(pi) || PLT_INPROG_PHY(pi) || PHY_MUTED(pi))
  17098. return;
  17099. if (PHY_IPA(pi))
  17100. wlc_phy_ipa_internal_tssi_setup_nphy(pi);
  17101. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17102. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17103. 0, 0x3, 0,
  17104. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17105. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17106. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 0);
  17107. wlc_phy_stopplayback_nphy(pi);
  17108. wlc_phy_tx_tone_nphy(pi, 4000, 0, 0, 0, false);
  17109. udelay(20);
  17110. int_val =
  17111. wlc_phy_poll_rssi_nphy(pi, (u8) NPHY_RSSI_SEL_TSSI_2G, rssi_buf,
  17112. 1);
  17113. wlc_phy_stopplayback_nphy(pi);
  17114. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, 0);
  17115. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17116. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  17117. 0, 0x3, 1,
  17118. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  17119. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  17120. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 1);
  17121. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17122. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17123. (u8) ((int_val >> 24) & 0xff);
  17124. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17125. (u8) ((int_val >> 24) & 0xff);
  17126. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17127. (u8) ((int_val >> 8) & 0xff);
  17128. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17129. (u8) ((int_val >> 8) & 0xff);
  17130. } else {
  17131. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17132. (u8) ((int_val >> 24) & 0xff);
  17133. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17134. (u8) ((int_val >> 8) & 0xff);
  17135. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17136. (u8) ((int_val >> 16) & 0xff);
  17137. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17138. (u8) ((int_val) & 0xff);
  17139. }
  17140. }
  17141. static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi)
  17142. {
  17143. u8 idx, idx2, i, delta_ind;
  17144. for (idx = TXP_FIRST_CCK; idx <= TXP_LAST_CCK; idx++)
  17145. pi->adj_pwr_tbl_nphy[idx] = pi->tx_power_offset[idx];
  17146. for (i = 0; i < 4; i++) {
  17147. idx2 = 0;
  17148. delta_ind = 0;
  17149. switch (i) {
  17150. case 0:
  17151. if (CHSPEC_IS40(pi->radio_chanspec)
  17152. && NPHY_IS_SROM_REINTERPRET) {
  17153. idx = TXP_FIRST_MCS_40_SISO;
  17154. } else {
  17155. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17156. TXP_FIRST_OFDM_40_SISO : TXP_FIRST_OFDM;
  17157. delta_ind = 1;
  17158. }
  17159. break;
  17160. case 1:
  17161. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17162. TXP_FIRST_MCS_40_CDD : TXP_FIRST_MCS_20_CDD;
  17163. break;
  17164. case 2:
  17165. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17166. TXP_FIRST_MCS_40_STBC : TXP_FIRST_MCS_20_STBC;
  17167. break;
  17168. case 3:
  17169. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17170. TXP_FIRST_MCS_40_SDM : TXP_FIRST_MCS_20_SDM;
  17171. break;
  17172. }
  17173. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17174. pi->tx_power_offset[idx];
  17175. idx = idx + delta_ind;
  17176. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17177. pi->tx_power_offset[idx];
  17178. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17179. pi->tx_power_offset[idx];
  17180. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17181. pi->tx_power_offset[idx++];
  17182. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17183. pi->tx_power_offset[idx++];
  17184. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17185. pi->tx_power_offset[idx];
  17186. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17187. pi->tx_power_offset[idx];
  17188. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17189. pi->tx_power_offset[idx++];
  17190. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17191. pi->tx_power_offset[idx++];
  17192. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17193. pi->tx_power_offset[idx];
  17194. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17195. pi->tx_power_offset[idx];
  17196. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17197. pi->tx_power_offset[idx++];
  17198. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17199. pi->tx_power_offset[idx];
  17200. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17201. pi->tx_power_offset[idx++];
  17202. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17203. pi->tx_power_offset[idx];
  17204. idx = idx + 1 - delta_ind;
  17205. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17206. pi->tx_power_offset[idx];
  17207. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17208. pi->tx_power_offset[idx];
  17209. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17210. pi->tx_power_offset[idx];
  17211. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17212. pi->tx_power_offset[idx];
  17213. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17214. pi->tx_power_offset[idx];
  17215. }
  17216. }
  17217. static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi)
  17218. {
  17219. u32 idx;
  17220. s16 a1[2], b0[2], b1[2];
  17221. s8 target_pwr_qtrdbm[2];
  17222. s32 num, den, pwr_est;
  17223. u8 chan_freq_range;
  17224. u8 idle_tssi[2];
  17225. u32 tbl_id, tbl_len, tbl_offset;
  17226. u32 regval[64];
  17227. u8 core;
  17228. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17229. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17230. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17231. udelay(1);
  17232. }
  17233. if (pi->phyhang_avoid)
  17234. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17235. or_phy_reg(pi, 0x122, (0x1 << 0));
  17236. if (NREV_GE(pi->pubpi.phy_rev, 3))
  17237. and_phy_reg(pi, 0x1e7, (u16) (~(0x1 << 15)));
  17238. else
  17239. or_phy_reg(pi, 0x1e7, (0x1 << 15));
  17240. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17241. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17242. if (pi->sh->sromrev < 4) {
  17243. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17244. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17245. target_pwr_qtrdbm[0] = 13 * 4;
  17246. target_pwr_qtrdbm[1] = 13 * 4;
  17247. a1[0] = -424;
  17248. a1[1] = -424;
  17249. b0[0] = 5612;
  17250. b0[1] = 5612;
  17251. b1[1] = -1393;
  17252. b1[0] = -1393;
  17253. } else {
  17254. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  17255. switch (chan_freq_range) {
  17256. case WL_CHAN_FREQ_RANGE_2G:
  17257. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17258. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17259. target_pwr_qtrdbm[0] =
  17260. pi->nphy_pwrctrl_info[0].max_pwr_2g;
  17261. target_pwr_qtrdbm[1] =
  17262. pi->nphy_pwrctrl_info[1].max_pwr_2g;
  17263. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_a1;
  17264. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_a1;
  17265. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b0;
  17266. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b0;
  17267. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b1;
  17268. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b1;
  17269. break;
  17270. case WL_CHAN_FREQ_RANGE_5GL:
  17271. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17272. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17273. target_pwr_qtrdbm[0] =
  17274. pi->nphy_pwrctrl_info[0].max_pwr_5gl;
  17275. target_pwr_qtrdbm[1] =
  17276. pi->nphy_pwrctrl_info[1].max_pwr_5gl;
  17277. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1;
  17278. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1;
  17279. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0;
  17280. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0;
  17281. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1;
  17282. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1;
  17283. break;
  17284. case WL_CHAN_FREQ_RANGE_5GM:
  17285. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17286. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17287. target_pwr_qtrdbm[0] =
  17288. pi->nphy_pwrctrl_info[0].max_pwr_5gm;
  17289. target_pwr_qtrdbm[1] =
  17290. pi->nphy_pwrctrl_info[1].max_pwr_5gm;
  17291. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_a1;
  17292. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_a1;
  17293. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b0;
  17294. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b0;
  17295. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b1;
  17296. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b1;
  17297. break;
  17298. case WL_CHAN_FREQ_RANGE_5GH:
  17299. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17300. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17301. target_pwr_qtrdbm[0] =
  17302. pi->nphy_pwrctrl_info[0].max_pwr_5gh;
  17303. target_pwr_qtrdbm[1] =
  17304. pi->nphy_pwrctrl_info[1].max_pwr_5gh;
  17305. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1;
  17306. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1;
  17307. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0;
  17308. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0;
  17309. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1;
  17310. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1;
  17311. break;
  17312. default:
  17313. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17314. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17315. target_pwr_qtrdbm[0] = 13 * 4;
  17316. target_pwr_qtrdbm[1] = 13 * 4;
  17317. a1[0] = -424;
  17318. a1[1] = -424;
  17319. b0[0] = 5612;
  17320. b0[1] = 5612;
  17321. b1[1] = -1393;
  17322. b1[0] = -1393;
  17323. break;
  17324. }
  17325. }
  17326. target_pwr_qtrdbm[0] = (s8) pi->tx_power_max;
  17327. target_pwr_qtrdbm[1] = (s8) pi->tx_power_max;
  17328. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17329. if (pi->srom_fem2g.tssipos)
  17330. or_phy_reg(pi, 0x1e9, (0x1 << 14));
  17331. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17332. for (core = 0; core <= 1; core++) {
  17333. if (PHY_IPA(pi)) {
  17334. if (CHSPEC_IS2G(pi->radio_chanspec))
  17335. WRITE_RADIO_REG3(pi, RADIO_2057,
  17336. TX, core,
  17337. TX_SSI_MUX,
  17338. 0xe);
  17339. else
  17340. WRITE_RADIO_REG3(pi, RADIO_2057,
  17341. TX, core,
  17342. TX_SSI_MUX,
  17343. 0xc);
  17344. }
  17345. }
  17346. } else {
  17347. if (PHY_IPA(pi)) {
  17348. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17349. RADIO_2056_TX0,
  17350. (CHSPEC_IS5G
  17351. (pi->radio_chanspec)) ?
  17352. 0xc : 0xe);
  17353. write_radio_reg(pi,
  17354. RADIO_2056_TX_TX_SSI_MUX |
  17355. RADIO_2056_TX1,
  17356. (CHSPEC_IS5G
  17357. (pi->radio_chanspec)) ?
  17358. 0xc : 0xe);
  17359. } else {
  17360. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17361. RADIO_2056_TX0, 0x11);
  17362. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17363. RADIO_2056_TX1, 0x11);
  17364. }
  17365. }
  17366. }
  17367. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17368. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17369. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17370. udelay(1);
  17371. }
  17372. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17373. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17374. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17375. else
  17376. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17377. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17378. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17379. mod_phy_reg(pi, 0x222, (0xff << 0),
  17380. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17381. else if (NREV_GT(pi->pubpi.phy_rev, 1))
  17382. mod_phy_reg(pi, 0x222, (0xff << 0),
  17383. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17384. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17385. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17386. write_phy_reg(pi, 0x1e8, (0x3 << 8) | (240 << 0));
  17387. write_phy_reg(pi, 0x1e9,
  17388. (1 << 15) | (idle_tssi[0] << 0) | (idle_tssi[1] << 8));
  17389. write_phy_reg(pi, 0x1ea,
  17390. (target_pwr_qtrdbm[0] << 0) |
  17391. (target_pwr_qtrdbm[1] << 8));
  17392. tbl_len = 64;
  17393. tbl_offset = 0;
  17394. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  17395. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  17396. for (idx = 0; idx < tbl_len; idx++) {
  17397. num = 8 *
  17398. (16 * b0[tbl_id - 26] + b1[tbl_id - 26] * idx);
  17399. den = 32768 + a1[tbl_id - 26] * idx;
  17400. pwr_est = max(((4 * num + den / 2) / den), -8);
  17401. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  17402. if (idx <=
  17403. (uint) (31 - idle_tssi[tbl_id - 26] + 1))
  17404. pwr_est =
  17405. max(pwr_est,
  17406. target_pwr_qtrdbm
  17407. [tbl_id - 26] + 1);
  17408. }
  17409. regval[idx] = (u32) pwr_est;
  17410. }
  17411. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  17412. regval);
  17413. }
  17414. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  17415. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64, 8,
  17416. pi->adj_pwr_tbl_nphy);
  17417. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64, 8,
  17418. pi->adj_pwr_tbl_nphy);
  17419. if (pi->phyhang_avoid)
  17420. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17421. }
  17422. static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi)
  17423. {
  17424. u32 *tx_pwrctrl_tbl = NULL;
  17425. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17426. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17427. if ((pi->pubpi.radiorev == 4)
  17428. || (pi->pubpi.radiorev == 6))
  17429. tx_pwrctrl_tbl =
  17430. nphy_tpc_txgain_ipa_2g_2057rev4n6;
  17431. else if (pi->pubpi.radiorev == 3)
  17432. tx_pwrctrl_tbl =
  17433. nphy_tpc_txgain_ipa_2g_2057rev3;
  17434. else if (pi->pubpi.radiorev == 5)
  17435. tx_pwrctrl_tbl =
  17436. nphy_tpc_txgain_ipa_2g_2057rev5;
  17437. else if ((pi->pubpi.radiorev == 7)
  17438. || (pi->pubpi.radiorev == 8))
  17439. tx_pwrctrl_tbl =
  17440. nphy_tpc_txgain_ipa_2g_2057rev7;
  17441. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17442. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev6;
  17443. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17444. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17445. } else {
  17446. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa;
  17447. }
  17448. } else {
  17449. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17450. if ((pi->pubpi.radiorev == 3) ||
  17451. (pi->pubpi.radiorev == 4) ||
  17452. (pi->pubpi.radiorev == 6))
  17453. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g_2057;
  17454. else if ((pi->pubpi.radiorev == 7)
  17455. || (pi->pubpi.radiorev == 8))
  17456. tx_pwrctrl_tbl =
  17457. nphy_tpc_txgain_ipa_5g_2057rev7;
  17458. } else {
  17459. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g;
  17460. }
  17461. }
  17462. return tx_pwrctrl_tbl;
  17463. }
  17464. static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi)
  17465. {
  17466. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17467. if (pi->nphy_rssical_chanspec_2G == 0)
  17468. return;
  17469. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17470. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17471. RADIO_2057_VCM_MASK,
  17472. pi->rssical_cache.
  17473. rssical_radio_regs_2G[0]);
  17474. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17475. RADIO_2057_VCM_MASK,
  17476. pi->rssical_cache.
  17477. rssical_radio_regs_2G[1]);
  17478. } else {
  17479. mod_radio_reg(pi,
  17480. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17481. RADIO_2056_VCM_MASK,
  17482. pi->rssical_cache.
  17483. rssical_radio_regs_2G[0]);
  17484. mod_radio_reg(pi,
  17485. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17486. RADIO_2056_VCM_MASK,
  17487. pi->rssical_cache.
  17488. rssical_radio_regs_2G[1]);
  17489. }
  17490. write_phy_reg(pi, 0x1a6,
  17491. pi->rssical_cache.rssical_phyregs_2G[0]);
  17492. write_phy_reg(pi, 0x1ac,
  17493. pi->rssical_cache.rssical_phyregs_2G[1]);
  17494. write_phy_reg(pi, 0x1b2,
  17495. pi->rssical_cache.rssical_phyregs_2G[2]);
  17496. write_phy_reg(pi, 0x1b8,
  17497. pi->rssical_cache.rssical_phyregs_2G[3]);
  17498. write_phy_reg(pi, 0x1a4,
  17499. pi->rssical_cache.rssical_phyregs_2G[4]);
  17500. write_phy_reg(pi, 0x1aa,
  17501. pi->rssical_cache.rssical_phyregs_2G[5]);
  17502. write_phy_reg(pi, 0x1b0,
  17503. pi->rssical_cache.rssical_phyregs_2G[6]);
  17504. write_phy_reg(pi, 0x1b6,
  17505. pi->rssical_cache.rssical_phyregs_2G[7]);
  17506. write_phy_reg(pi, 0x1a5,
  17507. pi->rssical_cache.rssical_phyregs_2G[8]);
  17508. write_phy_reg(pi, 0x1ab,
  17509. pi->rssical_cache.rssical_phyregs_2G[9]);
  17510. write_phy_reg(pi, 0x1b1,
  17511. pi->rssical_cache.rssical_phyregs_2G[10]);
  17512. write_phy_reg(pi, 0x1b7,
  17513. pi->rssical_cache.rssical_phyregs_2G[11]);
  17514. } else {
  17515. if (pi->nphy_rssical_chanspec_5G == 0)
  17516. return;
  17517. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17518. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17519. RADIO_2057_VCM_MASK,
  17520. pi->rssical_cache.
  17521. rssical_radio_regs_5G[0]);
  17522. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17523. RADIO_2057_VCM_MASK,
  17524. pi->rssical_cache.
  17525. rssical_radio_regs_5G[1]);
  17526. } else {
  17527. mod_radio_reg(pi,
  17528. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17529. RADIO_2056_VCM_MASK,
  17530. pi->rssical_cache.
  17531. rssical_radio_regs_5G[0]);
  17532. mod_radio_reg(pi,
  17533. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17534. RADIO_2056_VCM_MASK,
  17535. pi->rssical_cache.
  17536. rssical_radio_regs_5G[1]);
  17537. }
  17538. write_phy_reg(pi, 0x1a6,
  17539. pi->rssical_cache.rssical_phyregs_5G[0]);
  17540. write_phy_reg(pi, 0x1ac,
  17541. pi->rssical_cache.rssical_phyregs_5G[1]);
  17542. write_phy_reg(pi, 0x1b2,
  17543. pi->rssical_cache.rssical_phyregs_5G[2]);
  17544. write_phy_reg(pi, 0x1b8,
  17545. pi->rssical_cache.rssical_phyregs_5G[3]);
  17546. write_phy_reg(pi, 0x1a4,
  17547. pi->rssical_cache.rssical_phyregs_5G[4]);
  17548. write_phy_reg(pi, 0x1aa,
  17549. pi->rssical_cache.rssical_phyregs_5G[5]);
  17550. write_phy_reg(pi, 0x1b0,
  17551. pi->rssical_cache.rssical_phyregs_5G[6]);
  17552. write_phy_reg(pi, 0x1b6,
  17553. pi->rssical_cache.rssical_phyregs_5G[7]);
  17554. write_phy_reg(pi, 0x1a5,
  17555. pi->rssical_cache.rssical_phyregs_5G[8]);
  17556. write_phy_reg(pi, 0x1ab,
  17557. pi->rssical_cache.rssical_phyregs_5G[9]);
  17558. write_phy_reg(pi, 0x1b1,
  17559. pi->rssical_cache.rssical_phyregs_5G[10]);
  17560. write_phy_reg(pi, 0x1b7,
  17561. pi->rssical_cache.rssical_phyregs_5G[11]);
  17562. }
  17563. }
  17564. static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi)
  17565. {
  17566. u16 txcal_gain[2];
  17567. pi->nphy_txcal_pwr_idx[0] = pi->nphy_cal_orig_pwr_idx[0];
  17568. pi->nphy_txcal_pwr_idx[1] = pi->nphy_cal_orig_pwr_idx[0];
  17569. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17570. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17571. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17572. txcal_gain);
  17573. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17574. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F40;
  17575. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F40;
  17576. } else {
  17577. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F60;
  17578. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F60;
  17579. }
  17580. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17581. txcal_gain);
  17582. }
  17583. static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi)
  17584. {
  17585. bool save_bbmult = false;
  17586. u8 txcal_index_2057_rev5n7 = 0;
  17587. u8 txcal_index_2057_rev3n4n6 = 10;
  17588. if (pi->use_int_tx_iqlo_cal_nphy) {
  17589. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17590. if ((pi->pubpi.radiorev == 3) ||
  17591. (pi->pubpi.radiorev == 4) ||
  17592. (pi->pubpi.radiorev == 6)) {
  17593. pi->nphy_txcal_pwr_idx[0] =
  17594. txcal_index_2057_rev3n4n6;
  17595. pi->nphy_txcal_pwr_idx[1] =
  17596. txcal_index_2057_rev3n4n6;
  17597. wlc_phy_txpwr_index_nphy(
  17598. pi, 3,
  17599. txcal_index_2057_rev3n4n6,
  17600. false);
  17601. } else {
  17602. pi->nphy_txcal_pwr_idx[0] =
  17603. txcal_index_2057_rev5n7;
  17604. pi->nphy_txcal_pwr_idx[1] =
  17605. txcal_index_2057_rev5n7;
  17606. wlc_phy_txpwr_index_nphy(
  17607. pi, 3,
  17608. txcal_index_2057_rev5n7,
  17609. false);
  17610. }
  17611. save_bbmult = true;
  17612. } else if (NREV_LT(pi->pubpi.phy_rev, 5)) {
  17613. wlc_phy_cal_txgainctrl_nphy(pi, 11, false);
  17614. if (pi->sh->hw_phytxchain != 3) {
  17615. pi->nphy_txcal_pwr_idx[1] =
  17616. pi->nphy_txcal_pwr_idx[0];
  17617. wlc_phy_txpwr_index_nphy(pi, 3,
  17618. pi->
  17619. nphy_txcal_pwr_idx[0],
  17620. true);
  17621. save_bbmult = true;
  17622. }
  17623. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17624. if (PHY_IPA(pi)) {
  17625. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17626. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17627. false);
  17628. } else {
  17629. pi->nphy_txcal_pwr_idx[0] = 80;
  17630. pi->nphy_txcal_pwr_idx[1] = 80;
  17631. wlc_phy_txpwr_index_nphy(pi, 3, 80,
  17632. false);
  17633. save_bbmult = true;
  17634. }
  17635. } else {
  17636. wlc_phy_internal_cal_txgain_nphy(pi);
  17637. save_bbmult = true;
  17638. }
  17639. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17640. if (PHY_IPA(pi)) {
  17641. if (CHSPEC_IS2G(pi->radio_chanspec))
  17642. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17643. false);
  17644. else
  17645. wlc_phy_cal_txgainctrl_nphy(pi, 14,
  17646. false);
  17647. } else {
  17648. wlc_phy_internal_cal_txgain_nphy(pi);
  17649. save_bbmult = true;
  17650. }
  17651. }
  17652. } else {
  17653. wlc_phy_cal_txgainctrl_nphy(pi, 10, false);
  17654. }
  17655. if (save_bbmult)
  17656. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  17657. &pi->nphy_txcal_bbmult);
  17658. }
  17659. static void
  17660. wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value,
  17661. u8 core_code)
  17662. {
  17663. u16 mask;
  17664. u16 val;
  17665. u8 core;
  17666. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17667. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17668. if (core_code == RADIO_MIMO_CORESEL_CORE1
  17669. && core == PHY_CORE_1)
  17670. continue;
  17671. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  17672. && core == PHY_CORE_0)
  17673. continue;
  17674. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  17675. mask = (0x1 << 10);
  17676. val = 1 << 10;
  17677. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17678. 0x92, mask, val);
  17679. }
  17680. if (field == NPHY_RfctrlIntc_override_OFF) {
  17681. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17682. 0x92, 0);
  17683. wlc_phy_force_rfseq_nphy(pi,
  17684. NPHY_RFSEQ_RESET2RX);
  17685. } else if (field == NPHY_RfctrlIntc_override_TRSW) {
  17686. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17687. mask = (0x1 << 6) | (0x1 << 7);
  17688. val = value << 6;
  17689. mod_phy_reg(pi,
  17690. (core ==
  17691. PHY_CORE_0) ? 0x91 : 0x92,
  17692. mask, val);
  17693. or_phy_reg(pi,
  17694. (core ==
  17695. PHY_CORE_0) ? 0x91 : 0x92,
  17696. (0x1 << 10));
  17697. and_phy_reg(pi, 0x2ff, (u16)
  17698. ~(0x3 << 14));
  17699. or_phy_reg(pi, 0x2ff, (0x1 << 13));
  17700. or_phy_reg(pi, 0x2ff, (0x1 << 0));
  17701. } else {
  17702. mask = (0x1 << 6) |
  17703. (0x1 << 7) |
  17704. (0x1 << 8) | (0x1 << 9);
  17705. val = value << 6;
  17706. mod_phy_reg(pi,
  17707. (core ==
  17708. PHY_CORE_0) ? 0x91 : 0x92,
  17709. mask, val);
  17710. mask = (0x1 << 0);
  17711. val = 1 << 0;
  17712. mod_phy_reg(pi,
  17713. (core ==
  17714. PHY_CORE_0) ? 0xe7 : 0xec,
  17715. mask, val);
  17716. mask = (core == PHY_CORE_0) ?
  17717. (0x1 << 0) : (0x1 << 1);
  17718. val = 1 << ((core == PHY_CORE_0) ?
  17719. 0 : 1);
  17720. mod_phy_reg(pi, 0x78, mask, val);
  17721. SPINWAIT(((read_phy_reg(pi, 0x78) & val)
  17722. != 0), 10000);
  17723. if (WARN(read_phy_reg(pi, 0x78) & val,
  17724. "HW error: override failed"))
  17725. return;
  17726. mask = (0x1 << 0);
  17727. val = 0 << 0;
  17728. mod_phy_reg(pi,
  17729. (core ==
  17730. PHY_CORE_0) ? 0xe7 : 0xec,
  17731. mask, val);
  17732. }
  17733. } else if (field == NPHY_RfctrlIntc_override_PA) {
  17734. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17735. mask = (0x1 << 4) | (0x1 << 5);
  17736. if (CHSPEC_IS5G(pi->radio_chanspec))
  17737. val = value << 5;
  17738. else
  17739. val = value << 4;
  17740. mod_phy_reg(pi,
  17741. (core ==
  17742. PHY_CORE_0) ? 0x91 : 0x92,
  17743. mask, val);
  17744. or_phy_reg(pi,
  17745. (core ==
  17746. PHY_CORE_0) ? 0x91 : 0x92,
  17747. (0x1 << 12));
  17748. } else {
  17749. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17750. mask = (0x1 << 5);
  17751. val = value << 5;
  17752. } else {
  17753. mask = (0x1 << 4);
  17754. val = value << 4;
  17755. }
  17756. mod_phy_reg(pi,
  17757. (core ==
  17758. PHY_CORE_0) ? 0x91 : 0x92,
  17759. mask, val);
  17760. }
  17761. } else if (field ==
  17762. NPHY_RfctrlIntc_override_EXT_LNA_PU) {
  17763. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17764. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17765. mask = (0x1 << 0);
  17766. val = value << 0;
  17767. mod_phy_reg(pi,
  17768. (core ==
  17769. PHY_CORE_0) ? 0x91
  17770. : 0x92, mask, val);
  17771. mask = (0x1 << 2);
  17772. mod_phy_reg(pi,
  17773. (core ==
  17774. PHY_CORE_0) ? 0x91
  17775. : 0x92, mask, 0);
  17776. } else {
  17777. mask = (0x1 << 2);
  17778. val = value << 2;
  17779. mod_phy_reg(pi,
  17780. (core ==
  17781. PHY_CORE_0) ? 0x91
  17782. : 0x92, mask, val);
  17783. mask = (0x1 << 0);
  17784. mod_phy_reg(pi,
  17785. (core ==
  17786. PHY_CORE_0) ? 0x91
  17787. : 0x92, mask, 0);
  17788. }
  17789. mask = (0x1 << 11);
  17790. val = 1 << 11;
  17791. mod_phy_reg(pi,
  17792. (core ==
  17793. PHY_CORE_0) ? 0x91 : 0x92,
  17794. mask, val);
  17795. } else {
  17796. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17797. mask = (0x1 << 0);
  17798. val = value << 0;
  17799. } else {
  17800. mask = (0x1 << 2);
  17801. val = value << 2;
  17802. }
  17803. mod_phy_reg(pi,
  17804. (core ==
  17805. PHY_CORE_0) ? 0x91 : 0x92,
  17806. mask, val);
  17807. }
  17808. } else if (field ==
  17809. NPHY_RfctrlIntc_override_EXT_LNA_GAIN) {
  17810. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17811. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17812. mask = (0x1 << 1);
  17813. val = value << 1;
  17814. mod_phy_reg(pi,
  17815. (core ==
  17816. PHY_CORE_0) ? 0x91
  17817. : 0x92, mask, val);
  17818. mask = (0x1 << 3);
  17819. mod_phy_reg(pi,
  17820. (core ==
  17821. PHY_CORE_0) ? 0x91
  17822. : 0x92, mask, 0);
  17823. } else {
  17824. mask = (0x1 << 3);
  17825. val = value << 3;
  17826. mod_phy_reg(pi,
  17827. (core ==
  17828. PHY_CORE_0) ? 0x91
  17829. : 0x92, mask, val);
  17830. mask = (0x1 << 1);
  17831. mod_phy_reg(pi,
  17832. (core ==
  17833. PHY_CORE_0) ? 0x91
  17834. : 0x92, mask, 0);
  17835. }
  17836. mask = (0x1 << 11);
  17837. val = 1 << 11;
  17838. mod_phy_reg(pi,
  17839. (core ==
  17840. PHY_CORE_0) ? 0x91 : 0x92,
  17841. mask, val);
  17842. } else {
  17843. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17844. mask = (0x1 << 1);
  17845. val = value << 1;
  17846. } else {
  17847. mask = (0x1 << 3);
  17848. val = value << 3;
  17849. }
  17850. mod_phy_reg(pi,
  17851. (core ==
  17852. PHY_CORE_0) ? 0x91 : 0x92,
  17853. mask, val);
  17854. }
  17855. }
  17856. }
  17857. }
  17858. }
  17859. void
  17860. wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower,
  17861. bool debug)
  17862. {
  17863. int gainctrl_loopidx;
  17864. uint core;
  17865. u16 m0m1, curr_m0m1;
  17866. s32 delta_power;
  17867. s32 txpwrindex;
  17868. s32 qdBm_power[2];
  17869. u16 orig_BBConfig;
  17870. u16 phy_saveregs[4];
  17871. u32 freq_test;
  17872. u16 ampl_test = 250;
  17873. uint stepsize;
  17874. bool phyhang_avoid_state = false;
  17875. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17876. stepsize = 2;
  17877. else
  17878. stepsize = 1;
  17879. if (CHSPEC_IS40(pi->radio_chanspec))
  17880. freq_test = 5000;
  17881. else
  17882. freq_test = 2500;
  17883. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17884. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17885. if (pi->phyhang_avoid)
  17886. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17887. phyhang_avoid_state = pi->phyhang_avoid;
  17888. pi->phyhang_avoid = false;
  17889. phy_saveregs[0] = read_phy_reg(pi, 0x91);
  17890. phy_saveregs[1] = read_phy_reg(pi, 0x92);
  17891. phy_saveregs[2] = read_phy_reg(pi, 0xe7);
  17892. phy_saveregs[3] = read_phy_reg(pi, 0xec);
  17893. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 1,
  17894. RADIO_MIMO_CORESEL_CORE1 |
  17895. RADIO_MIMO_CORESEL_CORE2);
  17896. if (!debug) {
  17897. wlc_phy_rfctrlintc_override_nphy(pi,
  17898. NPHY_RfctrlIntc_override_TRSW,
  17899. 0x2, RADIO_MIMO_CORESEL_CORE1);
  17900. wlc_phy_rfctrlintc_override_nphy(pi,
  17901. NPHY_RfctrlIntc_override_TRSW,
  17902. 0x8, RADIO_MIMO_CORESEL_CORE2);
  17903. } else {
  17904. wlc_phy_rfctrlintc_override_nphy(pi,
  17905. NPHY_RfctrlIntc_override_TRSW,
  17906. 0x1, RADIO_MIMO_CORESEL_CORE1);
  17907. wlc_phy_rfctrlintc_override_nphy(pi,
  17908. NPHY_RfctrlIntc_override_TRSW,
  17909. 0x7, RADIO_MIMO_CORESEL_CORE2);
  17910. }
  17911. orig_BBConfig = read_phy_reg(pi, 0x01);
  17912. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  17913. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  17914. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17915. txpwrindex = (s32) pi->nphy_cal_orig_pwr_idx[core];
  17916. for (gainctrl_loopidx = 0; gainctrl_loopidx < 2;
  17917. gainctrl_loopidx++) {
  17918. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17919. false);
  17920. if (core == PHY_CORE_0)
  17921. curr_m0m1 = m0m1 & 0xff00;
  17922. else
  17923. curr_m0m1 = m0m1 & 0x00ff;
  17924. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &curr_m0m1);
  17925. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &curr_m0m1);
  17926. udelay(50);
  17927. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17928. NPHY_CAL_TSSISAMPS);
  17929. pi->nphy_bb_mult_save = 0;
  17930. wlc_phy_stopplayback_nphy(pi);
  17931. delta_power = (dBm_targetpower * 4) - qdBm_power[core];
  17932. txpwrindex -= stepsize * delta_power;
  17933. if (txpwrindex < 0)
  17934. txpwrindex = 0;
  17935. else if (txpwrindex > 127)
  17936. txpwrindex = 127;
  17937. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17938. if (NREV_IS(pi->pubpi.phy_rev, 4) &&
  17939. (pi->srom_fem5g.extpagain == 3)) {
  17940. if (txpwrindex < 30)
  17941. txpwrindex = 30;
  17942. }
  17943. } else {
  17944. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  17945. (pi->srom_fem2g.extpagain == 3)) {
  17946. if (txpwrindex < 50)
  17947. txpwrindex = 50;
  17948. }
  17949. }
  17950. wlc_phy_txpwr_index_nphy(pi, (1 << core),
  17951. (u8) txpwrindex, true);
  17952. }
  17953. pi->nphy_txcal_pwr_idx[core] = (u8) txpwrindex;
  17954. if (debug) {
  17955. u16 radio_gain;
  17956. u16 dbg_m0m1;
  17957. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17958. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17959. false);
  17960. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17961. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &dbg_m0m1);
  17962. udelay(100);
  17963. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17964. NPHY_CAL_TSSISAMPS);
  17965. wlc_phy_table_read_nphy(pi, 7, 1, (0x110 + core), 16,
  17966. &radio_gain);
  17967. mdelay(4000);
  17968. pi->nphy_bb_mult_save = 0;
  17969. wlc_phy_stopplayback_nphy(pi);
  17970. }
  17971. }
  17972. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_txcal_pwr_idx[0], true);
  17973. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_txcal_pwr_idx[1], true);
  17974. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &pi->nphy_txcal_bbmult);
  17975. write_phy_reg(pi, 0x01, orig_BBConfig);
  17976. write_phy_reg(pi, 0x91, phy_saveregs[0]);
  17977. write_phy_reg(pi, 0x92, phy_saveregs[1]);
  17978. write_phy_reg(pi, 0xe7, phy_saveregs[2]);
  17979. write_phy_reg(pi, 0xec, phy_saveregs[3]);
  17980. pi->phyhang_avoid = phyhang_avoid_state;
  17981. if (pi->phyhang_avoid)
  17982. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17983. }
  17984. static void wlc_phy_savecal_nphy(struct brcms_phy *pi)
  17985. {
  17986. void *tbl_ptr;
  17987. int coreNum;
  17988. u16 *txcal_radio_regs = NULL;
  17989. if (pi->phyhang_avoid)
  17990. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17991. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17992. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17993. &pi->calibration_cache.
  17994. rxcal_coeffs_2G);
  17995. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17996. txcal_radio_regs =
  17997. pi->calibration_cache.txcal_radio_regs_2G;
  17998. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17999. pi->calibration_cache.txcal_radio_regs_2G[0] =
  18000. read_radio_reg(pi,
  18001. RADIO_2056_TX_LOFT_FINE_I |
  18002. RADIO_2056_TX0);
  18003. pi->calibration_cache.txcal_radio_regs_2G[1] =
  18004. read_radio_reg(pi,
  18005. RADIO_2056_TX_LOFT_FINE_Q |
  18006. RADIO_2056_TX0);
  18007. pi->calibration_cache.txcal_radio_regs_2G[2] =
  18008. read_radio_reg(pi,
  18009. RADIO_2056_TX_LOFT_FINE_I |
  18010. RADIO_2056_TX1);
  18011. pi->calibration_cache.txcal_radio_regs_2G[3] =
  18012. read_radio_reg(pi,
  18013. RADIO_2056_TX_LOFT_FINE_Q |
  18014. RADIO_2056_TX1);
  18015. pi->calibration_cache.txcal_radio_regs_2G[4] =
  18016. read_radio_reg(pi,
  18017. RADIO_2056_TX_LOFT_COARSE_I |
  18018. RADIO_2056_TX0);
  18019. pi->calibration_cache.txcal_radio_regs_2G[5] =
  18020. read_radio_reg(pi,
  18021. RADIO_2056_TX_LOFT_COARSE_Q |
  18022. RADIO_2056_TX0);
  18023. pi->calibration_cache.txcal_radio_regs_2G[6] =
  18024. read_radio_reg(pi,
  18025. RADIO_2056_TX_LOFT_COARSE_I |
  18026. RADIO_2056_TX1);
  18027. pi->calibration_cache.txcal_radio_regs_2G[7] =
  18028. read_radio_reg(pi,
  18029. RADIO_2056_TX_LOFT_COARSE_Q |
  18030. RADIO_2056_TX1);
  18031. } else {
  18032. pi->calibration_cache.txcal_radio_regs_2G[0] =
  18033. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18034. pi->calibration_cache.txcal_radio_regs_2G[1] =
  18035. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18036. pi->calibration_cache.txcal_radio_regs_2G[2] =
  18037. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18038. pi->calibration_cache.txcal_radio_regs_2G[3] =
  18039. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18040. }
  18041. pi->nphy_iqcal_chanspec_2G = pi->radio_chanspec;
  18042. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18043. } else {
  18044. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  18045. &pi->calibration_cache.
  18046. rxcal_coeffs_5G);
  18047. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18048. txcal_radio_regs =
  18049. pi->calibration_cache.txcal_radio_regs_5G;
  18050. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18051. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18052. read_radio_reg(pi,
  18053. RADIO_2056_TX_LOFT_FINE_I |
  18054. RADIO_2056_TX0);
  18055. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18056. read_radio_reg(pi,
  18057. RADIO_2056_TX_LOFT_FINE_Q |
  18058. RADIO_2056_TX0);
  18059. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18060. read_radio_reg(pi,
  18061. RADIO_2056_TX_LOFT_FINE_I |
  18062. RADIO_2056_TX1);
  18063. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18064. read_radio_reg(pi,
  18065. RADIO_2056_TX_LOFT_FINE_Q |
  18066. RADIO_2056_TX1);
  18067. pi->calibration_cache.txcal_radio_regs_5G[4] =
  18068. read_radio_reg(pi,
  18069. RADIO_2056_TX_LOFT_COARSE_I |
  18070. RADIO_2056_TX0);
  18071. pi->calibration_cache.txcal_radio_regs_5G[5] =
  18072. read_radio_reg(pi,
  18073. RADIO_2056_TX_LOFT_COARSE_Q |
  18074. RADIO_2056_TX0);
  18075. pi->calibration_cache.txcal_radio_regs_5G[6] =
  18076. read_radio_reg(pi,
  18077. RADIO_2056_TX_LOFT_COARSE_I |
  18078. RADIO_2056_TX1);
  18079. pi->calibration_cache.txcal_radio_regs_5G[7] =
  18080. read_radio_reg(pi,
  18081. RADIO_2056_TX_LOFT_COARSE_Q |
  18082. RADIO_2056_TX1);
  18083. } else {
  18084. pi->calibration_cache.txcal_radio_regs_5G[0] =
  18085. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  18086. pi->calibration_cache.txcal_radio_regs_5G[1] =
  18087. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  18088. pi->calibration_cache.txcal_radio_regs_5G[2] =
  18089. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  18090. pi->calibration_cache.txcal_radio_regs_5G[3] =
  18091. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  18092. }
  18093. pi->nphy_iqcal_chanspec_5G = pi->radio_chanspec;
  18094. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18095. }
  18096. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18097. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18098. txcal_radio_regs[2 * coreNum] =
  18099. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18100. LOFT_FINE_I);
  18101. txcal_radio_regs[2 * coreNum + 1] =
  18102. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18103. LOFT_FINE_Q);
  18104. txcal_radio_regs[2 * coreNum + 4] =
  18105. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18106. LOFT_COARSE_I);
  18107. txcal_radio_regs[2 * coreNum + 5] =
  18108. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18109. LOFT_COARSE_Q);
  18110. }
  18111. }
  18112. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 8, 80, 16, tbl_ptr);
  18113. if (pi->phyhang_avoid)
  18114. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18115. }
  18116. static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi)
  18117. {
  18118. struct nphy_iq_comp tx_comp;
  18119. wlc_phy_table_read_nphy(pi, 15, 4, 0x50, 16, &tx_comp);
  18120. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0);
  18121. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0);
  18122. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 4, tx_comp.a1);
  18123. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 6, tx_comp.b1);
  18124. }
  18125. static void wlc_phy_restorecal_nphy(struct brcms_phy *pi)
  18126. {
  18127. u16 *loft_comp;
  18128. u16 txcal_coeffs_bphy[4];
  18129. u16 *tbl_ptr;
  18130. int coreNum;
  18131. u16 *txcal_radio_regs = NULL;
  18132. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18133. if (pi->nphy_iqcal_chanspec_2G == 0)
  18134. return;
  18135. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  18136. loft_comp = &pi->calibration_cache.txcal_coeffs_2G[5];
  18137. } else {
  18138. if (pi->nphy_iqcal_chanspec_5G == 0)
  18139. return;
  18140. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  18141. loft_comp = &pi->calibration_cache.txcal_coeffs_5G[5];
  18142. }
  18143. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80, 16, tbl_ptr);
  18144. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18145. txcal_coeffs_bphy[0] = tbl_ptr[0];
  18146. txcal_coeffs_bphy[1] = tbl_ptr[1];
  18147. txcal_coeffs_bphy[2] = tbl_ptr[2];
  18148. txcal_coeffs_bphy[3] = tbl_ptr[3];
  18149. } else {
  18150. txcal_coeffs_bphy[0] = 0;
  18151. txcal_coeffs_bphy[1] = 0;
  18152. txcal_coeffs_bphy[2] = 0;
  18153. txcal_coeffs_bphy[3] = 0;
  18154. }
  18155. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88, 16,
  18156. txcal_coeffs_bphy);
  18157. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85, 16, loft_comp);
  18158. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93, 16, loft_comp);
  18159. if (NREV_LT(pi->pubpi.phy_rev, 2))
  18160. wlc_phy_tx_iq_war_nphy(pi);
  18161. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18162. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18163. txcal_radio_regs =
  18164. pi->calibration_cache.txcal_radio_regs_2G;
  18165. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18166. write_radio_reg(pi,
  18167. RADIO_2056_TX_LOFT_FINE_I |
  18168. RADIO_2056_TX0,
  18169. pi->calibration_cache.
  18170. txcal_radio_regs_2G[0]);
  18171. write_radio_reg(pi,
  18172. RADIO_2056_TX_LOFT_FINE_Q |
  18173. RADIO_2056_TX0,
  18174. pi->calibration_cache.
  18175. txcal_radio_regs_2G[1]);
  18176. write_radio_reg(pi,
  18177. RADIO_2056_TX_LOFT_FINE_I |
  18178. RADIO_2056_TX1,
  18179. pi->calibration_cache.
  18180. txcal_radio_regs_2G[2]);
  18181. write_radio_reg(pi,
  18182. RADIO_2056_TX_LOFT_FINE_Q |
  18183. RADIO_2056_TX1,
  18184. pi->calibration_cache.
  18185. txcal_radio_regs_2G[3]);
  18186. write_radio_reg(pi,
  18187. RADIO_2056_TX_LOFT_COARSE_I |
  18188. RADIO_2056_TX0,
  18189. pi->calibration_cache.
  18190. txcal_radio_regs_2G[4]);
  18191. write_radio_reg(pi,
  18192. RADIO_2056_TX_LOFT_COARSE_Q |
  18193. RADIO_2056_TX0,
  18194. pi->calibration_cache.
  18195. txcal_radio_regs_2G[5]);
  18196. write_radio_reg(pi,
  18197. RADIO_2056_TX_LOFT_COARSE_I |
  18198. RADIO_2056_TX1,
  18199. pi->calibration_cache.
  18200. txcal_radio_regs_2G[6]);
  18201. write_radio_reg(pi,
  18202. RADIO_2056_TX_LOFT_COARSE_Q |
  18203. RADIO_2056_TX1,
  18204. pi->calibration_cache.
  18205. txcal_radio_regs_2G[7]);
  18206. } else {
  18207. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18208. pi->calibration_cache.
  18209. txcal_radio_regs_2G[0]);
  18210. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18211. pi->calibration_cache.
  18212. txcal_radio_regs_2G[1]);
  18213. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18214. pi->calibration_cache.
  18215. txcal_radio_regs_2G[2]);
  18216. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18217. pi->calibration_cache.
  18218. txcal_radio_regs_2G[3]);
  18219. }
  18220. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18221. &pi->calibration_cache.
  18222. rxcal_coeffs_2G);
  18223. } else {
  18224. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18225. txcal_radio_regs =
  18226. pi->calibration_cache.txcal_radio_regs_5G;
  18227. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18228. write_radio_reg(pi,
  18229. RADIO_2056_TX_LOFT_FINE_I |
  18230. RADIO_2056_TX0,
  18231. pi->calibration_cache.
  18232. txcal_radio_regs_5G[0]);
  18233. write_radio_reg(pi,
  18234. RADIO_2056_TX_LOFT_FINE_Q |
  18235. RADIO_2056_TX0,
  18236. pi->calibration_cache.
  18237. txcal_radio_regs_5G[1]);
  18238. write_radio_reg(pi,
  18239. RADIO_2056_TX_LOFT_FINE_I |
  18240. RADIO_2056_TX1,
  18241. pi->calibration_cache.
  18242. txcal_radio_regs_5G[2]);
  18243. write_radio_reg(pi,
  18244. RADIO_2056_TX_LOFT_FINE_Q |
  18245. RADIO_2056_TX1,
  18246. pi->calibration_cache.
  18247. txcal_radio_regs_5G[3]);
  18248. write_radio_reg(pi,
  18249. RADIO_2056_TX_LOFT_COARSE_I |
  18250. RADIO_2056_TX0,
  18251. pi->calibration_cache.
  18252. txcal_radio_regs_5G[4]);
  18253. write_radio_reg(pi,
  18254. RADIO_2056_TX_LOFT_COARSE_Q |
  18255. RADIO_2056_TX0,
  18256. pi->calibration_cache.
  18257. txcal_radio_regs_5G[5]);
  18258. write_radio_reg(pi,
  18259. RADIO_2056_TX_LOFT_COARSE_I |
  18260. RADIO_2056_TX1,
  18261. pi->calibration_cache.
  18262. txcal_radio_regs_5G[6]);
  18263. write_radio_reg(pi,
  18264. RADIO_2056_TX_LOFT_COARSE_Q |
  18265. RADIO_2056_TX1,
  18266. pi->calibration_cache.
  18267. txcal_radio_regs_5G[7]);
  18268. } else {
  18269. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18270. pi->calibration_cache.
  18271. txcal_radio_regs_5G[0]);
  18272. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18273. pi->calibration_cache.
  18274. txcal_radio_regs_5G[1]);
  18275. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18276. pi->calibration_cache.
  18277. txcal_radio_regs_5G[2]);
  18278. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18279. pi->calibration_cache.
  18280. txcal_radio_regs_5G[3]);
  18281. }
  18282. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18283. &pi->calibration_cache.
  18284. rxcal_coeffs_5G);
  18285. }
  18286. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18287. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18288. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18289. LOFT_FINE_I,
  18290. txcal_radio_regs[2 * coreNum]);
  18291. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18292. LOFT_FINE_Q,
  18293. txcal_radio_regs[2 * coreNum + 1]);
  18294. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18295. LOFT_COARSE_I,
  18296. txcal_radio_regs[2 * coreNum + 4]);
  18297. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18298. LOFT_COARSE_Q,
  18299. txcal_radio_regs[2 * coreNum + 5]);
  18300. }
  18301. }
  18302. }
  18303. static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi)
  18304. {
  18305. u32 idx;
  18306. u16 iqloCalbuf[7];
  18307. u32 iqcomp, locomp, curr_locomp;
  18308. s8 locomp_i, locomp_q;
  18309. s8 curr_locomp_i, curr_locomp_q;
  18310. u32 tbl_id, tbl_len, tbl_offset;
  18311. u32 regval[128];
  18312. if (pi->phyhang_avoid)
  18313. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18314. wlc_phy_table_read_nphy(pi, 15, 7, 80, 16, iqloCalbuf);
  18315. tbl_len = 128;
  18316. tbl_offset = 320;
  18317. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18318. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18319. iqcomp =
  18320. (tbl_id ==
  18321. 26) ? (((u32) (iqloCalbuf[0] & 0x3ff)) << 10) |
  18322. (iqloCalbuf[1] & 0x3ff)
  18323. : (((u32) (iqloCalbuf[2] & 0x3ff)) << 10) |
  18324. (iqloCalbuf[3] & 0x3ff);
  18325. for (idx = 0; idx < tbl_len; idx++)
  18326. regval[idx] = iqcomp;
  18327. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18328. regval);
  18329. }
  18330. tbl_offset = 448;
  18331. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18332. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18333. locomp =
  18334. (u32) ((tbl_id == 26) ? iqloCalbuf[5] : iqloCalbuf[6]);
  18335. locomp_i = (s8) ((locomp >> 8) & 0xff);
  18336. locomp_q = (s8) ((locomp) & 0xff);
  18337. for (idx = 0; idx < tbl_len; idx++) {
  18338. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18339. curr_locomp_i = locomp_i;
  18340. curr_locomp_q = locomp_q;
  18341. } else {
  18342. curr_locomp_i = (s8) ((locomp_i *
  18343. nphy_tpc_loscale[idx] +
  18344. 128) >> 8);
  18345. curr_locomp_q =
  18346. (s8) ((locomp_q *
  18347. nphy_tpc_loscale[idx] +
  18348. 128) >> 8);
  18349. }
  18350. curr_locomp = (u32) ((curr_locomp_i & 0xff) << 8);
  18351. curr_locomp |= (u32) (curr_locomp_q & 0xff);
  18352. regval[idx] = curr_locomp;
  18353. }
  18354. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18355. regval);
  18356. }
  18357. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18358. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX1, 0xFFFF);
  18359. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX2, 0xFFFF);
  18360. }
  18361. if (pi->phyhang_avoid)
  18362. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18363. }
  18364. static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi)
  18365. {
  18366. u8 tx_lpf_bw = 0;
  18367. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18368. if (CHSPEC_IS40(pi->radio_chanspec))
  18369. tx_lpf_bw = 3;
  18370. else
  18371. tx_lpf_bw = 1;
  18372. if (PHY_IPA(pi)) {
  18373. if (CHSPEC_IS40(pi->radio_chanspec))
  18374. tx_lpf_bw = 5;
  18375. else
  18376. tx_lpf_bw = 4;
  18377. }
  18378. write_phy_reg(pi, 0xe8,
  18379. (tx_lpf_bw << 0) |
  18380. (tx_lpf_bw << 3) |
  18381. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18382. if (PHY_IPA(pi)) {
  18383. if (CHSPEC_IS40(pi->radio_chanspec))
  18384. tx_lpf_bw = 4;
  18385. else
  18386. tx_lpf_bw = 1;
  18387. write_phy_reg(pi, 0xe9,
  18388. (tx_lpf_bw << 0) |
  18389. (tx_lpf_bw << 3) |
  18390. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18391. }
  18392. }
  18393. }
  18394. static void
  18395. wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr)
  18396. {
  18397. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18398. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18399. CHSPEC_IS40(pi->radio_chanspec)) {
  18400. if (!pi->nphy_anarxlpf_adjusted) {
  18401. write_radio_reg(pi,
  18402. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18403. RADIO_2056_RX0),
  18404. ((pi->nphy_rccal_value +
  18405. reduction_factr) | 0x80));
  18406. pi->nphy_anarxlpf_adjusted = true;
  18407. }
  18408. } else {
  18409. if (pi->nphy_anarxlpf_adjusted) {
  18410. write_radio_reg(pi,
  18411. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18412. RADIO_2056_RX0),
  18413. (pi->nphy_rccal_value | 0x80));
  18414. pi->nphy_anarxlpf_adjusted = false;
  18415. }
  18416. }
  18417. }
  18418. }
  18419. static void
  18420. wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones,
  18421. int *tone_id_buf, u32 *noise_var_buf)
  18422. {
  18423. int i;
  18424. u32 offset;
  18425. int tone_id;
  18426. int tbllen =
  18427. CHSPEC_IS40(pi->radio_chanspec) ?
  18428. NPHY_NOISEVAR_TBLLEN40 : NPHY_NOISEVAR_TBLLEN20;
  18429. if (pi->nphy_noisevars_adjusted) {
  18430. for (i = 0; i < pi->nphy_saved_noisevars.bufcount; i++) {
  18431. tone_id = pi->nphy_saved_noisevars.tone_id[i];
  18432. offset = (tone_id >= 0) ?
  18433. ((tone_id *
  18434. 2) + 1) : (tbllen + (tone_id * 2) + 1);
  18435. wlc_phy_table_write_nphy(
  18436. pi, NPHY_TBL_ID_NOISEVAR, 1,
  18437. offset, 32,
  18438. &pi->nphy_saved_noisevars.min_noise_vars[i]);
  18439. }
  18440. pi->nphy_saved_noisevars.bufcount = 0;
  18441. pi->nphy_noisevars_adjusted = false;
  18442. }
  18443. if ((noise_var_buf != NULL) && (tone_id_buf != NULL)) {
  18444. pi->nphy_saved_noisevars.bufcount = 0;
  18445. for (i = 0; i < ntones; i++) {
  18446. tone_id = tone_id_buf[i];
  18447. offset = (tone_id >= 0) ?
  18448. ((tone_id * 2) + 1) :
  18449. (tbllen + (tone_id * 2) + 1);
  18450. pi->nphy_saved_noisevars.tone_id[i] = tone_id;
  18451. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18452. offset, 32,
  18453. &pi->nphy_saved_noisevars.
  18454. min_noise_vars[i]);
  18455. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18456. offset, 32, &noise_var_buf[i]);
  18457. pi->nphy_saved_noisevars.bufcount++;
  18458. }
  18459. pi->nphy_noisevars_adjusted = true;
  18460. }
  18461. }
  18462. static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr)
  18463. {
  18464. u16 regval;
  18465. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18466. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18467. CHSPEC_IS40(pi->radio_chanspec)) {
  18468. if (!pi->nphy_crsminpwr_adjusted) {
  18469. regval = read_phy_reg(pi, 0x27d);
  18470. pi->nphy_crsminpwr[0] = regval & 0xff;
  18471. regval &= 0xff00;
  18472. regval |= (u16) minpwr;
  18473. write_phy_reg(pi, 0x27d, regval);
  18474. regval = read_phy_reg(pi, 0x280);
  18475. pi->nphy_crsminpwr[1] = regval & 0xff;
  18476. regval &= 0xff00;
  18477. regval |= (u16) minpwr;
  18478. write_phy_reg(pi, 0x280, regval);
  18479. regval = read_phy_reg(pi, 0x283);
  18480. pi->nphy_crsminpwr[2] = regval & 0xff;
  18481. regval &= 0xff00;
  18482. regval |= (u16) minpwr;
  18483. write_phy_reg(pi, 0x283, regval);
  18484. pi->nphy_crsminpwr_adjusted = true;
  18485. }
  18486. } else {
  18487. if (pi->nphy_crsminpwr_adjusted) {
  18488. regval = read_phy_reg(pi, 0x27d);
  18489. regval &= 0xff00;
  18490. regval |= pi->nphy_crsminpwr[0];
  18491. write_phy_reg(pi, 0x27d, regval);
  18492. regval = read_phy_reg(pi, 0x280);
  18493. regval &= 0xff00;
  18494. regval |= pi->nphy_crsminpwr[1];
  18495. write_phy_reg(pi, 0x280, regval);
  18496. regval = read_phy_reg(pi, 0x283);
  18497. regval &= 0xff00;
  18498. regval |= pi->nphy_crsminpwr[2];
  18499. write_phy_reg(pi, 0x283, regval);
  18500. pi->nphy_crsminpwr_adjusted = false;
  18501. }
  18502. }
  18503. }
  18504. }
  18505. static void wlc_phy_spurwar_nphy(struct brcms_phy *pi)
  18506. {
  18507. u16 cur_channel = 0;
  18508. int nphy_adj_tone_id_buf[] = { 57, 58 };
  18509. u32 nphy_adj_noise_var_buf[] = { 0x3ff, 0x3ff };
  18510. bool isAdjustNoiseVar = false;
  18511. uint numTonesAdjust = 0;
  18512. u32 tempval = 0;
  18513. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18514. if (pi->phyhang_avoid)
  18515. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18516. cur_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  18517. if (pi->nphy_gband_spurwar_en) {
  18518. wlc_phy_adjust_rx_analpfbw_nphy(
  18519. pi,
  18520. NPHY_ANARXLPFBW_REDUCTIONFACT);
  18521. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18522. if ((cur_channel == 11)
  18523. && CHSPEC_IS40(pi->radio_chanspec))
  18524. wlc_phy_adjust_min_noisevar_nphy(
  18525. pi, 2,
  18526. nphy_adj_tone_id_buf,
  18527. nphy_adj_noise_var_buf);
  18528. else
  18529. wlc_phy_adjust_min_noisevar_nphy(pi, 0,
  18530. NULL,
  18531. NULL);
  18532. }
  18533. wlc_phy_adjust_crsminpwr_nphy(pi,
  18534. NPHY_ADJUSTED_MINCRSPOWER);
  18535. }
  18536. if ((pi->nphy_gband_spurwar2_en)
  18537. && CHSPEC_IS2G(pi->radio_chanspec)) {
  18538. if (CHSPEC_IS40(pi->radio_chanspec)) {
  18539. switch (cur_channel) {
  18540. case 3:
  18541. nphy_adj_tone_id_buf[0] = 57;
  18542. nphy_adj_tone_id_buf[1] = 58;
  18543. nphy_adj_noise_var_buf[0] = 0x22f;
  18544. nphy_adj_noise_var_buf[1] = 0x25f;
  18545. isAdjustNoiseVar = true;
  18546. break;
  18547. case 4:
  18548. nphy_adj_tone_id_buf[0] = 41;
  18549. nphy_adj_tone_id_buf[1] = 42;
  18550. nphy_adj_noise_var_buf[0] = 0x22f;
  18551. nphy_adj_noise_var_buf[1] = 0x25f;
  18552. isAdjustNoiseVar = true;
  18553. break;
  18554. case 5:
  18555. nphy_adj_tone_id_buf[0] = 25;
  18556. nphy_adj_tone_id_buf[1] = 26;
  18557. nphy_adj_noise_var_buf[0] = 0x24f;
  18558. nphy_adj_noise_var_buf[1] = 0x25f;
  18559. isAdjustNoiseVar = true;
  18560. break;
  18561. case 6:
  18562. nphy_adj_tone_id_buf[0] = 9;
  18563. nphy_adj_tone_id_buf[1] = 10;
  18564. nphy_adj_noise_var_buf[0] = 0x22f;
  18565. nphy_adj_noise_var_buf[1] = 0x24f;
  18566. isAdjustNoiseVar = true;
  18567. break;
  18568. case 7:
  18569. nphy_adj_tone_id_buf[0] = 121;
  18570. nphy_adj_tone_id_buf[1] = 122;
  18571. nphy_adj_noise_var_buf[0] = 0x18f;
  18572. nphy_adj_noise_var_buf[1] = 0x24f;
  18573. isAdjustNoiseVar = true;
  18574. break;
  18575. case 8:
  18576. nphy_adj_tone_id_buf[0] = 105;
  18577. nphy_adj_tone_id_buf[1] = 106;
  18578. nphy_adj_noise_var_buf[0] = 0x22f;
  18579. nphy_adj_noise_var_buf[1] = 0x25f;
  18580. isAdjustNoiseVar = true;
  18581. break;
  18582. case 9:
  18583. nphy_adj_tone_id_buf[0] = 89;
  18584. nphy_adj_tone_id_buf[1] = 90;
  18585. nphy_adj_noise_var_buf[0] = 0x22f;
  18586. nphy_adj_noise_var_buf[1] = 0x24f;
  18587. isAdjustNoiseVar = true;
  18588. break;
  18589. case 10:
  18590. nphy_adj_tone_id_buf[0] = 73;
  18591. nphy_adj_tone_id_buf[1] = 74;
  18592. nphy_adj_noise_var_buf[0] = 0x22f;
  18593. nphy_adj_noise_var_buf[1] = 0x24f;
  18594. isAdjustNoiseVar = true;
  18595. break;
  18596. default:
  18597. isAdjustNoiseVar = false;
  18598. break;
  18599. }
  18600. }
  18601. if (isAdjustNoiseVar) {
  18602. numTonesAdjust = sizeof(nphy_adj_tone_id_buf) /
  18603. sizeof(nphy_adj_tone_id_buf[0]);
  18604. wlc_phy_adjust_min_noisevar_nphy(
  18605. pi,
  18606. numTonesAdjust,
  18607. nphy_adj_tone_id_buf,
  18608. nphy_adj_noise_var_buf);
  18609. tempval = 0;
  18610. } else {
  18611. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18612. NULL);
  18613. }
  18614. }
  18615. if ((pi->nphy_aband_spurwar_en) &&
  18616. (CHSPEC_IS5G(pi->radio_chanspec))) {
  18617. switch (cur_channel) {
  18618. case 54:
  18619. nphy_adj_tone_id_buf[0] = 32;
  18620. nphy_adj_noise_var_buf[0] = 0x25f;
  18621. break;
  18622. case 38:
  18623. case 102:
  18624. case 118:
  18625. nphy_adj_tone_id_buf[0] = 0;
  18626. nphy_adj_noise_var_buf[0] = 0x0;
  18627. break;
  18628. case 134:
  18629. nphy_adj_tone_id_buf[0] = 32;
  18630. nphy_adj_noise_var_buf[0] = 0x21f;
  18631. break;
  18632. case 151:
  18633. nphy_adj_tone_id_buf[0] = 16;
  18634. nphy_adj_noise_var_buf[0] = 0x23f;
  18635. break;
  18636. case 153:
  18637. case 161:
  18638. nphy_adj_tone_id_buf[0] = 48;
  18639. nphy_adj_noise_var_buf[0] = 0x23f;
  18640. break;
  18641. default:
  18642. nphy_adj_tone_id_buf[0] = 0;
  18643. nphy_adj_noise_var_buf[0] = 0x0;
  18644. break;
  18645. }
  18646. if (nphy_adj_tone_id_buf[0]
  18647. && nphy_adj_noise_var_buf[0])
  18648. wlc_phy_adjust_min_noisevar_nphy(
  18649. pi, 1,
  18650. nphy_adj_tone_id_buf,
  18651. nphy_adj_noise_var_buf);
  18652. else
  18653. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18654. NULL);
  18655. }
  18656. if (pi->phyhang_avoid)
  18657. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18658. }
  18659. }
  18660. void wlc_phy_init_nphy(struct brcms_phy *pi)
  18661. {
  18662. u16 val;
  18663. u16 clip1_ths[2];
  18664. struct nphy_txgains target_gain;
  18665. u8 tx_pwr_ctrl_state;
  18666. bool do_nphy_cal = false;
  18667. uint core;
  18668. uint origidx, intr_val;
  18669. u32 d11_clk_ctl_st;
  18670. bool do_rssi_cal = false;
  18671. core = 0;
  18672. if (!(pi->measure_hold & PHY_HOLD_FOR_SCAN))
  18673. pi->measure_hold |= PHY_HOLD_FOR_NOT_ASSOC;
  18674. if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) &&
  18675. ((pi->sh->chippkg == BCM4717_PKG_ID) ||
  18676. (pi->sh->chippkg == BCM4718_PKG_ID))) {
  18677. if ((pi->sh->boardflags & BFL_EXTLNA) &&
  18678. (CHSPEC_IS2G(pi->radio_chanspec)))
  18679. ai_cc_reg(pi->sh->sih,
  18680. offsetof(struct chipcregs, chipcontrol),
  18681. 0x40, 0x40);
  18682. }
  18683. if ((pi->nphy_gband_spurwar2_en) && CHSPEC_IS2G(pi->radio_chanspec) &&
  18684. CHSPEC_IS40(pi->radio_chanspec)) {
  18685. ai_switch_core(pi->sh->sih, D11_CORE_ID, &origidx, &intr_val);
  18686. d11_clk_ctl_st = bcma_read32(pi->d11core,
  18687. D11REGOFFS(clk_ctl_st));
  18688. bcma_mask32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18689. ~(CCS_FORCEHT | CCS_HTAREQ));
  18690. bcma_write32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18691. d11_clk_ctl_st);
  18692. ai_restore_core(pi->sh->sih, origidx, intr_val);
  18693. }
  18694. pi->use_int_tx_iqlo_cal_nphy =
  18695. (PHY_IPA(pi) ||
  18696. (NREV_GE(pi->pubpi.phy_rev, 7) ||
  18697. (NREV_GE(pi->pubpi.phy_rev, 5)
  18698. && pi->sh->boardflags2 & BFL2_INTERNDET_TXIQCAL)));
  18699. pi->internal_tx_iqlo_cal_tapoff_intpa_nphy = false;
  18700. pi->nphy_deaf_count = 0;
  18701. wlc_phy_tbl_init_nphy(pi);
  18702. pi->nphy_crsminpwr_adjusted = false;
  18703. pi->nphy_noisevars_adjusted = false;
  18704. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18705. write_phy_reg(pi, 0xe7, 0);
  18706. write_phy_reg(pi, 0xec, 0);
  18707. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18708. write_phy_reg(pi, 0x342, 0);
  18709. write_phy_reg(pi, 0x343, 0);
  18710. write_phy_reg(pi, 0x346, 0);
  18711. write_phy_reg(pi, 0x347, 0);
  18712. }
  18713. write_phy_reg(pi, 0xe5, 0);
  18714. write_phy_reg(pi, 0xe6, 0);
  18715. } else {
  18716. write_phy_reg(pi, 0xec, 0);
  18717. }
  18718. write_phy_reg(pi, 0x91, 0);
  18719. write_phy_reg(pi, 0x92, 0);
  18720. if (NREV_LT(pi->pubpi.phy_rev, 6)) {
  18721. write_phy_reg(pi, 0x93, 0);
  18722. write_phy_reg(pi, 0x94, 0);
  18723. }
  18724. and_phy_reg(pi, 0xa1, ~3);
  18725. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18726. write_phy_reg(pi, 0x8f, 0);
  18727. write_phy_reg(pi, 0xa5, 0);
  18728. } else {
  18729. write_phy_reg(pi, 0xa5, 0);
  18730. }
  18731. if (NREV_IS(pi->pubpi.phy_rev, 2))
  18732. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  18733. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  18734. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  18735. write_phy_reg(pi, 0x203, 32);
  18736. write_phy_reg(pi, 0x201, 32);
  18737. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD)
  18738. write_phy_reg(pi, 0x20d, 160);
  18739. else
  18740. write_phy_reg(pi, 0x20d, 184);
  18741. write_phy_reg(pi, 0x13a, 200);
  18742. write_phy_reg(pi, 0x70, 80);
  18743. write_phy_reg(pi, 0x1ff, 48);
  18744. if (NREV_LT(pi->pubpi.phy_rev, 8))
  18745. wlc_phy_update_mimoconfig_nphy(pi, pi->n_preamble_override);
  18746. wlc_phy_stf_chain_upd_nphy(pi);
  18747. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18748. write_phy_reg(pi, 0x180, 0xaa8);
  18749. write_phy_reg(pi, 0x181, 0x9a4);
  18750. }
  18751. if (PHY_IPA(pi)) {
  18752. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  18753. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  18754. 0x29b, (0x1 << 0), (1) << 0);
  18755. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x298 :
  18756. 0x29c, (0x1ff << 7),
  18757. (pi->nphy_papd_epsilon_offset[core]) << 7);
  18758. }
  18759. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  18760. } else if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  18761. wlc_phy_extpa_set_tx_digi_filts_nphy(pi);
  18762. }
  18763. wlc_phy_workarounds_nphy(pi);
  18764. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18765. val = read_phy_reg(pi, 0x01);
  18766. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18767. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18768. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18769. wlapi_bmac_macphyclk_set(pi->sh->physhim, ON);
  18770. wlc_phy_pa_override_nphy(pi, OFF);
  18771. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  18772. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18773. wlc_phy_pa_override_nphy(pi, ON);
  18774. wlc_phy_classifier_nphy(pi, 0, 0);
  18775. wlc_phy_clip_det_nphy(pi, 0, clip1_ths);
  18776. if (CHSPEC_IS2G(pi->radio_chanspec))
  18777. wlc_phy_bphy_init_nphy(pi);
  18778. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  18779. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  18780. wlc_phy_txpwr_fixpower_nphy(pi);
  18781. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  18782. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  18783. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18784. u32 *tx_pwrctrl_tbl = NULL;
  18785. u16 idx;
  18786. s16 pga_gn = 0;
  18787. s16 pad_gn = 0;
  18788. s32 rfpwr_offset;
  18789. if (PHY_IPA(pi)) {
  18790. tx_pwrctrl_tbl = wlc_phy_get_ipa_gaintbl_nphy(pi);
  18791. } else {
  18792. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  18793. if (NREV_IS(pi->pubpi.phy_rev, 3))
  18794. tx_pwrctrl_tbl =
  18795. nphy_tpc_5GHz_txgain_rev3;
  18796. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  18797. tx_pwrctrl_tbl =
  18798. (pi->srom_fem5g.extpagain ==
  18799. 3) ?
  18800. nphy_tpc_5GHz_txgain_HiPwrEPA :
  18801. nphy_tpc_5GHz_txgain_rev4;
  18802. else
  18803. tx_pwrctrl_tbl =
  18804. nphy_tpc_5GHz_txgain_rev5;
  18805. } else {
  18806. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18807. if (pi->pubpi.radiorev == 5)
  18808. tx_pwrctrl_tbl =
  18809. nphy_tpc_txgain_epa_2057rev5;
  18810. else if (pi->pubpi.radiorev == 3)
  18811. tx_pwrctrl_tbl =
  18812. nphy_tpc_txgain_epa_2057rev3;
  18813. } else {
  18814. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  18815. (pi->srom_fem2g.extpagain == 3))
  18816. tx_pwrctrl_tbl =
  18817. nphy_tpc_txgain_HiPwrEPA;
  18818. else
  18819. tx_pwrctrl_tbl =
  18820. nphy_tpc_txgain_rev3;
  18821. }
  18822. }
  18823. }
  18824. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18825. 192, 32, tx_pwrctrl_tbl);
  18826. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18827. 192, 32, tx_pwrctrl_tbl);
  18828. pi->nphy_gmval = (u16) ((*tx_pwrctrl_tbl >> 16) & 0x7000);
  18829. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18830. for (idx = 0; idx < 128; idx++) {
  18831. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18832. pad_gn = (tx_pwrctrl_tbl[idx] >> 19) & 0x1f;
  18833. rfpwr_offset = get_rf_pwr_offset(pi, pga_gn,
  18834. pad_gn);
  18835. wlc_phy_table_write_nphy(
  18836. pi,
  18837. NPHY_TBL_ID_CORE1TXPWRCTL,
  18838. 1, 576 + idx, 32,
  18839. &rfpwr_offset);
  18840. wlc_phy_table_write_nphy(
  18841. pi,
  18842. NPHY_TBL_ID_CORE2TXPWRCTL,
  18843. 1, 576 + idx, 32,
  18844. &rfpwr_offset);
  18845. }
  18846. } else {
  18847. for (idx = 0; idx < 128; idx++) {
  18848. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18849. if (CHSPEC_IS2G(pi->radio_chanspec))
  18850. rfpwr_offset = (s16)
  18851. nphy_papd_pga_gain_delta_ipa_2g
  18852. [pga_gn];
  18853. else
  18854. rfpwr_offset = (s16)
  18855. nphy_papd_pga_gain_delta_ipa_5g
  18856. [pga_gn];
  18857. wlc_phy_table_write_nphy(
  18858. pi,
  18859. NPHY_TBL_ID_CORE1TXPWRCTL,
  18860. 1, 576 + idx, 32,
  18861. &rfpwr_offset);
  18862. wlc_phy_table_write_nphy(
  18863. pi,
  18864. NPHY_TBL_ID_CORE2TXPWRCTL,
  18865. 1, 576 + idx, 32,
  18866. &rfpwr_offset);
  18867. }
  18868. }
  18869. } else {
  18870. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18871. 192, 32, nphy_tpc_txgain);
  18872. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18873. 192, 32, nphy_tpc_txgain);
  18874. }
  18875. if (pi->sh->phyrxchain != 0x3)
  18876. wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
  18877. pi->sh->phyrxchain);
  18878. if (PHY_PERICAL_MPHASE_PENDING(pi))
  18879. wlc_phy_cal_perical_mphase_restart(pi);
  18880. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18881. do_rssi_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18882. (pi->nphy_rssical_chanspec_2G == 0) :
  18883. (pi->nphy_rssical_chanspec_5G == 0);
  18884. if (do_rssi_cal)
  18885. wlc_phy_rssi_cal_nphy(pi);
  18886. else
  18887. wlc_phy_restore_rssical_nphy(pi);
  18888. } else {
  18889. wlc_phy_rssi_cal_nphy(pi);
  18890. }
  18891. if (!SCAN_RM_IN_PROGRESS(pi))
  18892. do_nphy_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18893. (pi->nphy_iqcal_chanspec_2G == 0) :
  18894. (pi->nphy_iqcal_chanspec_5G == 0);
  18895. if (!pi->do_initcal)
  18896. do_nphy_cal = false;
  18897. if (do_nphy_cal) {
  18898. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  18899. if (pi->antsel_type == ANTSEL_2x3)
  18900. wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
  18901. true);
  18902. if (pi->nphy_perical != PHY_PERICAL_MPHASE) {
  18903. wlc_phy_rssi_cal_nphy(pi);
  18904. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18905. pi->nphy_cal_orig_pwr_idx[0] =
  18906. pi->nphy_txpwrindex[PHY_CORE_0]
  18907. .
  18908. index_internal;
  18909. pi->nphy_cal_orig_pwr_idx[1] =
  18910. pi->nphy_txpwrindex[PHY_CORE_1]
  18911. .
  18912. index_internal;
  18913. wlc_phy_precal_txgain_nphy(pi);
  18914. target_gain =
  18915. wlc_phy_get_tx_gain_nphy(pi);
  18916. }
  18917. if (wlc_phy_cal_txiqlo_nphy
  18918. (pi, target_gain, true,
  18919. false) == 0) {
  18920. if (wlc_phy_cal_rxiq_nphy
  18921. (pi, target_gain, 2,
  18922. false) == 0)
  18923. wlc_phy_savecal_nphy(pi);
  18924. }
  18925. } else if (pi->mphase_cal_phase_id ==
  18926. MPHASE_CAL_STATE_IDLE) {
  18927. wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
  18928. PHY_PERICAL_PHYINIT);
  18929. }
  18930. } else {
  18931. wlc_phy_restorecal_nphy(pi);
  18932. }
  18933. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  18934. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  18935. wlc_phy_nphy_tkip_rifs_war(pi, pi->sh->_rifs_phy);
  18936. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6))
  18937. write_phy_reg(pi, 0x70, 50);
  18938. wlc_phy_txlpfbw_nphy(pi);
  18939. wlc_phy_spurwar_nphy(pi);
  18940. }
  18941. static void wlc_phy_resetcca_nphy(struct brcms_phy *pi)
  18942. {
  18943. u16 val;
  18944. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18945. val = read_phy_reg(pi, 0x01);
  18946. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18947. udelay(1);
  18948. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18949. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18950. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18951. }
  18952. void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en)
  18953. {
  18954. u16 rfctrlintc_override_val;
  18955. if (!en) {
  18956. pi->rfctrlIntc1_save = read_phy_reg(pi, 0x91);
  18957. pi->rfctrlIntc2_save = read_phy_reg(pi, 0x92);
  18958. if (NREV_GE(pi->pubpi.phy_rev, 7))
  18959. rfctrlintc_override_val = 0x1480;
  18960. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  18961. rfctrlintc_override_val =
  18962. CHSPEC_IS5G(pi->radio_chanspec) ? 0x600 : 0x480;
  18963. else
  18964. rfctrlintc_override_val =
  18965. CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  18966. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  18967. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  18968. } else {
  18969. write_phy_reg(pi, 0x91, pi->rfctrlIntc1_save);
  18970. write_phy_reg(pi, 0x92, pi->rfctrlIntc2_save);
  18971. }
  18972. }
  18973. void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi)
  18974. {
  18975. u16 txrx_chain =
  18976. (NPHY_RfseqCoreActv_TxRxChain0 | NPHY_RfseqCoreActv_TxRxChain1);
  18977. bool CoreActv_override = false;
  18978. if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN0) {
  18979. txrx_chain = NPHY_RfseqCoreActv_TxRxChain0;
  18980. CoreActv_override = true;
  18981. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18982. and_phy_reg(pi, 0xa0, ~0x20);
  18983. } else if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN1) {
  18984. txrx_chain = NPHY_RfseqCoreActv_TxRxChain1;
  18985. CoreActv_override = true;
  18986. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18987. or_phy_reg(pi, 0xa0, 0x20);
  18988. }
  18989. mod_phy_reg(pi, 0xa2, ((0xf << 0) | (0xf << 4)), txrx_chain);
  18990. if (CoreActv_override) {
  18991. pi->nphy_perical = PHY_PERICAL_DISABLE;
  18992. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  18993. } else {
  18994. pi->nphy_perical = PHY_PERICAL_MPHASE;
  18995. and_phy_reg(pi, 0xa1, ~NPHY_RfseqMode_CoreActv_override);
  18996. }
  18997. }
  18998. void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
  18999. {
  19000. u16 regval;
  19001. u16 tbl_buf[16];
  19002. uint i;
  19003. struct brcms_phy *pi = (struct brcms_phy *) pih;
  19004. u16 tbl_opcode;
  19005. bool suspend;
  19006. pi->sh->phyrxchain = rxcore_bitmask;
  19007. if (!pi->sh->clk)
  19008. return;
  19009. suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  19010. MCTL_EN_MAC));
  19011. if (!suspend)
  19012. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  19013. if (pi->phyhang_avoid)
  19014. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  19015. regval = read_phy_reg(pi, 0xa2);
  19016. regval &= ~(0xf << 4);
  19017. regval |= ((u16) (rxcore_bitmask & 0x3)) << 4;
  19018. write_phy_reg(pi, 0xa2, regval);
  19019. if ((rxcore_bitmask & 0x3) != 0x3) {
  19020. write_phy_reg(pi, 0x20e, 1);
  19021. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19022. if (pi->rx2tx_biasentry == -1) {
  19023. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19024. ARRAY_SIZE(tbl_buf), 80,
  19025. 16, tbl_buf);
  19026. for (i = 0; i < ARRAY_SIZE(tbl_buf); i++) {
  19027. if (tbl_buf[i] ==
  19028. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS) {
  19029. pi->rx2tx_biasentry = (u8) i;
  19030. tbl_opcode =
  19031. NPHY_REV3_RFSEQ_CMD_NOP;
  19032. wlc_phy_table_write_nphy(
  19033. pi,
  19034. NPHY_TBL_ID_RFSEQ,
  19035. 1, i,
  19036. 16,
  19037. &tbl_opcode);
  19038. break;
  19039. } else if (tbl_buf[i] ==
  19040. NPHY_REV3_RFSEQ_CMD_END)
  19041. break;
  19042. }
  19043. }
  19044. }
  19045. } else {
  19046. write_phy_reg(pi, 0x20e, 30);
  19047. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19048. if (pi->rx2tx_biasentry != -1) {
  19049. tbl_opcode = NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS;
  19050. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  19051. 1, pi->rx2tx_biasentry,
  19052. 16, &tbl_opcode);
  19053. pi->rx2tx_biasentry = -1;
  19054. }
  19055. }
  19056. }
  19057. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  19058. if (pi->phyhang_avoid)
  19059. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  19060. if (!suspend)
  19061. wlapi_enable_mac(pi->sh->physhim);
  19062. }
  19063. u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
  19064. {
  19065. u16 regval, rxen_bits;
  19066. struct brcms_phy *pi = (struct brcms_phy *) pih;
  19067. regval = read_phy_reg(pi, 0xa2);
  19068. rxen_bits = (regval >> 4) & 0xf;
  19069. return (u8) rxen_bits;
  19070. }
  19071. bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi)
  19072. {
  19073. return PHY_IPA(pi);
  19074. }
  19075. void wlc_phy_cal_init_nphy(struct brcms_phy *pi)
  19076. {
  19077. }
  19078. static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi)
  19079. {
  19080. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19081. and_phy_reg(pi, 0x78, RFCC_OE_POR_FORCE);
  19082. or_phy_reg(pi, 0x78, ~RFCC_OE_POR_FORCE);
  19083. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU);
  19084. }
  19085. static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
  19086. {
  19087. struct radio_20xx_regs *regs_2057_ptr = NULL;
  19088. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19089. regs_2057_ptr = regs_2057_rev4;
  19090. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19091. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19092. switch (pi->pubpi.radiorev) {
  19093. case 5:
  19094. if (pi->pubpi.radiover == 0x0)
  19095. regs_2057_ptr = regs_2057_rev5;
  19096. else if (pi->pubpi.radiover == 0x1)
  19097. regs_2057_ptr = regs_2057_rev5v1;
  19098. else
  19099. break;
  19100. case 7:
  19101. regs_2057_ptr = regs_2057_rev7;
  19102. break;
  19103. case 8:
  19104. regs_2057_ptr = regs_2057_rev8;
  19105. break;
  19106. default:
  19107. break;
  19108. }
  19109. }
  19110. wlc_phy_init_radio_regs_allbands(pi, regs_2057_ptr);
  19111. }
  19112. static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi)
  19113. {
  19114. u16 rcal_reg = 0;
  19115. int i;
  19116. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19117. if (pi->pubpi.radiorev == 5) {
  19118. and_phy_reg(pi, 0x342, ~(0x1 << 1));
  19119. udelay(10);
  19120. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x1);
  19121. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19122. 0x1);
  19123. }
  19124. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x1);
  19125. udelay(10);
  19126. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x3, 0x3);
  19127. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19128. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS);
  19129. if (rcal_reg & 0x1)
  19130. break;
  19131. udelay(100);
  19132. }
  19133. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19134. "HW error: radio calib2"))
  19135. return 0;
  19136. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x2, 0x0);
  19137. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS) & 0x3e;
  19138. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x0);
  19139. if (pi->pubpi.radiorev == 5) {
  19140. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x0);
  19141. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  19142. 0x0);
  19143. }
  19144. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19145. mod_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x3c,
  19146. rcal_reg);
  19147. mod_radio_reg(pi, RADIO_2057_BANDGAP_RCAL_TRIM, 0xf0,
  19148. rcal_reg << 2);
  19149. }
  19150. } else if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19151. u16 savereg;
  19152. savereg =
  19153. read_radio_reg(
  19154. pi,
  19155. RADIO_2056_SYN_PLL_MAST2 |
  19156. RADIO_2056_SYN);
  19157. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19158. savereg | 0x7);
  19159. udelay(10);
  19160. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19161. 0x1);
  19162. udelay(10);
  19163. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19164. 0x9);
  19165. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19166. rcal_reg = read_radio_reg(
  19167. pi,
  19168. RADIO_2056_SYN_RCAL_CODE_OUT |
  19169. RADIO_2056_SYN);
  19170. if (rcal_reg & 0x80)
  19171. break;
  19172. udelay(100);
  19173. }
  19174. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19175. "HW error: radio calib3"))
  19176. return 0;
  19177. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19178. 0x1);
  19179. rcal_reg =
  19180. read_radio_reg(pi,
  19181. RADIO_2056_SYN_RCAL_CODE_OUT |
  19182. RADIO_2056_SYN);
  19183. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19184. 0x0);
  19185. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19186. savereg);
  19187. return rcal_reg & 0x1f;
  19188. }
  19189. return rcal_reg & 0x3e;
  19190. }
  19191. static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi)
  19192. {
  19193. u16 rccal_valid;
  19194. int i;
  19195. bool chip43226_6362A0;
  19196. chip43226_6362A0 = ((pi->pubpi.radiorev == 3)
  19197. || (pi->pubpi.radiorev == 4)
  19198. || (pi->pubpi.radiorev == 6));
  19199. rccal_valid = 0;
  19200. if (chip43226_6362A0) {
  19201. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x61);
  19202. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xc0);
  19203. } else {
  19204. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x61);
  19205. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xe9);
  19206. }
  19207. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19208. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19209. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19210. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19211. if (rccal_valid & 0x2)
  19212. break;
  19213. udelay(500);
  19214. }
  19215. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19216. rccal_valid = 0;
  19217. if (chip43226_6362A0) {
  19218. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x69);
  19219. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19220. } else {
  19221. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x69);
  19222. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xd5);
  19223. }
  19224. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19225. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19226. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19227. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19228. if (rccal_valid & 0x2)
  19229. break;
  19230. udelay(500);
  19231. }
  19232. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19233. rccal_valid = 0;
  19234. if (chip43226_6362A0) {
  19235. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x73);
  19236. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x28);
  19237. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19238. } else {
  19239. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x73);
  19240. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19241. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0x99);
  19242. }
  19243. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19244. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19245. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19246. if (rccal_valid & 0x2)
  19247. break;
  19248. udelay(500);
  19249. }
  19250. if (WARN(!(rccal_valid & 0x2), "HW error: radio calib4"))
  19251. return 0;
  19252. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19253. return rccal_valid;
  19254. }
  19255. static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi)
  19256. {
  19257. mod_radio_reg(pi, RADIO_2057_XTALPUOVR_PINCTRL, 0x1, 0x1);
  19258. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x78);
  19259. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x80);
  19260. mdelay(2);
  19261. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x0);
  19262. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x0);
  19263. if (pi->phy_init_por) {
  19264. wlc_phy_radio205x_rcal(pi);
  19265. wlc_phy_radio2057_rccal(pi);
  19266. }
  19267. mod_radio_reg(pi, RADIO_2057_RFPLL_MASTER, 0x8, 0x0);
  19268. }
  19269. static void wlc_phy_radio_init_2056(struct brcms_phy *pi)
  19270. {
  19271. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19272. const struct radio_regs *regs_TX_2056_ptr = NULL;
  19273. const struct radio_regs *regs_RX_2056_ptr = NULL;
  19274. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19275. regs_SYN_2056_ptr = regs_SYN_2056;
  19276. regs_TX_2056_ptr = regs_TX_2056;
  19277. regs_RX_2056_ptr = regs_RX_2056;
  19278. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19279. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19280. regs_TX_2056_ptr = regs_TX_2056_A1;
  19281. regs_RX_2056_ptr = regs_RX_2056_A1;
  19282. } else {
  19283. switch (pi->pubpi.radiorev) {
  19284. case 5:
  19285. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19286. regs_TX_2056_ptr = regs_TX_2056_rev5;
  19287. regs_RX_2056_ptr = regs_RX_2056_rev5;
  19288. break;
  19289. case 6:
  19290. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19291. regs_TX_2056_ptr = regs_TX_2056_rev6;
  19292. regs_RX_2056_ptr = regs_RX_2056_rev6;
  19293. break;
  19294. case 7:
  19295. case 9:
  19296. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19297. regs_TX_2056_ptr = regs_TX_2056_rev7;
  19298. regs_RX_2056_ptr = regs_RX_2056_rev7;
  19299. break;
  19300. case 8:
  19301. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19302. regs_TX_2056_ptr = regs_TX_2056_rev8;
  19303. regs_RX_2056_ptr = regs_RX_2056_rev8;
  19304. break;
  19305. case 11:
  19306. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19307. regs_TX_2056_ptr = regs_TX_2056_rev11;
  19308. regs_RX_2056_ptr = regs_RX_2056_rev11;
  19309. break;
  19310. default:
  19311. break;
  19312. }
  19313. }
  19314. wlc_phy_init_radio_regs(pi, regs_SYN_2056_ptr, (u16) RADIO_2056_SYN);
  19315. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX0);
  19316. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX1);
  19317. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX0);
  19318. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX1);
  19319. }
  19320. static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi)
  19321. {
  19322. mod_radio_reg(pi, RADIO_2056_SYN_COM_CTRL, 0xb, 0xb);
  19323. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x2);
  19324. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x2);
  19325. udelay(1000);
  19326. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x0);
  19327. if ((pi->sh->boardflags2 & BFL2_LEGACY)
  19328. || (pi->sh->boardflags2 & BFL2_XTALBUFOUTEN))
  19329. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xf4, 0x0);
  19330. else
  19331. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xfc, 0x0);
  19332. mod_radio_reg(pi, RADIO_2056_SYN_RCCAL_CTRL0, 0x1, 0x0);
  19333. if (pi->phy_init_por)
  19334. wlc_phy_radio205x_rcal(pi);
  19335. }
  19336. static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi)
  19337. {
  19338. and_phy_reg(pi, 0x78, ~RFCC_POR_FORCE);
  19339. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU | RFCC_OE_POR_FORCE);
  19340. or_phy_reg(pi, 0x78, RFCC_POR_FORCE);
  19341. }
  19342. static void wlc_phy_radio_init_2055(struct brcms_phy *pi)
  19343. {
  19344. wlc_phy_init_radio_regs(pi, regs_2055, RADIO_DEFAULT_CORE);
  19345. }
  19346. static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi)
  19347. {
  19348. and_radio_reg(pi, RADIO_2055_MASTER_CNTRL1,
  19349. ~(RADIO_2055_JTAGCTRL_MASK | RADIO_2055_JTAGSYNC_MASK));
  19350. if (((pi->sh->sromrev >= 4)
  19351. && !(pi->sh->boardflags2 & BFL2_RXBB_INT_REG_DIS))
  19352. || ((pi->sh->sromrev < 4))) {
  19353. and_radio_reg(pi, RADIO_2055_CORE1_RXBB_REGULATOR, 0x7F);
  19354. and_radio_reg(pi, RADIO_2055_CORE2_RXBB_REGULATOR, 0x7F);
  19355. }
  19356. mod_radio_reg(pi, RADIO_2055_RRCCAL_N_OPT_SEL, 0x3F, 0x2C);
  19357. write_radio_reg(pi, RADIO_2055_CAL_MISC, 0x3C);
  19358. and_radio_reg(pi, RADIO_2055_CAL_MISC,
  19359. ~(RADIO_2055_RRCAL_START | RADIO_2055_RRCAL_RST_N));
  19360. or_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL, RADIO_2055_CAL_LPO_ENABLE);
  19361. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_RST_N);
  19362. udelay(1000);
  19363. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_START);
  19364. SPINWAIT(((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19365. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE), 2000);
  19366. if (WARN((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19367. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE,
  19368. "HW error: radio calibration1\n"))
  19369. return;
  19370. and_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL,
  19371. ~(RADIO_2055_CAL_LPO_ENABLE));
  19372. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
  19373. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_LPF, 9);
  19374. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_LPF, 9);
  19375. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_MIDAC_HIPAS, 0x83);
  19376. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_MIDAC_HIPAS, 0x83);
  19377. mod_radio_reg(pi, RADIO_2055_CORE1_LNA_GAINBST,
  19378. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19379. mod_radio_reg(pi, RADIO_2055_CORE2_LNA_GAINBST,
  19380. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19381. if (pi->nphy_gain_boost) {
  19382. and_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19383. ~(RADIO_2055_GAINBST_DISABLE));
  19384. and_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19385. ~(RADIO_2055_GAINBST_DISABLE));
  19386. } else {
  19387. or_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19388. RADIO_2055_GAINBST_DISABLE);
  19389. or_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19390. RADIO_2055_GAINBST_DISABLE);
  19391. }
  19392. udelay(2);
  19393. }
  19394. void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
  19395. {
  19396. if (on) {
  19397. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19398. if (!pi->radio_is_on) {
  19399. wlc_phy_radio_preinit_205x(pi);
  19400. wlc_phy_radio_init_2057(pi);
  19401. wlc_phy_radio_postinit_2057(pi);
  19402. }
  19403. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19404. pi->radio_chanspec);
  19405. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19406. wlc_phy_radio_preinit_205x(pi);
  19407. wlc_phy_radio_init_2056(pi);
  19408. wlc_phy_radio_postinit_2056(pi);
  19409. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19410. pi->radio_chanspec);
  19411. } else {
  19412. wlc_phy_radio_preinit_2055(pi);
  19413. wlc_phy_radio_init_2055(pi);
  19414. wlc_phy_radio_postinit_2055(pi);
  19415. }
  19416. pi->radio_is_on = true;
  19417. } else {
  19418. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19419. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  19420. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19421. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x0);
  19422. write_radio_reg(pi,
  19423. RADIO_2056_TX_PADA_BOOST_TUNE |
  19424. RADIO_2056_TX0, 0);
  19425. write_radio_reg(pi,
  19426. RADIO_2056_TX_PADG_BOOST_TUNE |
  19427. RADIO_2056_TX0, 0);
  19428. write_radio_reg(pi,
  19429. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19430. RADIO_2056_TX0, 0);
  19431. write_radio_reg(pi,
  19432. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19433. RADIO_2056_TX0, 0);
  19434. mod_radio_reg(pi,
  19435. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19436. RADIO_2056_TX0, 0xf0, 0);
  19437. write_radio_reg(pi,
  19438. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19439. RADIO_2056_TX0, 0);
  19440. write_radio_reg(pi,
  19441. RADIO_2056_TX_PADA_BOOST_TUNE |
  19442. RADIO_2056_TX1, 0);
  19443. write_radio_reg(pi,
  19444. RADIO_2056_TX_PADG_BOOST_TUNE |
  19445. RADIO_2056_TX1, 0);
  19446. write_radio_reg(pi,
  19447. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19448. RADIO_2056_TX1, 0);
  19449. write_radio_reg(pi,
  19450. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19451. RADIO_2056_TX1, 0);
  19452. mod_radio_reg(pi,
  19453. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19454. RADIO_2056_TX1, 0xf0, 0);
  19455. write_radio_reg(pi,
  19456. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19457. RADIO_2056_TX1, 0);
  19458. pi->radio_is_on = false;
  19459. }
  19460. if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  19461. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19462. pi->radio_is_on = false;
  19463. }
  19464. }
  19465. }
  19466. static bool
  19467. wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f,
  19468. const struct chan_info_nphy_radio2057 **t0,
  19469. const struct chan_info_nphy_radio205x **t1,
  19470. const struct chan_info_nphy_radio2057_rev5 **t2,
  19471. const struct chan_info_nphy_2055 **t3)
  19472. {
  19473. uint i;
  19474. const struct chan_info_nphy_radio2057 *chan_info_tbl_p_0 = NULL;
  19475. const struct chan_info_nphy_radio205x *chan_info_tbl_p_1 = NULL;
  19476. const struct chan_info_nphy_radio2057_rev5 *chan_info_tbl_p_2 = NULL;
  19477. u32 tbl_len = 0;
  19478. int freq = 0;
  19479. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19480. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19481. chan_info_tbl_p_0 = chan_info_nphyrev7_2057_rev4;
  19482. tbl_len = ARRAY_SIZE(chan_info_nphyrev7_2057_rev4);
  19483. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19484. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19485. switch (pi->pubpi.radiorev) {
  19486. case 5:
  19487. if (pi->pubpi.radiover == 0x0) {
  19488. chan_info_tbl_p_2 =
  19489. chan_info_nphyrev8_2057_rev5;
  19490. tbl_len = ARRAY_SIZE(
  19491. chan_info_nphyrev8_2057_rev5);
  19492. } else if (pi->pubpi.radiover == 0x1) {
  19493. chan_info_tbl_p_2 =
  19494. chan_info_nphyrev9_2057_rev5v1;
  19495. tbl_len = ARRAY_SIZE(
  19496. chan_info_nphyrev9_2057_rev5v1);
  19497. }
  19498. break;
  19499. case 7:
  19500. chan_info_tbl_p_0 =
  19501. chan_info_nphyrev8_2057_rev7;
  19502. tbl_len = ARRAY_SIZE(
  19503. chan_info_nphyrev8_2057_rev7);
  19504. break;
  19505. case 8:
  19506. chan_info_tbl_p_0 =
  19507. chan_info_nphyrev8_2057_rev8;
  19508. tbl_len = ARRAY_SIZE(
  19509. chan_info_nphyrev8_2057_rev8);
  19510. break;
  19511. default:
  19512. break;
  19513. }
  19514. } else if (NREV_IS(pi->pubpi.phy_rev, 16)) {
  19515. chan_info_tbl_p_0 = chan_info_nphyrev8_2057_rev8;
  19516. tbl_len = ARRAY_SIZE(chan_info_nphyrev8_2057_rev8);
  19517. } else {
  19518. goto fail;
  19519. }
  19520. for (i = 0; i < tbl_len; i++) {
  19521. if (pi->pubpi.radiorev == 5) {
  19522. if (chan_info_tbl_p_2[i].chan == channel)
  19523. break;
  19524. } else {
  19525. if (chan_info_tbl_p_0[i].chan == channel)
  19526. break;
  19527. }
  19528. }
  19529. if (i >= tbl_len)
  19530. goto fail;
  19531. if (pi->pubpi.radiorev == 5) {
  19532. *t2 = &chan_info_tbl_p_2[i];
  19533. freq = chan_info_tbl_p_2[i].freq;
  19534. } else {
  19535. *t0 = &chan_info_tbl_p_0[i];
  19536. freq = chan_info_tbl_p_0[i].freq;
  19537. }
  19538. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19539. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19540. chan_info_tbl_p_1 = chan_info_nphyrev3_2056;
  19541. tbl_len = ARRAY_SIZE(chan_info_nphyrev3_2056);
  19542. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19543. chan_info_tbl_p_1 = chan_info_nphyrev4_2056_A1;
  19544. tbl_len = ARRAY_SIZE(chan_info_nphyrev4_2056_A1);
  19545. } else if (NREV_IS(pi->pubpi.phy_rev, 5)
  19546. || NREV_IS(pi->pubpi.phy_rev, 6)) {
  19547. switch (pi->pubpi.radiorev) {
  19548. case 5:
  19549. chan_info_tbl_p_1 = chan_info_nphyrev5_2056v5;
  19550. tbl_len = ARRAY_SIZE(chan_info_nphyrev5_2056v5);
  19551. break;
  19552. case 6:
  19553. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v6;
  19554. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v6);
  19555. break;
  19556. case 7:
  19557. case 9:
  19558. chan_info_tbl_p_1 = chan_info_nphyrev5n6_2056v7;
  19559. tbl_len =
  19560. ARRAY_SIZE(chan_info_nphyrev5n6_2056v7);
  19561. break;
  19562. case 8:
  19563. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v8;
  19564. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v8);
  19565. break;
  19566. case 11:
  19567. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v11;
  19568. tbl_len = ARRAY_SIZE(
  19569. chan_info_nphyrev6_2056v11);
  19570. break;
  19571. default:
  19572. break;
  19573. }
  19574. }
  19575. for (i = 0; i < tbl_len; i++) {
  19576. if (chan_info_tbl_p_1[i].chan == channel)
  19577. break;
  19578. }
  19579. if (i >= tbl_len)
  19580. goto fail;
  19581. *t1 = &chan_info_tbl_p_1[i];
  19582. freq = chan_info_tbl_p_1[i].freq;
  19583. } else {
  19584. for (i = 0; i < ARRAY_SIZE(chan_info_nphy_2055); i++)
  19585. if (chan_info_nphy_2055[i].chan == channel)
  19586. break;
  19587. if (i >= ARRAY_SIZE(chan_info_nphy_2055))
  19588. goto fail;
  19589. *t3 = &chan_info_nphy_2055[i];
  19590. freq = chan_info_nphy_2055[i].freq;
  19591. }
  19592. *f = freq;
  19593. return true;
  19594. fail:
  19595. *f = WL_CHAN_FREQ_RANGE_2G;
  19596. return false;
  19597. }
  19598. u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel)
  19599. {
  19600. int freq;
  19601. const struct chan_info_nphy_radio2057 *t0 = NULL;
  19602. const struct chan_info_nphy_radio205x *t1 = NULL;
  19603. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  19604. const struct chan_info_nphy_2055 *t3 = NULL;
  19605. if (channel == 0)
  19606. channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  19607. wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
  19608. if (CHSPEC_IS2G(pi->radio_chanspec))
  19609. return WL_CHAN_FREQ_RANGE_2G;
  19610. if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
  19611. return WL_CHAN_FREQ_RANGE_5GL;
  19612. else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
  19613. return WL_CHAN_FREQ_RANGE_5GM;
  19614. else
  19615. return WL_CHAN_FREQ_RANGE_5GH;
  19616. }
  19617. static void
  19618. wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi,
  19619. const struct chan_info_nphy_2055 *ci)
  19620. {
  19621. write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref);
  19622. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0);
  19623. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1);
  19624. write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail);
  19625. BRCMS_PHY_WAR_PR51571(pi);
  19626. write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1);
  19627. write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2);
  19628. write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1);
  19629. write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1);
  19630. BRCMS_PHY_WAR_PR51571(pi);
  19631. write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2);
  19632. write_radio_reg(pi, RADIO_2055_LGBUF_CEN_BUF, ci->RF_lgbuf_cen_buf);
  19633. write_radio_reg(pi, RADIO_2055_LGEN_TUNE1, ci->RF_lgen_tune1);
  19634. write_radio_reg(pi, RADIO_2055_LGEN_TUNE2, ci->RF_lgen_tune2);
  19635. BRCMS_PHY_WAR_PR51571(pi);
  19636. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_A_TUNE,
  19637. ci->RF_core1_lgbuf_a_tune);
  19638. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_G_TUNE,
  19639. ci->RF_core1_lgbuf_g_tune);
  19640. write_radio_reg(pi, RADIO_2055_CORE1_RXRF_REG1, ci->RF_core1_rxrf_reg1);
  19641. write_radio_reg(pi, RADIO_2055_CORE1_TX_PGA_PAD_TN,
  19642. ci->RF_core1_tx_pga_pad_tn);
  19643. BRCMS_PHY_WAR_PR51571(pi);
  19644. write_radio_reg(pi, RADIO_2055_CORE1_TX_MX_BGTRIM,
  19645. ci->RF_core1_tx_mx_bgtrim);
  19646. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_A_TUNE,
  19647. ci->RF_core2_lgbuf_a_tune);
  19648. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_G_TUNE,
  19649. ci->RF_core2_lgbuf_g_tune);
  19650. write_radio_reg(pi, RADIO_2055_CORE2_RXRF_REG1, ci->RF_core2_rxrf_reg1);
  19651. BRCMS_PHY_WAR_PR51571(pi);
  19652. write_radio_reg(pi, RADIO_2055_CORE2_TX_PGA_PAD_TN,
  19653. ci->RF_core2_tx_pga_pad_tn);
  19654. write_radio_reg(pi, RADIO_2055_CORE2_TX_MX_BGTRIM,
  19655. ci->RF_core2_tx_mx_bgtrim);
  19656. udelay(50);
  19657. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x05);
  19658. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x45);
  19659. BRCMS_PHY_WAR_PR51571(pi);
  19660. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x65);
  19661. udelay(300);
  19662. }
  19663. static void
  19664. wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi,
  19665. const struct chan_info_nphy_radio205x *ci)
  19666. {
  19667. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19668. write_radio_reg(pi,
  19669. RADIO_2056_SYN_PLL_VCOCAL1 | RADIO_2056_SYN,
  19670. ci->RF_SYN_pll_vcocal1);
  19671. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL2 | RADIO_2056_SYN,
  19672. ci->RF_SYN_pll_vcocal2);
  19673. write_radio_reg(pi, RADIO_2056_SYN_PLL_REFDIV | RADIO_2056_SYN,
  19674. ci->RF_SYN_pll_refdiv);
  19675. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD2 | RADIO_2056_SYN,
  19676. ci->RF_SYN_pll_mmd2);
  19677. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD1 | RADIO_2056_SYN,
  19678. ci->RF_SYN_pll_mmd1);
  19679. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19680. ci->RF_SYN_pll_loopfilter1);
  19681. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19682. ci->RF_SYN_pll_loopfilter2);
  19683. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER3 | RADIO_2056_SYN,
  19684. ci->RF_SYN_pll_loopfilter3);
  19685. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19686. ci->RF_SYN_pll_loopfilter4);
  19687. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER5 | RADIO_2056_SYN,
  19688. ci->RF_SYN_pll_loopfilter5);
  19689. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR27 | RADIO_2056_SYN,
  19690. ci->RF_SYN_reserved_addr27);
  19691. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR28 | RADIO_2056_SYN,
  19692. ci->RF_SYN_reserved_addr28);
  19693. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR29 | RADIO_2056_SYN,
  19694. ci->RF_SYN_reserved_addr29);
  19695. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_VCOBUF1 | RADIO_2056_SYN,
  19696. ci->RF_SYN_logen_VCOBUF1);
  19697. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_MIXER2 | RADIO_2056_SYN,
  19698. ci->RF_SYN_logen_MIXER2);
  19699. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF3 | RADIO_2056_SYN,
  19700. ci->RF_SYN_logen_BUF3);
  19701. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF4 | RADIO_2056_SYN,
  19702. ci->RF_SYN_logen_BUF4);
  19703. write_radio_reg(pi,
  19704. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX0,
  19705. ci->RF_RX0_lnaa_tune);
  19706. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX0,
  19707. ci->RF_RX0_lnag_tune);
  19708. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX0,
  19709. ci->RF_TX0_intpaa_boost_tune);
  19710. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX0,
  19711. ci->RF_TX0_intpag_boost_tune);
  19712. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX0,
  19713. ci->RF_TX0_pada_boost_tune);
  19714. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX0,
  19715. ci->RF_TX0_padg_boost_tune);
  19716. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX0,
  19717. ci->RF_TX0_pgaa_boost_tune);
  19718. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX0,
  19719. ci->RF_TX0_pgag_boost_tune);
  19720. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX0,
  19721. ci->RF_TX0_mixa_boost_tune);
  19722. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX0,
  19723. ci->RF_TX0_mixg_boost_tune);
  19724. write_radio_reg(pi,
  19725. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX1,
  19726. ci->RF_RX1_lnaa_tune);
  19727. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX1,
  19728. ci->RF_RX1_lnag_tune);
  19729. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX1,
  19730. ci->RF_TX1_intpaa_boost_tune);
  19731. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX1,
  19732. ci->RF_TX1_intpag_boost_tune);
  19733. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX1,
  19734. ci->RF_TX1_pada_boost_tune);
  19735. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX1,
  19736. ci->RF_TX1_padg_boost_tune);
  19737. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX1,
  19738. ci->RF_TX1_pgaa_boost_tune);
  19739. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX1,
  19740. ci->RF_TX1_pgag_boost_tune);
  19741. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX1,
  19742. ci->RF_TX1_mixa_boost_tune);
  19743. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX1,
  19744. ci->RF_TX1_mixg_boost_tune);
  19745. if (NREV_IS(pi->pubpi.phy_rev, 3))
  19746. regs_SYN_2056_ptr = regs_SYN_2056;
  19747. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  19748. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19749. else {
  19750. switch (pi->pubpi.radiorev) {
  19751. case 5:
  19752. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19753. break;
  19754. case 6:
  19755. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19756. break;
  19757. case 7:
  19758. case 9:
  19759. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19760. break;
  19761. case 8:
  19762. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19763. break;
  19764. case 11:
  19765. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19766. break;
  19767. }
  19768. }
  19769. if (CHSPEC_IS2G(pi->radio_chanspec))
  19770. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19771. RADIO_2056_SYN,
  19772. (u16) regs_SYN_2056_ptr[0x49 - 2].init_g);
  19773. else
  19774. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19775. RADIO_2056_SYN,
  19776. (u16) regs_SYN_2056_ptr[0x49 - 2].init_a);
  19777. if (pi->sh->boardflags2 & BFL2_GPLL_WAR) {
  19778. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19779. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19780. RADIO_2056_SYN, 0x1f);
  19781. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19782. RADIO_2056_SYN, 0x1f);
  19783. write_radio_reg(pi,
  19784. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19785. RADIO_2056_SYN, 0xb);
  19786. write_radio_reg(pi,
  19787. RADIO_2056_SYN_PLL_CP2 |
  19788. RADIO_2056_SYN, 0x14);
  19789. }
  19790. }
  19791. if ((pi->sh->boardflags2 & BFL2_GPLL_WAR2) &&
  19792. (CHSPEC_IS2G(pi->radio_chanspec))) {
  19793. write_radio_reg(pi,
  19794. RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19795. 0x1f);
  19796. write_radio_reg(pi,
  19797. RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19798. 0x1f);
  19799. write_radio_reg(pi,
  19800. RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19801. 0xb);
  19802. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 | RADIO_2056_SYN,
  19803. 0x20);
  19804. }
  19805. if (pi->sh->boardflags2 & BFL2_APLL_WAR) {
  19806. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  19807. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19808. RADIO_2056_SYN, 0x1f);
  19809. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19810. RADIO_2056_SYN, 0x1f);
  19811. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19812. RADIO_2056_SYN, 0x5);
  19813. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19814. RADIO_2056_SYN, 0xc);
  19815. }
  19816. }
  19817. if (PHY_IPA(pi) && CHSPEC_IS2G(pi->radio_chanspec)) {
  19818. u16 pag_boost_tune;
  19819. u16 padg_boost_tune;
  19820. u16 pgag_boost_tune;
  19821. u16 mixg_boost_tune;
  19822. u16 bias, cascbias;
  19823. uint core;
  19824. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19825. if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  19826. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19827. PADG_IDAC, 0xcc);
  19828. bias = 0x25;
  19829. cascbias = 0x20;
  19830. if ((pi->sh->chip ==
  19831. BCM43224_CHIP_ID)
  19832. || (pi->sh->chip ==
  19833. BCM43225_CHIP_ID)) {
  19834. if (pi->sh->chippkg ==
  19835. BCM43224_FAB_SMIC) {
  19836. bias = 0x2a;
  19837. cascbias = 0x38;
  19838. }
  19839. }
  19840. pag_boost_tune = 0x4;
  19841. pgag_boost_tune = 0x03;
  19842. padg_boost_tune = 0x77;
  19843. mixg_boost_tune = 0x65;
  19844. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19845. INTPAG_IMAIN_STAT, bias);
  19846. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19847. INTPAG_IAUX_STAT, bias);
  19848. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19849. INTPAG_CASCBIAS, cascbias);
  19850. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19851. INTPAG_BOOST_TUNE,
  19852. pag_boost_tune);
  19853. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19854. PGAG_BOOST_TUNE,
  19855. pgag_boost_tune);
  19856. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19857. PADG_BOOST_TUNE,
  19858. padg_boost_tune);
  19859. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19860. MIXG_BOOST_TUNE,
  19861. mixg_boost_tune);
  19862. } else {
  19863. bias = (pi->bw == WL_CHANSPEC_BW_40) ?
  19864. 0x40 : 0x20;
  19865. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19866. INTPAG_IMAIN_STAT, bias);
  19867. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19868. INTPAG_IAUX_STAT, bias);
  19869. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19870. INTPAG_CASCBIAS, 0x30);
  19871. }
  19872. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, PA_SPARE1,
  19873. 0xee);
  19874. }
  19875. }
  19876. if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6)
  19877. && CHSPEC_IS5G(pi->radio_chanspec)) {
  19878. u16 paa_boost_tune;
  19879. u16 pada_boost_tune;
  19880. u16 pgaa_boost_tune;
  19881. u16 mixa_boost_tune;
  19882. u16 freq, pabias, cascbias;
  19883. uint core;
  19884. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  19885. if (freq < 5150) {
  19886. paa_boost_tune = 0xa;
  19887. pada_boost_tune = 0x77;
  19888. pgaa_boost_tune = 0xf;
  19889. mixa_boost_tune = 0xf;
  19890. } else if (freq < 5340) {
  19891. paa_boost_tune = 0x8;
  19892. pada_boost_tune = 0x77;
  19893. pgaa_boost_tune = 0xfb;
  19894. mixa_boost_tune = 0xf;
  19895. } else if (freq < 5650) {
  19896. paa_boost_tune = 0x0;
  19897. pada_boost_tune = 0x77;
  19898. pgaa_boost_tune = 0xb;
  19899. mixa_boost_tune = 0xf;
  19900. } else {
  19901. paa_boost_tune = 0x0;
  19902. pada_boost_tune = 0x77;
  19903. if (freq != 5825)
  19904. pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
  19905. else
  19906. pgaa_boost_tune = 6;
  19907. mixa_boost_tune = 0xf;
  19908. }
  19909. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19910. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19911. INTPAA_BOOST_TUNE, paa_boost_tune);
  19912. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19913. PADA_BOOST_TUNE, pada_boost_tune);
  19914. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19915. PGAA_BOOST_TUNE, pgaa_boost_tune);
  19916. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19917. MIXA_BOOST_TUNE, mixa_boost_tune);
  19918. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19919. TXSPARE1, 0x30);
  19920. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19921. PA_SPARE2, 0xee);
  19922. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19923. PADA_CASCBIAS, 0x3);
  19924. cascbias = 0x30;
  19925. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  19926. (pi->sh->chip == BCM43225_CHIP_ID)) {
  19927. if (pi->sh->chippkg == BCM43224_FAB_SMIC)
  19928. cascbias = 0x35;
  19929. }
  19930. pabias = (pi->phy_pabias == 0) ? 0x30 : pi->phy_pabias;
  19931. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19932. INTPAA_IAUX_STAT, pabias);
  19933. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19934. INTPAA_IMAIN_STAT, pabias);
  19935. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19936. INTPAA_CASCBIAS, cascbias);
  19937. }
  19938. }
  19939. udelay(50);
  19940. wlc_phy_radio205x_vcocal_nphy(pi);
  19941. }
  19942. void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi)
  19943. {
  19944. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19945. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x0);
  19946. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04, 0x0);
  19947. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04,
  19948. (1 << 2));
  19949. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x01);
  19950. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19951. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL12, 0x0);
  19952. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19953. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x18);
  19954. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19955. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x39);
  19956. }
  19957. udelay(300);
  19958. }
  19959. static void
  19960. wlc_phy_chanspec_radio2057_setup(
  19961. struct brcms_phy *pi,
  19962. const struct chan_info_nphy_radio2057 *ci,
  19963. const struct chan_info_nphy_radio2057_rev5 *
  19964. ci2)
  19965. {
  19966. int coreNum;
  19967. u16 txmix2g_tune_boost_pu = 0;
  19968. u16 pad2g_tune_pus = 0;
  19969. if (pi->pubpi.radiorev == 5) {
  19970. write_radio_reg(pi,
  19971. RADIO_2057_VCOCAL_COUNTVAL0,
  19972. ci2->RF_vcocal_countval0);
  19973. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19974. ci2->RF_vcocal_countval1);
  19975. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19976. ci2->RF_rfpll_refmaster_sparextalsize);
  19977. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19978. ci2->RF_rfpll_loopfilter_r1);
  19979. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19980. ci2->RF_rfpll_loopfilter_c2);
  19981. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19982. ci2->RF_rfpll_loopfilter_c1);
  19983. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC,
  19984. ci2->RF_cp_kpd_idac);
  19985. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci2->RF_rfpll_mmd0);
  19986. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci2->RF_rfpll_mmd1);
  19987. write_radio_reg(pi,
  19988. RADIO_2057_VCOBUF_TUNE, ci2->RF_vcobuf_tune);
  19989. write_radio_reg(pi,
  19990. RADIO_2057_LOGEN_MX2G_TUNE,
  19991. ci2->RF_logen_mx2g_tune);
  19992. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19993. ci2->RF_logen_indbuf2g_tune);
  19994. write_radio_reg(pi,
  19995. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19996. ci2->RF_txmix2g_tune_boost_pu_core0);
  19997. write_radio_reg(pi,
  19998. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19999. ci2->RF_pad2g_tune_pus_core0);
  20000. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  20001. ci2->RF_lna2g_tune_core0);
  20002. write_radio_reg(pi,
  20003. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  20004. ci2->RF_txmix2g_tune_boost_pu_core1);
  20005. write_radio_reg(pi,
  20006. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  20007. ci2->RF_pad2g_tune_pus_core1);
  20008. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  20009. ci2->RF_lna2g_tune_core1);
  20010. } else {
  20011. write_radio_reg(pi,
  20012. RADIO_2057_VCOCAL_COUNTVAL0,
  20013. ci->RF_vcocal_countval0);
  20014. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  20015. ci->RF_vcocal_countval1);
  20016. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  20017. ci->RF_rfpll_refmaster_sparextalsize);
  20018. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20019. ci->RF_rfpll_loopfilter_r1);
  20020. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20021. ci->RF_rfpll_loopfilter_c2);
  20022. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20023. ci->RF_rfpll_loopfilter_c1);
  20024. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, ci->RF_cp_kpd_idac);
  20025. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci->RF_rfpll_mmd0);
  20026. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci->RF_rfpll_mmd1);
  20027. write_radio_reg(pi, RADIO_2057_VCOBUF_TUNE, ci->RF_vcobuf_tune);
  20028. write_radio_reg(pi,
  20029. RADIO_2057_LOGEN_MX2G_TUNE,
  20030. ci->RF_logen_mx2g_tune);
  20031. write_radio_reg(pi, RADIO_2057_LOGEN_MX5G_TUNE,
  20032. ci->RF_logen_mx5g_tune);
  20033. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  20034. ci->RF_logen_indbuf2g_tune);
  20035. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF5G_TUNE,
  20036. ci->RF_logen_indbuf5g_tune);
  20037. write_radio_reg(pi,
  20038. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  20039. ci->RF_txmix2g_tune_boost_pu_core0);
  20040. write_radio_reg(pi,
  20041. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  20042. ci->RF_pad2g_tune_pus_core0);
  20043. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE0,
  20044. ci->RF_pga_boost_tune_core0);
  20045. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE0,
  20046. ci->RF_txmix5g_boost_tune_core0);
  20047. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE0,
  20048. ci->RF_pad5g_tune_misc_pus_core0);
  20049. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  20050. ci->RF_lna2g_tune_core0);
  20051. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE0,
  20052. ci->RF_lna5g_tune_core0);
  20053. write_radio_reg(pi,
  20054. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  20055. ci->RF_txmix2g_tune_boost_pu_core1);
  20056. write_radio_reg(pi,
  20057. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  20058. ci->RF_pad2g_tune_pus_core1);
  20059. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE1,
  20060. ci->RF_pga_boost_tune_core1);
  20061. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE1,
  20062. ci->RF_txmix5g_boost_tune_core1);
  20063. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE1,
  20064. ci->RF_pad5g_tune_misc_pus_core1);
  20065. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  20066. ci->RF_lna2g_tune_core1);
  20067. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE1,
  20068. ci->RF_lna5g_tune_core1);
  20069. }
  20070. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  20071. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20072. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20073. 0x3f);
  20074. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20075. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20076. 0x8);
  20077. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20078. 0x8);
  20079. } else {
  20080. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20081. 0x1f);
  20082. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20083. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20084. 0x8);
  20085. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20086. 0x8);
  20087. }
  20088. } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) ||
  20089. (pi->pubpi.radiorev == 8)) {
  20090. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20091. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20092. 0x1b);
  20093. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x30);
  20094. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20095. 0xa);
  20096. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20097. 0xa);
  20098. } else {
  20099. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  20100. 0x1f);
  20101. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  20102. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  20103. 0x8);
  20104. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  20105. 0x8);
  20106. }
  20107. }
  20108. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  20109. if (PHY_IPA(pi)) {
  20110. if (pi->pubpi.radiorev == 3)
  20111. txmix2g_tune_boost_pu = 0x6b;
  20112. if (pi->pubpi.radiorev == 5)
  20113. pad2g_tune_pus = 0x73;
  20114. } else {
  20115. if (pi->pubpi.radiorev != 5) {
  20116. pad2g_tune_pus = 0x3;
  20117. txmix2g_tune_boost_pu = 0x61;
  20118. }
  20119. }
  20120. for (coreNum = 0; coreNum <= 1; coreNum++) {
  20121. if (txmix2g_tune_boost_pu != 0)
  20122. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20123. TXMIX2G_TUNE_BOOST_PU,
  20124. txmix2g_tune_boost_pu);
  20125. if (pad2g_tune_pus != 0)
  20126. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  20127. PAD2G_TUNE_PUS,
  20128. pad2g_tune_pus);
  20129. }
  20130. }
  20131. udelay(50);
  20132. wlc_phy_radio205x_vcocal_nphy(pi);
  20133. }
  20134. static void
  20135. wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec,
  20136. const struct nphy_sfo_cfg *ci)
  20137. {
  20138. u16 val;
  20139. val = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  20140. if (CHSPEC_IS5G(chanspec) && !val) {
  20141. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20142. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20143. (val | MAC_PHY_FORCE_CLK));
  20144. or_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20145. (BBCFG_RESETCCA | BBCFG_RESETRX));
  20146. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20147. or_phy_reg(pi, 0x09, NPHY_BandControl_currentBand);
  20148. } else if (!CHSPEC_IS5G(chanspec) && val) {
  20149. and_phy_reg(pi, 0x09, ~NPHY_BandControl_currentBand);
  20150. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20151. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20152. (val | MAC_PHY_FORCE_CLK));
  20153. and_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20154. (u16) (~(BBCFG_RESETCCA | BBCFG_RESETRX)));
  20155. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20156. }
  20157. write_phy_reg(pi, 0x1ce, ci->PHY_BW1a);
  20158. write_phy_reg(pi, 0x1cf, ci->PHY_BW2);
  20159. write_phy_reg(pi, 0x1d0, ci->PHY_BW3);
  20160. write_phy_reg(pi, 0x1d1, ci->PHY_BW4);
  20161. write_phy_reg(pi, 0x1d2, ci->PHY_BW5);
  20162. write_phy_reg(pi, 0x1d3, ci->PHY_BW6);
  20163. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  20164. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en, 0);
  20165. or_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, 0x800);
  20166. } else {
  20167. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en,
  20168. NPHY_ClassifierCtrl_ofdm_en);
  20169. if (CHSPEC_IS2G(chanspec))
  20170. and_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, ~0x840);
  20171. }
  20172. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF)
  20173. wlc_phy_txpwr_fixpower_nphy(pi);
  20174. if (NREV_LT(pi->pubpi.phy_rev, 3))
  20175. wlc_phy_adjust_lnagaintbl_nphy(pi);
  20176. wlc_phy_txlpfbw_nphy(pi);
  20177. if (NREV_GE(pi->pubpi.phy_rev, 3)
  20178. && (pi->phy_spuravoid != SPURAVOID_DISABLE)) {
  20179. u8 spuravoid = 0;
  20180. val = CHSPEC_CHANNEL(chanspec);
  20181. if (!CHSPEC_IS40(pi->radio_chanspec)) {
  20182. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20183. if ((val == 13) || (val == 14) || (val == 153))
  20184. spuravoid = 1;
  20185. } else if (((val >= 5) && (val <= 8)) || (val == 13)
  20186. || (val == 14)) {
  20187. spuravoid = 1;
  20188. }
  20189. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20190. if (val == 54)
  20191. spuravoid = 1;
  20192. } else {
  20193. if (pi->nphy_aband_spurwar_en &&
  20194. ((val == 38) || (val == 102)
  20195. || (val == 118)))
  20196. spuravoid = 1;
  20197. }
  20198. if (pi->phy_spuravoid == SPURAVOID_FORCEON)
  20199. spuravoid = 1;
  20200. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, false);
  20201. si_pmu_spuravoid(pi->sh->sih, spuravoid);
  20202. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, true);
  20203. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  20204. (pi->sh->chip == BCM43225_CHIP_ID)) {
  20205. if (spuravoid == 1) {
  20206. bcma_write16(pi->d11core,
  20207. D11REGOFFS(tsf_clk_frac_l),
  20208. 0x5341);
  20209. bcma_write16(pi->d11core,
  20210. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20211. } else {
  20212. bcma_write16(pi->d11core,
  20213. D11REGOFFS(tsf_clk_frac_l),
  20214. 0x8889);
  20215. bcma_write16(pi->d11core,
  20216. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20217. }
  20218. }
  20219. wlapi_bmac_core_phypll_reset(pi->sh->physhim);
  20220. mod_phy_reg(pi, 0x01, (0x1 << 15),
  20221. ((spuravoid > 0) ? (0x1 << 15) : 0));
  20222. wlc_phy_resetcca_nphy(pi);
  20223. pi->phy_isspuravoid = (spuravoid > 0);
  20224. }
  20225. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20226. write_phy_reg(pi, 0x17e, 0x3830);
  20227. wlc_phy_spurwar_nphy(pi);
  20228. }
  20229. void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec)
  20230. {
  20231. int freq;
  20232. const struct chan_info_nphy_radio2057 *t0 = NULL;
  20233. const struct chan_info_nphy_radio205x *t1 = NULL;
  20234. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  20235. const struct chan_info_nphy_2055 *t3 = NULL;
  20236. if (!wlc_phy_chan2freq_nphy
  20237. (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
  20238. return;
  20239. wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
  20240. if (CHSPEC_BW(chanspec) != pi->bw)
  20241. wlapi_bmac_bw_set(pi->sh->physhim, CHSPEC_BW(chanspec));
  20242. if (CHSPEC_IS40(chanspec)) {
  20243. if (CHSPEC_SB_UPPER(chanspec)) {
  20244. or_phy_reg(pi, 0xa0, BPHY_BAND_SEL_UP20);
  20245. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20246. or_phy_reg(pi, 0x310, PRIM_SEL_UP20);
  20247. } else {
  20248. and_phy_reg(pi, 0xa0, ~BPHY_BAND_SEL_UP20);
  20249. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20250. and_phy_reg(pi, 0x310,
  20251. (~PRIM_SEL_UP20 & 0xffff));
  20252. }
  20253. }
  20254. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20255. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20256. if ((pi->pubpi.radiorev <= 4)
  20257. || (pi->pubpi.radiorev == 6)) {
  20258. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE0,
  20259. 0x2,
  20260. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20261. : 0));
  20262. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE1,
  20263. 0x2,
  20264. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20265. : 0));
  20266. }
  20267. wlc_phy_chanspec_radio2057_setup(pi, t0, t2);
  20268. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20269. (pi->pubpi.radiorev == 5) ?
  20270. (const struct nphy_sfo_cfg *)&(t2->PHY_BW1a) :
  20271. (const struct nphy_sfo_cfg *)&(t0->PHY_BW1a));
  20272. } else {
  20273. mod_radio_reg(pi,
  20274. RADIO_2056_SYN_COM_CTRL | RADIO_2056_SYN,
  20275. 0x4,
  20276. (CHSPEC_IS5G(chanspec) ? (0x1 << 2) : 0));
  20277. wlc_phy_chanspec_radio2056_setup(pi, t1);
  20278. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20279. (const struct nphy_sfo_cfg *) &(t1->PHY_BW1a));
  20280. }
  20281. } else {
  20282. mod_radio_reg(pi, RADIO_2055_MASTER_CNTRL1, 0x70,
  20283. (CHSPEC_IS5G(chanspec) ? (0x02 << 4)
  20284. : (0x05 << 4)));
  20285. wlc_phy_chanspec_radio2055_setup(pi, t3);
  20286. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20287. (const struct nphy_sfo_cfg *)
  20288. &(t3->PHY_BW1a));
  20289. }
  20290. }
  20291. void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
  20292. {
  20293. struct brcms_phy *pi = (struct brcms_phy *) ppi;
  20294. u16 mask = 0xfc00;
  20295. u32 mc = 0;
  20296. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20297. return;
  20298. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20299. u16 v0 = 0x211, v1 = 0x222, v2 = 0x144, v3 = 0x188;
  20300. if (lut_init == false)
  20301. return;
  20302. if (pi->srom_fem2g.antswctrllut == 0) {
  20303. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20304. 1, 0x02, 16, &v0);
  20305. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20306. 1, 0x03, 16, &v1);
  20307. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20308. 1, 0x08, 16, &v2);
  20309. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20310. 1, 0x0C, 16, &v3);
  20311. }
  20312. if (pi->srom_fem5g.antswctrllut == 0) {
  20313. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20314. 1, 0x12, 16, &v0);
  20315. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20316. 1, 0x13, 16, &v1);
  20317. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20318. 1, 0x18, 16, &v2);
  20319. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20320. 1, 0x1C, 16, &v3);
  20321. }
  20322. } else {
  20323. write_phy_reg(pi, 0xc8, 0x0);
  20324. write_phy_reg(pi, 0xc9, 0x0);
  20325. ai_gpiocontrol(pi->sh->sih, mask, mask, GPIO_DRV_PRIORITY);
  20326. mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  20327. mc &= ~MCTL_GPOUT_SEL_MASK;
  20328. bcma_write32(pi->d11core, D11REGOFFS(maccontrol), mc);
  20329. bcma_set16(pi->d11core, D11REGOFFS(psm_gpio_oe), mask);
  20330. bcma_mask16(pi->d11core, D11REGOFFS(psm_gpio_out), ~mask);
  20331. if (lut_init) {
  20332. write_phy_reg(pi, 0xf8, 0x02d8);
  20333. write_phy_reg(pi, 0xf9, 0x0301);
  20334. write_phy_reg(pi, 0xfa, 0x02d8);
  20335. write_phy_reg(pi, 0xfb, 0x0301);
  20336. }
  20337. }
  20338. }
  20339. u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val)
  20340. {
  20341. u16 curr_ctl, new_ctl;
  20342. bool suspended = false;
  20343. if (D11REV_IS(pi->sh->corerev, 16)) {
  20344. suspended = (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  20345. MCTL_EN_MAC) ? false : true;
  20346. if (!suspended)
  20347. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  20348. }
  20349. curr_ctl = read_phy_reg(pi, 0xb0) & (0x7 << 0);
  20350. new_ctl = (curr_ctl & (~mask)) | (val & mask);
  20351. mod_phy_reg(pi, 0xb0, (0x7 << 0), new_ctl);
  20352. if (D11REV_IS(pi->sh->corerev, 16) && !suspended)
  20353. wlapi_enable_mac(pi->sh->physhim);
  20354. return new_ctl;
  20355. }
  20356. void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd)
  20357. {
  20358. u16 trigger_mask, status_mask;
  20359. u16 orig_RfseqCoreActv;
  20360. switch (cmd) {
  20361. case NPHY_RFSEQ_RX2TX:
  20362. trigger_mask = NPHY_RfseqTrigger_rx2tx;
  20363. status_mask = NPHY_RfseqStatus_rx2tx;
  20364. break;
  20365. case NPHY_RFSEQ_TX2RX:
  20366. trigger_mask = NPHY_RfseqTrigger_tx2rx;
  20367. status_mask = NPHY_RfseqStatus_tx2rx;
  20368. break;
  20369. case NPHY_RFSEQ_RESET2RX:
  20370. trigger_mask = NPHY_RfseqTrigger_reset2rx;
  20371. status_mask = NPHY_RfseqStatus_reset2rx;
  20372. break;
  20373. case NPHY_RFSEQ_UPDATEGAINH:
  20374. trigger_mask = NPHY_RfseqTrigger_updategainh;
  20375. status_mask = NPHY_RfseqStatus_updategainh;
  20376. break;
  20377. case NPHY_RFSEQ_UPDATEGAINL:
  20378. trigger_mask = NPHY_RfseqTrigger_updategainl;
  20379. status_mask = NPHY_RfseqStatus_updategainl;
  20380. break;
  20381. case NPHY_RFSEQ_UPDATEGAINU:
  20382. trigger_mask = NPHY_RfseqTrigger_updategainu;
  20383. status_mask = NPHY_RfseqStatus_updategainu;
  20384. break;
  20385. default:
  20386. return;
  20387. }
  20388. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  20389. or_phy_reg(pi, 0xa1,
  20390. (NPHY_RfseqMode_CoreActv_override |
  20391. NPHY_RfseqMode_Trigger_override));
  20392. or_phy_reg(pi, 0xa3, trigger_mask);
  20393. SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000);
  20394. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  20395. WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf");
  20396. }
  20397. static void
  20398. wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value,
  20399. u8 core_mask, u8 off)
  20400. {
  20401. u16 rfmxgain = 0, lpfgain = 0;
  20402. u16 tgain = 0;
  20403. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20404. switch (cmd) {
  20405. case NPHY_REV7_RfctrlOverride_cmd_rxrf_pu:
  20406. wlc_phy_rfctrl_override_nphy_rev7(
  20407. pi, (0x1 << 5),
  20408. value, core_mask, off,
  20409. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20410. wlc_phy_rfctrl_override_nphy_rev7(
  20411. pi, (0x1 << 4), value,
  20412. core_mask, off,
  20413. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20414. wlc_phy_rfctrl_override_nphy_rev7(
  20415. pi, (0x1 << 3), value,
  20416. core_mask, off,
  20417. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20418. break;
  20419. case NPHY_REV7_RfctrlOverride_cmd_rx_pu:
  20420. wlc_phy_rfctrl_override_nphy_rev7(
  20421. pi, (0x1 << 2),
  20422. value, core_mask, off,
  20423. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  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_ID1);
  20432. wlc_phy_rfctrl_override_nphy_rev7(
  20433. pi, (0x1 << 1), value,
  20434. core_mask, off,
  20435. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20436. wlc_phy_rfctrl_override_nphy_rev7(
  20437. pi, (0x1 << 11), 0,
  20438. core_mask, off,
  20439. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20440. break;
  20441. case NPHY_REV7_RfctrlOverride_cmd_tx_pu:
  20442. wlc_phy_rfctrl_override_nphy_rev7(
  20443. pi, (0x1 << 2),
  20444. value, core_mask, off,
  20445. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20446. wlc_phy_rfctrl_override_nphy_rev7(
  20447. pi, (0x1 << 1), value,
  20448. core_mask, off,
  20449. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20450. wlc_phy_rfctrl_override_nphy_rev7(
  20451. pi, (0x1 << 0), value,
  20452. core_mask, off,
  20453. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20454. wlc_phy_rfctrl_override_nphy_rev7(
  20455. pi, (0x1 << 2), value,
  20456. core_mask, off,
  20457. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20458. wlc_phy_rfctrl_override_nphy_rev7(
  20459. pi, (0x1 << 11), 1,
  20460. core_mask, off,
  20461. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20462. break;
  20463. case NPHY_REV7_RfctrlOverride_cmd_rxgain:
  20464. rfmxgain = value & 0x000ff;
  20465. lpfgain = value & 0x0ff00;
  20466. lpfgain = lpfgain >> 8;
  20467. wlc_phy_rfctrl_override_nphy_rev7(
  20468. pi, (0x1 << 11),
  20469. rfmxgain, core_mask,
  20470. off,
  20471. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20472. wlc_phy_rfctrl_override_nphy_rev7(
  20473. pi, (0x3 << 13),
  20474. lpfgain, core_mask,
  20475. off,
  20476. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20477. break;
  20478. case NPHY_REV7_RfctrlOverride_cmd_txgain:
  20479. tgain = value & 0x7fff;
  20480. lpfgain = value & 0x8000;
  20481. lpfgain = lpfgain >> 14;
  20482. wlc_phy_rfctrl_override_nphy_rev7(
  20483. pi, (0x1 << 12),
  20484. tgain, core_mask, off,
  20485. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20486. wlc_phy_rfctrl_override_nphy_rev7(
  20487. pi, (0x1 << 13),
  20488. lpfgain, core_mask,
  20489. off,
  20490. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20491. break;
  20492. }
  20493. }
  20494. }
  20495. static void
  20496. wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset,
  20497. u8 coresel, u8 rail, u8 rssi_type)
  20498. {
  20499. u16 valuetostuff;
  20500. offset = (offset > NPHY_RSSICAL_MAXREAD) ?
  20501. NPHY_RSSICAL_MAXREAD : offset;
  20502. offset = (offset < (-NPHY_RSSICAL_MAXREAD - 1)) ?
  20503. -NPHY_RSSICAL_MAXREAD - 1 : offset;
  20504. valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f);
  20505. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20506. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20507. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20508. write_phy_reg(pi, 0x1a6, valuetostuff);
  20509. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20510. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20511. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20512. write_phy_reg(pi, 0x1ac, valuetostuff);
  20513. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20514. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20515. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20516. write_phy_reg(pi, 0x1b2, valuetostuff);
  20517. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20518. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20519. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20520. write_phy_reg(pi, 0x1b8, valuetostuff);
  20521. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20522. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20523. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20524. write_phy_reg(pi, 0x1a4, valuetostuff);
  20525. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20526. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20527. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20528. write_phy_reg(pi, 0x1aa, valuetostuff);
  20529. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20530. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20531. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20532. write_phy_reg(pi, 0x1b0, valuetostuff);
  20533. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20534. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20535. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20536. write_phy_reg(pi, 0x1b6, valuetostuff);
  20537. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20538. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20539. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20540. write_phy_reg(pi, 0x1a5, valuetostuff);
  20541. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20542. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20543. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20544. write_phy_reg(pi, 0x1ab, valuetostuff);
  20545. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20546. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20547. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20548. write_phy_reg(pi, 0x1b1, valuetostuff);
  20549. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20550. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20551. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20552. write_phy_reg(pi, 0x1b7, valuetostuff);
  20553. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20554. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20555. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20556. write_phy_reg(pi, 0x1a7, valuetostuff);
  20557. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20558. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20559. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20560. write_phy_reg(pi, 0x1ad, valuetostuff);
  20561. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20562. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20563. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20564. write_phy_reg(pi, 0x1b3, valuetostuff);
  20565. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20566. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20567. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20568. write_phy_reg(pi, 0x1b9, valuetostuff);
  20569. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20570. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20571. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20572. write_phy_reg(pi, 0x1a8, valuetostuff);
  20573. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20574. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20575. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20576. write_phy_reg(pi, 0x1ae, valuetostuff);
  20577. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20578. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20579. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20580. write_phy_reg(pi, 0x1b4, valuetostuff);
  20581. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20582. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20583. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20584. write_phy_reg(pi, 0x1ba, valuetostuff);
  20585. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20586. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20587. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20588. write_phy_reg(pi, 0x1a9, valuetostuff);
  20589. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20590. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20591. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20592. write_phy_reg(pi, 0x1b5, valuetostuff);
  20593. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20594. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20595. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20596. write_phy_reg(pi, 0x1af, valuetostuff);
  20597. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20598. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20599. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20600. write_phy_reg(pi, 0x1bb, valuetostuff);
  20601. }
  20602. static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core)
  20603. {
  20604. if (PHY_IPA(pi)) {
  20605. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20606. write_radio_reg(pi,
  20607. ((core == PHY_CORE_0) ?
  20608. RADIO_2057_TX0_TX_SSI_MUX :
  20609. RADIO_2057_TX1_TX_SSI_MUX),
  20610. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20611. 0xc : 0xe));
  20612. else
  20613. write_radio_reg(pi,
  20614. RADIO_2056_TX_TX_SSI_MUX |
  20615. ((core == PHY_CORE_0) ?
  20616. RADIO_2056_TX0 : RADIO_2056_TX1),
  20617. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20618. 0xc : 0xe));
  20619. } else {
  20620. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20621. write_radio_reg(pi,
  20622. ((core == PHY_CORE_0) ?
  20623. RADIO_2057_TX0_TX_SSI_MUX :
  20624. RADIO_2057_TX1_TX_SSI_MUX),
  20625. 0x11);
  20626. if (pi->pubpi.radioid == BCM2057_ID)
  20627. write_radio_reg(pi,
  20628. RADIO_2057_IQTEST_SEL_PU, 0x1);
  20629. } else {
  20630. write_radio_reg(pi,
  20631. RADIO_2056_TX_TX_SSI_MUX |
  20632. ((core == PHY_CORE_0) ?
  20633. RADIO_2056_TX0 : RADIO_2056_TX1),
  20634. 0x11);
  20635. }
  20636. }
  20637. }
  20638. void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type)
  20639. {
  20640. u16 mask, val;
  20641. u16 afectrlovr_rssi_val, rfctrlcmd_rxen_val, rfctrlcmd_coresel_val,
  20642. startseq;
  20643. u16 rfctrlovr_rssi_val, rfctrlovr_rxen_val, rfctrlovr_coresel_val,
  20644. rfctrlovr_trigger_val;
  20645. u16 afectrlovr_rssi_mask, rfctrlcmd_mask, rfctrlovr_mask;
  20646. u16 rfctrlcmd_val, rfctrlovr_val;
  20647. u8 core;
  20648. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20649. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20650. mod_phy_reg(pi, 0x8f, (0x1 << 9), 0);
  20651. mod_phy_reg(pi, 0xa5, (0x1 << 9), 0);
  20652. mod_phy_reg(pi, 0xa6, (0x3 << 8), 0);
  20653. mod_phy_reg(pi, 0xa7, (0x3 << 8), 0);
  20654. mod_phy_reg(pi, 0xe5, (0x1 << 5), 0);
  20655. mod_phy_reg(pi, 0xe6, (0x1 << 5), 0);
  20656. mask = (0x1 << 2) |
  20657. (0x1 << 3) | (0x1 << 4) | (0x1 << 5);
  20658. mod_phy_reg(pi, 0xf9, mask, 0);
  20659. mod_phy_reg(pi, 0xfb, mask, 0);
  20660. } else {
  20661. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20662. if (core_code == RADIO_MIMO_CORESEL_CORE1
  20663. && core == PHY_CORE_1)
  20664. continue;
  20665. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  20666. && core == PHY_CORE_0)
  20667. continue;
  20668. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20669. 0x8f : 0xa5, (0x1 << 9), 1 << 9);
  20670. if (rssi_type == NPHY_RSSI_SEL_W1 ||
  20671. rssi_type == NPHY_RSSI_SEL_W2 ||
  20672. rssi_type == NPHY_RSSI_SEL_NB) {
  20673. mod_phy_reg(pi,
  20674. (core ==
  20675. PHY_CORE_0) ? 0xa6 : 0xa7,
  20676. (0x3 << 8), 0);
  20677. mask = (0x1 << 2) |
  20678. (0x1 << 3) |
  20679. (0x1 << 4) | (0x1 << 5);
  20680. mod_phy_reg(pi,
  20681. (core ==
  20682. PHY_CORE_0) ? 0xf9 : 0xfb,
  20683. mask, 0);
  20684. if (rssi_type == NPHY_RSSI_SEL_W1) {
  20685. if (CHSPEC_IS5G(
  20686. pi->radio_chanspec)) {
  20687. mask = (0x1 << 2);
  20688. val = 1 << 2;
  20689. } else {
  20690. mask = (0x1 << 3);
  20691. val = 1 << 3;
  20692. }
  20693. } else if (rssi_type ==
  20694. NPHY_RSSI_SEL_W2) {
  20695. mask = (0x1 << 4);
  20696. val = 1 << 4;
  20697. } else {
  20698. mask = (0x1 << 5);
  20699. val = 1 << 5;
  20700. }
  20701. mod_phy_reg(pi,
  20702. (core ==
  20703. PHY_CORE_0) ? 0xf9 : 0xfb,
  20704. mask, val);
  20705. mask = (0x1 << 5);
  20706. val = 1 << 5;
  20707. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20708. 0xe5 : 0xe6, mask, val);
  20709. } else {
  20710. if (rssi_type == NPHY_RSSI_SEL_TBD) {
  20711. mask = (0x3 << 8);
  20712. val = 1 << 8;
  20713. mod_phy_reg(pi,
  20714. (core ==
  20715. PHY_CORE_0) ? 0xa6
  20716. : 0xa7, mask, val);
  20717. mask = (0x3 << 10);
  20718. val = 1 << 10;
  20719. mod_phy_reg(pi,
  20720. (core ==
  20721. PHY_CORE_0) ? 0xa6
  20722. : 0xa7, mask, val);
  20723. } else if (rssi_type ==
  20724. NPHY_RSSI_SEL_IQ) {
  20725. mask = (0x3 << 8);
  20726. val = 2 << 8;
  20727. mod_phy_reg(pi,
  20728. (core ==
  20729. PHY_CORE_0) ? 0xa6
  20730. : 0xa7, mask, val);
  20731. mask = (0x3 << 10);
  20732. val = 2 << 10;
  20733. mod_phy_reg(pi,
  20734. (core ==
  20735. PHY_CORE_0) ? 0xa6
  20736. : 0xa7, mask, val);
  20737. } else {
  20738. mask = (0x3 << 8);
  20739. val = 3 << 8;
  20740. mod_phy_reg(pi,
  20741. (core ==
  20742. PHY_CORE_0) ? 0xa6
  20743. : 0xa7, mask, val);
  20744. mask = (0x3 << 10);
  20745. val = 3 << 10;
  20746. mod_phy_reg(pi,
  20747. (core ==
  20748. PHY_CORE_0) ? 0xa6
  20749. : 0xa7, mask, val);
  20750. brcms_phy_wr_tx_mux(pi, core);
  20751. afectrlovr_rssi_val = 1 << 9;
  20752. mod_phy_reg(pi,
  20753. (core ==
  20754. PHY_CORE_0) ? 0x8f
  20755. : 0xa5, (0x1 << 9),
  20756. afectrlovr_rssi_val);
  20757. }
  20758. }
  20759. }
  20760. }
  20761. } else {
  20762. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20763. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20764. (rssi_type == NPHY_RSSI_SEL_NB))
  20765. val = 0x0;
  20766. else if (rssi_type == NPHY_RSSI_SEL_TBD)
  20767. val = 0x1;
  20768. else if (rssi_type == NPHY_RSSI_SEL_IQ)
  20769. val = 0x2;
  20770. else
  20771. val = 0x3;
  20772. mask = ((0x3 << 12) | (0x3 << 14));
  20773. val = (val << 12) | (val << 14);
  20774. mod_phy_reg(pi, 0xa6, mask, val);
  20775. mod_phy_reg(pi, 0xa7, mask, val);
  20776. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20777. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20778. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20779. if (rssi_type == NPHY_RSSI_SEL_W1)
  20780. val = 0x1;
  20781. if (rssi_type == NPHY_RSSI_SEL_W2)
  20782. val = 0x2;
  20783. if (rssi_type == NPHY_RSSI_SEL_NB)
  20784. val = 0x3;
  20785. mask = (0x3 << 4);
  20786. val = (val << 4);
  20787. mod_phy_reg(pi, 0x7a, mask, val);
  20788. mod_phy_reg(pi, 0x7d, mask, val);
  20789. }
  20790. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20791. afectrlovr_rssi_val = 0;
  20792. rfctrlcmd_rxen_val = 0;
  20793. rfctrlcmd_coresel_val = 0;
  20794. rfctrlovr_rssi_val = 0;
  20795. rfctrlovr_rxen_val = 0;
  20796. rfctrlovr_coresel_val = 0;
  20797. rfctrlovr_trigger_val = 0;
  20798. startseq = 0;
  20799. } else {
  20800. afectrlovr_rssi_val = 1;
  20801. rfctrlcmd_rxen_val = 1;
  20802. rfctrlcmd_coresel_val = core_code;
  20803. rfctrlovr_rssi_val = 1;
  20804. rfctrlovr_rxen_val = 1;
  20805. rfctrlovr_coresel_val = 1;
  20806. rfctrlovr_trigger_val = 1;
  20807. startseq = 1;
  20808. }
  20809. afectrlovr_rssi_mask = ((0x1 << 12) | (0x1 << 13));
  20810. afectrlovr_rssi_val = (afectrlovr_rssi_val <<
  20811. 12) | (afectrlovr_rssi_val << 13);
  20812. mod_phy_reg(pi, 0xa5, afectrlovr_rssi_mask,
  20813. afectrlovr_rssi_val);
  20814. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20815. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20816. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20817. rfctrlcmd_mask = ((0x1 << 8) | (0x7 << 3));
  20818. rfctrlcmd_val = (rfctrlcmd_rxen_val << 8) |
  20819. (rfctrlcmd_coresel_val << 3);
  20820. rfctrlovr_mask = ((0x1 << 5) |
  20821. (0x1 << 12) |
  20822. (0x1 << 1) | (0x1 << 0));
  20823. rfctrlovr_val = (rfctrlovr_rssi_val <<
  20824. 5) |
  20825. (rfctrlovr_rxen_val << 12) |
  20826. (rfctrlovr_coresel_val << 1) |
  20827. (rfctrlovr_trigger_val << 0);
  20828. mod_phy_reg(pi, 0x78, rfctrlcmd_mask, rfctrlcmd_val);
  20829. mod_phy_reg(pi, 0xec, rfctrlovr_mask, rfctrlovr_val);
  20830. mod_phy_reg(pi, 0x78, (0x1 << 0), (startseq << 0));
  20831. udelay(20);
  20832. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  20833. }
  20834. }
  20835. }
  20836. int
  20837. wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf,
  20838. u8 nsamps)
  20839. {
  20840. s16 rssi0, rssi1;
  20841. u16 afectrlCore1_save = 0;
  20842. u16 afectrlCore2_save = 0;
  20843. u16 afectrlOverride1_save = 0;
  20844. u16 afectrlOverride2_save = 0;
  20845. u16 rfctrlOverrideAux0_save = 0;
  20846. u16 rfctrlOverrideAux1_save = 0;
  20847. u16 rfctrlMiscReg1_save = 0;
  20848. u16 rfctrlMiscReg2_save = 0;
  20849. u16 rfctrlcmd_save = 0;
  20850. u16 rfctrloverride_save = 0;
  20851. u16 rfctrlrssiothers1_save = 0;
  20852. u16 rfctrlrssiothers2_save = 0;
  20853. s8 tmp_buf[4];
  20854. u8 ctr = 0, samp = 0;
  20855. s32 rssi_out_val;
  20856. u16 gpiosel_orig;
  20857. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20858. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20859. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20860. rfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  20861. rfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  20862. afectrlOverride1_save = read_phy_reg(pi, 0x8f);
  20863. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20864. rfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  20865. rfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  20866. } else {
  20867. afectrlOverride1_save = read_phy_reg(pi, 0xa5);
  20868. rfctrlcmd_save = read_phy_reg(pi, 0x78);
  20869. rfctrloverride_save = read_phy_reg(pi, 0xec);
  20870. rfctrlrssiothers1_save = read_phy_reg(pi, 0x7a);
  20871. rfctrlrssiothers2_save = read_phy_reg(pi, 0x7d);
  20872. }
  20873. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  20874. gpiosel_orig = read_phy_reg(pi, 0xca);
  20875. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20876. write_phy_reg(pi, 0xca, 5);
  20877. for (ctr = 0; ctr < 4; ctr++)
  20878. rssi_buf[ctr] = 0;
  20879. for (samp = 0; samp < nsamps; samp++) {
  20880. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  20881. rssi0 = read_phy_reg(pi, 0x1c9);
  20882. rssi1 = read_phy_reg(pi, 0x1ca);
  20883. } else {
  20884. rssi0 = read_phy_reg(pi, 0x219);
  20885. rssi1 = read_phy_reg(pi, 0x21a);
  20886. }
  20887. ctr = 0;
  20888. tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2;
  20889. tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2;
  20890. tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2;
  20891. tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2;
  20892. for (ctr = 0; ctr < 4; ctr++)
  20893. rssi_buf[ctr] += tmp_buf[ctr];
  20894. }
  20895. rssi_out_val = rssi_buf[3] & 0xff;
  20896. rssi_out_val |= (rssi_buf[2] & 0xff) << 8;
  20897. rssi_out_val |= (rssi_buf[1] & 0xff) << 16;
  20898. rssi_out_val |= (rssi_buf[0] & 0xff) << 24;
  20899. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20900. write_phy_reg(pi, 0xca, gpiosel_orig);
  20901. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20902. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20903. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20904. write_phy_reg(pi, 0xf9, rfctrlMiscReg1_save);
  20905. write_phy_reg(pi, 0xfb, rfctrlMiscReg2_save);
  20906. write_phy_reg(pi, 0x8f, afectrlOverride1_save);
  20907. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20908. write_phy_reg(pi, 0xe5, rfctrlOverrideAux0_save);
  20909. write_phy_reg(pi, 0xe6, rfctrlOverrideAux1_save);
  20910. } else {
  20911. write_phy_reg(pi, 0xa5, afectrlOverride1_save);
  20912. write_phy_reg(pi, 0x78, rfctrlcmd_save);
  20913. write_phy_reg(pi, 0xec, rfctrloverride_save);
  20914. write_phy_reg(pi, 0x7a, rfctrlrssiothers1_save);
  20915. write_phy_reg(pi, 0x7d, rfctrlrssiothers2_save);
  20916. }
  20917. return rssi_out_val;
  20918. }
  20919. s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi)
  20920. {
  20921. u16 core1_txrf_iqcal1_save, core1_txrf_iqcal2_save;
  20922. u16 core2_txrf_iqcal1_save, core2_txrf_iqcal2_save;
  20923. u16 pwrdet_rxtx_core1_save;
  20924. u16 pwrdet_rxtx_core2_save;
  20925. u16 afectrlCore1_save;
  20926. u16 afectrlCore2_save;
  20927. u16 afectrlOverride_save;
  20928. u16 afectrlOverride2_save;
  20929. u16 pd_pll_ts_save;
  20930. u16 gpioSel_save;
  20931. s32 radio_temp[4];
  20932. s32 radio_temp2[4];
  20933. u16 syn_tempprocsense_save;
  20934. s16 offset = 0;
  20935. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20936. u16 auxADC_Vmid, auxADC_Av, auxADC_Vmid_save, auxADC_Av_save;
  20937. u16 auxADC_rssi_ctrlL_save, auxADC_rssi_ctrlH_save;
  20938. u16 auxADC_rssi_ctrlL, auxADC_rssi_ctrlH;
  20939. s32 auxADC_Vl;
  20940. u16 RfctrlOverride5_save, RfctrlOverride6_save;
  20941. u16 RfctrlMiscReg5_save, RfctrlMiscReg6_save;
  20942. u16 RSSIMultCoef0QPowerDet_save;
  20943. u16 tempsense_Rcal;
  20944. syn_tempprocsense_save =
  20945. read_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG);
  20946. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20947. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20948. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20949. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20950. RSSIMultCoef0QPowerDet_save = read_phy_reg(pi, 0x1ae);
  20951. RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  20952. RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  20953. RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  20954. RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  20955. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20956. &auxADC_Vmid_save);
  20957. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20958. &auxADC_Av_save);
  20959. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20960. &auxADC_rssi_ctrlL_save);
  20961. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20962. &auxADC_rssi_ctrlH_save);
  20963. write_phy_reg(pi, 0x1ae, 0x0);
  20964. auxADC_rssi_ctrlL = 0x0;
  20965. auxADC_rssi_ctrlH = 0x20;
  20966. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20967. &auxADC_rssi_ctrlL);
  20968. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20969. &auxADC_rssi_ctrlH);
  20970. tempsense_Rcal = syn_tempprocsense_save & 0x1c;
  20971. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20972. tempsense_Rcal | 0x01);
  20973. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  20974. 1, 0, 0,
  20975. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20976. mod_phy_reg(pi, 0xa6, (0x1 << 7), 0);
  20977. mod_phy_reg(pi, 0xa7, (0x1 << 7), 0);
  20978. mod_phy_reg(pi, 0x8f, (0x1 << 7), (0x1 << 7));
  20979. mod_phy_reg(pi, 0xa5, (0x1 << 7), (0x1 << 7));
  20980. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  20981. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  20982. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  20983. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  20984. udelay(5);
  20985. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  20986. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  20987. mod_phy_reg(pi, 0xa6, (0x1 << 3), 0);
  20988. mod_phy_reg(pi, 0xa7, (0x1 << 3), 0);
  20989. mod_phy_reg(pi, 0x8f, (0x1 << 3), (0x1 << 3));
  20990. mod_phy_reg(pi, 0xa5, (0x1 << 3), (0x1 << 3));
  20991. mod_phy_reg(pi, 0xa6, (0x1 << 6), 0);
  20992. mod_phy_reg(pi, 0xa7, (0x1 << 6), 0);
  20993. mod_phy_reg(pi, 0x8f, (0x1 << 6), (0x1 << 6));
  20994. mod_phy_reg(pi, 0xa5, (0x1 << 6), (0x1 << 6));
  20995. auxADC_Vmid = 0xA3;
  20996. auxADC_Av = 0x0;
  20997. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20998. &auxADC_Vmid);
  20999. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21000. &auxADC_Av);
  21001. udelay(3);
  21002. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21003. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21004. tempsense_Rcal | 0x03);
  21005. udelay(5);
  21006. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21007. auxADC_Av = 0x7;
  21008. if (radio_temp[1] + radio_temp2[1] < -30) {
  21009. auxADC_Vmid = 0x45;
  21010. auxADC_Vl = 263;
  21011. } else if (radio_temp[1] + radio_temp2[1] < -9) {
  21012. auxADC_Vmid = 0x200;
  21013. auxADC_Vl = 467;
  21014. } else if (radio_temp[1] + radio_temp2[1] < 11) {
  21015. auxADC_Vmid = 0x266;
  21016. auxADC_Vl = 634;
  21017. } else {
  21018. auxADC_Vmid = 0x2D5;
  21019. auxADC_Vl = 816;
  21020. }
  21021. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21022. &auxADC_Vmid);
  21023. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21024. &auxADC_Av);
  21025. udelay(3);
  21026. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21027. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21028. tempsense_Rcal | 0x01);
  21029. udelay(5);
  21030. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21031. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  21032. syn_tempprocsense_save);
  21033. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21034. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21035. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21036. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21037. write_phy_reg(pi, 0x1ae, RSSIMultCoef0QPowerDet_save);
  21038. write_phy_reg(pi, 0x346, RfctrlOverride5_save);
  21039. write_phy_reg(pi, 0x347, RfctrlOverride6_save);
  21040. write_phy_reg(pi, 0x344, RfctrlMiscReg5_save);
  21041. write_phy_reg(pi, 0x345, RfctrlMiscReg5_save);
  21042. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  21043. &auxADC_Vmid_save);
  21044. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  21045. &auxADC_Av_save);
  21046. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  21047. &auxADC_rssi_ctrlL_save);
  21048. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  21049. &auxADC_rssi_ctrlH_save);
  21050. radio_temp[0] = (179 * (radio_temp[1] + radio_temp2[1])
  21051. + 82 * (auxADC_Vl) - 28861 +
  21052. 128) / 256;
  21053. offset = (s16) pi->phy_tempsense_offset;
  21054. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21055. syn_tempprocsense_save =
  21056. read_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE);
  21057. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21058. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21059. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  21060. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21061. gpioSel_save = read_phy_reg(pi, 0xca);
  21062. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21063. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21064. if (NREV_LT(pi->pubpi.phy_rev, 7))
  21065. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x05);
  21066. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21067. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21068. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x01);
  21069. else
  21070. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  21071. radio_temp[0] =
  21072. (126 * (radio_temp[1] + radio_temp2[1]) + 3987) / 64;
  21073. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE,
  21074. syn_tempprocsense_save);
  21075. write_phy_reg(pi, 0xca, gpioSel_save);
  21076. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21077. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21078. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  21079. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  21080. offset = (s16) pi->phy_tempsense_offset;
  21081. } else {
  21082. pwrdet_rxtx_core1_save =
  21083. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  21084. pwrdet_rxtx_core2_save =
  21085. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  21086. core1_txrf_iqcal1_save =
  21087. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  21088. core1_txrf_iqcal2_save =
  21089. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  21090. core2_txrf_iqcal1_save =
  21091. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  21092. core2_txrf_iqcal2_save =
  21093. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  21094. pd_pll_ts_save = read_radio_reg(pi, RADIO_2055_PD_PLL_TS);
  21095. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  21096. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  21097. afectrlOverride_save = read_phy_reg(pi, 0xa5);
  21098. gpioSel_save = read_phy_reg(pi, 0xca);
  21099. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x01);
  21100. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x01);
  21101. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x08);
  21102. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x08);
  21103. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  21104. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  21105. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, 0x00);
  21106. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21107. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21108. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  21109. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21110. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  21111. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  21112. radio_temp[0] = (radio_temp[0] + radio_temp2[0]);
  21113. radio_temp[1] = (radio_temp[1] + radio_temp2[1]);
  21114. radio_temp[2] = (radio_temp[2] + radio_temp2[2]);
  21115. radio_temp[3] = (radio_temp[3] + radio_temp2[3]);
  21116. radio_temp[0] =
  21117. (radio_temp[0] + radio_temp[1] + radio_temp[2] +
  21118. radio_temp[3]);
  21119. radio_temp[0] =
  21120. (radio_temp[0] +
  21121. (8 * 32)) * (950 - 350) / 63 + (350 * 8);
  21122. radio_temp[0] = (radio_temp[0] - (8 * 420)) / 38;
  21123. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  21124. pwrdet_rxtx_core1_save);
  21125. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  21126. pwrdet_rxtx_core2_save);
  21127. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  21128. core1_txrf_iqcal1_save);
  21129. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  21130. core2_txrf_iqcal1_save);
  21131. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  21132. core1_txrf_iqcal2_save);
  21133. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  21134. core2_txrf_iqcal2_save);
  21135. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, pd_pll_ts_save);
  21136. write_phy_reg(pi, 0xca, gpioSel_save);
  21137. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  21138. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  21139. write_phy_reg(pi, 0xa5, afectrlOverride_save);
  21140. }
  21141. return (s16) radio_temp[0] + offset;
  21142. }
  21143. static void
  21144. wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf)
  21145. {
  21146. u8 core;
  21147. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21148. if (rssi_type == NPHY_RSSI_SEL_NB) {
  21149. if (core == PHY_CORE_0) {
  21150. mod_radio_reg(pi,
  21151. RADIO_2055_CORE1_B0_NBRSSI_VCM,
  21152. RADIO_2055_NBRSSI_VCM_I_MASK,
  21153. vcm_buf[2 *
  21154. core] <<
  21155. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21156. mod_radio_reg(pi,
  21157. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21158. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21159. vcm_buf[2 * core +
  21160. 1] <<
  21161. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21162. } else {
  21163. mod_radio_reg(pi,
  21164. RADIO_2055_CORE2_B0_NBRSSI_VCM,
  21165. RADIO_2055_NBRSSI_VCM_I_MASK,
  21166. vcm_buf[2 *
  21167. core] <<
  21168. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21169. mod_radio_reg(pi,
  21170. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21171. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21172. vcm_buf[2 * core +
  21173. 1] <<
  21174. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21175. }
  21176. } else {
  21177. if (core == PHY_CORE_0)
  21178. mod_radio_reg(pi,
  21179. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21180. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21181. vcm_buf[2 *
  21182. core] <<
  21183. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21184. else
  21185. mod_radio_reg(pi,
  21186. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21187. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21188. vcm_buf[2 *
  21189. core] <<
  21190. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21191. }
  21192. }
  21193. }
  21194. static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi)
  21195. {
  21196. u16 classif_state;
  21197. u16 clip_state[2];
  21198. u16 clip_off[] = { 0xffff, 0xffff };
  21199. s32 target_code;
  21200. u8 vcm, min_vcm;
  21201. u8 vcm_final = 0;
  21202. u8 result_idx;
  21203. s32 poll_results[8][4] = {
  21204. {0, 0, 0, 0},
  21205. {0, 0, 0, 0},
  21206. {0, 0, 0, 0},
  21207. {0, 0, 0, 0},
  21208. {0, 0, 0, 0},
  21209. {0, 0, 0, 0},
  21210. {0, 0, 0, 0},
  21211. {0, 0, 0, 0}
  21212. };
  21213. s32 poll_result_core[4] = { 0, 0, 0, 0 };
  21214. s32 min_d = NPHY_RSSICAL_MAXD, curr_d;
  21215. s32 fine_digital_offset[4];
  21216. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21217. s32 min_poll;
  21218. u8 vcm_level_max;
  21219. u8 core;
  21220. u8 wb_cnt;
  21221. u8 rssi_type;
  21222. u16 NPHY_Rfctrlintc1_save, NPHY_Rfctrlintc2_save;
  21223. u16 NPHY_AfectrlOverride1_save, NPHY_AfectrlOverride2_save;
  21224. u16 NPHY_AfectrlCore1_save, NPHY_AfectrlCore2_save;
  21225. u16 NPHY_RfctrlOverride0_save, NPHY_RfctrlOverride1_save;
  21226. u16 NPHY_RfctrlOverrideAux0_save, NPHY_RfctrlOverrideAux1_save;
  21227. u16 NPHY_RfctrlCmd_save;
  21228. u16 NPHY_RfctrlMiscReg1_save, NPHY_RfctrlMiscReg2_save;
  21229. u16 NPHY_RfctrlRSSIOTHERS1_save, NPHY_RfctrlRSSIOTHERS2_save;
  21230. u8 rxcore_state;
  21231. u16 NPHY_REV7_RfctrlOverride3_save, NPHY_REV7_RfctrlOverride4_save;
  21232. u16 NPHY_REV7_RfctrlOverride5_save, NPHY_REV7_RfctrlOverride6_save;
  21233. u16 NPHY_REV7_RfctrlMiscReg3_save, NPHY_REV7_RfctrlMiscReg4_save;
  21234. u16 NPHY_REV7_RfctrlMiscReg5_save, NPHY_REV7_RfctrlMiscReg6_save;
  21235. NPHY_REV7_RfctrlOverride3_save =
  21236. NPHY_REV7_RfctrlOverride4_save =
  21237. NPHY_REV7_RfctrlOverride5_save =
  21238. NPHY_REV7_RfctrlOverride6_save =
  21239. NPHY_REV7_RfctrlMiscReg3_save =
  21240. NPHY_REV7_RfctrlMiscReg4_save =
  21241. NPHY_REV7_RfctrlMiscReg5_save =
  21242. NPHY_REV7_RfctrlMiscReg6_save = 0;
  21243. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21244. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21245. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21246. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21247. NPHY_Rfctrlintc1_save = read_phy_reg(pi, 0x91);
  21248. NPHY_Rfctrlintc2_save = read_phy_reg(pi, 0x92);
  21249. NPHY_AfectrlOverride1_save = read_phy_reg(pi, 0x8f);
  21250. NPHY_AfectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21251. NPHY_AfectrlCore1_save = read_phy_reg(pi, 0xa6);
  21252. NPHY_AfectrlCore2_save = read_phy_reg(pi, 0xa7);
  21253. NPHY_RfctrlOverride0_save = read_phy_reg(pi, 0xe7);
  21254. NPHY_RfctrlOverride1_save = read_phy_reg(pi, 0xec);
  21255. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21256. NPHY_REV7_RfctrlOverride3_save = read_phy_reg(pi, 0x342);
  21257. NPHY_REV7_RfctrlOverride4_save = read_phy_reg(pi, 0x343);
  21258. NPHY_REV7_RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  21259. NPHY_REV7_RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  21260. }
  21261. NPHY_RfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  21262. NPHY_RfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  21263. NPHY_RfctrlCmd_save = read_phy_reg(pi, 0x78);
  21264. NPHY_RfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  21265. NPHY_RfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  21266. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21267. NPHY_REV7_RfctrlMiscReg3_save = read_phy_reg(pi, 0x340);
  21268. NPHY_REV7_RfctrlMiscReg4_save = read_phy_reg(pi, 0x341);
  21269. NPHY_REV7_RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  21270. NPHY_REV7_RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  21271. }
  21272. NPHY_RfctrlRSSIOTHERS1_save = read_phy_reg(pi, 0x7a);
  21273. NPHY_RfctrlRSSIOTHERS2_save = read_phy_reg(pi, 0x7d);
  21274. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_OFF, 0,
  21275. RADIO_MIMO_CORESEL_ALLRXTX);
  21276. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_TRSW, 1,
  21277. RADIO_MIMO_CORESEL_ALLRXTX);
  21278. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21279. wlc_phy_rfctrl_override_1tomany_nphy(
  21280. pi,
  21281. NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,
  21282. 0, 0, 0);
  21283. else
  21284. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0, 0);
  21285. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21286. wlc_phy_rfctrl_override_1tomany_nphy(
  21287. pi,
  21288. NPHY_REV7_RfctrlOverride_cmd_rx_pu,
  21289. 1, 0, 0);
  21290. else
  21291. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0, 0);
  21292. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21293. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  21294. 1, 0, 0,
  21295. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21296. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 6), 1, 0, 0,
  21297. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21298. } else {
  21299. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 7), 1, 0, 0);
  21300. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 6), 1, 0, 0);
  21301. }
  21302. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21303. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21304. wlc_phy_rfctrl_override_nphy_rev7(
  21305. pi, (0x1 << 5),
  21306. 0, 0, 0,
  21307. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21308. wlc_phy_rfctrl_override_nphy_rev7(
  21309. pi, (0x1 << 4), 1, 0,
  21310. 0,
  21311. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21312. } else {
  21313. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 0, 0, 0);
  21314. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 1, 0, 0);
  21315. }
  21316. } else {
  21317. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21318. wlc_phy_rfctrl_override_nphy_rev7(
  21319. pi, (0x1 << 4),
  21320. 0, 0, 0,
  21321. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21322. wlc_phy_rfctrl_override_nphy_rev7(
  21323. pi, (0x1 << 5), 1, 0,
  21324. 0,
  21325. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21326. } else {
  21327. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 0, 0, 0);
  21328. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 1, 0, 0);
  21329. }
  21330. }
  21331. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  21332. (struct brcms_phy_pub *) pi);
  21333. vcm_level_max = 8;
  21334. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21335. if ((rxcore_state & (1 << core)) == 0)
  21336. continue;
  21337. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21338. core ==
  21339. PHY_CORE_0 ?
  21340. RADIO_MIMO_CORESEL_CORE1 :
  21341. RADIO_MIMO_CORESEL_CORE2,
  21342. NPHY_RAIL_I, NPHY_RSSI_SEL_NB);
  21343. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21344. core ==
  21345. PHY_CORE_0 ?
  21346. RADIO_MIMO_CORESEL_CORE1 :
  21347. RADIO_MIMO_CORESEL_CORE2,
  21348. NPHY_RAIL_Q, NPHY_RSSI_SEL_NB);
  21349. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21350. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21351. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21352. RADIO_2057_NB_MASTER_CORE0 :
  21353. RADIO_2057_NB_MASTER_CORE1,
  21354. RADIO_2057_VCM_MASK, vcm);
  21355. else
  21356. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21357. ((core ==
  21358. PHY_CORE_0) ? RADIO_2056_RX0 :
  21359. RADIO_2056_RX1),
  21360. RADIO_2056_VCM_MASK,
  21361. vcm << RADIO_2056_RSSI_VCM_SHIFT);
  21362. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_NB,
  21363. &poll_results[vcm][0],
  21364. NPHY_RSSICAL_NPOLL);
  21365. }
  21366. for (result_idx = 0; result_idx < 4; result_idx++) {
  21367. if ((core == result_idx / 2) &&
  21368. (result_idx % 2 == 0)) {
  21369. min_d = NPHY_RSSICAL_MAXD;
  21370. min_vcm = 0;
  21371. min_poll =
  21372. NPHY_RSSICAL_MAXREAD *
  21373. NPHY_RSSICAL_NPOLL + 1;
  21374. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21375. curr_d =
  21376. poll_results[vcm][result_idx] *
  21377. poll_results[vcm][result_idx] +
  21378. poll_results[vcm][result_idx +
  21379. 1] *
  21380. poll_results[vcm][result_idx +
  21381. 1];
  21382. if (curr_d < min_d) {
  21383. min_d = curr_d;
  21384. min_vcm = vcm;
  21385. }
  21386. if (poll_results[vcm][result_idx] <
  21387. min_poll)
  21388. min_poll =
  21389. poll_results[vcm]
  21390. [result_idx];
  21391. }
  21392. vcm_final = min_vcm;
  21393. poll_results_min[result_idx] = min_poll;
  21394. }
  21395. }
  21396. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21397. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21398. RADIO_2057_NB_MASTER_CORE0 :
  21399. RADIO_2057_NB_MASTER_CORE1,
  21400. RADIO_2057_VCM_MASK, vcm_final);
  21401. else
  21402. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21403. ((core ==
  21404. PHY_CORE_0) ? RADIO_2056_RX0 :
  21405. RADIO_2056_RX1), RADIO_2056_VCM_MASK,
  21406. vcm_final << RADIO_2056_RSSI_VCM_SHIFT);
  21407. for (result_idx = 0; result_idx < 4; result_idx++) {
  21408. if (core == result_idx / 2) {
  21409. fine_digital_offset[result_idx] =
  21410. (NPHY_RSSICAL_NB_TARGET *
  21411. NPHY_RSSICAL_NPOLL) -
  21412. poll_results[vcm_final][result_idx];
  21413. if (fine_digital_offset[result_idx] < 0) {
  21414. fine_digital_offset[result_idx] =
  21415. abs(fine_digital_offset
  21416. [result_idx]);
  21417. fine_digital_offset[result_idx] +=
  21418. (NPHY_RSSICAL_NPOLL / 2);
  21419. fine_digital_offset[result_idx] /=
  21420. NPHY_RSSICAL_NPOLL;
  21421. fine_digital_offset[result_idx] =
  21422. -fine_digital_offset[
  21423. result_idx];
  21424. } else {
  21425. fine_digital_offset[result_idx] +=
  21426. (NPHY_RSSICAL_NPOLL / 2);
  21427. fine_digital_offset[result_idx] /=
  21428. NPHY_RSSICAL_NPOLL;
  21429. }
  21430. if (poll_results_min[result_idx] ==
  21431. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21432. fine_digital_offset[result_idx] =
  21433. (NPHY_RSSICAL_NB_TARGET -
  21434. NPHY_RSSICAL_MAXREAD - 1);
  21435. wlc_phy_scale_offset_rssi_nphy(
  21436. pi, 0x0,
  21437. (s8)
  21438. fine_digital_offset
  21439. [result_idx],
  21440. (result_idx / 2 == 0) ?
  21441. RADIO_MIMO_CORESEL_CORE1 :
  21442. RADIO_MIMO_CORESEL_CORE2,
  21443. (result_idx % 2 == 0) ?
  21444. NPHY_RAIL_I : NPHY_RAIL_Q,
  21445. NPHY_RSSI_SEL_NB);
  21446. }
  21447. }
  21448. }
  21449. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21450. if ((rxcore_state & (1 << core)) == 0)
  21451. continue;
  21452. for (wb_cnt = 0; wb_cnt < 2; wb_cnt++) {
  21453. if (wb_cnt == 0) {
  21454. rssi_type = NPHY_RSSI_SEL_W1;
  21455. target_code = NPHY_RSSICAL_W1_TARGET_REV3;
  21456. } else {
  21457. rssi_type = NPHY_RSSI_SEL_W2;
  21458. target_code = NPHY_RSSICAL_W2_TARGET_REV3;
  21459. }
  21460. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21461. core ==
  21462. PHY_CORE_0 ?
  21463. RADIO_MIMO_CORESEL_CORE1
  21464. :
  21465. RADIO_MIMO_CORESEL_CORE2,
  21466. NPHY_RAIL_I, rssi_type);
  21467. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21468. core ==
  21469. PHY_CORE_0 ?
  21470. RADIO_MIMO_CORESEL_CORE1
  21471. :
  21472. RADIO_MIMO_CORESEL_CORE2,
  21473. NPHY_RAIL_Q, rssi_type);
  21474. wlc_phy_poll_rssi_nphy(pi, rssi_type, poll_result_core,
  21475. NPHY_RSSICAL_NPOLL);
  21476. for (result_idx = 0; result_idx < 4; result_idx++) {
  21477. if (core == result_idx / 2) {
  21478. fine_digital_offset[result_idx] =
  21479. (target_code *
  21480. NPHY_RSSICAL_NPOLL) -
  21481. poll_result_core[result_idx];
  21482. if (fine_digital_offset[result_idx] <
  21483. 0) {
  21484. fine_digital_offset[result_idx]
  21485. = abs(
  21486. fine_digital_offset
  21487. [result_idx]);
  21488. fine_digital_offset[result_idx]
  21489. += (NPHY_RSSICAL_NPOLL
  21490. / 2);
  21491. fine_digital_offset[result_idx]
  21492. /= NPHY_RSSICAL_NPOLL;
  21493. fine_digital_offset[result_idx]
  21494. = -fine_digital_offset
  21495. [result_idx];
  21496. } else {
  21497. fine_digital_offset[result_idx]
  21498. += (NPHY_RSSICAL_NPOLL
  21499. / 2);
  21500. fine_digital_offset[result_idx]
  21501. /= NPHY_RSSICAL_NPOLL;
  21502. }
  21503. wlc_phy_scale_offset_rssi_nphy(
  21504. pi, 0x0,
  21505. (s8)
  21506. fine_digital_offset
  21507. [core *
  21508. 2],
  21509. (core == PHY_CORE_0) ?
  21510. RADIO_MIMO_CORESEL_CORE1 :
  21511. RADIO_MIMO_CORESEL_CORE2,
  21512. (result_idx % 2 == 0) ?
  21513. NPHY_RAIL_I :
  21514. NPHY_RAIL_Q,
  21515. rssi_type);
  21516. }
  21517. }
  21518. }
  21519. }
  21520. write_phy_reg(pi, 0x91, NPHY_Rfctrlintc1_save);
  21521. write_phy_reg(pi, 0x92, NPHY_Rfctrlintc2_save);
  21522. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  21523. mod_phy_reg(pi, 0xe7, (0x1 << 0), 1 << 0);
  21524. mod_phy_reg(pi, 0x78, (0x1 << 0), 1 << 0);
  21525. mod_phy_reg(pi, 0xe7, (0x1 << 0), 0);
  21526. mod_phy_reg(pi, 0xec, (0x1 << 0), 1 << 0);
  21527. mod_phy_reg(pi, 0x78, (0x1 << 1), 1 << 1);
  21528. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  21529. write_phy_reg(pi, 0x8f, NPHY_AfectrlOverride1_save);
  21530. write_phy_reg(pi, 0xa5, NPHY_AfectrlOverride2_save);
  21531. write_phy_reg(pi, 0xa6, NPHY_AfectrlCore1_save);
  21532. write_phy_reg(pi, 0xa7, NPHY_AfectrlCore2_save);
  21533. write_phy_reg(pi, 0xe7, NPHY_RfctrlOverride0_save);
  21534. write_phy_reg(pi, 0xec, NPHY_RfctrlOverride1_save);
  21535. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21536. write_phy_reg(pi, 0x342, NPHY_REV7_RfctrlOverride3_save);
  21537. write_phy_reg(pi, 0x343, NPHY_REV7_RfctrlOverride4_save);
  21538. write_phy_reg(pi, 0x346, NPHY_REV7_RfctrlOverride5_save);
  21539. write_phy_reg(pi, 0x347, NPHY_REV7_RfctrlOverride6_save);
  21540. }
  21541. write_phy_reg(pi, 0xe5, NPHY_RfctrlOverrideAux0_save);
  21542. write_phy_reg(pi, 0xe6, NPHY_RfctrlOverrideAux1_save);
  21543. write_phy_reg(pi, 0x78, NPHY_RfctrlCmd_save);
  21544. write_phy_reg(pi, 0xf9, NPHY_RfctrlMiscReg1_save);
  21545. write_phy_reg(pi, 0xfb, NPHY_RfctrlMiscReg2_save);
  21546. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21547. write_phy_reg(pi, 0x340, NPHY_REV7_RfctrlMiscReg3_save);
  21548. write_phy_reg(pi, 0x341, NPHY_REV7_RfctrlMiscReg4_save);
  21549. write_phy_reg(pi, 0x344, NPHY_REV7_RfctrlMiscReg5_save);
  21550. write_phy_reg(pi, 0x345, NPHY_REV7_RfctrlMiscReg6_save);
  21551. }
  21552. write_phy_reg(pi, 0x7a, NPHY_RfctrlRSSIOTHERS1_save);
  21553. write_phy_reg(pi, 0x7d, NPHY_RfctrlRSSIOTHERS2_save);
  21554. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  21555. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21556. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21557. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21558. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21559. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21560. } else {
  21561. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21562. read_radio_reg(pi,
  21563. RADIO_2056_RX_RSSI_MISC |
  21564. RADIO_2056_RX0);
  21565. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21566. read_radio_reg(pi,
  21567. RADIO_2056_RX_RSSI_MISC |
  21568. RADIO_2056_RX1);
  21569. }
  21570. pi->rssical_cache.rssical_phyregs_2G[0] =
  21571. read_phy_reg(pi, 0x1a6);
  21572. pi->rssical_cache.rssical_phyregs_2G[1] =
  21573. read_phy_reg(pi, 0x1ac);
  21574. pi->rssical_cache.rssical_phyregs_2G[2] =
  21575. read_phy_reg(pi, 0x1b2);
  21576. pi->rssical_cache.rssical_phyregs_2G[3] =
  21577. read_phy_reg(pi, 0x1b8);
  21578. pi->rssical_cache.rssical_phyregs_2G[4] =
  21579. read_phy_reg(pi, 0x1a4);
  21580. pi->rssical_cache.rssical_phyregs_2G[5] =
  21581. read_phy_reg(pi, 0x1aa);
  21582. pi->rssical_cache.rssical_phyregs_2G[6] =
  21583. read_phy_reg(pi, 0x1b0);
  21584. pi->rssical_cache.rssical_phyregs_2G[7] =
  21585. read_phy_reg(pi, 0x1b6);
  21586. pi->rssical_cache.rssical_phyregs_2G[8] =
  21587. read_phy_reg(pi, 0x1a5);
  21588. pi->rssical_cache.rssical_phyregs_2G[9] =
  21589. read_phy_reg(pi, 0x1ab);
  21590. pi->rssical_cache.rssical_phyregs_2G[10] =
  21591. read_phy_reg(pi, 0x1b1);
  21592. pi->rssical_cache.rssical_phyregs_2G[11] =
  21593. read_phy_reg(pi, 0x1b7);
  21594. pi->nphy_rssical_chanspec_2G = pi->radio_chanspec;
  21595. } else {
  21596. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21597. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21598. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21599. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21600. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21601. } else {
  21602. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21603. read_radio_reg(pi,
  21604. RADIO_2056_RX_RSSI_MISC |
  21605. RADIO_2056_RX0);
  21606. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21607. read_radio_reg(pi,
  21608. RADIO_2056_RX_RSSI_MISC |
  21609. RADIO_2056_RX1);
  21610. }
  21611. pi->rssical_cache.rssical_phyregs_5G[0] =
  21612. read_phy_reg(pi, 0x1a6);
  21613. pi->rssical_cache.rssical_phyregs_5G[1] =
  21614. read_phy_reg(pi, 0x1ac);
  21615. pi->rssical_cache.rssical_phyregs_5G[2] =
  21616. read_phy_reg(pi, 0x1b2);
  21617. pi->rssical_cache.rssical_phyregs_5G[3] =
  21618. read_phy_reg(pi, 0x1b8);
  21619. pi->rssical_cache.rssical_phyregs_5G[4] =
  21620. read_phy_reg(pi, 0x1a4);
  21621. pi->rssical_cache.rssical_phyregs_5G[5] =
  21622. read_phy_reg(pi, 0x1aa);
  21623. pi->rssical_cache.rssical_phyregs_5G[6] =
  21624. read_phy_reg(pi, 0x1b0);
  21625. pi->rssical_cache.rssical_phyregs_5G[7] =
  21626. read_phy_reg(pi, 0x1b6);
  21627. pi->rssical_cache.rssical_phyregs_5G[8] =
  21628. read_phy_reg(pi, 0x1a5);
  21629. pi->rssical_cache.rssical_phyregs_5G[9] =
  21630. read_phy_reg(pi, 0x1ab);
  21631. pi->rssical_cache.rssical_phyregs_5G[10] =
  21632. read_phy_reg(pi, 0x1b1);
  21633. pi->rssical_cache.rssical_phyregs_5G[11] =
  21634. read_phy_reg(pi, 0x1b7);
  21635. pi->nphy_rssical_chanspec_5G = pi->radio_chanspec;
  21636. }
  21637. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21638. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21639. }
  21640. static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
  21641. {
  21642. s32 target_code;
  21643. u16 classif_state;
  21644. u16 clip_state[2];
  21645. u16 rssi_ctrl_state[2], pd_state[2];
  21646. u16 rfctrlintc_state[2], rfpdcorerxtx_state[2];
  21647. u16 rfctrlintc_override_val;
  21648. u16 clip_off[] = { 0xffff, 0xffff };
  21649. u16 rf_pd_val, pd_mask, rssi_ctrl_mask;
  21650. u8 vcm, min_vcm, vcm_tmp[4];
  21651. u8 vcm_final[4] = { 0, 0, 0, 0 };
  21652. u8 result_idx, ctr;
  21653. s32 poll_results[4][4] = {
  21654. {0, 0, 0, 0},
  21655. {0, 0, 0, 0},
  21656. {0, 0, 0, 0},
  21657. {0, 0, 0, 0}
  21658. };
  21659. s32 poll_miniq[4][2] = {
  21660. {0, 0},
  21661. {0, 0},
  21662. {0, 0},
  21663. {0, 0}
  21664. };
  21665. s32 min_d, curr_d;
  21666. s32 fine_digital_offset[4];
  21667. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21668. s32 min_poll;
  21669. switch (rssi_type) {
  21670. case NPHY_RSSI_SEL_NB:
  21671. target_code = NPHY_RSSICAL_NB_TARGET;
  21672. break;
  21673. case NPHY_RSSI_SEL_W1:
  21674. target_code = NPHY_RSSICAL_W1_TARGET;
  21675. break;
  21676. case NPHY_RSSI_SEL_W2:
  21677. target_code = NPHY_RSSICAL_W2_TARGET;
  21678. break;
  21679. default:
  21680. return;
  21681. break;
  21682. }
  21683. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21684. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21685. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21686. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21687. rf_pd_val = (rssi_type == NPHY_RSSI_SEL_NB) ? 0x6 : 0x4;
  21688. rfctrlintc_override_val =
  21689. CHSPEC_IS5G(pi->radio_chanspec) ? 0x140 : 0x110;
  21690. rfctrlintc_state[0] = read_phy_reg(pi, 0x91);
  21691. rfpdcorerxtx_state[0] = read_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX);
  21692. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  21693. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rf_pd_val);
  21694. rfctrlintc_state[1] = read_phy_reg(pi, 0x92);
  21695. rfpdcorerxtx_state[1] = read_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX);
  21696. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  21697. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rf_pd_val);
  21698. pd_mask = RADIO_2055_NBRSSI_PD | RADIO_2055_WBRSSI_G1_PD |
  21699. RADIO_2055_WBRSSI_G2_PD;
  21700. pd_state[0] =
  21701. read_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC) & pd_mask;
  21702. pd_state[1] =
  21703. read_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC) & pd_mask;
  21704. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, 0);
  21705. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, 0);
  21706. rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  21707. RADIO_2055_WBRSSI_G2_SEL;
  21708. rssi_ctrl_state[0] =
  21709. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE1) & rssi_ctrl_mask;
  21710. rssi_ctrl_state[1] =
  21711. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE2) & rssi_ctrl_mask;
  21712. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  21713. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21714. NPHY_RAIL_I, rssi_type);
  21715. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21716. NPHY_RAIL_Q, rssi_type);
  21717. for (vcm = 0; vcm < 4; vcm++) {
  21718. vcm_tmp[0] = vcm_tmp[1] = vcm_tmp[2] = vcm_tmp[3] = vcm;
  21719. if (rssi_type != NPHY_RSSI_SEL_W2)
  21720. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_tmp);
  21721. wlc_phy_poll_rssi_nphy(pi, rssi_type, &poll_results[vcm][0],
  21722. NPHY_RSSICAL_NPOLL);
  21723. if ((rssi_type == NPHY_RSSI_SEL_W1)
  21724. || (rssi_type == NPHY_RSSI_SEL_W2)) {
  21725. for (ctr = 0; ctr < 2; ctr++)
  21726. poll_miniq[vcm][ctr] =
  21727. min(poll_results[vcm][ctr * 2 + 0],
  21728. poll_results[vcm][ctr * 2 + 1]);
  21729. }
  21730. }
  21731. for (result_idx = 0; result_idx < 4; result_idx++) {
  21732. min_d = NPHY_RSSICAL_MAXD;
  21733. min_vcm = 0;
  21734. min_poll = NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL + 1;
  21735. for (vcm = 0; vcm < 4; vcm++) {
  21736. curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ?
  21737. poll_results[vcm][result_idx] :
  21738. poll_miniq[vcm][result_idx / 2]) -
  21739. (target_code * NPHY_RSSICAL_NPOLL));
  21740. if (curr_d < min_d) {
  21741. min_d = curr_d;
  21742. min_vcm = vcm;
  21743. }
  21744. if (poll_results[vcm][result_idx] < min_poll)
  21745. min_poll = poll_results[vcm][result_idx];
  21746. }
  21747. vcm_final[result_idx] = min_vcm;
  21748. poll_results_min[result_idx] = min_poll;
  21749. }
  21750. if (rssi_type != NPHY_RSSI_SEL_W2)
  21751. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_final);
  21752. for (result_idx = 0; result_idx < 4; result_idx++) {
  21753. fine_digital_offset[result_idx] =
  21754. (target_code * NPHY_RSSICAL_NPOLL) -
  21755. poll_results[vcm_final[result_idx]][result_idx];
  21756. if (fine_digital_offset[result_idx] < 0) {
  21757. fine_digital_offset[result_idx] =
  21758. abs(fine_digital_offset[result_idx]);
  21759. fine_digital_offset[result_idx] +=
  21760. (NPHY_RSSICAL_NPOLL / 2);
  21761. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21762. fine_digital_offset[result_idx] =
  21763. -fine_digital_offset[result_idx];
  21764. } else {
  21765. fine_digital_offset[result_idx] +=
  21766. (NPHY_RSSICAL_NPOLL / 2);
  21767. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21768. }
  21769. if (poll_results_min[result_idx] ==
  21770. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21771. fine_digital_offset[result_idx] =
  21772. (target_code - NPHY_RSSICAL_MAXREAD - 1);
  21773. wlc_phy_scale_offset_rssi_nphy(pi, 0x0,
  21774. (s8)
  21775. fine_digital_offset[result_idx],
  21776. (result_idx / 2 ==
  21777. 0) ? RADIO_MIMO_CORESEL_CORE1 :
  21778. RADIO_MIMO_CORESEL_CORE2,
  21779. (result_idx % 2 ==
  21780. 0) ? NPHY_RAIL_I : NPHY_RAIL_Q,
  21781. rssi_type);
  21782. }
  21783. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, pd_state[0]);
  21784. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, pd_state[1]);
  21785. if (rssi_ctrl_state[0] == RADIO_2055_NBRSSI_SEL)
  21786. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21787. NPHY_RSSI_SEL_NB);
  21788. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G1_SEL)
  21789. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21790. NPHY_RSSI_SEL_W1);
  21791. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G2_SEL)
  21792. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21793. NPHY_RSSI_SEL_W2);
  21794. else
  21795. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21796. NPHY_RSSI_SEL_W2);
  21797. if (rssi_ctrl_state[1] == RADIO_2055_NBRSSI_SEL)
  21798. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21799. NPHY_RSSI_SEL_NB);
  21800. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G1_SEL)
  21801. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21802. NPHY_RSSI_SEL_W1);
  21803. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G2_SEL)
  21804. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21805. NPHY_RSSI_SEL_W2);
  21806. else
  21807. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21808. NPHY_RSSI_SEL_W2);
  21809. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, rssi_type);
  21810. write_phy_reg(pi, 0x91, rfctrlintc_state[0]);
  21811. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rfpdcorerxtx_state[0]);
  21812. write_phy_reg(pi, 0x92, rfctrlintc_state[1]);
  21813. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rfpdcorerxtx_state[1]);
  21814. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21815. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21816. wlc_phy_resetcca_nphy(pi);
  21817. }
  21818. void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi)
  21819. {
  21820. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21821. wlc_phy_rssi_cal_nphy_rev3(pi);
  21822. } else {
  21823. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_NB);
  21824. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W1);
  21825. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W2);
  21826. }
  21827. }
  21828. int
  21829. wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh)
  21830. {
  21831. s16 rxpwr, rxpwr0, rxpwr1;
  21832. s16 phyRx0_l, phyRx2_l;
  21833. rxpwr = 0;
  21834. rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK;
  21835. rxpwr1 = (rxh->PhyRxStatus_1 & PRXS1_nphy_PWR1_MASK) >> 8;
  21836. if (rxpwr0 > 127)
  21837. rxpwr0 -= 256;
  21838. if (rxpwr1 > 127)
  21839. rxpwr1 -= 256;
  21840. phyRx0_l = rxh->PhyRxStatus_0 & 0x00ff;
  21841. phyRx2_l = rxh->PhyRxStatus_2 & 0x00ff;
  21842. if (phyRx2_l > 127)
  21843. phyRx2_l -= 256;
  21844. if (((rxpwr0 == 16) || (rxpwr0 == 32))) {
  21845. rxpwr0 = rxpwr1;
  21846. rxpwr1 = phyRx2_l;
  21847. }
  21848. if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MAX)
  21849. rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1;
  21850. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MIN)
  21851. rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1;
  21852. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_AVG)
  21853. rxpwr = (rxpwr0 + rxpwr1) >> 1;
  21854. return rxpwr;
  21855. }
  21856. static void
  21857. wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf,
  21858. u16 num_samps)
  21859. {
  21860. u16 t;
  21861. u32 *data_buf = NULL;
  21862. data_buf = kmalloc(sizeof(u32) * num_samps, GFP_ATOMIC);
  21863. if (data_buf == NULL)
  21864. return;
  21865. if (pi->phyhang_avoid)
  21866. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21867. for (t = 0; t < num_samps; t++)
  21868. data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) |
  21869. (((unsigned int)tone_buf[t].q) & 0x3ff);
  21870. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SAMPLEPLAY, num_samps, 0, 32,
  21871. data_buf);
  21872. kfree(data_buf);
  21873. if (pi->phyhang_avoid)
  21874. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21875. }
  21876. static u16
  21877. wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21878. u8 dac_test_mode)
  21879. {
  21880. u8 phy_bw, is_phybw40;
  21881. u16 num_samps, t, spur;
  21882. s32 theta = 0, rot = 0;
  21883. u32 tbl_len;
  21884. struct cordic_iq *tone_buf = NULL;
  21885. is_phybw40 = CHSPEC_IS40(pi->radio_chanspec);
  21886. phy_bw = (is_phybw40 == 1) ? 40 : 20;
  21887. tbl_len = (phy_bw << 3);
  21888. if (dac_test_mode == 1) {
  21889. spur = read_phy_reg(pi, 0x01);
  21890. spur = (spur >> 15) & 1;
  21891. phy_bw = (spur == 1) ? 82 : 80;
  21892. phy_bw = (is_phybw40 == 1) ? (phy_bw << 1) : phy_bw;
  21893. tbl_len = (phy_bw << 1);
  21894. }
  21895. tone_buf = kmalloc(sizeof(struct cordic_iq) * tbl_len, GFP_ATOMIC);
  21896. if (tone_buf == NULL)
  21897. return 0;
  21898. num_samps = (u16) tbl_len;
  21899. rot = ((f_kHz * 36) / phy_bw) / 100;
  21900. theta = 0;
  21901. for (t = 0; t < num_samps; t++) {
  21902. tone_buf[t] = cordic_calc_iq(theta);
  21903. theta += rot;
  21904. tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val);
  21905. tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val);
  21906. }
  21907. wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps);
  21908. kfree(tone_buf);
  21909. return num_samps;
  21910. }
  21911. static void
  21912. wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops,
  21913. u16 wait, u8 iqmode, u8 dac_test_mode,
  21914. bool modify_bbmult)
  21915. {
  21916. u16 bb_mult;
  21917. u8 phy_bw, sample_cmd;
  21918. u16 orig_RfseqCoreActv;
  21919. u16 lpf_bw_ctl_override3, lpf_bw_ctl_override4, lpf_bw_ctl_miscreg3,
  21920. lpf_bw_ctl_miscreg4;
  21921. if (pi->phyhang_avoid)
  21922. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21923. phy_bw = 20;
  21924. if (CHSPEC_IS40(pi->radio_chanspec))
  21925. phy_bw = 40;
  21926. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21927. lpf_bw_ctl_override3 = read_phy_reg(pi, 0x342) & (0x1 << 7);
  21928. lpf_bw_ctl_override4 = read_phy_reg(pi, 0x343) & (0x1 << 7);
  21929. if (lpf_bw_ctl_override3 | lpf_bw_ctl_override4) {
  21930. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21931. (0x7 << 8);
  21932. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21933. (0x7 << 8);
  21934. } else {
  21935. wlc_phy_rfctrl_override_nphy_rev7(
  21936. pi,
  21937. (0x1 << 7),
  21938. wlc_phy_read_lpf_bw_ctl_nphy
  21939. (pi,
  21940. 0), 0, 0,
  21941. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21942. pi->nphy_sample_play_lpf_bw_ctl_ovr = true;
  21943. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21944. (0x7 << 8);
  21945. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21946. (0x7 << 8);
  21947. }
  21948. }
  21949. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) == 0) {
  21950. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21951. &bb_mult);
  21952. pi->nphy_bb_mult_save =
  21953. BB_MULT_VALID_MASK | (bb_mult & BB_MULT_MASK);
  21954. }
  21955. if (modify_bbmult) {
  21956. bb_mult = (phy_bw == 20) ? 100 : 71;
  21957. bb_mult = (bb_mult << 8) + bb_mult;
  21958. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21959. &bb_mult);
  21960. }
  21961. if (pi->phyhang_avoid)
  21962. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21963. write_phy_reg(pi, 0xc6, num_samps - 1);
  21964. if (loops != 0xffff)
  21965. write_phy_reg(pi, 0xc4, loops - 1);
  21966. else
  21967. write_phy_reg(pi, 0xc4, loops);
  21968. write_phy_reg(pi, 0xc5, wait);
  21969. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  21970. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  21971. if (iqmode) {
  21972. and_phy_reg(pi, 0xc2, 0x7FFF);
  21973. or_phy_reg(pi, 0xc2, 0x8000);
  21974. } else {
  21975. sample_cmd = (dac_test_mode == 1) ? 0x5 : 0x1;
  21976. write_phy_reg(pi, 0xc3, sample_cmd);
  21977. }
  21978. SPINWAIT(((read_phy_reg(pi, 0xa4) & 0x1) == 1), 1000);
  21979. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  21980. }
  21981. int
  21982. wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21983. u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
  21984. {
  21985. u16 num_samps;
  21986. u16 loops = 0xffff;
  21987. u16 wait = 0;
  21988. num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val,
  21989. dac_test_mode);
  21990. if (num_samps == 0)
  21991. return -EBADE;
  21992. wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode,
  21993. dac_test_mode, modify_bbmult);
  21994. return 0;
  21995. }
  21996. void wlc_phy_stopplayback_nphy(struct brcms_phy *pi)
  21997. {
  21998. u16 playback_status;
  21999. u16 bb_mult;
  22000. if (pi->phyhang_avoid)
  22001. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  22002. playback_status = read_phy_reg(pi, 0xc7);
  22003. if (playback_status & 0x1)
  22004. or_phy_reg(pi, 0xc3, NPHY_sampleCmd_STOP);
  22005. else if (playback_status & 0x2)
  22006. and_phy_reg(pi, 0xc2,
  22007. (u16) ~NPHY_iqloCalCmdGctl_IQLO_CAL_EN);
  22008. and_phy_reg(pi, 0xc3, (u16) ~(0x1 << 2));
  22009. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) != 0) {
  22010. bb_mult = pi->nphy_bb_mult_save & BB_MULT_MASK;
  22011. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  22012. &bb_mult);
  22013. pi->nphy_bb_mult_save = 0;
  22014. }
  22015. if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) {
  22016. if (pi->nphy_sample_play_lpf_bw_ctl_ovr) {
  22017. wlc_phy_rfctrl_override_nphy_rev7(
  22018. pi,
  22019. (0x1 << 7),
  22020. 0, 0, 1,
  22021. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22022. pi->nphy_sample_play_lpf_bw_ctl_ovr = false;
  22023. }
  22024. }
  22025. if (pi->phyhang_avoid)
  22026. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22027. }
  22028. static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi)
  22029. {
  22030. u32 *tx_pwrctrl_tbl = NULL;
  22031. uint phyrev = pi->pubpi.phy_rev;
  22032. if (PHY_IPA(pi)) {
  22033. tx_pwrctrl_tbl =
  22034. wlc_phy_get_ipa_gaintbl_nphy(pi);
  22035. } else {
  22036. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22037. if (NREV_IS(phyrev, 3))
  22038. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev3;
  22039. else if (NREV_IS(phyrev, 4))
  22040. tx_pwrctrl_tbl =
  22041. (pi->srom_fem5g.extpagain == 3) ?
  22042. nphy_tpc_5GHz_txgain_HiPwrEPA :
  22043. nphy_tpc_5GHz_txgain_rev4;
  22044. else
  22045. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev5;
  22046. } else {
  22047. if (NREV_GE(phyrev, 7)) {
  22048. if (pi->pubpi.radiorev == 3)
  22049. tx_pwrctrl_tbl =
  22050. nphy_tpc_txgain_epa_2057rev3;
  22051. else if (pi->pubpi.radiorev == 5)
  22052. tx_pwrctrl_tbl =
  22053. nphy_tpc_txgain_epa_2057rev5;
  22054. } else {
  22055. if (NREV_GE(phyrev, 5) &&
  22056. (pi->srom_fem2g.extpagain == 3))
  22057. tx_pwrctrl_tbl =
  22058. nphy_tpc_txgain_HiPwrEPA;
  22059. else
  22060. tx_pwrctrl_tbl =
  22061. nphy_tpc_txgain_rev3;
  22062. }
  22063. }
  22064. }
  22065. return tx_pwrctrl_tbl;
  22066. }
  22067. struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi)
  22068. {
  22069. u16 base_idx[2], curr_gain[2];
  22070. u8 core_no;
  22071. struct nphy_txgains target_gain;
  22072. u32 *tx_pwrctrl_tbl = NULL;
  22073. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF) {
  22074. if (pi->phyhang_avoid)
  22075. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  22076. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  22077. curr_gain);
  22078. if (pi->phyhang_avoid)
  22079. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  22080. for (core_no = 0; core_no < 2; core_no++) {
  22081. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22082. target_gain.ipa[core_no] =
  22083. curr_gain[core_no] & 0x0007;
  22084. target_gain.pad[core_no] =
  22085. ((curr_gain[core_no] & 0x00F8) >> 3);
  22086. target_gain.pga[core_no] =
  22087. ((curr_gain[core_no] & 0x0F00) >> 8);
  22088. target_gain.txgm[core_no] =
  22089. ((curr_gain[core_no] & 0x7000) >> 12);
  22090. target_gain.txlpf[core_no] =
  22091. ((curr_gain[core_no] & 0x8000) >> 15);
  22092. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22093. target_gain.ipa[core_no] =
  22094. curr_gain[core_no] & 0x000F;
  22095. target_gain.pad[core_no] =
  22096. ((curr_gain[core_no] & 0x00F0) >> 4);
  22097. target_gain.pga[core_no] =
  22098. ((curr_gain[core_no] & 0x0F00) >> 8);
  22099. target_gain.txgm[core_no] =
  22100. ((curr_gain[core_no] & 0x7000) >> 12);
  22101. } else {
  22102. target_gain.ipa[core_no] =
  22103. curr_gain[core_no] & 0x0003;
  22104. target_gain.pad[core_no] =
  22105. ((curr_gain[core_no] & 0x000C) >> 2);
  22106. target_gain.pga[core_no] =
  22107. ((curr_gain[core_no] & 0x0070) >> 4);
  22108. target_gain.txgm[core_no] =
  22109. ((curr_gain[core_no] & 0x0380) >> 7);
  22110. }
  22111. }
  22112. } else {
  22113. uint phyrev = pi->pubpi.phy_rev;
  22114. base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f;
  22115. base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f;
  22116. for (core_no = 0; core_no < 2; core_no++) {
  22117. if (NREV_GE(phyrev, 3)) {
  22118. tx_pwrctrl_tbl =
  22119. brcms_phy_get_tx_pwrctrl_tbl(pi);
  22120. if (NREV_GE(phyrev, 7)) {
  22121. target_gain.ipa[core_no] =
  22122. (tx_pwrctrl_tbl
  22123. [base_idx[core_no]]
  22124. >> 16) & 0x7;
  22125. target_gain.pad[core_no] =
  22126. (tx_pwrctrl_tbl
  22127. [base_idx[core_no]]
  22128. >> 19) & 0x1f;
  22129. target_gain.pga[core_no] =
  22130. (tx_pwrctrl_tbl
  22131. [base_idx[core_no]]
  22132. >> 24) & 0xf;
  22133. target_gain.txgm[core_no] =
  22134. (tx_pwrctrl_tbl
  22135. [base_idx[core_no]]
  22136. >> 28) & 0x7;
  22137. target_gain.txlpf[core_no] =
  22138. (tx_pwrctrl_tbl
  22139. [base_idx[core_no]]
  22140. >> 31) & 0x1;
  22141. } else {
  22142. target_gain.ipa[core_no] =
  22143. (tx_pwrctrl_tbl
  22144. [base_idx[core_no]]
  22145. >> 16) & 0xf;
  22146. target_gain.pad[core_no] =
  22147. (tx_pwrctrl_tbl
  22148. [base_idx[core_no]]
  22149. >> 20) & 0xf;
  22150. target_gain.pga[core_no] =
  22151. (tx_pwrctrl_tbl
  22152. [base_idx[core_no]]
  22153. >> 24) & 0xf;
  22154. target_gain.txgm[core_no] =
  22155. (tx_pwrctrl_tbl
  22156. [base_idx[core_no]]
  22157. >> 28) & 0x7;
  22158. }
  22159. } else {
  22160. target_gain.ipa[core_no] =
  22161. (nphy_tpc_txgain[base_idx[core_no]] >>
  22162. 16) & 0x3;
  22163. target_gain.pad[core_no] =
  22164. (nphy_tpc_txgain[base_idx[core_no]] >>
  22165. 18) & 0x3;
  22166. target_gain.pga[core_no] =
  22167. (nphy_tpc_txgain[base_idx[core_no]] >>
  22168. 20) & 0x7;
  22169. target_gain.txgm[core_no] =
  22170. (nphy_tpc_txgain[base_idx[core_no]] >>
  22171. 23) & 0x7;
  22172. }
  22173. }
  22174. }
  22175. return target_gain;
  22176. }
  22177. static void
  22178. wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no,
  22179. struct nphy_txgains target_gain,
  22180. struct nphy_iqcal_params *params)
  22181. {
  22182. u8 k;
  22183. int idx;
  22184. u16 gain_index;
  22185. u8 band_idx = (CHSPEC_IS5G(pi->radio_chanspec) ? 1 : 0);
  22186. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22187. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22188. params->txlpf = target_gain.txlpf[core_no];
  22189. params->txgm = target_gain.txgm[core_no];
  22190. params->pga = target_gain.pga[core_no];
  22191. params->pad = target_gain.pad[core_no];
  22192. params->ipa = target_gain.ipa[core_no];
  22193. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22194. params->cal_gain =
  22195. ((params->txlpf << 15) | (params->txgm << 12) |
  22196. (params->pga << 8) |
  22197. (params->pad << 3) | (params->ipa));
  22198. else
  22199. params->cal_gain =
  22200. ((params->txgm << 12) | (params->pga << 8) |
  22201. (params->pad << 4) | (params->ipa));
  22202. params->ncorr[0] = 0x79;
  22203. params->ncorr[1] = 0x79;
  22204. params->ncorr[2] = 0x79;
  22205. params->ncorr[3] = 0x79;
  22206. params->ncorr[4] = 0x79;
  22207. } else {
  22208. gain_index = ((target_gain.pad[core_no] << 0) |
  22209. (target_gain.pga[core_no] << 4) |
  22210. (target_gain.txgm[core_no] << 8));
  22211. idx = -1;
  22212. for (k = 0; k < NPHY_IQCAL_NUMGAINS; k++) {
  22213. if (tbl_iqcal_gainparams_nphy[band_idx][k][0] ==
  22214. gain_index) {
  22215. idx = k;
  22216. break;
  22217. }
  22218. }
  22219. params->txgm = tbl_iqcal_gainparams_nphy[band_idx][k][1];
  22220. params->pga = tbl_iqcal_gainparams_nphy[band_idx][k][2];
  22221. params->pad = tbl_iqcal_gainparams_nphy[band_idx][k][3];
  22222. params->cal_gain = ((params->txgm << 7) | (params->pga << 4) |
  22223. (params->pad << 2));
  22224. params->ncorr[0] = tbl_iqcal_gainparams_nphy[band_idx][k][4];
  22225. params->ncorr[1] = tbl_iqcal_gainparams_nphy[band_idx][k][5];
  22226. params->ncorr[2] = tbl_iqcal_gainparams_nphy[band_idx][k][6];
  22227. params->ncorr[3] = tbl_iqcal_gainparams_nphy[band_idx][k][7];
  22228. }
  22229. }
  22230. static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi)
  22231. {
  22232. u16 jtag_core, core;
  22233. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22234. for (core = 0; core <= 1; core++) {
  22235. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22236. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22237. TX_SSI_MASTER);
  22238. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22239. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22240. IQCAL_VCM_HG);
  22241. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22242. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22243. IQCAL_IDAC);
  22244. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22245. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22246. TSSI_VCM);
  22247. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] = 0;
  22248. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22249. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22250. TX_SSI_MUX);
  22251. if (pi->pubpi.radiorev != 5)
  22252. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22253. READ_RADIO_REG3(pi, RADIO_2057, TX,
  22254. core,
  22255. TSSIA);
  22256. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22257. READ_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG);
  22258. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22259. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22260. TSSI_MISC1);
  22261. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22262. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22263. TX_SSI_MASTER, 0x0a);
  22264. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22265. IQCAL_VCM_HG, 0x43);
  22266. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22267. IQCAL_IDAC, 0x55);
  22268. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22269. TSSI_VCM, 0x00);
  22270. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22271. TSSIG, 0x00);
  22272. if (pi->use_int_tx_iqlo_cal_nphy) {
  22273. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22274. core, TX_SSI_MUX, 0x4);
  22275. if (!(pi->
  22276. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22277. WRITE_RADIO_REG3(pi, RADIO_2057,
  22278. TX, core,
  22279. TSSIA, 0x31);
  22280. else
  22281. WRITE_RADIO_REG3(pi, RADIO_2057,
  22282. TX, core,
  22283. TSSIA, 0x21);
  22284. }
  22285. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22286. TSSI_MISC1, 0x00);
  22287. } else {
  22288. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22289. TX_SSI_MASTER, 0x06);
  22290. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22291. IQCAL_VCM_HG, 0x43);
  22292. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22293. IQCAL_IDAC, 0x55);
  22294. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22295. TSSI_VCM, 0x00);
  22296. if (pi->pubpi.radiorev != 5)
  22297. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22298. core, TSSIA, 0x00);
  22299. if (pi->use_int_tx_iqlo_cal_nphy) {
  22300. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22301. core, TX_SSI_MUX,
  22302. 0x06);
  22303. if (!(pi->
  22304. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22305. WRITE_RADIO_REG3(pi, RADIO_2057,
  22306. TX, core,
  22307. TSSIG, 0x31);
  22308. else
  22309. WRITE_RADIO_REG3(pi, RADIO_2057,
  22310. TX, core,
  22311. TSSIG, 0x21);
  22312. }
  22313. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22314. TSSI_MISC1, 0x00);
  22315. }
  22316. }
  22317. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22318. for (core = 0; core <= 1; core++) {
  22319. jtag_core =
  22320. (core ==
  22321. PHY_CORE_0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  22322. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22323. read_radio_reg(pi,
  22324. RADIO_2056_TX_TX_SSI_MASTER |
  22325. jtag_core);
  22326. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22327. read_radio_reg(pi,
  22328. RADIO_2056_TX_IQCAL_VCM_HG |
  22329. jtag_core);
  22330. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22331. read_radio_reg(pi,
  22332. RADIO_2056_TX_IQCAL_IDAC |
  22333. jtag_core);
  22334. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22335. read_radio_reg(
  22336. pi,
  22337. RADIO_2056_TX_TSSI_VCM |
  22338. jtag_core);
  22339. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] =
  22340. read_radio_reg(pi,
  22341. RADIO_2056_TX_TX_AMP_DET |
  22342. jtag_core);
  22343. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22344. read_radio_reg(pi,
  22345. RADIO_2056_TX_TX_SSI_MUX |
  22346. jtag_core);
  22347. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22348. read_radio_reg(pi,
  22349. RADIO_2056_TX_TSSIA | jtag_core);
  22350. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22351. read_radio_reg(pi,
  22352. RADIO_2056_TX_TSSIG | jtag_core);
  22353. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22354. read_radio_reg(pi,
  22355. RADIO_2056_TX_TSSI_MISC1 |
  22356. jtag_core);
  22357. pi->tx_rx_cal_radio_saveregs[(core * 11) + 9] =
  22358. read_radio_reg(pi,
  22359. RADIO_2056_TX_TSSI_MISC2 |
  22360. jtag_core);
  22361. pi->tx_rx_cal_radio_saveregs[(core * 11) + 10] =
  22362. read_radio_reg(pi,
  22363. RADIO_2056_TX_TSSI_MISC3 |
  22364. jtag_core);
  22365. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22366. write_radio_reg(pi,
  22367. RADIO_2056_TX_TX_SSI_MASTER |
  22368. jtag_core, 0x0a);
  22369. write_radio_reg(pi,
  22370. RADIO_2056_TX_IQCAL_VCM_HG |
  22371. jtag_core, 0x40);
  22372. write_radio_reg(pi,
  22373. RADIO_2056_TX_IQCAL_IDAC |
  22374. jtag_core, 0x55);
  22375. write_radio_reg(pi,
  22376. RADIO_2056_TX_TSSI_VCM |
  22377. jtag_core, 0x00);
  22378. write_radio_reg(pi,
  22379. RADIO_2056_TX_TX_AMP_DET |
  22380. jtag_core, 0x00);
  22381. if (PHY_IPA(pi)) {
  22382. write_radio_reg(
  22383. pi,
  22384. RADIO_2056_TX_TX_SSI_MUX
  22385. | jtag_core, 0x4);
  22386. write_radio_reg(pi,
  22387. RADIO_2056_TX_TSSIA |
  22388. jtag_core, 0x1);
  22389. } else {
  22390. write_radio_reg(
  22391. pi,
  22392. RADIO_2056_TX_TX_SSI_MUX
  22393. | jtag_core, 0x00);
  22394. write_radio_reg(pi,
  22395. RADIO_2056_TX_TSSIA |
  22396. jtag_core, 0x2f);
  22397. }
  22398. write_radio_reg(pi,
  22399. RADIO_2056_TX_TSSIG | jtag_core,
  22400. 0x00);
  22401. write_radio_reg(pi,
  22402. RADIO_2056_TX_TSSI_MISC1 |
  22403. jtag_core, 0x00);
  22404. write_radio_reg(pi,
  22405. RADIO_2056_TX_TSSI_MISC2 |
  22406. jtag_core, 0x00);
  22407. write_radio_reg(pi,
  22408. RADIO_2056_TX_TSSI_MISC3 |
  22409. jtag_core, 0x00);
  22410. } else {
  22411. write_radio_reg(pi,
  22412. RADIO_2056_TX_TX_SSI_MASTER |
  22413. jtag_core, 0x06);
  22414. write_radio_reg(pi,
  22415. RADIO_2056_TX_IQCAL_VCM_HG |
  22416. jtag_core, 0x40);
  22417. write_radio_reg(pi,
  22418. RADIO_2056_TX_IQCAL_IDAC |
  22419. jtag_core, 0x55);
  22420. write_radio_reg(pi,
  22421. RADIO_2056_TX_TSSI_VCM |
  22422. jtag_core, 0x00);
  22423. write_radio_reg(pi,
  22424. RADIO_2056_TX_TX_AMP_DET |
  22425. jtag_core, 0x00);
  22426. write_radio_reg(pi,
  22427. RADIO_2056_TX_TSSIA | jtag_core,
  22428. 0x00);
  22429. if (PHY_IPA(pi)) {
  22430. write_radio_reg(
  22431. pi,
  22432. RADIO_2056_TX_TX_SSI_MUX
  22433. | jtag_core, 0x06);
  22434. if (NREV_LT(pi->pubpi.phy_rev, 5))
  22435. write_radio_reg(
  22436. pi,
  22437. RADIO_2056_TX_TSSIG
  22438. | jtag_core,
  22439. 0x11);
  22440. else
  22441. write_radio_reg(
  22442. pi,
  22443. RADIO_2056_TX_TSSIG
  22444. | jtag_core,
  22445. 0x1);
  22446. } else {
  22447. write_radio_reg(
  22448. pi,
  22449. RADIO_2056_TX_TX_SSI_MUX
  22450. | jtag_core, 0x00);
  22451. write_radio_reg(pi,
  22452. RADIO_2056_TX_TSSIG |
  22453. jtag_core, 0x20);
  22454. }
  22455. write_radio_reg(pi,
  22456. RADIO_2056_TX_TSSI_MISC1 |
  22457. jtag_core, 0x00);
  22458. write_radio_reg(pi,
  22459. RADIO_2056_TX_TSSI_MISC2 |
  22460. jtag_core, 0x00);
  22461. write_radio_reg(pi,
  22462. RADIO_2056_TX_TSSI_MISC3 |
  22463. jtag_core, 0x00);
  22464. }
  22465. }
  22466. } else {
  22467. pi->tx_rx_cal_radio_saveregs[0] =
  22468. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  22469. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x29);
  22470. pi->tx_rx_cal_radio_saveregs[1] =
  22471. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  22472. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x54);
  22473. pi->tx_rx_cal_radio_saveregs[2] =
  22474. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  22475. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x29);
  22476. pi->tx_rx_cal_radio_saveregs[3] =
  22477. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  22478. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x54);
  22479. pi->tx_rx_cal_radio_saveregs[4] =
  22480. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  22481. pi->tx_rx_cal_radio_saveregs[5] =
  22482. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  22483. if ((read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand) ==
  22484. 0) {
  22485. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  22486. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  22487. } else {
  22488. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x20);
  22489. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x20);
  22490. }
  22491. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  22492. or_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0x20);
  22493. or_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0x20);
  22494. } else {
  22495. and_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0xdf);
  22496. and_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0xdf);
  22497. }
  22498. }
  22499. }
  22500. static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi)
  22501. {
  22502. u16 jtag_core, core;
  22503. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22504. for (core = 0; core <= 1; core++) {
  22505. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22506. TX_SSI_MASTER,
  22507. pi->
  22508. tx_rx_cal_radio_saveregs[(core * 11) +
  22509. 0]);
  22510. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  22511. pi->
  22512. tx_rx_cal_radio_saveregs[(core * 11) +
  22513. 1]);
  22514. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  22515. pi->
  22516. tx_rx_cal_radio_saveregs[(core * 11) +
  22517. 2]);
  22518. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  22519. pi->
  22520. tx_rx_cal_radio_saveregs[(core * 11) +
  22521. 3]);
  22522. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TX_SSI_MUX,
  22523. pi->
  22524. tx_rx_cal_radio_saveregs[(core * 11) +
  22525. 5]);
  22526. if (pi->pubpi.radiorev != 5)
  22527. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22528. TSSIA,
  22529. pi->tx_rx_cal_radio_saveregs
  22530. [(core * 11) + 6]);
  22531. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG,
  22532. pi->
  22533. tx_rx_cal_radio_saveregs[(core * 11) +
  22534. 7]);
  22535. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  22536. pi->
  22537. tx_rx_cal_radio_saveregs[(core * 11) +
  22538. 8]);
  22539. }
  22540. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22541. for (core = 0; core <= 1; core++) {
  22542. jtag_core = (core == PHY_CORE_0) ?
  22543. RADIO_2056_TX0 : RADIO_2056_TX1;
  22544. write_radio_reg(pi,
  22545. RADIO_2056_TX_TX_SSI_MASTER | jtag_core,
  22546. pi->
  22547. tx_rx_cal_radio_saveregs[(core * 11) +
  22548. 0]);
  22549. write_radio_reg(pi,
  22550. RADIO_2056_TX_IQCAL_VCM_HG | jtag_core,
  22551. pi->
  22552. tx_rx_cal_radio_saveregs[(core * 11) +
  22553. 1]);
  22554. write_radio_reg(pi,
  22555. RADIO_2056_TX_IQCAL_IDAC | jtag_core,
  22556. pi->
  22557. tx_rx_cal_radio_saveregs[(core * 11) +
  22558. 2]);
  22559. write_radio_reg(pi, RADIO_2056_TX_TSSI_VCM | jtag_core,
  22560. pi->
  22561. tx_rx_cal_radio_saveregs[(core * 11) +
  22562. 3]);
  22563. write_radio_reg(pi,
  22564. RADIO_2056_TX_TX_AMP_DET | jtag_core,
  22565. pi->
  22566. tx_rx_cal_radio_saveregs[(core * 11) +
  22567. 4]);
  22568. write_radio_reg(pi,
  22569. RADIO_2056_TX_TX_SSI_MUX | jtag_core,
  22570. pi->
  22571. tx_rx_cal_radio_saveregs[(core * 11) +
  22572. 5]);
  22573. write_radio_reg(pi, RADIO_2056_TX_TSSIA | jtag_core,
  22574. pi->
  22575. tx_rx_cal_radio_saveregs[(core * 11) +
  22576. 6]);
  22577. write_radio_reg(pi, RADIO_2056_TX_TSSIG | jtag_core,
  22578. pi->
  22579. tx_rx_cal_radio_saveregs[(core * 11) +
  22580. 7]);
  22581. write_radio_reg(pi,
  22582. RADIO_2056_TX_TSSI_MISC1 | jtag_core,
  22583. pi->
  22584. tx_rx_cal_radio_saveregs[(core * 11) +
  22585. 8]);
  22586. write_radio_reg(pi,
  22587. RADIO_2056_TX_TSSI_MISC2 | jtag_core,
  22588. pi->
  22589. tx_rx_cal_radio_saveregs[(core * 11) +
  22590. 9]);
  22591. write_radio_reg(pi,
  22592. RADIO_2056_TX_TSSI_MISC3 | jtag_core,
  22593. pi->
  22594. tx_rx_cal_radio_saveregs[(core * 11) +
  22595. 10]);
  22596. }
  22597. } else {
  22598. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  22599. pi->tx_rx_cal_radio_saveregs[0]);
  22600. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  22601. pi->tx_rx_cal_radio_saveregs[1]);
  22602. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  22603. pi->tx_rx_cal_radio_saveregs[2]);
  22604. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  22605. pi->tx_rx_cal_radio_saveregs[3]);
  22606. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  22607. pi->tx_rx_cal_radio_saveregs[4]);
  22608. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  22609. pi->tx_rx_cal_radio_saveregs[5]);
  22610. }
  22611. }
  22612. static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi)
  22613. {
  22614. u16 val, mask;
  22615. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22616. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22617. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22618. mask = ((0x3 << 8) | (0x3 << 10));
  22619. val = (0x2 << 8);
  22620. val |= (0x2 << 10);
  22621. mod_phy_reg(pi, 0xa6, mask, val);
  22622. mod_phy_reg(pi, 0xa7, mask, val);
  22623. val = read_phy_reg(pi, 0x8f);
  22624. pi->tx_rx_cal_phy_saveregs[2] = val;
  22625. val |= ((0x1 << 9) | (0x1 << 10));
  22626. write_phy_reg(pi, 0x8f, val);
  22627. val = read_phy_reg(pi, 0xa5);
  22628. pi->tx_rx_cal_phy_saveregs[3] = val;
  22629. val |= ((0x1 << 9) | (0x1 << 10));
  22630. write_phy_reg(pi, 0xa5, val);
  22631. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x01);
  22632. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  22633. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22634. &val);
  22635. pi->tx_rx_cal_phy_saveregs[5] = val;
  22636. val = 0;
  22637. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22638. &val);
  22639. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22640. &val);
  22641. pi->tx_rx_cal_phy_saveregs[6] = val;
  22642. val = 0;
  22643. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22644. &val);
  22645. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0x91);
  22646. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0x92);
  22647. if (!(pi->use_int_tx_iqlo_cal_nphy))
  22648. wlc_phy_rfctrlintc_override_nphy(
  22649. pi,
  22650. NPHY_RfctrlIntc_override_PA,
  22651. 1,
  22652. RADIO_MIMO_CORESEL_CORE1
  22653. |
  22654. RADIO_MIMO_CORESEL_CORE2);
  22655. else
  22656. wlc_phy_rfctrlintc_override_nphy(
  22657. pi,
  22658. NPHY_RfctrlIntc_override_PA,
  22659. 0,
  22660. RADIO_MIMO_CORESEL_CORE1
  22661. |
  22662. RADIO_MIMO_CORESEL_CORE2);
  22663. wlc_phy_rfctrlintc_override_nphy(pi,
  22664. NPHY_RfctrlIntc_override_TRSW,
  22665. 0x2, RADIO_MIMO_CORESEL_CORE1);
  22666. wlc_phy_rfctrlintc_override_nphy(pi,
  22667. NPHY_RfctrlIntc_override_TRSW,
  22668. 0x8, RADIO_MIMO_CORESEL_CORE2);
  22669. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  22670. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  22671. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  22672. 0x29b, (0x1 << 0), (0) << 0);
  22673. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  22674. 0x29b, (0x1 << 0), (0) << 0);
  22675. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22676. || NREV_GE(pi->pubpi.phy_rev, 8))
  22677. wlc_phy_rfctrl_override_nphy_rev7(
  22678. pi, (0x1 << 7),
  22679. wlc_phy_read_lpf_bw_ctl_nphy
  22680. (pi,
  22681. 0), 0, 0,
  22682. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22683. if (pi->use_int_tx_iqlo_cal_nphy
  22684. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22685. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22686. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22687. 1 << 4);
  22688. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22689. mod_radio_reg(
  22690. pi,
  22691. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22692. 1, 0);
  22693. mod_radio_reg(
  22694. pi,
  22695. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22696. 1, 0);
  22697. } else {
  22698. mod_radio_reg(
  22699. pi,
  22700. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22701. 1, 0);
  22702. mod_radio_reg(
  22703. pi,
  22704. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22705. 1, 0);
  22706. }
  22707. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22708. wlc_phy_rfctrl_override_nphy_rev7(
  22709. pi,
  22710. (0x1 << 3), 0,
  22711. 0x3, 0,
  22712. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22713. }
  22714. }
  22715. } else {
  22716. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22717. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22718. mask = ((0x3 << 12) | (0x3 << 14));
  22719. val = (0x2 << 12);
  22720. val |= (0x2 << 14);
  22721. mod_phy_reg(pi, 0xa6, mask, val);
  22722. mod_phy_reg(pi, 0xa7, mask, val);
  22723. val = read_phy_reg(pi, 0xa5);
  22724. pi->tx_rx_cal_phy_saveregs[2] = val;
  22725. val |= ((0x1 << 12) | (0x1 << 13));
  22726. write_phy_reg(pi, 0xa5, val);
  22727. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22728. &val);
  22729. pi->tx_rx_cal_phy_saveregs[3] = val;
  22730. val |= 0x2000;
  22731. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22732. &val);
  22733. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22734. &val);
  22735. pi->tx_rx_cal_phy_saveregs[4] = val;
  22736. val |= 0x2000;
  22737. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22738. &val);
  22739. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x91);
  22740. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x92);
  22741. val = CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  22742. write_phy_reg(pi, 0x91, val);
  22743. write_phy_reg(pi, 0x92, val);
  22744. }
  22745. }
  22746. static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi)
  22747. {
  22748. u16 mask;
  22749. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22750. write_phy_reg(pi, 0xa6, pi->tx_rx_cal_phy_saveregs[0]);
  22751. write_phy_reg(pi, 0xa7, pi->tx_rx_cal_phy_saveregs[1]);
  22752. write_phy_reg(pi, 0x8f, pi->tx_rx_cal_phy_saveregs[2]);
  22753. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[3]);
  22754. write_phy_reg(pi, 0x01, pi->tx_rx_cal_phy_saveregs[4]);
  22755. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22756. &pi->tx_rx_cal_phy_saveregs[5]);
  22757. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22758. &pi->tx_rx_cal_phy_saveregs[6]);
  22759. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[7]);
  22760. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[8]);
  22761. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  22762. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  22763. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22764. || NREV_GE(pi->pubpi.phy_rev, 8))
  22765. wlc_phy_rfctrl_override_nphy_rev7(
  22766. pi, (0x1 << 7), 0, 0,
  22767. 1,
  22768. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22769. wlc_phy_resetcca_nphy(pi);
  22770. if (pi->use_int_tx_iqlo_cal_nphy
  22771. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22772. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22773. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22774. mod_radio_reg(
  22775. pi,
  22776. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22777. 1, 1);
  22778. mod_radio_reg(
  22779. pi,
  22780. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22781. 1, 1);
  22782. } else {
  22783. mod_radio_reg(
  22784. pi,
  22785. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22786. 1, 1);
  22787. mod_radio_reg(
  22788. pi,
  22789. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22790. 1, 1);
  22791. }
  22792. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22793. 0);
  22794. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22795. wlc_phy_rfctrl_override_nphy_rev7(
  22796. pi,
  22797. (0x1 << 3), 0,
  22798. 0x3, 1,
  22799. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22800. }
  22801. }
  22802. } else {
  22803. mask = ((0x3 << 12) | (0x3 << 14));
  22804. mod_phy_reg(pi, 0xa6, mask, pi->tx_rx_cal_phy_saveregs[0]);
  22805. mod_phy_reg(pi, 0xa7, mask, pi->tx_rx_cal_phy_saveregs[1]);
  22806. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[2]);
  22807. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22808. &pi->tx_rx_cal_phy_saveregs[3]);
  22809. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22810. &pi->tx_rx_cal_phy_saveregs[4]);
  22811. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[5]);
  22812. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[6]);
  22813. }
  22814. }
  22815. void
  22816. wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
  22817. {
  22818. u16 tssi_reg;
  22819. s32 temp, pwrindex[2];
  22820. s32 idle_tssi[2];
  22821. s32 rssi_buf[4];
  22822. s32 tssival[2];
  22823. u8 tssi_type;
  22824. tssi_reg = read_phy_reg(pi, 0x1e9);
  22825. temp = (s32) (tssi_reg & 0x3f);
  22826. idle_tssi[0] = (temp <= 31) ? temp : (temp - 64);
  22827. temp = (s32) ((tssi_reg >> 8) & 0x3f);
  22828. idle_tssi[1] = (temp <= 31) ? temp : (temp - 64);
  22829. tssi_type =
  22830. CHSPEC_IS5G(pi->radio_chanspec) ?
  22831. (u8)NPHY_RSSI_SEL_TSSI_5G : (u8)NPHY_RSSI_SEL_TSSI_2G;
  22832. wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
  22833. tssival[0] = rssi_buf[0] / ((s32) num_samps);
  22834. tssival[1] = rssi_buf[2] / ((s32) num_samps);
  22835. pwrindex[0] = idle_tssi[0] - tssival[0] + 64;
  22836. pwrindex[1] = idle_tssi[1] - tssival[1] + 64;
  22837. if (pwrindex[0] < 0)
  22838. pwrindex[0] = 0;
  22839. else if (pwrindex[0] > 63)
  22840. pwrindex[0] = 63;
  22841. if (pwrindex[1] < 0)
  22842. pwrindex[1] = 0;
  22843. else if (pwrindex[1] > 63)
  22844. pwrindex[1] = 63;
  22845. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 1,
  22846. (u32) pwrindex[0], 32, &qdBm_pwrbuf[0]);
  22847. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 1,
  22848. (u32) pwrindex[1], 32, &qdBm_pwrbuf[1]);
  22849. }
  22850. static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core)
  22851. {
  22852. int index;
  22853. u32 bbmult_scale;
  22854. u16 bbmult;
  22855. u16 tblentry;
  22856. struct nphy_txiqcal_ladder ladder_lo[] = {
  22857. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22858. {25, 0}, {25, 1}, {25, 2}, {25, 3}, {25, 4}, {25, 5},
  22859. {25, 6}, {25, 7}, {35, 7}, {50, 7}, {71, 7}, {100, 7}
  22860. };
  22861. struct nphy_txiqcal_ladder ladder_iq[] = {
  22862. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22863. {25, 0}, {35, 0}, {50, 0}, {71, 0}, {100, 0}, {100, 1},
  22864. {100, 2}, {100, 3}, {100, 4}, {100, 5}, {100, 6}, {100, 7}
  22865. };
  22866. bbmult = (core == PHY_CORE_0) ?
  22867. ((pi->nphy_txcal_bbmult >> 8) & 0xff) :
  22868. (pi->nphy_txcal_bbmult & 0xff);
  22869. for (index = 0; index < 18; index++) {
  22870. bbmult_scale = ladder_lo[index].percent * bbmult;
  22871. bbmult_scale /= 100;
  22872. tblentry =
  22873. ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env;
  22874. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16,
  22875. &tblentry);
  22876. bbmult_scale = ladder_iq[index].percent * bbmult;
  22877. bbmult_scale /= 100;
  22878. tblentry =
  22879. ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env;
  22880. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32,
  22881. 16, &tblentry);
  22882. }
  22883. }
  22884. static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core)
  22885. {
  22886. u16 tmp;
  22887. tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee));
  22888. tmp = (tmp & (0x7f << 8)) >> 8;
  22889. return (u8) tmp;
  22890. }
  22891. static void
  22892. wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1)
  22893. {
  22894. mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0);
  22895. if (NREV_GT(pi->pubpi.phy_rev, 1))
  22896. mod_phy_reg(pi, 0x222, (0xff << 0), idx1);
  22897. }
  22898. static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi)
  22899. {
  22900. u16 m0m1;
  22901. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  22902. return m0m1;
  22903. }
  22904. static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1)
  22905. {
  22906. u16 m0m1 = (u16) ((m0 << 8) | m1);
  22907. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m0m1);
  22908. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &m0m1);
  22909. }
  22910. static void
  22911. wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi,
  22912. struct nphy_papd_restore_state *state, u8 core)
  22913. {
  22914. s32 tone_freq;
  22915. u8 off_core;
  22916. u16 mixgain = 0;
  22917. off_core = core ^ 0x1;
  22918. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22919. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22920. || NREV_GE(pi->pubpi.phy_rev, 8))
  22921. wlc_phy_rfctrl_override_nphy_rev7(
  22922. pi, (0x1 << 7),
  22923. wlc_phy_read_lpf_bw_ctl_nphy
  22924. (pi,
  22925. 0), 0, 0,
  22926. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22927. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22928. if (pi->pubpi.radiorev == 5)
  22929. mixgain = (core == 0) ? 0x20 : 0x00;
  22930. else if ((pi->pubpi.radiorev == 7)
  22931. || (pi->pubpi.radiorev == 8))
  22932. mixgain = 0x00;
  22933. else if ((pi->pubpi.radiorev <= 4)
  22934. || (pi->pubpi.radiorev == 6))
  22935. mixgain = 0x00;
  22936. } else {
  22937. if ((pi->pubpi.radiorev == 4) ||
  22938. (pi->pubpi.radiorev == 6))
  22939. mixgain = 0x50;
  22940. else if ((pi->pubpi.radiorev == 3)
  22941. || (pi->pubpi.radiorev == 7)
  22942. || (pi->pubpi.radiorev == 8))
  22943. mixgain = 0x0;
  22944. }
  22945. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11),
  22946. mixgain, (1 << core), 0,
  22947. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22948. wlc_phy_rfctrl_override_1tomany_nphy(
  22949. pi,
  22950. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22951. 1, (1 << core), 0);
  22952. wlc_phy_rfctrl_override_1tomany_nphy(
  22953. pi,
  22954. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22955. 0, (1 << off_core), 0);
  22956. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  22957. 0, 0x3, 0,
  22958. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22959. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1,
  22960. (1 << core), 0,
  22961. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22962. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0,
  22963. (1 << core), 0,
  22964. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22965. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1,
  22966. (1 << core), 0,
  22967. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22968. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0,
  22969. (1 << core), 0,
  22970. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22971. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1,
  22972. (1 << core), 0,
  22973. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22974. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0,
  22975. (1 << core), 0,
  22976. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22977. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1,
  22978. (1 << core), 0,
  22979. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22980. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5),
  22981. 0, (1 << core), 0,
  22982. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22983. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0,
  22984. (1 << core), 0,
  22985. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22986. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22987. 0xa6 : 0xa7);
  22988. state->afeoverride[core] =
  22989. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22990. state->afectrl[off_core] =
  22991. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa7 : 0xa6);
  22992. state->afeoverride[off_core] =
  22993. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa5 : 0x8f);
  22994. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22995. (0x1 << 2), 0);
  22996. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22997. 0xa5), (0x1 << 2), (0x1 << 2));
  22998. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa7 : 0xa6),
  22999. (0x1 << 2), (0x1 << 2));
  23000. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa5 :
  23001. 0x8f), (0x1 << 2), (0x1 << 2));
  23002. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23003. state->pwrup[core] =
  23004. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23005. TXRXCOUPLE_2G_PWRUP);
  23006. state->atten[core] =
  23007. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23008. TXRXCOUPLE_2G_ATTEN);
  23009. state->pwrup[off_core] =
  23010. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23011. TXRXCOUPLE_2G_PWRUP);
  23012. state->atten[off_core] =
  23013. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23014. TXRXCOUPLE_2G_ATTEN);
  23015. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23016. TXRXCOUPLE_2G_PWRUP, 0xc);
  23017. if ((pi->pubpi.radiorev == 3) ||
  23018. (pi->pubpi.radiorev == 4) ||
  23019. (pi->pubpi.radiorev == 6))
  23020. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23021. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23022. else if (pi->pubpi.radiorev == 5)
  23023. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23024. TXRXCOUPLE_2G_ATTEN,
  23025. (core == 0) ? 0xf7 : 0xf2);
  23026. else if ((pi->pubpi.radiorev == 7)
  23027. || (pi->pubpi.radiorev == 8))
  23028. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23029. TXRXCOUPLE_2G_ATTEN, 0xf0);
  23030. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23031. TXRXCOUPLE_2G_PWRUP, 0x0);
  23032. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23033. TXRXCOUPLE_2G_ATTEN, 0xff);
  23034. } else {
  23035. state->pwrup[core] =
  23036. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23037. TXRXCOUPLE_5G_PWRUP);
  23038. state->atten[core] =
  23039. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  23040. TXRXCOUPLE_5G_ATTEN);
  23041. state->pwrup[off_core] =
  23042. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23043. TXRXCOUPLE_5G_PWRUP);
  23044. state->atten[off_core] =
  23045. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23046. TXRXCOUPLE_5G_ATTEN);
  23047. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23048. TXRXCOUPLE_5G_PWRUP, 0xc);
  23049. if ((pi->pubpi.radiorev == 7)
  23050. || (pi->pubpi.radiorev == 8))
  23051. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23052. TXRXCOUPLE_5G_ATTEN, 0xf4);
  23053. else
  23054. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23055. TXRXCOUPLE_5G_ATTEN, 0xf0);
  23056. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23057. TXRXCOUPLE_5G_PWRUP, 0x0);
  23058. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  23059. TXRXCOUPLE_5G_ATTEN, 0xff);
  23060. }
  23061. tone_freq = 4000;
  23062. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23063. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23064. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23065. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23066. 0x2a4, (0x1 << 13), (1) << 13);
  23067. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23068. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_OFF) << 0);
  23069. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x2a3 :
  23070. 0x2a4, (0x1 << 13), (0) << 13);
  23071. } else {
  23072. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 0);
  23073. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0, 0);
  23074. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 0);
  23075. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 1, 0x3, 0);
  23076. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0x3, 0);
  23077. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  23078. 0xa6 : 0xa7);
  23079. state->afeoverride[core] =
  23080. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  23081. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  23082. (0x1 << 0) | (0x1 << 1) | (0x1 << 2), 0);
  23083. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  23084. 0xa5),
  23085. (0x1 << 0) |
  23086. (0x1 << 1) |
  23087. (0x1 << 2), (0x1 << 0) | (0x1 << 1) | (0x1 << 2));
  23088. state->vga_master[core] =
  23089. READ_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER);
  23090. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER, 0x2b);
  23091. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23092. state->fbmix[core] =
  23093. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23094. TXFBMIX_G);
  23095. state->intpa_master[core] =
  23096. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23097. INTPAG_MASTER);
  23098. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_G,
  23099. 0x03);
  23100. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23101. INTPAG_MASTER, 0x04);
  23102. } else {
  23103. state->fbmix[core] =
  23104. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  23105. TXFBMIX_A);
  23106. state->intpa_master[core] =
  23107. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  23108. INTPAA_MASTER);
  23109. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_A,
  23110. 0x03);
  23111. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23112. INTPAA_MASTER, 0x04);
  23113. }
  23114. tone_freq = 4000;
  23115. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  23116. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23117. 0x29b, (0x1 << 0), (1) << 0);
  23118. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  23119. 0x29b, (0x1 << 0), (0) << 0);
  23120. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23121. }
  23122. }
  23123. static void
  23124. wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi,
  23125. struct nphy_papd_restore_state *state)
  23126. {
  23127. u8 core;
  23128. wlc_phy_stopplayback_nphy(pi);
  23129. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23130. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23131. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23132. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23133. TXRXCOUPLE_2G_PWRUP, 0);
  23134. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23135. TXRXCOUPLE_2G_ATTEN,
  23136. state->atten[core]);
  23137. } else {
  23138. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23139. TXRXCOUPLE_5G_PWRUP, 0);
  23140. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  23141. TXRXCOUPLE_5G_ATTEN,
  23142. state->atten[core]);
  23143. }
  23144. }
  23145. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  23146. wlc_phy_rfctrl_override_nphy_rev7(
  23147. pi, (0x1 << 2),
  23148. 1, 0x3, 0,
  23149. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23150. else
  23151. wlc_phy_rfctrl_override_nphy_rev7(
  23152. pi, (0x1 << 2),
  23153. 0, 0x3, 1,
  23154. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23155. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  23156. 0, 0x3, 1,
  23157. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23158. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23159. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23160. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 0, 0x3, 1,
  23161. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23162. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 1, 0x3, 1,
  23163. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23164. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 0, 0x3, 1,
  23165. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23166. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0x3, 1,
  23167. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23168. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12), 0, 0x3, 1,
  23169. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23170. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 1,
  23171. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23172. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23173. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23174. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0x3, 1,
  23175. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23176. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0, 0x3, 1,
  23177. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23178. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1, 0x3, 1,
  23179. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23180. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0, 0x3, 1,
  23181. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23182. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1, 0x3, 1,
  23183. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23184. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0x3, 1,
  23185. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23186. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0, 0x3, 1,
  23187. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23188. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23189. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23190. 0xa6 : 0xa7, state->afectrl[core]);
  23191. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23192. 0xa5, state->afeoverride[core]);
  23193. }
  23194. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23195. (state->mm & 0xff));
  23196. if (NREV_IS(pi->pubpi.phy_rev, 7)
  23197. || NREV_GE(pi->pubpi.phy_rev, 8))
  23198. wlc_phy_rfctrl_override_nphy_rev7(
  23199. pi, (0x1 << 7), 0, 0,
  23200. 1,
  23201. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23202. } else {
  23203. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  23204. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 0x3, 1);
  23205. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 1);
  23206. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 0, 0x3, 1);
  23207. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 0, 0x3, 1);
  23208. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23209. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER,
  23210. state->vga_master[core]);
  23211. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23212. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23213. TXFBMIX_G, state->fbmix[core]);
  23214. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23215. INTPAG_MASTER,
  23216. state->intpa_master[core]);
  23217. } else {
  23218. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23219. TXFBMIX_A, state->fbmix[core]);
  23220. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23221. INTPAA_MASTER,
  23222. state->intpa_master[core]);
  23223. }
  23224. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23225. 0xa6 : 0xa7, state->afectrl[core]);
  23226. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23227. 0xa5, state->afeoverride[core]);
  23228. }
  23229. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23230. (state->mm & 0xff));
  23231. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 1);
  23232. }
  23233. }
  23234. static void
  23235. wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start,
  23236. u32 end)
  23237. {
  23238. u32 *buf, *src, *dst, sz;
  23239. sz = end - start + 1;
  23240. buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
  23241. if (NULL == buf)
  23242. return;
  23243. src = buf;
  23244. dst = buf + NPHY_PAPD_EPS_TBL_SIZE;
  23245. wlc_phy_table_read_nphy(pi,
  23246. (core ==
  23247. PHY_CORE_0 ? NPHY_TBL_ID_EPSILONTBL0 :
  23248. NPHY_TBL_ID_EPSILONTBL1),
  23249. NPHY_PAPD_EPS_TBL_SIZE, 0, 32, src);
  23250. do {
  23251. u32 phy_a1, phy_a2;
  23252. s32 phy_a3, phy_a4, phy_a5, phy_a6, phy_a7;
  23253. phy_a1 = end - min(end, (winsz >> 1));
  23254. phy_a2 = min_t(u32, NPHY_PAPD_EPS_TBL_SIZE - 1,
  23255. end + (winsz >> 1));
  23256. phy_a3 = phy_a2 - phy_a1 + 1;
  23257. phy_a6 = 0;
  23258. phy_a7 = 0;
  23259. do {
  23260. wlc_phy_papd_decode_epsilon(src[phy_a2], &phy_a4,
  23261. &phy_a5);
  23262. phy_a6 += phy_a4;
  23263. phy_a7 += phy_a5;
  23264. } while (phy_a2-- != phy_a1);
  23265. phy_a6 /= phy_a3;
  23266. phy_a7 /= phy_a3;
  23267. dst[end] = ((u32) phy_a7 << 13) | ((u32) phy_a6 & 0x1fff);
  23268. } while (end-- != start);
  23269. wlc_phy_table_write_nphy(pi,
  23270. (core ==
  23271. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0 :
  23272. NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
  23273. kfree(buf);
  23274. }
  23275. static void
  23276. wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains,
  23277. enum phy_cal_mode cal_mode, u8 core)
  23278. {
  23279. u16 phy_a1, phy_a2, phy_a3;
  23280. u16 phy_a4, phy_a5;
  23281. bool phy_a6;
  23282. u8 phy_a7, m[2];
  23283. u32 phy_a8 = 0;
  23284. struct nphy_txgains phy_a9;
  23285. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23286. return;
  23287. phy_a7 = (core == PHY_CORE_0) ? 1 : 0;
  23288. phy_a6 = ((cal_mode == CAL_GCTRL)
  23289. || (cal_mode == CAL_SOFT)) ? true : false;
  23290. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23291. phy_a9 = wlc_phy_get_tx_gain_nphy(pi);
  23292. if (CHSPEC_IS2G(pi->radio_chanspec))
  23293. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23294. (phy_a9.txgm[core] << 12) |
  23295. (phy_a9.pga[core] << 8) |
  23296. (txgains->gains.pad[core] << 3) |
  23297. (phy_a9.ipa[core]));
  23298. else
  23299. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23300. (phy_a9.txgm[core] << 12) |
  23301. (txgains->gains.pga[core] << 8) |
  23302. (phy_a9.pad[core] << 3) | (phy_a9.ipa[core]));
  23303. wlc_phy_rfctrl_override_1tomany_nphy(
  23304. pi,
  23305. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23306. phy_a5, (1 << core), 0);
  23307. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23308. if ((pi->pubpi.radiorev <= 4)
  23309. || (pi->pubpi.radiorev == 6))
  23310. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23311. 60 : 79;
  23312. else
  23313. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23314. 45 : 64;
  23315. } else {
  23316. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23317. }
  23318. m[phy_a7] = 0;
  23319. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23320. phy_a2 = 63;
  23321. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23322. if ((pi->pubpi.radiorev == 4)
  23323. || (pi->pubpi.radiorev == 6)) {
  23324. phy_a1 = 30;
  23325. phy_a3 = 30;
  23326. } else {
  23327. phy_a1 = 25;
  23328. phy_a3 = 25;
  23329. }
  23330. } else {
  23331. if ((pi->pubpi.radiorev == 5)
  23332. || (pi->pubpi.radiorev == 7)
  23333. || (pi->pubpi.radiorev == 8)) {
  23334. phy_a1 = 25;
  23335. phy_a3 = 25;
  23336. } else {
  23337. phy_a1 = 35;
  23338. phy_a3 = 35;
  23339. }
  23340. }
  23341. if (cal_mode == CAL_GCTRL) {
  23342. if ((pi->pubpi.radiorev == 5)
  23343. && (CHSPEC_IS2G(pi->radio_chanspec)))
  23344. phy_a1 = 55;
  23345. else if (((pi->pubpi.radiorev == 7) &&
  23346. (CHSPEC_IS2G(pi->radio_chanspec))) ||
  23347. ((pi->pubpi.radiorev == 8) &&
  23348. (CHSPEC_IS2G(pi->radio_chanspec))))
  23349. phy_a1 = 60;
  23350. else
  23351. phy_a1 = 63;
  23352. } else if ((cal_mode != CAL_FULL) && (cal_mode != CAL_SOFT)) {
  23353. phy_a1 = 35;
  23354. phy_a3 = 35;
  23355. }
  23356. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23357. 0x29b, (0x1 << 0), (1) << 0);
  23358. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23359. 0x29b, (0x1 << 0), (0) << 0);
  23360. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23361. 0x2a4, (0x1 << 13), (1) << 13);
  23362. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23363. 0x2a4, (0x1 << 13), (0) << 13);
  23364. write_phy_reg(pi, 0x2a1, 0x80);
  23365. write_phy_reg(pi, 0x2a2, 0x100);
  23366. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23367. 0x2a4, (0x7 << 4), (11) << 4);
  23368. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23369. 0x2a4, (0x7 << 8), (11) << 8);
  23370. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23371. 0x2a4, (0x7 << 0), (0x3) << 0);
  23372. write_phy_reg(pi, 0x2e5, 0x20);
  23373. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23374. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23375. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23376. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23377. 1, ((core == 0) ? 1 : 2), 0,
  23378. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23379. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23380. 0, ((core == 0) ? 2 : 1), 0,
  23381. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23382. write_phy_reg(pi, 0x2be, 1);
  23383. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23384. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23385. 0, 0x3, 0,
  23386. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23387. wlc_phy_table_write_nphy(pi,
  23388. (core ==
  23389. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23390. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23391. 32, &phy_a8);
  23392. if (cal_mode != CAL_GCTRL) {
  23393. if (CHSPEC_IS5G(pi->radio_chanspec))
  23394. wlc_phy_a1_nphy(pi, core, 5, 0, 35);
  23395. }
  23396. wlc_phy_rfctrl_override_1tomany_nphy(
  23397. pi,
  23398. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23399. phy_a5, (1 << core), 1);
  23400. } else {
  23401. if (txgains) {
  23402. if (txgains->useindex) {
  23403. phy_a4 = 15 - ((txgains->index) >> 3);
  23404. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23405. if (NREV_GE(pi->pubpi.phy_rev, 6))
  23406. phy_a5 = 0x00f7 | (phy_a4 << 8);
  23407. else
  23408. if (NREV_IS(pi->pubpi.phy_rev, 5))
  23409. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23410. else
  23411. phy_a5 = 0x50f7 | (phy_a4 << 8);
  23412. } else {
  23413. phy_a5 = 0x70f7 | (phy_a4 << 8);
  23414. }
  23415. wlc_phy_rfctrl_override_nphy(pi,
  23416. (0x1 << 13),
  23417. phy_a5,
  23418. (1 << core), 0);
  23419. } else {
  23420. wlc_phy_rfctrl_override_nphy(pi,
  23421. (0x1 << 13),
  23422. 0x5bf7,
  23423. (1 << core), 0);
  23424. }
  23425. }
  23426. if (CHSPEC_IS2G(pi->radio_chanspec))
  23427. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
  23428. else
  23429. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23430. m[phy_a7] = 0;
  23431. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23432. phy_a2 = 63;
  23433. if (cal_mode == CAL_FULL) {
  23434. phy_a1 = 25;
  23435. phy_a3 = 25;
  23436. } else if (cal_mode == CAL_SOFT) {
  23437. phy_a1 = 25;
  23438. phy_a3 = 25;
  23439. } else if (cal_mode == CAL_GCTRL) {
  23440. phy_a1 = 63;
  23441. phy_a3 = 25;
  23442. } else {
  23443. phy_a1 = 25;
  23444. phy_a3 = 25;
  23445. }
  23446. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23447. 0x29b, (0x1 << 0), (1) << 0);
  23448. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23449. 0x29b, (0x1 << 0), (0) << 0);
  23450. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23451. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23452. 0x2a4, (0x1 << 13), (1) << 13);
  23453. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23454. 0x2a4, (0x1 << 13), (0) << 13);
  23455. write_phy_reg(pi, 0x2a1, 0x20);
  23456. write_phy_reg(pi, 0x2a2, 0x60);
  23457. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23458. 0x2a4, (0xf << 4), (9) << 4);
  23459. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23460. 0x2a4, (0xf << 8), (9) << 8);
  23461. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23462. 0x2a4, (0xf << 0), (0x2) << 0);
  23463. write_phy_reg(pi, 0x2e5, 0x20);
  23464. } else {
  23465. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23466. 0x2a4, (0x1 << 11), (1) << 11);
  23467. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23468. 0x2a4, (0x1 << 11), (0) << 11);
  23469. write_phy_reg(pi, 0x2a1, 0x80);
  23470. write_phy_reg(pi, 0x2a2, 0x600);
  23471. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23472. 0x2a4, (0x7 << 4), (0) << 4);
  23473. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23474. 0x2a4, (0x7 << 8), (0) << 8);
  23475. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23476. 0x2a4, (0x7 << 0), (0x3) << 0);
  23477. mod_phy_reg(pi, 0x2a0, (0x3f << 8), (0x20) << 8);
  23478. }
  23479. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23480. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23481. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23482. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0x3, 0);
  23483. write_phy_reg(pi, 0x2be, 1);
  23484. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23485. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23486. wlc_phy_table_write_nphy(pi,
  23487. (core ==
  23488. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23489. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23490. 32, &phy_a8);
  23491. if (cal_mode != CAL_GCTRL)
  23492. wlc_phy_a1_nphy(pi, core, 5, 0, 40);
  23493. }
  23494. }
  23495. static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core)
  23496. {
  23497. int phy_a1;
  23498. int phy_a2;
  23499. bool phy_a3;
  23500. struct nphy_ipa_txcalgains phy_a4;
  23501. bool phy_a5 = false;
  23502. bool phy_a6 = true;
  23503. s32 phy_a7, phy_a8;
  23504. u32 phy_a9;
  23505. int phy_a10;
  23506. bool phy_a11 = false;
  23507. int phy_a12;
  23508. u8 phy_a13 = 0;
  23509. u8 phy_a14;
  23510. u8 *phy_a15 = NULL;
  23511. phy_a4.useindex = true;
  23512. phy_a12 = start_gain;
  23513. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23514. phy_a2 = 20;
  23515. phy_a1 = 1;
  23516. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23517. if (pi->pubpi.radiorev == 5) {
  23518. phy_a15 = pad_gain_codes_used_2057rev5;
  23519. phy_a13 =
  23520. sizeof(pad_gain_codes_used_2057rev5) /
  23521. sizeof(pad_gain_codes_used_2057rev5
  23522. [0]) - 1;
  23523. } else if ((pi->pubpi.radiorev == 7)
  23524. || (pi->pubpi.radiorev == 8)) {
  23525. phy_a15 = pad_gain_codes_used_2057rev7;
  23526. phy_a13 =
  23527. sizeof(pad_gain_codes_used_2057rev7) /
  23528. sizeof(pad_gain_codes_used_2057rev7
  23529. [0]) - 1;
  23530. } else {
  23531. phy_a15 = pad_all_gain_codes_2057;
  23532. phy_a13 = sizeof(pad_all_gain_codes_2057) /
  23533. sizeof(pad_all_gain_codes_2057[0]) -
  23534. 1;
  23535. }
  23536. } else {
  23537. phy_a15 = pga_all_gain_codes_2057;
  23538. phy_a13 = sizeof(pga_all_gain_codes_2057) /
  23539. sizeof(pga_all_gain_codes_2057[0]) - 1;
  23540. }
  23541. phy_a14 = 0;
  23542. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23543. if (CHSPEC_IS2G(pi->radio_chanspec))
  23544. phy_a4.gains.pad[core] =
  23545. (u16) phy_a15[phy_a12];
  23546. else
  23547. phy_a4.gains.pga[core] =
  23548. (u16) phy_a15[phy_a12];
  23549. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23550. wlc_phy_table_read_nphy(pi,
  23551. (core ==
  23552. PHY_CORE_0 ?
  23553. NPHY_TBL_ID_EPSILONTBL0 :
  23554. NPHY_TBL_ID_EPSILONTBL1), 1,
  23555. 63, 32, &phy_a9);
  23556. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23557. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23558. (phy_a8 == 4095) || (phy_a8 == -4096));
  23559. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23560. if (!phy_a3)
  23561. phy_a12 -= (u8) phy_a1;
  23562. phy_a11 = true;
  23563. break;
  23564. }
  23565. if (phy_a3)
  23566. phy_a12 += (u8) phy_a1;
  23567. else
  23568. phy_a12 -= (u8) phy_a1;
  23569. if ((phy_a12 < phy_a14) || (phy_a12 > phy_a13)) {
  23570. if (phy_a12 < phy_a14)
  23571. phy_a12 = phy_a14;
  23572. else
  23573. phy_a12 = phy_a13;
  23574. phy_a11 = true;
  23575. break;
  23576. }
  23577. phy_a6 = false;
  23578. phy_a5 = phy_a3;
  23579. }
  23580. } else {
  23581. phy_a2 = 10;
  23582. phy_a1 = 8;
  23583. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23584. phy_a4.index = (u8) phy_a12;
  23585. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23586. wlc_phy_table_read_nphy(pi,
  23587. (core ==
  23588. PHY_CORE_0 ?
  23589. NPHY_TBL_ID_EPSILONTBL0 :
  23590. NPHY_TBL_ID_EPSILONTBL1), 1,
  23591. 63, 32, &phy_a9);
  23592. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23593. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23594. (phy_a8 == 4095) || (phy_a8 == -4096));
  23595. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23596. if (!phy_a3)
  23597. phy_a12 -= (u8) phy_a1;
  23598. phy_a11 = true;
  23599. break;
  23600. }
  23601. if (phy_a3)
  23602. phy_a12 += (u8) phy_a1;
  23603. else
  23604. phy_a12 -= (u8) phy_a1;
  23605. if ((phy_a12 < 0) || (phy_a12 > 127)) {
  23606. if (phy_a12 < 0)
  23607. phy_a12 = 0;
  23608. else
  23609. phy_a12 = 127;
  23610. phy_a11 = true;
  23611. break;
  23612. }
  23613. phy_a6 = false;
  23614. phy_a5 = phy_a3;
  23615. }
  23616. }
  23617. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23618. return (u8) phy_a15[phy_a12];
  23619. else
  23620. return (u8) phy_a12;
  23621. }
  23622. static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal)
  23623. {
  23624. struct nphy_ipa_txcalgains phy_b1[2];
  23625. struct nphy_papd_restore_state phy_b2;
  23626. bool phy_b3;
  23627. u8 phy_b4;
  23628. u8 phy_b5;
  23629. s16 phy_b6, phy_b7, phy_b8;
  23630. u16 phy_b9;
  23631. s16 phy_b10, phy_b11, phy_b12;
  23632. phy_b11 = 0;
  23633. phy_b12 = 0;
  23634. phy_b7 = 0;
  23635. phy_b8 = 0;
  23636. phy_b6 = 0;
  23637. if (pi->nphy_papd_skip == 1)
  23638. return;
  23639. phy_b3 = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  23640. MCTL_EN_MAC));
  23641. if (!phy_b3)
  23642. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23643. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23644. pi->nphy_force_papd_cal = false;
  23645. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++)
  23646. pi->nphy_papd_tx_gain_at_last_cal[phy_b5] =
  23647. wlc_phy_txpwr_idx_cur_get_nphy(pi, phy_b5);
  23648. pi->nphy_papd_last_cal = pi->sh->now;
  23649. pi->nphy_papd_recal_counter++;
  23650. phy_b4 = pi->nphy_txpwrctrl;
  23651. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23652. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL0, 64, 0, 32,
  23653. nphy_papd_scaltbl);
  23654. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL1, 64, 0, 32,
  23655. nphy_papd_scaltbl);
  23656. phy_b9 = read_phy_reg(pi, 0x01);
  23657. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  23658. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23659. s32 i, val = 0;
  23660. for (i = 0; i < 64; i++)
  23661. wlc_phy_table_write_nphy(pi,
  23662. ((phy_b5 ==
  23663. PHY_CORE_0) ?
  23664. NPHY_TBL_ID_EPSILONTBL0 :
  23665. NPHY_TBL_ID_EPSILONTBL1), 1,
  23666. i, 32, &val);
  23667. }
  23668. wlc_phy_ipa_restore_tx_digi_filts_nphy(pi);
  23669. phy_b2.mm = wlc_phy_ipa_get_bbmult_nphy(pi);
  23670. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23671. wlc_phy_papd_cal_setup_nphy(pi, &phy_b2, phy_b5);
  23672. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23673. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23674. if ((pi->pubpi.radiorev == 3)
  23675. || (pi->pubpi.radiorev == 4)
  23676. || (pi->pubpi.radiorev == 6)) {
  23677. pi->nphy_papd_cal_gain_index[phy_b5] =
  23678. 23;
  23679. } else if (pi->pubpi.radiorev == 5) {
  23680. pi->nphy_papd_cal_gain_index[phy_b5] =
  23681. 0;
  23682. pi->nphy_papd_cal_gain_index[phy_b5] =
  23683. wlc_phy_a3_nphy(
  23684. pi,
  23685. pi->
  23686. nphy_papd_cal_gain_index
  23687. [phy_b5],
  23688. phy_b5);
  23689. } else if ((pi->pubpi.radiorev == 7)
  23690. || (pi->pubpi.radiorev == 8)) {
  23691. pi->nphy_papd_cal_gain_index[phy_b5] =
  23692. 0;
  23693. pi->nphy_papd_cal_gain_index[phy_b5] =
  23694. wlc_phy_a3_nphy(
  23695. pi,
  23696. pi->
  23697. nphy_papd_cal_gain_index
  23698. [phy_b5],
  23699. phy_b5);
  23700. }
  23701. phy_b1[phy_b5].gains.pad[phy_b5] =
  23702. pi->nphy_papd_cal_gain_index[phy_b5];
  23703. } else {
  23704. pi->nphy_papd_cal_gain_index[phy_b5] = 0;
  23705. pi->nphy_papd_cal_gain_index[phy_b5] =
  23706. wlc_phy_a3_nphy(
  23707. pi,
  23708. pi->
  23709. nphy_papd_cal_gain_index
  23710. [phy_b5], phy_b5);
  23711. phy_b1[phy_b5].gains.pga[phy_b5] =
  23712. pi->nphy_papd_cal_gain_index[phy_b5];
  23713. }
  23714. } else {
  23715. phy_b1[phy_b5].useindex = true;
  23716. phy_b1[phy_b5].index = 16;
  23717. phy_b1[phy_b5].index =
  23718. wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index,
  23719. phy_b5);
  23720. pi->nphy_papd_cal_gain_index[phy_b5] =
  23721. 15 - ((phy_b1[phy_b5].index) >> 3);
  23722. }
  23723. switch (pi->nphy_papd_cal_type) {
  23724. case 0:
  23725. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_FULL, phy_b5);
  23726. break;
  23727. case 1:
  23728. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_SOFT, phy_b5);
  23729. break;
  23730. }
  23731. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23732. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23733. }
  23734. if (NREV_LT(pi->pubpi.phy_rev, 7))
  23735. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23736. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23737. int eps_offset = 0;
  23738. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23739. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23740. if (pi->pubpi.radiorev == 3)
  23741. eps_offset = -2;
  23742. else if (pi->pubpi.radiorev == 5)
  23743. eps_offset = 3;
  23744. else
  23745. eps_offset = -1;
  23746. } else {
  23747. eps_offset = 2;
  23748. }
  23749. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23750. phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5];
  23751. phy_b10 = 0;
  23752. if ((pi->pubpi.radiorev == 3) ||
  23753. (pi->pubpi.radiorev == 4) ||
  23754. (pi->pubpi.radiorev == 6)) {
  23755. phy_b12 = -(
  23756. nphy_papd_padgain_dlt_2g_2057rev3n4
  23757. [phy_b8] + 1) / 2;
  23758. phy_b10 = -1;
  23759. } else if (pi->pubpi.radiorev == 5) {
  23760. phy_b12 = -(
  23761. nphy_papd_padgain_dlt_2g_2057rev5
  23762. [phy_b8] + 1) / 2;
  23763. } else if ((pi->pubpi.radiorev == 7) ||
  23764. (pi->pubpi.radiorev == 8)) {
  23765. phy_b12 = -(
  23766. nphy_papd_padgain_dlt_2g_2057rev7
  23767. [phy_b8] + 1) / 2;
  23768. }
  23769. } else {
  23770. phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5];
  23771. if ((pi->pubpi.radiorev == 3) ||
  23772. (pi->pubpi.radiorev == 4) ||
  23773. (pi->pubpi.radiorev == 6))
  23774. phy_b11 =
  23775. -(nphy_papd_pgagain_dlt_5g_2057
  23776. [phy_b7]
  23777. + 1) / 2;
  23778. else if ((pi->pubpi.radiorev == 7)
  23779. || (pi->pubpi.radiorev == 8))
  23780. phy_b11 = -(
  23781. nphy_papd_pgagain_dlt_5g_2057rev7
  23782. [phy_b7] + 1) / 2;
  23783. phy_b10 = -9;
  23784. }
  23785. if (CHSPEC_IS2G(pi->radio_chanspec))
  23786. phy_b6 =
  23787. -60 + 27 + eps_offset + phy_b12 +
  23788. phy_b10;
  23789. else
  23790. phy_b6 =
  23791. -60 + 27 + eps_offset + phy_b11 +
  23792. phy_b10;
  23793. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23794. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23795. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23796. } else {
  23797. if (NREV_LT(pi->pubpi.phy_rev, 5))
  23798. eps_offset = 4;
  23799. else
  23800. eps_offset = 2;
  23801. phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3);
  23802. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23803. phy_b11 =
  23804. -(nphy_papd_pga_gain_delta_ipa_2g[
  23805. phy_b7] +
  23806. 1) / 2;
  23807. phy_b10 = 0;
  23808. } else {
  23809. phy_b11 =
  23810. -(nphy_papd_pga_gain_delta_ipa_5g[
  23811. phy_b7] +
  23812. 1) / 2;
  23813. phy_b10 = -9;
  23814. }
  23815. phy_b6 = -60 + 27 + eps_offset + phy_b11 + phy_b10;
  23816. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23817. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23818. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23819. }
  23820. }
  23821. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  23822. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23823. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  23824. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23825. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23826. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23827. 0x2a4, (0x1 << 13), (0) << 13);
  23828. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23829. 0x2a4, (0x1 << 13), (0) << 13);
  23830. } else {
  23831. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23832. 0x2a4, (0x1 << 11), (0) << 11);
  23833. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23834. 0x2a4, (0x1 << 11), (0) << 11);
  23835. }
  23836. pi->nphy_papdcomp = NPHY_PAPD_COMP_ON;
  23837. write_phy_reg(pi, 0x01, phy_b9);
  23838. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  23839. wlc_phy_txpwrctrl_enable_nphy(pi, phy_b4);
  23840. if (phy_b4 == PHY_TPC_HW_OFF) {
  23841. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23842. (s8) (pi->nphy_txpwrindex[0].
  23843. index_internal), false);
  23844. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23845. (s8) (pi->nphy_txpwrindex[1].
  23846. index_internal), false);
  23847. }
  23848. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  23849. if (!phy_b3)
  23850. wlapi_enable_mac(pi->sh->physhim);
  23851. }
  23852. void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype)
  23853. {
  23854. struct nphy_txgains target_gain;
  23855. u8 tx_pwr_ctrl_state;
  23856. bool fullcal = true;
  23857. bool restore_tx_gain = false;
  23858. bool mphase;
  23859. if (PHY_MUTED(pi))
  23860. return;
  23861. if (caltype == PHY_PERICAL_AUTO)
  23862. fullcal = (pi->radio_chanspec != pi->nphy_txiqlocal_chanspec);
  23863. else if (caltype == PHY_PERICAL_PARTIAL)
  23864. fullcal = false;
  23865. if (pi->cal_type_override != PHY_PERICAL_AUTO)
  23866. fullcal =
  23867. (pi->cal_type_override ==
  23868. PHY_PERICAL_FULL) ? true : false;
  23869. if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) {
  23870. if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec)
  23871. wlc_phy_cal_perical_mphase_restart(pi);
  23872. }
  23873. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL))
  23874. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000);
  23875. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23876. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23877. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_IDLE) ||
  23878. (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_INIT)) {
  23879. pi->nphy_cal_orig_pwr_idx[0] =
  23880. (u8) ((read_phy_reg(pi, 0x1ed) >> 8) & 0x7f);
  23881. pi->nphy_cal_orig_pwr_idx[1] =
  23882. (u8) ((read_phy_reg(pi, 0x1ee) >> 8) & 0x7f);
  23883. if (pi->nphy_txpwrctrl != PHY_TPC_HW_OFF) {
  23884. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2,
  23885. 0x110, 16,
  23886. pi->nphy_cal_orig_tx_gain);
  23887. } else {
  23888. pi->nphy_cal_orig_tx_gain[0] = 0;
  23889. pi->nphy_cal_orig_tx_gain[1] = 0;
  23890. }
  23891. }
  23892. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23893. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  23894. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23895. if (pi->antsel_type == ANTSEL_2x3)
  23896. wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
  23897. mphase = (pi->mphase_cal_phase_id != MPHASE_CAL_STATE_IDLE);
  23898. if (!mphase) {
  23899. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23900. wlc_phy_precal_txgain_nphy(pi);
  23901. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23902. restore_tx_gain = true;
  23903. target_gain = pi->nphy_cal_target_gain;
  23904. }
  23905. if (0 ==
  23906. wlc_phy_cal_txiqlo_nphy(pi, target_gain, fullcal,
  23907. mphase)) {
  23908. if (PHY_IPA(pi))
  23909. wlc_phy_a4(pi, true);
  23910. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23911. wlapi_enable_mac(pi->sh->physhim);
  23912. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION,
  23913. 10000);
  23914. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23915. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23916. if (0 == wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23917. (pi->first_cal_after_assoc ||
  23918. (pi->cal_type_override ==
  23919. PHY_PERICAL_FULL)) ? 2 : 0, false)) {
  23920. wlc_phy_savecal_nphy(pi);
  23921. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23922. pi->nphy_perical_last = pi->sh->now;
  23923. }
  23924. }
  23925. if (caltype != PHY_PERICAL_AUTO)
  23926. wlc_phy_rssi_cal_nphy(pi);
  23927. if (pi->first_cal_after_assoc
  23928. || (pi->cal_type_override == PHY_PERICAL_FULL)) {
  23929. pi->first_cal_after_assoc = false;
  23930. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23931. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23932. }
  23933. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23934. wlc_phy_radio205x_vcocal_nphy(pi);
  23935. } else {
  23936. switch (pi->mphase_cal_phase_id) {
  23937. case MPHASE_CAL_STATE_INIT:
  23938. pi->nphy_perical_last = pi->sh->now;
  23939. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  23940. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23941. wlc_phy_precal_txgain_nphy(pi);
  23942. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23943. pi->mphase_cal_phase_id++;
  23944. break;
  23945. case MPHASE_CAL_STATE_TXPHASE0:
  23946. case MPHASE_CAL_STATE_TXPHASE1:
  23947. case MPHASE_CAL_STATE_TXPHASE2:
  23948. case MPHASE_CAL_STATE_TXPHASE3:
  23949. case MPHASE_CAL_STATE_TXPHASE4:
  23950. case MPHASE_CAL_STATE_TXPHASE5:
  23951. if ((pi->radar_percal_mask & 0x10) != 0)
  23952. pi->nphy_rxcal_active = true;
  23953. if (wlc_phy_cal_txiqlo_nphy
  23954. (pi, pi->nphy_cal_target_gain, fullcal,
  23955. true) != 0) {
  23956. wlc_phy_cal_perical_mphase_reset(pi);
  23957. break;
  23958. }
  23959. if (NREV_LE(pi->pubpi.phy_rev, 2) &&
  23960. (pi->mphase_cal_phase_id ==
  23961. MPHASE_CAL_STATE_TXPHASE4))
  23962. pi->mphase_cal_phase_id += 2;
  23963. else
  23964. pi->mphase_cal_phase_id++;
  23965. break;
  23966. case MPHASE_CAL_STATE_PAPDCAL:
  23967. if ((pi->radar_percal_mask & 0x2) != 0)
  23968. pi->nphy_rxcal_active = true;
  23969. if (PHY_IPA(pi))
  23970. wlc_phy_a4(pi, true);
  23971. pi->mphase_cal_phase_id++;
  23972. break;
  23973. case MPHASE_CAL_STATE_RXCAL:
  23974. if ((pi->radar_percal_mask & 0x1) != 0)
  23975. pi->nphy_rxcal_active = true;
  23976. if (wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23977. (pi->first_cal_after_assoc ||
  23978. (pi->cal_type_override ==
  23979. PHY_PERICAL_FULL)) ? 2 : 0,
  23980. false) == 0)
  23981. wlc_phy_savecal_nphy(pi);
  23982. pi->mphase_cal_phase_id++;
  23983. break;
  23984. case MPHASE_CAL_STATE_RSSICAL:
  23985. if ((pi->radar_percal_mask & 0x4) != 0)
  23986. pi->nphy_rxcal_active = true;
  23987. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23988. wlc_phy_rssi_cal_nphy(pi);
  23989. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23990. wlc_phy_radio205x_vcocal_nphy(pi);
  23991. restore_tx_gain = true;
  23992. if (pi->first_cal_after_assoc)
  23993. pi->mphase_cal_phase_id++;
  23994. else
  23995. wlc_phy_cal_perical_mphase_reset(pi);
  23996. break;
  23997. case MPHASE_CAL_STATE_IDLETSSI:
  23998. if ((pi->radar_percal_mask & 0x8) != 0)
  23999. pi->nphy_rxcal_active = true;
  24000. if (pi->first_cal_after_assoc) {
  24001. pi->first_cal_after_assoc = false;
  24002. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  24003. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  24004. }
  24005. wlc_phy_cal_perical_mphase_reset(pi);
  24006. break;
  24007. default:
  24008. wlc_phy_cal_perical_mphase_reset(pi);
  24009. break;
  24010. }
  24011. }
  24012. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24013. if (restore_tx_gain) {
  24014. if (tx_pwr_ctrl_state != PHY_TPC_HW_OFF) {
  24015. wlc_phy_txpwr_index_nphy(pi, 1,
  24016. pi->
  24017. nphy_cal_orig_pwr_idx
  24018. [0], false);
  24019. wlc_phy_txpwr_index_nphy(pi, 2,
  24020. pi->
  24021. nphy_cal_orig_pwr_idx
  24022. [1], false);
  24023. pi->nphy_txpwrindex[0].index = -1;
  24024. pi->nphy_txpwrindex[1].index = -1;
  24025. } else {
  24026. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  24027. (s8) (pi->
  24028. nphy_txpwrindex
  24029. [0].
  24030. index_internal),
  24031. false);
  24032. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  24033. (s8) (pi->
  24034. nphy_txpwrindex
  24035. [1].
  24036. index_internal),
  24037. false);
  24038. }
  24039. }
  24040. }
  24041. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  24042. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  24043. wlapi_enable_mac(pi->sh->physhim);
  24044. }
  24045. int
  24046. wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  24047. bool fullcal, bool mphase)
  24048. {
  24049. u16 val;
  24050. u16 tbl_buf[11];
  24051. u8 cal_cnt;
  24052. u16 cal_cmd;
  24053. u8 num_cals, max_cal_cmds;
  24054. u16 core_no, cal_type;
  24055. u16 diq_start = 0;
  24056. u8 phy_bw;
  24057. u16 max_val;
  24058. u16 tone_freq;
  24059. u16 gain_save[2];
  24060. u16 cal_gain[2];
  24061. struct nphy_iqcal_params cal_params[2];
  24062. u32 tbl_len;
  24063. void *tbl_ptr;
  24064. bool ladder_updated[2];
  24065. u8 mphase_cal_lastphase = 0;
  24066. int bcmerror = 0;
  24067. bool phyhang_avoid_state = false;
  24068. u16 tbl_tx_iqlo_cal_loft_ladder_20[] = {
  24069. 0x0300, 0x0500, 0x0700, 0x0900, 0x0d00, 0x1100, 0x1900, 0x1901,
  24070. 0x1902,
  24071. 0x1903, 0x1904, 0x1905, 0x1906, 0x1907, 0x2407, 0x3207, 0x4607,
  24072. 0x6407
  24073. };
  24074. u16 tbl_tx_iqlo_cal_iqimb_ladder_20[] = {
  24075. 0x0200, 0x0300, 0x0600, 0x0900, 0x0d00, 0x1100, 0x1900, 0x2400,
  24076. 0x3200,
  24077. 0x4600, 0x6400, 0x6401, 0x6402, 0x6403, 0x6404, 0x6405, 0x6406,
  24078. 0x6407
  24079. };
  24080. u16 tbl_tx_iqlo_cal_loft_ladder_40[] = {
  24081. 0x0200, 0x0300, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1201,
  24082. 0x1202,
  24083. 0x1203, 0x1204, 0x1205, 0x1206, 0x1207, 0x1907, 0x2307, 0x3207,
  24084. 0x4707
  24085. };
  24086. u16 tbl_tx_iqlo_cal_iqimb_ladder_40[] = {
  24087. 0x0100, 0x0200, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1900,
  24088. 0x2300,
  24089. 0x3200, 0x4700, 0x4701, 0x4702, 0x4703, 0x4704, 0x4705, 0x4706,
  24090. 0x4707
  24091. };
  24092. u16 tbl_tx_iqlo_cal_startcoefs[] = {
  24093. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24094. 0x0000
  24095. };
  24096. u16 tbl_tx_iqlo_cal_cmds_fullcal[] = {
  24097. 0x8123, 0x8264, 0x8086, 0x8245, 0x8056,
  24098. 0x9123, 0x9264, 0x9086, 0x9245, 0x9056
  24099. };
  24100. u16 tbl_tx_iqlo_cal_cmds_recal[] = {
  24101. 0x8101, 0x8253, 0x8053, 0x8234, 0x8034,
  24102. 0x9101, 0x9253, 0x9053, 0x9234, 0x9034
  24103. };
  24104. u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[] = {
  24105. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24106. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  24107. 0x0000
  24108. };
  24109. u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[] = {
  24110. 0x8434, 0x8334, 0x8084, 0x8267, 0x8056, 0x8234,
  24111. 0x9434, 0x9334, 0x9084, 0x9267, 0x9056, 0x9234
  24112. };
  24113. u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[] = {
  24114. 0x8423, 0x8323, 0x8073, 0x8256, 0x8045, 0x8223,
  24115. 0x9423, 0x9323, 0x9073, 0x9256, 0x9045, 0x9223
  24116. };
  24117. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  24118. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  24119. phyhang_avoid_state = pi->phyhang_avoid;
  24120. pi->phyhang_avoid = false;
  24121. }
  24122. if (CHSPEC_IS40(pi->radio_chanspec))
  24123. phy_bw = 40;
  24124. else
  24125. phy_bw = 20;
  24126. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  24127. for (core_no = 0; core_no <= 1; core_no++) {
  24128. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  24129. &cal_params[core_no]);
  24130. cal_gain[core_no] = cal_params[core_no].cal_gain;
  24131. }
  24132. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  24133. wlc_phy_txcal_radio_setup_nphy(pi);
  24134. wlc_phy_txcal_physetup_nphy(pi);
  24135. ladder_updated[0] = ladder_updated[1] = false;
  24136. if (!(NREV_GE(pi->pubpi.phy_rev, 6) ||
  24137. (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi)
  24138. && (CHSPEC_IS2G(pi->radio_chanspec))))) {
  24139. if (phy_bw == 40) {
  24140. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_40;
  24141. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_40);
  24142. } else {
  24143. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_20;
  24144. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_20);
  24145. }
  24146. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 0,
  24147. 16, tbl_ptr);
  24148. if (phy_bw == 40) {
  24149. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_40;
  24150. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_40);
  24151. } else {
  24152. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_20;
  24153. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_20);
  24154. }
  24155. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 32,
  24156. 16, tbl_ptr);
  24157. }
  24158. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24159. write_phy_reg(pi, 0xc2, 0x8ad9);
  24160. else
  24161. write_phy_reg(pi, 0xc2, 0x8aa9);
  24162. max_val = 250;
  24163. tone_freq = (phy_bw == 20) ? 2500 : 5000;
  24164. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24165. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff, 0, 1, 0, false);
  24166. bcmerror = 0;
  24167. } else {
  24168. bcmerror =
  24169. wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0,
  24170. false);
  24171. }
  24172. if (bcmerror == 0) {
  24173. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24174. tbl_ptr = pi->mphase_txcal_bestcoeffs;
  24175. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24176. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24177. tbl_len -= 2;
  24178. } else {
  24179. if ((!fullcal) && (pi->nphy_txiqlocal_coeffsvalid)) {
  24180. tbl_ptr = pi->nphy_txiqlocal_bestc;
  24181. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24182. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24183. tbl_len -= 2;
  24184. } else {
  24185. fullcal = true;
  24186. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24187. tbl_ptr =
  24188. tbl_tx_iqlo_cal_startcoefs_nphyrev3;
  24189. tbl_len = ARRAY_SIZE(
  24190. tbl_tx_iqlo_cal_startcoefs_nphyrev3);
  24191. } else {
  24192. tbl_ptr = tbl_tx_iqlo_cal_startcoefs;
  24193. tbl_len = ARRAY_SIZE(
  24194. tbl_tx_iqlo_cal_startcoefs);
  24195. }
  24196. }
  24197. }
  24198. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 64,
  24199. 16, tbl_ptr);
  24200. if (fullcal) {
  24201. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24202. ARRAY_SIZE(
  24203. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3) :
  24204. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_fullcal);
  24205. } else {
  24206. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24207. ARRAY_SIZE(
  24208. tbl_tx_iqlo_cal_cmds_recal_nphyrev3) :
  24209. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_recal);
  24210. }
  24211. if (mphase) {
  24212. cal_cnt = pi->mphase_txcal_cmdidx;
  24213. if ((cal_cnt + pi->mphase_txcal_numcmds) < max_cal_cmds)
  24214. num_cals = cal_cnt + pi->mphase_txcal_numcmds;
  24215. else
  24216. num_cals = max_cal_cmds;
  24217. } else {
  24218. cal_cnt = 0;
  24219. num_cals = max_cal_cmds;
  24220. }
  24221. for (; cal_cnt < num_cals; cal_cnt++) {
  24222. if (fullcal) {
  24223. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24224. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3
  24225. [cal_cnt] :
  24226. tbl_tx_iqlo_cal_cmds_fullcal[cal_cnt];
  24227. } else {
  24228. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24229. tbl_tx_iqlo_cal_cmds_recal_nphyrev3[
  24230. cal_cnt]
  24231. : tbl_tx_iqlo_cal_cmds_recal[cal_cnt];
  24232. }
  24233. core_no = ((cal_cmd & 0x3000) >> 12);
  24234. cal_type = ((cal_cmd & 0x0F00) >> 8);
  24235. if (NREV_GE(pi->pubpi.phy_rev, 6) ||
  24236. (NREV_IS(pi->pubpi.phy_rev, 5) &&
  24237. PHY_IPA(pi)
  24238. && (CHSPEC_IS2G(pi->radio_chanspec)))) {
  24239. if (!ladder_updated[core_no]) {
  24240. wlc_phy_update_txcal_ladder_nphy(
  24241. pi,
  24242. core_no);
  24243. ladder_updated[core_no] = true;
  24244. }
  24245. }
  24246. val =
  24247. (cal_params[core_no].
  24248. ncorr[cal_type] << 8) | NPHY_N_GCTL;
  24249. write_phy_reg(pi, 0xc1, val);
  24250. if ((cal_type == 1) || (cal_type == 3)
  24251. || (cal_type == 4)) {
  24252. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24253. 1, 69 + core_no, 16,
  24254. tbl_buf);
  24255. diq_start = tbl_buf[0];
  24256. tbl_buf[0] = 0;
  24257. wlc_phy_table_write_nphy(pi,
  24258. NPHY_TBL_ID_IQLOCAL, 1,
  24259. 69 + core_no, 16,
  24260. tbl_buf);
  24261. }
  24262. write_phy_reg(pi, 0xc0, cal_cmd);
  24263. SPINWAIT(((read_phy_reg(pi, 0xc0) & 0xc000) != 0),
  24264. 20000);
  24265. if (WARN(read_phy_reg(pi, 0xc0) & 0xc000,
  24266. "HW error: txiq calib"))
  24267. return -EIO;
  24268. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24269. tbl_len, 96, 16, tbl_buf);
  24270. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24271. tbl_len, 64, 16, tbl_buf);
  24272. if ((cal_type == 1) || (cal_type == 3)
  24273. || (cal_type == 4)) {
  24274. tbl_buf[0] = diq_start;
  24275. }
  24276. }
  24277. if (mphase) {
  24278. pi->mphase_txcal_cmdidx = num_cals;
  24279. if (pi->mphase_txcal_cmdidx >= max_cal_cmds)
  24280. pi->mphase_txcal_cmdidx = 0;
  24281. }
  24282. mphase_cal_lastphase =
  24283. (NREV_LE(pi->pubpi.phy_rev, 2)) ?
  24284. MPHASE_CAL_STATE_TXPHASE4 : MPHASE_CAL_STATE_TXPHASE5;
  24285. if (!mphase
  24286. || (pi->mphase_cal_phase_id == mphase_cal_lastphase)) {
  24287. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 96,
  24288. 16, tbl_buf);
  24289. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24290. 16, tbl_buf);
  24291. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24292. tbl_buf[0] = 0;
  24293. tbl_buf[1] = 0;
  24294. tbl_buf[2] = 0;
  24295. tbl_buf[3] = 0;
  24296. }
  24297. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24298. 16, tbl_buf);
  24299. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 101,
  24300. 16, tbl_buf);
  24301. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24302. 16, tbl_buf);
  24303. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24304. 16, tbl_buf);
  24305. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24306. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24307. tbl_len -= 2;
  24308. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24309. tbl_len, 96, 16,
  24310. pi->nphy_txiqlocal_bestc);
  24311. pi->nphy_txiqlocal_coeffsvalid = true;
  24312. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  24313. } else {
  24314. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24315. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24316. tbl_len -= 2;
  24317. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24318. tbl_len, 96, 16,
  24319. pi->mphase_txcal_bestcoeffs);
  24320. }
  24321. wlc_phy_stopplayback_nphy(pi);
  24322. write_phy_reg(pi, 0xc2, 0x0000);
  24323. }
  24324. wlc_phy_txcal_phycleanup_nphy(pi);
  24325. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  24326. gain_save);
  24327. wlc_phy_txcal_radio_cleanup_nphy(pi);
  24328. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24329. if (!mphase
  24330. || (pi->mphase_cal_phase_id == mphase_cal_lastphase))
  24331. wlc_phy_tx_iq_war_nphy(pi);
  24332. }
  24333. if (NREV_GE(pi->pubpi.phy_rev, 4))
  24334. pi->phyhang_avoid = phyhang_avoid_state;
  24335. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  24336. return bcmerror;
  24337. }
  24338. static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi)
  24339. {
  24340. u16 tbl_buf[7];
  24341. if ((pi->nphy_txiqlocal_chanspec == pi->radio_chanspec) &&
  24342. (pi->nphy_txiqlocal_coeffsvalid)) {
  24343. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24344. ARRAY_SIZE(tbl_buf), 80, 16, tbl_buf);
  24345. if ((pi->nphy_txiqlocal_bestc[0] != tbl_buf[0]) ||
  24346. (pi->nphy_txiqlocal_bestc[1] != tbl_buf[1]) ||
  24347. (pi->nphy_txiqlocal_bestc[2] != tbl_buf[2]) ||
  24348. (pi->nphy_txiqlocal_bestc[3] != tbl_buf[3])) {
  24349. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24350. 16, pi->nphy_txiqlocal_bestc);
  24351. tbl_buf[0] = 0;
  24352. tbl_buf[1] = 0;
  24353. tbl_buf[2] = 0;
  24354. tbl_buf[3] = 0;
  24355. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24356. 16, tbl_buf);
  24357. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24358. 16,
  24359. &pi->nphy_txiqlocal_bestc[5]);
  24360. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24361. 16,
  24362. &pi->nphy_txiqlocal_bestc[5]);
  24363. }
  24364. }
  24365. }
  24366. void
  24367. wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write,
  24368. struct nphy_iq_comp *pcomp)
  24369. {
  24370. if (write) {
  24371. write_phy_reg(pi, 0x9a, pcomp->a0);
  24372. write_phy_reg(pi, 0x9b, pcomp->b0);
  24373. write_phy_reg(pi, 0x9c, pcomp->a1);
  24374. write_phy_reg(pi, 0x9d, pcomp->b1);
  24375. } else {
  24376. pcomp->a0 = read_phy_reg(pi, 0x9a);
  24377. pcomp->b0 = read_phy_reg(pi, 0x9b);
  24378. pcomp->a1 = read_phy_reg(pi, 0x9c);
  24379. pcomp->b1 = read_phy_reg(pi, 0x9d);
  24380. }
  24381. }
  24382. void
  24383. wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
  24384. u16 num_samps, u8 wait_time, u8 wait_for_crs)
  24385. {
  24386. u8 core;
  24387. write_phy_reg(pi, 0x12b, num_samps);
  24388. mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0));
  24389. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqMode,
  24390. (wait_for_crs) ? NPHY_IqestCmd_iqMode : 0);
  24391. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqstart, NPHY_IqestCmd_iqstart);
  24392. SPINWAIT(((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) != 0),
  24393. 10000);
  24394. if (WARN(read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart,
  24395. "HW error: rxiq est"))
  24396. return;
  24397. if ((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) == 0) {
  24398. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  24399. est[core].i_pwr =
  24400. (read_phy_reg(pi,
  24401. NPHY_IqestipwrAccHi(core)) << 16)
  24402. | read_phy_reg(pi, NPHY_IqestipwrAccLo(core));
  24403. est[core].q_pwr =
  24404. (read_phy_reg(pi,
  24405. NPHY_IqestqpwrAccHi(core)) << 16)
  24406. | read_phy_reg(pi, NPHY_IqestqpwrAccLo(core));
  24407. est[core].iq_prod =
  24408. (read_phy_reg(pi,
  24409. NPHY_IqestIqAccHi(core)) << 16) |
  24410. read_phy_reg(pi, NPHY_IqestIqAccLo(core));
  24411. }
  24412. }
  24413. }
  24414. #define CAL_RETRY_CNT 2
  24415. static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask)
  24416. {
  24417. u8 curr_core;
  24418. struct phy_iq_est est[PHY_CORE_MAX];
  24419. struct nphy_iq_comp old_comp, new_comp;
  24420. s32 iq = 0;
  24421. u32 ii = 0, qq = 0;
  24422. s16 iq_nbits, qq_nbits, brsh, arsh;
  24423. s32 a, b, temp;
  24424. int bcmerror = 0;
  24425. uint cal_retry = 0;
  24426. if (core_mask == 0x0)
  24427. return;
  24428. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &old_comp);
  24429. new_comp.a0 = new_comp.b0 = new_comp.a1 = new_comp.b1 = 0x0;
  24430. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24431. cal_try:
  24432. wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0);
  24433. new_comp = old_comp;
  24434. for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) {
  24435. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24436. iq = est[curr_core].iq_prod;
  24437. ii = est[curr_core].i_pwr;
  24438. qq = est[curr_core].q_pwr;
  24439. } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24440. iq = est[curr_core].iq_prod;
  24441. ii = est[curr_core].i_pwr;
  24442. qq = est[curr_core].q_pwr;
  24443. } else {
  24444. continue;
  24445. }
  24446. if ((ii + qq) < NPHY_MIN_RXIQ_PWR) {
  24447. bcmerror = -EBADE;
  24448. break;
  24449. }
  24450. iq_nbits = wlc_phy_nbits(iq);
  24451. qq_nbits = wlc_phy_nbits(qq);
  24452. arsh = 10 - (30 - iq_nbits);
  24453. if (arsh >= 0) {
  24454. a = (-(iq << (30 - iq_nbits)) + (ii >> (1 + arsh)));
  24455. temp = (s32) (ii >> arsh);
  24456. if (temp == 0) {
  24457. bcmerror = -EBADE;
  24458. break;
  24459. }
  24460. } else {
  24461. a = (-(iq << (30 - iq_nbits)) + (ii << (-1 - arsh)));
  24462. temp = (s32) (ii << -arsh);
  24463. if (temp == 0) {
  24464. bcmerror = -EBADE;
  24465. break;
  24466. }
  24467. }
  24468. a /= temp;
  24469. brsh = qq_nbits - 31 + 20;
  24470. if (brsh >= 0) {
  24471. b = (qq << (31 - qq_nbits));
  24472. temp = (s32) (ii >> brsh);
  24473. if (temp == 0) {
  24474. bcmerror = -EBADE;
  24475. break;
  24476. }
  24477. } else {
  24478. b = (qq << (31 - qq_nbits));
  24479. temp = (s32) (ii << -brsh);
  24480. if (temp == 0) {
  24481. bcmerror = -EBADE;
  24482. break;
  24483. }
  24484. }
  24485. b /= temp;
  24486. b -= a * a;
  24487. b = (s32) int_sqrt((unsigned long) b);
  24488. b -= (1 << 10);
  24489. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24490. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24491. new_comp.a0 = (s16) a & 0x3ff;
  24492. new_comp.b0 = (s16) b & 0x3ff;
  24493. } else {
  24494. new_comp.a0 = (s16) b & 0x3ff;
  24495. new_comp.b0 = (s16) a & 0x3ff;
  24496. }
  24497. }
  24498. if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24499. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24500. new_comp.a1 = (s16) a & 0x3ff;
  24501. new_comp.b1 = (s16) b & 0x3ff;
  24502. } else {
  24503. new_comp.a1 = (s16) b & 0x3ff;
  24504. new_comp.b1 = (s16) a & 0x3ff;
  24505. }
  24506. }
  24507. }
  24508. if (bcmerror != 0) {
  24509. printk(KERN_DEBUG "%s: Failed, cnt = %d\n", __func__,
  24510. cal_retry);
  24511. if (cal_retry < CAL_RETRY_CNT) {
  24512. cal_retry++;
  24513. goto cal_try;
  24514. }
  24515. new_comp = old_comp;
  24516. }
  24517. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24518. }
  24519. static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core)
  24520. {
  24521. u16 offtune_val;
  24522. u16 bias_g = 0;
  24523. u16 bias_a = 0;
  24524. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24525. if (rx_core == PHY_CORE_0) {
  24526. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24527. pi->tx_rx_cal_radio_saveregs[0] =
  24528. read_radio_reg(pi,
  24529. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP);
  24530. pi->tx_rx_cal_radio_saveregs[1] =
  24531. read_radio_reg(pi,
  24532. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN);
  24533. write_radio_reg(pi,
  24534. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24535. 0x3);
  24536. write_radio_reg(pi,
  24537. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24538. 0xaf);
  24539. } else {
  24540. pi->tx_rx_cal_radio_saveregs[0] =
  24541. read_radio_reg(pi,
  24542. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP);
  24543. pi->tx_rx_cal_radio_saveregs[1] =
  24544. read_radio_reg(pi,
  24545. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN);
  24546. write_radio_reg(
  24547. pi,
  24548. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24549. 0x3);
  24550. write_radio_reg(
  24551. pi,
  24552. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24553. 0x7f);
  24554. }
  24555. } else {
  24556. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24557. pi->tx_rx_cal_radio_saveregs[0] =
  24558. read_radio_reg(pi,
  24559. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP);
  24560. pi->tx_rx_cal_radio_saveregs[1] =
  24561. read_radio_reg(pi,
  24562. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN);
  24563. write_radio_reg(
  24564. pi,
  24565. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24566. 0x3);
  24567. write_radio_reg(
  24568. pi,
  24569. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24570. 0xaf);
  24571. } else {
  24572. pi->tx_rx_cal_radio_saveregs[0] =
  24573. read_radio_reg(pi,
  24574. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP);
  24575. pi->tx_rx_cal_radio_saveregs[1] =
  24576. read_radio_reg(pi,
  24577. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN);
  24578. write_radio_reg(pi,
  24579. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24580. 0x3);
  24581. write_radio_reg(pi,
  24582. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24583. 0x7f);
  24584. }
  24585. }
  24586. } else {
  24587. if (rx_core == PHY_CORE_0) {
  24588. pi->tx_rx_cal_radio_saveregs[0] =
  24589. read_radio_reg(pi,
  24590. RADIO_2056_TX_RXIQCAL_TXMUX |
  24591. RADIO_2056_TX1);
  24592. pi->tx_rx_cal_radio_saveregs[1] =
  24593. read_radio_reg(pi,
  24594. RADIO_2056_RX_RXIQCAL_RXMUX |
  24595. RADIO_2056_RX0);
  24596. if (pi->pubpi.radiorev >= 5) {
  24597. pi->tx_rx_cal_radio_saveregs[2] =
  24598. read_radio_reg(pi,
  24599. RADIO_2056_RX_RXSPARE2 |
  24600. RADIO_2056_RX0);
  24601. pi->tx_rx_cal_radio_saveregs[3] =
  24602. read_radio_reg(pi,
  24603. RADIO_2056_TX_TXSPARE2 |
  24604. RADIO_2056_TX1);
  24605. }
  24606. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24607. if (pi->pubpi.radiorev >= 5) {
  24608. pi->tx_rx_cal_radio_saveregs[4] =
  24609. read_radio_reg(pi,
  24610. RADIO_2056_RX_LNAA_MASTER
  24611. | RADIO_2056_RX0);
  24612. write_radio_reg(
  24613. pi,
  24614. RADIO_2056_RX_LNAA_MASTER
  24615. | RADIO_2056_RX0, 0x40);
  24616. write_radio_reg(pi,
  24617. RADIO_2056_TX_TXSPARE2 |
  24618. RADIO_2056_TX1, bias_a);
  24619. write_radio_reg(pi,
  24620. RADIO_2056_RX_RXSPARE2 |
  24621. RADIO_2056_RX0, bias_a);
  24622. } else {
  24623. pi->tx_rx_cal_radio_saveregs[4] =
  24624. read_radio_reg(pi,
  24625. RADIO_2056_RX_LNAA_TUNE
  24626. | RADIO_2056_RX0);
  24627. offtune_val =
  24628. (pi->tx_rx_cal_radio_saveregs
  24629. [2] & 0xF0) >> 8;
  24630. offtune_val =
  24631. (offtune_val <= 0x7) ? 0xF : 0;
  24632. mod_radio_reg(pi,
  24633. RADIO_2056_RX_LNAA_TUNE |
  24634. RADIO_2056_RX0, 0xF0,
  24635. (offtune_val << 8));
  24636. }
  24637. write_radio_reg(pi,
  24638. RADIO_2056_TX_RXIQCAL_TXMUX |
  24639. RADIO_2056_TX1, 0x9);
  24640. write_radio_reg(pi,
  24641. RADIO_2056_RX_RXIQCAL_RXMUX |
  24642. RADIO_2056_RX0, 0x9);
  24643. } else {
  24644. if (pi->pubpi.radiorev >= 5) {
  24645. pi->tx_rx_cal_radio_saveregs[4] =
  24646. read_radio_reg(
  24647. pi,
  24648. RADIO_2056_RX_LNAG_MASTER
  24649. | RADIO_2056_RX0);
  24650. write_radio_reg(
  24651. pi,
  24652. RADIO_2056_RX_LNAG_MASTER
  24653. | RADIO_2056_RX0, 0x40);
  24654. write_radio_reg(
  24655. pi,
  24656. RADIO_2056_TX_TXSPARE2
  24657. |
  24658. RADIO_2056_TX1, bias_g);
  24659. write_radio_reg(
  24660. pi,
  24661. RADIO_2056_RX_RXSPARE2
  24662. |
  24663. RADIO_2056_RX0, bias_g);
  24664. } else {
  24665. pi->tx_rx_cal_radio_saveregs[4] =
  24666. read_radio_reg(
  24667. pi,
  24668. RADIO_2056_RX_LNAG_TUNE
  24669. | RADIO_2056_RX0);
  24670. offtune_val =
  24671. (pi->
  24672. tx_rx_cal_radio_saveregs[2] &
  24673. 0xF0) >> 8;
  24674. offtune_val =
  24675. (offtune_val <= 0x7) ? 0xF : 0;
  24676. mod_radio_reg(pi,
  24677. RADIO_2056_RX_LNAG_TUNE |
  24678. RADIO_2056_RX0, 0xF0,
  24679. (offtune_val << 8));
  24680. }
  24681. write_radio_reg(pi,
  24682. RADIO_2056_TX_RXIQCAL_TXMUX |
  24683. RADIO_2056_TX1, 0x6);
  24684. write_radio_reg(pi,
  24685. RADIO_2056_RX_RXIQCAL_RXMUX |
  24686. RADIO_2056_RX0, 0x6);
  24687. }
  24688. } else {
  24689. pi->tx_rx_cal_radio_saveregs[0] =
  24690. read_radio_reg(pi,
  24691. RADIO_2056_TX_RXIQCAL_TXMUX |
  24692. RADIO_2056_TX0);
  24693. pi->tx_rx_cal_radio_saveregs[1] =
  24694. read_radio_reg(pi,
  24695. RADIO_2056_RX_RXIQCAL_RXMUX |
  24696. RADIO_2056_RX1);
  24697. if (pi->pubpi.radiorev >= 5) {
  24698. pi->tx_rx_cal_radio_saveregs[2] =
  24699. read_radio_reg(pi,
  24700. RADIO_2056_RX_RXSPARE2 |
  24701. RADIO_2056_RX1);
  24702. pi->tx_rx_cal_radio_saveregs[3] =
  24703. read_radio_reg(pi,
  24704. RADIO_2056_TX_TXSPARE2 |
  24705. RADIO_2056_TX0);
  24706. }
  24707. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24708. if (pi->pubpi.radiorev >= 5) {
  24709. pi->tx_rx_cal_radio_saveregs[4] =
  24710. read_radio_reg(
  24711. pi,
  24712. RADIO_2056_RX_LNAA_MASTER
  24713. | RADIO_2056_RX1);
  24714. write_radio_reg(
  24715. pi,
  24716. RADIO_2056_RX_LNAA_MASTER |
  24717. RADIO_2056_RX1, 0x40);
  24718. write_radio_reg(
  24719. pi,
  24720. RADIO_2056_TX_TXSPARE2
  24721. |
  24722. RADIO_2056_TX0, bias_a);
  24723. write_radio_reg(
  24724. pi,
  24725. RADIO_2056_RX_RXSPARE2
  24726. |
  24727. RADIO_2056_RX1, bias_a);
  24728. } else {
  24729. pi->tx_rx_cal_radio_saveregs[4] =
  24730. read_radio_reg(
  24731. pi,
  24732. RADIO_2056_RX_LNAA_TUNE
  24733. | RADIO_2056_RX1);
  24734. offtune_val =
  24735. (pi->
  24736. tx_rx_cal_radio_saveregs[2] &
  24737. 0xF0) >> 8;
  24738. offtune_val =
  24739. (offtune_val <= 0x7) ? 0xF : 0;
  24740. mod_radio_reg(pi,
  24741. RADIO_2056_RX_LNAA_TUNE |
  24742. RADIO_2056_RX1, 0xF0,
  24743. (offtune_val << 8));
  24744. }
  24745. write_radio_reg(pi,
  24746. RADIO_2056_TX_RXIQCAL_TXMUX |
  24747. RADIO_2056_TX0, 0x9);
  24748. write_radio_reg(pi,
  24749. RADIO_2056_RX_RXIQCAL_RXMUX |
  24750. RADIO_2056_RX1, 0x9);
  24751. } else {
  24752. if (pi->pubpi.radiorev >= 5) {
  24753. pi->tx_rx_cal_radio_saveregs[4] =
  24754. read_radio_reg(
  24755. pi,
  24756. RADIO_2056_RX_LNAG_MASTER
  24757. | RADIO_2056_RX1);
  24758. write_radio_reg(
  24759. pi,
  24760. RADIO_2056_RX_LNAG_MASTER
  24761. | RADIO_2056_RX1, 0x40);
  24762. write_radio_reg(
  24763. pi,
  24764. RADIO_2056_TX_TXSPARE2
  24765. |
  24766. RADIO_2056_TX0, bias_g);
  24767. write_radio_reg(
  24768. pi,
  24769. RADIO_2056_RX_RXSPARE2
  24770. |
  24771. RADIO_2056_RX1, bias_g);
  24772. } else {
  24773. pi->tx_rx_cal_radio_saveregs[4] =
  24774. read_radio_reg(
  24775. pi,
  24776. RADIO_2056_RX_LNAG_TUNE
  24777. | RADIO_2056_RX1);
  24778. offtune_val =
  24779. (pi->
  24780. tx_rx_cal_radio_saveregs[2] &
  24781. 0xF0) >> 8;
  24782. offtune_val =
  24783. (offtune_val <= 0x7) ? 0xF : 0;
  24784. mod_radio_reg(pi,
  24785. RADIO_2056_RX_LNAG_TUNE |
  24786. RADIO_2056_RX1, 0xF0,
  24787. (offtune_val << 8));
  24788. }
  24789. write_radio_reg(pi,
  24790. RADIO_2056_TX_RXIQCAL_TXMUX |
  24791. RADIO_2056_TX0, 0x6);
  24792. write_radio_reg(pi,
  24793. RADIO_2056_RX_RXIQCAL_RXMUX |
  24794. RADIO_2056_RX1, 0x6);
  24795. }
  24796. }
  24797. }
  24798. }
  24799. static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24800. {
  24801. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24802. if (rx_core == PHY_CORE_0) {
  24803. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24804. write_radio_reg(
  24805. pi,
  24806. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24807. pi->
  24808. tx_rx_cal_radio_saveregs[0]);
  24809. write_radio_reg(
  24810. pi,
  24811. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24812. pi->
  24813. tx_rx_cal_radio_saveregs[1]);
  24814. } else {
  24815. write_radio_reg(
  24816. pi,
  24817. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24818. pi->
  24819. tx_rx_cal_radio_saveregs[0]);
  24820. write_radio_reg(
  24821. pi,
  24822. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24823. pi->
  24824. tx_rx_cal_radio_saveregs[1]);
  24825. }
  24826. } else {
  24827. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24828. write_radio_reg(
  24829. pi,
  24830. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24831. pi->
  24832. tx_rx_cal_radio_saveregs[0]);
  24833. write_radio_reg(
  24834. pi,
  24835. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24836. pi->
  24837. tx_rx_cal_radio_saveregs[1]);
  24838. } else {
  24839. write_radio_reg(
  24840. pi,
  24841. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24842. pi->
  24843. tx_rx_cal_radio_saveregs[0]);
  24844. write_radio_reg(
  24845. pi,
  24846. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24847. pi->
  24848. tx_rx_cal_radio_saveregs[1]);
  24849. }
  24850. }
  24851. } else {
  24852. if (rx_core == PHY_CORE_0) {
  24853. write_radio_reg(pi,
  24854. RADIO_2056_TX_RXIQCAL_TXMUX |
  24855. RADIO_2056_TX1,
  24856. pi->tx_rx_cal_radio_saveregs[0]);
  24857. write_radio_reg(pi,
  24858. RADIO_2056_RX_RXIQCAL_RXMUX |
  24859. RADIO_2056_RX0,
  24860. pi->tx_rx_cal_radio_saveregs[1]);
  24861. if (pi->pubpi.radiorev >= 5) {
  24862. write_radio_reg(pi,
  24863. RADIO_2056_RX_RXSPARE2 |
  24864. RADIO_2056_RX0,
  24865. pi->
  24866. tx_rx_cal_radio_saveregs[2]);
  24867. write_radio_reg(pi,
  24868. RADIO_2056_TX_TXSPARE2 |
  24869. RADIO_2056_TX1,
  24870. pi->
  24871. tx_rx_cal_radio_saveregs[3]);
  24872. }
  24873. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24874. if (pi->pubpi.radiorev >= 5)
  24875. write_radio_reg(
  24876. pi,
  24877. RADIO_2056_RX_LNAA_MASTER
  24878. | RADIO_2056_RX0,
  24879. pi->
  24880. tx_rx_cal_radio_saveregs
  24881. [4]);
  24882. else
  24883. write_radio_reg(
  24884. pi,
  24885. RADIO_2056_RX_LNAA_TUNE
  24886. | RADIO_2056_RX0,
  24887. pi->
  24888. tx_rx_cal_radio_saveregs
  24889. [4]);
  24890. } else {
  24891. if (pi->pubpi.radiorev >= 5)
  24892. write_radio_reg(
  24893. pi,
  24894. RADIO_2056_RX_LNAG_MASTER
  24895. | RADIO_2056_RX0,
  24896. pi->
  24897. tx_rx_cal_radio_saveregs
  24898. [4]);
  24899. else
  24900. write_radio_reg(
  24901. pi,
  24902. RADIO_2056_RX_LNAG_TUNE
  24903. | RADIO_2056_RX0,
  24904. pi->
  24905. tx_rx_cal_radio_saveregs
  24906. [4]);
  24907. }
  24908. } else {
  24909. write_radio_reg(pi,
  24910. RADIO_2056_TX_RXIQCAL_TXMUX |
  24911. RADIO_2056_TX0,
  24912. pi->tx_rx_cal_radio_saveregs[0]);
  24913. write_radio_reg(pi,
  24914. RADIO_2056_RX_RXIQCAL_RXMUX |
  24915. RADIO_2056_RX1,
  24916. pi->tx_rx_cal_radio_saveregs[1]);
  24917. if (pi->pubpi.radiorev >= 5) {
  24918. write_radio_reg(pi,
  24919. RADIO_2056_RX_RXSPARE2 |
  24920. RADIO_2056_RX1,
  24921. pi->
  24922. tx_rx_cal_radio_saveregs[2]);
  24923. write_radio_reg(pi,
  24924. RADIO_2056_TX_TXSPARE2 |
  24925. RADIO_2056_TX0,
  24926. pi->
  24927. tx_rx_cal_radio_saveregs[3]);
  24928. }
  24929. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24930. if (pi->pubpi.radiorev >= 5)
  24931. write_radio_reg(
  24932. pi,
  24933. RADIO_2056_RX_LNAA_MASTER
  24934. | RADIO_2056_RX1,
  24935. pi->
  24936. tx_rx_cal_radio_saveregs
  24937. [4]);
  24938. else
  24939. write_radio_reg(
  24940. pi,
  24941. RADIO_2056_RX_LNAA_TUNE
  24942. | RADIO_2056_RX1,
  24943. pi->
  24944. tx_rx_cal_radio_saveregs
  24945. [4]);
  24946. } else {
  24947. if (pi->pubpi.radiorev >= 5)
  24948. write_radio_reg(
  24949. pi,
  24950. RADIO_2056_RX_LNAG_MASTER
  24951. | RADIO_2056_RX1,
  24952. pi->
  24953. tx_rx_cal_radio_saveregs
  24954. [4]);
  24955. else
  24956. write_radio_reg(
  24957. pi,
  24958. RADIO_2056_RX_LNAG_TUNE
  24959. | RADIO_2056_RX1,
  24960. pi->
  24961. tx_rx_cal_radio_saveregs
  24962. [4]);
  24963. }
  24964. }
  24965. }
  24966. }
  24967. static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core)
  24968. {
  24969. u8 tx_core;
  24970. u16 rx_antval, tx_antval;
  24971. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24972. tx_core = rx_core;
  24973. else
  24974. tx_core = (rx_core == PHY_CORE_0) ? 1 : 0;
  24975. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa2);
  24976. pi->tx_rx_cal_phy_saveregs[1] =
  24977. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7);
  24978. pi->tx_rx_cal_phy_saveregs[2] =
  24979. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5);
  24980. pi->tx_rx_cal_phy_saveregs[3] = read_phy_reg(pi, 0x91);
  24981. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x92);
  24982. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x7a);
  24983. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x7d);
  24984. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0xe7);
  24985. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0xec);
  24986. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24987. pi->tx_rx_cal_phy_saveregs[11] = read_phy_reg(pi, 0x342);
  24988. pi->tx_rx_cal_phy_saveregs[12] = read_phy_reg(pi, 0x343);
  24989. pi->tx_rx_cal_phy_saveregs[13] = read_phy_reg(pi, 0x346);
  24990. pi->tx_rx_cal_phy_saveregs[14] = read_phy_reg(pi, 0x347);
  24991. }
  24992. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  24993. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  24994. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  24995. 0x29b, (0x1 << 0), (0) << 0);
  24996. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  24997. 0x29b, (0x1 << 0), (0) << 0);
  24998. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24999. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25000. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << (1 - rx_core)) << 12);
  25001. } else {
  25002. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25003. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25004. mod_phy_reg(pi, 0xa2, (0xf << 4), (1 << rx_core) << 4);
  25005. mod_phy_reg(pi, 0xa2, (0xf << 8), (1 << rx_core) << 8);
  25006. }
  25007. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7), (0x1 << 2), 0);
  25008. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  25009. (0x1 << 2), (0x1 << 2));
  25010. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25011. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25012. (0x1 << 0) | (0x1 << 1), 0);
  25013. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25014. 0x8f : 0xa5,
  25015. (0x1 << 0) | (0x1 << 1), (0x1 << 0) | (0x1 << 1));
  25016. }
  25017. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 0,
  25018. RADIO_MIMO_CORESEL_CORE1 |
  25019. RADIO_MIMO_CORESEL_CORE2);
  25020. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25021. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  25022. 0, 0, 0,
  25023. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  25024. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 0, 0, 0,
  25025. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25026. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 1, 0, 0,
  25027. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25028. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 1, 0, 0,
  25029. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25030. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0, 0,
  25031. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  25032. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0, 0,
  25033. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25034. if (CHSPEC_IS40(pi->radio_chanspec))
  25035. wlc_phy_rfctrl_override_nphy_rev7(
  25036. pi,
  25037. (0x1 << 7),
  25038. 2, 0, 0,
  25039. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25040. else
  25041. wlc_phy_rfctrl_override_nphy_rev7(
  25042. pi,
  25043. (0x1 << 7),
  25044. 0, 0, 0,
  25045. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25046. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  25047. 0, 0, 0,
  25048. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25049. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0, 0,
  25050. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  25051. } else {
  25052. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 3, 0);
  25053. }
  25054. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  25055. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25056. wlc_phy_rfctrlintc_override_nphy(pi,
  25057. NPHY_RfctrlIntc_override_TRSW,
  25058. 0x1, rx_core + 1);
  25059. } else {
  25060. if (rx_core == PHY_CORE_0) {
  25061. rx_antval = 0x1;
  25062. tx_antval = 0x8;
  25063. } else {
  25064. rx_antval = 0x4;
  25065. tx_antval = 0x2;
  25066. }
  25067. wlc_phy_rfctrlintc_override_nphy(pi,
  25068. NPHY_RfctrlIntc_override_TRSW,
  25069. rx_antval, rx_core + 1);
  25070. wlc_phy_rfctrlintc_override_nphy(pi,
  25071. NPHY_RfctrlIntc_override_TRSW,
  25072. tx_antval, tx_core + 1);
  25073. }
  25074. }
  25075. static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  25076. {
  25077. write_phy_reg(pi, 0xa2, pi->tx_rx_cal_phy_saveregs[0]);
  25078. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7,
  25079. pi->tx_rx_cal_phy_saveregs[1]);
  25080. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  25081. pi->tx_rx_cal_phy_saveregs[2]);
  25082. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[3]);
  25083. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[4]);
  25084. write_phy_reg(pi, 0x7a, pi->tx_rx_cal_phy_saveregs[5]);
  25085. write_phy_reg(pi, 0x7d, pi->tx_rx_cal_phy_saveregs[6]);
  25086. write_phy_reg(pi, 0xe7, pi->tx_rx_cal_phy_saveregs[7]);
  25087. write_phy_reg(pi, 0xec, pi->tx_rx_cal_phy_saveregs[8]);
  25088. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25089. write_phy_reg(pi, 0x342, pi->tx_rx_cal_phy_saveregs[11]);
  25090. write_phy_reg(pi, 0x343, pi->tx_rx_cal_phy_saveregs[12]);
  25091. write_phy_reg(pi, 0x346, pi->tx_rx_cal_phy_saveregs[13]);
  25092. write_phy_reg(pi, 0x347, pi->tx_rx_cal_phy_saveregs[14]);
  25093. }
  25094. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  25095. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  25096. }
  25097. static void
  25098. wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
  25099. u16 *rxgain, u8 cal_type)
  25100. {
  25101. u16 num_samps;
  25102. struct phy_iq_est est[PHY_CORE_MAX];
  25103. u8 tx_core;
  25104. struct nphy_iq_comp save_comp, zero_comp;
  25105. u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0,
  25106. thresh_pwr = 10000;
  25107. s16 desired_log2_pwr, actual_log2_pwr, delta_pwr;
  25108. bool gainctrl_done = false;
  25109. u8 mix_tia_gain = 3;
  25110. s8 optim_gaintbl_index = 0, prev_gaintbl_index = 0;
  25111. s8 curr_gaintbl_index = 3;
  25112. u8 gainctrl_dirn = NPHY_RXCAL_GAIN_INIT;
  25113. const struct nphy_ipa_txrxgain *nphy_rxcal_gaintbl;
  25114. u16 hpvga, lpf_biq1, lpf_biq0, lna2, lna1;
  25115. int fine_gain_idx;
  25116. s8 txpwrindex;
  25117. u16 nphy_rxcal_txgain[2];
  25118. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25119. tx_core = rx_core;
  25120. else
  25121. tx_core = 1 - rx_core;
  25122. num_samps = 1024;
  25123. desired_log2_pwr = (cal_type == 0) ? 13 : 13;
  25124. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
  25125. zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;
  25126. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &zero_comp);
  25127. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25128. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25129. mix_tia_gain = 3;
  25130. else if (NREV_GE(pi->pubpi.phy_rev, 4))
  25131. mix_tia_gain = 4;
  25132. else
  25133. mix_tia_gain = 6;
  25134. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25135. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz_rev7;
  25136. else
  25137. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz;
  25138. } else {
  25139. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25140. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz_rev7;
  25141. else
  25142. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz;
  25143. }
  25144. do {
  25145. hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ?
  25146. 0 : nphy_rxcal_gaintbl[curr_gaintbl_index].hpvga;
  25147. lpf_biq1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq1;
  25148. lpf_biq0 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq0;
  25149. lna2 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna2;
  25150. lna1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna1;
  25151. txpwrindex = nphy_rxcal_gaintbl[curr_gaintbl_index].txpwrindex;
  25152. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25153. wlc_phy_rfctrl_override_1tomany_nphy(
  25154. pi,
  25155. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25156. ((lpf_biq1 << 12) |
  25157. (lpf_biq0 << 8) |
  25158. (mix_tia_gain << 4) | (lna2 << 2)
  25159. | lna1), 0x3, 0);
  25160. else
  25161. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25162. ((hpvga << 12) |
  25163. (lpf_biq1 << 10) |
  25164. (lpf_biq0 << 8) |
  25165. (mix_tia_gain << 4) |
  25166. (lna2 << 2) | lna1), 0x3,
  25167. 0);
  25168. pi->nphy_rxcal_pwr_idx[tx_core] = txpwrindex;
  25169. if (txpwrindex == -1) {
  25170. nphy_rxcal_txgain[0] = 0x8ff0 | pi->nphy_gmval;
  25171. nphy_rxcal_txgain[1] = 0x8ff0 | pi->nphy_gmval;
  25172. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  25173. 2, 0x110, 16,
  25174. nphy_rxcal_txgain);
  25175. } else {
  25176. wlc_phy_txpwr_index_nphy(pi, tx_core + 1, txpwrindex,
  25177. false);
  25178. }
  25179. wlc_phy_tx_tone_nphy(pi, (CHSPEC_IS40(pi->radio_chanspec)) ?
  25180. NPHY_RXCAL_TONEFREQ_40MHz :
  25181. NPHY_RXCAL_TONEFREQ_20MHz,
  25182. NPHY_RXCAL_TONEAMP, 0, cal_type, false);
  25183. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25184. i_pwr = (est[rx_core].i_pwr + num_samps / 2) / num_samps;
  25185. q_pwr = (est[rx_core].q_pwr + num_samps / 2) / num_samps;
  25186. curr_pwr = i_pwr + q_pwr;
  25187. switch (gainctrl_dirn) {
  25188. case NPHY_RXCAL_GAIN_INIT:
  25189. if (curr_pwr > thresh_pwr) {
  25190. gainctrl_dirn = NPHY_RXCAL_GAIN_DOWN;
  25191. prev_gaintbl_index = curr_gaintbl_index;
  25192. curr_gaintbl_index--;
  25193. } else {
  25194. gainctrl_dirn = NPHY_RXCAL_GAIN_UP;
  25195. prev_gaintbl_index = curr_gaintbl_index;
  25196. curr_gaintbl_index++;
  25197. }
  25198. break;
  25199. case NPHY_RXCAL_GAIN_UP:
  25200. if (curr_pwr > thresh_pwr) {
  25201. gainctrl_done = true;
  25202. optim_pwr = prev_pwr;
  25203. optim_gaintbl_index = prev_gaintbl_index;
  25204. } else {
  25205. prev_gaintbl_index = curr_gaintbl_index;
  25206. curr_gaintbl_index++;
  25207. }
  25208. break;
  25209. case NPHY_RXCAL_GAIN_DOWN:
  25210. if (curr_pwr > thresh_pwr) {
  25211. prev_gaintbl_index = curr_gaintbl_index;
  25212. curr_gaintbl_index--;
  25213. } else {
  25214. gainctrl_done = true;
  25215. optim_pwr = curr_pwr;
  25216. optim_gaintbl_index = curr_gaintbl_index;
  25217. }
  25218. break;
  25219. default:
  25220. break;
  25221. }
  25222. if ((curr_gaintbl_index < 0) ||
  25223. (curr_gaintbl_index > NPHY_IPA_RXCAL_MAXGAININDEX)) {
  25224. gainctrl_done = true;
  25225. optim_pwr = curr_pwr;
  25226. optim_gaintbl_index = prev_gaintbl_index;
  25227. } else {
  25228. prev_pwr = curr_pwr;
  25229. }
  25230. wlc_phy_stopplayback_nphy(pi);
  25231. } while (!gainctrl_done);
  25232. hpvga = nphy_rxcal_gaintbl[optim_gaintbl_index].hpvga;
  25233. lpf_biq1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq1;
  25234. lpf_biq0 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq0;
  25235. lna2 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna2;
  25236. lna1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna1;
  25237. txpwrindex = nphy_rxcal_gaintbl[optim_gaintbl_index].txpwrindex;
  25238. actual_log2_pwr = wlc_phy_nbits(optim_pwr);
  25239. delta_pwr = desired_log2_pwr - actual_log2_pwr;
  25240. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25241. fine_gain_idx = (int)lpf_biq1 + delta_pwr;
  25242. if (fine_gain_idx + (int)lpf_biq0 > 10)
  25243. lpf_biq1 = 10 - lpf_biq0;
  25244. else
  25245. lpf_biq1 = (u16) max(fine_gain_idx, 0);
  25246. wlc_phy_rfctrl_override_1tomany_nphy(
  25247. pi,
  25248. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25249. ((lpf_biq1 << 12) |
  25250. (lpf_biq0 << 8) |
  25251. (mix_tia_gain << 4) |
  25252. (lna2 << 2) | lna1), 0x3,
  25253. 0);
  25254. } else {
  25255. hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
  25256. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25257. ((hpvga << 12) |
  25258. (lpf_biq1 << 10) |
  25259. (lpf_biq0 << 8) |
  25260. (mix_tia_gain << 4) |
  25261. (lna2 << 2) |
  25262. lna1), 0x3, 0);
  25263. }
  25264. if (rxgain != NULL) {
  25265. *rxgain++ = lna1;
  25266. *rxgain++ = lna2;
  25267. *rxgain++ = mix_tia_gain;
  25268. *rxgain++ = lpf_biq0;
  25269. *rxgain++ = lpf_biq1;
  25270. *rxgain = hpvga;
  25271. }
  25272. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &save_comp);
  25273. }
  25274. static void
  25275. wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain,
  25276. u8 cal_type)
  25277. {
  25278. wlc_phy_rxcal_gainctrl_nphy_rev5(pi, rx_core, rxgain, cal_type);
  25279. }
  25280. static u8
  25281. wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type)
  25282. {
  25283. u32 target_bws[2] = { 9500, 21000 };
  25284. u32 ref_tones[2] = { 3000, 6000 };
  25285. u32 target_bw, ref_tone;
  25286. u32 target_pwr_ratios[2] = { 28606, 18468 };
  25287. u32 target_pwr_ratio, pwr_ratio, last_pwr_ratio = 0;
  25288. u16 start_rccal_ovr_val = 128;
  25289. u16 txlpf_rccal_lpc_ovr_val = 128;
  25290. u16 rxlpf_rccal_hpc_ovr_val = 159;
  25291. u16 orig_txlpf_rccal_lpc_ovr_val;
  25292. u16 orig_rxlpf_rccal_hpc_ovr_val;
  25293. u16 radio_addr_offset_rx;
  25294. u16 radio_addr_offset_tx;
  25295. u16 orig_dcBypass;
  25296. u16 orig_RxStrnFilt40Num[6];
  25297. u16 orig_RxStrnFilt40Den[4];
  25298. u16 orig_rfctrloverride[2];
  25299. u16 orig_rfctrlauxreg[2];
  25300. u16 orig_rfctrlrssiothers;
  25301. u16 tx_lpf_bw = 4;
  25302. u16 rx_lpf_bw, rx_lpf_bws[2] = { 2, 4 };
  25303. u16 lpf_hpc = 7, hpvga_hpc = 7;
  25304. s8 rccal_stepsize;
  25305. u16 rccal_val, last_rccal_val = 0, best_rccal_val = 0;
  25306. u32 ref_iq_vals = 0, target_iq_vals = 0;
  25307. u16 num_samps, log_num_samps = 10;
  25308. struct phy_iq_est est[PHY_CORE_MAX];
  25309. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25310. return 0;
  25311. num_samps = (1 << log_num_samps);
  25312. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25313. target_bw = target_bws[1];
  25314. target_pwr_ratio = target_pwr_ratios[1];
  25315. ref_tone = ref_tones[1];
  25316. rx_lpf_bw = rx_lpf_bws[1];
  25317. } else {
  25318. target_bw = target_bws[0];
  25319. target_pwr_ratio = target_pwr_ratios[0];
  25320. ref_tone = ref_tones[0];
  25321. rx_lpf_bw = rx_lpf_bws[0];
  25322. }
  25323. if (core_idx == 0) {
  25324. radio_addr_offset_rx = RADIO_2056_RX0;
  25325. radio_addr_offset_tx =
  25326. (loopback_type == 0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  25327. } else {
  25328. radio_addr_offset_rx = RADIO_2056_RX1;
  25329. radio_addr_offset_tx =
  25330. (loopback_type == 0) ? RADIO_2056_TX1 : RADIO_2056_TX0;
  25331. }
  25332. orig_txlpf_rccal_lpc_ovr_val =
  25333. read_radio_reg(pi,
  25334. (RADIO_2056_TX_TXLPF_RCCAL |
  25335. radio_addr_offset_tx));
  25336. orig_rxlpf_rccal_hpc_ovr_val =
  25337. read_radio_reg(pi,
  25338. (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25339. radio_addr_offset_rx));
  25340. orig_dcBypass = ((read_phy_reg(pi, 0x48) >> 8) & 1);
  25341. orig_RxStrnFilt40Num[0] = read_phy_reg(pi, 0x267);
  25342. orig_RxStrnFilt40Num[1] = read_phy_reg(pi, 0x268);
  25343. orig_RxStrnFilt40Num[2] = read_phy_reg(pi, 0x269);
  25344. orig_RxStrnFilt40Den[0] = read_phy_reg(pi, 0x26a);
  25345. orig_RxStrnFilt40Den[1] = read_phy_reg(pi, 0x26b);
  25346. orig_RxStrnFilt40Num[3] = read_phy_reg(pi, 0x26c);
  25347. orig_RxStrnFilt40Num[4] = read_phy_reg(pi, 0x26d);
  25348. orig_RxStrnFilt40Num[5] = read_phy_reg(pi, 0x26e);
  25349. orig_RxStrnFilt40Den[2] = read_phy_reg(pi, 0x26f);
  25350. orig_RxStrnFilt40Den[3] = read_phy_reg(pi, 0x270);
  25351. orig_rfctrloverride[0] = read_phy_reg(pi, 0xe7);
  25352. orig_rfctrloverride[1] = read_phy_reg(pi, 0xec);
  25353. orig_rfctrlauxreg[0] = read_phy_reg(pi, 0xf8);
  25354. orig_rfctrlauxreg[1] = read_phy_reg(pi, 0xfa);
  25355. orig_rfctrlrssiothers = read_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d);
  25356. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25357. txlpf_rccal_lpc_ovr_val);
  25358. write_radio_reg(pi,
  25359. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25360. rxlpf_rccal_hpc_ovr_val);
  25361. mod_phy_reg(pi, 0x48, (0x1 << 8), (0x1 << 8));
  25362. write_phy_reg(pi, 0x267, 0x02d4);
  25363. write_phy_reg(pi, 0x268, 0x0000);
  25364. write_phy_reg(pi, 0x269, 0x0000);
  25365. write_phy_reg(pi, 0x26a, 0x0000);
  25366. write_phy_reg(pi, 0x26b, 0x0000);
  25367. write_phy_reg(pi, 0x26c, 0x02d4);
  25368. write_phy_reg(pi, 0x26d, 0x0000);
  25369. write_phy_reg(pi, 0x26e, 0x0000);
  25370. write_phy_reg(pi, 0x26f, 0x0000);
  25371. write_phy_reg(pi, 0x270, 0x0000);
  25372. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 8));
  25373. or_phy_reg(pi, (core_idx == 0) ? 0xec : 0xe7, (0x1 << 15));
  25374. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 9));
  25375. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 10));
  25376. mod_phy_reg(pi, (core_idx == 0) ? 0xfa : 0xf8,
  25377. (0x7 << 10), (tx_lpf_bw << 10));
  25378. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25379. (0x7 << 0), (hpvga_hpc << 0));
  25380. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25381. (0x7 << 4), (lpf_hpc << 4));
  25382. mod_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d,
  25383. (0x7 << 8), (rx_lpf_bw << 8));
  25384. rccal_stepsize = 16;
  25385. rccal_val = start_rccal_ovr_val + rccal_stepsize;
  25386. while (rccal_stepsize >= 0) {
  25387. write_radio_reg(pi,
  25388. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25389. radio_addr_offset_rx), rccal_val);
  25390. if (rccal_stepsize == 16) {
  25391. wlc_phy_tx_tone_nphy(pi, ref_tone, NPHY_RXCAL_TONEAMP,
  25392. 0, 1, false);
  25393. udelay(2);
  25394. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25395. if (core_idx == 0)
  25396. ref_iq_vals =
  25397. max_t(u32, (est[0].i_pwr +
  25398. est[0].q_pwr) >>
  25399. (log_num_samps + 1),
  25400. 1);
  25401. else
  25402. ref_iq_vals =
  25403. max_t(u32, (est[1].i_pwr +
  25404. est[1].q_pwr) >>
  25405. (log_num_samps + 1),
  25406. 1);
  25407. wlc_phy_tx_tone_nphy(pi, target_bw, NPHY_RXCAL_TONEAMP,
  25408. 0, 1, false);
  25409. udelay(2);
  25410. }
  25411. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25412. if (core_idx == 0)
  25413. target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >>
  25414. (log_num_samps + 1);
  25415. else
  25416. target_iq_vals =
  25417. (est[1].i_pwr +
  25418. est[1].q_pwr) >> (log_num_samps + 1);
  25419. pwr_ratio = (uint) ((target_iq_vals << 16) / ref_iq_vals);
  25420. if (rccal_stepsize == 0)
  25421. rccal_stepsize--;
  25422. else if (rccal_stepsize == 1) {
  25423. last_rccal_val = rccal_val;
  25424. rccal_val += (pwr_ratio > target_pwr_ratio) ? 1 : -1;
  25425. last_pwr_ratio = pwr_ratio;
  25426. rccal_stepsize--;
  25427. } else {
  25428. rccal_stepsize = (rccal_stepsize >> 1);
  25429. rccal_val += ((pwr_ratio > target_pwr_ratio) ?
  25430. rccal_stepsize : (-rccal_stepsize));
  25431. }
  25432. if (rccal_stepsize == -1) {
  25433. best_rccal_val =
  25434. (abs((int)last_pwr_ratio -
  25435. (int)target_pwr_ratio) <
  25436. abs((int)pwr_ratio -
  25437. (int)target_pwr_ratio)) ? last_rccal_val :
  25438. rccal_val;
  25439. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25440. if ((best_rccal_val > 140)
  25441. || (best_rccal_val < 135))
  25442. best_rccal_val = 138;
  25443. } else {
  25444. if ((best_rccal_val > 142)
  25445. || (best_rccal_val < 137))
  25446. best_rccal_val = 140;
  25447. }
  25448. write_radio_reg(pi,
  25449. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25450. radio_addr_offset_rx), best_rccal_val);
  25451. }
  25452. }
  25453. wlc_phy_stopplayback_nphy(pi);
  25454. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25455. orig_txlpf_rccal_lpc_ovr_val);
  25456. write_radio_reg(pi,
  25457. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25458. orig_rxlpf_rccal_hpc_ovr_val);
  25459. mod_phy_reg(pi, 0x48, (0x1 << 8), (orig_dcBypass << 8));
  25460. write_phy_reg(pi, 0x267, orig_RxStrnFilt40Num[0]);
  25461. write_phy_reg(pi, 0x268, orig_RxStrnFilt40Num[1]);
  25462. write_phy_reg(pi, 0x269, orig_RxStrnFilt40Num[2]);
  25463. write_phy_reg(pi, 0x26a, orig_RxStrnFilt40Den[0]);
  25464. write_phy_reg(pi, 0x26b, orig_RxStrnFilt40Den[1]);
  25465. write_phy_reg(pi, 0x26c, orig_RxStrnFilt40Num[3]);
  25466. write_phy_reg(pi, 0x26d, orig_RxStrnFilt40Num[4]);
  25467. write_phy_reg(pi, 0x26e, orig_RxStrnFilt40Num[5]);
  25468. write_phy_reg(pi, 0x26f, orig_RxStrnFilt40Den[2]);
  25469. write_phy_reg(pi, 0x270, orig_RxStrnFilt40Den[3]);
  25470. write_phy_reg(pi, 0xe7, orig_rfctrloverride[0]);
  25471. write_phy_reg(pi, 0xec, orig_rfctrloverride[1]);
  25472. write_phy_reg(pi, 0xf8, orig_rfctrlauxreg[0]);
  25473. write_phy_reg(pi, 0xfa, orig_rfctrlauxreg[1]);
  25474. write_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d, orig_rfctrlrssiothers);
  25475. pi->nphy_anarxlpf_adjusted = false;
  25476. return best_rccal_val - 0x80;
  25477. }
  25478. #define WAIT_FOR_SCOPE 4000
  25479. static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi,
  25480. struct nphy_txgains target_gain,
  25481. u8 cal_type, bool debug)
  25482. {
  25483. u16 orig_BBConfig;
  25484. u8 core_no, rx_core;
  25485. u8 best_rccal[2];
  25486. u16 gain_save[2];
  25487. u16 cal_gain[2];
  25488. struct nphy_iqcal_params cal_params[2];
  25489. u8 rxcore_state;
  25490. s8 rxlpf_rccal_hpc, txlpf_rccal_lpc;
  25491. s8 txlpf_idac;
  25492. bool phyhang_avoid_state = false;
  25493. bool skip_rxiqcal = false;
  25494. orig_BBConfig = read_phy_reg(pi, 0x01);
  25495. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  25496. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25497. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  25498. phyhang_avoid_state = pi->phyhang_avoid;
  25499. pi->phyhang_avoid = false;
  25500. }
  25501. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25502. for (core_no = 0; core_no <= 1; core_no++) {
  25503. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25504. &cal_params[core_no]);
  25505. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25506. }
  25507. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25508. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  25509. (struct brcms_phy_pub *) pi);
  25510. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25511. skip_rxiqcal =
  25512. ((rxcore_state & (1 << rx_core)) == 0) ? true : false;
  25513. wlc_phy_rxcal_physetup_nphy(pi, rx_core);
  25514. wlc_phy_rxcal_radio_setup_nphy(pi, rx_core);
  25515. if ((!skip_rxiqcal) && ((cal_type == 0) || (cal_type == 2))) {
  25516. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL, 0);
  25517. wlc_phy_tx_tone_nphy(pi,
  25518. (CHSPEC_IS40(
  25519. pi->radio_chanspec)) ?
  25520. NPHY_RXCAL_TONEFREQ_40MHz :
  25521. NPHY_RXCAL_TONEFREQ_20MHz,
  25522. NPHY_RXCAL_TONEAMP, 0, cal_type,
  25523. false);
  25524. if (debug)
  25525. mdelay(WAIT_FOR_SCOPE);
  25526. wlc_phy_calc_rx_iq_comp_nphy(pi, rx_core + 1);
  25527. wlc_phy_stopplayback_nphy(pi);
  25528. }
  25529. if (((cal_type == 1) || (cal_type == 2))
  25530. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  25531. if (rx_core == PHY_CORE_1) {
  25532. if (rxcore_state == 1)
  25533. wlc_phy_rxcore_setstate_nphy(
  25534. (struct brcms_phy_pub *) pi, 3);
  25535. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL,
  25536. 1);
  25537. best_rccal[rx_core] =
  25538. wlc_phy_rc_sweep_nphy(pi, rx_core, 1);
  25539. pi->nphy_rccal_value = best_rccal[rx_core];
  25540. if (rxcore_state == 1)
  25541. wlc_phy_rxcore_setstate_nphy(
  25542. (struct brcms_phy_pub *) pi,
  25543. rxcore_state);
  25544. }
  25545. }
  25546. wlc_phy_rxcal_radio_cleanup_nphy(pi, rx_core);
  25547. wlc_phy_rxcal_phycleanup_nphy(pi, rx_core);
  25548. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25549. }
  25550. if ((cal_type == 1) || (cal_type == 2)) {
  25551. best_rccal[0] = best_rccal[1];
  25552. write_radio_reg(pi,
  25553. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25554. RADIO_2056_RX0), (best_rccal[0] | 0x80));
  25555. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25556. rxlpf_rccal_hpc =
  25557. (((int)best_rccal[rx_core] - 12) >> 1) + 10;
  25558. txlpf_rccal_lpc = ((int)best_rccal[rx_core] - 12) + 10;
  25559. if (PHY_IPA(pi)) {
  25560. txlpf_rccal_lpc +=
  25561. (pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
  25562. txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
  25563. 0x0e : 0x13;
  25564. WRITE_RADIO_REG2(pi, RADIO_2056, TX, rx_core,
  25565. TXLPF_IDAC_4, txlpf_idac);
  25566. }
  25567. rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
  25568. 0);
  25569. txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
  25570. 0);
  25571. write_radio_reg(pi, (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25572. ((rx_core ==
  25573. PHY_CORE_0) ? RADIO_2056_RX0 :
  25574. RADIO_2056_RX1)),
  25575. (rxlpf_rccal_hpc | 0x80));
  25576. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL |
  25577. ((rx_core ==
  25578. PHY_CORE_0) ? RADIO_2056_TX0 :
  25579. RADIO_2056_TX1)),
  25580. (txlpf_rccal_lpc | 0x80));
  25581. }
  25582. }
  25583. write_phy_reg(pi, 0x01, orig_BBConfig);
  25584. wlc_phy_resetcca_nphy(pi);
  25585. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25586. wlc_phy_rfctrl_override_1tomany_nphy(
  25587. pi,
  25588. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25589. 0, 0x3, 1);
  25590. else
  25591. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  25592. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25593. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25594. gain_save);
  25595. if (NREV_GE(pi->pubpi.phy_rev, 4))
  25596. pi->phyhang_avoid = phyhang_avoid_state;
  25597. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25598. return 0;
  25599. }
  25600. static int
  25601. wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi,
  25602. struct nphy_txgains target_gain, bool debug)
  25603. {
  25604. struct phy_iq_est est[PHY_CORE_MAX];
  25605. u8 core_num, rx_core, tx_core;
  25606. u16 lna_vals[] = { 0x3, 0x3, 0x1 };
  25607. u16 hpf1_vals[] = { 0x7, 0x2, 0x0 };
  25608. u16 hpf2_vals[] = { 0x2, 0x0, 0x0 };
  25609. s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna;
  25610. s16 desired_log2_pwr, actual_log2_pwr, hpf_change;
  25611. u16 orig_RfseqCoreActv, orig_AfectrlCore, orig_AfectrlOverride;
  25612. u16 orig_RfctrlIntcRx, orig_RfctrlIntcTx;
  25613. u16 num_samps;
  25614. u32 i_pwr, q_pwr, tot_pwr[3];
  25615. u8 gain_pass, use_hpf_num;
  25616. u16 mask, val1, val2;
  25617. u16 core_no;
  25618. u16 gain_save[2];
  25619. u16 cal_gain[2];
  25620. struct nphy_iqcal_params cal_params[2];
  25621. u8 phy_bw;
  25622. int bcmerror = 0;
  25623. bool first_playtone = true;
  25624. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25625. if (NREV_LT(pi->pubpi.phy_rev, 2))
  25626. wlc_phy_reapply_txcal_coeffs_nphy(pi);
  25627. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25628. for (core_no = 0; core_no <= 1; core_no++) {
  25629. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25630. &cal_params[core_no]);
  25631. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25632. }
  25633. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25634. num_samps = 1024;
  25635. desired_log2_pwr = 13;
  25636. for (core_num = 0; core_num < 2; core_num++) {
  25637. rx_core = core_num;
  25638. tx_core = 1 - core_num;
  25639. orig_RfseqCoreActv = read_phy_reg(pi, 0xa2);
  25640. orig_AfectrlCore = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25641. 0xa6 : 0xa7);
  25642. orig_AfectrlOverride = read_phy_reg(pi, 0xa5);
  25643. orig_RfctrlIntcRx = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25644. 0x91 : 0x92);
  25645. orig_RfctrlIntcTx = read_phy_reg(pi, (tx_core == PHY_CORE_0) ?
  25646. 0x91 : 0x92);
  25647. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25648. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25649. or_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25650. ((0x1 << 1) | (0x1 << 2)));
  25651. or_phy_reg(pi, 0xa5, ((0x1 << 1) | (0x1 << 2)));
  25652. if (((pi->nphy_rxcalparams) & 0xff000000))
  25653. write_phy_reg(pi,
  25654. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25655. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25656. 0x140 : 0x110));
  25657. else
  25658. write_phy_reg(pi,
  25659. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25660. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25661. 0x180 : 0x120));
  25662. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25663. (CHSPEC_IS5G(pi->radio_chanspec) ? 0x148 :
  25664. 0x114));
  25665. mask = RADIO_2055_COUPLE_RX_MASK | RADIO_2055_COUPLE_TX_MASK;
  25666. if (rx_core == PHY_CORE_0) {
  25667. val1 = RADIO_2055_COUPLE_RX_MASK;
  25668. val2 = RADIO_2055_COUPLE_TX_MASK;
  25669. } else {
  25670. val1 = RADIO_2055_COUPLE_TX_MASK;
  25671. val2 = RADIO_2055_COUPLE_RX_MASK;
  25672. }
  25673. if ((pi->nphy_rxcalparams & 0x10000)) {
  25674. mod_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, mask,
  25675. val1);
  25676. mod_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, mask,
  25677. val2);
  25678. }
  25679. for (gain_pass = 0; gain_pass < 4; gain_pass++) {
  25680. if (debug)
  25681. mdelay(WAIT_FOR_SCOPE);
  25682. if (gain_pass < 3) {
  25683. curr_lna = lna_vals[gain_pass];
  25684. curr_hpf1 = hpf1_vals[gain_pass];
  25685. curr_hpf2 = hpf2_vals[gain_pass];
  25686. } else {
  25687. if (tot_pwr[1] > 10000) {
  25688. curr_lna = lna_vals[2];
  25689. curr_hpf1 = hpf1_vals[2];
  25690. curr_hpf2 = hpf2_vals[2];
  25691. use_hpf_num = 1;
  25692. curr_hpf = curr_hpf1;
  25693. actual_log2_pwr =
  25694. wlc_phy_nbits(tot_pwr[2]);
  25695. } else {
  25696. if (tot_pwr[0] > 10000) {
  25697. curr_lna = lna_vals[1];
  25698. curr_hpf1 = hpf1_vals[1];
  25699. curr_hpf2 = hpf2_vals[1];
  25700. use_hpf_num = 1;
  25701. curr_hpf = curr_hpf1;
  25702. actual_log2_pwr =
  25703. wlc_phy_nbits(
  25704. tot_pwr[1]);
  25705. } else {
  25706. curr_lna = lna_vals[0];
  25707. curr_hpf1 = hpf1_vals[0];
  25708. curr_hpf2 = hpf2_vals[0];
  25709. use_hpf_num = 2;
  25710. curr_hpf = curr_hpf2;
  25711. actual_log2_pwr =
  25712. wlc_phy_nbits(
  25713. tot_pwr[0]);
  25714. }
  25715. }
  25716. hpf_change = desired_log2_pwr - actual_log2_pwr;
  25717. curr_hpf += hpf_change;
  25718. curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
  25719. if (use_hpf_num == 1)
  25720. curr_hpf1 = curr_hpf;
  25721. else
  25722. curr_hpf2 = curr_hpf;
  25723. }
  25724. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10),
  25725. ((curr_hpf2 << 8) |
  25726. (curr_hpf1 << 4) |
  25727. (curr_lna << 2)), 0x3, 0);
  25728. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25729. wlc_phy_stopplayback_nphy(pi);
  25730. if (first_playtone) {
  25731. bcmerror = wlc_phy_tx_tone_nphy(pi, 4000,
  25732. (u16) (pi->nphy_rxcalparams &
  25733. 0xffff), 0, 0, true);
  25734. first_playtone = false;
  25735. } else {
  25736. phy_bw = (CHSPEC_IS40(pi->radio_chanspec)) ?
  25737. 40 : 20;
  25738. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff,
  25739. 0, 0, 0, true);
  25740. }
  25741. if (bcmerror == 0) {
  25742. if (gain_pass < 3) {
  25743. wlc_phy_rx_iq_est_nphy(pi, est,
  25744. num_samps, 32,
  25745. 0);
  25746. i_pwr = (est[rx_core].i_pwr +
  25747. num_samps / 2) / num_samps;
  25748. q_pwr = (est[rx_core].q_pwr +
  25749. num_samps / 2) / num_samps;
  25750. tot_pwr[gain_pass] = i_pwr + q_pwr;
  25751. } else {
  25752. wlc_phy_calc_rx_iq_comp_nphy(pi,
  25753. (1 <<
  25754. rx_core));
  25755. }
  25756. wlc_phy_stopplayback_nphy(pi);
  25757. }
  25758. if (bcmerror != 0)
  25759. break;
  25760. }
  25761. and_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, ~mask);
  25762. and_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, ~mask);
  25763. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 :
  25764. 0x92, orig_RfctrlIntcTx);
  25765. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x91 :
  25766. 0x92, orig_RfctrlIntcRx);
  25767. write_phy_reg(pi, 0xa5, orig_AfectrlOverride);
  25768. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 :
  25769. 0xa7, orig_AfectrlCore);
  25770. write_phy_reg(pi, 0xa2, orig_RfseqCoreActv);
  25771. if (bcmerror != 0)
  25772. break;
  25773. }
  25774. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10), 0, 0x3, 1);
  25775. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25776. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25777. gain_save);
  25778. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25779. return bcmerror;
  25780. }
  25781. int
  25782. wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  25783. u8 cal_type, bool debug)
  25784. {
  25785. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25786. cal_type = 0;
  25787. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25788. return wlc_phy_cal_rxiq_nphy_rev3(pi, target_gain, cal_type,
  25789. debug);
  25790. else
  25791. return wlc_phy_cal_rxiq_nphy_rev2(pi, target_gain, debug);
  25792. }
  25793. void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi)
  25794. {
  25795. uint core;
  25796. u32 txgain;
  25797. u16 rad_gain, dac_gain, bbmult, m1m2;
  25798. u8 txpi[2], chan_freq_range;
  25799. s32 rfpwr_offset;
  25800. if (pi->phyhang_avoid)
  25801. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25802. if (pi->sh->sromrev < 4) {
  25803. txpi[0] = txpi[1] = 72;
  25804. } else {
  25805. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  25806. switch (chan_freq_range) {
  25807. case WL_CHAN_FREQ_RANGE_2G:
  25808. case WL_CHAN_FREQ_RANGE_5GL:
  25809. case WL_CHAN_FREQ_RANGE_5GM:
  25810. case WL_CHAN_FREQ_RANGE_5GH:
  25811. txpi[0] = 0;
  25812. txpi[1] = 0;
  25813. break;
  25814. default:
  25815. txpi[0] = txpi[1] = 91;
  25816. break;
  25817. }
  25818. }
  25819. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25820. txpi[0] = txpi[1] = 30;
  25821. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  25822. txpi[0] = txpi[1] = 40;
  25823. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25824. if ((txpi[0] < 40) || (txpi[0] > 100) ||
  25825. (txpi[1] < 40) || (txpi[1] > 100))
  25826. txpi[0] = txpi[1] = 91;
  25827. }
  25828. pi->nphy_txpwrindex[PHY_CORE_0].index_internal = txpi[0];
  25829. pi->nphy_txpwrindex[PHY_CORE_1].index_internal = txpi[1];
  25830. pi->nphy_txpwrindex[PHY_CORE_0].index_internal_save = txpi[0];
  25831. pi->nphy_txpwrindex[PHY_CORE_1].index_internal_save = txpi[1];
  25832. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  25833. uint phyrev = pi->pubpi.phy_rev;
  25834. if (NREV_GE(phyrev, 3)) {
  25835. if (PHY_IPA(pi)) {
  25836. u32 *tx_gaintbl =
  25837. wlc_phy_get_ipa_gaintbl_nphy(pi);
  25838. txgain = tx_gaintbl[txpi[core]];
  25839. } else {
  25840. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25841. if (NREV_IS(phyrev, 3)) {
  25842. txgain =
  25843. nphy_tpc_5GHz_txgain_rev3
  25844. [txpi[core]];
  25845. } else if (NREV_IS(phyrev, 4)) {
  25846. txgain = (
  25847. pi->srom_fem5g.extpagain ==
  25848. 3) ?
  25849. nphy_tpc_5GHz_txgain_HiPwrEPA
  25850. [txpi[core]] :
  25851. nphy_tpc_5GHz_txgain_rev4
  25852. [txpi[core]];
  25853. } else {
  25854. txgain =
  25855. nphy_tpc_5GHz_txgain_rev5
  25856. [txpi[core]];
  25857. }
  25858. } else {
  25859. if (NREV_GE(phyrev, 5) &&
  25860. (pi->srom_fem2g.extpagain == 3)) {
  25861. txgain =
  25862. nphy_tpc_txgain_HiPwrEPA
  25863. [txpi[core]];
  25864. } else {
  25865. txgain = nphy_tpc_txgain_rev3
  25866. [txpi[core]];
  25867. }
  25868. }
  25869. }
  25870. } else {
  25871. txgain = nphy_tpc_txgain[txpi[core]];
  25872. }
  25873. if (NREV_GE(phyrev, 3))
  25874. rad_gain = (txgain >> 16) & ((1 << (32 - 16 + 1)) - 1);
  25875. else
  25876. rad_gain = (txgain >> 16) & ((1 << (28 - 16 + 1)) - 1);
  25877. if (NREV_GE(phyrev, 7))
  25878. dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1);
  25879. else
  25880. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  25881. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  25882. if (NREV_GE(phyrev, 3))
  25883. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  25884. 0xa5), (0x1 << 8), (0x1 << 8));
  25885. else
  25886. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  25887. write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain);
  25888. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  25889. &rad_gain);
  25890. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  25891. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  25892. m1m2 |= ((core == PHY_CORE_0) ? (bbmult << 8) : (bbmult << 0));
  25893. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  25894. if (PHY_IPA(pi)) {
  25895. wlc_phy_table_read_nphy(pi,
  25896. (core ==
  25897. PHY_CORE_0 ?
  25898. NPHY_TBL_ID_CORE1TXPWRCTL :
  25899. NPHY_TBL_ID_CORE2TXPWRCTL), 1,
  25900. 576 + txpi[core], 32,
  25901. &rfpwr_offset);
  25902. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25903. 0x29b, (0x1ff << 4),
  25904. ((s16) rfpwr_offset) << 4);
  25905. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25906. 0x29b, (0x1 << 2), (1) << 2);
  25907. }
  25908. }
  25909. and_phy_reg(pi, 0xbf, (u16) (~(0x1f << 0)));
  25910. if (pi->phyhang_avoid)
  25911. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25912. }
  25913. static void
  25914. wlc_phy_txpwr_nphy_srom_convert(u8 *srom_max, u16 *pwr_offset,
  25915. u8 tmp_max_pwr, u8 rate_start,
  25916. u8 rate_end)
  25917. {
  25918. u8 rate;
  25919. u8 word_num, nibble_num;
  25920. u8 tmp_nibble;
  25921. for (rate = rate_start; rate <= rate_end; rate++) {
  25922. word_num = (rate - rate_start) >> 2;
  25923. nibble_num = (rate - rate_start) & 0x3;
  25924. tmp_nibble = (pwr_offset[word_num] >> 4 * nibble_num) & 0xf;
  25925. srom_max[rate] = tmp_max_pwr - 2 * tmp_nibble;
  25926. }
  25927. }
  25928. static void
  25929. wlc_phy_txpwr_nphy_po_apply(u8 *srom_max, u8 pwr_offset,
  25930. u8 rate_start, u8 rate_end)
  25931. {
  25932. u8 rate;
  25933. for (rate = rate_start; rate <= rate_end; rate++)
  25934. srom_max[rate] -= 2 * pwr_offset;
  25935. }
  25936. void
  25937. wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start,
  25938. u8 rate_mcs_end, u8 rate_ofdm_start)
  25939. {
  25940. u8 rate1, rate2;
  25941. rate2 = rate_ofdm_start;
  25942. for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) {
  25943. power[rate1] = power[rate2];
  25944. rate2 += (rate1 == rate_mcs_start) ? 2 : 1;
  25945. }
  25946. power[rate_mcs_end] = power[rate_mcs_end - 1];
  25947. }
  25948. void
  25949. wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start,
  25950. u8 rate_ofdm_end, u8 rate_mcs_start)
  25951. {
  25952. u8 rate1, rate2;
  25953. for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start;
  25954. rate1 <= rate_ofdm_end; rate1++, rate2++) {
  25955. power[rate1] = power[rate2];
  25956. if (rate1 == rate_ofdm_start)
  25957. power[++rate1] = power[rate2];
  25958. }
  25959. }
  25960. void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi)
  25961. {
  25962. uint rate1, rate2, band_num;
  25963. u8 tmp_bw40po = 0, tmp_cddpo = 0, tmp_stbcpo = 0;
  25964. u8 tmp_max_pwr = 0;
  25965. u16 pwr_offsets1[2], *pwr_offsets2 = NULL;
  25966. u8 *tx_srom_max_rate = NULL;
  25967. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  25968. band_num++) {
  25969. switch (band_num) {
  25970. case 0:
  25971. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g,
  25972. pi->nphy_pwrctrl_info[1].max_pwr_2g);
  25973. pwr_offsets1[0] = pi->cck2gpo;
  25974. wlc_phy_txpwr_nphy_srom_convert(pi->tx_srom_max_rate_2g,
  25975. pwr_offsets1,
  25976. tmp_max_pwr,
  25977. TXP_FIRST_CCK,
  25978. TXP_LAST_CCK);
  25979. pwr_offsets1[0] = (u16) (pi->ofdm2gpo & 0xffff);
  25980. pwr_offsets1[1] =
  25981. (u16) (pi->ofdm2gpo >> 16) & 0xffff;
  25982. pwr_offsets2 = pi->mcs2gpo;
  25983. tmp_cddpo = pi->cdd2gpo;
  25984. tmp_stbcpo = pi->stbc2gpo;
  25985. tmp_bw40po = pi->bw402gpo;
  25986. tx_srom_max_rate = pi->tx_srom_max_rate_2g;
  25987. break;
  25988. case 1:
  25989. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm,
  25990. pi->nphy_pwrctrl_info[1].max_pwr_5gm);
  25991. pwr_offsets1[0] = (u16) (pi->ofdm5gpo & 0xffff);
  25992. pwr_offsets1[1] =
  25993. (u16) (pi->ofdm5gpo >> 16) & 0xffff;
  25994. pwr_offsets2 = pi->mcs5gpo;
  25995. tmp_cddpo = pi->cdd5gpo;
  25996. tmp_stbcpo = pi->stbc5gpo;
  25997. tmp_bw40po = pi->bw405gpo;
  25998. tx_srom_max_rate = pi->tx_srom_max_rate_5g_mid;
  25999. break;
  26000. case 2:
  26001. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl,
  26002. pi->nphy_pwrctrl_info[1].max_pwr_5gl);
  26003. pwr_offsets1[0] = (u16) (pi->ofdm5glpo & 0xffff);
  26004. pwr_offsets1[1] =
  26005. (u16) (pi->ofdm5glpo >> 16) & 0xffff;
  26006. pwr_offsets2 = pi->mcs5glpo;
  26007. tmp_cddpo = pi->cdd5glpo;
  26008. tmp_stbcpo = pi->stbc5glpo;
  26009. tmp_bw40po = pi->bw405glpo;
  26010. tx_srom_max_rate = pi->tx_srom_max_rate_5g_low;
  26011. break;
  26012. case 3:
  26013. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh,
  26014. pi->nphy_pwrctrl_info[1].max_pwr_5gh);
  26015. pwr_offsets1[0] = (u16) (pi->ofdm5ghpo & 0xffff);
  26016. pwr_offsets1[1] =
  26017. (u16) (pi->ofdm5ghpo >> 16) & 0xffff;
  26018. pwr_offsets2 = pi->mcs5ghpo;
  26019. tmp_cddpo = pi->cdd5ghpo;
  26020. tmp_stbcpo = pi->stbc5ghpo;
  26021. tmp_bw40po = pi->bw405ghpo;
  26022. tx_srom_max_rate = pi->tx_srom_max_rate_5g_hi;
  26023. break;
  26024. }
  26025. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets1,
  26026. tmp_max_pwr, TXP_FIRST_OFDM,
  26027. TXP_LAST_OFDM);
  26028. wlc_phy_ofdm_to_mcs_powers_nphy(tx_srom_max_rate,
  26029. TXP_FIRST_MCS_20_SISO,
  26030. TXP_LAST_MCS_20_SISO,
  26031. TXP_FIRST_OFDM);
  26032. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26033. tmp_max_pwr,
  26034. TXP_FIRST_MCS_20_CDD,
  26035. TXP_LAST_MCS_20_CDD);
  26036. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26037. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26038. TXP_FIRST_MCS_20_CDD,
  26039. TXP_LAST_MCS_20_CDD);
  26040. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26041. TXP_FIRST_OFDM_20_CDD,
  26042. TXP_LAST_OFDM_20_CDD,
  26043. TXP_FIRST_MCS_20_CDD);
  26044. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  26045. tmp_max_pwr,
  26046. TXP_FIRST_MCS_20_STBC,
  26047. TXP_LAST_MCS_20_STBC);
  26048. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26049. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26050. tmp_stbcpo,
  26051. TXP_FIRST_MCS_20_STBC,
  26052. TXP_LAST_MCS_20_STBC);
  26053. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26054. &pwr_offsets2[2], tmp_max_pwr,
  26055. TXP_FIRST_MCS_20_SDM,
  26056. TXP_LAST_MCS_20_SDM);
  26057. if (NPHY_IS_SROM_REINTERPRET) {
  26058. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26059. &pwr_offsets2[4],
  26060. tmp_max_pwr,
  26061. TXP_FIRST_MCS_40_SISO,
  26062. TXP_LAST_MCS_40_SISO);
  26063. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26064. TXP_FIRST_OFDM_40_SISO,
  26065. TXP_LAST_OFDM_40_SISO,
  26066. TXP_FIRST_MCS_40_SISO);
  26067. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26068. &pwr_offsets2[4],
  26069. tmp_max_pwr,
  26070. TXP_FIRST_MCS_40_CDD,
  26071. TXP_LAST_MCS_40_CDD);
  26072. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  26073. TXP_FIRST_MCS_40_CDD,
  26074. TXP_LAST_MCS_40_CDD);
  26075. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  26076. TXP_FIRST_OFDM_40_CDD,
  26077. TXP_LAST_OFDM_40_CDD,
  26078. TXP_FIRST_MCS_40_CDD);
  26079. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26080. &pwr_offsets2[4],
  26081. tmp_max_pwr,
  26082. TXP_FIRST_MCS_40_STBC,
  26083. TXP_LAST_MCS_40_STBC);
  26084. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26085. tmp_stbcpo,
  26086. TXP_FIRST_MCS_40_STBC,
  26087. TXP_LAST_MCS_40_STBC);
  26088. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  26089. &pwr_offsets2[6],
  26090. tmp_max_pwr,
  26091. TXP_FIRST_MCS_40_SDM,
  26092. TXP_LAST_MCS_40_SDM);
  26093. } else {
  26094. for (rate1 = TXP_FIRST_OFDM_40_SISO, rate2 =
  26095. TXP_FIRST_OFDM;
  26096. rate1 <= TXP_LAST_MCS_40_SDM;
  26097. rate1++, rate2++)
  26098. tx_srom_max_rate[rate1] =
  26099. tx_srom_max_rate[rate2];
  26100. }
  26101. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26102. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  26103. tmp_bw40po,
  26104. TXP_FIRST_OFDM_40_SISO,
  26105. TXP_LAST_MCS_40_SDM);
  26106. tx_srom_max_rate[TXP_MCS_32] =
  26107. tx_srom_max_rate[TXP_FIRST_MCS_40_CDD];
  26108. }
  26109. return;
  26110. }
  26111. void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi)
  26112. {
  26113. u8 tx_pwr_ctrl_state;
  26114. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  26115. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  26116. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26117. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  26118. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  26119. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  26120. udelay(1);
  26121. }
  26122. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26123. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  26124. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  26125. }
  26126. static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi)
  26127. {
  26128. return read_phy_reg((pi), 0x1e7) & ((0x1 << 15) |
  26129. (0x1 << 14) | (0x1 << 13));
  26130. }
  26131. u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi)
  26132. {
  26133. u16 tmp;
  26134. u16 pwr_idx[2];
  26135. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26136. pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0);
  26137. pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1);
  26138. tmp = (pwr_idx[0] << 8) | pwr_idx[1];
  26139. } else {
  26140. tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff)
  26141. << 8) |
  26142. (pi->nphy_txpwrindex[PHY_CORE_1].index_internal & 0xff);
  26143. }
  26144. return tmp;
  26145. }
  26146. void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi)
  26147. {
  26148. if (PHY_IPA(pi)
  26149. && (pi->nphy_force_papd_cal
  26150. || (wlc_phy_txpwr_ison_nphy(pi)
  26151. &&
  26152. (((u32)
  26153. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) -
  26154. pi->nphy_papd_tx_gain_at_last_cal[0]) >= 4)
  26155. || ((u32)
  26156. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) -
  26157. pi->nphy_papd_tx_gain_at_last_cal[1]) >= 4)))))
  26158. wlc_phy_a4(pi, true);
  26159. }
  26160. void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type)
  26161. {
  26162. u16 mask = 0, val = 0, ishw = 0;
  26163. u8 ctr;
  26164. uint core;
  26165. u32 tbl_offset;
  26166. u32 tbl_len;
  26167. u16 regval[84];
  26168. if (pi->phyhang_avoid)
  26169. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26170. switch (ctrl_type) {
  26171. case PHY_TPC_HW_OFF:
  26172. case PHY_TPC_HW_ON:
  26173. pi->nphy_txpwrctrl = ctrl_type;
  26174. break;
  26175. default:
  26176. break;
  26177. }
  26178. if (ctrl_type == PHY_TPC_HW_OFF) {
  26179. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26180. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26181. for (core = 0; core < pi->pubpi.phy_corenum;
  26182. core++)
  26183. pi->nphy_txpwr_idx[core] =
  26184. wlc_phy_txpwr_idx_cur_get_nphy(
  26185. pi,
  26186. (u8) core);
  26187. }
  26188. }
  26189. tbl_len = 84;
  26190. tbl_offset = 64;
  26191. for (ctr = 0; ctr < tbl_len; ctr++)
  26192. regval[ctr] = 0;
  26193. wlc_phy_table_write_nphy(pi, 26, tbl_len, tbl_offset, 16,
  26194. regval);
  26195. wlc_phy_table_write_nphy(pi, 27, tbl_len, tbl_offset, 16,
  26196. regval);
  26197. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26198. and_phy_reg(pi, 0x1e7,
  26199. (u16) (~((0x1 << 15) |
  26200. (0x1 << 14) | (0x1 << 13))));
  26201. else
  26202. and_phy_reg(pi, 0x1e7,
  26203. (u16) (~((0x1 << 14) | (0x1 << 13))));
  26204. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26205. or_phy_reg(pi, 0x8f, (0x1 << 8));
  26206. or_phy_reg(pi, 0xa5, (0x1 << 8));
  26207. } else {
  26208. or_phy_reg(pi, 0xa5, (0x1 << 14));
  26209. }
  26210. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26211. mod_phy_reg(pi, 0xdc, 0x00ff, 0x53);
  26212. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26213. mod_phy_reg(pi, 0xdc, 0x00ff, 0x5a);
  26214. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26215. pi->bw == WL_CHANSPEC_BW_40)
  26216. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26217. MHF1_IQSWAP_WAR, BRCM_BAND_ALL);
  26218. } else {
  26219. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64,
  26220. 8, pi->adj_pwr_tbl_nphy);
  26221. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64,
  26222. 8, pi->adj_pwr_tbl_nphy);
  26223. ishw = (ctrl_type == PHY_TPC_HW_ON) ? 0x1 : 0x0;
  26224. mask = (0x1 << 14) | (0x1 << 13);
  26225. val = (ishw << 14) | (ishw << 13);
  26226. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26227. mask |= (0x1 << 15);
  26228. val |= (ishw << 15);
  26229. }
  26230. mod_phy_reg(pi, 0x1e7, mask, val);
  26231. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  26232. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  26233. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x32);
  26234. mod_phy_reg(pi, 0x222, (0xff << 0), 0x32);
  26235. } else {
  26236. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x64);
  26237. if (NREV_GT(pi->pubpi.phy_rev, 1))
  26238. mod_phy_reg(pi, 0x222,
  26239. (0xff << 0), 0x64);
  26240. }
  26241. }
  26242. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26243. if ((pi->nphy_txpwr_idx[0] != 128)
  26244. && (pi->nphy_txpwr_idx[1] != 128))
  26245. wlc_phy_txpwr_idx_cur_set_nphy(pi,
  26246. pi->
  26247. nphy_txpwr_idx
  26248. [0],
  26249. pi->
  26250. nphy_txpwr_idx
  26251. [1]);
  26252. }
  26253. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26254. and_phy_reg(pi, 0x8f, ~(0x1 << 8));
  26255. and_phy_reg(pi, 0xa5, ~(0x1 << 8));
  26256. } else {
  26257. and_phy_reg(pi, 0xa5, ~(0x1 << 14));
  26258. }
  26259. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26260. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  26261. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26262. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  26263. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26264. pi->bw == WL_CHANSPEC_BW_40)
  26265. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26266. 0x0, BRCM_BAND_ALL);
  26267. if (PHY_IPA(pi)) {
  26268. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  26269. 0x29b, (0x1 << 2), (0) << 2);
  26270. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  26271. 0x29b, (0x1 << 2), (0) << 2);
  26272. }
  26273. }
  26274. if (pi->phyhang_avoid)
  26275. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26276. }
  26277. void
  26278. wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex,
  26279. bool restore_cals)
  26280. {
  26281. u8 core, txpwrctl_tbl;
  26282. u16 tx_ind0, iq_ind0, lo_ind0;
  26283. u16 m1m2;
  26284. u32 txgain;
  26285. u16 rad_gain, dac_gain;
  26286. u8 bbmult;
  26287. u32 iqcomp;
  26288. u16 iqcomp_a, iqcomp_b;
  26289. u32 locomp;
  26290. u16 tmpval;
  26291. u8 tx_pwr_ctrl_state;
  26292. s32 rfpwr_offset;
  26293. u16 regval[2];
  26294. if (pi->phyhang_avoid)
  26295. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26296. tx_ind0 = 192;
  26297. iq_ind0 = 320;
  26298. lo_ind0 = 448;
  26299. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  26300. if ((core_mask & (1 << core)) == 0)
  26301. continue;
  26302. txpwrctl_tbl = (core == PHY_CORE_0) ? 26 : 27;
  26303. if (txpwrindex < 0) {
  26304. if (pi->nphy_txpwrindex[core].index < 0)
  26305. continue;
  26306. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26307. mod_phy_reg(pi, 0x8f,
  26308. (0x1 << 8),
  26309. pi->nphy_txpwrindex[core].
  26310. AfectrlOverride);
  26311. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26312. pi->nphy_txpwrindex[core].
  26313. AfectrlOverride);
  26314. } else {
  26315. mod_phy_reg(pi, 0xa5,
  26316. (0x1 << 14),
  26317. pi->nphy_txpwrindex[core].
  26318. AfectrlOverride);
  26319. }
  26320. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26321. 0xaa : 0xab,
  26322. pi->nphy_txpwrindex[core].AfeCtrlDacGain);
  26323. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26324. &pi->nphy_txpwrindex[core].
  26325. rad_gain);
  26326. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26327. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26328. m1m2 |= ((core == PHY_CORE_0) ?
  26329. (pi->nphy_txpwrindex[core].bbmult << 8) :
  26330. (pi->nphy_txpwrindex[core].bbmult << 0));
  26331. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26332. if (restore_cals) {
  26333. wlc_phy_table_write_nphy(
  26334. pi, 15, 2, (80 + 2 * core), 16,
  26335. &pi->nphy_txpwrindex[core].iqcomp_a);
  26336. wlc_phy_table_write_nphy(
  26337. pi, 15, 1, (85 + core), 16,
  26338. &pi->nphy_txpwrindex[core].locomp);
  26339. wlc_phy_table_write_nphy(
  26340. pi, 15, 1, (93 + core), 16,
  26341. &pi->nphy_txpwrindex[core].locomp);
  26342. }
  26343. wlc_phy_txpwrctrl_enable_nphy(pi, pi->nphy_txpwrctrl);
  26344. pi->nphy_txpwrindex[core].index_internal =
  26345. pi->nphy_txpwrindex[core].index_internal_save;
  26346. } else {
  26347. if (pi->nphy_txpwrindex[core].index < 0) {
  26348. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26349. mod_phy_reg(pi, 0x8f,
  26350. (0x1 << 8),
  26351. pi->nphy_txpwrindex[core].
  26352. AfectrlOverride);
  26353. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26354. pi->nphy_txpwrindex[core].
  26355. AfectrlOverride);
  26356. } else {
  26357. pi->nphy_txpwrindex[core].
  26358. AfectrlOverride =
  26359. read_phy_reg(pi, 0xa5);
  26360. }
  26361. pi->nphy_txpwrindex[core].AfeCtrlDacGain =
  26362. read_phy_reg(pi, (core == PHY_CORE_0) ?
  26363. 0xaa : 0xab);
  26364. wlc_phy_table_read_nphy(pi, 7, 1,
  26365. (0x110 + core), 16,
  26366. &pi->
  26367. nphy_txpwrindex[core].
  26368. rad_gain);
  26369. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  26370. &tmpval);
  26371. tmpval >>= ((core == PHY_CORE_0) ? 8 : 0);
  26372. tmpval &= 0xff;
  26373. pi->nphy_txpwrindex[core].bbmult = (u8) tmpval;
  26374. wlc_phy_table_read_nphy(pi, 15, 2,
  26375. (80 + 2 * core), 16,
  26376. &pi->
  26377. nphy_txpwrindex[core].
  26378. iqcomp_a);
  26379. wlc_phy_table_read_nphy(pi, 15, 1, (85 + core),
  26380. 16,
  26381. &pi->
  26382. nphy_txpwrindex[core].
  26383. locomp);
  26384. pi->nphy_txpwrindex[core].index_internal_save =
  26385. pi->nphy_txpwrindex[core].
  26386. index_internal;
  26387. }
  26388. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26389. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  26390. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26391. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  26392. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26393. (tx_ind0 + txpwrindex), 32,
  26394. &txgain);
  26395. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26396. rad_gain = (txgain >> 16) &
  26397. ((1 << (32 - 16 + 1)) - 1);
  26398. else
  26399. rad_gain = (txgain >> 16) &
  26400. ((1 << (28 - 16 + 1)) - 1);
  26401. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  26402. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  26403. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26404. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  26405. 0xa5), (0x1 << 8), (0x1 << 8));
  26406. else
  26407. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  26408. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26409. 0xaa : 0xab, dac_gain);
  26410. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26411. &rad_gain);
  26412. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26413. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26414. m1m2 |= ((core == PHY_CORE_0) ?
  26415. (bbmult << 8) : (bbmult << 0));
  26416. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26417. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26418. (iq_ind0 + txpwrindex), 32,
  26419. &iqcomp);
  26420. iqcomp_a = (iqcomp >> 10) & ((1 << (19 - 10 + 1)) - 1);
  26421. iqcomp_b = (iqcomp >> 0) & ((1 << (9 - 0 + 1)) - 1);
  26422. if (restore_cals) {
  26423. regval[0] = (u16) iqcomp_a;
  26424. regval[1] = (u16) iqcomp_b;
  26425. wlc_phy_table_write_nphy(pi, 15, 2,
  26426. (80 + 2 * core), 16,
  26427. regval);
  26428. }
  26429. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26430. (lo_ind0 + txpwrindex), 32,
  26431. &locomp);
  26432. if (restore_cals)
  26433. wlc_phy_table_write_nphy(pi, 15, 1, (85 + core),
  26434. 16, &locomp);
  26435. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26436. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  26437. if (PHY_IPA(pi)) {
  26438. wlc_phy_table_read_nphy(pi,
  26439. (core == PHY_CORE_0 ?
  26440. NPHY_TBL_ID_CORE1TXPWRCTL :
  26441. NPHY_TBL_ID_CORE2TXPWRCTL),
  26442. 1, 576 + txpwrindex, 32,
  26443. &rfpwr_offset);
  26444. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26445. 0x29b, (0x1ff << 4),
  26446. ((s16) rfpwr_offset) << 4);
  26447. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26448. 0x29b, (0x1 << 2), (1) << 2);
  26449. }
  26450. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26451. }
  26452. pi->nphy_txpwrindex[core].index = txpwrindex;
  26453. }
  26454. if (pi->phyhang_avoid)
  26455. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26456. }
  26457. void
  26458. wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr,
  26459. u8 txp_rate_idx)
  26460. {
  26461. u8 chan_freq_range;
  26462. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, chan);
  26463. switch (chan_freq_range) {
  26464. case WL_CHAN_FREQ_RANGE_2G:
  26465. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26466. break;
  26467. case WL_CHAN_FREQ_RANGE_5GM:
  26468. *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
  26469. break;
  26470. case WL_CHAN_FREQ_RANGE_5GL:
  26471. *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
  26472. break;
  26473. case WL_CHAN_FREQ_RANGE_5GH:
  26474. *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
  26475. break;
  26476. default:
  26477. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26478. break;
  26479. }
  26480. return;
  26481. }
  26482. void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable)
  26483. {
  26484. u16 clip_off[] = { 0xffff, 0xffff };
  26485. if (enable) {
  26486. if (pi->nphy_deaf_count == 0) {
  26487. pi->classifier_state =
  26488. wlc_phy_classifier_nphy(pi, 0, 0);
  26489. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  26490. wlc_phy_clip_det_nphy(pi, 0, pi->clip_state);
  26491. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  26492. }
  26493. pi->nphy_deaf_count++;
  26494. wlc_phy_resetcca_nphy(pi);
  26495. } else {
  26496. pi->nphy_deaf_count--;
  26497. if (pi->nphy_deaf_count == 0) {
  26498. wlc_phy_classifier_nphy(pi, (0x7 << 0),
  26499. pi->classifier_state);
  26500. wlc_phy_clip_det_nphy(pi, 1, pi->clip_state);
  26501. }
  26502. }
  26503. }
  26504. void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode)
  26505. {
  26506. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  26507. if (mode) {
  26508. if (pi->nphy_deaf_count == 0)
  26509. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26510. } else if (pi->nphy_deaf_count > 0) {
  26511. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26512. }
  26513. wlapi_enable_mac(pi->sh->physhim);
  26514. }