phy_n.c 917 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634
  1. /*
  2. * Copyright (c) 2010 Broadcom Corporation
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  11. * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  13. * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  14. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  17. #include <linux/kernel.h>
  18. #include <linux/delay.h>
  19. #include <linux/cordic.h>
  20. #include <brcm_hw_ids.h>
  21. #include <aiutils.h>
  22. #include <chipcommon.h>
  23. #include <pmu.h>
  24. #include <d11.h>
  25. #include <phy_shim.h>
  26. #include "phy_int.h"
  27. #include "phy_hal.h"
  28. #include "phy_radio.h"
  29. #include "phyreg_n.h"
  30. #include "phytbl_n.h"
  31. #include "soc.h"
  32. #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \
  33. read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  34. ((core == PHY_CORE_0) ? \
  35. radio_type##_##jspace##0 : \
  36. radio_type##_##jspace##1))
  37. #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \
  38. write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  39. ((core == PHY_CORE_0) ? \
  40. radio_type##_##jspace##0 : \
  41. radio_type##_##jspace##1), value)
  42. #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \
  43. write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
  44. #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \
  45. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  46. radio_type##_##jspace##0##_##reg_name : \
  47. radio_type##_##jspace##1##_##reg_name))
  48. #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \
  49. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  50. radio_type##_##jspace##0##_##reg_name : \
  51. radio_type##_##jspace##1##_##reg_name), \
  52. value)
  53. #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \
  54. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  55. radio_type##_##reg_name##_##jspace##0 : \
  56. radio_type##_##reg_name##_##jspace##1))
  57. #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \
  58. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  59. radio_type##_##reg_name##_##jspace##0 : \
  60. radio_type##_##reg_name##_##jspace##1), \
  61. value)
  62. #define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ 40
  63. #define NPHY_ACI_CHANNEL_DELTA 5
  64. #define NPHY_ACI_CHANNEL_SKIP 4
  65. #define NPHY_ACI_40MHZ_CHANNEL_DELTA 6
  66. #define NPHY_ACI_40MHZ_CHANNEL_SKIP 5
  67. #define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3 6
  68. #define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3 5
  69. #define NPHY_ACI_CHANNEL_DELTA_GE_REV3 4
  70. #define NPHY_ACI_CHANNEL_SKIP_GE_REV3 3
  71. #define NPHY_NOISE_NOASSOC_GLITCH_TH_UP 2
  72. #define NPHY_NOISE_NOASSOC_GLITCH_TH_DN 8
  73. #define NPHY_NOISE_ASSOC_GLITCH_TH_UP 2
  74. #define NPHY_NOISE_ASSOC_GLITCH_TH_DN 8
  75. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP 2
  76. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN 8
  77. #define NPHY_NOISE_NOASSOC_ENTER_TH 400
  78. #define NPHY_NOISE_ASSOC_ENTER_TH 400
  79. #define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH 400
  80. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX 44
  81. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7 56
  82. #define NPHY_NOISE_NOASSOC_CRSIDX_INCR 16
  83. #define NPHY_NOISE_ASSOC_CRSIDX_INCR 8
  84. #define NPHY_IS_SROM_REINTERPRET NREV_GE(pi->pubpi.phy_rev, 5)
  85. #define NPHY_RSSICAL_MAXREAD 31
  86. #define NPHY_RSSICAL_NPOLL 8
  87. #define NPHY_RSSICAL_MAXD (1<<20)
  88. #define NPHY_MIN_RXIQ_PWR 2
  89. #define NPHY_RSSICAL_W1_TARGET 25
  90. #define NPHY_RSSICAL_W2_TARGET NPHY_RSSICAL_W1_TARGET
  91. #define NPHY_RSSICAL_NB_TARGET 0
  92. #define NPHY_RSSICAL_W1_TARGET_REV3 29
  93. #define NPHY_RSSICAL_W2_TARGET_REV3 NPHY_RSSICAL_W1_TARGET_REV3
  94. #define NPHY_CALSANITY_RSSI_NB_MAX_POS 9
  95. #define NPHY_CALSANITY_RSSI_NB_MAX_NEG -9
  96. #define NPHY_CALSANITY_RSSI_W1_MAX_POS 12
  97. #define NPHY_CALSANITY_RSSI_W1_MAX_NEG (NPHY_RSSICAL_W1_TARGET - \
  98. NPHY_RSSICAL_MAXREAD)
  99. #define NPHY_CALSANITY_RSSI_W2_MAX_POS NPHY_CALSANITY_RSSI_W1_MAX_POS
  100. #define NPHY_CALSANITY_RSSI_W2_MAX_NEG (NPHY_RSSICAL_W2_TARGET - \
  101. NPHY_RSSICAL_MAXREAD)
  102. #define NPHY_RSSI_SXT(x) ((s8) (-((x) & 0x20) + ((x) & 0x1f)))
  103. #define NPHY_RSSI_NB_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_NB_MAX_POS) || \
  104. ((x) < NPHY_CALSANITY_RSSI_NB_MAX_NEG))
  105. #define NPHY_RSSI_W1_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W1_MAX_POS) || \
  106. ((x) < NPHY_CALSANITY_RSSI_W1_MAX_NEG))
  107. #define NPHY_RSSI_W2_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W2_MAX_POS) || \
  108. ((x) < NPHY_CALSANITY_RSSI_W2_MAX_NEG))
  109. #define NPHY_IQCAL_NUMGAINS 9
  110. #define NPHY_N_GCTL 0x66
  111. #define NPHY_PAPD_EPS_TBL_SIZE 64
  112. #define NPHY_PAPD_SCL_TBL_SIZE 64
  113. #define NPHY_NUM_DIG_FILT_COEFFS 15
  114. #define NPHY_PAPD_COMP_OFF 0
  115. #define NPHY_PAPD_COMP_ON 1
  116. #define NPHY_SROM_TEMPSHIFT 32
  117. #define NPHY_SROM_MAXTEMPOFFSET 16
  118. #define NPHY_SROM_MINTEMPOFFSET -16
  119. #define NPHY_CAL_MAXTEMPDELTA 64
  120. #define NPHY_NOISEVAR_TBLLEN40 256
  121. #define NPHY_NOISEVAR_TBLLEN20 128
  122. #define NPHY_ANARXLPFBW_REDUCTIONFACT 7
  123. #define NPHY_ADJUSTED_MINCRSPOWER 0x1e
  124. /* 5357 Chip specific ChipControl register bits */
  125. #define CCTRL5357_EXTPA (1<<14) /* extPA in ChipControl 1, bit 14 */
  126. #define CCTRL5357_ANT_MUX_2o3 (1<<15) /* 2o3 in ChipControl 1, bit 15 */
  127. #define NPHY_CAL_TSSISAMPS 64
  128. #define NPHY_TEST_TONE_FREQ_40MHz 4000
  129. #define NPHY_TEST_TONE_FREQ_20MHz 2500
  130. #define MAX_205x_RCAL_WAITLOOPS 10000
  131. #define NPHY_RXCAL_TONEAMP 181
  132. #define NPHY_RXCAL_TONEFREQ_40MHz 4000
  133. #define NPHY_RXCAL_TONEFREQ_20MHz 2000
  134. #define TXFILT_SHAPING_OFDM20 0
  135. #define TXFILT_SHAPING_OFDM40 1
  136. #define TXFILT_SHAPING_CCK 2
  137. #define TXFILT_DEFAULT_OFDM20 3
  138. #define TXFILT_DEFAULT_OFDM40 4
  139. struct nphy_iqcal_params {
  140. u16 txlpf;
  141. u16 txgm;
  142. u16 pga;
  143. u16 pad;
  144. u16 ipa;
  145. u16 cal_gain;
  146. u16 ncorr[5];
  147. };
  148. struct nphy_txiqcal_ladder {
  149. u8 percent;
  150. u8 g_env;
  151. };
  152. struct nphy_ipa_txcalgains {
  153. struct nphy_txgains gains;
  154. bool useindex;
  155. u8 index;
  156. };
  157. struct nphy_papd_restore_state {
  158. u16 fbmix[2];
  159. u16 vga_master[2];
  160. u16 intpa_master[2];
  161. u16 afectrl[2];
  162. u16 afeoverride[2];
  163. u16 pwrup[2];
  164. u16 atten[2];
  165. u16 mm;
  166. };
  167. struct nphy_ipa_txrxgain {
  168. u16 hpvga;
  169. u16 lpf_biq1;
  170. u16 lpf_biq0;
  171. u16 lna2;
  172. u16 lna1;
  173. s8 txpwrindex;
  174. };
  175. #define NPHY_IPA_RXCAL_MAXGAININDEX (6 - 1)
  176. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz[] = {
  177. {0, 0, 0, 0, 0, 100},
  178. {0, 0, 0, 0, 0, 50},
  179. {0, 0, 0, 0, 0, -1},
  180. {0, 0, 0, 3, 0, -1},
  181. {0, 0, 3, 3, 0, -1},
  182. {0, 2, 3, 3, 0, -1}
  183. };
  184. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz[] = {
  185. {0, 0, 0, 0, 0, 128},
  186. {0, 0, 0, 0, 0, 70},
  187. {0, 0, 0, 0, 0, 20},
  188. {0, 0, 0, 3, 0, 20},
  189. {0, 0, 3, 3, 0, 20},
  190. {0, 2, 3, 3, 0, 20}
  191. };
  192. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz_rev7[] = {
  193. {0, 0, 0, 0, 0, 100},
  194. {0, 0, 0, 0, 0, 50},
  195. {0, 0, 0, 0, 0, -1},
  196. {0, 0, 0, 3, 0, -1},
  197. {0, 0, 3, 3, 0, -1},
  198. {0, 0, 5, 3, 0, -1}
  199. };
  200. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz_rev7[] = {
  201. {0, 0, 0, 0, 0, 10},
  202. {0, 0, 0, 1, 0, 10},
  203. {0, 0, 1, 2, 0, 10},
  204. {0, 0, 1, 3, 0, 10},
  205. {0, 0, 4, 3, 0, 10},
  206. {0, 0, 6, 3, 0, 10}
  207. };
  208. enum {
  209. NPHY_RXCAL_GAIN_INIT = 0,
  210. NPHY_RXCAL_GAIN_UP,
  211. NPHY_RXCAL_GAIN_DOWN
  212. };
  213. #define wlc_phy_get_papd_nphy(pi) \
  214. (read_phy_reg((pi), 0x1e7) & \
  215. ((0x1 << 15) | \
  216. (0x1 << 14) | \
  217. (0x1 << 13)))
  218. static const u16 NPHY_IPA_REV4_txdigi_filtcoeffs[][NPHY_NUM_DIG_FILT_COEFFS] = {
  219. {-377, 137, -407, 208, -1527, 956, 93, 186, 93,
  220. 230, -44, 230, 201, -191, 201},
  221. {-77, 20, -98, 49, -93, 60, 56, 111, 56, 26, -5,
  222. 26, 34, -32, 34},
  223. {-360, 164, -376, 164, -1533, 576, 308, -314, 308,
  224. 121, -73, 121, 91, 124, 91},
  225. {-295, 200, -363, 142, -1391, 826, 151, 301, 151,
  226. 151, 301, 151, 602, -752, 602},
  227. {-92, 58, -96, 49, -104, 44, 17, 35, 17,
  228. 12, 25, 12, 13, 27, 13},
  229. {-375, 136, -399, 209, -1479, 949, 130, 260, 130,
  230. 230, -44, 230, 201, -191, 201},
  231. {0xed9, 0xc8, 0xe95, 0x8e, 0xa91, 0x33a, 0x97, 0x12d, 0x97,
  232. 0x97, 0x12d, 0x97, 0x25a, 0xd10, 0x25a}
  233. };
  234. struct chan_info_nphy_2055 {
  235. u16 chan;
  236. u16 freq;
  237. uint unknown;
  238. u8 RF_pll_ref;
  239. u8 RF_rf_pll_mod1;
  240. u8 RF_rf_pll_mod0;
  241. u8 RF_vco_cap_tail;
  242. u8 RF_vco_cal1;
  243. u8 RF_vco_cal2;
  244. u8 RF_pll_lf_c1;
  245. u8 RF_pll_lf_r1;
  246. u8 RF_pll_lf_c2;
  247. u8 RF_lgbuf_cen_buf;
  248. u8 RF_lgen_tune1;
  249. u8 RF_lgen_tune2;
  250. u8 RF_core1_lgbuf_a_tune;
  251. u8 RF_core1_lgbuf_g_tune;
  252. u8 RF_core1_rxrf_reg1;
  253. u8 RF_core1_tx_pga_pad_tn;
  254. u8 RF_core1_tx_mx_bgtrim;
  255. u8 RF_core2_lgbuf_a_tune;
  256. u8 RF_core2_lgbuf_g_tune;
  257. u8 RF_core2_rxrf_reg1;
  258. u8 RF_core2_tx_pga_pad_tn;
  259. u8 RF_core2_tx_mx_bgtrim;
  260. u16 PHY_BW1a;
  261. u16 PHY_BW2;
  262. u16 PHY_BW3;
  263. u16 PHY_BW4;
  264. u16 PHY_BW5;
  265. u16 PHY_BW6;
  266. };
  267. struct chan_info_nphy_radio205x {
  268. u16 chan;
  269. u16 freq;
  270. u8 RF_SYN_pll_vcocal1;
  271. u8 RF_SYN_pll_vcocal2;
  272. u8 RF_SYN_pll_refdiv;
  273. u8 RF_SYN_pll_mmd2;
  274. u8 RF_SYN_pll_mmd1;
  275. u8 RF_SYN_pll_loopfilter1;
  276. u8 RF_SYN_pll_loopfilter2;
  277. u8 RF_SYN_pll_loopfilter3;
  278. u8 RF_SYN_pll_loopfilter4;
  279. u8 RF_SYN_pll_loopfilter5;
  280. u8 RF_SYN_reserved_addr27;
  281. u8 RF_SYN_reserved_addr28;
  282. u8 RF_SYN_reserved_addr29;
  283. u8 RF_SYN_logen_VCOBUF1;
  284. u8 RF_SYN_logen_MIXER2;
  285. u8 RF_SYN_logen_BUF3;
  286. u8 RF_SYN_logen_BUF4;
  287. u8 RF_RX0_lnaa_tune;
  288. u8 RF_RX0_lnag_tune;
  289. u8 RF_TX0_intpaa_boost_tune;
  290. u8 RF_TX0_intpag_boost_tune;
  291. u8 RF_TX0_pada_boost_tune;
  292. u8 RF_TX0_padg_boost_tune;
  293. u8 RF_TX0_pgaa_boost_tune;
  294. u8 RF_TX0_pgag_boost_tune;
  295. u8 RF_TX0_mixa_boost_tune;
  296. u8 RF_TX0_mixg_boost_tune;
  297. u8 RF_RX1_lnaa_tune;
  298. u8 RF_RX1_lnag_tune;
  299. u8 RF_TX1_intpaa_boost_tune;
  300. u8 RF_TX1_intpag_boost_tune;
  301. u8 RF_TX1_pada_boost_tune;
  302. u8 RF_TX1_padg_boost_tune;
  303. u8 RF_TX1_pgaa_boost_tune;
  304. u8 RF_TX1_pgag_boost_tune;
  305. u8 RF_TX1_mixa_boost_tune;
  306. u8 RF_TX1_mixg_boost_tune;
  307. u16 PHY_BW1a;
  308. u16 PHY_BW2;
  309. u16 PHY_BW3;
  310. u16 PHY_BW4;
  311. u16 PHY_BW5;
  312. u16 PHY_BW6;
  313. };
  314. struct chan_info_nphy_radio2057 {
  315. u16 chan;
  316. u16 freq;
  317. u8 RF_vcocal_countval0;
  318. u8 RF_vcocal_countval1;
  319. u8 RF_rfpll_refmaster_sparextalsize;
  320. u8 RF_rfpll_loopfilter_r1;
  321. u8 RF_rfpll_loopfilter_c2;
  322. u8 RF_rfpll_loopfilter_c1;
  323. u8 RF_cp_kpd_idac;
  324. u8 RF_rfpll_mmd0;
  325. u8 RF_rfpll_mmd1;
  326. u8 RF_vcobuf_tune;
  327. u8 RF_logen_mx2g_tune;
  328. u8 RF_logen_mx5g_tune;
  329. u8 RF_logen_indbuf2g_tune;
  330. u8 RF_logen_indbuf5g_tune;
  331. u8 RF_txmix2g_tune_boost_pu_core0;
  332. u8 RF_pad2g_tune_pus_core0;
  333. u8 RF_pga_boost_tune_core0;
  334. u8 RF_txmix5g_boost_tune_core0;
  335. u8 RF_pad5g_tune_misc_pus_core0;
  336. u8 RF_lna2g_tune_core0;
  337. u8 RF_lna5g_tune_core0;
  338. u8 RF_txmix2g_tune_boost_pu_core1;
  339. u8 RF_pad2g_tune_pus_core1;
  340. u8 RF_pga_boost_tune_core1;
  341. u8 RF_txmix5g_boost_tune_core1;
  342. u8 RF_pad5g_tune_misc_pus_core1;
  343. u8 RF_lna2g_tune_core1;
  344. u8 RF_lna5g_tune_core1;
  345. u16 PHY_BW1a;
  346. u16 PHY_BW2;
  347. u16 PHY_BW3;
  348. u16 PHY_BW4;
  349. u16 PHY_BW5;
  350. u16 PHY_BW6;
  351. };
  352. struct chan_info_nphy_radio2057_rev5 {
  353. u16 chan;
  354. u16 freq;
  355. u8 RF_vcocal_countval0;
  356. u8 RF_vcocal_countval1;
  357. u8 RF_rfpll_refmaster_sparextalsize;
  358. u8 RF_rfpll_loopfilter_r1;
  359. u8 RF_rfpll_loopfilter_c2;
  360. u8 RF_rfpll_loopfilter_c1;
  361. u8 RF_cp_kpd_idac;
  362. u8 RF_rfpll_mmd0;
  363. u8 RF_rfpll_mmd1;
  364. u8 RF_vcobuf_tune;
  365. u8 RF_logen_mx2g_tune;
  366. u8 RF_logen_indbuf2g_tune;
  367. u8 RF_txmix2g_tune_boost_pu_core0;
  368. u8 RF_pad2g_tune_pus_core0;
  369. u8 RF_lna2g_tune_core0;
  370. u8 RF_txmix2g_tune_boost_pu_core1;
  371. u8 RF_pad2g_tune_pus_core1;
  372. u8 RF_lna2g_tune_core1;
  373. u16 PHY_BW1a;
  374. u16 PHY_BW2;
  375. u16 PHY_BW3;
  376. u16 PHY_BW4;
  377. u16 PHY_BW5;
  378. u16 PHY_BW6;
  379. };
  380. struct nphy_sfo_cfg {
  381. u16 PHY_BW1a;
  382. u16 PHY_BW2;
  383. u16 PHY_BW3;
  384. u16 PHY_BW4;
  385. u16 PHY_BW5;
  386. u16 PHY_BW6;
  387. };
  388. static const struct chan_info_nphy_2055 chan_info_nphy_2055[] = {
  389. {
  390. 184, 4920, 3280, 0x71, 0x01, 0xEC, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  391. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  392. 0x0F, 0x8F, 0x7B4, 0x7B0, 0x7AC, 0x214, 0x215, 0x216},
  393. {
  394. 186, 4930, 3287, 0x71, 0x01, 0xED, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  395. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  396. 0x0F, 0x8F, 0x7B8, 0x7B4, 0x7B0, 0x213, 0x214, 0x215},
  397. {
  398. 188, 4940, 3293, 0x71, 0x01, 0xEE, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  399. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  400. 0x0F, 0x8F, 0x7BC, 0x7B8, 0x7B4, 0x212, 0x213, 0x214},
  401. {
  402. 190, 4950, 3300, 0x71, 0x01, 0xEF, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  403. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  404. 0x0F, 0x8F, 0x7C0, 0x7BC, 0x7B8, 0x211, 0x212, 0x213},
  405. {
  406. 192, 4960, 3307, 0x71, 0x01, 0xF0, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  407. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  408. 0x0F, 0x8F, 0x7C4, 0x7C0, 0x7BC, 0x20F, 0x211, 0x212},
  409. {
  410. 194, 4970, 3313, 0x71, 0x01, 0xF1, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  411. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  412. 0x0F, 0x8F, 0x7C8, 0x7C4, 0x7C0, 0x20E, 0x20F, 0x211},
  413. {
  414. 196, 4980, 3320, 0x71, 0x01, 0xF2, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  415. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  416. 0x0F, 0x8F, 0x7CC, 0x7C8, 0x7C4, 0x20D, 0x20E, 0x20F},
  417. {
  418. 198, 4990, 3327, 0x71, 0x01, 0xF3, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  419. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  420. 0x0F, 0x8F, 0x7D0, 0x7CC, 0x7C8, 0x20C, 0x20D, 0x20E},
  421. {
  422. 200, 5000, 3333, 0x71, 0x01, 0xF4, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  423. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  424. 0x0F, 0x8F, 0x7D4, 0x7D0, 0x7CC, 0x20B, 0x20C, 0x20D},
  425. {
  426. 202, 5010, 3340, 0x71, 0x01, 0xF5, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  427. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  428. 0x0F, 0x8F, 0x7D8, 0x7D4, 0x7D0, 0x20A, 0x20B, 0x20C},
  429. {
  430. 204, 5020, 3347, 0x71, 0x01, 0xF6, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  431. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  432. 0x0F, 0x8F, 0x7DC, 0x7D8, 0x7D4, 0x209, 0x20A, 0x20B},
  433. {
  434. 206, 5030, 3353, 0x71, 0x01, 0xF7, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  435. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  436. 0x0F, 0x8F, 0x7E0, 0x7DC, 0x7D8, 0x208, 0x209, 0x20A},
  437. {
  438. 208, 5040, 3360, 0x71, 0x01, 0xF8, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  439. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  440. 0x0F, 0x8F, 0x7E4, 0x7E0, 0x7DC, 0x207, 0x208, 0x209},
  441. {
  442. 210, 5050, 3367, 0x71, 0x01, 0xF9, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  443. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  444. 0x0F, 0x8F, 0x7E8, 0x7E4, 0x7E0, 0x206, 0x207, 0x208},
  445. {
  446. 212, 5060, 3373, 0x71, 0x01, 0xFA, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  447. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  448. 0x0F, 0x8E, 0x7EC, 0x7E8, 0x7E4, 0x205, 0x206, 0x207},
  449. {
  450. 214, 5070, 3380, 0x71, 0x01, 0xFB, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  451. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  452. 0x0F, 0x8E, 0x7F0, 0x7EC, 0x7E8, 0x204, 0x205, 0x206},
  453. {
  454. 216, 5080, 3387, 0x71, 0x01, 0xFC, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  455. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  456. 0x0F, 0x8D, 0x7F4, 0x7F0, 0x7EC, 0x203, 0x204, 0x205},
  457. {
  458. 218, 5090, 3393, 0x71, 0x01, 0xFD, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  459. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  460. 0x0F, 0x8D, 0x7F8, 0x7F4, 0x7F0, 0x202, 0x203, 0x204},
  461. {
  462. 220, 5100, 3400, 0x71, 0x01, 0xFE, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  463. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  464. 0x0F, 0x8D, 0x7FC, 0x7F8, 0x7F4, 0x201, 0x202, 0x203},
  465. {
  466. 222, 5110, 3407, 0x71, 0x01, 0xFF, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  467. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  468. 0x0F, 0x8D, 0x800, 0x7FC, 0x7F8, 0x200, 0x201, 0x202},
  469. {
  470. 224, 5120, 3413, 0x71, 0x02, 0x00, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  471. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  472. 0x0F, 0x8C, 0x804, 0x800, 0x7FC, 0x1FF, 0x200, 0x201},
  473. {
  474. 226, 5130, 3420, 0x71, 0x02, 0x01, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  475. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  476. 0x0F, 0x8C, 0x808, 0x804, 0x800, 0x1FE, 0x1FF, 0x200},
  477. {
  478. 228, 5140, 3427, 0x71, 0x02, 0x02, 0x0C, 0xC6, 0x01, 0x04, 0x0A,
  479. 0x00, 0x8D, 0x99, 0x99, 0xDD, 0x00, 0x0C, 0x0E, 0x8B, 0xDD, 0x00, 0x0C,
  480. 0x0E, 0x8B, 0x80C, 0x808, 0x804, 0x1FD, 0x1FE, 0x1FF},
  481. {
  482. 32, 5160, 3440, 0x71, 0x02, 0x04, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  483. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  484. 0x0D, 0x8A, 0x814, 0x810, 0x80C, 0x1FB, 0x1FC, 0x1FD},
  485. {
  486. 34, 5170, 3447, 0x71, 0x02, 0x05, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  487. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  488. 0x0D, 0x8A, 0x818, 0x814, 0x810, 0x1FA, 0x1FB, 0x1FC},
  489. {
  490. 36, 5180, 3453, 0x71, 0x02, 0x06, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  491. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  492. 0x0C, 0x89, 0x81C, 0x818, 0x814, 0x1F9, 0x1FA, 0x1FB},
  493. {
  494. 38, 5190, 3460, 0x71, 0x02, 0x07, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  495. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  496. 0x0C, 0x89, 0x820, 0x81C, 0x818, 0x1F8, 0x1F9, 0x1FA},
  497. {
  498. 40, 5200, 3467, 0x71, 0x02, 0x08, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  499. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  500. 0x0B, 0x89, 0x824, 0x820, 0x81C, 0x1F7, 0x1F8, 0x1F9},
  501. {
  502. 42, 5210, 3473, 0x71, 0x02, 0x09, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  503. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  504. 0x0B, 0x89, 0x828, 0x824, 0x820, 0x1F6, 0x1F7, 0x1F8},
  505. {
  506. 44, 5220, 3480, 0x71, 0x02, 0x0A, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  507. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  508. 0x0A, 0x88, 0x82C, 0x828, 0x824, 0x1F5, 0x1F6, 0x1F7},
  509. {
  510. 46, 5230, 3487, 0x71, 0x02, 0x0B, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  511. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  512. 0x0A, 0x88, 0x830, 0x82C, 0x828, 0x1F4, 0x1F5, 0x1F6},
  513. {
  514. 48, 5240, 3493, 0x71, 0x02, 0x0C, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  515. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  516. 0x0A, 0x87, 0x834, 0x830, 0x82C, 0x1F3, 0x1F4, 0x1F5},
  517. {
  518. 50, 5250, 3500, 0x71, 0x02, 0x0D, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  519. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  520. 0x0A, 0x87, 0x838, 0x834, 0x830, 0x1F2, 0x1F3, 0x1F4},
  521. {
  522. 52, 5260, 3507, 0x71, 0x02, 0x0E, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  523. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  524. 0x09, 0x87, 0x83C, 0x838, 0x834, 0x1F1, 0x1F2, 0x1F3},
  525. {
  526. 54, 5270, 3513, 0x71, 0x02, 0x0F, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  527. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  528. 0x09, 0x87, 0x840, 0x83C, 0x838, 0x1F0, 0x1F1, 0x1F2},
  529. {
  530. 56, 5280, 3520, 0x71, 0x02, 0x10, 0x09, 0x91, 0x01, 0x04, 0x0A,
  531. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  532. 0x08, 0x86, 0x844, 0x840, 0x83C, 0x1F0, 0x1F0, 0x1F1},
  533. {
  534. 58, 5290, 3527, 0x71, 0x02, 0x11, 0x09, 0x91, 0x01, 0x04, 0x0A,
  535. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  536. 0x08, 0x86, 0x848, 0x844, 0x840, 0x1EF, 0x1F0, 0x1F0},
  537. {
  538. 60, 5300, 3533, 0x71, 0x02, 0x12, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  539. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  540. 0x07, 0x85, 0x84C, 0x848, 0x844, 0x1EE, 0x1EF, 0x1F0},
  541. {
  542. 62, 5310, 3540, 0x71, 0x02, 0x13, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  543. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  544. 0x07, 0x85, 0x850, 0x84C, 0x848, 0x1ED, 0x1EE, 0x1EF},
  545. {
  546. 64, 5320, 3547, 0x71, 0x02, 0x14, 0x09, 0x83, 0x01, 0x04, 0x0A,
  547. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  548. 0x07, 0x84, 0x854, 0x850, 0x84C, 0x1EC, 0x1ED, 0x1EE},
  549. {
  550. 66, 5330, 3553, 0x71, 0x02, 0x15, 0x09, 0x83, 0x01, 0x04, 0x0A,
  551. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  552. 0x07, 0x84, 0x858, 0x854, 0x850, 0x1EB, 0x1EC, 0x1ED},
  553. {
  554. 68, 5340, 3560, 0x71, 0x02, 0x16, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  555. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  556. 0x06, 0x84, 0x85C, 0x858, 0x854, 0x1EA, 0x1EB, 0x1EC},
  557. {
  558. 70, 5350, 3567, 0x71, 0x02, 0x17, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  559. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  560. 0x06, 0x84, 0x860, 0x85C, 0x858, 0x1E9, 0x1EA, 0x1EB},
  561. {
  562. 72, 5360, 3573, 0x71, 0x02, 0x18, 0x08, 0x75, 0x01, 0x04, 0x0A,
  563. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  564. 0x05, 0x83, 0x864, 0x860, 0x85C, 0x1E8, 0x1E9, 0x1EA},
  565. {
  566. 74, 5370, 3580, 0x71, 0x02, 0x19, 0x08, 0x75, 0x01, 0x04, 0x0A,
  567. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  568. 0x05, 0x83, 0x868, 0x864, 0x860, 0x1E7, 0x1E8, 0x1E9},
  569. {
  570. 76, 5380, 3587, 0x71, 0x02, 0x1A, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  571. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  572. 0x04, 0x82, 0x86C, 0x868, 0x864, 0x1E6, 0x1E7, 0x1E8},
  573. {
  574. 78, 5390, 3593, 0x71, 0x02, 0x1B, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  575. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  576. 0x04, 0x82, 0x870, 0x86C, 0x868, 0x1E5, 0x1E6, 0x1E7},
  577. {
  578. 80, 5400, 3600, 0x71, 0x02, 0x1C, 0x07, 0x67, 0x01, 0x04, 0x0A,
  579. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  580. 0x04, 0x81, 0x874, 0x870, 0x86C, 0x1E5, 0x1E5, 0x1E6},
  581. {
  582. 82, 5410, 3607, 0x71, 0x02, 0x1D, 0x07, 0x67, 0x01, 0x04, 0x0A,
  583. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  584. 0x04, 0x81, 0x878, 0x874, 0x870, 0x1E4, 0x1E5, 0x1E5},
  585. {
  586. 84, 5420, 3613, 0x71, 0x02, 0x1E, 0x07, 0x61, 0x01, 0x04, 0x0A,
  587. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  588. 0x03, 0x80, 0x87C, 0x878, 0x874, 0x1E3, 0x1E4, 0x1E5},
  589. {
  590. 86, 5430, 3620, 0x71, 0x02, 0x1F, 0x07, 0x61, 0x01, 0x04, 0x0A,
  591. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  592. 0x03, 0x80, 0x880, 0x87C, 0x878, 0x1E2, 0x1E3, 0x1E4},
  593. {
  594. 88, 5440, 3627, 0x71, 0x02, 0x20, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  595. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  596. 0x02, 0x80, 0x884, 0x880, 0x87C, 0x1E1, 0x1E2, 0x1E3},
  597. {
  598. 90, 5450, 3633, 0x71, 0x02, 0x21, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  599. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  600. 0x02, 0x80, 0x888, 0x884, 0x880, 0x1E0, 0x1E1, 0x1E2},
  601. {
  602. 92, 5460, 3640, 0x71, 0x02, 0x22, 0x06, 0x53, 0x01, 0x04, 0x0A,
  603. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  604. 0x01, 0x80, 0x88C, 0x888, 0x884, 0x1DF, 0x1E0, 0x1E1},
  605. {
  606. 94, 5470, 3647, 0x71, 0x02, 0x23, 0x06, 0x53, 0x01, 0x04, 0x0A,
  607. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  608. 0x01, 0x80, 0x890, 0x88C, 0x888, 0x1DE, 0x1DF, 0x1E0},
  609. {
  610. 96, 5480, 3653, 0x71, 0x02, 0x24, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  611. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  612. 0x00, 0x80, 0x894, 0x890, 0x88C, 0x1DD, 0x1DE, 0x1DF},
  613. {
  614. 98, 5490, 3660, 0x71, 0x02, 0x25, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  615. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  616. 0x00, 0x80, 0x898, 0x894, 0x890, 0x1DD, 0x1DD, 0x1DE},
  617. {
  618. 100, 5500, 3667, 0x71, 0x02, 0x26, 0x06, 0x47, 0x01, 0x04, 0x0A,
  619. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  620. 0x00, 0x80, 0x89C, 0x898, 0x894, 0x1DC, 0x1DD, 0x1DD},
  621. {
  622. 102, 5510, 3673, 0x71, 0x02, 0x27, 0x06, 0x47, 0x01, 0x04, 0x0A,
  623. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  624. 0x00, 0x80, 0x8A0, 0x89C, 0x898, 0x1DB, 0x1DC, 0x1DD},
  625. {
  626. 104, 5520, 3680, 0x71, 0x02, 0x28, 0x05, 0x40, 0x01, 0x04, 0x0A,
  627. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  628. 0x00, 0x80, 0x8A4, 0x8A0, 0x89C, 0x1DA, 0x1DB, 0x1DC},
  629. {
  630. 106, 5530, 3687, 0x71, 0x02, 0x29, 0x05, 0x40, 0x01, 0x04, 0x0A,
  631. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  632. 0x00, 0x80, 0x8A8, 0x8A4, 0x8A0, 0x1D9, 0x1DA, 0x1DB},
  633. {
  634. 108, 5540, 3693, 0x71, 0x02, 0x2A, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  635. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  636. 0x00, 0x80, 0x8AC, 0x8A8, 0x8A4, 0x1D8, 0x1D9, 0x1DA},
  637. {
  638. 110, 5550, 3700, 0x71, 0x02, 0x2B, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  639. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  640. 0x00, 0x80, 0x8B0, 0x8AC, 0x8A8, 0x1D7, 0x1D8, 0x1D9},
  641. {
  642. 112, 5560, 3707, 0x71, 0x02, 0x2C, 0x05, 0x34, 0x01, 0x04, 0x0A,
  643. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  644. 0x00, 0x80, 0x8B4, 0x8B0, 0x8AC, 0x1D7, 0x1D7, 0x1D8},
  645. {
  646. 114, 5570, 3713, 0x71, 0x02, 0x2D, 0x05, 0x34, 0x01, 0x04, 0x0A,
  647. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  648. 0x00, 0x80, 0x8B8, 0x8B4, 0x8B0, 0x1D6, 0x1D7, 0x1D7},
  649. {
  650. 116, 5580, 3720, 0x71, 0x02, 0x2E, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  651. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  652. 0x00, 0x80, 0x8BC, 0x8B8, 0x8B4, 0x1D5, 0x1D6, 0x1D7},
  653. {
  654. 118, 5590, 3727, 0x71, 0x02, 0x2F, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  655. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  656. 0x00, 0x80, 0x8C0, 0x8BC, 0x8B8, 0x1D4, 0x1D5, 0x1D6},
  657. {
  658. 120, 5600, 3733, 0x71, 0x02, 0x30, 0x04, 0x28, 0x01, 0x04, 0x0A,
  659. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  660. 0x00, 0x80, 0x8C4, 0x8C0, 0x8BC, 0x1D3, 0x1D4, 0x1D5},
  661. {
  662. 122, 5610, 3740, 0x71, 0x02, 0x31, 0x04, 0x28, 0x01, 0x04, 0x0A,
  663. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  664. 0x00, 0x80, 0x8C8, 0x8C4, 0x8C0, 0x1D2, 0x1D3, 0x1D4},
  665. {
  666. 124, 5620, 3747, 0x71, 0x02, 0x32, 0x04, 0x21, 0x01, 0x04, 0x0A,
  667. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  668. 0x00, 0x80, 0x8CC, 0x8C8, 0x8C4, 0x1D2, 0x1D2, 0x1D3},
  669. {
  670. 126, 5630, 3753, 0x71, 0x02, 0x33, 0x04, 0x21, 0x01, 0x04, 0x0A,
  671. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  672. 0x00, 0x80, 0x8D0, 0x8CC, 0x8C8, 0x1D1, 0x1D2, 0x1D2},
  673. {
  674. 128, 5640, 3760, 0x71, 0x02, 0x34, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  675. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  676. 0x00, 0x80, 0x8D4, 0x8D0, 0x8CC, 0x1D0, 0x1D1, 0x1D2},
  677. {
  678. 130, 5650, 3767, 0x71, 0x02, 0x35, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  679. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  680. 0x00, 0x80, 0x8D8, 0x8D4, 0x8D0, 0x1CF, 0x1D0, 0x1D1},
  681. {
  682. 132, 5660, 3773, 0x71, 0x02, 0x36, 0x03, 0x16, 0x01, 0x04, 0x0A,
  683. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  684. 0x00, 0x80, 0x8DC, 0x8D8, 0x8D4, 0x1CE, 0x1CF, 0x1D0},
  685. {
  686. 134, 5670, 3780, 0x71, 0x02, 0x37, 0x03, 0x16, 0x01, 0x04, 0x0A,
  687. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  688. 0x00, 0x80, 0x8E0, 0x8DC, 0x8D8, 0x1CE, 0x1CE, 0x1CF},
  689. {
  690. 136, 5680, 3787, 0x71, 0x02, 0x38, 0x03, 0x10, 0x01, 0x04, 0x0A,
  691. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  692. 0x00, 0x80, 0x8E4, 0x8E0, 0x8DC, 0x1CD, 0x1CE, 0x1CE},
  693. {
  694. 138, 5690, 3793, 0x71, 0x02, 0x39, 0x03, 0x10, 0x01, 0x04, 0x0A,
  695. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  696. 0x00, 0x80, 0x8E8, 0x8E4, 0x8E0, 0x1CC, 0x1CD, 0x1CE},
  697. {
  698. 140, 5700, 3800, 0x71, 0x02, 0x3A, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  699. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  700. 0x00, 0x80, 0x8EC, 0x8E8, 0x8E4, 0x1CB, 0x1CC, 0x1CD},
  701. {
  702. 142, 5710, 3807, 0x71, 0x02, 0x3B, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  703. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  704. 0x00, 0x80, 0x8F0, 0x8EC, 0x8E8, 0x1CA, 0x1CB, 0x1CC},
  705. {
  706. 144, 5720, 3813, 0x71, 0x02, 0x3C, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  707. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  708. 0x00, 0x80, 0x8F4, 0x8F0, 0x8EC, 0x1C9, 0x1CA, 0x1CB},
  709. {
  710. 145, 5725, 3817, 0x72, 0x04, 0x79, 0x02, 0x03, 0x01, 0x03, 0x14,
  711. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  712. 0x00, 0x80, 0x8F6, 0x8F2, 0x8EE, 0x1C9, 0x1CA, 0x1CB},
  713. {
  714. 146, 5730, 3820, 0x71, 0x02, 0x3D, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  715. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  716. 0x00, 0x80, 0x8F8, 0x8F4, 0x8F0, 0x1C9, 0x1C9, 0x1CA},
  717. {
  718. 147, 5735, 3823, 0x72, 0x04, 0x7B, 0x02, 0x03, 0x01, 0x03, 0x14,
  719. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  720. 0x00, 0x80, 0x8FA, 0x8F6, 0x8F2, 0x1C8, 0x1C9, 0x1CA},
  721. {
  722. 148, 5740, 3827, 0x71, 0x02, 0x3E, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  723. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  724. 0x00, 0x80, 0x8FC, 0x8F8, 0x8F4, 0x1C8, 0x1C9, 0x1C9},
  725. {
  726. 149, 5745, 3830, 0x72, 0x04, 0x7D, 0x02, 0xFE, 0x00, 0x03, 0x14,
  727. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  728. 0x00, 0x80, 0x8FE, 0x8FA, 0x8F6, 0x1C8, 0x1C8, 0x1C9},
  729. {
  730. 150, 5750, 3833, 0x71, 0x02, 0x3F, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  731. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  732. 0x00, 0x80, 0x900, 0x8FC, 0x8F8, 0x1C7, 0x1C8, 0x1C9},
  733. {
  734. 151, 5755, 3837, 0x72, 0x04, 0x7F, 0x02, 0xFE, 0x00, 0x03, 0x14,
  735. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  736. 0x00, 0x80, 0x902, 0x8FE, 0x8FA, 0x1C7, 0x1C8, 0x1C8},
  737. {
  738. 152, 5760, 3840, 0x71, 0x02, 0x40, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  739. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  740. 0x00, 0x80, 0x904, 0x900, 0x8FC, 0x1C6, 0x1C7, 0x1C8},
  741. {
  742. 153, 5765, 3843, 0x72, 0x04, 0x81, 0x02, 0xF8, 0x00, 0x03, 0x14,
  743. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  744. 0x00, 0x80, 0x906, 0x902, 0x8FE, 0x1C6, 0x1C7, 0x1C8},
  745. {
  746. 154, 5770, 3847, 0x71, 0x02, 0x41, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  747. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  748. 0x00, 0x80, 0x908, 0x904, 0x900, 0x1C6, 0x1C6, 0x1C7},
  749. {
  750. 155, 5775, 3850, 0x72, 0x04, 0x83, 0x02, 0xF8, 0x00, 0x03, 0x14,
  751. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  752. 0x00, 0x80, 0x90A, 0x906, 0x902, 0x1C5, 0x1C6, 0x1C7},
  753. {
  754. 156, 5780, 3853, 0x71, 0x02, 0x42, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  755. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  756. 0x00, 0x80, 0x90C, 0x908, 0x904, 0x1C5, 0x1C6, 0x1C6},
  757. {
  758. 157, 5785, 3857, 0x72, 0x04, 0x85, 0x02, 0xF2, 0x00, 0x03, 0x14,
  759. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  760. 0x00, 0x80, 0x90E, 0x90A, 0x906, 0x1C4, 0x1C5, 0x1C6},
  761. {
  762. 158, 5790, 3860, 0x71, 0x02, 0x43, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  763. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  764. 0x00, 0x80, 0x910, 0x90C, 0x908, 0x1C4, 0x1C5, 0x1C6},
  765. {
  766. 159, 5795, 3863, 0x72, 0x04, 0x87, 0x02, 0xF2, 0x00, 0x03, 0x14,
  767. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  768. 0x00, 0x80, 0x912, 0x90E, 0x90A, 0x1C4, 0x1C4, 0x1C5},
  769. {
  770. 160, 5800, 3867, 0x71, 0x02, 0x44, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  771. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  772. 0x00, 0x80, 0x914, 0x910, 0x90C, 0x1C3, 0x1C4, 0x1C5},
  773. {
  774. 161, 5805, 3870, 0x72, 0x04, 0x89, 0x01, 0xED, 0x00, 0x03, 0x14,
  775. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  776. 0x00, 0x80, 0x916, 0x912, 0x90E, 0x1C3, 0x1C4, 0x1C4},
  777. {
  778. 162, 5810, 3873, 0x71, 0x02, 0x45, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  779. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  780. 0x00, 0x80, 0x918, 0x914, 0x910, 0x1C2, 0x1C3, 0x1C4},
  781. {
  782. 163, 5815, 3877, 0x72, 0x04, 0x8B, 0x01, 0xED, 0x00, 0x03, 0x14,
  783. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  784. 0x00, 0x80, 0x91A, 0x916, 0x912, 0x1C2, 0x1C3, 0x1C4},
  785. {
  786. 164, 5820, 3880, 0x71, 0x02, 0x46, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  787. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  788. 0x00, 0x80, 0x91C, 0x918, 0x914, 0x1C2, 0x1C2, 0x1C3},
  789. {
  790. 165, 5825, 3883, 0x72, 0x04, 0x8D, 0x01, 0xED, 0x00, 0x03, 0x14,
  791. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  792. 0x00, 0x80, 0x91E, 0x91A, 0x916, 0x1C1, 0x1C2, 0x1C3},
  793. {
  794. 166, 5830, 3887, 0x71, 0x02, 0x47, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  795. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  796. 0x00, 0x80, 0x920, 0x91C, 0x918, 0x1C1, 0x1C2, 0x1C2},
  797. {
  798. 168, 5840, 3893, 0x71, 0x02, 0x48, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  799. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  800. 0x00, 0x80, 0x924, 0x920, 0x91C, 0x1C0, 0x1C1, 0x1C2},
  801. {
  802. 170, 5850, 3900, 0x71, 0x02, 0x49, 0x01, 0xE0, 0x00, 0x04, 0x0A,
  803. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  804. 0x00, 0x80, 0x928, 0x924, 0x920, 0x1BF, 0x1C0, 0x1C1},
  805. {
  806. 172, 5860, 3907, 0x71, 0x02, 0x4A, 0x01, 0xDE, 0x00, 0x04, 0x0A,
  807. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  808. 0x00, 0x80, 0x92C, 0x928, 0x924, 0x1BF, 0x1BF, 0x1C0},
  809. {
  810. 174, 5870, 3913, 0x71, 0x02, 0x4B, 0x00, 0xDB, 0x00, 0x04, 0x0A,
  811. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  812. 0x00, 0x80, 0x930, 0x92C, 0x928, 0x1BE, 0x1BF, 0x1BF},
  813. {
  814. 176, 5880, 3920, 0x71, 0x02, 0x4C, 0x00, 0xD8, 0x00, 0x04, 0x0A,
  815. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  816. 0x00, 0x80, 0x934, 0x930, 0x92C, 0x1BD, 0x1BE, 0x1BF},
  817. {
  818. 178, 5890, 3927, 0x71, 0x02, 0x4D, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  819. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  820. 0x00, 0x80, 0x938, 0x934, 0x930, 0x1BC, 0x1BD, 0x1BE},
  821. {
  822. 180, 5900, 3933, 0x71, 0x02, 0x4E, 0x00, 0xD3, 0x00, 0x04, 0x0A,
  823. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  824. 0x00, 0x80, 0x93C, 0x938, 0x934, 0x1BC, 0x1BC, 0x1BD},
  825. {
  826. 182, 5910, 3940, 0x71, 0x02, 0x4F, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  827. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  828. 0x00, 0x80, 0x940, 0x93C, 0x938, 0x1BB, 0x1BC, 0x1BC},
  829. {
  830. 1, 2412, 3216, 0x73, 0x09, 0x6C, 0x0F, 0x00, 0x01, 0x07, 0x15,
  831. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0D, 0x0C, 0x80, 0xFF, 0x88, 0x0D,
  832. 0x0C, 0x80, 0x3C9, 0x3C5, 0x3C1, 0x43A, 0x43F, 0x443},
  833. {
  834. 2, 2417, 3223, 0x73, 0x09, 0x71, 0x0F, 0x00, 0x01, 0x07, 0x15,
  835. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0B, 0x80, 0xFF, 0x88, 0x0C,
  836. 0x0B, 0x80, 0x3CB, 0x3C7, 0x3C3, 0x438, 0x43D, 0x441},
  837. {
  838. 3, 2422, 3229, 0x73, 0x09, 0x76, 0x0F, 0x00, 0x01, 0x07, 0x15,
  839. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  840. 0x0A, 0x80, 0x3CD, 0x3C9, 0x3C5, 0x436, 0x43A, 0x43F},
  841. {
  842. 4, 2427, 3236, 0x73, 0x09, 0x7B, 0x0F, 0x00, 0x01, 0x07, 0x15,
  843. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  844. 0x0A, 0x80, 0x3CF, 0x3CB, 0x3C7, 0x434, 0x438, 0x43D},
  845. {
  846. 5, 2432, 3243, 0x73, 0x09, 0x80, 0x0F, 0x00, 0x01, 0x07, 0x15,
  847. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x09, 0x80, 0xFF, 0x88, 0x0C,
  848. 0x09, 0x80, 0x3D1, 0x3CD, 0x3C9, 0x431, 0x436, 0x43A},
  849. {
  850. 6, 2437, 3249, 0x73, 0x09, 0x85, 0x0F, 0x00, 0x01, 0x07, 0x15,
  851. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0B, 0x08, 0x80, 0xFF, 0x88, 0x0B,
  852. 0x08, 0x80, 0x3D3, 0x3CF, 0x3CB, 0x42F, 0x434, 0x438},
  853. {
  854. 7, 2442, 3256, 0x73, 0x09, 0x8A, 0x0F, 0x00, 0x01, 0x07, 0x15,
  855. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x07, 0x80, 0xFF, 0x88, 0x0A,
  856. 0x07, 0x80, 0x3D5, 0x3D1, 0x3CD, 0x42D, 0x431, 0x436},
  857. {
  858. 8, 2447, 3263, 0x73, 0x09, 0x8F, 0x0F, 0x00, 0x01, 0x07, 0x15,
  859. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x06, 0x80, 0xFF, 0x88, 0x0A,
  860. 0x06, 0x80, 0x3D7, 0x3D3, 0x3CF, 0x42B, 0x42F, 0x434},
  861. {
  862. 9, 2452, 3269, 0x73, 0x09, 0x94, 0x0F, 0x00, 0x01, 0x07, 0x15,
  863. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x09, 0x06, 0x80, 0xFF, 0x88, 0x09,
  864. 0x06, 0x80, 0x3D9, 0x3D5, 0x3D1, 0x429, 0x42D, 0x431},
  865. {
  866. 10, 2457, 3276, 0x73, 0x09, 0x99, 0x0F, 0x00, 0x01, 0x07, 0x15,
  867. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x05, 0x80, 0xFF, 0x88, 0x08,
  868. 0x05, 0x80, 0x3DB, 0x3D7, 0x3D3, 0x427, 0x42B, 0x42F},
  869. {
  870. 11, 2462, 3283, 0x73, 0x09, 0x9E, 0x0F, 0x00, 0x01, 0x07, 0x15,
  871. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x04, 0x80, 0xFF, 0x88, 0x08,
  872. 0x04, 0x80, 0x3DD, 0x3D9, 0x3D5, 0x424, 0x429, 0x42D},
  873. {
  874. 12, 2467, 3289, 0x73, 0x09, 0xA3, 0x0F, 0x00, 0x01, 0x07, 0x15,
  875. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x03, 0x80, 0xFF, 0x88, 0x08,
  876. 0x03, 0x80, 0x3DF, 0x3DB, 0x3D7, 0x422, 0x427, 0x42B},
  877. {
  878. 13, 2472, 3296, 0x73, 0x09, 0xA8, 0x0F, 0x00, 0x01, 0x07, 0x15,
  879. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x03, 0x80, 0xFF, 0x88, 0x07,
  880. 0x03, 0x80, 0x3E1, 0x3DD, 0x3D9, 0x420, 0x424, 0x429},
  881. {
  882. 14, 2484, 3312, 0x73, 0x09, 0xB4, 0x0F, 0xFF, 0x01, 0x07, 0x15,
  883. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x01, 0x80, 0xFF, 0x88, 0x07,
  884. 0x01, 0x80, 0x3E6, 0x3E2, 0x3DE, 0x41B, 0x41F, 0x424}
  885. };
  886. static const struct chan_info_nphy_radio205x chan_info_nphyrev3_2056[] = {
  887. {
  888. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  889. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  890. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  891. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  892. {
  893. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  894. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  895. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  896. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  897. {
  898. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  899. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  900. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  901. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  902. {
  903. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  904. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  905. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  906. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  907. {
  908. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  909. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  910. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  911. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  912. {
  913. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  914. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  915. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  916. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  917. {
  918. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  919. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  920. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  921. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  922. {
  923. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  924. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  925. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  926. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  927. {
  928. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  929. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  930. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  931. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  932. {
  933. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  934. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  935. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  936. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  937. {
  938. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  939. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  940. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  941. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  942. {
  943. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  944. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  945. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  946. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  947. {
  948. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  949. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  950. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  951. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  952. {
  953. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  954. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  955. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  956. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  957. {
  958. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  959. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  960. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  961. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  962. {
  963. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  964. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  965. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  966. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  967. {
  968. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  969. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  970. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  971. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  972. {
  973. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  974. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  975. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  976. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  977. {
  978. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  979. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  980. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  981. 0x00, 0xff, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  982. {
  983. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  984. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  985. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  986. 0x00, 0xfc, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  987. {
  988. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  989. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  990. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  991. 0x00, 0xfc, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  992. {
  993. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  994. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  995. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  996. 0x00, 0xfc, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  997. {
  998. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  999. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1000. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1001. 0x00, 0xfc, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1002. {
  1003. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1004. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1005. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1006. 0x00, 0xfc, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1007. {
  1008. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1009. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1010. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1011. 0x00, 0xfc, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1012. {
  1013. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1014. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1015. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1016. 0x00, 0xfc, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1017. {
  1018. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1019. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1020. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1021. 0x00, 0xfc, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1022. {
  1023. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1024. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x06, 0x00, 0x7f,
  1025. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1026. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1027. {
  1028. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1029. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1030. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1031. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1032. {
  1033. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1034. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1035. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1036. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1037. {
  1038. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1039. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1040. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1041. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1042. {
  1043. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1044. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1045. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1046. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1047. {
  1048. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1049. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1050. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1051. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1052. {
  1053. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1054. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1055. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1056. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1057. {
  1058. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1059. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1060. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1061. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1062. {
  1063. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1064. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1065. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1066. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1067. {
  1068. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1069. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1070. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1071. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1072. {
  1073. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1074. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1075. 0x00, 0x09, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1076. 0x00, 0xfc, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1077. {
  1078. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1079. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1080. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1081. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1082. {
  1083. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1084. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1085. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1086. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1087. {
  1088. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1089. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1090. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1091. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1092. {
  1093. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1094. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1095. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1096. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1097. {
  1098. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1099. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1100. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1101. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1102. {
  1103. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1104. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1105. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1106. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1107. {
  1108. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1109. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1110. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1111. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1112. {
  1113. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1114. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1115. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1116. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1117. {
  1118. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1119. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x05, 0x00, 0x7f,
  1120. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1121. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1122. {
  1123. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1124. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1125. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1126. 0x00, 0xfa, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1127. {
  1128. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1129. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1130. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1131. 0x00, 0xfa, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1132. {
  1133. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1134. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1135. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1136. 0x00, 0xfa, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1137. {
  1138. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1139. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1140. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1141. 0x00, 0xfa, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1142. {
  1143. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1144. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x04, 0x00, 0x7f,
  1145. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1146. 0x00, 0xfa, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1147. {
  1148. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1149. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x04, 0x00, 0x7f,
  1150. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1151. 0x00, 0xfa, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1152. {
  1153. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1154. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1155. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1156. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1157. {
  1158. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1159. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1160. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1161. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1162. {
  1163. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1164. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x04, 0x00, 0x7f,
  1165. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1166. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1167. {
  1168. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1169. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x04, 0x00, 0x7f,
  1170. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1171. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1172. {
  1173. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1174. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x03, 0x00, 0x7f,
  1175. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1176. 0x00, 0xf8, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1177. {
  1178. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1179. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1180. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1181. 0x00, 0xf8, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1182. {
  1183. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1184. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1185. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1186. 0x00, 0xf8, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1187. {
  1188. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1189. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1190. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1191. 0x00, 0xf8, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1192. {
  1193. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1194. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1195. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1196. 0x00, 0xf8, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1197. {
  1198. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1199. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1200. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1201. 0x00, 0xf8, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1202. {
  1203. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1204. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x03, 0x00, 0x7f,
  1205. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1206. 0x00, 0xf8, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1207. {
  1208. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1209. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x03, 0x00, 0x7f,
  1210. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1211. 0x00, 0xf8, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1212. {
  1213. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1214. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1215. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1216. 0x00, 0xf8, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1217. {
  1218. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1219. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1220. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1221. 0x00, 0xf8, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1222. {
  1223. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1224. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1225. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1226. 0x00, 0xf8, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1227. {
  1228. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1229. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1230. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1231. 0x00, 0xf8, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1232. {
  1233. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1234. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1235. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1236. 0x00, 0xf8, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1237. {
  1238. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1239. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1240. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1241. 0x00, 0xf8, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1242. {
  1243. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1244. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1245. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1246. 0x00, 0xf8, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1247. {
  1248. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1249. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1250. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1251. 0x00, 0xf8, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1252. {
  1253. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1254. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1255. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1256. 0x00, 0xf6, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1257. {
  1258. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1259. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1260. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1261. 0x00, 0xf6, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1262. {
  1263. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1264. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1265. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1266. 0x00, 0xf6, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1267. {
  1268. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1269. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1270. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1271. 0x00, 0xf6, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1272. {
  1273. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1274. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1275. 0x00, 0x06, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1276. 0x00, 0xf6, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1277. {
  1278. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1279. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1280. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1281. 0x00, 0xf4, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1282. {
  1283. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1284. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1285. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1286. 0x00, 0xf4, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1287. {
  1288. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1289. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1290. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1291. 0x00, 0xf4, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1292. {
  1293. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1294. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1295. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1296. 0x00, 0xf4, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1297. {
  1298. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1299. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1300. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1301. 0x00, 0xf4, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1302. {
  1303. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1304. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1305. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1306. 0x00, 0xf4, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1307. {
  1308. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1309. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1310. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1311. 0x00, 0xf4, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1312. {
  1313. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1314. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1315. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1316. 0x00, 0xf4, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1317. {
  1318. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1319. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1320. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1321. 0x00, 0xf4, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1322. {
  1323. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1324. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1325. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1326. 0x00, 0xf4, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1327. {
  1328. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1329. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1330. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1331. 0x00, 0xf4, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1332. {
  1333. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1334. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1335. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1336. 0x00, 0xf4, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1337. {
  1338. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1339. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1340. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1341. 0x00, 0xf4, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1342. {
  1343. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1344. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1345. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1346. 0x00, 0xf4, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1347. {
  1348. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1349. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1350. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1351. 0x00, 0xf4, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1352. {
  1353. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1354. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1355. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1356. 0x00, 0xf4, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1357. {
  1358. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1359. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1360. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1361. 0x00, 0xf4, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1362. {
  1363. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1364. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1365. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1366. 0x00, 0xf4, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1367. {
  1368. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1369. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1370. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1371. 0x00, 0xf4, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1372. {
  1373. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1374. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1375. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1376. 0x00, 0xf4, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1377. {
  1378. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1379. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1380. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1381. 0x00, 0xf4, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  1382. {
  1383. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1384. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1385. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1386. 0x00, 0xf4, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  1387. {
  1388. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1389. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1390. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1391. 0x00, 0xf4, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  1392. {
  1393. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1394. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1395. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1396. 0x00, 0xf4, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  1397. {
  1398. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1399. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1400. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1401. 0x00, 0xf4, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  1402. {
  1403. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1404. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1405. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1406. 0x00, 0xf4, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  1407. {
  1408. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1409. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1410. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1411. 0x00, 0xf2, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  1412. {
  1413. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1414. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1415. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1416. 0x00, 0xf2, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  1417. {
  1418. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1419. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1420. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1421. 0x00, 0xf2, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  1422. {
  1423. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1424. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1425. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1426. 0x00, 0xf2, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  1427. {
  1428. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1429. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1430. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1431. 0x00, 0xf2, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  1432. {
  1433. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1434. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  1435. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1436. 0x00, 0xf2, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  1437. {
  1438. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  1439. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1440. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1441. 0x0f, 0x00, 0x0f, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  1442. {
  1443. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  1444. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1445. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1446. 0x0f, 0x00, 0x0f, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  1447. {
  1448. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  1449. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1450. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1451. 0x0f, 0x00, 0x0f, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  1452. {
  1453. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  1454. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x05, 0x00,
  1455. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfd, 0x00, 0x05, 0x00, 0x70, 0x00,
  1456. 0x0f, 0x00, 0x0f, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  1457. {
  1458. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  1459. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x05, 0x00,
  1460. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfb, 0x00, 0x05, 0x00, 0x70, 0x00,
  1461. 0x0f, 0x00, 0x0f, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  1462. {
  1463. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  1464. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x05, 0x00,
  1465. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x05, 0x00, 0x70, 0x00,
  1466. 0x0f, 0x00, 0x0f, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  1467. {
  1468. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  1469. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x05, 0x00,
  1470. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x05, 0x00, 0x70, 0x00,
  1471. 0x0f, 0x00, 0x0f, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  1472. {
  1473. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  1474. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x05, 0x00,
  1475. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf7, 0x00, 0x05, 0x00, 0x70, 0x00,
  1476. 0x0f, 0x00, 0x0f, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  1477. {
  1478. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  1479. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x05, 0x00,
  1480. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf6, 0x00, 0x05, 0x00, 0x70, 0x00,
  1481. 0x0f, 0x00, 0x0f, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  1482. {
  1483. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  1484. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x05, 0x00,
  1485. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf5, 0x00, 0x05, 0x00, 0x70, 0x00,
  1486. 0x0f, 0x00, 0x0d, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  1487. {
  1488. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  1489. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x05, 0x00,
  1490. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x70, 0x00,
  1491. 0x0f, 0x00, 0x0d, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  1492. {
  1493. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  1494. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x05, 0x00,
  1495. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf3, 0x00, 0x05, 0x00, 0x70, 0x00,
  1496. 0x0f, 0x00, 0x0d, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  1497. {
  1498. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  1499. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x05, 0x00,
  1500. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x70, 0x00,
  1501. 0x0f, 0x00, 0x0d, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  1502. {
  1503. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  1504. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x05, 0x00,
  1505. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf0, 0x00, 0x05, 0x00, 0x70, 0x00,
  1506. 0x0f, 0x00, 0x0d, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  1507. };
  1508. static const struct chan_info_nphy_radio205x chan_info_nphyrev4_2056_A1[] = {
  1509. {
  1510. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1511. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1512. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1513. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  1514. {
  1515. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1516. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1517. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1518. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  1519. {
  1520. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1521. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1522. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1523. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  1524. {
  1525. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1526. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1527. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1528. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  1529. {
  1530. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1531. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1532. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1533. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  1534. {
  1535. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1536. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1537. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1538. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  1539. {
  1540. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1541. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1542. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1543. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  1544. {
  1545. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1546. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1547. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1548. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  1549. {
  1550. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1551. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1552. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1553. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  1554. {
  1555. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1556. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1557. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1558. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  1559. {
  1560. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1561. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1562. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1563. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  1564. {
  1565. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1566. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1567. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1568. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  1569. {
  1570. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1571. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1572. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1573. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  1574. {
  1575. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1576. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1577. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1578. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  1579. {
  1580. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1581. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1582. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1583. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  1584. {
  1585. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1586. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1587. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1588. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  1589. {
  1590. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1591. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1592. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1593. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  1594. {
  1595. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1596. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1597. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1598. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  1599. {
  1600. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1601. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1602. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1603. 0x00, 0xfe, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  1604. {
  1605. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1606. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1607. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1608. 0x00, 0xfe, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  1609. {
  1610. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1611. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1612. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1613. 0x00, 0xfe, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  1614. {
  1615. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1616. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1617. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1618. 0x00, 0xfe, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  1619. {
  1620. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1621. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1622. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1623. 0x00, 0xfe, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1624. {
  1625. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1626. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1627. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1628. 0x00, 0xfe, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1629. {
  1630. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1631. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1632. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1633. 0x00, 0xfe, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1634. {
  1635. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1636. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1637. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1638. 0x00, 0xfe, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1639. {
  1640. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1641. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1642. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1643. 0x00, 0xfe, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1644. {
  1645. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1646. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0a, 0x00, 0x7f,
  1647. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1648. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1649. {
  1650. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1651. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1652. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1653. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1654. {
  1655. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1656. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1657. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1658. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1659. {
  1660. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1661. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1662. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1663. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1664. {
  1665. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1666. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1667. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1668. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1669. {
  1670. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1671. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1672. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1673. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1674. {
  1675. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1676. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1677. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1678. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1679. {
  1680. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1681. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1682. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1683. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1684. {
  1685. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1686. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1687. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1688. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1689. {
  1690. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1691. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1692. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1693. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1694. {
  1695. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1696. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1697. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1698. 0x00, 0xfa, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1699. {
  1700. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1701. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1702. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1703. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1704. {
  1705. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1706. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1707. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1708. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1709. {
  1710. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1711. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1712. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1713. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1714. {
  1715. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1716. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1717. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1718. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1719. {
  1720. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1721. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1722. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1723. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1724. {
  1725. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1726. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1727. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1728. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1729. {
  1730. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1731. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1732. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1733. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1734. {
  1735. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1736. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1737. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1738. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1739. {
  1740. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1741. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x08, 0x00, 0x7f,
  1742. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1743. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1744. {
  1745. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1746. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1747. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1748. 0x00, 0xf8, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1749. {
  1750. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1751. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1752. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1753. 0x00, 0xf8, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1754. {
  1755. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1756. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1757. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1758. 0x00, 0xf8, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1759. {
  1760. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1761. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1762. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1763. 0x00, 0xf8, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1764. {
  1765. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1766. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x07, 0x00, 0x7f,
  1767. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1768. 0x00, 0xf8, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1769. {
  1770. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1771. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x07, 0x00, 0x7f,
  1772. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1773. 0x00, 0xf8, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1774. {
  1775. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1776. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1777. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1778. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1779. {
  1780. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1781. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1782. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1783. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1784. {
  1785. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1786. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x07, 0x00, 0x7f,
  1787. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1788. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1789. {
  1790. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1791. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x07, 0x00, 0x7f,
  1792. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1793. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1794. {
  1795. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1796. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x06, 0x00, 0x7f,
  1797. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x5c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1798. 0x00, 0xf6, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1799. {
  1800. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1801. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1802. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1803. 0x00, 0xf6, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1804. {
  1805. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1806. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1807. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1808. 0x00, 0xf6, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1809. {
  1810. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1811. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1812. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1813. 0x00, 0xf6, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1814. {
  1815. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1816. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1817. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1818. 0x00, 0xf6, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1819. {
  1820. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1821. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1822. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1823. 0x00, 0xf6, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1824. {
  1825. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1826. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x06, 0x00, 0x7f,
  1827. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1828. 0x00, 0xf6, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1829. {
  1830. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1831. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x06, 0x00, 0x7f,
  1832. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1833. 0x00, 0xf6, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1834. {
  1835. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1836. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1837. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1838. 0x00, 0xf6, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1839. {
  1840. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1841. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1842. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1843. 0x00, 0xf6, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1844. {
  1845. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1846. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x04, 0x00, 0x7f,
  1847. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x1a, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1848. 0x00, 0xf4, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1849. {
  1850. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1851. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1852. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1853. 0x00, 0xf4, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1854. {
  1855. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1856. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1857. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1858. 0x00, 0xf4, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1859. {
  1860. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1861. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1862. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1863. 0x00, 0xf4, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1864. {
  1865. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1866. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1867. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1868. 0x00, 0xf4, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1869. {
  1870. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1871. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1872. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1873. 0x00, 0xf4, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1874. {
  1875. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1876. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1877. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1878. 0x00, 0xf4, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1879. {
  1880. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1881. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1882. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1883. 0x00, 0xf4, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1884. {
  1885. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1886. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1887. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1888. 0x00, 0xf4, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1889. {
  1890. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1891. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x04, 0x00, 0x7f,
  1892. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1893. 0x00, 0xf4, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1894. {
  1895. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1896. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1897. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1898. 0x00, 0xf2, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1899. {
  1900. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1901. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1902. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1903. 0x00, 0xf2, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1904. {
  1905. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1906. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1907. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1908. 0x00, 0xf2, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1909. {
  1910. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1911. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1912. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1913. 0x00, 0xf2, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1914. {
  1915. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1916. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1917. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1918. 0x00, 0xf2, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1919. {
  1920. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1921. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1922. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1923. 0x00, 0xf2, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1924. {
  1925. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1926. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1927. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1928. 0x00, 0xf2, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1929. {
  1930. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1931. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1932. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1933. 0x00, 0xf2, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1934. {
  1935. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1936. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1937. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1938. 0x00, 0xf2, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1939. {
  1940. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1941. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1942. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1943. 0x00, 0xf2, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1944. {
  1945. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1946. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1947. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1948. 0x00, 0xf2, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1949. {
  1950. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1951. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1952. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1953. 0x00, 0xf2, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1954. {
  1955. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1956. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1957. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1958. 0x00, 0xf2, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1959. {
  1960. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1961. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1962. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1963. 0x00, 0xf2, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1964. {
  1965. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1966. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1967. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1968. 0x00, 0xf2, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1969. {
  1970. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1971. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1972. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1973. 0x00, 0xf2, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1974. {
  1975. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1976. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1977. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1978. 0x00, 0xf2, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1979. {
  1980. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1981. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1982. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1983. 0x00, 0xf2, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1984. {
  1985. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1986. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1987. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1988. 0x00, 0xf0, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1989. {
  1990. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1991. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1992. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1993. 0x00, 0xf0, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1994. {
  1995. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1996. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1997. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1998. 0x00, 0xf0, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1999. {
  2000. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2001. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  2002. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2003. 0x00, 0xf0, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2004. {
  2005. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2006. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2007. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2008. 0x00, 0xf0, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2009. {
  2010. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2011. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2012. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2013. 0x00, 0xf0, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2014. {
  2015. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2016. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2017. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2018. 0x00, 0xf0, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2019. {
  2020. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2021. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2022. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2023. 0x00, 0xf0, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2024. {
  2025. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2026. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2027. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2028. 0x00, 0xf0, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2029. {
  2030. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2031. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2032. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2033. 0x00, 0xf0, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2034. {
  2035. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2036. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2037. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2038. 0x00, 0xf0, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2039. {
  2040. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2041. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2042. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2043. 0x00, 0xf0, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2044. {
  2045. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2046. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2047. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2048. 0x00, 0xf0, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2049. {
  2050. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2051. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  2052. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2053. 0x00, 0xf0, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2054. {
  2055. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2056. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  2057. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2058. 0x00, 0xf0, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2059. {
  2060. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2061. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2062. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2063. 0x0f, 0x00, 0x0e, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2064. {
  2065. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2066. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2067. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2068. 0x0f, 0x00, 0x0e, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2069. {
  2070. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2071. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2072. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2073. 0x0f, 0x00, 0x0e, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2074. {
  2075. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2076. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x04, 0x00,
  2077. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfd, 0x00, 0x04, 0x00, 0x70, 0x00,
  2078. 0x0f, 0x00, 0x0e, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2079. {
  2080. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2081. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x04, 0x00,
  2082. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfb, 0x00, 0x04, 0x00, 0x70, 0x00,
  2083. 0x0f, 0x00, 0x0e, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2084. {
  2085. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2086. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x04, 0x00,
  2087. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfa, 0x00, 0x04, 0x00, 0x70, 0x00,
  2088. 0x0f, 0x00, 0x0e, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2089. {
  2090. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2091. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x04, 0x00,
  2092. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf8, 0x00, 0x04, 0x00, 0x70, 0x00,
  2093. 0x0f, 0x00, 0x0e, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2094. {
  2095. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2096. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x04, 0x00,
  2097. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf7, 0x00, 0x04, 0x00, 0x70, 0x00,
  2098. 0x0f, 0x00, 0x0e, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2099. {
  2100. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2101. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x04, 0x00,
  2102. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf6, 0x00, 0x04, 0x00, 0x70, 0x00,
  2103. 0x0f, 0x00, 0x0e, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2104. {
  2105. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2106. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x04, 0x00,
  2107. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf5, 0x00, 0x04, 0x00, 0x70, 0x00,
  2108. 0x0f, 0x00, 0x0e, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2109. {
  2110. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2111. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x04, 0x00,
  2112. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x70, 0x00,
  2113. 0x0f, 0x00, 0x0e, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2114. {
  2115. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2116. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x04, 0x00,
  2117. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf3, 0x00, 0x04, 0x00, 0x70, 0x00,
  2118. 0x0f, 0x00, 0x0e, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2119. {
  2120. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2121. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x04, 0x00,
  2122. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x70, 0x00,
  2123. 0x0f, 0x00, 0x0e, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2124. {
  2125. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2126. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x04, 0x00,
  2127. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x70, 0x00,
  2128. 0x0f, 0x00, 0x0e, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2129. };
  2130. static const struct chan_info_nphy_radio205x chan_info_nphyrev5_2056v5[] = {
  2131. {
  2132. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2133. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2134. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  2135. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2136. {
  2137. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2138. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2139. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2140. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2141. {
  2142. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2143. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2144. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2145. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2146. {
  2147. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2148. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2149. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2150. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2151. {
  2152. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2153. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2154. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  2155. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2156. {
  2157. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2158. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2159. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2160. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2161. {
  2162. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2163. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2164. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2165. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2166. {
  2167. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2168. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2169. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2170. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2171. {
  2172. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2173. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2174. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2175. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2176. {
  2177. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2178. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2179. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2180. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2181. {
  2182. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2183. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2184. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  2185. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2186. {
  2187. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2188. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2189. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2190. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2191. {
  2192. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2193. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2194. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2195. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2196. {
  2197. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2198. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2199. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2200. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2201. {
  2202. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2203. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  2204. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2205. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2206. {
  2207. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2208. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  2209. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2210. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2211. {
  2212. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2213. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2214. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2215. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2216. {
  2217. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2218. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2219. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2220. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2221. {
  2222. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2223. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2224. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2225. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2226. {
  2227. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2228. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2229. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2230. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2231. {
  2232. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2233. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2234. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2235. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2236. {
  2237. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2238. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  2239. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  2240. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2241. {
  2242. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2243. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2244. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  2245. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2246. {
  2247. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2248. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2249. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  2250. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2251. {
  2252. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2253. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  2254. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2255. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2256. {
  2257. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2258. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2259. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2260. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2261. {
  2262. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2263. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2264. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2265. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2266. {
  2267. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2268. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2269. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2270. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2271. {
  2272. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2273. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2274. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2275. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2276. {
  2277. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2278. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2279. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2280. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2281. {
  2282. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2283. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xea, 0x00, 0x06, 0x00, 0x70,
  2284. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  2285. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2286. {
  2287. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2288. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2289. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2290. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2291. {
  2292. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2293. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2294. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2295. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2296. {
  2297. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2298. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xd9, 0x00, 0x05, 0x00, 0x70,
  2299. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2300. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2301. {
  2302. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2303. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xd8, 0x00, 0x04, 0x00, 0x70,
  2304. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2305. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2306. {
  2307. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2308. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2309. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2310. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2311. {
  2312. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2313. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2314. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2315. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2316. {
  2317. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2318. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2319. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2320. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2321. {
  2322. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2323. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2324. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2325. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2326. {
  2327. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2328. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb8, 0x00, 0x04, 0x00, 0x70,
  2329. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2330. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2331. {
  2332. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2333. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x04, 0x00, 0x70,
  2334. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2335. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2336. {
  2337. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2338. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x03, 0x00, 0x70,
  2339. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  2340. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2341. {
  2342. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2343. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa7, 0x00, 0x03, 0x00, 0x70,
  2344. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2345. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2346. {
  2347. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2348. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2349. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2350. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2351. {
  2352. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2353. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2354. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2355. 0x00, 0x5b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2356. {
  2357. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2358. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x96, 0x00, 0x03, 0x00, 0x70,
  2359. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2360. 0x00, 0x5a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2361. {
  2362. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2363. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x95, 0x00, 0x03, 0x00, 0x70,
  2364. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2365. 0x00, 0x5a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2366. {
  2367. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2368. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2369. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2370. 0x00, 0x5a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2371. {
  2372. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2373. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2374. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2375. 0x00, 0x5a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2376. {
  2377. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2378. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2379. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2380. 0x00, 0x5a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  2381. {
  2382. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2383. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x85, 0x00, 0x02, 0x00, 0x70,
  2384. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2385. 0x00, 0x59, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  2386. {
  2387. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2388. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2389. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2390. 0x00, 0x59, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  2391. {
  2392. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2393. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2394. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2395. 0x00, 0x59, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  2396. {
  2397. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2398. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2399. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  2400. 0x00, 0x69, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  2401. {
  2402. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2403. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x74, 0x00, 0x01, 0x00, 0x70,
  2404. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2405. 0x00, 0x69, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  2406. {
  2407. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2408. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2409. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2410. 0x00, 0x68, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  2411. {
  2412. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2413. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2414. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2415. 0x00, 0x68, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  2416. {
  2417. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2418. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2419. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2420. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  2421. {
  2422. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2423. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2424. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2425. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  2426. {
  2427. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2428. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2429. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2430. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  2431. {
  2432. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2433. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x63, 0x00, 0x01, 0x00, 0x70,
  2434. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  2435. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  2436. {
  2437. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2438. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2439. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2440. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  2441. {
  2442. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2443. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2444. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2445. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  2446. {
  2447. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2448. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2449. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2450. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  2451. {
  2452. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2453. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2454. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2455. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  2456. {
  2457. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2458. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2459. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2460. 0x00, 0x76, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  2461. {
  2462. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2463. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x51, 0x00, 0x00, 0x00, 0x70,
  2464. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2465. 0x00, 0x76, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  2466. {
  2467. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2468. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2469. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2470. 0x00, 0x76, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  2471. {
  2472. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2473. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2474. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2475. 0x00, 0x76, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  2476. {
  2477. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2478. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2479. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2480. 0x00, 0x76, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  2481. {
  2482. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2483. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2484. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2485. 0x00, 0x76, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  2486. {
  2487. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2488. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2489. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2490. 0x00, 0x75, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  2491. {
  2492. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2493. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2494. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2495. 0x00, 0x75, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  2496. {
  2497. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2498. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2499. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2500. 0x00, 0x75, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  2501. {
  2502. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2503. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2504. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2505. 0x00, 0x74, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  2506. {
  2507. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2508. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2509. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2510. 0x00, 0x74, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  2511. {
  2512. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2513. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2514. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2515. 0x00, 0x74, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  2516. {
  2517. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2518. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2519. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2520. 0x00, 0x74, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  2521. {
  2522. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2523. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2524. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2525. 0x00, 0x74, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  2526. {
  2527. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2528. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2529. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2530. 0x00, 0x74, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  2531. {
  2532. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  2533. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2534. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2535. 0x00, 0x74, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  2536. {
  2537. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2538. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2539. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2540. 0x00, 0x84, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  2541. {
  2542. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2543. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2544. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2545. 0x00, 0x83, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  2546. {
  2547. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2548. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2549. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2550. 0x00, 0x83, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  2551. {
  2552. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2553. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2554. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2555. 0x00, 0x83, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  2556. {
  2557. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2558. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2559. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2560. 0x00, 0x83, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  2561. {
  2562. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  2563. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2564. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2565. 0x00, 0x83, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  2566. {
  2567. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2568. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2569. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2570. 0x00, 0x83, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  2571. {
  2572. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  2573. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2574. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2575. 0x00, 0x82, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  2576. {
  2577. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2578. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2579. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2580. 0x00, 0x82, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  2581. {
  2582. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  2583. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2584. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2585. 0x00, 0x82, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  2586. {
  2587. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2588. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2589. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2590. 0x00, 0x82, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  2591. {
  2592. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  2593. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2594. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2595. 0x00, 0x82, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  2596. {
  2597. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2598. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2599. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2600. 0x00, 0x82, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  2601. {
  2602. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  2603. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2604. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2605. 0x00, 0x82, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  2606. {
  2607. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2608. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2609. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2610. 0x00, 0x82, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  2611. {
  2612. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  2613. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2614. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2615. 0x00, 0x82, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  2616. {
  2617. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2618. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2619. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2620. 0x00, 0x82, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  2621. {
  2622. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2623. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2624. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2625. 0x00, 0x82, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2626. {
  2627. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2628. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2629. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2630. 0x00, 0x82, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2631. {
  2632. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2633. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2634. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2635. 0x00, 0x82, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2636. {
  2637. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2638. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2639. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2640. 0x00, 0x72, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2641. {
  2642. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2643. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2644. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2645. 0x00, 0x72, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2646. {
  2647. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2648. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2649. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2650. 0x00, 0x72, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2651. {
  2652. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2653. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2654. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2655. 0x00, 0x72, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2656. {
  2657. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2658. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2659. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2660. 0x00, 0x71, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2661. {
  2662. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2663. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2664. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2665. 0x00, 0x71, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2666. {
  2667. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2668. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2669. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2670. 0x00, 0x71, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2671. {
  2672. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2673. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2674. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2675. 0x00, 0x71, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2676. {
  2677. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2678. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2679. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2680. 0x00, 0x71, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2681. {
  2682. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2683. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2684. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2685. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2686. {
  2687. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2688. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2689. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2690. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2691. {
  2692. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2693. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x03, 0x00,
  2694. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0x03, 0x00, 0x70, 0x00,
  2695. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2696. {
  2697. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2698. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x03, 0x00,
  2699. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0d, 0x00, 0x03, 0x00, 0x70, 0x00,
  2700. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2701. {
  2702. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2703. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00,
  2704. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x70, 0x00,
  2705. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2706. {
  2707. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2708. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x03, 0x00,
  2709. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x03, 0x00, 0x70, 0x00,
  2710. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2711. {
  2712. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2713. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00,
  2714. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x03, 0x00, 0x70, 0x00,
  2715. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2716. {
  2717. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2718. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00,
  2719. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x08, 0x00, 0x02, 0x00, 0x70, 0x00,
  2720. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2721. {
  2722. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2723. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x07, 0x00, 0x02, 0x00,
  2724. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x07, 0x00, 0x02, 0x00, 0x70, 0x00,
  2725. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2726. {
  2727. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2728. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x06, 0x00, 0x02, 0x00,
  2729. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x06, 0x00, 0x02, 0x00, 0x70, 0x00,
  2730. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2731. {
  2732. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2733. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00,
  2734. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x05, 0x00, 0x02, 0x00, 0x70, 0x00,
  2735. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2736. {
  2737. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2738. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00,
  2739. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x70, 0x00,
  2740. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2741. {
  2742. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2743. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
  2744. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x03, 0x00, 0x02, 0x00, 0x70, 0x00,
  2745. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2746. {
  2747. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2748. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  2749. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  2750. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2751. };
  2752. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v6[] = {
  2753. {
  2754. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2755. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2756. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2757. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2758. {
  2759. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2760. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2761. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2762. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2763. {
  2764. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2765. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2766. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2767. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2768. {
  2769. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2770. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2771. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2772. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2773. {
  2774. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2775. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2776. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2777. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2778. {
  2779. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2780. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2781. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2782. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2783. {
  2784. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2785. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2786. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2787. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2788. {
  2789. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2790. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2791. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2792. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2793. {
  2794. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2795. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2796. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2797. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2798. {
  2799. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2800. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2801. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2802. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2803. {
  2804. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2805. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2806. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2807. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2808. {
  2809. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2810. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2811. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2812. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2813. {
  2814. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2815. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2816. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2817. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2818. {
  2819. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2820. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2821. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2822. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2823. {
  2824. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2825. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2826. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2827. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2828. {
  2829. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2830. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2831. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2832. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2833. {
  2834. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2835. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2836. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2837. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2838. {
  2839. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2840. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2841. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2842. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2843. {
  2844. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2845. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  2846. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2847. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2848. {
  2849. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2850. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2851. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2852. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2853. {
  2854. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2855. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2856. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2857. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2858. {
  2859. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2860. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2861. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2862. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2863. {
  2864. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2865. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  2866. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2867. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2868. {
  2869. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2870. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2871. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2872. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2873. {
  2874. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2875. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2876. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2877. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2878. {
  2879. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2880. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2881. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  2882. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2883. {
  2884. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2885. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2886. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  2887. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2888. {
  2889. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2890. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2891. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2892. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2893. {
  2894. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2895. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2896. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2897. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2898. {
  2899. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2900. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2901. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2902. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2903. {
  2904. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2905. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2906. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2907. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2908. {
  2909. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2910. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  2911. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2912. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2913. {
  2914. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2915. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  2916. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2917. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2918. {
  2919. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2920. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2921. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  2922. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2923. {
  2924. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2925. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2926. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  2927. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2928. {
  2929. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2930. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2931. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2932. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2933. {
  2934. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2935. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2936. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2937. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2938. {
  2939. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2940. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2941. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2942. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2943. {
  2944. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2945. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2946. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2947. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2948. {
  2949. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2950. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2951. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2952. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2953. {
  2954. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2955. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2956. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2957. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2958. {
  2959. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2960. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2961. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2962. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2963. {
  2964. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2965. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2966. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2967. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2968. {
  2969. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2970. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2971. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2972. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2973. {
  2974. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2975. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2976. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2977. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2978. {
  2979. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2980. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  2981. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2982. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2983. {
  2984. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2985. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2986. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2987. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2988. {
  2989. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2990. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2991. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2992. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2993. {
  2994. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2995. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  2996. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  2997. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2998. {
  2999. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3000. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  3001. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3002. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3003. {
  3004. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3005. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3006. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3007. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3008. {
  3009. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3010. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3011. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  3012. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3013. {
  3014. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3015. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3016. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3017. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3018. {
  3019. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3020. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3021. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3022. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3023. {
  3024. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3025. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  3026. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3027. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3028. {
  3029. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3030. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  3031. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3032. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3033. {
  3034. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3035. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  3036. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3037. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3038. {
  3039. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3040. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3041. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3042. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3043. {
  3044. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3045. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3046. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3047. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3048. {
  3049. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3050. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3051. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3052. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3053. {
  3054. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3055. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3056. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3057. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3058. {
  3059. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3060. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  3061. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3062. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3063. {
  3064. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3065. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3066. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3067. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3068. {
  3069. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3070. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3071. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3072. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3073. {
  3074. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3075. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  3076. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3077. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3078. {
  3079. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3080. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  3081. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3082. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3083. {
  3084. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3085. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  3086. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3087. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3088. {
  3089. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3090. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3091. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3092. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3093. {
  3094. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3095. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3096. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3097. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3098. {
  3099. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3100. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3101. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3102. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3103. {
  3104. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3105. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3106. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3107. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3108. {
  3109. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3110. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  3111. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3112. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3113. {
  3114. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3115. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3116. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3117. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3118. {
  3119. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3120. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3121. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3122. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3123. {
  3124. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3125. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  3126. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3127. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3128. {
  3129. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3130. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3131. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3132. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3133. {
  3134. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3135. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3136. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3137. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3138. {
  3139. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3140. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3141. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3142. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3143. {
  3144. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3145. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3146. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3147. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3148. {
  3149. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3150. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3151. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3152. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3153. {
  3154. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3155. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3156. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3157. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3158. {
  3159. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3160. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3161. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3162. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3163. {
  3164. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3165. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3166. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3167. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3168. {
  3169. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3170. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3171. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3172. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3173. {
  3174. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3175. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3176. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3177. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3178. {
  3179. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3180. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  3181. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3182. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3183. {
  3184. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3185. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3186. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3187. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3188. {
  3189. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3190. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3191. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3192. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3193. {
  3194. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3195. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3196. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3197. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3198. {
  3199. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3200. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3201. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3202. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3203. {
  3204. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3205. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3206. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3207. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3208. {
  3209. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3210. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3211. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3212. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3213. {
  3214. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3215. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3216. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3217. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3218. {
  3219. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3220. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3221. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3222. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3223. {
  3224. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3225. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3226. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3227. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3228. {
  3229. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3230. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3231. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3232. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3233. {
  3234. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3235. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3236. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3237. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3238. {
  3239. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3240. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3241. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3242. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3243. {
  3244. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3245. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3246. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3247. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3248. {
  3249. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3250. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3251. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3252. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3253. {
  3254. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3255. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3256. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3257. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3258. {
  3259. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3260. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3261. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3262. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3263. {
  3264. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3265. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3266. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3267. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3268. {
  3269. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3270. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3271. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3272. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3273. {
  3274. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3275. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3276. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3277. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3278. {
  3279. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3280. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3281. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3282. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3283. {
  3284. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3285. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3286. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3287. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3288. {
  3289. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3290. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3291. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3292. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3293. {
  3294. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3295. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3296. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3297. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3298. {
  3299. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3300. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3301. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3302. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3303. {
  3304. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3305. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3306. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3307. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3308. {
  3309. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3310. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3311. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3312. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3313. {
  3314. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3315. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  3316. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x67, 0x00, 0x03, 0x00, 0x70, 0x00,
  3317. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3318. {
  3319. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3320. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  3321. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x57, 0x00, 0x03, 0x00, 0x70, 0x00,
  3322. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3323. {
  3324. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3325. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  3326. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x56, 0x00, 0x03, 0x00, 0x70, 0x00,
  3327. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3328. {
  3329. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3330. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  3331. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x46, 0x00, 0x03, 0x00, 0x70, 0x00,
  3332. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3333. {
  3334. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3335. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3336. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3337. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3338. {
  3339. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3340. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3341. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3342. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3343. {
  3344. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3345. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  3346. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x23, 0x00, 0x02, 0x00, 0x70, 0x00,
  3347. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3348. {
  3349. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3350. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  3351. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x12, 0x00, 0x02, 0x00, 0x70, 0x00,
  3352. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3353. {
  3354. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3355. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  3356. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x70, 0x00,
  3357. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3358. {
  3359. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3360. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3361. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3362. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3363. {
  3364. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3365. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3366. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3367. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3368. {
  3369. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3370. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3371. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3372. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3373. };
  3374. static const struct chan_info_nphy_radio205x chan_info_nphyrev5n6_2056v7[] = {
  3375. {
  3376. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3377. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3378. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  3379. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  3380. {
  3381. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3382. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3383. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3384. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  3385. {
  3386. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3387. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3388. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3389. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  3390. {
  3391. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3392. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3393. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3394. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  3395. {
  3396. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3397. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3398. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  3399. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  3400. {
  3401. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3402. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3403. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3404. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  3405. {
  3406. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3407. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3408. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3409. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  3410. {
  3411. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3412. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3413. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3414. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  3415. {
  3416. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3417. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3418. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3419. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  3420. {
  3421. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3422. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3423. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3424. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  3425. {
  3426. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3427. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3428. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  3429. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  3430. {
  3431. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3432. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3433. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3434. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  3435. {
  3436. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3437. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3438. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3439. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  3440. {
  3441. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3442. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3443. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3444. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  3445. {
  3446. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3447. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  3448. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3449. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  3450. {
  3451. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3452. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  3453. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3454. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  3455. {
  3456. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3457. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3458. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3459. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  3460. {
  3461. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3462. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3463. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3464. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  3465. {
  3466. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3467. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3468. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3469. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  3470. {
  3471. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3472. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3473. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3474. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  3475. {
  3476. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3477. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3478. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3479. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  3480. {
  3481. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3482. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  3483. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  3484. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  3485. {
  3486. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3487. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3488. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  3489. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  3490. {
  3491. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3492. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3493. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  3494. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  3495. {
  3496. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3497. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  3498. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3499. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  3500. {
  3501. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3502. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3503. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3504. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  3505. {
  3506. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3507. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3508. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3509. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  3510. {
  3511. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3512. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3513. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3514. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  3515. {
  3516. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3517. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3518. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3519. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  3520. {
  3521. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3522. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3523. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3524. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  3525. {
  3526. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3527. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xea, 0x00, 0x06, 0x00, 0x70,
  3528. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  3529. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  3530. {
  3531. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3532. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3533. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3534. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  3535. {
  3536. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3537. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3538. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3539. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  3540. {
  3541. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3542. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xd9, 0x00, 0x05, 0x00, 0x70,
  3543. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3544. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  3545. {
  3546. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3547. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xd8, 0x00, 0x04, 0x00, 0x70,
  3548. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3549. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  3550. {
  3551. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3552. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3553. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3554. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  3555. {
  3556. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3557. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3558. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3559. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  3560. {
  3561. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3562. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3563. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3564. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  3565. {
  3566. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3567. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3568. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3569. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  3570. {
  3571. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3572. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb8, 0x00, 0x04, 0x00, 0x70,
  3573. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3574. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  3575. {
  3576. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3577. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xb7, 0x00, 0x04, 0x00, 0x70,
  3578. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3579. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  3580. {
  3581. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3582. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xb7, 0x00, 0x03, 0x00, 0x70,
  3583. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  3584. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  3585. {
  3586. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3587. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa7, 0x00, 0x03, 0x00, 0x70,
  3588. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3589. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  3590. {
  3591. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3592. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3593. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3594. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  3595. {
  3596. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3597. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3598. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3599. 0x00, 0x7b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  3600. {
  3601. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3602. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x96, 0x00, 0x03, 0x00, 0x70,
  3603. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3604. 0x00, 0x7a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  3605. {
  3606. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3607. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3608. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3609. 0x00, 0x7a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  3610. {
  3611. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3612. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3613. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3614. 0x00, 0x7a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  3615. {
  3616. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3617. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3618. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3619. 0x00, 0x7a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  3620. {
  3621. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3622. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3623. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3624. 0x00, 0x7a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3625. {
  3626. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3627. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x85, 0x00, 0x02, 0x00, 0x70,
  3628. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3629. 0x00, 0x79, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3630. {
  3631. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3632. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x70,
  3633. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3634. 0x00, 0x79, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3635. {
  3636. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3637. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3638. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3639. 0x00, 0x79, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3640. {
  3641. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3642. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3643. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  3644. 0x00, 0x79, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3645. {
  3646. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3647. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x74, 0x00, 0x01, 0x00, 0x70,
  3648. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3649. 0x00, 0x79, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3650. {
  3651. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3652. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  3653. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3654. 0x00, 0x78, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3655. {
  3656. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3657. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x01, 0x00, 0x70,
  3658. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3659. 0x00, 0x78, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3660. {
  3661. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3662. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3663. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3664. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3665. {
  3666. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3667. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3668. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3669. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3670. {
  3671. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3672. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x01, 0x00, 0x70,
  3673. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3674. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3675. {
  3676. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3677. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x63, 0x00, 0x01, 0x00, 0x70,
  3678. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  3679. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3680. {
  3681. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3682. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x62, 0x00, 0x00, 0x00, 0x70,
  3683. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3684. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3685. {
  3686. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3687. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3688. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3689. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3690. {
  3691. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3692. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3693. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3694. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3695. {
  3696. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3697. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x52, 0x00, 0x00, 0x00, 0x70,
  3698. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3699. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3700. {
  3701. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3702. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x52, 0x00, 0x00, 0x00, 0x70,
  3703. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3704. 0x00, 0x86, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3705. {
  3706. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3707. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3708. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3709. 0x00, 0x86, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3710. {
  3711. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3712. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3713. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3714. 0x00, 0x86, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3715. {
  3716. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3717. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3718. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3719. 0x00, 0x86, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3720. {
  3721. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3722. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3723. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3724. 0x00, 0x86, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3725. {
  3726. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3727. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3728. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3729. 0x00, 0x86, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3730. {
  3731. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3732. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x51, 0x00, 0x00, 0x00, 0x70,
  3733. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3734. 0x00, 0x85, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3735. {
  3736. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3737. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3738. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3739. 0x00, 0x85, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3740. {
  3741. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3742. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3743. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3744. 0x00, 0x85, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3745. {
  3746. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3747. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  3748. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3749. 0x00, 0x84, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3750. {
  3751. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3752. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3753. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3754. 0x00, 0x84, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3755. {
  3756. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3757. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3758. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3759. 0x00, 0x94, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3760. {
  3761. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3762. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3763. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3764. 0x00, 0x94, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3765. {
  3766. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3767. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3768. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3769. 0x00, 0x94, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3770. {
  3771. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3772. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3773. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3774. 0x00, 0x94, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3775. {
  3776. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3777. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3778. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3779. 0x00, 0x94, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3780. {
  3781. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3782. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3783. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3784. 0x00, 0x94, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3785. {
  3786. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3787. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3788. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3789. 0x00, 0x93, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3790. {
  3791. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3792. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3793. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3794. 0x00, 0x93, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3795. {
  3796. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3797. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3798. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3799. 0x00, 0x93, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3800. {
  3801. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3802. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3803. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3804. 0x00, 0x93, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3805. {
  3806. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3807. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x30, 0x00, 0x00, 0x00, 0x70,
  3808. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3809. 0x00, 0x93, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3810. {
  3811. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3812. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3813. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3814. 0x00, 0x93, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3815. {
  3816. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3817. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3818. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3819. 0x00, 0x92, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3820. {
  3821. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3822. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3823. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3824. 0x00, 0x92, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3825. {
  3826. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3827. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3828. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3829. 0x00, 0x92, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3830. {
  3831. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3832. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x70,
  3833. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3834. 0x00, 0x92, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3835. {
  3836. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3837. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3838. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3839. 0x00, 0x92, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3840. {
  3841. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3842. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3843. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3844. 0x00, 0x92, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3845. {
  3846. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3847. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3848. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3849. 0x00, 0x92, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3850. {
  3851. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3852. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3853. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3854. 0x00, 0x92, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3855. {
  3856. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3857. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3858. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3859. 0x00, 0x92, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3860. {
  3861. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3862. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3863. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3864. 0x00, 0x92, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3865. {
  3866. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3867. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3868. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3869. 0x00, 0x92, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3870. {
  3871. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3872. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3873. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3874. 0x00, 0x92, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3875. {
  3876. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3877. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3878. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3879. 0x00, 0x92, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3880. {
  3881. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3882. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3883. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3884. 0x00, 0x92, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3885. {
  3886. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3887. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3888. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3889. 0x00, 0x92, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3890. {
  3891. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3892. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3893. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3894. 0x00, 0x92, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3895. {
  3896. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3897. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3898. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3899. 0x00, 0x92, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3900. {
  3901. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3902. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3903. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3904. 0x00, 0x91, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3905. {
  3906. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3907. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3908. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3909. 0x00, 0x91, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3910. {
  3911. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3912. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3913. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3914. 0x00, 0x91, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3915. {
  3916. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3917. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3918. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3919. 0x00, 0x91, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3920. {
  3921. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3922. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3923. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3924. 0x00, 0x91, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3925. {
  3926. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3927. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3928. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3929. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3930. {
  3931. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3932. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3933. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3934. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3935. {
  3936. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3937. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3938. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3939. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3940. {
  3941. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3942. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3943. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3944. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3945. {
  3946. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3947. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x03, 0x00,
  3948. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  3949. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3950. {
  3951. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3952. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x76, 0x00, 0x03, 0x00,
  3953. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  3954. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3955. {
  3956. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3957. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x66, 0x00, 0x03, 0x00,
  3958. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x03, 0x00, 0x70, 0x00,
  3959. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3960. {
  3961. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3962. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x55, 0x00, 0x02, 0x00,
  3963. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  3964. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3965. {
  3966. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3967. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3968. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3969. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3970. {
  3971. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3972. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3973. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3974. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3975. {
  3976. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3977. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00,
  3978. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  3979. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3980. {
  3981. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3982. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00,
  3983. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  3984. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3985. {
  3986. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3987. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
  3988. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  3989. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3990. {
  3991. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3992. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3993. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3994. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3995. };
  3996. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v8[] = {
  3997. {
  3998. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3999. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4000. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4001. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4002. {
  4003. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4004. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4005. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4006. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4007. {
  4008. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4009. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4010. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4011. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4012. {
  4013. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4014. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4015. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4016. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4017. {
  4018. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4019. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4020. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4021. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4022. {
  4023. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4024. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4025. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4026. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4027. {
  4028. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4029. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4030. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4031. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4032. {
  4033. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4034. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4035. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4036. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4037. {
  4038. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4039. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4040. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4041. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4042. {
  4043. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4044. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4045. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4046. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4047. {
  4048. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4049. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4050. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4051. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4052. {
  4053. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4054. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4055. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4056. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4057. {
  4058. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4059. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4060. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4061. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4062. {
  4063. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4064. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4065. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4066. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4067. {
  4068. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4069. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4070. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4071. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4072. {
  4073. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4074. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4075. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4076. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4077. {
  4078. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4079. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4080. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4081. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4082. {
  4083. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4084. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4085. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4086. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4087. {
  4088. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4089. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4090. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4091. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4092. {
  4093. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4094. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4095. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4096. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4097. {
  4098. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4099. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4100. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4101. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4102. {
  4103. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4104. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4105. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4106. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4107. {
  4108. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4109. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4110. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4111. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4112. {
  4113. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4114. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4115. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4116. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4117. {
  4118. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4119. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4120. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4121. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4122. {
  4123. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4124. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4125. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4126. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4127. {
  4128. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4129. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4130. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4131. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4132. {
  4133. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4134. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4135. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4136. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4137. {
  4138. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4139. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4140. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4141. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4142. {
  4143. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4144. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4145. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4146. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4147. {
  4148. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4149. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4150. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4151. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4152. {
  4153. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4154. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4155. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4156. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4157. {
  4158. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4159. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4160. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4161. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4162. {
  4163. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4164. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4165. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4166. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4167. {
  4168. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4169. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4170. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4171. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4172. {
  4173. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4174. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4175. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4176. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4177. {
  4178. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4179. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4180. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4181. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4182. {
  4183. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4184. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4185. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4186. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4187. {
  4188. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4189. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4190. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4191. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4192. {
  4193. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4194. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4195. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4196. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4197. {
  4198. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4199. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4200. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4201. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4202. {
  4203. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4204. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4205. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4206. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4207. {
  4208. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4209. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4210. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4211. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4212. {
  4213. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4214. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4215. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4216. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4217. {
  4218. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4219. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4220. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4221. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4222. {
  4223. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4224. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4225. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4226. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4227. {
  4228. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4229. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4230. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4231. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4232. {
  4233. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4234. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4235. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4236. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4237. {
  4238. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4239. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4240. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4241. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4242. {
  4243. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4244. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4245. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4246. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4247. {
  4248. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4249. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4250. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4251. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4252. {
  4253. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4254. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4255. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4256. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4257. {
  4258. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4259. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4260. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4261. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4262. {
  4263. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4264. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4265. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4266. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4267. {
  4268. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4269. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4270. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4271. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4272. {
  4273. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4274. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4275. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4276. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4277. {
  4278. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4279. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4280. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4281. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4282. {
  4283. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4284. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4285. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4286. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4287. {
  4288. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4289. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4290. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4291. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4292. {
  4293. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4294. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4295. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4296. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4297. {
  4298. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4299. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4300. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4301. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4302. {
  4303. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4304. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4305. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4306. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4307. {
  4308. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4309. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4310. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4311. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4312. {
  4313. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4314. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4315. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4316. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4317. {
  4318. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4319. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4320. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4321. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4322. {
  4323. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4324. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4325. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4326. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4327. {
  4328. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4329. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4330. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4331. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4332. {
  4333. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4334. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4335. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4336. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4337. {
  4338. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4339. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4340. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4341. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4342. {
  4343. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4344. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4345. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4346. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4347. {
  4348. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4349. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4350. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4351. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4352. {
  4353. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4354. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4355. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4356. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4357. {
  4358. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4359. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4360. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4361. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4362. {
  4363. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4364. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4365. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4366. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4367. {
  4368. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4369. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4370. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4371. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4372. {
  4373. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4374. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4375. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4376. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4377. {
  4378. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4379. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4380. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4381. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  4382. {
  4383. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4384. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4385. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4386. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  4387. {
  4388. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4389. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4390. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4391. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  4392. {
  4393. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4394. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4395. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4396. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  4397. {
  4398. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  4399. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4400. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4401. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  4402. {
  4403. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4404. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4405. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4406. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  4407. {
  4408. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4409. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4410. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4411. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  4412. {
  4413. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4414. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4415. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4416. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  4417. {
  4418. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4419. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4420. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4421. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  4422. {
  4423. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4424. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  4425. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4426. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  4427. {
  4428. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  4429. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4430. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4431. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  4432. {
  4433. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4434. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4435. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4436. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  4437. {
  4438. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  4439. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4440. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4441. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  4442. {
  4443. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4444. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4445. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4446. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  4447. {
  4448. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  4449. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4450. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4451. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  4452. {
  4453. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4454. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4455. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4456. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  4457. {
  4458. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  4459. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4460. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4461. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  4462. {
  4463. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4464. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4465. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4466. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  4467. {
  4468. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  4469. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4470. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4471. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  4472. {
  4473. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4474. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4475. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4476. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  4477. {
  4478. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  4479. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4480. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4481. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  4482. {
  4483. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4484. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4485. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4486. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  4487. {
  4488. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4489. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4490. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4491. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  4492. {
  4493. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4494. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4495. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4496. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  4497. {
  4498. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4499. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4500. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4501. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  4502. {
  4503. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4504. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4505. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4506. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  4507. {
  4508. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4509. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4510. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4511. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  4512. {
  4513. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4514. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4515. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4516. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  4517. {
  4518. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4519. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4520. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4521. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  4522. {
  4523. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4524. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4525. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4526. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  4527. {
  4528. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4529. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4530. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4531. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  4532. {
  4533. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4534. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4535. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4536. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  4537. {
  4538. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4539. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4540. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4541. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  4542. {
  4543. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4544. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4545. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4546. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  4547. {
  4548. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  4549. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4550. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4551. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  4552. {
  4553. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  4554. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4555. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4556. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  4557. {
  4558. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  4559. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  4560. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4561. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  4562. {
  4563. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  4564. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  4565. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  4566. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  4567. {
  4568. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  4569. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  4570. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  4571. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  4572. {
  4573. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  4574. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  4575. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  4576. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  4577. {
  4578. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  4579. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  4580. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  4581. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  4582. {
  4583. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  4584. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  4585. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  4586. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  4587. {
  4588. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  4589. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  4590. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  4591. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  4592. {
  4593. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  4594. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  4595. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  4596. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  4597. {
  4598. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  4599. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  4600. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  4601. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  4602. {
  4603. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  4604. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4605. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  4606. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  4607. {
  4608. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  4609. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4610. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  4611. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  4612. {
  4613. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  4614. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  4615. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  4616. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  4617. };
  4618. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v11[] = {
  4619. {
  4620. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4621. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4622. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4623. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4624. {
  4625. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4626. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4627. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4628. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4629. {
  4630. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4631. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4632. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4633. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4634. {
  4635. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4636. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4637. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4638. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4639. {
  4640. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4641. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4642. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4643. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4644. {
  4645. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4646. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4647. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4648. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4649. {
  4650. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4651. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4652. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4653. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4654. {
  4655. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4656. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4657. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4658. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4659. {
  4660. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4661. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4662. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4663. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4664. {
  4665. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4666. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4667. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4668. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4669. {
  4670. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4671. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4672. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4673. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4674. {
  4675. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4676. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4677. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4678. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4679. {
  4680. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4681. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4682. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4683. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4684. {
  4685. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4686. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4687. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4688. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4689. {
  4690. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4691. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4692. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4693. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4694. {
  4695. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4696. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4697. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4698. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4699. {
  4700. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4701. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4702. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4703. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4704. {
  4705. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4706. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4707. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4708. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4709. {
  4710. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4711. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4712. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4713. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4714. {
  4715. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4716. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4717. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4718. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4719. {
  4720. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4721. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4722. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4723. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4724. {
  4725. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4726. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4727. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4728. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4729. {
  4730. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4731. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4732. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4733. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4734. {
  4735. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4736. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4737. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4738. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4739. {
  4740. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4741. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4742. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4743. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4744. {
  4745. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4746. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4747. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4748. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4749. {
  4750. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4751. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4752. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4753. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4754. {
  4755. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4756. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4757. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4758. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4759. {
  4760. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4761. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4762. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4763. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4764. {
  4765. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4766. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4767. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4768. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4769. {
  4770. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4771. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4772. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4773. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4774. {
  4775. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4776. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4777. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4778. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4779. {
  4780. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4781. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4782. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4783. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4784. {
  4785. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4786. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4787. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4788. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4789. {
  4790. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4791. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4792. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4793. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4794. {
  4795. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4796. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4797. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4798. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4799. {
  4800. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4801. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4802. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4803. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4804. {
  4805. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4806. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4807. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4808. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4809. {
  4810. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4811. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4812. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4813. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4814. {
  4815. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4816. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4817. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4818. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4819. {
  4820. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4821. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4822. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4823. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4824. {
  4825. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4826. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4827. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4828. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4829. {
  4830. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4831. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4832. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4833. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4834. {
  4835. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4836. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4837. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4838. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4839. {
  4840. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4841. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4842. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4843. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4844. {
  4845. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4846. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4847. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4848. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4849. {
  4850. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4851. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4852. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4853. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4854. {
  4855. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4856. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4857. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4858. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4859. {
  4860. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4861. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4862. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4863. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4864. {
  4865. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4866. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4867. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4868. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4869. {
  4870. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4871. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4872. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4873. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4874. {
  4875. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4876. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4877. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4878. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4879. {
  4880. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4881. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4882. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4883. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4884. {
  4885. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4886. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4887. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4888. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4889. {
  4890. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4891. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4892. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4893. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4894. {
  4895. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4896. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4897. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4898. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4899. {
  4900. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4901. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4902. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4903. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4904. {
  4905. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4906. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4907. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4908. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4909. {
  4910. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4911. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4912. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4913. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4914. {
  4915. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4916. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4917. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4918. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4919. {
  4920. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4921. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4922. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4923. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4924. {
  4925. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4926. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4927. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4928. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4929. {
  4930. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4931. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4932. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4933. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4934. {
  4935. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4936. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4937. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4938. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4939. {
  4940. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4941. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4942. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4943. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4944. {
  4945. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4946. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4947. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4948. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4949. {
  4950. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4951. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4952. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4953. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4954. {
  4955. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4956. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4957. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4958. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4959. {
  4960. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4961. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4962. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4963. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4964. {
  4965. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4966. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4967. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4968. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4969. {
  4970. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4971. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4972. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4973. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4974. {
  4975. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4976. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4977. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4978. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4979. {
  4980. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4981. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4982. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4983. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4984. {
  4985. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4986. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4987. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4988. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4989. {
  4990. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4991. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4992. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4993. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4994. {
  4995. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4996. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4997. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4998. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4999. {
  5000. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5001. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5002. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5003. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  5004. {
  5005. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5006. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5007. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5008. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  5009. {
  5010. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5011. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5012. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5013. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  5014. {
  5015. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5016. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5017. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5018. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  5019. {
  5020. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x05, 0x05, 0x02, 0x15, 0x01,
  5021. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5022. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5023. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  5024. {
  5025. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5026. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5027. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5028. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  5029. {
  5030. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5031. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5032. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5033. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  5034. {
  5035. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5036. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5037. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5038. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  5039. {
  5040. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5041. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5042. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5043. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  5044. {
  5045. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5046. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  5047. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5048. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  5049. {
  5050. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x05, 0x05, 0x02, 0x15, 0x01,
  5051. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5052. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5053. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  5054. {
  5055. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5056. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5057. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5058. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  5059. {
  5060. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x05, 0x05, 0x02, 0x15, 0x01,
  5061. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5062. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5063. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  5064. {
  5065. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5066. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5067. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5068. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  5069. {
  5070. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x05, 0x05, 0x02, 0x15, 0x01,
  5071. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5072. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5073. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  5074. {
  5075. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5076. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5077. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5078. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  5079. {
  5080. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x05, 0x05, 0x02, 0x15, 0x01,
  5081. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5082. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5083. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  5084. {
  5085. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5086. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5087. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5088. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  5089. {
  5090. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x05, 0x05, 0x02, 0x15, 0x01,
  5091. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5092. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5093. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  5094. {
  5095. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5096. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5097. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5098. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  5099. {
  5100. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x05, 0x05, 0x02, 0x15, 0x01,
  5101. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5102. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5103. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  5104. {
  5105. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5106. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5107. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5108. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  5109. {
  5110. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5111. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5112. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5113. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  5114. {
  5115. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5116. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5117. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5118. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  5119. {
  5120. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5121. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5122. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5123. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  5124. {
  5125. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5126. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5127. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5128. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  5129. {
  5130. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5131. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5132. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5133. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  5134. {
  5135. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5136. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5137. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5138. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  5139. {
  5140. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5141. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5142. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5143. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  5144. {
  5145. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5146. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5147. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5148. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  5149. {
  5150. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5151. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5152. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5153. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  5154. {
  5155. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5156. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5157. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5158. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  5159. {
  5160. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5161. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5162. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5163. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  5164. {
  5165. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5166. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5167. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5168. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  5169. {
  5170. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5171. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5172. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5173. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  5174. {
  5175. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5176. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5177. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5178. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  5179. {
  5180. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5181. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  5182. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5183. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  5184. {
  5185. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5186. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  5187. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  5188. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  5189. {
  5190. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5191. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  5192. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  5193. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  5194. {
  5195. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5196. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  5197. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  5198. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  5199. {
  5200. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5201. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  5202. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  5203. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  5204. {
  5205. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5206. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  5207. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  5208. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  5209. {
  5210. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5211. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  5212. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  5213. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  5214. {
  5215. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5216. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  5217. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  5218. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  5219. {
  5220. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5221. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  5222. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  5223. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  5224. {
  5225. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5226. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5227. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  5228. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  5229. {
  5230. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5231. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5232. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  5233. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  5234. {
  5235. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5236. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  5237. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  5238. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  5239. };
  5240. static const struct chan_info_nphy_radio2057 chan_info_nphyrev7_2057_rev4[] = {
  5241. {
  5242. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  5243. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5244. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  5245. 0x0215,
  5246. 0x0216,
  5247. },
  5248. {
  5249. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  5250. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5251. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  5252. 0x0214,
  5253. 0x0215,
  5254. },
  5255. {
  5256. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  5257. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5258. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  5259. 0x0213,
  5260. 0x0214,
  5261. },
  5262. {
  5263. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  5264. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5265. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  5266. 0x0212,
  5267. 0x0213,
  5268. },
  5269. {
  5270. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  5271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5272. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  5273. 0x0211,
  5274. 0x0212,
  5275. },
  5276. {
  5277. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  5278. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5279. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  5280. 0x020f,
  5281. 0x0211,
  5282. },
  5283. {
  5284. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  5285. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5286. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  5287. 0x020e,
  5288. 0x020f,
  5289. },
  5290. {
  5291. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  5292. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5293. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  5294. 0x020d,
  5295. 0x020e,
  5296. },
  5297. {
  5298. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  5299. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5300. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  5301. 0x020c,
  5302. 0x020d,
  5303. },
  5304. {
  5305. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  5306. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5307. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  5308. 0x020b,
  5309. 0x020c,
  5310. },
  5311. {
  5312. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  5313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5314. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  5315. 0x020a,
  5316. 0x020b,
  5317. },
  5318. {
  5319. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  5320. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5321. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  5322. 0x0209,
  5323. 0x020a,
  5324. },
  5325. {
  5326. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  5327. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5328. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  5329. 0x0208,
  5330. 0x0209,
  5331. },
  5332. {
  5333. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  5334. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5335. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  5336. 0x0207,
  5337. 0x0208,
  5338. },
  5339. {
  5340. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  5341. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5342. 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  5343. 0x0206,
  5344. 0x0207,
  5345. },
  5346. {
  5347. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  5348. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5349. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  5350. 0x0205,
  5351. 0x0206,
  5352. },
  5353. {
  5354. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  5355. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5356. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  5357. 0x0204,
  5358. 0x0205,
  5359. },
  5360. {
  5361. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  5362. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5363. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  5364. 0x0203,
  5365. 0x0204,
  5366. },
  5367. {
  5368. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  5369. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5370. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  5371. 0x0202,
  5372. 0x0203,
  5373. },
  5374. {
  5375. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  5376. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5377. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0800, 0x07fc, 0x07f8, 0x0200,
  5378. 0x0201,
  5379. 0x0202,
  5380. },
  5381. {
  5382. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  5383. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5384. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0804, 0x0800, 0x07fc, 0x01ff,
  5385. 0x0200,
  5386. 0x0201,
  5387. },
  5388. {
  5389. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  5390. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5391. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0808, 0x0804, 0x0800, 0x01fe,
  5392. 0x01ff,
  5393. 0x0200,
  5394. },
  5395. {
  5396. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  5397. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5398. 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x080c, 0x0808, 0x0804, 0x01fd,
  5399. 0x01fe,
  5400. 0x01ff,
  5401. },
  5402. {
  5403. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  5404. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5405. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0814, 0x0810, 0x080c, 0x01fb,
  5406. 0x01fc,
  5407. 0x01fd,
  5408. },
  5409. {
  5410. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  5411. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5412. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0818, 0x0814, 0x0810, 0x01fa,
  5413. 0x01fb,
  5414. 0x01fc,
  5415. },
  5416. {
  5417. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  5418. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5419. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x081c, 0x0818, 0x0814, 0x01f9,
  5420. 0x01fa,
  5421. 0x01fb,
  5422. },
  5423. {
  5424. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  5425. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5426. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0820, 0x081c, 0x0818, 0x01f8,
  5427. 0x01f9,
  5428. 0x01fa,
  5429. },
  5430. {
  5431. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  5432. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5433. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0824, 0x0820, 0x081c, 0x01f7,
  5434. 0x01f8,
  5435. 0x01f9,
  5436. },
  5437. {
  5438. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  5439. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5440. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0828, 0x0824, 0x0820, 0x01f6,
  5441. 0x01f7,
  5442. 0x01f8,
  5443. },
  5444. {
  5445. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  5446. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5447. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x082c, 0x0828, 0x0824, 0x01f5,
  5448. 0x01f6,
  5449. 0x01f7,
  5450. },
  5451. {
  5452. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  5453. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5454. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0830, 0x082c, 0x0828, 0x01f4,
  5455. 0x01f5,
  5456. 0x01f6,
  5457. },
  5458. {
  5459. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  5460. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5461. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0834, 0x0830, 0x082c, 0x01f3,
  5462. 0x01f4,
  5463. 0x01f5,
  5464. },
  5465. {
  5466. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  5467. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5468. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0838, 0x0834, 0x0830, 0x01f2,
  5469. 0x01f3,
  5470. 0x01f4,
  5471. },
  5472. {
  5473. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  5474. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5475. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x083c, 0x0838, 0x0834, 0x01f1,
  5476. 0x01f2,
  5477. 0x01f3,
  5478. },
  5479. {
  5480. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  5481. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5482. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x0840, 0x083c, 0x0838, 0x01f0,
  5483. 0x01f1,
  5484. 0x01f2,
  5485. },
  5486. {
  5487. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  5488. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5489. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0844, 0x0840, 0x083c, 0x01f0,
  5490. 0x01f0,
  5491. 0x01f1,
  5492. },
  5493. {
  5494. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  5495. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5496. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0848, 0x0844, 0x0840, 0x01ef,
  5497. 0x01f0,
  5498. 0x01f0,
  5499. },
  5500. {
  5501. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  5502. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5503. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x084c, 0x0848, 0x0844, 0x01ee,
  5504. 0x01ef,
  5505. 0x01f0,
  5506. },
  5507. {
  5508. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  5509. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5510. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0850, 0x084c, 0x0848, 0x01ed,
  5511. 0x01ee,
  5512. 0x01ef,
  5513. },
  5514. {
  5515. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  5516. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5517. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0854, 0x0850, 0x084c, 0x01ec,
  5518. 0x01ed,
  5519. 0x01ee,
  5520. },
  5521. {
  5522. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  5523. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5524. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0858, 0x0854, 0x0850, 0x01eb,
  5525. 0x01ec,
  5526. 0x01ed,
  5527. },
  5528. {
  5529. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  5530. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x00,
  5531. 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x085c, 0x0858, 0x0854, 0x01ea,
  5532. 0x01eb,
  5533. 0x01ec,
  5534. },
  5535. {
  5536. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  5537. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5538. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0860, 0x085c, 0x0858, 0x01e9,
  5539. 0x01ea,
  5540. 0x01eb,
  5541. },
  5542. {
  5543. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  5544. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5545. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0864, 0x0860, 0x085c, 0x01e8,
  5546. 0x01e9,
  5547. 0x01ea,
  5548. },
  5549. {
  5550. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  5551. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5552. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0868, 0x0864, 0x0860, 0x01e7,
  5553. 0x01e8,
  5554. 0x01e9,
  5555. },
  5556. {
  5557. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  5558. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5559. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x086c, 0x0868, 0x0864, 0x01e6,
  5560. 0x01e7,
  5561. 0x01e8,
  5562. },
  5563. {
  5564. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  5565. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x00,
  5566. 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x0870, 0x086c, 0x0868, 0x01e5,
  5567. 0x01e6,
  5568. 0x01e7,
  5569. },
  5570. {
  5571. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  5572. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5573. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0874, 0x0870, 0x086c, 0x01e5,
  5574. 0x01e5,
  5575. 0x01e6,
  5576. },
  5577. {
  5578. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  5579. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5580. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0878, 0x0874, 0x0870, 0x01e4,
  5581. 0x01e5,
  5582. 0x01e5,
  5583. },
  5584. {
  5585. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  5586. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x00,
  5587. 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x087c, 0x0878, 0x0874, 0x01e3,
  5588. 0x01e4,
  5589. 0x01e5,
  5590. },
  5591. {
  5592. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  5593. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5594. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0880, 0x087c, 0x0878, 0x01e2,
  5595. 0x01e3,
  5596. 0x01e4,
  5597. },
  5598. {
  5599. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  5600. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5601. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0884, 0x0880, 0x087c, 0x01e1,
  5602. 0x01e2,
  5603. 0x01e3,
  5604. },
  5605. {
  5606. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  5607. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5608. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0888, 0x0884, 0x0880, 0x01e0,
  5609. 0x01e1,
  5610. 0x01e2,
  5611. },
  5612. {
  5613. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  5614. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x00,
  5615. 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x088c, 0x0888, 0x0884, 0x01df,
  5616. 0x01e0,
  5617. 0x01e1,
  5618. },
  5619. {
  5620. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  5621. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x00,
  5622. 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x0890, 0x088c, 0x0888, 0x01de,
  5623. 0x01df,
  5624. 0x01e0,
  5625. },
  5626. {
  5627. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  5628. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5629. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0894, 0x0890, 0x088c, 0x01dd,
  5630. 0x01de,
  5631. 0x01df,
  5632. },
  5633. {
  5634. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  5635. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5636. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0898, 0x0894, 0x0890, 0x01dd,
  5637. 0x01dd,
  5638. 0x01de,
  5639. },
  5640. {
  5641. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  5642. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5643. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x089c, 0x0898, 0x0894, 0x01dc,
  5644. 0x01dd,
  5645. 0x01dd,
  5646. },
  5647. {
  5648. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  5649. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5650. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x08a0, 0x089c, 0x0898, 0x01db,
  5651. 0x01dc,
  5652. 0x01dd,
  5653. },
  5654. {
  5655. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  5656. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5657. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a4, 0x08a0, 0x089c, 0x01da,
  5658. 0x01db,
  5659. 0x01dc,
  5660. },
  5661. {
  5662. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  5663. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5664. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  5665. 0x01da,
  5666. 0x01db,
  5667. },
  5668. {
  5669. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  5670. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5671. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  5672. 0x01d9,
  5673. 0x01da,
  5674. },
  5675. {
  5676. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  5677. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5678. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  5679. 0x01d8,
  5680. 0x01d9,
  5681. },
  5682. {
  5683. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  5684. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5685. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  5686. 0x01d7,
  5687. 0x01d8,
  5688. },
  5689. {
  5690. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  5691. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5692. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  5693. 0x01d7,
  5694. 0x01d7,
  5695. },
  5696. {
  5697. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  5698. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x00,
  5699. 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  5700. 0x01d6,
  5701. 0x01d7,
  5702. },
  5703. {
  5704. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  5705. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x00,
  5706. 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  5707. 0x01d5,
  5708. 0x01d6,
  5709. },
  5710. {
  5711. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  5712. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x00,
  5713. 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  5714. 0x01d4,
  5715. 0x01d5,
  5716. },
  5717. {
  5718. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  5719. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5720. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  5721. 0x01d3,
  5722. 0x01d4,
  5723. },
  5724. {
  5725. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  5726. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5727. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  5728. 0x01d2,
  5729. 0x01d3,
  5730. },
  5731. {
  5732. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  5733. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5734. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  5735. 0x01d2,
  5736. 0x01d2,
  5737. },
  5738. {
  5739. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  5740. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5741. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  5742. 0x01d1,
  5743. 0x01d2,
  5744. },
  5745. {
  5746. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  5747. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5748. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  5749. 0x01d0,
  5750. 0x01d1,
  5751. },
  5752. {
  5753. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  5754. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5755. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  5756. 0x01cf,
  5757. 0x01d0,
  5758. },
  5759. {
  5760. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  5761. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x00,
  5762. 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  5763. 0x01ce,
  5764. 0x01cf,
  5765. },
  5766. {
  5767. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  5768. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5769. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  5770. 0x01ce,
  5771. 0x01ce,
  5772. },
  5773. {
  5774. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  5775. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5776. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  5777. 0x01cd,
  5778. 0x01ce,
  5779. },
  5780. {
  5781. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  5782. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5783. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  5784. 0x01cc,
  5785. 0x01cd,
  5786. },
  5787. {
  5788. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  5789. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5790. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  5791. 0x01cb,
  5792. 0x01cc,
  5793. },
  5794. {
  5795. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  5796. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5797. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  5798. 0x01ca,
  5799. 0x01cb,
  5800. },
  5801. {
  5802. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  5803. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x00,
  5804. 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  5805. 0x01ca,
  5806. 0x01cb,
  5807. },
  5808. {
  5809. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  5810. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5811. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  5812. 0x01c9,
  5813. 0x01ca,
  5814. },
  5815. {
  5816. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  5817. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5818. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  5819. 0x01c9,
  5820. 0x01ca,
  5821. },
  5822. {
  5823. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  5824. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5825. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  5826. 0x01c9,
  5827. 0x01c9,
  5828. },
  5829. {
  5830. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  5831. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5832. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  5833. 0x01c8,
  5834. 0x01c9,
  5835. },
  5836. {
  5837. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  5838. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5839. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  5840. 0x01c8,
  5841. 0x01c9,
  5842. },
  5843. {
  5844. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  5845. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5846. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  5847. 0x01c8,
  5848. 0x01c8,
  5849. },
  5850. {
  5851. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  5852. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5853. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  5854. 0x01c7,
  5855. 0x01c8,
  5856. },
  5857. {
  5858. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  5859. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5860. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  5861. 0x01c7,
  5862. 0x01c8,
  5863. },
  5864. {
  5865. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  5866. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5867. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  5868. 0x01c6,
  5869. 0x01c7,
  5870. },
  5871. {
  5872. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  5873. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5874. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  5875. 0x01c6,
  5876. 0x01c7,
  5877. },
  5878. {
  5879. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  5880. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x00,
  5881. 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  5882. 0x01c6,
  5883. 0x01c6,
  5884. },
  5885. {
  5886. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  5887. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5888. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  5889. 0x01c5,
  5890. 0x01c6,
  5891. },
  5892. {
  5893. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  5894. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5895. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  5896. 0x01c5,
  5897. 0x01c6,
  5898. },
  5899. {
  5900. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  5901. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5902. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  5903. 0x01c4,
  5904. 0x01c5,
  5905. },
  5906. {
  5907. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  5908. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5909. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  5910. 0x01c4,
  5911. 0x01c5,
  5912. },
  5913. {
  5914. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  5915. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5916. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  5917. 0x01c4,
  5918. 0x01c4,
  5919. },
  5920. {
  5921. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  5922. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5923. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  5924. 0x01c3,
  5925. 0x01c4,
  5926. },
  5927. {
  5928. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  5929. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5930. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  5931. 0x01c3,
  5932. 0x01c4,
  5933. },
  5934. {
  5935. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  5936. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5937. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  5938. 0x01c2,
  5939. 0x01c3,
  5940. },
  5941. {
  5942. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  5943. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5944. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  5945. 0x01c2,
  5946. 0x01c3,
  5947. },
  5948. {
  5949. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  5950. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5951. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  5952. 0x01c2,
  5953. 0x01c2,
  5954. },
  5955. {
  5956. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  5957. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5958. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  5959. 0x01c1,
  5960. 0x01c2,
  5961. },
  5962. {
  5963. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  5964. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5965. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  5966. 0x01c0,
  5967. 0x01c1,
  5968. },
  5969. {
  5970. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  5971. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5972. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  5973. 0x01bf,
  5974. 0x01c0,
  5975. },
  5976. {
  5977. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  5978. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5979. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  5980. 0x01bf,
  5981. 0x01bf,
  5982. },
  5983. {
  5984. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  5985. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5986. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  5987. 0x01be,
  5988. 0x01bf,
  5989. },
  5990. {
  5991. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  5992. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5993. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  5994. 0x01bd,
  5995. 0x01be,
  5996. },
  5997. {
  5998. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  5999. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  6000. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6001. 0x01bc,
  6002. 0x01bd,
  6003. },
  6004. {
  6005. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6006. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6007. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6008. 0x043f,
  6009. 0x0443,
  6010. },
  6011. {
  6012. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6013. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6014. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6015. 0x043d,
  6016. 0x0441,
  6017. },
  6018. {
  6019. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6020. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6021. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6022. 0x043a,
  6023. 0x043f,
  6024. },
  6025. {
  6026. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6027. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6028. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6029. 0x0438,
  6030. 0x043d,
  6031. },
  6032. {
  6033. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6034. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6035. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6036. 0x0436,
  6037. 0x043a,
  6038. },
  6039. {
  6040. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6041. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6042. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6043. 0x0434,
  6044. 0x0438,
  6045. },
  6046. {
  6047. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6048. 0x07, 0x00, 0x07, 0x00, 0x51, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6049. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6050. 0x0431,
  6051. 0x0436,
  6052. },
  6053. {
  6054. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6055. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6056. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6057. 0x042f,
  6058. 0x0434,
  6059. },
  6060. {
  6061. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6062. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6063. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6064. 0x042d,
  6065. 0x0431,
  6066. },
  6067. {
  6068. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6069. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6070. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6071. 0x042b,
  6072. 0x042f,
  6073. },
  6074. {
  6075. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6076. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6077. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6078. 0x0429,
  6079. 0x042d,
  6080. },
  6081. {
  6082. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6083. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6084. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6085. 0x0427,
  6086. 0x042b,
  6087. },
  6088. {
  6089. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6090. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6091. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6092. 0x0424,
  6093. 0x0429,
  6094. },
  6095. {
  6096. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6097. 0x04, 0x00, 0x04, 0x00, 0x11, 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x11,
  6098. 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6099. 0x041f,
  6100. 0x0424}
  6101. };
  6102. static const struct chan_info_nphy_radio2057_rev5
  6103. chan_info_nphyrev8_2057_rev5[] = {
  6104. {
  6105. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6106. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6107. 0x043a, 0x043f, 0x0443},
  6108. {
  6109. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6110. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6111. 0x0438, 0x043d, 0x0441},
  6112. {
  6113. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6114. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6115. 0x0436, 0x043a, 0x043f},
  6116. {
  6117. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6118. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6119. 0x0434, 0x0438, 0x043d},
  6120. {
  6121. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6122. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6123. 0x0431, 0x0436, 0x043a},
  6124. {
  6125. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6126. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6127. 0x042f, 0x0434, 0x0438},
  6128. {
  6129. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6130. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6131. 0x042d, 0x0431, 0x0436},
  6132. {
  6133. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6134. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6135. 0x042b, 0x042f, 0x0434},
  6136. {
  6137. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6138. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6139. 0x0429, 0x042d, 0x0431},
  6140. {
  6141. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6142. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6143. 0x0427, 0x042b, 0x042f},
  6144. {
  6145. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6146. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6147. 0x0424, 0x0429, 0x042d},
  6148. {
  6149. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6150. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6151. 0x0422, 0x0427, 0x042b},
  6152. {
  6153. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6154. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6155. 0x0420, 0x0424, 0x0429},
  6156. {
  6157. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6158. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6159. 0x041b, 0x041f, 0x0424}
  6160. };
  6161. static const struct chan_info_nphy_radio2057_rev5
  6162. chan_info_nphyrev9_2057_rev5v1[] = {
  6163. {
  6164. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6165. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6166. 0x043a, 0x043f, 0x0443},
  6167. {
  6168. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6169. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6170. 0x0438, 0x043d, 0x0441},
  6171. {
  6172. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6173. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6174. 0x0436, 0x043a, 0x043f},
  6175. {
  6176. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6177. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6178. 0x0434, 0x0438, 0x043d},
  6179. {
  6180. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6181. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6182. 0x0431, 0x0436, 0x043a},
  6183. {
  6184. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6185. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6186. 0x042f, 0x0434, 0x0438},
  6187. {
  6188. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6189. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6190. 0x042d, 0x0431, 0x0436},
  6191. {
  6192. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6193. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6194. 0x042b, 0x042f, 0x0434},
  6195. {
  6196. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6197. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6198. 0x0429, 0x042d, 0x0431},
  6199. {
  6200. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6201. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6202. 0x0427, 0x042b, 0x042f},
  6203. {
  6204. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6205. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6206. 0x0424, 0x0429, 0x042d},
  6207. {
  6208. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6209. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6210. 0x0422, 0x0427, 0x042b},
  6211. {
  6212. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6213. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6214. 0x0420, 0x0424, 0x0429},
  6215. {
  6216. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6217. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6218. 0x041b, 0x041f, 0x0424}
  6219. };
  6220. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev7[] = {
  6221. {
  6222. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  6223. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6224. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  6225. 0x0215,
  6226. 0x0216},
  6227. {
  6228. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6229. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6230. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6231. 0x0214,
  6232. 0x0215},
  6233. {
  6234. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6235. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6236. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6237. 0x0213,
  6238. 0x0214},
  6239. {
  6240. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6241. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6242. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6243. 0x0212,
  6244. 0x0213},
  6245. {
  6246. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6247. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6248. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6249. 0x0211,
  6250. 0x0212},
  6251. {
  6252. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6253. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6254. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6255. 0x020f,
  6256. 0x0211},
  6257. {
  6258. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6259. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6260. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6261. 0x020e,
  6262. 0x020f},
  6263. {
  6264. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6265. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6266. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  6267. 0x020d,
  6268. 0x020e},
  6269. {
  6270. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  6271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6272. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  6273. 0x020c,
  6274. 0x020d},
  6275. {
  6276. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  6277. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6278. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  6279. 0x020b,
  6280. 0x020c},
  6281. {
  6282. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  6283. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6284. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  6285. 0x020a,
  6286. 0x020b},
  6287. {
  6288. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  6289. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6290. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  6291. 0x0209,
  6292. 0x020a},
  6293. {
  6294. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  6295. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6296. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  6297. 0x0208,
  6298. 0x0209},
  6299. {
  6300. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  6301. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6302. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  6303. 0x0207,
  6304. 0x0208},
  6305. {
  6306. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  6307. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6308. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  6309. 0x0206,
  6310. 0x0207},
  6311. {
  6312. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  6313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6314. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  6315. 0x0205,
  6316. 0x0206},
  6317. {
  6318. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  6319. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6320. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  6321. 0x0204,
  6322. 0x0205},
  6323. {
  6324. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  6325. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6326. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  6327. 0x0203,
  6328. 0x0204},
  6329. {
  6330. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  6331. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6332. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  6333. 0x0202,
  6334. 0x0203},
  6335. {
  6336. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  6337. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6338. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  6339. 0x0201,
  6340. 0x0202},
  6341. {
  6342. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  6343. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6344. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  6345. 0x0200,
  6346. 0x0201},
  6347. {
  6348. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  6349. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6350. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  6351. 0x01ff,
  6352. 0x0200},
  6353. {
  6354. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  6355. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6356. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  6357. 0x01fe,
  6358. 0x01ff},
  6359. {
  6360. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  6361. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6362. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  6363. 0x01fc,
  6364. 0x01fd},
  6365. {
  6366. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  6367. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6368. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  6369. 0x01fb,
  6370. 0x01fc},
  6371. {
  6372. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  6373. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6374. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  6375. 0x01fa,
  6376. 0x01fb},
  6377. {
  6378. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  6379. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6380. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  6381. 0x01f9,
  6382. 0x01fa},
  6383. {
  6384. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  6385. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6386. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  6387. 0x01f8,
  6388. 0x01f9},
  6389. {
  6390. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  6391. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6392. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  6393. 0x01f7,
  6394. 0x01f8},
  6395. {
  6396. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  6397. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6398. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  6399. 0x01f6,
  6400. 0x01f7},
  6401. {
  6402. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  6403. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6404. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  6405. 0x01f5,
  6406. 0x01f6},
  6407. {
  6408. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  6409. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6410. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  6411. 0x01f4,
  6412. 0x01f5},
  6413. {
  6414. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  6415. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6416. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  6417. 0x01f3,
  6418. 0x01f4},
  6419. {
  6420. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  6421. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6422. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  6423. 0x01f2,
  6424. 0x01f3},
  6425. {
  6426. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  6427. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6428. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  6429. 0x01f1,
  6430. 0x01f2},
  6431. {
  6432. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  6433. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6434. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  6435. 0x01f0,
  6436. 0x01f1},
  6437. {
  6438. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  6439. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6440. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  6441. 0x01f0,
  6442. 0x01f0},
  6443. {
  6444. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  6445. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6446. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  6447. 0x01ef,
  6448. 0x01f0},
  6449. {
  6450. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  6451. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6452. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  6453. 0x01ee,
  6454. 0x01ef},
  6455. {
  6456. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  6457. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6458. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  6459. 0x01ed,
  6460. 0x01ee},
  6461. {
  6462. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  6463. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6464. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  6465. 0x01ec,
  6466. 0x01ed},
  6467. {
  6468. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  6469. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6470. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  6471. 0x01eb,
  6472. 0x01ec},
  6473. {
  6474. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  6475. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6476. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  6477. 0x01ea,
  6478. 0x01eb},
  6479. {
  6480. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  6481. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6482. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  6483. 0x01e9,
  6484. 0x01ea},
  6485. {
  6486. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  6487. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6488. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  6489. 0x01e8,
  6490. 0x01e9},
  6491. {
  6492. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  6493. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6494. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  6495. 0x01e7,
  6496. 0x01e8},
  6497. {
  6498. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  6499. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6500. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  6501. 0x01e6,
  6502. 0x01e7},
  6503. {
  6504. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  6505. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6506. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  6507. 0x01e5,
  6508. 0x01e6},
  6509. {
  6510. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  6511. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6512. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  6513. 0x01e5,
  6514. 0x01e5},
  6515. {
  6516. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  6517. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6518. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  6519. 0x01e4,
  6520. 0x01e5},
  6521. {
  6522. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  6523. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6524. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  6525. 0x01e3,
  6526. 0x01e4},
  6527. {
  6528. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  6529. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6530. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  6531. 0x01e2,
  6532. 0x01e3},
  6533. {
  6534. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  6535. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6536. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  6537. 0x01e1,
  6538. 0x01e2},
  6539. {
  6540. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  6541. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6542. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  6543. 0x01e0,
  6544. 0x01e1},
  6545. {
  6546. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  6547. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6548. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  6549. 0x01df,
  6550. 0x01e0},
  6551. {
  6552. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  6553. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6554. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  6555. 0x01de,
  6556. 0x01df},
  6557. {
  6558. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  6559. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6560. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  6561. 0x01dd,
  6562. 0x01de},
  6563. {
  6564. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  6565. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6566. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  6567. 0x01dd,
  6568. 0x01dd},
  6569. {
  6570. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  6571. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6572. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  6573. 0x01dc,
  6574. 0x01dd},
  6575. {
  6576. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  6577. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6578. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  6579. 0x01db,
  6580. 0x01dc},
  6581. {
  6582. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  6583. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6584. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  6585. 0x01da,
  6586. 0x01db},
  6587. {
  6588. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  6589. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6590. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  6591. 0x01d9,
  6592. 0x01da},
  6593. {
  6594. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  6595. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6596. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  6597. 0x01d8,
  6598. 0x01d9},
  6599. {
  6600. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  6601. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6602. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  6603. 0x01d7,
  6604. 0x01d8},
  6605. {
  6606. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  6607. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6608. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  6609. 0x01d7,
  6610. 0x01d7},
  6611. {
  6612. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  6613. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6614. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  6615. 0x01d6,
  6616. 0x01d7},
  6617. {
  6618. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  6619. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6620. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  6621. 0x01d5,
  6622. 0x01d6},
  6623. {
  6624. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  6625. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6626. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  6627. 0x01d4,
  6628. 0x01d5},
  6629. {
  6630. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  6631. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6632. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  6633. 0x01d3,
  6634. 0x01d4},
  6635. {
  6636. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  6637. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6638. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  6639. 0x01d2,
  6640. 0x01d3},
  6641. {
  6642. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  6643. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6644. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  6645. 0x01d2,
  6646. 0x01d2},
  6647. {
  6648. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  6649. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6650. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  6651. 0x01d1,
  6652. 0x01d2},
  6653. {
  6654. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  6655. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6656. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  6657. 0x01d0,
  6658. 0x01d1},
  6659. {
  6660. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  6661. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6662. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  6663. 0x01cf,
  6664. 0x01d0},
  6665. {
  6666. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  6667. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6668. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  6669. 0x01ce,
  6670. 0x01cf},
  6671. {
  6672. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  6673. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6674. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  6675. 0x01ce,
  6676. 0x01ce},
  6677. {
  6678. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  6679. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6680. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  6681. 0x01cd,
  6682. 0x01ce},
  6683. {
  6684. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  6685. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6686. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  6687. 0x01cc,
  6688. 0x01cd},
  6689. {
  6690. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  6691. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6692. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  6693. 0x01cb,
  6694. 0x01cc},
  6695. {
  6696. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  6697. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6698. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  6699. 0x01ca,
  6700. 0x01cb},
  6701. {
  6702. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  6703. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6704. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  6705. 0x01ca,
  6706. 0x01cb},
  6707. {
  6708. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  6709. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6710. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  6711. 0x01c9,
  6712. 0x01ca},
  6713. {
  6714. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  6715. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6716. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  6717. 0x01c9,
  6718. 0x01ca},
  6719. {
  6720. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  6721. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6722. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  6723. 0x01c9,
  6724. 0x01c9},
  6725. {
  6726. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  6727. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6728. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  6729. 0x01c8,
  6730. 0x01c9},
  6731. {
  6732. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  6733. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6734. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  6735. 0x01c8,
  6736. 0x01c9},
  6737. {
  6738. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  6739. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6740. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  6741. 0x01c8,
  6742. 0x01c8},
  6743. {
  6744. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  6745. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6746. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  6747. 0x01c7,
  6748. 0x01c8},
  6749. {
  6750. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  6751. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6752. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  6753. 0x01c7,
  6754. 0x01c8},
  6755. {
  6756. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  6757. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6758. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  6759. 0x01c6,
  6760. 0x01c7},
  6761. {
  6762. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  6763. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6764. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  6765. 0x01c6,
  6766. 0x01c7},
  6767. {
  6768. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  6769. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6770. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  6771. 0x01c6,
  6772. 0x01c6},
  6773. {
  6774. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  6775. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6776. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  6777. 0x01c5,
  6778. 0x01c6},
  6779. {
  6780. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  6781. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6782. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  6783. 0x01c5,
  6784. 0x01c6},
  6785. {
  6786. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  6787. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6788. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  6789. 0x01c4,
  6790. 0x01c5},
  6791. {
  6792. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  6793. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  6794. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  6795. 0x01c4,
  6796. 0x01c5},
  6797. {
  6798. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  6799. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6800. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  6801. 0x01c4,
  6802. 0x01c4},
  6803. {
  6804. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  6805. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6806. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  6807. 0x01c3,
  6808. 0x01c4},
  6809. {
  6810. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  6811. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6812. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  6813. 0x01c3,
  6814. 0x01c4},
  6815. {
  6816. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  6817. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6818. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  6819. 0x01c2,
  6820. 0x01c3},
  6821. {
  6822. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  6823. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6824. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  6825. 0x01c2,
  6826. 0x01c3},
  6827. {
  6828. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  6829. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6830. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  6831. 0x01c2,
  6832. 0x01c2},
  6833. {
  6834. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  6835. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6836. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  6837. 0x01c1,
  6838. 0x01c2},
  6839. {
  6840. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  6841. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6842. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  6843. 0x01c0,
  6844. 0x01c1},
  6845. {
  6846. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  6847. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6848. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  6849. 0x01bf,
  6850. 0x01c0},
  6851. {
  6852. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  6853. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6854. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  6855. 0x01bf,
  6856. 0x01bf},
  6857. {
  6858. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  6859. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6860. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  6861. 0x01be,
  6862. 0x01bf},
  6863. {
  6864. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  6865. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6866. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  6867. 0x01bd,
  6868. 0x01be},
  6869. {
  6870. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  6871. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6872. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6873. 0x01bc,
  6874. 0x01bd},
  6875. {
  6876. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6877. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6878. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6879. 0x043f,
  6880. 0x0443},
  6881. {
  6882. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6883. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6884. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6885. 0x043d,
  6886. 0x0441},
  6887. {
  6888. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6889. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6890. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6891. 0x043a,
  6892. 0x043f},
  6893. {
  6894. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6895. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6896. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6897. 0x0438,
  6898. 0x043d},
  6899. {
  6900. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6901. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6902. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6903. 0x0436,
  6904. 0x043a},
  6905. {
  6906. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6907. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6908. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6909. 0x0434,
  6910. 0x0438},
  6911. {
  6912. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6913. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6914. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6915. 0x0431,
  6916. 0x0436},
  6917. {
  6918. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6919. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6920. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6921. 0x042f,
  6922. 0x0434},
  6923. {
  6924. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6925. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6926. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6927. 0x042d,
  6928. 0x0431},
  6929. {
  6930. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6931. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6932. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6933. 0x042b,
  6934. 0x042f},
  6935. {
  6936. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6937. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6938. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6939. 0x0429,
  6940. 0x042d},
  6941. {
  6942. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6943. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6944. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6945. 0x0427,
  6946. 0x042b},
  6947. {
  6948. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6949. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6950. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6951. 0x0424,
  6952. 0x0429},
  6953. {
  6954. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6955. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  6956. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6957. 0x041f,
  6958. 0x0424}
  6959. };
  6960. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev8[] = {
  6961. {
  6962. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6963. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6964. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6965. 0x0214,
  6966. 0x0215},
  6967. {
  6968. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6969. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6970. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6971. 0x0213,
  6972. 0x0214},
  6973. {
  6974. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6975. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6976. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6977. 0x0212,
  6978. 0x0213},
  6979. {
  6980. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6981. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6982. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6983. 0x0211,
  6984. 0x0212},
  6985. {
  6986. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6987. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6988. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6989. 0x020f,
  6990. 0x0211},
  6991. {
  6992. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6993. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6994. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6995. 0x020e,
  6996. 0x020f},
  6997. {
  6998. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6999. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  7000. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  7001. 0x020d,
  7002. 0x020e},
  7003. {
  7004. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  7005. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7006. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  7007. 0x020c,
  7008. 0x020d},
  7009. {
  7010. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  7011. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7012. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  7013. 0x020b,
  7014. 0x020c},
  7015. {
  7016. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  7017. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7018. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  7019. 0x020a,
  7020. 0x020b},
  7021. {
  7022. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  7023. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7024. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  7025. 0x0209,
  7026. 0x020a},
  7027. {
  7028. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  7029. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7030. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  7031. 0x0208,
  7032. 0x0209},
  7033. {
  7034. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  7035. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7036. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  7037. 0x0207,
  7038. 0x0208},
  7039. {
  7040. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  7041. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7042. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  7043. 0x0206,
  7044. 0x0207},
  7045. {
  7046. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  7047. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7048. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  7049. 0x0205,
  7050. 0x0206},
  7051. {
  7052. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  7053. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7054. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  7055. 0x0204,
  7056. 0x0205},
  7057. {
  7058. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  7059. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7060. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  7061. 0x0203,
  7062. 0x0204},
  7063. {
  7064. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  7065. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7066. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  7067. 0x0202,
  7068. 0x0203},
  7069. {
  7070. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  7071. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7072. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  7073. 0x0201,
  7074. 0x0202},
  7075. {
  7076. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  7077. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7078. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  7079. 0x0200,
  7080. 0x0201},
  7081. {
  7082. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  7083. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7084. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  7085. 0x01ff,
  7086. 0x0200},
  7087. {
  7088. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  7089. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7090. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  7091. 0x01fe,
  7092. 0x01ff},
  7093. {
  7094. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  7095. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7096. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  7097. 0x01fc,
  7098. 0x01fd},
  7099. {
  7100. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  7101. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7102. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  7103. 0x01fb,
  7104. 0x01fc},
  7105. {
  7106. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  7107. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7108. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  7109. 0x01fa,
  7110. 0x01fb},
  7111. {
  7112. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  7113. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7114. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  7115. 0x01f9,
  7116. 0x01fa},
  7117. {
  7118. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  7119. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7120. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  7121. 0x01f8,
  7122. 0x01f9},
  7123. {
  7124. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  7125. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7126. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  7127. 0x01f7,
  7128. 0x01f8},
  7129. {
  7130. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  7131. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7132. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  7133. 0x01f6,
  7134. 0x01f7},
  7135. {
  7136. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  7137. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7138. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  7139. 0x01f5,
  7140. 0x01f6},
  7141. {
  7142. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  7143. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7144. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  7145. 0x01f4,
  7146. 0x01f5},
  7147. {
  7148. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  7149. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7150. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  7151. 0x01f3,
  7152. 0x01f4},
  7153. {
  7154. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  7155. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7156. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  7157. 0x01f2,
  7158. 0x01f3},
  7159. {
  7160. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  7161. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7162. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  7163. 0x01f1,
  7164. 0x01f2},
  7165. {
  7166. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  7167. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7168. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  7169. 0x01f0,
  7170. 0x01f1},
  7171. {
  7172. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  7173. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7174. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  7175. 0x01f0,
  7176. 0x01f0},
  7177. {
  7178. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  7179. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7180. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  7181. 0x01ef,
  7182. 0x01f0},
  7183. {
  7184. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  7185. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7186. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  7187. 0x01ee,
  7188. 0x01ef},
  7189. {
  7190. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  7191. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7192. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  7193. 0x01ed,
  7194. 0x01ee},
  7195. {
  7196. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  7197. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7198. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  7199. 0x01ec,
  7200. 0x01ed},
  7201. {
  7202. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  7203. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7204. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  7205. 0x01eb,
  7206. 0x01ec},
  7207. {
  7208. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  7209. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7210. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  7211. 0x01ea,
  7212. 0x01eb},
  7213. {
  7214. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  7215. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7216. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  7217. 0x01e9,
  7218. 0x01ea},
  7219. {
  7220. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  7221. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7222. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  7223. 0x01e8,
  7224. 0x01e9},
  7225. {
  7226. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  7227. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7228. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  7229. 0x01e7,
  7230. 0x01e8},
  7231. {
  7232. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  7233. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7234. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  7235. 0x01e6,
  7236. 0x01e7},
  7237. {
  7238. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  7239. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7240. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  7241. 0x01e5,
  7242. 0x01e6},
  7243. {
  7244. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  7245. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7246. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  7247. 0x01e5,
  7248. 0x01e5},
  7249. {
  7250. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  7251. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7252. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  7253. 0x01e4,
  7254. 0x01e5},
  7255. {
  7256. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  7257. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7258. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  7259. 0x01e3,
  7260. 0x01e4},
  7261. {
  7262. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  7263. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7264. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  7265. 0x01e2,
  7266. 0x01e3},
  7267. {
  7268. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  7269. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7270. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  7271. 0x01e1,
  7272. 0x01e2},
  7273. {
  7274. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  7275. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7276. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  7277. 0x01e0,
  7278. 0x01e1},
  7279. {
  7280. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  7281. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7282. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  7283. 0x01df,
  7284. 0x01e0},
  7285. {
  7286. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  7287. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7288. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  7289. 0x01de,
  7290. 0x01df},
  7291. {
  7292. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  7293. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7294. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  7295. 0x01dd,
  7296. 0x01de},
  7297. {
  7298. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  7299. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7300. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  7301. 0x01dd,
  7302. 0x01dd},
  7303. {
  7304. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  7305. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7306. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  7307. 0x01dc,
  7308. 0x01dd},
  7309. {
  7310. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  7311. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7312. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  7313. 0x01db,
  7314. 0x01dc},
  7315. {
  7316. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  7317. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7318. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  7319. 0x01da,
  7320. 0x01db},
  7321. {
  7322. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  7323. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7324. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  7325. 0x01d9,
  7326. 0x01da},
  7327. {
  7328. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  7329. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7330. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  7331. 0x01d8,
  7332. 0x01d9},
  7333. {
  7334. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  7335. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7336. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  7337. 0x01d7,
  7338. 0x01d8},
  7339. {
  7340. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  7341. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7342. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  7343. 0x01d7,
  7344. 0x01d7},
  7345. {
  7346. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  7347. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7348. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  7349. 0x01d6,
  7350. 0x01d7},
  7351. {
  7352. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  7353. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7354. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  7355. 0x01d5,
  7356. 0x01d6},
  7357. {
  7358. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  7359. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7360. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  7361. 0x01d4,
  7362. 0x01d5},
  7363. {
  7364. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  7365. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7366. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  7367. 0x01d3,
  7368. 0x01d4},
  7369. {
  7370. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  7371. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7372. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  7373. 0x01d2,
  7374. 0x01d3},
  7375. {
  7376. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  7377. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7378. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  7379. 0x01d2,
  7380. 0x01d2},
  7381. {
  7382. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  7383. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7384. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  7385. 0x01d1,
  7386. 0x01d2},
  7387. {
  7388. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  7389. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7390. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  7391. 0x01d0,
  7392. 0x01d1},
  7393. {
  7394. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  7395. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7396. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  7397. 0x01cf,
  7398. 0x01d0},
  7399. {
  7400. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  7401. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7402. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  7403. 0x01ce,
  7404. 0x01cf},
  7405. {
  7406. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  7407. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7408. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  7409. 0x01ce,
  7410. 0x01ce},
  7411. {
  7412. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  7413. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7414. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  7415. 0x01cd,
  7416. 0x01ce},
  7417. {
  7418. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  7419. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7420. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  7421. 0x01cc,
  7422. 0x01cd},
  7423. {
  7424. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  7425. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7426. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  7427. 0x01cb,
  7428. 0x01cc},
  7429. {
  7430. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  7431. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7432. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  7433. 0x01ca,
  7434. 0x01cb},
  7435. {
  7436. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  7437. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7438. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  7439. 0x01ca,
  7440. 0x01cb},
  7441. {
  7442. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  7443. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7444. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  7445. 0x01c9,
  7446. 0x01ca},
  7447. {
  7448. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  7449. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7450. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  7451. 0x01c9,
  7452. 0x01ca},
  7453. {
  7454. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  7455. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7456. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  7457. 0x01c9,
  7458. 0x01c9},
  7459. {
  7460. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  7461. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7462. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  7463. 0x01c8,
  7464. 0x01c9},
  7465. {
  7466. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  7467. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7468. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  7469. 0x01c8,
  7470. 0x01c9},
  7471. {
  7472. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  7473. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7474. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  7475. 0x01c8,
  7476. 0x01c8},
  7477. {
  7478. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  7479. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7480. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  7481. 0x01c7,
  7482. 0x01c8},
  7483. {
  7484. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  7485. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7486. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  7487. 0x01c7,
  7488. 0x01c8},
  7489. {
  7490. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  7491. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7492. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  7493. 0x01c6,
  7494. 0x01c7},
  7495. {
  7496. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  7497. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7498. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  7499. 0x01c6,
  7500. 0x01c7},
  7501. {
  7502. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  7503. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7504. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  7505. 0x01c6,
  7506. 0x01c6},
  7507. {
  7508. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  7509. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7510. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  7511. 0x01c5,
  7512. 0x01c6},
  7513. {
  7514. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  7515. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7516. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  7517. 0x01c5,
  7518. 0x01c6},
  7519. {
  7520. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  7521. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7522. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  7523. 0x01c4,
  7524. 0x01c5},
  7525. {
  7526. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  7527. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  7528. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  7529. 0x01c4,
  7530. 0x01c5},
  7531. {
  7532. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  7533. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7534. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  7535. 0x01c4,
  7536. 0x01c4},
  7537. {
  7538. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  7539. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7540. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  7541. 0x01c3,
  7542. 0x01c4},
  7543. {
  7544. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  7545. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7546. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  7547. 0x01c3,
  7548. 0x01c4},
  7549. {
  7550. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  7551. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7552. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  7553. 0x01c2,
  7554. 0x01c3},
  7555. {
  7556. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  7557. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7558. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  7559. 0x01c2,
  7560. 0x01c3},
  7561. {
  7562. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  7563. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7564. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  7565. 0x01c2,
  7566. 0x01c2},
  7567. {
  7568. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  7569. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7570. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  7571. 0x01c1,
  7572. 0x01c2},
  7573. {
  7574. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  7575. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7576. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  7577. 0x01c0,
  7578. 0x01c1},
  7579. {
  7580. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  7581. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7582. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  7583. 0x01bf,
  7584. 0x01c0},
  7585. {
  7586. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  7587. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7588. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  7589. 0x01bf,
  7590. 0x01bf},
  7591. {
  7592. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  7593. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7594. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  7595. 0x01be,
  7596. 0x01bf},
  7597. {
  7598. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  7599. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7600. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  7601. 0x01bd,
  7602. 0x01be},
  7603. {
  7604. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  7605. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7606. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  7607. 0x01bc,
  7608. 0x01bd},
  7609. {
  7610. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  7611. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7612. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  7613. 0x043f,
  7614. 0x0443},
  7615. {
  7616. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  7617. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7618. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  7619. 0x043d,
  7620. 0x0441},
  7621. {
  7622. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  7623. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7624. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  7625. 0x043a,
  7626. 0x043f},
  7627. {
  7628. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  7629. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7630. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  7631. 0x0438,
  7632. 0x043d},
  7633. {
  7634. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  7635. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7636. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  7637. 0x0436,
  7638. 0x043a},
  7639. {
  7640. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  7641. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7642. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  7643. 0x0434,
  7644. 0x0438},
  7645. {
  7646. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  7647. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7648. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  7649. 0x0431,
  7650. 0x0436},
  7651. {
  7652. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  7653. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7654. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  7655. 0x042f,
  7656. 0x0434},
  7657. {
  7658. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  7659. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7660. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  7661. 0x042d,
  7662. 0x0431},
  7663. {
  7664. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  7665. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7666. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  7667. 0x042b,
  7668. 0x042f},
  7669. {
  7670. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  7671. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7672. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  7673. 0x0429,
  7674. 0x042d},
  7675. {
  7676. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  7677. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7678. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  7679. 0x0427,
  7680. 0x042b},
  7681. {
  7682. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  7683. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7684. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  7685. 0x0424,
  7686. 0x0429},
  7687. {
  7688. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  7689. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  7690. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  7691. 0x041f,
  7692. 0x0424}
  7693. };
  7694. static struct radio_regs regs_2055[] = {
  7695. {0x02, 0x80, 0x80, 0, 0},
  7696. {0x03, 0, 0, 0, 0},
  7697. {0x04, 0x27, 0x27, 0, 0},
  7698. {0x05, 0, 0, 0, 0},
  7699. {0x06, 0x27, 0x27, 0, 0},
  7700. {0x07, 0x7f, 0x7f, 1, 1},
  7701. {0x08, 0x7, 0x7, 1, 1},
  7702. {0x09, 0x7f, 0x7f, 1, 1},
  7703. {0x0A, 0x7, 0x7, 1, 1},
  7704. {0x0B, 0x15, 0x15, 0, 0},
  7705. {0x0C, 0x15, 0x15, 0, 0},
  7706. {0x0D, 0x4f, 0x4f, 1, 1},
  7707. {0x0E, 0x5, 0x5, 1, 1},
  7708. {0x0F, 0x4f, 0x4f, 1, 1},
  7709. {0x10, 0x5, 0x5, 1, 1},
  7710. {0x11, 0xd0, 0xd0, 0, 0},
  7711. {0x12, 0x2, 0x2, 0, 0},
  7712. {0x13, 0, 0, 0, 0},
  7713. {0x14, 0x40, 0x40, 0, 0},
  7714. {0x15, 0, 0, 0, 0},
  7715. {0x16, 0, 0, 0, 0},
  7716. {0x17, 0, 0, 0, 0},
  7717. {0x18, 0, 0, 0, 0},
  7718. {0x19, 0, 0, 0, 0},
  7719. {0x1A, 0, 0, 0, 0},
  7720. {0x1B, 0, 0, 0, 0},
  7721. {0x1C, 0, 0, 0, 0},
  7722. {0x1D, 0xc0, 0xc0, 0, 0},
  7723. {0x1E, 0xff, 0xff, 0, 0},
  7724. {0x1F, 0xc0, 0xc0, 0, 0},
  7725. {0x20, 0xff, 0xff, 0, 0},
  7726. {0x21, 0xc0, 0xc0, 0, 0},
  7727. {0x22, 0, 0, 0, 0},
  7728. {0x23, 0x2c, 0x2c, 0, 0},
  7729. {0x24, 0, 0, 0, 0},
  7730. {0x25, 0, 0, 0, 0},
  7731. {0x26, 0, 0, 0, 0},
  7732. {0x27, 0, 0, 0, 0},
  7733. {0x28, 0, 0, 0, 0},
  7734. {0x29, 0, 0, 0, 0},
  7735. {0x2A, 0, 0, 0, 0},
  7736. {0x2B, 0, 0, 0, 0},
  7737. {0x2C, 0, 0, 0, 0},
  7738. {0x2D, 0xa4, 0xa4, 0, 0},
  7739. {0x2E, 0x38, 0x38, 0, 0},
  7740. {0x2F, 0, 0, 0, 0},
  7741. {0x30, 0x4, 0x4, 1, 1},
  7742. {0x31, 0, 0, 0, 0},
  7743. {0x32, 0xa, 0xa, 0, 0},
  7744. {0x33, 0x87, 0x87, 0, 0},
  7745. {0x34, 0x9, 0x9, 0, 0},
  7746. {0x35, 0x70, 0x70, 0, 0},
  7747. {0x36, 0x11, 0x11, 0, 0},
  7748. {0x37, 0x18, 0x18, 1, 1},
  7749. {0x38, 0x6, 0x6, 0, 0},
  7750. {0x39, 0x4, 0x4, 1, 1},
  7751. {0x3A, 0x6, 0x6, 0, 0},
  7752. {0x3B, 0x9e, 0x9e, 0, 0},
  7753. {0x3C, 0x9, 0x9, 0, 0},
  7754. {0x3D, 0xc8, 0xc8, 1, 1},
  7755. {0x3E, 0x88, 0x88, 0, 0},
  7756. {0x3F, 0, 0, 0, 0},
  7757. {0x40, 0, 0, 0, 0},
  7758. {0x41, 0, 0, 0, 0},
  7759. {0x42, 0x1, 0x1, 0, 0},
  7760. {0x43, 0x2, 0x2, 0, 0},
  7761. {0x44, 0x96, 0x96, 0, 0},
  7762. {0x45, 0x3e, 0x3e, 0, 0},
  7763. {0x46, 0x3e, 0x3e, 0, 0},
  7764. {0x47, 0x13, 0x13, 0, 0},
  7765. {0x48, 0x2, 0x2, 0, 0},
  7766. {0x49, 0x15, 0x15, 0, 0},
  7767. {0x4A, 0x7, 0x7, 0, 0},
  7768. {0x4B, 0, 0, 0, 0},
  7769. {0x4C, 0, 0, 0, 0},
  7770. {0x4D, 0, 0, 0, 0},
  7771. {0x4E, 0, 0, 0, 0},
  7772. {0x4F, 0, 0, 0, 0},
  7773. {0x50, 0x8, 0x8, 0, 0},
  7774. {0x51, 0x8, 0x8, 0, 0},
  7775. {0x52, 0x6, 0x6, 0, 0},
  7776. {0x53, 0x84, 0x84, 1, 1},
  7777. {0x54, 0xc3, 0xc3, 0, 0},
  7778. {0x55, 0x8f, 0x8f, 0, 0},
  7779. {0x56, 0xff, 0xff, 0, 0},
  7780. {0x57, 0xff, 0xff, 0, 0},
  7781. {0x58, 0x88, 0x88, 0, 0},
  7782. {0x59, 0x88, 0x88, 0, 0},
  7783. {0x5A, 0, 0, 0, 0},
  7784. {0x5B, 0xcc, 0xcc, 0, 0},
  7785. {0x5C, 0x6, 0x6, 0, 0},
  7786. {0x5D, 0x80, 0x80, 0, 0},
  7787. {0x5E, 0x80, 0x80, 0, 0},
  7788. {0x5F, 0xf8, 0xf8, 0, 0},
  7789. {0x60, 0x88, 0x88, 0, 0},
  7790. {0x61, 0x88, 0x88, 0, 0},
  7791. {0x62, 0x88, 0x8, 1, 1},
  7792. {0x63, 0x88, 0x88, 0, 0},
  7793. {0x64, 0, 0, 0, 0},
  7794. {0x65, 0x1, 0x1, 1, 1},
  7795. {0x66, 0x8a, 0x8a, 0, 0},
  7796. {0x67, 0x8, 0x8, 0, 0},
  7797. {0x68, 0x83, 0x83, 0, 0},
  7798. {0x69, 0x6, 0x6, 0, 0},
  7799. {0x6A, 0xa0, 0xa0, 0, 0},
  7800. {0x6B, 0xa, 0xa, 0, 0},
  7801. {0x6C, 0x87, 0x87, 1, 1},
  7802. {0x6D, 0x2a, 0x2a, 0, 0},
  7803. {0x6E, 0x2a, 0x2a, 0, 0},
  7804. {0x6F, 0x2a, 0x2a, 0, 0},
  7805. {0x70, 0x2a, 0x2a, 0, 0},
  7806. {0x71, 0x18, 0x18, 0, 0},
  7807. {0x72, 0x6a, 0x6a, 1, 1},
  7808. {0x73, 0xab, 0xab, 1, 1},
  7809. {0x74, 0x13, 0x13, 1, 1},
  7810. {0x75, 0xc1, 0xc1, 1, 1},
  7811. {0x76, 0xaa, 0xaa, 1, 1},
  7812. {0x77, 0x87, 0x87, 1, 1},
  7813. {0x78, 0, 0, 0, 0},
  7814. {0x79, 0x6, 0x6, 0, 0},
  7815. {0x7A, 0x7, 0x7, 0, 0},
  7816. {0x7B, 0x7, 0x7, 0, 0},
  7817. {0x7C, 0x15, 0x15, 0, 0},
  7818. {0x7D, 0x55, 0x55, 0, 0},
  7819. {0x7E, 0x97, 0x97, 1, 1},
  7820. {0x7F, 0x8, 0x8, 0, 0},
  7821. {0x80, 0x14, 0x14, 1, 1},
  7822. {0x81, 0x33, 0x33, 0, 0},
  7823. {0x82, 0x88, 0x88, 0, 0},
  7824. {0x83, 0x6, 0x6, 0, 0},
  7825. {0x84, 0x3, 0x3, 1, 1},
  7826. {0x85, 0xa, 0xa, 0, 0},
  7827. {0x86, 0x3, 0x3, 1, 1},
  7828. {0x87, 0x2a, 0x2a, 0, 0},
  7829. {0x88, 0xa4, 0xa4, 0, 0},
  7830. {0x89, 0x18, 0x18, 0, 0},
  7831. {0x8A, 0x28, 0x28, 0, 0},
  7832. {0x8B, 0, 0, 0, 0},
  7833. {0x8C, 0x4a, 0x4a, 0, 0},
  7834. {0x8D, 0, 0, 0, 0},
  7835. {0x8E, 0xf8, 0xf8, 0, 0},
  7836. {0x8F, 0x88, 0x88, 0, 0},
  7837. {0x90, 0x88, 0x88, 0, 0},
  7838. {0x91, 0x88, 0x8, 1, 1},
  7839. {0x92, 0x88, 0x88, 0, 0},
  7840. {0x93, 0, 0, 0, 0},
  7841. {0x94, 0x1, 0x1, 1, 1},
  7842. {0x95, 0x8a, 0x8a, 0, 0},
  7843. {0x96, 0x8, 0x8, 0, 0},
  7844. {0x97, 0x83, 0x83, 0, 0},
  7845. {0x98, 0x6, 0x6, 0, 0},
  7846. {0x99, 0xa0, 0xa0, 0, 0},
  7847. {0x9A, 0xa, 0xa, 0, 0},
  7848. {0x9B, 0x87, 0x87, 1, 1},
  7849. {0x9C, 0x2a, 0x2a, 0, 0},
  7850. {0x9D, 0x2a, 0x2a, 0, 0},
  7851. {0x9E, 0x2a, 0x2a, 0, 0},
  7852. {0x9F, 0x2a, 0x2a, 0, 0},
  7853. {0xA0, 0x18, 0x18, 0, 0},
  7854. {0xA1, 0x6a, 0x6a, 1, 1},
  7855. {0xA2, 0xab, 0xab, 1, 1},
  7856. {0xA3, 0x13, 0x13, 1, 1},
  7857. {0xA4, 0xc1, 0xc1, 1, 1},
  7858. {0xA5, 0xaa, 0xaa, 1, 1},
  7859. {0xA6, 0x87, 0x87, 1, 1},
  7860. {0xA7, 0, 0, 0, 0},
  7861. {0xA8, 0x6, 0x6, 0, 0},
  7862. {0xA9, 0x7, 0x7, 0, 0},
  7863. {0xAA, 0x7, 0x7, 0, 0},
  7864. {0xAB, 0x15, 0x15, 0, 0},
  7865. {0xAC, 0x55, 0x55, 0, 0},
  7866. {0xAD, 0x97, 0x97, 1, 1},
  7867. {0xAE, 0x8, 0x8, 0, 0},
  7868. {0xAF, 0x14, 0x14, 1, 1},
  7869. {0xB0, 0x33, 0x33, 0, 0},
  7870. {0xB1, 0x88, 0x88, 0, 0},
  7871. {0xB2, 0x6, 0x6, 0, 0},
  7872. {0xB3, 0x3, 0x3, 1, 1},
  7873. {0xB4, 0xa, 0xa, 0, 0},
  7874. {0xB5, 0x3, 0x3, 1, 1},
  7875. {0xB6, 0x2a, 0x2a, 0, 0},
  7876. {0xB7, 0xa4, 0xa4, 0, 0},
  7877. {0xB8, 0x18, 0x18, 0, 0},
  7878. {0xB9, 0x28, 0x28, 0, 0},
  7879. {0xBA, 0, 0, 0, 0},
  7880. {0xBB, 0x4a, 0x4a, 0, 0},
  7881. {0xBC, 0, 0, 0, 0},
  7882. {0xBD, 0x71, 0x71, 0, 0},
  7883. {0xBE, 0x72, 0x72, 0, 0},
  7884. {0xBF, 0x73, 0x73, 0, 0},
  7885. {0xC0, 0x74, 0x74, 0, 0},
  7886. {0xC1, 0x75, 0x75, 0, 0},
  7887. {0xC2, 0x76, 0x76, 0, 0},
  7888. {0xC3, 0x77, 0x77, 0, 0},
  7889. {0xC4, 0x78, 0x78, 0, 0},
  7890. {0xC5, 0x79, 0x79, 0, 0},
  7891. {0xC6, 0x7a, 0x7a, 0, 0},
  7892. {0xC7, 0, 0, 0, 0},
  7893. {0xC8, 0, 0, 0, 0},
  7894. {0xC9, 0, 0, 0, 0},
  7895. {0xCA, 0, 0, 0, 0},
  7896. {0xCB, 0, 0, 0, 0},
  7897. {0xCC, 0, 0, 0, 0},
  7898. {0xCD, 0, 0, 0, 0},
  7899. {0xCE, 0x6, 0x6, 0, 0},
  7900. {0xCF, 0, 0, 0, 0},
  7901. {0xD0, 0, 0, 0, 0},
  7902. {0xD1, 0x18, 0x18, 0, 0},
  7903. {0xD2, 0x88, 0x88, 0, 0},
  7904. {0xD3, 0, 0, 0, 0},
  7905. {0xD4, 0, 0, 0, 0},
  7906. {0xD5, 0, 0, 0, 0},
  7907. {0xD6, 0, 0, 0, 0},
  7908. {0xD7, 0, 0, 0, 0},
  7909. {0xD8, 0, 0, 0, 0},
  7910. {0xD9, 0, 0, 0, 0},
  7911. {0xDA, 0x6, 0x6, 0, 0},
  7912. {0xDB, 0, 0, 0, 0},
  7913. {0xDC, 0, 0, 0, 0},
  7914. {0xDD, 0x18, 0x18, 0, 0},
  7915. {0xDE, 0x88, 0x88, 0, 0},
  7916. {0xDF, 0, 0, 0, 0},
  7917. {0xE0, 0, 0, 0, 0},
  7918. {0xE1, 0, 0, 0, 0},
  7919. {0xE2, 0, 0, 0, 0},
  7920. {0xFFFF, 0, 0, 0, 0},
  7921. };
  7922. static struct radio_regs regs_SYN_2056[] = {
  7923. {0x02, 0, 0, 0, 0},
  7924. {0x03, 0, 0, 0, 0},
  7925. {0x04, 0, 0, 0, 0},
  7926. {0x05, 0, 0, 0, 0},
  7927. {0x06, 0, 0, 0, 0},
  7928. {0x07, 0, 0, 0, 0},
  7929. {0x08, 0, 0, 0, 0},
  7930. {0x09, 0x1, 0x1, 0, 0},
  7931. {0x0A, 0, 0, 0, 0},
  7932. {0x0B, 0, 0, 0, 0},
  7933. {0x0C, 0, 0, 0, 0},
  7934. {0x0D, 0, 0, 0, 0},
  7935. {0x0E, 0, 0, 0, 0},
  7936. {0x0F, 0, 0, 0, 0},
  7937. {0x10, 0, 0, 0, 0},
  7938. {0x11, 0, 0, 0, 0},
  7939. {0x12, 0, 0, 0, 0},
  7940. {0x13, 0, 0, 0, 0},
  7941. {0x14, 0, 0, 0, 0},
  7942. {0x15, 0, 0, 0, 0},
  7943. {0x16, 0, 0, 0, 0},
  7944. {0x17, 0, 0, 0, 0},
  7945. {0x18, 0, 0, 0, 0},
  7946. {0x19, 0, 0, 0, 0},
  7947. {0x1A, 0, 0, 0, 0},
  7948. {0x1B, 0, 0, 0, 0},
  7949. {0x1C, 0, 0, 0, 0},
  7950. {0x1D, 0, 0, 0, 0},
  7951. {0x1E, 0, 0, 0, 0},
  7952. {0x1F, 0, 0, 0, 0},
  7953. {0x20, 0, 0, 0, 0},
  7954. {0x21, 0, 0, 0, 0},
  7955. {0x22, 0x60, 0x60, 0, 0},
  7956. {0x23, 0x6, 0x6, 0, 0},
  7957. {0x24, 0xc, 0xc, 0, 0},
  7958. {0x25, 0, 0, 0, 0},
  7959. {0x26, 0, 0, 0, 0},
  7960. {0x27, 0, 0, 0, 0},
  7961. {0x28, 0x1, 0x1, 0, 0},
  7962. {0x29, 0, 0, 0, 0},
  7963. {0x2A, 0, 0, 0, 0},
  7964. {0x2B, 0, 0, 0, 0},
  7965. {0x2C, 0, 0, 0, 0},
  7966. {0x2D, 0, 0, 0, 0},
  7967. {0x2E, 0xd, 0xd, 0, 0},
  7968. {0x2F, 0x1f, 0x1f, 0, 0},
  7969. {0x30, 0x15, 0x15, 0, 0},
  7970. {0x31, 0xf, 0xf, 0, 0},
  7971. {0x32, 0, 0, 0, 0},
  7972. {0x33, 0, 0, 0, 0},
  7973. {0x34, 0, 0, 0, 0},
  7974. {0x35, 0, 0, 0, 0},
  7975. {0x36, 0, 0, 0, 0},
  7976. {0x37, 0, 0, 0, 0},
  7977. {0x38, 0, 0, 0, 0},
  7978. {0x39, 0, 0, 0, 0},
  7979. {0x3A, 0, 0, 0, 0},
  7980. {0x3B, 0, 0, 0, 0},
  7981. {0x3C, 0x13, 0x13, 0, 0},
  7982. {0x3D, 0xf, 0xf, 0, 0},
  7983. {0x3E, 0x18, 0x18, 0, 0},
  7984. {0x3F, 0, 0, 0, 0},
  7985. {0x40, 0, 0, 0, 0},
  7986. {0x41, 0x20, 0x20, 0, 0},
  7987. {0x42, 0x20, 0x20, 0, 0},
  7988. {0x43, 0, 0, 0, 0},
  7989. {0x44, 0x77, 0x77, 0, 0},
  7990. {0x45, 0x7, 0x7, 0, 0},
  7991. {0x46, 0x1, 0x1, 0, 0},
  7992. {0x47, 0x4, 0x4, 0, 0},
  7993. {0x48, 0xf, 0xf, 0, 0},
  7994. {0x49, 0x30, 0x30, 0, 0},
  7995. {0x4A, 0x32, 0x32, 0, 0},
  7996. {0x4B, 0xd, 0xd, 0, 0},
  7997. {0x4C, 0xd, 0xd, 0, 0},
  7998. {0x4D, 0x4, 0x4, 0, 0},
  7999. {0x4E, 0x6, 0x6, 0, 0},
  8000. {0x4F, 0x1, 0x1, 0, 0},
  8001. {0x50, 0x1c, 0x1c, 0, 0},
  8002. {0x51, 0x2, 0x2, 0, 0},
  8003. {0x52, 0x2, 0x2, 0, 0},
  8004. {0x53, 0xf7, 0xf7, 1, 1},
  8005. {0x54, 0xb4, 0xb4, 0, 0},
  8006. {0x55, 0xd2, 0xd2, 0, 0},
  8007. {0x56, 0, 0, 0, 0},
  8008. {0x57, 0, 0, 0, 0},
  8009. {0x58, 0x4, 0x4, 0, 0},
  8010. {0x59, 0x96, 0x96, 0, 0},
  8011. {0x5A, 0x3e, 0x3e, 0, 0},
  8012. {0x5B, 0x3e, 0x3e, 0, 0},
  8013. {0x5C, 0x13, 0x13, 0, 0},
  8014. {0x5D, 0x2, 0x2, 0, 0},
  8015. {0x5E, 0, 0, 0, 0},
  8016. {0x5F, 0x7, 0x7, 0, 0},
  8017. {0x60, 0x7, 0x7, 1, 1},
  8018. {0x61, 0x8, 0x8, 0, 0},
  8019. {0x62, 0x3, 0x3, 0, 0},
  8020. {0x63, 0, 0, 0, 0},
  8021. {0x64, 0, 0, 0, 0},
  8022. {0x65, 0, 0, 0, 0},
  8023. {0x66, 0, 0, 0, 0},
  8024. {0x67, 0, 0, 0, 0},
  8025. {0x68, 0x40, 0x40, 0, 0},
  8026. {0x69, 0, 0, 0, 0},
  8027. {0x6A, 0, 0, 0, 0},
  8028. {0x6B, 0, 0, 0, 0},
  8029. {0x6C, 0, 0, 0, 0},
  8030. {0x6D, 0x1, 0x1, 0, 0},
  8031. {0x6E, 0, 0, 0, 0},
  8032. {0x6F, 0, 0, 0, 0},
  8033. {0x70, 0x60, 0x60, 0, 0},
  8034. {0x71, 0x66, 0x66, 0, 0},
  8035. {0x72, 0xc, 0xc, 0, 0},
  8036. {0x73, 0x66, 0x66, 0, 0},
  8037. {0x74, 0x8f, 0x8f, 1, 1},
  8038. {0x75, 0, 0, 0, 0},
  8039. {0x76, 0xcc, 0xcc, 0, 0},
  8040. {0x77, 0x1, 0x1, 0, 0},
  8041. {0x78, 0x66, 0x66, 0, 0},
  8042. {0x79, 0x66, 0x66, 0, 0},
  8043. {0x7A, 0, 0, 0, 0},
  8044. {0x7B, 0, 0, 0, 0},
  8045. {0x7C, 0, 0, 0, 0},
  8046. {0x7D, 0, 0, 0, 0},
  8047. {0x7E, 0, 0, 0, 0},
  8048. {0x7F, 0, 0, 0, 0},
  8049. {0x80, 0, 0, 0, 0},
  8050. {0x81, 0, 0, 0, 0},
  8051. {0x82, 0, 0, 0, 0},
  8052. {0x83, 0, 0, 0, 0},
  8053. {0x84, 0, 0, 0, 0},
  8054. {0x85, 0xff, 0xff, 0, 0},
  8055. {0x86, 0, 0, 0, 0},
  8056. {0x87, 0, 0, 0, 0},
  8057. {0x88, 0, 0, 0, 0},
  8058. {0x89, 0, 0, 0, 0},
  8059. {0x8A, 0, 0, 0, 0},
  8060. {0x8B, 0, 0, 0, 0},
  8061. {0x8C, 0, 0, 0, 0},
  8062. {0x8D, 0, 0, 0, 0},
  8063. {0x8E, 0, 0, 0, 0},
  8064. {0x8F, 0, 0, 0, 0},
  8065. {0x90, 0, 0, 0, 0},
  8066. {0x91, 0, 0, 0, 0},
  8067. {0x92, 0, 0, 0, 0},
  8068. {0x93, 0, 0, 0, 0},
  8069. {0x94, 0, 0, 0, 0},
  8070. {0x95, 0, 0, 0, 0},
  8071. {0x96, 0, 0, 0, 0},
  8072. {0x97, 0, 0, 0, 0},
  8073. {0x98, 0, 0, 0, 0},
  8074. {0x99, 0, 0, 0, 0},
  8075. {0x9A, 0, 0, 0, 0},
  8076. {0x9B, 0, 0, 0, 0},
  8077. {0x9C, 0, 0, 0, 0},
  8078. {0x9D, 0, 0, 0, 0},
  8079. {0x9E, 0, 0, 0, 0},
  8080. {0x9F, 0x6, 0x6, 0, 0},
  8081. {0xA0, 0x66, 0x66, 0, 0},
  8082. {0xA1, 0x66, 0x66, 0, 0},
  8083. {0xA2, 0x66, 0x66, 0, 0},
  8084. {0xA3, 0x66, 0x66, 0, 0},
  8085. {0xA4, 0x66, 0x66, 0, 0},
  8086. {0xA5, 0x66, 0x66, 0, 0},
  8087. {0xA6, 0x66, 0x66, 0, 0},
  8088. {0xA7, 0x66, 0x66, 0, 0},
  8089. {0xA8, 0x66, 0x66, 0, 0},
  8090. {0xA9, 0x66, 0x66, 0, 0},
  8091. {0xAA, 0x66, 0x66, 0, 0},
  8092. {0xAB, 0x66, 0x66, 0, 0},
  8093. {0xAC, 0x66, 0x66, 0, 0},
  8094. {0xAD, 0x66, 0x66, 0, 0},
  8095. {0xAE, 0x66, 0x66, 0, 0},
  8096. {0xAF, 0x66, 0x66, 0, 0},
  8097. {0xB0, 0x66, 0x66, 0, 0},
  8098. {0xB1, 0x66, 0x66, 0, 0},
  8099. {0xB2, 0x66, 0x66, 0, 0},
  8100. {0xB3, 0xa, 0xa, 0, 0},
  8101. {0xB4, 0, 0, 0, 0},
  8102. {0xB5, 0, 0, 0, 0},
  8103. {0xB6, 0, 0, 0, 0},
  8104. {0xFFFF, 0, 0, 0, 0}
  8105. };
  8106. static struct radio_regs regs_TX_2056[] = {
  8107. {0x02, 0, 0, 0, 0},
  8108. {0x03, 0, 0, 0, 0},
  8109. {0x04, 0, 0, 0, 0},
  8110. {0x05, 0, 0, 0, 0},
  8111. {0x06, 0, 0, 0, 0},
  8112. {0x07, 0, 0, 0, 0},
  8113. {0x08, 0, 0, 0, 0},
  8114. {0x09, 0, 0, 0, 0},
  8115. {0x0A, 0, 0, 0, 0},
  8116. {0x0B, 0, 0, 0, 0},
  8117. {0x0C, 0, 0, 0, 0},
  8118. {0x0D, 0, 0, 0, 0},
  8119. {0x0E, 0, 0, 0, 0},
  8120. {0x0F, 0, 0, 0, 0},
  8121. {0x10, 0, 0, 0, 0},
  8122. {0x11, 0, 0, 0, 0},
  8123. {0x12, 0, 0, 0, 0},
  8124. {0x13, 0, 0, 0, 0},
  8125. {0x14, 0, 0, 0, 0},
  8126. {0x15, 0, 0, 0, 0},
  8127. {0x16, 0, 0, 0, 0},
  8128. {0x17, 0, 0, 0, 0},
  8129. {0x18, 0, 0, 0, 0},
  8130. {0x19, 0, 0, 0, 0},
  8131. {0x1A, 0, 0, 0, 0},
  8132. {0x1B, 0, 0, 0, 0},
  8133. {0x1C, 0, 0, 0, 0},
  8134. {0x1D, 0, 0, 0, 0},
  8135. {0x1E, 0, 0, 0, 0},
  8136. {0x1F, 0, 0, 0, 0},
  8137. {0x20, 0, 0, 0, 0},
  8138. {0x21, 0x88, 0x88, 0, 0},
  8139. {0x22, 0x88, 0x88, 0, 0},
  8140. {0x23, 0x88, 0x88, 0, 0},
  8141. {0x24, 0x88, 0x88, 0, 0},
  8142. {0x25, 0xc, 0xc, 0, 0},
  8143. {0x26, 0, 0, 0, 0},
  8144. {0x27, 0x3, 0x3, 0, 0},
  8145. {0x28, 0, 0, 0, 0},
  8146. {0x29, 0x3, 0x3, 0, 0},
  8147. {0x2A, 0x37, 0x37, 0, 0},
  8148. {0x2B, 0x3, 0x3, 0, 0},
  8149. {0x2C, 0, 0, 0, 0},
  8150. {0x2D, 0, 0, 0, 0},
  8151. {0x2E, 0x1, 0x1, 0, 0},
  8152. {0x2F, 0x1, 0x1, 0, 0},
  8153. {0x30, 0, 0, 0, 0},
  8154. {0x31, 0, 0, 0, 0},
  8155. {0x32, 0, 0, 0, 0},
  8156. {0x33, 0x11, 0x11, 0, 0},
  8157. {0x34, 0x11, 0x11, 0, 0},
  8158. {0x35, 0, 0, 0, 0},
  8159. {0x36, 0, 0, 0, 0},
  8160. {0x37, 0x3, 0x3, 0, 0},
  8161. {0x38, 0xf, 0xf, 0, 0},
  8162. {0x39, 0, 0, 0, 0},
  8163. {0x3A, 0x2d, 0x2d, 0, 0},
  8164. {0x3B, 0, 0, 0, 0},
  8165. {0x3C, 0x6e, 0x6e, 0, 0},
  8166. {0x3D, 0xf0, 0xf0, 1, 1},
  8167. {0x3E, 0, 0, 0, 0},
  8168. {0x3F, 0, 0, 0, 0},
  8169. {0x40, 0, 0, 0, 0},
  8170. {0x41, 0x3, 0x3, 0, 0},
  8171. {0x42, 0x3, 0x3, 0, 0},
  8172. {0x43, 0, 0, 0, 0},
  8173. {0x44, 0x1e, 0x1e, 0, 0},
  8174. {0x45, 0, 0, 0, 0},
  8175. {0x46, 0x6e, 0x6e, 0, 0},
  8176. {0x47, 0xf0, 0xf0, 1, 1},
  8177. {0x48, 0, 0, 0, 0},
  8178. {0x49, 0x2, 0x2, 0, 0},
  8179. {0x4A, 0xff, 0xff, 1, 1},
  8180. {0x4B, 0xc, 0xc, 0, 0},
  8181. {0x4C, 0, 0, 0, 0},
  8182. {0x4D, 0x38, 0x38, 0, 0},
  8183. {0x4E, 0x70, 0x70, 1, 1},
  8184. {0x4F, 0x2, 0x2, 0, 0},
  8185. {0x50, 0x88, 0x88, 0, 0},
  8186. {0x51, 0xc, 0xc, 0, 0},
  8187. {0x52, 0, 0, 0, 0},
  8188. {0x53, 0x8, 0x8, 0, 0},
  8189. {0x54, 0x70, 0x70, 1, 1},
  8190. {0x55, 0x2, 0x2, 0, 0},
  8191. {0x56, 0xff, 0xff, 1, 1},
  8192. {0x57, 0, 0, 0, 0},
  8193. {0x58, 0x83, 0x83, 0, 0},
  8194. {0x59, 0x77, 0x77, 1, 1},
  8195. {0x5A, 0, 0, 0, 0},
  8196. {0x5B, 0x2, 0x2, 0, 0},
  8197. {0x5C, 0x88, 0x88, 0, 0},
  8198. {0x5D, 0, 0, 0, 0},
  8199. {0x5E, 0x8, 0x8, 0, 0},
  8200. {0x5F, 0x77, 0x77, 1, 1},
  8201. {0x60, 0x1, 0x1, 0, 0},
  8202. {0x61, 0, 0, 0, 0},
  8203. {0x62, 0x7, 0x7, 0, 0},
  8204. {0x63, 0, 0, 0, 0},
  8205. {0x64, 0x7, 0x7, 0, 0},
  8206. {0x65, 0, 0, 0, 0},
  8207. {0x66, 0, 0, 0, 0},
  8208. {0x67, 0x74, 0x74, 1, 1},
  8209. {0x68, 0, 0, 0, 0},
  8210. {0x69, 0xa, 0xa, 0, 0},
  8211. {0x6A, 0, 0, 0, 0},
  8212. {0x6B, 0, 0, 0, 0},
  8213. {0x6C, 0, 0, 0, 0},
  8214. {0x6D, 0, 0, 0, 0},
  8215. {0x6E, 0, 0, 0, 0},
  8216. {0x6F, 0, 0, 0, 0},
  8217. {0x70, 0, 0, 0, 0},
  8218. {0x71, 0x2, 0x2, 0, 0},
  8219. {0x72, 0, 0, 0, 0},
  8220. {0x73, 0, 0, 0, 0},
  8221. {0x74, 0xe, 0xe, 0, 0},
  8222. {0x75, 0xe, 0xe, 0, 0},
  8223. {0x76, 0xe, 0xe, 0, 0},
  8224. {0x77, 0x13, 0x13, 0, 0},
  8225. {0x78, 0x13, 0x13, 0, 0},
  8226. {0x79, 0x1b, 0x1b, 0, 0},
  8227. {0x7A, 0x1b, 0x1b, 0, 0},
  8228. {0x7B, 0x55, 0x55, 0, 0},
  8229. {0x7C, 0x5b, 0x5b, 0, 0},
  8230. {0x7D, 0, 0, 0, 0},
  8231. {0x7E, 0, 0, 0, 0},
  8232. {0x7F, 0, 0, 0, 0},
  8233. {0x80, 0, 0, 0, 0},
  8234. {0x81, 0, 0, 0, 0},
  8235. {0x82, 0, 0, 0, 0},
  8236. {0x83, 0, 0, 0, 0},
  8237. {0x84, 0, 0, 0, 0},
  8238. {0x85, 0, 0, 0, 0},
  8239. {0x86, 0, 0, 0, 0},
  8240. {0x87, 0, 0, 0, 0},
  8241. {0x88, 0, 0, 0, 0},
  8242. {0x89, 0, 0, 0, 0},
  8243. {0x8A, 0, 0, 0, 0},
  8244. {0x8B, 0, 0, 0, 0},
  8245. {0x8C, 0, 0, 0, 0},
  8246. {0x8D, 0, 0, 0, 0},
  8247. {0x8E, 0, 0, 0, 0},
  8248. {0x8F, 0, 0, 0, 0},
  8249. {0x90, 0, 0, 0, 0},
  8250. {0x91, 0, 0, 0, 0},
  8251. {0x92, 0, 0, 0, 0},
  8252. {0xFFFF, 0, 0, 0, 0}
  8253. };
  8254. static struct radio_regs regs_RX_2056[] = {
  8255. {0x02, 0, 0, 0, 0},
  8256. {0x03, 0, 0, 0, 0},
  8257. {0x04, 0, 0, 0, 0},
  8258. {0x05, 0, 0, 0, 0},
  8259. {0x06, 0, 0, 0, 0},
  8260. {0x07, 0, 0, 0, 0},
  8261. {0x08, 0, 0, 0, 0},
  8262. {0x09, 0, 0, 0, 0},
  8263. {0x0A, 0, 0, 0, 0},
  8264. {0x0B, 0, 0, 0, 0},
  8265. {0x0C, 0, 0, 0, 0},
  8266. {0x0D, 0, 0, 0, 0},
  8267. {0x0E, 0, 0, 0, 0},
  8268. {0x0F, 0, 0, 0, 0},
  8269. {0x10, 0, 0, 0, 0},
  8270. {0x11, 0, 0, 0, 0},
  8271. {0x12, 0, 0, 0, 0},
  8272. {0x13, 0, 0, 0, 0},
  8273. {0x14, 0, 0, 0, 0},
  8274. {0x15, 0, 0, 0, 0},
  8275. {0x16, 0, 0, 0, 0},
  8276. {0x17, 0, 0, 0, 0},
  8277. {0x18, 0, 0, 0, 0},
  8278. {0x19, 0, 0, 0, 0},
  8279. {0x1A, 0, 0, 0, 0},
  8280. {0x1B, 0, 0, 0, 0},
  8281. {0x1C, 0, 0, 0, 0},
  8282. {0x1D, 0, 0, 0, 0},
  8283. {0x1E, 0, 0, 0, 0},
  8284. {0x1F, 0, 0, 0, 0},
  8285. {0x20, 0x3, 0x3, 0, 0},
  8286. {0x21, 0, 0, 0, 0},
  8287. {0x22, 0, 0, 0, 0},
  8288. {0x23, 0x90, 0x90, 0, 0},
  8289. {0x24, 0x55, 0x55, 0, 0},
  8290. {0x25, 0x15, 0x15, 0, 0},
  8291. {0x26, 0x5, 0x5, 0, 0},
  8292. {0x27, 0x15, 0x15, 0, 0},
  8293. {0x28, 0x5, 0x5, 0, 0},
  8294. {0x29, 0x20, 0x20, 0, 0},
  8295. {0x2A, 0x11, 0x11, 0, 0},
  8296. {0x2B, 0x90, 0x90, 0, 0},
  8297. {0x2C, 0, 0, 0, 0},
  8298. {0x2D, 0x88, 0x88, 0, 0},
  8299. {0x2E, 0x32, 0x32, 0, 0},
  8300. {0x2F, 0x77, 0x77, 0, 0},
  8301. {0x30, 0x17, 0x17, 1, 1},
  8302. {0x31, 0xff, 0xff, 1, 1},
  8303. {0x32, 0x20, 0x20, 0, 0},
  8304. {0x33, 0, 0, 0, 0},
  8305. {0x34, 0x88, 0x88, 0, 0},
  8306. {0x35, 0x32, 0x32, 0, 0},
  8307. {0x36, 0x77, 0x77, 0, 0},
  8308. {0x37, 0x17, 0x17, 1, 1},
  8309. {0x38, 0xf0, 0xf0, 1, 1},
  8310. {0x39, 0x20, 0x20, 0, 0},
  8311. {0x3A, 0x8, 0x8, 0, 0},
  8312. {0x3B, 0x99, 0x99, 0, 0},
  8313. {0x3C, 0, 0, 0, 0},
  8314. {0x3D, 0x44, 0x44, 1, 1},
  8315. {0x3E, 0, 0, 0, 0},
  8316. {0x3F, 0x44, 0x44, 0, 0},
  8317. {0x40, 0xf, 0xf, 1, 1},
  8318. {0x41, 0x6, 0x6, 0, 0},
  8319. {0x42, 0x4, 0x4, 0, 0},
  8320. {0x43, 0x50, 0x50, 1, 1},
  8321. {0x44, 0x8, 0x8, 0, 0},
  8322. {0x45, 0x99, 0x99, 0, 0},
  8323. {0x46, 0, 0, 0, 0},
  8324. {0x47, 0x11, 0x11, 0, 0},
  8325. {0x48, 0, 0, 0, 0},
  8326. {0x49, 0x44, 0x44, 0, 0},
  8327. {0x4A, 0x7, 0x7, 0, 0},
  8328. {0x4B, 0x6, 0x6, 0, 0},
  8329. {0x4C, 0x4, 0x4, 0, 0},
  8330. {0x4D, 0, 0, 0, 0},
  8331. {0x4E, 0, 0, 0, 0},
  8332. {0x4F, 0x66, 0x66, 0, 0},
  8333. {0x50, 0x66, 0x66, 0, 0},
  8334. {0x51, 0x57, 0x57, 0, 0},
  8335. {0x52, 0x57, 0x57, 0, 0},
  8336. {0x53, 0x44, 0x44, 0, 0},
  8337. {0x54, 0, 0, 0, 0},
  8338. {0x55, 0, 0, 0, 0},
  8339. {0x56, 0x8, 0x8, 0, 0},
  8340. {0x57, 0x8, 0x8, 0, 0},
  8341. {0x58, 0x7, 0x7, 0, 0},
  8342. {0x59, 0x22, 0x22, 0, 0},
  8343. {0x5A, 0x22, 0x22, 0, 0},
  8344. {0x5B, 0x2, 0x2, 0, 0},
  8345. {0x5C, 0x23, 0x23, 0, 0},
  8346. {0x5D, 0x7, 0x7, 0, 0},
  8347. {0x5E, 0x55, 0x55, 0, 0},
  8348. {0x5F, 0x23, 0x23, 0, 0},
  8349. {0x60, 0x41, 0x41, 0, 0},
  8350. {0x61, 0x1, 0x1, 0, 0},
  8351. {0x62, 0xa, 0xa, 0, 0},
  8352. {0x63, 0, 0, 0, 0},
  8353. {0x64, 0, 0, 0, 0},
  8354. {0x65, 0, 0, 0, 0},
  8355. {0x66, 0, 0, 0, 0},
  8356. {0x67, 0, 0, 0, 0},
  8357. {0x68, 0, 0, 0, 0},
  8358. {0x69, 0, 0, 0, 0},
  8359. {0x6A, 0, 0, 0, 0},
  8360. {0x6B, 0xc, 0xc, 0, 0},
  8361. {0x6C, 0, 0, 0, 0},
  8362. {0x6D, 0, 0, 0, 0},
  8363. {0x6E, 0, 0, 0, 0},
  8364. {0x6F, 0, 0, 0, 0},
  8365. {0x70, 0, 0, 0, 0},
  8366. {0x71, 0, 0, 0, 0},
  8367. {0x72, 0x22, 0x22, 0, 0},
  8368. {0x73, 0x22, 0x22, 0, 0},
  8369. {0x74, 0x2, 0x2, 0, 0},
  8370. {0x75, 0xa, 0xa, 0, 0},
  8371. {0x76, 0x1, 0x1, 0, 0},
  8372. {0x77, 0x22, 0x22, 0, 0},
  8373. {0x78, 0x30, 0x30, 0, 0},
  8374. {0x79, 0, 0, 0, 0},
  8375. {0x7A, 0, 0, 0, 0},
  8376. {0x7B, 0, 0, 0, 0},
  8377. {0x7C, 0, 0, 0, 0},
  8378. {0x7D, 0, 0, 0, 0},
  8379. {0x7E, 0, 0, 0, 0},
  8380. {0x7F, 0, 0, 0, 0},
  8381. {0x80, 0, 0, 0, 0},
  8382. {0x81, 0, 0, 0, 0},
  8383. {0x82, 0, 0, 0, 0},
  8384. {0x83, 0, 0, 0, 0},
  8385. {0x84, 0, 0, 0, 0},
  8386. {0x85, 0, 0, 0, 0},
  8387. {0x86, 0, 0, 0, 0},
  8388. {0x87, 0, 0, 0, 0},
  8389. {0x88, 0, 0, 0, 0},
  8390. {0x89, 0, 0, 0, 0},
  8391. {0x8A, 0, 0, 0, 0},
  8392. {0x8B, 0, 0, 0, 0},
  8393. {0x8C, 0, 0, 0, 0},
  8394. {0x8D, 0, 0, 0, 0},
  8395. {0x8E, 0, 0, 0, 0},
  8396. {0x8F, 0, 0, 0, 0},
  8397. {0x90, 0, 0, 0, 0},
  8398. {0x91, 0, 0, 0, 0},
  8399. {0x92, 0, 0, 0, 0},
  8400. {0x93, 0, 0, 0, 0},
  8401. {0x94, 0, 0, 0, 0},
  8402. {0xFFFF, 0, 0, 0, 0}
  8403. };
  8404. static struct radio_regs regs_SYN_2056_A1[] = {
  8405. {0x02, 0, 0, 0, 0},
  8406. {0x03, 0, 0, 0, 0},
  8407. {0x04, 0, 0, 0, 0},
  8408. {0x05, 0, 0, 0, 0},
  8409. {0x06, 0, 0, 0, 0},
  8410. {0x07, 0, 0, 0, 0},
  8411. {0x08, 0, 0, 0, 0},
  8412. {0x09, 0x1, 0x1, 0, 0},
  8413. {0x0A, 0, 0, 0, 0},
  8414. {0x0B, 0, 0, 0, 0},
  8415. {0x0C, 0, 0, 0, 0},
  8416. {0x0D, 0, 0, 0, 0},
  8417. {0x0E, 0, 0, 0, 0},
  8418. {0x0F, 0, 0, 0, 0},
  8419. {0x10, 0, 0, 0, 0},
  8420. {0x11, 0, 0, 0, 0},
  8421. {0x12, 0, 0, 0, 0},
  8422. {0x13, 0, 0, 0, 0},
  8423. {0x14, 0, 0, 0, 0},
  8424. {0x15, 0, 0, 0, 0},
  8425. {0x16, 0, 0, 0, 0},
  8426. {0x17, 0, 0, 0, 0},
  8427. {0x18, 0, 0, 0, 0},
  8428. {0x19, 0, 0, 0, 0},
  8429. {0x1A, 0, 0, 0, 0},
  8430. {0x1B, 0, 0, 0, 0},
  8431. {0x1C, 0, 0, 0, 0},
  8432. {0x1D, 0, 0, 0, 0},
  8433. {0x1E, 0, 0, 0, 0},
  8434. {0x1F, 0, 0, 0, 0},
  8435. {0x20, 0, 0, 0, 0},
  8436. {0x21, 0, 0, 0, 0},
  8437. {0x22, 0x60, 0x60, 0, 0},
  8438. {0x23, 0x6, 0x6, 0, 0},
  8439. {0x24, 0xc, 0xc, 0, 0},
  8440. {0x25, 0, 0, 0, 0},
  8441. {0x26, 0, 0, 0, 0},
  8442. {0x27, 0, 0, 0, 0},
  8443. {0x28, 0x1, 0x1, 0, 0},
  8444. {0x29, 0, 0, 0, 0},
  8445. {0x2A, 0, 0, 0, 0},
  8446. {0x2B, 0, 0, 0, 0},
  8447. {0x2C, 0, 0, 0, 0},
  8448. {0x2D, 0, 0, 0, 0},
  8449. {0x2E, 0xd, 0xd, 0, 0},
  8450. {0x2F, 0x1f, 0x1f, 0, 0},
  8451. {0x30, 0x15, 0x15, 0, 0},
  8452. {0x31, 0xf, 0xf, 0, 0},
  8453. {0x32, 0, 0, 0, 0},
  8454. {0x33, 0, 0, 0, 0},
  8455. {0x34, 0, 0, 0, 0},
  8456. {0x35, 0, 0, 0, 0},
  8457. {0x36, 0, 0, 0, 0},
  8458. {0x37, 0, 0, 0, 0},
  8459. {0x38, 0, 0, 0, 0},
  8460. {0x39, 0, 0, 0, 0},
  8461. {0x3A, 0, 0, 0, 0},
  8462. {0x3B, 0, 0, 0, 0},
  8463. {0x3C, 0x13, 0x13, 0, 0},
  8464. {0x3D, 0xf, 0xf, 0, 0},
  8465. {0x3E, 0x18, 0x18, 0, 0},
  8466. {0x3F, 0, 0, 0, 0},
  8467. {0x40, 0, 0, 0, 0},
  8468. {0x41, 0x20, 0x20, 0, 0},
  8469. {0x42, 0x20, 0x20, 0, 0},
  8470. {0x43, 0, 0, 0, 0},
  8471. {0x44, 0x77, 0x77, 0, 0},
  8472. {0x45, 0x7, 0x7, 0, 0},
  8473. {0x46, 0x1, 0x1, 0, 0},
  8474. {0x47, 0x4, 0x4, 0, 0},
  8475. {0x48, 0xf, 0xf, 0, 0},
  8476. {0x49, 0x30, 0x30, 0, 0},
  8477. {0x4A, 0x32, 0x32, 0, 0},
  8478. {0x4B, 0xd, 0xd, 0, 0},
  8479. {0x4C, 0xd, 0xd, 0, 0},
  8480. {0x4D, 0x4, 0x4, 0, 0},
  8481. {0x4E, 0x6, 0x6, 0, 0},
  8482. {0x4F, 0x1, 0x1, 0, 0},
  8483. {0x50, 0x1c, 0x1c, 0, 0},
  8484. {0x51, 0x2, 0x2, 0, 0},
  8485. {0x52, 0x2, 0x2, 0, 0},
  8486. {0x53, 0xf7, 0xf7, 1, 1},
  8487. {0x54, 0xb4, 0xb4, 0, 0},
  8488. {0x55, 0xd2, 0xd2, 0, 0},
  8489. {0x56, 0, 0, 0, 0},
  8490. {0x57, 0, 0, 0, 0},
  8491. {0x58, 0x4, 0x4, 0, 0},
  8492. {0x59, 0x96, 0x96, 0, 0},
  8493. {0x5A, 0x3e, 0x3e, 0, 0},
  8494. {0x5B, 0x3e, 0x3e, 0, 0},
  8495. {0x5C, 0x13, 0x13, 0, 0},
  8496. {0x5D, 0x2, 0x2, 0, 0},
  8497. {0x5E, 0, 0, 0, 0},
  8498. {0x5F, 0x7, 0x7, 0, 0},
  8499. {0x60, 0x7, 0x7, 1, 1},
  8500. {0x61, 0x8, 0x8, 0, 0},
  8501. {0x62, 0x3, 0x3, 0, 0},
  8502. {0x63, 0, 0, 0, 0},
  8503. {0x64, 0, 0, 0, 0},
  8504. {0x65, 0, 0, 0, 0},
  8505. {0x66, 0, 0, 0, 0},
  8506. {0x67, 0, 0, 0, 0},
  8507. {0x68, 0x40, 0x40, 0, 0},
  8508. {0x69, 0, 0, 0, 0},
  8509. {0x6A, 0, 0, 0, 0},
  8510. {0x6B, 0, 0, 0, 0},
  8511. {0x6C, 0, 0, 0, 0},
  8512. {0x6D, 0x1, 0x1, 0, 0},
  8513. {0x6E, 0, 0, 0, 0},
  8514. {0x6F, 0, 0, 0, 0},
  8515. {0x70, 0x60, 0x60, 0, 0},
  8516. {0x71, 0x66, 0x66, 0, 0},
  8517. {0x72, 0xc, 0xc, 0, 0},
  8518. {0x73, 0x66, 0x66, 0, 0},
  8519. {0x74, 0x8f, 0x8f, 1, 1},
  8520. {0x75, 0, 0, 0, 0},
  8521. {0x76, 0xcc, 0xcc, 0, 0},
  8522. {0x77, 0x1, 0x1, 0, 0},
  8523. {0x78, 0x66, 0x66, 0, 0},
  8524. {0x79, 0x66, 0x66, 0, 0},
  8525. {0x7A, 0, 0, 0, 0},
  8526. {0x7B, 0, 0, 0, 0},
  8527. {0x7C, 0, 0, 0, 0},
  8528. {0x7D, 0, 0, 0, 0},
  8529. {0x7E, 0, 0, 0, 0},
  8530. {0x7F, 0, 0, 0, 0},
  8531. {0x80, 0, 0, 0, 0},
  8532. {0x81, 0, 0, 0, 0},
  8533. {0x82, 0, 0, 0, 0},
  8534. {0x83, 0, 0, 0, 0},
  8535. {0x84, 0, 0, 0, 0},
  8536. {0x85, 0xff, 0xff, 0, 0},
  8537. {0x86, 0, 0, 0, 0},
  8538. {0x87, 0, 0, 0, 0},
  8539. {0x88, 0, 0, 0, 0},
  8540. {0x89, 0, 0, 0, 0},
  8541. {0x8A, 0, 0, 0, 0},
  8542. {0x8B, 0, 0, 0, 0},
  8543. {0x8C, 0, 0, 0, 0},
  8544. {0x8D, 0, 0, 0, 0},
  8545. {0x8E, 0, 0, 0, 0},
  8546. {0x8F, 0, 0, 0, 0},
  8547. {0x90, 0, 0, 0, 0},
  8548. {0x91, 0, 0, 0, 0},
  8549. {0x92, 0, 0, 0, 0},
  8550. {0x93, 0, 0, 0, 0},
  8551. {0x94, 0, 0, 0, 0},
  8552. {0x95, 0, 0, 0, 0},
  8553. {0x96, 0, 0, 0, 0},
  8554. {0x97, 0, 0, 0, 0},
  8555. {0x98, 0, 0, 0, 0},
  8556. {0x99, 0, 0, 0, 0},
  8557. {0x9A, 0, 0, 0, 0},
  8558. {0x9B, 0, 0, 0, 0},
  8559. {0x9C, 0, 0, 0, 0},
  8560. {0x9D, 0, 0, 0, 0},
  8561. {0x9E, 0, 0, 0, 0},
  8562. {0x9F, 0x6, 0x6, 0, 0},
  8563. {0xA0, 0x66, 0x66, 0, 0},
  8564. {0xA1, 0x66, 0x66, 0, 0},
  8565. {0xA2, 0x66, 0x66, 0, 0},
  8566. {0xA3, 0x66, 0x66, 0, 0},
  8567. {0xA4, 0x66, 0x66, 0, 0},
  8568. {0xA5, 0x66, 0x66, 0, 0},
  8569. {0xA6, 0x66, 0x66, 0, 0},
  8570. {0xA7, 0x66, 0x66, 0, 0},
  8571. {0xA8, 0x66, 0x66, 0, 0},
  8572. {0xA9, 0x66, 0x66, 0, 0},
  8573. {0xAA, 0x66, 0x66, 0, 0},
  8574. {0xAB, 0x66, 0x66, 0, 0},
  8575. {0xAC, 0x66, 0x66, 0, 0},
  8576. {0xAD, 0x66, 0x66, 0, 0},
  8577. {0xAE, 0x66, 0x66, 0, 0},
  8578. {0xAF, 0x66, 0x66, 0, 0},
  8579. {0xB0, 0x66, 0x66, 0, 0},
  8580. {0xB1, 0x66, 0x66, 0, 0},
  8581. {0xB2, 0x66, 0x66, 0, 0},
  8582. {0xB3, 0xa, 0xa, 0, 0},
  8583. {0xB4, 0, 0, 0, 0},
  8584. {0xB5, 0, 0, 0, 0},
  8585. {0xB6, 0, 0, 0, 0},
  8586. {0xFFFF, 0, 0, 0, 0}
  8587. };
  8588. static struct radio_regs regs_TX_2056_A1[] = {
  8589. {0x02, 0, 0, 0, 0},
  8590. {0x03, 0, 0, 0, 0},
  8591. {0x04, 0, 0, 0, 0},
  8592. {0x05, 0, 0, 0, 0},
  8593. {0x06, 0, 0, 0, 0},
  8594. {0x07, 0, 0, 0, 0},
  8595. {0x08, 0, 0, 0, 0},
  8596. {0x09, 0, 0, 0, 0},
  8597. {0x0A, 0, 0, 0, 0},
  8598. {0x0B, 0, 0, 0, 0},
  8599. {0x0C, 0, 0, 0, 0},
  8600. {0x0D, 0, 0, 0, 0},
  8601. {0x0E, 0, 0, 0, 0},
  8602. {0x0F, 0, 0, 0, 0},
  8603. {0x10, 0, 0, 0, 0},
  8604. {0x11, 0, 0, 0, 0},
  8605. {0x12, 0, 0, 0, 0},
  8606. {0x13, 0, 0, 0, 0},
  8607. {0x14, 0, 0, 0, 0},
  8608. {0x15, 0, 0, 0, 0},
  8609. {0x16, 0, 0, 0, 0},
  8610. {0x17, 0, 0, 0, 0},
  8611. {0x18, 0, 0, 0, 0},
  8612. {0x19, 0, 0, 0, 0},
  8613. {0x1A, 0, 0, 0, 0},
  8614. {0x1B, 0, 0, 0, 0},
  8615. {0x1C, 0, 0, 0, 0},
  8616. {0x1D, 0, 0, 0, 0},
  8617. {0x1E, 0, 0, 0, 0},
  8618. {0x1F, 0, 0, 0, 0},
  8619. {0x20, 0, 0, 0, 0},
  8620. {0x21, 0x88, 0x88, 0, 0},
  8621. {0x22, 0x88, 0x88, 0, 0},
  8622. {0x23, 0x88, 0x88, 0, 0},
  8623. {0x24, 0x88, 0x88, 0, 0},
  8624. {0x25, 0xc, 0xc, 0, 0},
  8625. {0x26, 0, 0, 0, 0},
  8626. {0x27, 0x3, 0x3, 0, 0},
  8627. {0x28, 0, 0, 0, 0},
  8628. {0x29, 0x3, 0x3, 0, 0},
  8629. {0x2A, 0x37, 0x37, 0, 0},
  8630. {0x2B, 0x3, 0x3, 0, 0},
  8631. {0x2C, 0, 0, 0, 0},
  8632. {0x2D, 0, 0, 0, 0},
  8633. {0x2E, 0x1, 0x1, 0, 0},
  8634. {0x2F, 0x1, 0x1, 0, 0},
  8635. {0x30, 0, 0, 0, 0},
  8636. {0x31, 0, 0, 0, 0},
  8637. {0x32, 0, 0, 0, 0},
  8638. {0x33, 0x11, 0x11, 0, 0},
  8639. {0x34, 0x11, 0x11, 0, 0},
  8640. {0x35, 0, 0, 0, 0},
  8641. {0x36, 0, 0, 0, 0},
  8642. {0x37, 0x3, 0x3, 0, 0},
  8643. {0x38, 0xf, 0xf, 0, 0},
  8644. {0x39, 0, 0, 0, 0},
  8645. {0x3A, 0x2d, 0x2d, 0, 0},
  8646. {0x3B, 0, 0, 0, 0},
  8647. {0x3C, 0x6e, 0x6e, 0, 0},
  8648. {0x3D, 0xf0, 0xf0, 1, 1},
  8649. {0x3E, 0, 0, 0, 0},
  8650. {0x3F, 0, 0, 0, 0},
  8651. {0x40, 0, 0, 0, 0},
  8652. {0x41, 0x3, 0x3, 0, 0},
  8653. {0x42, 0x3, 0x3, 0, 0},
  8654. {0x43, 0, 0, 0, 0},
  8655. {0x44, 0x1e, 0x1e, 0, 0},
  8656. {0x45, 0, 0, 0, 0},
  8657. {0x46, 0x6e, 0x6e, 0, 0},
  8658. {0x47, 0xf0, 0xf0, 1, 1},
  8659. {0x48, 0, 0, 0, 0},
  8660. {0x49, 0x2, 0x2, 0, 0},
  8661. {0x4A, 0xff, 0xff, 1, 1},
  8662. {0x4B, 0xc, 0xc, 0, 0},
  8663. {0x4C, 0, 0, 0, 0},
  8664. {0x4D, 0x38, 0x38, 0, 0},
  8665. {0x4E, 0x70, 0x70, 1, 1},
  8666. {0x4F, 0x2, 0x2, 0, 0},
  8667. {0x50, 0x88, 0x88, 0, 0},
  8668. {0x51, 0xc, 0xc, 0, 0},
  8669. {0x52, 0, 0, 0, 0},
  8670. {0x53, 0x8, 0x8, 0, 0},
  8671. {0x54, 0x70, 0x70, 1, 1},
  8672. {0x55, 0x2, 0x2, 0, 0},
  8673. {0x56, 0xff, 0xff, 1, 1},
  8674. {0x57, 0, 0, 0, 0},
  8675. {0x58, 0x83, 0x83, 0, 0},
  8676. {0x59, 0x77, 0x77, 1, 1},
  8677. {0x5A, 0, 0, 0, 0},
  8678. {0x5B, 0x2, 0x2, 0, 0},
  8679. {0x5C, 0x88, 0x88, 0, 0},
  8680. {0x5D, 0, 0, 0, 0},
  8681. {0x5E, 0x8, 0x8, 0, 0},
  8682. {0x5F, 0x77, 0x77, 1, 1},
  8683. {0x60, 0x1, 0x1, 0, 0},
  8684. {0x61, 0, 0, 0, 0},
  8685. {0x62, 0x7, 0x7, 0, 0},
  8686. {0x63, 0, 0, 0, 0},
  8687. {0x64, 0x7, 0x7, 0, 0},
  8688. {0x65, 0, 0, 0, 0},
  8689. {0x66, 0, 0, 0, 0},
  8690. {0x67, 0x72, 0x72, 1, 1},
  8691. {0x68, 0, 0, 0, 0},
  8692. {0x69, 0xa, 0xa, 0, 0},
  8693. {0x6A, 0, 0, 0, 0},
  8694. {0x6B, 0, 0, 0, 0},
  8695. {0x6C, 0, 0, 0, 0},
  8696. {0x6D, 0, 0, 0, 0},
  8697. {0x6E, 0, 0, 0, 0},
  8698. {0x6F, 0, 0, 0, 0},
  8699. {0x70, 0, 0, 0, 0},
  8700. {0x71, 0x2, 0x2, 0, 0},
  8701. {0x72, 0, 0, 0, 0},
  8702. {0x73, 0, 0, 0, 0},
  8703. {0x74, 0xe, 0xe, 0, 0},
  8704. {0x75, 0xe, 0xe, 0, 0},
  8705. {0x76, 0xe, 0xe, 0, 0},
  8706. {0x77, 0x13, 0x13, 0, 0},
  8707. {0x78, 0x13, 0x13, 0, 0},
  8708. {0x79, 0x1b, 0x1b, 0, 0},
  8709. {0x7A, 0x1b, 0x1b, 0, 0},
  8710. {0x7B, 0x55, 0x55, 0, 0},
  8711. {0x7C, 0x5b, 0x5b, 0, 0},
  8712. {0x7D, 0, 0, 0, 0},
  8713. {0x7E, 0, 0, 0, 0},
  8714. {0x7F, 0, 0, 0, 0},
  8715. {0x80, 0, 0, 0, 0},
  8716. {0x81, 0, 0, 0, 0},
  8717. {0x82, 0, 0, 0, 0},
  8718. {0x83, 0, 0, 0, 0},
  8719. {0x84, 0, 0, 0, 0},
  8720. {0x85, 0, 0, 0, 0},
  8721. {0x86, 0, 0, 0, 0},
  8722. {0x87, 0, 0, 0, 0},
  8723. {0x88, 0, 0, 0, 0},
  8724. {0x89, 0, 0, 0, 0},
  8725. {0x8A, 0, 0, 0, 0},
  8726. {0x8B, 0, 0, 0, 0},
  8727. {0x8C, 0, 0, 0, 0},
  8728. {0x8D, 0, 0, 0, 0},
  8729. {0x8E, 0, 0, 0, 0},
  8730. {0x8F, 0, 0, 0, 0},
  8731. {0x90, 0, 0, 0, 0},
  8732. {0x91, 0, 0, 0, 0},
  8733. {0x92, 0, 0, 0, 0},
  8734. {0xFFFF, 0, 0, 0, 0}
  8735. };
  8736. static struct radio_regs regs_RX_2056_A1[] = {
  8737. {0x02, 0, 0, 0, 0},
  8738. {0x03, 0, 0, 0, 0},
  8739. {0x04, 0, 0, 0, 0},
  8740. {0x05, 0, 0, 0, 0},
  8741. {0x06, 0, 0, 0, 0},
  8742. {0x07, 0, 0, 0, 0},
  8743. {0x08, 0, 0, 0, 0},
  8744. {0x09, 0, 0, 0, 0},
  8745. {0x0A, 0, 0, 0, 0},
  8746. {0x0B, 0, 0, 0, 0},
  8747. {0x0C, 0, 0, 0, 0},
  8748. {0x0D, 0, 0, 0, 0},
  8749. {0x0E, 0, 0, 0, 0},
  8750. {0x0F, 0, 0, 0, 0},
  8751. {0x10, 0, 0, 0, 0},
  8752. {0x11, 0, 0, 0, 0},
  8753. {0x12, 0, 0, 0, 0},
  8754. {0x13, 0, 0, 0, 0},
  8755. {0x14, 0, 0, 0, 0},
  8756. {0x15, 0, 0, 0, 0},
  8757. {0x16, 0, 0, 0, 0},
  8758. {0x17, 0, 0, 0, 0},
  8759. {0x18, 0, 0, 0, 0},
  8760. {0x19, 0, 0, 0, 0},
  8761. {0x1A, 0, 0, 0, 0},
  8762. {0x1B, 0, 0, 0, 0},
  8763. {0x1C, 0, 0, 0, 0},
  8764. {0x1D, 0, 0, 0, 0},
  8765. {0x1E, 0, 0, 0, 0},
  8766. {0x1F, 0, 0, 0, 0},
  8767. {0x20, 0x3, 0x3, 0, 0},
  8768. {0x21, 0, 0, 0, 0},
  8769. {0x22, 0, 0, 0, 0},
  8770. {0x23, 0x90, 0x90, 0, 0},
  8771. {0x24, 0x55, 0x55, 0, 0},
  8772. {0x25, 0x15, 0x15, 0, 0},
  8773. {0x26, 0x5, 0x5, 0, 0},
  8774. {0x27, 0x15, 0x15, 0, 0},
  8775. {0x28, 0x5, 0x5, 0, 0},
  8776. {0x29, 0x20, 0x20, 0, 0},
  8777. {0x2A, 0x11, 0x11, 0, 0},
  8778. {0x2B, 0x90, 0x90, 0, 0},
  8779. {0x2C, 0, 0, 0, 0},
  8780. {0x2D, 0x88, 0x88, 0, 0},
  8781. {0x2E, 0x32, 0x32, 0, 0},
  8782. {0x2F, 0x77, 0x77, 0, 0},
  8783. {0x30, 0x17, 0x17, 1, 1},
  8784. {0x31, 0xff, 0xff, 1, 1},
  8785. {0x32, 0x20, 0x20, 0, 0},
  8786. {0x33, 0, 0, 0, 0},
  8787. {0x34, 0x88, 0x88, 0, 0},
  8788. {0x35, 0x32, 0x32, 0, 0},
  8789. {0x36, 0x77, 0x77, 0, 0},
  8790. {0x37, 0x17, 0x17, 1, 1},
  8791. {0x38, 0xf0, 0xf0, 1, 1},
  8792. {0x39, 0x20, 0x20, 0, 0},
  8793. {0x3A, 0x8, 0x8, 0, 0},
  8794. {0x3B, 0x55, 0x55, 1, 1},
  8795. {0x3C, 0, 0, 0, 0},
  8796. {0x3D, 0x44, 0x44, 1, 1},
  8797. {0x3E, 0, 0, 0, 0},
  8798. {0x3F, 0x44, 0x44, 0, 0},
  8799. {0x40, 0xf, 0xf, 1, 1},
  8800. {0x41, 0x6, 0x6, 0, 0},
  8801. {0x42, 0x4, 0x4, 0, 0},
  8802. {0x43, 0x50, 0x50, 1, 1},
  8803. {0x44, 0x8, 0x8, 0, 0},
  8804. {0x45, 0x55, 0x55, 1, 1},
  8805. {0x46, 0, 0, 0, 0},
  8806. {0x47, 0x11, 0x11, 0, 0},
  8807. {0x48, 0, 0, 0, 0},
  8808. {0x49, 0x44, 0x44, 0, 0},
  8809. {0x4A, 0x7, 0x7, 0, 0},
  8810. {0x4B, 0x6, 0x6, 0, 0},
  8811. {0x4C, 0x4, 0x4, 0, 0},
  8812. {0x4D, 0, 0, 0, 0},
  8813. {0x4E, 0, 0, 0, 0},
  8814. {0x4F, 0x26, 0x26, 1, 1},
  8815. {0x50, 0x26, 0x26, 1, 1},
  8816. {0x51, 0xf, 0xf, 1, 1},
  8817. {0x52, 0xf, 0xf, 1, 1},
  8818. {0x53, 0x44, 0x44, 0, 0},
  8819. {0x54, 0, 0, 0, 0},
  8820. {0x55, 0, 0, 0, 0},
  8821. {0x56, 0x8, 0x8, 0, 0},
  8822. {0x57, 0x8, 0x8, 0, 0},
  8823. {0x58, 0x7, 0x7, 0, 0},
  8824. {0x59, 0x22, 0x22, 0, 0},
  8825. {0x5A, 0x22, 0x22, 0, 0},
  8826. {0x5B, 0x2, 0x2, 0, 0},
  8827. {0x5C, 0x2f, 0x2f, 1, 1},
  8828. {0x5D, 0x7, 0x7, 0, 0},
  8829. {0x5E, 0x55, 0x55, 0, 0},
  8830. {0x5F, 0x23, 0x23, 0, 0},
  8831. {0x60, 0x41, 0x41, 0, 0},
  8832. {0x61, 0x1, 0x1, 0, 0},
  8833. {0x62, 0xa, 0xa, 0, 0},
  8834. {0x63, 0, 0, 0, 0},
  8835. {0x64, 0, 0, 0, 0},
  8836. {0x65, 0, 0, 0, 0},
  8837. {0x66, 0, 0, 0, 0},
  8838. {0x67, 0, 0, 0, 0},
  8839. {0x68, 0, 0, 0, 0},
  8840. {0x69, 0, 0, 0, 0},
  8841. {0x6A, 0, 0, 0, 0},
  8842. {0x6B, 0xc, 0xc, 0, 0},
  8843. {0x6C, 0, 0, 0, 0},
  8844. {0x6D, 0, 0, 0, 0},
  8845. {0x6E, 0, 0, 0, 0},
  8846. {0x6F, 0, 0, 0, 0},
  8847. {0x70, 0, 0, 0, 0},
  8848. {0x71, 0, 0, 0, 0},
  8849. {0x72, 0x22, 0x22, 0, 0},
  8850. {0x73, 0x22, 0x22, 0, 0},
  8851. {0x74, 0, 0, 1, 1},
  8852. {0x75, 0xa, 0xa, 0, 0},
  8853. {0x76, 0x1, 0x1, 0, 0},
  8854. {0x77, 0x22, 0x22, 0, 0},
  8855. {0x78, 0x30, 0x30, 0, 0},
  8856. {0x79, 0, 0, 0, 0},
  8857. {0x7A, 0, 0, 0, 0},
  8858. {0x7B, 0, 0, 0, 0},
  8859. {0x7C, 0, 0, 0, 0},
  8860. {0x7D, 0, 0, 0, 0},
  8861. {0x7E, 0, 0, 0, 0},
  8862. {0x7F, 0, 0, 0, 0},
  8863. {0x80, 0, 0, 0, 0},
  8864. {0x81, 0, 0, 0, 0},
  8865. {0x82, 0, 0, 0, 0},
  8866. {0x83, 0, 0, 0, 0},
  8867. {0x84, 0, 0, 0, 0},
  8868. {0x85, 0, 0, 0, 0},
  8869. {0x86, 0, 0, 0, 0},
  8870. {0x87, 0, 0, 0, 0},
  8871. {0x88, 0, 0, 0, 0},
  8872. {0x89, 0, 0, 0, 0},
  8873. {0x8A, 0, 0, 0, 0},
  8874. {0x8B, 0, 0, 0, 0},
  8875. {0x8C, 0, 0, 0, 0},
  8876. {0x8D, 0, 0, 0, 0},
  8877. {0x8E, 0, 0, 0, 0},
  8878. {0x8F, 0, 0, 0, 0},
  8879. {0x90, 0, 0, 0, 0},
  8880. {0x91, 0, 0, 0, 0},
  8881. {0x92, 0, 0, 0, 0},
  8882. {0x93, 0, 0, 0, 0},
  8883. {0x94, 0, 0, 0, 0},
  8884. {0xFFFF, 0, 0, 0, 0}
  8885. };
  8886. static struct radio_regs regs_SYN_2056_rev5[] = {
  8887. {0x02, 0, 0, 0, 0},
  8888. {0x03, 0, 0, 0, 0},
  8889. {0x04, 0, 0, 0, 0},
  8890. {0x05, 0, 0, 0, 0},
  8891. {0x06, 0, 0, 0, 0},
  8892. {0x07, 0, 0, 0, 0},
  8893. {0x08, 0, 0, 0, 0},
  8894. {0x09, 0x1, 0x1, 0, 0},
  8895. {0x0A, 0, 0, 0, 0},
  8896. {0x0B, 0, 0, 0, 0},
  8897. {0x0C, 0, 0, 0, 0},
  8898. {0x0D, 0, 0, 0, 0},
  8899. {0x0E, 0, 0, 0, 0},
  8900. {0x0F, 0, 0, 0, 0},
  8901. {0x10, 0, 0, 0, 0},
  8902. {0x11, 0, 0, 0, 0},
  8903. {0x12, 0, 0, 0, 0},
  8904. {0x13, 0, 0, 0, 0},
  8905. {0x14, 0, 0, 0, 0},
  8906. {0x15, 0, 0, 0, 0},
  8907. {0x16, 0, 0, 0, 0},
  8908. {0x17, 0, 0, 0, 0},
  8909. {0x18, 0, 0, 0, 0},
  8910. {0x19, 0, 0, 0, 0},
  8911. {0x1A, 0, 0, 0, 0},
  8912. {0x1B, 0, 0, 0, 0},
  8913. {0x1C, 0, 0, 0, 0},
  8914. {0x1D, 0, 0, 0, 0},
  8915. {0x1E, 0, 0, 0, 0},
  8916. {0x1F, 0, 0, 0, 0},
  8917. {0x20, 0, 0, 0, 0},
  8918. {0x21, 0, 0, 0, 0},
  8919. {0x22, 0x60, 0x60, 0, 0},
  8920. {0x23, 0x6, 0x6, 0, 0},
  8921. {0x24, 0xc, 0xc, 0, 0},
  8922. {0x25, 0, 0, 0, 0},
  8923. {0x26, 0, 0, 0, 0},
  8924. {0x27, 0, 0, 0, 0},
  8925. {0x28, 0x1, 0x1, 0, 0},
  8926. {0x29, 0, 0, 0, 0},
  8927. {0x2A, 0, 0, 0, 0},
  8928. {0x2B, 0, 0, 0, 0},
  8929. {0x2C, 0, 0, 0, 0},
  8930. {0x2D, 0, 0, 0, 0},
  8931. {0x2E, 0, 0, 0, 0},
  8932. {0x2F, 0x1f, 0x1f, 0, 0},
  8933. {0x30, 0x15, 0x15, 0, 0},
  8934. {0x31, 0xf, 0xf, 0, 0},
  8935. {0x32, 0, 0, 0, 0},
  8936. {0x33, 0, 0, 0, 0},
  8937. {0x34, 0, 0, 0, 0},
  8938. {0x35, 0, 0, 0, 0},
  8939. {0x36, 0, 0, 0, 0},
  8940. {0x37, 0, 0, 0, 0},
  8941. {0x38, 0, 0, 0, 0},
  8942. {0x39, 0, 0, 0, 0},
  8943. {0x3A, 0, 0, 0, 0},
  8944. {0x3B, 0, 0, 0, 0},
  8945. {0x3C, 0x13, 0x13, 0, 0},
  8946. {0x3D, 0xf, 0xf, 0, 0},
  8947. {0x3E, 0x18, 0x18, 0, 0},
  8948. {0x3F, 0, 0, 0, 0},
  8949. {0x40, 0, 0, 0, 0},
  8950. {0x41, 0x20, 0x20, 0, 0},
  8951. {0x42, 0x20, 0x20, 0, 0},
  8952. {0x43, 0, 0, 0, 0},
  8953. {0x44, 0x77, 0x77, 0, 0},
  8954. {0x45, 0x7, 0x7, 0, 0},
  8955. {0x46, 0x1, 0x1, 0, 0},
  8956. {0x47, 0x4, 0x4, 0, 0},
  8957. {0x48, 0xf, 0xf, 0, 0},
  8958. {0x49, 0x30, 0x30, 0, 0},
  8959. {0x4A, 0x32, 0x32, 0, 0},
  8960. {0x4B, 0xd, 0xd, 0, 0},
  8961. {0x4C, 0xd, 0xd, 0, 0},
  8962. {0x4D, 0x4, 0x4, 0, 0},
  8963. {0x4E, 0x6, 0x6, 0, 0},
  8964. {0x4F, 0x1, 0x1, 0, 0},
  8965. {0x50, 0x1c, 0x1c, 0, 0},
  8966. {0x51, 0x2, 0x2, 0, 0},
  8967. {0x52, 0x2, 0x2, 0, 0},
  8968. {0x53, 0xf7, 0xf7, 1, 1},
  8969. {0x54, 0xb4, 0xb4, 0, 0},
  8970. {0x55, 0xd2, 0xd2, 0, 0},
  8971. {0x56, 0, 0, 0, 0},
  8972. {0x57, 0, 0, 0, 0},
  8973. {0x58, 0x4, 0x4, 0, 0},
  8974. {0x59, 0x96, 0x96, 0, 0},
  8975. {0x5A, 0x3e, 0x3e, 0, 0},
  8976. {0x5B, 0x3e, 0x3e, 0, 0},
  8977. {0x5C, 0x13, 0x13, 0, 0},
  8978. {0x5D, 0x2, 0x2, 0, 0},
  8979. {0x5E, 0, 0, 0, 0},
  8980. {0x5F, 0x7, 0x7, 0, 0},
  8981. {0x60, 0x7, 0x7, 1, 1},
  8982. {0x61, 0x8, 0x8, 0, 0},
  8983. {0x62, 0x3, 0x3, 0, 0},
  8984. {0x63, 0, 0, 0, 0},
  8985. {0x64, 0, 0, 0, 0},
  8986. {0x65, 0, 0, 0, 0},
  8987. {0x66, 0, 0, 0, 0},
  8988. {0x67, 0, 0, 0, 0},
  8989. {0x68, 0x40, 0x40, 0, 0},
  8990. {0x69, 0, 0, 0, 0},
  8991. {0x6A, 0, 0, 0, 0},
  8992. {0x6B, 0, 0, 0, 0},
  8993. {0x6C, 0, 0, 0, 0},
  8994. {0x6D, 0x1, 0x1, 0, 0},
  8995. {0x6E, 0, 0, 0, 0},
  8996. {0x6F, 0, 0, 0, 0},
  8997. {0x70, 0x60, 0x60, 0, 0},
  8998. {0x71, 0x66, 0x66, 0, 0},
  8999. {0x72, 0xc, 0xc, 0, 0},
  9000. {0x73, 0x66, 0x66, 0, 0},
  9001. {0x74, 0x8f, 0x8f, 1, 1},
  9002. {0x75, 0, 0, 0, 0},
  9003. {0x76, 0xcc, 0xcc, 0, 0},
  9004. {0x77, 0x1, 0x1, 0, 0},
  9005. {0x78, 0x66, 0x66, 0, 0},
  9006. {0x79, 0x66, 0x66, 0, 0},
  9007. {0x7A, 0, 0, 0, 0},
  9008. {0x7B, 0, 0, 0, 0},
  9009. {0x7C, 0, 0, 0, 0},
  9010. {0x7D, 0, 0, 0, 0},
  9011. {0x7E, 0, 0, 0, 0},
  9012. {0x7F, 0, 0, 0, 0},
  9013. {0x80, 0, 0, 0, 0},
  9014. {0x81, 0, 0, 0, 0},
  9015. {0x82, 0, 0, 0, 0},
  9016. {0x83, 0, 0, 0, 0},
  9017. {0x84, 0, 0, 0, 0},
  9018. {0x85, 0xff, 0xff, 0, 0},
  9019. {0x86, 0, 0, 0, 0},
  9020. {0x87, 0, 0, 0, 0},
  9021. {0x88, 0, 0, 0, 0},
  9022. {0x89, 0, 0, 0, 0},
  9023. {0x8A, 0, 0, 0, 0},
  9024. {0x8B, 0, 0, 0, 0},
  9025. {0x8C, 0, 0, 0, 0},
  9026. {0x8D, 0, 0, 0, 0},
  9027. {0x8E, 0, 0, 0, 0},
  9028. {0x8F, 0, 0, 0, 0},
  9029. {0x90, 0, 0, 0, 0},
  9030. {0x91, 0, 0, 0, 0},
  9031. {0x92, 0, 0, 0, 0},
  9032. {0x93, 0, 0, 0, 0},
  9033. {0x94, 0, 0, 0, 0},
  9034. {0x95, 0, 0, 0, 0},
  9035. {0x96, 0, 0, 0, 0},
  9036. {0x97, 0, 0, 0, 0},
  9037. {0x98, 0, 0, 0, 0},
  9038. {0x99, 0, 0, 0, 0},
  9039. {0x9A, 0, 0, 0, 0},
  9040. {0x9B, 0, 0, 0, 0},
  9041. {0x9C, 0, 0, 0, 0},
  9042. {0x9D, 0, 0, 0, 0},
  9043. {0x9E, 0, 0, 0, 0},
  9044. {0x9F, 0x6, 0x6, 0, 0},
  9045. {0xA0, 0x66, 0x66, 0, 0},
  9046. {0xA1, 0x66, 0x66, 0, 0},
  9047. {0xA2, 0x66, 0x66, 0, 0},
  9048. {0xA3, 0x66, 0x66, 0, 0},
  9049. {0xA4, 0x66, 0x66, 0, 0},
  9050. {0xA5, 0x66, 0x66, 0, 0},
  9051. {0xA6, 0x66, 0x66, 0, 0},
  9052. {0xA7, 0x66, 0x66, 0, 0},
  9053. {0xA8, 0x66, 0x66, 0, 0},
  9054. {0xA9, 0x66, 0x66, 0, 0},
  9055. {0xAA, 0x66, 0x66, 0, 0},
  9056. {0xAB, 0x66, 0x66, 0, 0},
  9057. {0xAC, 0x66, 0x66, 0, 0},
  9058. {0xAD, 0x66, 0x66, 0, 0},
  9059. {0xAE, 0x66, 0x66, 0, 0},
  9060. {0xAF, 0x66, 0x66, 0, 0},
  9061. {0xB0, 0x66, 0x66, 0, 0},
  9062. {0xB1, 0x66, 0x66, 0, 0},
  9063. {0xB2, 0x66, 0x66, 0, 0},
  9064. {0xB3, 0xa, 0xa, 0, 0},
  9065. {0xB4, 0, 0, 0, 0},
  9066. {0xB5, 0, 0, 0, 0},
  9067. {0xB6, 0, 0, 0, 0},
  9068. {0xFFFF, 0, 0, 0, 0}
  9069. };
  9070. static struct radio_regs regs_TX_2056_rev5[] = {
  9071. {0x02, 0, 0, 0, 0},
  9072. {0x03, 0, 0, 0, 0},
  9073. {0x04, 0, 0, 0, 0},
  9074. {0x05, 0, 0, 0, 0},
  9075. {0x06, 0, 0, 0, 0},
  9076. {0x07, 0, 0, 0, 0},
  9077. {0x08, 0, 0, 0, 0},
  9078. {0x09, 0, 0, 0, 0},
  9079. {0x0A, 0, 0, 0, 0},
  9080. {0x0B, 0, 0, 0, 0},
  9081. {0x0C, 0, 0, 0, 0},
  9082. {0x0D, 0, 0, 0, 0},
  9083. {0x0E, 0, 0, 0, 0},
  9084. {0x0F, 0, 0, 0, 0},
  9085. {0x10, 0, 0, 0, 0},
  9086. {0x11, 0, 0, 0, 0},
  9087. {0x12, 0, 0, 0, 0},
  9088. {0x13, 0, 0, 0, 0},
  9089. {0x14, 0, 0, 0, 0},
  9090. {0x15, 0, 0, 0, 0},
  9091. {0x16, 0, 0, 0, 0},
  9092. {0x17, 0, 0, 0, 0},
  9093. {0x18, 0, 0, 0, 0},
  9094. {0x19, 0, 0, 0, 0},
  9095. {0x1A, 0, 0, 0, 0},
  9096. {0x1B, 0, 0, 0, 0},
  9097. {0x1C, 0, 0, 0, 0},
  9098. {0x1D, 0, 0, 0, 0},
  9099. {0x1E, 0, 0, 0, 0},
  9100. {0x1F, 0, 0, 0, 0},
  9101. {0x20, 0, 0, 0, 0},
  9102. {0x21, 0x88, 0x88, 0, 0},
  9103. {0x22, 0x88, 0x88, 0, 0},
  9104. {0x23, 0x88, 0x88, 0, 0},
  9105. {0x24, 0x88, 0x88, 0, 0},
  9106. {0x25, 0xc, 0xc, 0, 0},
  9107. {0x26, 0, 0, 0, 0},
  9108. {0x27, 0x3, 0x3, 0, 0},
  9109. {0x28, 0, 0, 0, 0},
  9110. {0x29, 0x3, 0x3, 0, 0},
  9111. {0x2A, 0x37, 0x37, 0, 0},
  9112. {0x2B, 0x3, 0x3, 0, 0},
  9113. {0x2C, 0, 0, 0, 0},
  9114. {0x2D, 0, 0, 0, 0},
  9115. {0x2E, 0x1, 0x1, 0, 0},
  9116. {0x2F, 0x1, 0x1, 0, 0},
  9117. {0x30, 0, 0, 0, 0},
  9118. {0x31, 0, 0, 0, 0},
  9119. {0x32, 0, 0, 0, 0},
  9120. {0x33, 0x11, 0x11, 0, 0},
  9121. {0x34, 0x11, 0x11, 0, 0},
  9122. {0x35, 0, 0, 0, 0},
  9123. {0x36, 0, 0, 0, 0},
  9124. {0x37, 0x3, 0x3, 0, 0},
  9125. {0x38, 0xf, 0xf, 0, 0},
  9126. {0x39, 0, 0, 0, 0},
  9127. {0x3A, 0x2d, 0x2d, 0, 0},
  9128. {0x3B, 0, 0, 0, 0},
  9129. {0x3C, 0x6e, 0x6e, 0, 0},
  9130. {0x3D, 0xf0, 0xf0, 1, 1},
  9131. {0x3E, 0, 0, 0, 0},
  9132. {0x3F, 0, 0, 0, 0},
  9133. {0x40, 0, 0, 0, 0},
  9134. {0x41, 0x3, 0x3, 0, 0},
  9135. {0x42, 0x3, 0x3, 0, 0},
  9136. {0x43, 0, 0, 0, 0},
  9137. {0x44, 0x1e, 0x1e, 0, 0},
  9138. {0x45, 0, 0, 0, 0},
  9139. {0x46, 0x6e, 0x6e, 0, 0},
  9140. {0x47, 0xf0, 0xf0, 1, 1},
  9141. {0x48, 0, 0, 0, 0},
  9142. {0x49, 0x2, 0x2, 0, 0},
  9143. {0x4A, 0xff, 0xff, 1, 1},
  9144. {0x4B, 0xc, 0xc, 0, 0},
  9145. {0x4C, 0, 0, 0, 0},
  9146. {0x4D, 0x38, 0x38, 0, 0},
  9147. {0x4E, 0x70, 0x70, 1, 1},
  9148. {0x4F, 0x2, 0x2, 0, 0},
  9149. {0x50, 0x88, 0x88, 0, 0},
  9150. {0x51, 0xc, 0xc, 0, 0},
  9151. {0x52, 0, 0, 0, 0},
  9152. {0x53, 0x8, 0x8, 0, 0},
  9153. {0x54, 0x70, 0x70, 1, 1},
  9154. {0x55, 0x2, 0x2, 0, 0},
  9155. {0x56, 0xff, 0xff, 1, 1},
  9156. {0x57, 0, 0, 0, 0},
  9157. {0x58, 0x83, 0x83, 0, 0},
  9158. {0x59, 0x77, 0x77, 1, 1},
  9159. {0x5A, 0, 0, 0, 0},
  9160. {0x5B, 0x2, 0x2, 0, 0},
  9161. {0x5C, 0x88, 0x88, 0, 0},
  9162. {0x5D, 0, 0, 0, 0},
  9163. {0x5E, 0x8, 0x8, 0, 0},
  9164. {0x5F, 0x77, 0x77, 1, 1},
  9165. {0x60, 0x1, 0x1, 0, 0},
  9166. {0x61, 0, 0, 0, 0},
  9167. {0x62, 0x7, 0x7, 0, 0},
  9168. {0x63, 0, 0, 0, 0},
  9169. {0x64, 0x7, 0x7, 0, 0},
  9170. {0x65, 0, 0, 0, 0},
  9171. {0x66, 0, 0, 0, 0},
  9172. {0x67, 0, 0, 1, 1},
  9173. {0x68, 0, 0, 0, 0},
  9174. {0x69, 0xa, 0xa, 0, 0},
  9175. {0x6A, 0, 0, 0, 0},
  9176. {0x6B, 0, 0, 0, 0},
  9177. {0x6C, 0, 0, 0, 0},
  9178. {0x6D, 0, 0, 0, 0},
  9179. {0x6E, 0, 0, 0, 0},
  9180. {0x6F, 0, 0, 0, 0},
  9181. {0x70, 0, 0, 0, 0},
  9182. {0x71, 0x2, 0x2, 0, 0},
  9183. {0x72, 0, 0, 0, 0},
  9184. {0x73, 0, 0, 0, 0},
  9185. {0x74, 0xe, 0xe, 0, 0},
  9186. {0x75, 0xe, 0xe, 0, 0},
  9187. {0x76, 0xe, 0xe, 0, 0},
  9188. {0x77, 0x13, 0x13, 0, 0},
  9189. {0x78, 0x13, 0x13, 0, 0},
  9190. {0x79, 0x1b, 0x1b, 0, 0},
  9191. {0x7A, 0x1b, 0x1b, 0, 0},
  9192. {0x7B, 0x55, 0x55, 0, 0},
  9193. {0x7C, 0x5b, 0x5b, 0, 0},
  9194. {0x7D, 0, 0, 0, 0},
  9195. {0x7E, 0, 0, 0, 0},
  9196. {0x7F, 0, 0, 0, 0},
  9197. {0x80, 0, 0, 0, 0},
  9198. {0x81, 0, 0, 0, 0},
  9199. {0x82, 0, 0, 0, 0},
  9200. {0x83, 0, 0, 0, 0},
  9201. {0x84, 0, 0, 0, 0},
  9202. {0x85, 0, 0, 0, 0},
  9203. {0x86, 0, 0, 0, 0},
  9204. {0x87, 0, 0, 0, 0},
  9205. {0x88, 0, 0, 0, 0},
  9206. {0x89, 0, 0, 0, 0},
  9207. {0x8A, 0, 0, 0, 0},
  9208. {0x8B, 0, 0, 0, 0},
  9209. {0x8C, 0, 0, 0, 0},
  9210. {0x8D, 0, 0, 0, 0},
  9211. {0x8E, 0, 0, 0, 0},
  9212. {0x8F, 0, 0, 0, 0},
  9213. {0x90, 0, 0, 0, 0},
  9214. {0x91, 0, 0, 0, 0},
  9215. {0x92, 0, 0, 0, 0},
  9216. {0x93, 0x70, 0x70, 0, 0},
  9217. {0x94, 0x70, 0x70, 0, 0},
  9218. {0x95, 0x71, 0x71, 1, 1},
  9219. {0x96, 0x71, 0x71, 1, 1},
  9220. {0x97, 0x72, 0x72, 1, 1},
  9221. {0x98, 0x73, 0x73, 1, 1},
  9222. {0x99, 0x74, 0x74, 1, 1},
  9223. {0x9A, 0x75, 0x75, 1, 1},
  9224. {0xFFFF, 0, 0, 0, 0}
  9225. };
  9226. static struct radio_regs regs_RX_2056_rev5[] = {
  9227. {0x02, 0, 0, 0, 0},
  9228. {0x03, 0, 0, 0, 0},
  9229. {0x04, 0, 0, 0, 0},
  9230. {0x05, 0, 0, 0, 0},
  9231. {0x06, 0, 0, 0, 0},
  9232. {0x07, 0, 0, 0, 0},
  9233. {0x08, 0, 0, 0, 0},
  9234. {0x09, 0, 0, 0, 0},
  9235. {0x0A, 0, 0, 0, 0},
  9236. {0x0B, 0, 0, 0, 0},
  9237. {0x0C, 0, 0, 0, 0},
  9238. {0x0D, 0, 0, 0, 0},
  9239. {0x0E, 0, 0, 0, 0},
  9240. {0x0F, 0, 0, 0, 0},
  9241. {0x10, 0, 0, 0, 0},
  9242. {0x11, 0, 0, 0, 0},
  9243. {0x12, 0, 0, 0, 0},
  9244. {0x13, 0, 0, 0, 0},
  9245. {0x14, 0, 0, 0, 0},
  9246. {0x15, 0, 0, 0, 0},
  9247. {0x16, 0, 0, 0, 0},
  9248. {0x17, 0, 0, 0, 0},
  9249. {0x18, 0, 0, 0, 0},
  9250. {0x19, 0, 0, 0, 0},
  9251. {0x1A, 0, 0, 0, 0},
  9252. {0x1B, 0, 0, 0, 0},
  9253. {0x1C, 0, 0, 0, 0},
  9254. {0x1D, 0, 0, 0, 0},
  9255. {0x1E, 0, 0, 0, 0},
  9256. {0x1F, 0, 0, 0, 0},
  9257. {0x20, 0x3, 0x3, 0, 0},
  9258. {0x21, 0, 0, 0, 0},
  9259. {0x22, 0, 0, 0, 0},
  9260. {0x23, 0x90, 0x90, 0, 0},
  9261. {0x24, 0x55, 0x55, 0, 0},
  9262. {0x25, 0x15, 0x15, 0, 0},
  9263. {0x26, 0x5, 0x5, 0, 0},
  9264. {0x27, 0x15, 0x15, 0, 0},
  9265. {0x28, 0x5, 0x5, 0, 0},
  9266. {0x29, 0x20, 0x20, 0, 0},
  9267. {0x2A, 0x11, 0x11, 0, 0},
  9268. {0x2B, 0x90, 0x90, 0, 0},
  9269. {0x2C, 0, 0, 0, 0},
  9270. {0x2D, 0x88, 0x88, 0, 0},
  9271. {0x2E, 0x32, 0x32, 0, 0},
  9272. {0x2F, 0x77, 0x77, 0, 0},
  9273. {0x30, 0x17, 0x17, 1, 1},
  9274. {0x31, 0xff, 0xff, 1, 1},
  9275. {0x32, 0x20, 0x20, 0, 0},
  9276. {0x33, 0, 0, 0, 0},
  9277. {0x34, 0x88, 0x88, 0, 0},
  9278. {0x35, 0x32, 0x32, 0, 0},
  9279. {0x36, 0x77, 0x77, 0, 0},
  9280. {0x37, 0x17, 0x17, 1, 1},
  9281. {0x38, 0xf0, 0xf0, 1, 1},
  9282. {0x39, 0x20, 0x20, 0, 0},
  9283. {0x3A, 0x8, 0x8, 0, 0},
  9284. {0x3B, 0x55, 0x55, 1, 1},
  9285. {0x3C, 0, 0, 0, 0},
  9286. {0x3D, 0x88, 0x88, 1, 1},
  9287. {0x3E, 0, 0, 0, 0},
  9288. {0x3F, 0, 0, 1, 1},
  9289. {0x40, 0x7, 0x7, 1, 1},
  9290. {0x41, 0x6, 0x6, 0, 0},
  9291. {0x42, 0x4, 0x4, 0, 0},
  9292. {0x43, 0, 0, 0, 0},
  9293. {0x44, 0x8, 0x8, 0, 0},
  9294. {0x45, 0x55, 0x55, 1, 1},
  9295. {0x46, 0, 0, 0, 0},
  9296. {0x47, 0x11, 0x11, 0, 0},
  9297. {0x48, 0, 0, 0, 0},
  9298. {0x49, 0, 0, 1, 1},
  9299. {0x4A, 0x7, 0x7, 0, 0},
  9300. {0x4B, 0x6, 0x6, 0, 0},
  9301. {0x4C, 0x4, 0x4, 0, 0},
  9302. {0x4D, 0, 0, 0, 0},
  9303. {0x4E, 0, 0, 0, 0},
  9304. {0x4F, 0x26, 0x26, 1, 1},
  9305. {0x50, 0x26, 0x26, 1, 1},
  9306. {0x51, 0xf, 0xf, 1, 1},
  9307. {0x52, 0xf, 0xf, 1, 1},
  9308. {0x53, 0x44, 0x44, 0, 0},
  9309. {0x54, 0, 0, 0, 0},
  9310. {0x55, 0, 0, 0, 0},
  9311. {0x56, 0x8, 0x8, 0, 0},
  9312. {0x57, 0x8, 0x8, 0, 0},
  9313. {0x58, 0x7, 0x7, 0, 0},
  9314. {0x59, 0x22, 0x22, 0, 0},
  9315. {0x5A, 0x22, 0x22, 0, 0},
  9316. {0x5B, 0x2, 0x2, 0, 0},
  9317. {0x5C, 0x4, 0x4, 1, 1},
  9318. {0x5D, 0x7, 0x7, 0, 0},
  9319. {0x5E, 0x55, 0x55, 0, 0},
  9320. {0x5F, 0x23, 0x23, 0, 0},
  9321. {0x60, 0x41, 0x41, 0, 0},
  9322. {0x61, 0x1, 0x1, 0, 0},
  9323. {0x62, 0xa, 0xa, 0, 0},
  9324. {0x63, 0, 0, 0, 0},
  9325. {0x64, 0, 0, 0, 0},
  9326. {0x65, 0, 0, 0, 0},
  9327. {0x66, 0, 0, 0, 0},
  9328. {0x67, 0, 0, 0, 0},
  9329. {0x68, 0, 0, 0, 0},
  9330. {0x69, 0, 0, 0, 0},
  9331. {0x6A, 0, 0, 0, 0},
  9332. {0x6B, 0xc, 0xc, 0, 0},
  9333. {0x6C, 0, 0, 0, 0},
  9334. {0x6D, 0, 0, 0, 0},
  9335. {0x6E, 0, 0, 0, 0},
  9336. {0x6F, 0, 0, 0, 0},
  9337. {0x70, 0, 0, 0, 0},
  9338. {0x71, 0, 0, 0, 0},
  9339. {0x72, 0x22, 0x22, 0, 0},
  9340. {0x73, 0x22, 0x22, 0, 0},
  9341. {0x74, 0, 0, 1, 1},
  9342. {0x75, 0xa, 0xa, 0, 0},
  9343. {0x76, 0x1, 0x1, 0, 0},
  9344. {0x77, 0x22, 0x22, 0, 0},
  9345. {0x78, 0x30, 0x30, 0, 0},
  9346. {0x79, 0, 0, 0, 0},
  9347. {0x7A, 0, 0, 0, 0},
  9348. {0x7B, 0, 0, 0, 0},
  9349. {0x7C, 0, 0, 0, 0},
  9350. {0x7D, 0, 0, 0, 0},
  9351. {0x7E, 0, 0, 0, 0},
  9352. {0x7F, 0, 0, 0, 0},
  9353. {0x80, 0, 0, 0, 0},
  9354. {0x81, 0, 0, 0, 0},
  9355. {0x82, 0, 0, 0, 0},
  9356. {0x83, 0, 0, 0, 0},
  9357. {0x84, 0, 0, 0, 0},
  9358. {0x85, 0, 0, 0, 0},
  9359. {0x86, 0, 0, 0, 0},
  9360. {0x87, 0, 0, 0, 0},
  9361. {0x88, 0, 0, 0, 0},
  9362. {0x89, 0, 0, 0, 0},
  9363. {0x8A, 0, 0, 0, 0},
  9364. {0x8B, 0, 0, 0, 0},
  9365. {0x8C, 0, 0, 0, 0},
  9366. {0x8D, 0, 0, 0, 0},
  9367. {0x8E, 0, 0, 0, 0},
  9368. {0x8F, 0, 0, 0, 0},
  9369. {0x90, 0, 0, 0, 0},
  9370. {0x91, 0, 0, 0, 0},
  9371. {0x92, 0, 0, 0, 0},
  9372. {0x93, 0, 0, 0, 0},
  9373. {0x94, 0, 0, 0, 0},
  9374. {0xFFFF, 0, 0, 0, 0}
  9375. };
  9376. static struct radio_regs regs_SYN_2056_rev6[] = {
  9377. {0x02, 0, 0, 0, 0},
  9378. {0x03, 0, 0, 0, 0},
  9379. {0x04, 0, 0, 0, 0},
  9380. {0x05, 0, 0, 0, 0},
  9381. {0x06, 0, 0, 0, 0},
  9382. {0x07, 0, 0, 0, 0},
  9383. {0x08, 0, 0, 0, 0},
  9384. {0x09, 0x1, 0x1, 0, 0},
  9385. {0x0A, 0, 0, 0, 0},
  9386. {0x0B, 0, 0, 0, 0},
  9387. {0x0C, 0, 0, 0, 0},
  9388. {0x0D, 0, 0, 0, 0},
  9389. {0x0E, 0, 0, 0, 0},
  9390. {0x0F, 0, 0, 0, 0},
  9391. {0x10, 0, 0, 0, 0},
  9392. {0x11, 0, 0, 0, 0},
  9393. {0x12, 0, 0, 0, 0},
  9394. {0x13, 0, 0, 0, 0},
  9395. {0x14, 0, 0, 0, 0},
  9396. {0x15, 0, 0, 0, 0},
  9397. {0x16, 0, 0, 0, 0},
  9398. {0x17, 0, 0, 0, 0},
  9399. {0x18, 0, 0, 0, 0},
  9400. {0x19, 0, 0, 0, 0},
  9401. {0x1A, 0, 0, 0, 0},
  9402. {0x1B, 0, 0, 0, 0},
  9403. {0x1C, 0, 0, 0, 0},
  9404. {0x1D, 0, 0, 0, 0},
  9405. {0x1E, 0, 0, 0, 0},
  9406. {0x1F, 0, 0, 0, 0},
  9407. {0x20, 0, 0, 0, 0},
  9408. {0x21, 0, 0, 0, 0},
  9409. {0x22, 0x60, 0x60, 0, 0},
  9410. {0x23, 0x6, 0x6, 0, 0},
  9411. {0x24, 0xc, 0xc, 0, 0},
  9412. {0x25, 0, 0, 0, 0},
  9413. {0x26, 0, 0, 0, 0},
  9414. {0x27, 0, 0, 0, 0},
  9415. {0x28, 0x1, 0x1, 0, 0},
  9416. {0x29, 0, 0, 0, 0},
  9417. {0x2A, 0, 0, 0, 0},
  9418. {0x2B, 0, 0, 0, 0},
  9419. {0x2C, 0, 0, 0, 0},
  9420. {0x2D, 0, 0, 0, 0},
  9421. {0x2E, 0, 0, 0, 0},
  9422. {0x2F, 0x1f, 0x1f, 0, 0},
  9423. {0x30, 0x15, 0x15, 0, 0},
  9424. {0x31, 0xf, 0xf, 0, 0},
  9425. {0x32, 0, 0, 0, 0},
  9426. {0x33, 0, 0, 0, 0},
  9427. {0x34, 0, 0, 0, 0},
  9428. {0x35, 0, 0, 0, 0},
  9429. {0x36, 0, 0, 0, 0},
  9430. {0x37, 0, 0, 0, 0},
  9431. {0x38, 0, 0, 0, 0},
  9432. {0x39, 0, 0, 0, 0},
  9433. {0x3A, 0, 0, 0, 0},
  9434. {0x3B, 0, 0, 0, 0},
  9435. {0x3C, 0x13, 0x13, 0, 0},
  9436. {0x3D, 0xf, 0xf, 0, 0},
  9437. {0x3E, 0x18, 0x18, 0, 0},
  9438. {0x3F, 0, 0, 0, 0},
  9439. {0x40, 0, 0, 0, 0},
  9440. {0x41, 0x20, 0x20, 0, 0},
  9441. {0x42, 0x20, 0x20, 0, 0},
  9442. {0x43, 0, 0, 0, 0},
  9443. {0x44, 0x77, 0x77, 0, 0},
  9444. {0x45, 0x7, 0x7, 0, 0},
  9445. {0x46, 0x1, 0x1, 0, 0},
  9446. {0x47, 0x4, 0x4, 0, 0},
  9447. {0x48, 0xf, 0xf, 0, 0},
  9448. {0x49, 0x30, 0x30, 0, 0},
  9449. {0x4A, 0x32, 0x32, 0, 0},
  9450. {0x4B, 0xd, 0xd, 0, 0},
  9451. {0x4C, 0xd, 0xd, 0, 0},
  9452. {0x4D, 0x4, 0x4, 0, 0},
  9453. {0x4E, 0x6, 0x6, 0, 0},
  9454. {0x4F, 0x1, 0x1, 0, 0},
  9455. {0x50, 0x1c, 0x1c, 0, 0},
  9456. {0x51, 0x2, 0x2, 0, 0},
  9457. {0x52, 0x2, 0x2, 0, 0},
  9458. {0x53, 0xf7, 0xf7, 1, 1},
  9459. {0x54, 0xb4, 0xb4, 0, 0},
  9460. {0x55, 0xd2, 0xd2, 0, 0},
  9461. {0x56, 0, 0, 0, 0},
  9462. {0x57, 0, 0, 0, 0},
  9463. {0x58, 0x4, 0x4, 0, 0},
  9464. {0x59, 0x96, 0x96, 0, 0},
  9465. {0x5A, 0x3e, 0x3e, 0, 0},
  9466. {0x5B, 0x3e, 0x3e, 0, 0},
  9467. {0x5C, 0x13, 0x13, 0, 0},
  9468. {0x5D, 0x2, 0x2, 0, 0},
  9469. {0x5E, 0, 0, 0, 0},
  9470. {0x5F, 0x7, 0x7, 0, 0},
  9471. {0x60, 0x7, 0x7, 1, 1},
  9472. {0x61, 0x8, 0x8, 0, 0},
  9473. {0x62, 0x3, 0x3, 0, 0},
  9474. {0x63, 0, 0, 0, 0},
  9475. {0x64, 0, 0, 0, 0},
  9476. {0x65, 0, 0, 0, 0},
  9477. {0x66, 0, 0, 0, 0},
  9478. {0x67, 0, 0, 0, 0},
  9479. {0x68, 0x40, 0x40, 0, 0},
  9480. {0x69, 0, 0, 0, 0},
  9481. {0x6A, 0, 0, 0, 0},
  9482. {0x6B, 0, 0, 0, 0},
  9483. {0x6C, 0, 0, 0, 0},
  9484. {0x6D, 0x1, 0x1, 0, 0},
  9485. {0x6E, 0, 0, 0, 0},
  9486. {0x6F, 0, 0, 0, 0},
  9487. {0x70, 0x60, 0x60, 0, 0},
  9488. {0x71, 0x66, 0x66, 0, 0},
  9489. {0x72, 0xc, 0xc, 0, 0},
  9490. {0x73, 0x66, 0x66, 0, 0},
  9491. {0x74, 0x8f, 0x8f, 1, 1},
  9492. {0x75, 0, 0, 0, 0},
  9493. {0x76, 0xcc, 0xcc, 0, 0},
  9494. {0x77, 0x1, 0x1, 0, 0},
  9495. {0x78, 0x66, 0x66, 0, 0},
  9496. {0x79, 0x66, 0x66, 0, 0},
  9497. {0x7A, 0, 0, 0, 0},
  9498. {0x7B, 0, 0, 0, 0},
  9499. {0x7C, 0, 0, 0, 0},
  9500. {0x7D, 0, 0, 0, 0},
  9501. {0x7E, 0, 0, 0, 0},
  9502. {0x7F, 0, 0, 0, 0},
  9503. {0x80, 0, 0, 0, 0},
  9504. {0x81, 0, 0, 0, 0},
  9505. {0x82, 0, 0, 0, 0},
  9506. {0x83, 0, 0, 0, 0},
  9507. {0x84, 0, 0, 0, 0},
  9508. {0x85, 0xff, 0xff, 0, 0},
  9509. {0x86, 0, 0, 0, 0},
  9510. {0x87, 0, 0, 0, 0},
  9511. {0x88, 0, 0, 0, 0},
  9512. {0x89, 0, 0, 0, 0},
  9513. {0x8A, 0, 0, 0, 0},
  9514. {0x8B, 0, 0, 0, 0},
  9515. {0x8C, 0, 0, 0, 0},
  9516. {0x8D, 0, 0, 0, 0},
  9517. {0x8E, 0, 0, 0, 0},
  9518. {0x8F, 0, 0, 0, 0},
  9519. {0x90, 0, 0, 0, 0},
  9520. {0x91, 0, 0, 0, 0},
  9521. {0x92, 0, 0, 0, 0},
  9522. {0x93, 0, 0, 0, 0},
  9523. {0x94, 0, 0, 0, 0},
  9524. {0x95, 0, 0, 0, 0},
  9525. {0x96, 0, 0, 0, 0},
  9526. {0x97, 0, 0, 0, 0},
  9527. {0x98, 0, 0, 0, 0},
  9528. {0x99, 0, 0, 0, 0},
  9529. {0x9A, 0, 0, 0, 0},
  9530. {0x9B, 0, 0, 0, 0},
  9531. {0x9C, 0, 0, 0, 0},
  9532. {0x9D, 0, 0, 0, 0},
  9533. {0x9E, 0, 0, 0, 0},
  9534. {0x9F, 0x6, 0x6, 0, 0},
  9535. {0xA0, 0x66, 0x66, 0, 0},
  9536. {0xA1, 0x66, 0x66, 0, 0},
  9537. {0xA2, 0x66, 0x66, 0, 0},
  9538. {0xA3, 0x66, 0x66, 0, 0},
  9539. {0xA4, 0x66, 0x66, 0, 0},
  9540. {0xA5, 0x66, 0x66, 0, 0},
  9541. {0xA6, 0x66, 0x66, 0, 0},
  9542. {0xA7, 0x66, 0x66, 0, 0},
  9543. {0xA8, 0x66, 0x66, 0, 0},
  9544. {0xA9, 0x66, 0x66, 0, 0},
  9545. {0xAA, 0x66, 0x66, 0, 0},
  9546. {0xAB, 0x66, 0x66, 0, 0},
  9547. {0xAC, 0x66, 0x66, 0, 0},
  9548. {0xAD, 0x66, 0x66, 0, 0},
  9549. {0xAE, 0x66, 0x66, 0, 0},
  9550. {0xAF, 0x66, 0x66, 0, 0},
  9551. {0xB0, 0x66, 0x66, 0, 0},
  9552. {0xB1, 0x66, 0x66, 0, 0},
  9553. {0xB2, 0x66, 0x66, 0, 0},
  9554. {0xB3, 0xa, 0xa, 0, 0},
  9555. {0xB4, 0, 0, 0, 0},
  9556. {0xB5, 0, 0, 0, 0},
  9557. {0xB6, 0, 0, 0, 0},
  9558. {0xFFFF, 0, 0, 0, 0}
  9559. };
  9560. static struct radio_regs regs_TX_2056_rev6[] = {
  9561. {0x02, 0, 0, 0, 0},
  9562. {0x03, 0, 0, 0, 0},
  9563. {0x04, 0, 0, 0, 0},
  9564. {0x05, 0, 0, 0, 0},
  9565. {0x06, 0, 0, 0, 0},
  9566. {0x07, 0, 0, 0, 0},
  9567. {0x08, 0, 0, 0, 0},
  9568. {0x09, 0, 0, 0, 0},
  9569. {0x0A, 0, 0, 0, 0},
  9570. {0x0B, 0, 0, 0, 0},
  9571. {0x0C, 0, 0, 0, 0},
  9572. {0x0D, 0, 0, 0, 0},
  9573. {0x0E, 0, 0, 0, 0},
  9574. {0x0F, 0, 0, 0, 0},
  9575. {0x10, 0, 0, 0, 0},
  9576. {0x11, 0, 0, 0, 0},
  9577. {0x12, 0, 0, 0, 0},
  9578. {0x13, 0, 0, 0, 0},
  9579. {0x14, 0, 0, 0, 0},
  9580. {0x15, 0, 0, 0, 0},
  9581. {0x16, 0, 0, 0, 0},
  9582. {0x17, 0, 0, 0, 0},
  9583. {0x18, 0, 0, 0, 0},
  9584. {0x19, 0, 0, 0, 0},
  9585. {0x1A, 0, 0, 0, 0},
  9586. {0x1B, 0, 0, 0, 0},
  9587. {0x1C, 0, 0, 0, 0},
  9588. {0x1D, 0, 0, 0, 0},
  9589. {0x1E, 0, 0, 0, 0},
  9590. {0x1F, 0, 0, 0, 0},
  9591. {0x20, 0, 0, 0, 0},
  9592. {0x21, 0x88, 0x88, 0, 0},
  9593. {0x22, 0x88, 0x88, 0, 0},
  9594. {0x23, 0x88, 0x88, 0, 0},
  9595. {0x24, 0x88, 0x88, 0, 0},
  9596. {0x25, 0xc, 0xc, 0, 0},
  9597. {0x26, 0, 0, 0, 0},
  9598. {0x27, 0x3, 0x3, 0, 0},
  9599. {0x28, 0, 0, 0, 0},
  9600. {0x29, 0x3, 0x3, 0, 0},
  9601. {0x2A, 0x37, 0x37, 0, 0},
  9602. {0x2B, 0x3, 0x3, 0, 0},
  9603. {0x2C, 0, 0, 0, 0},
  9604. {0x2D, 0, 0, 0, 0},
  9605. {0x2E, 0x1, 0x1, 0, 0},
  9606. {0x2F, 0x1, 0x1, 0, 0},
  9607. {0x30, 0, 0, 0, 0},
  9608. {0x31, 0, 0, 0, 0},
  9609. {0x32, 0, 0, 0, 0},
  9610. {0x33, 0x11, 0x11, 0, 0},
  9611. {0x34, 0xee, 0xee, 1, 1},
  9612. {0x35, 0, 0, 0, 0},
  9613. {0x36, 0, 0, 0, 0},
  9614. {0x37, 0x3, 0x3, 0, 0},
  9615. {0x38, 0x50, 0x50, 1, 1},
  9616. {0x39, 0, 0, 0, 0},
  9617. {0x3A, 0x50, 0x50, 1, 1},
  9618. {0x3B, 0, 0, 0, 0},
  9619. {0x3C, 0x6e, 0x6e, 0, 0},
  9620. {0x3D, 0xf0, 0xf0, 1, 1},
  9621. {0x3E, 0, 0, 0, 0},
  9622. {0x3F, 0, 0, 0, 0},
  9623. {0x40, 0, 0, 0, 0},
  9624. {0x41, 0x3, 0x3, 0, 0},
  9625. {0x42, 0x3, 0x3, 0, 0},
  9626. {0x43, 0, 0, 0, 0},
  9627. {0x44, 0x1e, 0x1e, 0, 0},
  9628. {0x45, 0, 0, 0, 0},
  9629. {0x46, 0x6e, 0x6e, 0, 0},
  9630. {0x47, 0xf0, 0xf0, 1, 1},
  9631. {0x48, 0, 0, 0, 0},
  9632. {0x49, 0x2, 0x2, 0, 0},
  9633. {0x4A, 0xff, 0xff, 1, 1},
  9634. {0x4B, 0xc, 0xc, 0, 0},
  9635. {0x4C, 0, 0, 0, 0},
  9636. {0x4D, 0x38, 0x38, 0, 0},
  9637. {0x4E, 0x70, 0x70, 1, 1},
  9638. {0x4F, 0x2, 0x2, 0, 0},
  9639. {0x50, 0x88, 0x88, 0, 0},
  9640. {0x51, 0xc, 0xc, 0, 0},
  9641. {0x52, 0, 0, 0, 0},
  9642. {0x53, 0x8, 0x8, 0, 0},
  9643. {0x54, 0x70, 0x70, 1, 1},
  9644. {0x55, 0x2, 0x2, 0, 0},
  9645. {0x56, 0xff, 0xff, 1, 1},
  9646. {0x57, 0, 0, 0, 0},
  9647. {0x58, 0x83, 0x83, 0, 0},
  9648. {0x59, 0x77, 0x77, 1, 1},
  9649. {0x5A, 0, 0, 0, 0},
  9650. {0x5B, 0x2, 0x2, 0, 0},
  9651. {0x5C, 0x88, 0x88, 0, 0},
  9652. {0x5D, 0, 0, 0, 0},
  9653. {0x5E, 0x8, 0x8, 0, 0},
  9654. {0x5F, 0x77, 0x77, 1, 1},
  9655. {0x60, 0x1, 0x1, 0, 0},
  9656. {0x61, 0, 0, 0, 0},
  9657. {0x62, 0x7, 0x7, 0, 0},
  9658. {0x63, 0, 0, 0, 0},
  9659. {0x64, 0x7, 0x7, 0, 0},
  9660. {0x65, 0, 0, 0, 0},
  9661. {0x66, 0, 0, 0, 0},
  9662. {0x67, 0, 0, 1, 1},
  9663. {0x68, 0, 0, 0, 0},
  9664. {0x69, 0xa, 0xa, 0, 0},
  9665. {0x6A, 0, 0, 0, 0},
  9666. {0x6B, 0, 0, 0, 0},
  9667. {0x6C, 0, 0, 0, 0},
  9668. {0x6D, 0, 0, 0, 0},
  9669. {0x6E, 0, 0, 0, 0},
  9670. {0x6F, 0, 0, 0, 0},
  9671. {0x70, 0, 0, 0, 0},
  9672. {0x71, 0x2, 0x2, 0, 0},
  9673. {0x72, 0, 0, 0, 0},
  9674. {0x73, 0, 0, 0, 0},
  9675. {0x74, 0xe, 0xe, 0, 0},
  9676. {0x75, 0xe, 0xe, 0, 0},
  9677. {0x76, 0xe, 0xe, 0, 0},
  9678. {0x77, 0x13, 0x13, 0, 0},
  9679. {0x78, 0x13, 0x13, 0, 0},
  9680. {0x79, 0x1b, 0x1b, 0, 0},
  9681. {0x7A, 0x1b, 0x1b, 0, 0},
  9682. {0x7B, 0x55, 0x55, 0, 0},
  9683. {0x7C, 0x5b, 0x5b, 0, 0},
  9684. {0x7D, 0x30, 0x30, 1, 1},
  9685. {0x7E, 0, 0, 0, 0},
  9686. {0x7F, 0, 0, 0, 0},
  9687. {0x80, 0, 0, 0, 0},
  9688. {0x81, 0, 0, 0, 0},
  9689. {0x82, 0, 0, 0, 0},
  9690. {0x83, 0, 0, 0, 0},
  9691. {0x84, 0, 0, 0, 0},
  9692. {0x85, 0, 0, 0, 0},
  9693. {0x86, 0, 0, 0, 0},
  9694. {0x87, 0, 0, 0, 0},
  9695. {0x88, 0, 0, 0, 0},
  9696. {0x89, 0, 0, 0, 0},
  9697. {0x8A, 0, 0, 0, 0},
  9698. {0x8B, 0, 0, 0, 0},
  9699. {0x8C, 0, 0, 0, 0},
  9700. {0x8D, 0, 0, 0, 0},
  9701. {0x8E, 0, 0, 0, 0},
  9702. {0x8F, 0, 0, 0, 0},
  9703. {0x90, 0, 0, 0, 0},
  9704. {0x91, 0, 0, 0, 0},
  9705. {0x92, 0, 0, 0, 0},
  9706. {0x93, 0x70, 0x70, 0, 0},
  9707. {0x94, 0x70, 0x70, 0, 0},
  9708. {0x95, 0x70, 0x70, 0, 0},
  9709. {0x96, 0x70, 0x70, 0, 0},
  9710. {0x97, 0x70, 0x70, 0, 0},
  9711. {0x98, 0x70, 0x70, 0, 0},
  9712. {0x99, 0x70, 0x70, 0, 0},
  9713. {0x9A, 0x70, 0x70, 0, 0},
  9714. {0xFFFF, 0, 0, 0, 0}
  9715. };
  9716. static struct radio_regs regs_RX_2056_rev6[] = {
  9717. {0x02, 0, 0, 0, 0},
  9718. {0x03, 0, 0, 0, 0},
  9719. {0x04, 0, 0, 0, 0},
  9720. {0x05, 0, 0, 0, 0},
  9721. {0x06, 0, 0, 0, 0},
  9722. {0x07, 0, 0, 0, 0},
  9723. {0x08, 0, 0, 0, 0},
  9724. {0x09, 0, 0, 0, 0},
  9725. {0x0A, 0, 0, 0, 0},
  9726. {0x0B, 0, 0, 0, 0},
  9727. {0x0C, 0, 0, 0, 0},
  9728. {0x0D, 0, 0, 0, 0},
  9729. {0x0E, 0, 0, 0, 0},
  9730. {0x0F, 0, 0, 0, 0},
  9731. {0x10, 0, 0, 0, 0},
  9732. {0x11, 0, 0, 0, 0},
  9733. {0x12, 0, 0, 0, 0},
  9734. {0x13, 0, 0, 0, 0},
  9735. {0x14, 0, 0, 0, 0},
  9736. {0x15, 0, 0, 0, 0},
  9737. {0x16, 0, 0, 0, 0},
  9738. {0x17, 0, 0, 0, 0},
  9739. {0x18, 0, 0, 0, 0},
  9740. {0x19, 0, 0, 0, 0},
  9741. {0x1A, 0, 0, 0, 0},
  9742. {0x1B, 0, 0, 0, 0},
  9743. {0x1C, 0, 0, 0, 0},
  9744. {0x1D, 0, 0, 0, 0},
  9745. {0x1E, 0, 0, 0, 0},
  9746. {0x1F, 0, 0, 0, 0},
  9747. {0x20, 0x3, 0x3, 0, 0},
  9748. {0x21, 0, 0, 0, 0},
  9749. {0x22, 0, 0, 0, 0},
  9750. {0x23, 0x90, 0x90, 0, 0},
  9751. {0x24, 0x55, 0x55, 0, 0},
  9752. {0x25, 0x15, 0x15, 0, 0},
  9753. {0x26, 0x5, 0x5, 0, 0},
  9754. {0x27, 0x15, 0x15, 0, 0},
  9755. {0x28, 0x5, 0x5, 0, 0},
  9756. {0x29, 0x20, 0x20, 0, 0},
  9757. {0x2A, 0x11, 0x11, 0, 0},
  9758. {0x2B, 0x90, 0x90, 0, 0},
  9759. {0x2C, 0, 0, 0, 0},
  9760. {0x2D, 0x88, 0x88, 0, 0},
  9761. {0x2E, 0x32, 0x32, 0, 0},
  9762. {0x2F, 0x77, 0x77, 0, 0},
  9763. {0x30, 0x17, 0x17, 1, 1},
  9764. {0x31, 0xff, 0xff, 1, 1},
  9765. {0x32, 0x20, 0x20, 0, 0},
  9766. {0x33, 0, 0, 0, 0},
  9767. {0x34, 0x88, 0x88, 0, 0},
  9768. {0x35, 0x32, 0x32, 0, 0},
  9769. {0x36, 0x77, 0x77, 0, 0},
  9770. {0x37, 0x17, 0x17, 1, 1},
  9771. {0x38, 0xf0, 0xf0, 1, 1},
  9772. {0x39, 0x20, 0x20, 0, 0},
  9773. {0x3A, 0x8, 0x8, 0, 0},
  9774. {0x3B, 0x55, 0x55, 1, 1},
  9775. {0x3C, 0, 0, 0, 0},
  9776. {0x3D, 0x88, 0x88, 1, 1},
  9777. {0x3E, 0, 0, 0, 0},
  9778. {0x3F, 0x44, 0x44, 0, 0},
  9779. {0x40, 0x7, 0x7, 1, 1},
  9780. {0x41, 0x6, 0x6, 0, 0},
  9781. {0x42, 0x4, 0x4, 0, 0},
  9782. {0x43, 0, 0, 0, 0},
  9783. {0x44, 0x8, 0x8, 0, 0},
  9784. {0x45, 0x55, 0x55, 1, 1},
  9785. {0x46, 0, 0, 0, 0},
  9786. {0x47, 0x11, 0x11, 0, 0},
  9787. {0x48, 0, 0, 0, 0},
  9788. {0x49, 0x44, 0x44, 0, 0},
  9789. {0x4A, 0x7, 0x7, 0, 0},
  9790. {0x4B, 0x6, 0x6, 0, 0},
  9791. {0x4C, 0x4, 0x4, 0, 0},
  9792. {0x4D, 0, 0, 0, 0},
  9793. {0x4E, 0, 0, 0, 0},
  9794. {0x4F, 0x26, 0x26, 1, 1},
  9795. {0x50, 0x26, 0x26, 1, 1},
  9796. {0x51, 0xf, 0xf, 1, 1},
  9797. {0x52, 0xf, 0xf, 1, 1},
  9798. {0x53, 0x44, 0x44, 0, 0},
  9799. {0x54, 0, 0, 0, 0},
  9800. {0x55, 0, 0, 0, 0},
  9801. {0x56, 0x8, 0x8, 0, 0},
  9802. {0x57, 0x8, 0x8, 0, 0},
  9803. {0x58, 0x7, 0x7, 0, 0},
  9804. {0x59, 0x22, 0x22, 0, 0},
  9805. {0x5A, 0x22, 0x22, 0, 0},
  9806. {0x5B, 0x2, 0x2, 0, 0},
  9807. {0x5C, 0x4, 0x4, 1, 1},
  9808. {0x5D, 0x7, 0x7, 0, 0},
  9809. {0x5E, 0x55, 0x55, 0, 0},
  9810. {0x5F, 0x23, 0x23, 0, 0},
  9811. {0x60, 0x41, 0x41, 0, 0},
  9812. {0x61, 0x1, 0x1, 0, 0},
  9813. {0x62, 0xa, 0xa, 0, 0},
  9814. {0x63, 0, 0, 0, 0},
  9815. {0x64, 0, 0, 0, 0},
  9816. {0x65, 0, 0, 0, 0},
  9817. {0x66, 0, 0, 0, 0},
  9818. {0x67, 0, 0, 0, 0},
  9819. {0x68, 0, 0, 0, 0},
  9820. {0x69, 0, 0, 0, 0},
  9821. {0x6A, 0, 0, 0, 0},
  9822. {0x6B, 0xc, 0xc, 0, 0},
  9823. {0x6C, 0, 0, 0, 0},
  9824. {0x6D, 0, 0, 0, 0},
  9825. {0x6E, 0, 0, 0, 0},
  9826. {0x6F, 0, 0, 0, 0},
  9827. {0x70, 0, 0, 0, 0},
  9828. {0x71, 0, 0, 0, 0},
  9829. {0x72, 0x22, 0x22, 0, 0},
  9830. {0x73, 0x22, 0x22, 0, 0},
  9831. {0x74, 0, 0, 1, 1},
  9832. {0x75, 0xa, 0xa, 0, 0},
  9833. {0x76, 0x1, 0x1, 0, 0},
  9834. {0x77, 0x22, 0x22, 0, 0},
  9835. {0x78, 0x30, 0x30, 0, 0},
  9836. {0x79, 0, 0, 0, 0},
  9837. {0x7A, 0, 0, 0, 0},
  9838. {0x7B, 0, 0, 0, 0},
  9839. {0x7C, 0, 0, 0, 0},
  9840. {0x7D, 0x5, 0x5, 1, 1},
  9841. {0x7E, 0, 0, 0, 0},
  9842. {0x7F, 0, 0, 0, 0},
  9843. {0x80, 0, 0, 0, 0},
  9844. {0x81, 0, 0, 0, 0},
  9845. {0x82, 0, 0, 0, 0},
  9846. {0x83, 0, 0, 0, 0},
  9847. {0x84, 0, 0, 0, 0},
  9848. {0x85, 0, 0, 0, 0},
  9849. {0x86, 0, 0, 0, 0},
  9850. {0x87, 0, 0, 0, 0},
  9851. {0x88, 0, 0, 0, 0},
  9852. {0x89, 0, 0, 0, 0},
  9853. {0x8A, 0, 0, 0, 0},
  9854. {0x8B, 0, 0, 0, 0},
  9855. {0x8C, 0, 0, 0, 0},
  9856. {0x8D, 0, 0, 0, 0},
  9857. {0x8E, 0, 0, 0, 0},
  9858. {0x8F, 0, 0, 0, 0},
  9859. {0x90, 0, 0, 0, 0},
  9860. {0x91, 0, 0, 0, 0},
  9861. {0x92, 0, 0, 0, 0},
  9862. {0x93, 0, 0, 0, 0},
  9863. {0x94, 0, 0, 0, 0},
  9864. {0xFFFF, 0, 0, 0, 0}
  9865. };
  9866. static struct radio_regs regs_SYN_2056_rev7[] = {
  9867. {0x02, 0, 0, 0, 0},
  9868. {0x03, 0, 0, 0, 0},
  9869. {0x04, 0, 0, 0, 0},
  9870. {0x05, 0, 0, 0, 0},
  9871. {0x06, 0, 0, 0, 0},
  9872. {0x07, 0, 0, 0, 0},
  9873. {0x08, 0, 0, 0, 0},
  9874. {0x09, 0x1, 0x1, 0, 0},
  9875. {0x0A, 0, 0, 0, 0},
  9876. {0x0B, 0, 0, 0, 0},
  9877. {0x0C, 0, 0, 0, 0},
  9878. {0x0D, 0, 0, 0, 0},
  9879. {0x0E, 0, 0, 0, 0},
  9880. {0x0F, 0, 0, 0, 0},
  9881. {0x10, 0, 0, 0, 0},
  9882. {0x11, 0, 0, 0, 0},
  9883. {0x12, 0, 0, 0, 0},
  9884. {0x13, 0, 0, 0, 0},
  9885. {0x14, 0, 0, 0, 0},
  9886. {0x15, 0, 0, 0, 0},
  9887. {0x16, 0, 0, 0, 0},
  9888. {0x17, 0, 0, 0, 0},
  9889. {0x18, 0, 0, 0, 0},
  9890. {0x19, 0, 0, 0, 0},
  9891. {0x1A, 0, 0, 0, 0},
  9892. {0x1B, 0, 0, 0, 0},
  9893. {0x1C, 0, 0, 0, 0},
  9894. {0x1D, 0, 0, 0, 0},
  9895. {0x1E, 0, 0, 0, 0},
  9896. {0x1F, 0, 0, 0, 0},
  9897. {0x20, 0, 0, 0, 0},
  9898. {0x21, 0, 0, 0, 0},
  9899. {0x22, 0x60, 0x60, 0, 0},
  9900. {0x23, 0x6, 0x6, 0, 0},
  9901. {0x24, 0xc, 0xc, 0, 0},
  9902. {0x25, 0, 0, 0, 0},
  9903. {0x26, 0, 0, 0, 0},
  9904. {0x27, 0, 0, 0, 0},
  9905. {0x28, 0x1, 0x1, 0, 0},
  9906. {0x29, 0, 0, 0, 0},
  9907. {0x2A, 0, 0, 0, 0},
  9908. {0x2B, 0, 0, 0, 0},
  9909. {0x2C, 0, 0, 0, 0},
  9910. {0x2D, 0, 0, 0, 0},
  9911. {0x2E, 0, 0, 0, 0},
  9912. {0x2F, 0x1f, 0x1f, 0, 0},
  9913. {0x30, 0x15, 0x15, 0, 0},
  9914. {0x31, 0xf, 0xf, 0, 0},
  9915. {0x32, 0, 0, 0, 0},
  9916. {0x33, 0, 0, 0, 0},
  9917. {0x34, 0, 0, 0, 0},
  9918. {0x35, 0, 0, 0, 0},
  9919. {0x36, 0, 0, 0, 0},
  9920. {0x37, 0, 0, 0, 0},
  9921. {0x38, 0, 0, 0, 0},
  9922. {0x39, 0, 0, 0, 0},
  9923. {0x3A, 0, 0, 0, 0},
  9924. {0x3B, 0, 0, 0, 0},
  9925. {0x3C, 0x13, 0x13, 0, 0},
  9926. {0x3D, 0xf, 0xf, 0, 0},
  9927. {0x3E, 0x18, 0x18, 0, 0},
  9928. {0x3F, 0, 0, 0, 0},
  9929. {0x40, 0, 0, 0, 0},
  9930. {0x41, 0x20, 0x20, 0, 0},
  9931. {0x42, 0x20, 0x20, 0, 0},
  9932. {0x43, 0, 0, 0, 0},
  9933. {0x44, 0x77, 0x77, 0, 0},
  9934. {0x45, 0x7, 0x7, 0, 0},
  9935. {0x46, 0x1, 0x1, 0, 0},
  9936. {0x47, 0x4, 0x4, 0, 0},
  9937. {0x48, 0xf, 0xf, 0, 0},
  9938. {0x49, 0x30, 0x30, 0, 0},
  9939. {0x4A, 0x32, 0x32, 0, 0},
  9940. {0x4B, 0xd, 0xd, 0, 0},
  9941. {0x4C, 0xd, 0xd, 0, 0},
  9942. {0x4D, 0x4, 0x4, 0, 0},
  9943. {0x4E, 0x6, 0x6, 0, 0},
  9944. {0x4F, 0x1, 0x1, 0, 0},
  9945. {0x50, 0x1c, 0x1c, 0, 0},
  9946. {0x51, 0x2, 0x2, 0, 0},
  9947. {0x52, 0x2, 0x2, 0, 0},
  9948. {0x53, 0xf7, 0xf7, 1, 1},
  9949. {0x54, 0xb4, 0xb4, 0, 0},
  9950. {0x55, 0xd2, 0xd2, 0, 0},
  9951. {0x56, 0, 0, 0, 0},
  9952. {0x57, 0, 0, 0, 0},
  9953. {0x58, 0x4, 0x4, 0, 0},
  9954. {0x59, 0x96, 0x96, 0, 0},
  9955. {0x5A, 0x3e, 0x3e, 0, 0},
  9956. {0x5B, 0x3e, 0x3e, 0, 0},
  9957. {0x5C, 0x13, 0x13, 0, 0},
  9958. {0x5D, 0x2, 0x2, 0, 0},
  9959. {0x5E, 0, 0, 0, 0},
  9960. {0x5F, 0x7, 0x7, 0, 0},
  9961. {0x60, 0x7, 0x7, 1, 1},
  9962. {0x61, 0x8, 0x8, 0, 0},
  9963. {0x62, 0x3, 0x3, 0, 0},
  9964. {0x63, 0, 0, 0, 0},
  9965. {0x64, 0, 0, 0, 0},
  9966. {0x65, 0, 0, 0, 0},
  9967. {0x66, 0, 0, 0, 0},
  9968. {0x67, 0, 0, 0, 0},
  9969. {0x68, 0x40, 0x40, 0, 0},
  9970. {0x69, 0, 0, 0, 0},
  9971. {0x6A, 0, 0, 0, 0},
  9972. {0x6B, 0, 0, 0, 0},
  9973. {0x6C, 0, 0, 0, 0},
  9974. {0x6D, 0x1, 0x1, 0, 0},
  9975. {0x6E, 0, 0, 0, 0},
  9976. {0x6F, 0, 0, 0, 0},
  9977. {0x70, 0x60, 0x60, 0, 0},
  9978. {0x71, 0x66, 0x66, 0, 0},
  9979. {0x72, 0xc, 0xc, 0, 0},
  9980. {0x73, 0x66, 0x66, 0, 0},
  9981. {0x74, 0x8f, 0x8f, 1, 1},
  9982. {0x75, 0, 0, 0, 0},
  9983. {0x76, 0xcc, 0xcc, 0, 0},
  9984. {0x77, 0x1, 0x1, 0, 0},
  9985. {0x78, 0x66, 0x66, 0, 0},
  9986. {0x79, 0x66, 0x66, 0, 0},
  9987. {0x7A, 0, 0, 0, 0},
  9988. {0x7B, 0, 0, 0, 0},
  9989. {0x7C, 0, 0, 0, 0},
  9990. {0x7D, 0, 0, 0, 0},
  9991. {0x7E, 0, 0, 0, 0},
  9992. {0x7F, 0, 0, 0, 0},
  9993. {0x80, 0, 0, 0, 0},
  9994. {0x81, 0, 0, 0, 0},
  9995. {0x82, 0, 0, 0, 0},
  9996. {0x83, 0, 0, 0, 0},
  9997. {0x84, 0, 0, 0, 0},
  9998. {0x85, 0xff, 0xff, 0, 0},
  9999. {0x86, 0, 0, 0, 0},
  10000. {0x87, 0, 0, 0, 0},
  10001. {0x88, 0, 0, 0, 0},
  10002. {0x89, 0, 0, 0, 0},
  10003. {0x8A, 0, 0, 0, 0},
  10004. {0x8B, 0, 0, 0, 0},
  10005. {0x8C, 0, 0, 0, 0},
  10006. {0x8D, 0, 0, 0, 0},
  10007. {0x8E, 0, 0, 0, 0},
  10008. {0x8F, 0, 0, 0, 0},
  10009. {0x90, 0, 0, 0, 0},
  10010. {0x91, 0, 0, 0, 0},
  10011. {0x92, 0, 0, 0, 0},
  10012. {0x93, 0, 0, 0, 0},
  10013. {0x94, 0, 0, 0, 0},
  10014. {0x95, 0, 0, 0, 0},
  10015. {0x96, 0, 0, 0, 0},
  10016. {0x97, 0, 0, 0, 0},
  10017. {0x98, 0, 0, 0, 0},
  10018. {0x99, 0, 0, 0, 0},
  10019. {0x9A, 0, 0, 0, 0},
  10020. {0x9B, 0, 0, 0, 0},
  10021. {0x9C, 0, 0, 0, 0},
  10022. {0x9D, 0, 0, 0, 0},
  10023. {0x9E, 0, 0, 0, 0},
  10024. {0x9F, 0x6, 0x6, 0, 0},
  10025. {0xA0, 0x66, 0x66, 0, 0},
  10026. {0xA1, 0x66, 0x66, 0, 0},
  10027. {0xA2, 0x66, 0x66, 0, 0},
  10028. {0xA3, 0x66, 0x66, 0, 0},
  10029. {0xA4, 0x66, 0x66, 0, 0},
  10030. {0xA5, 0x66, 0x66, 0, 0},
  10031. {0xA6, 0x66, 0x66, 0, 0},
  10032. {0xA7, 0x66, 0x66, 0, 0},
  10033. {0xA8, 0x66, 0x66, 0, 0},
  10034. {0xA9, 0x66, 0x66, 0, 0},
  10035. {0xAA, 0x66, 0x66, 0, 0},
  10036. {0xAB, 0x66, 0x66, 0, 0},
  10037. {0xAC, 0x66, 0x66, 0, 0},
  10038. {0xAD, 0x66, 0x66, 0, 0},
  10039. {0xAE, 0x66, 0x66, 0, 0},
  10040. {0xAF, 0x66, 0x66, 0, 0},
  10041. {0xB0, 0x66, 0x66, 0, 0},
  10042. {0xB1, 0x66, 0x66, 0, 0},
  10043. {0xB2, 0x66, 0x66, 0, 0},
  10044. {0xB3, 0xa, 0xa, 0, 0},
  10045. {0xB4, 0, 0, 0, 0},
  10046. {0xB5, 0, 0, 0, 0},
  10047. {0xB6, 0, 0, 0, 0},
  10048. {0xFFFF, 0, 0, 0, 0},
  10049. };
  10050. static struct radio_regs regs_TX_2056_rev7[] = {
  10051. {0x02, 0, 0, 0, 0},
  10052. {0x03, 0, 0, 0, 0},
  10053. {0x04, 0, 0, 0, 0},
  10054. {0x05, 0, 0, 0, 0},
  10055. {0x06, 0, 0, 0, 0},
  10056. {0x07, 0, 0, 0, 0},
  10057. {0x08, 0, 0, 0, 0},
  10058. {0x09, 0, 0, 0, 0},
  10059. {0x0A, 0, 0, 0, 0},
  10060. {0x0B, 0, 0, 0, 0},
  10061. {0x0C, 0, 0, 0, 0},
  10062. {0x0D, 0, 0, 0, 0},
  10063. {0x0E, 0, 0, 0, 0},
  10064. {0x0F, 0, 0, 0, 0},
  10065. {0x10, 0, 0, 0, 0},
  10066. {0x11, 0, 0, 0, 0},
  10067. {0x12, 0, 0, 0, 0},
  10068. {0x13, 0, 0, 0, 0},
  10069. {0x14, 0, 0, 0, 0},
  10070. {0x15, 0, 0, 0, 0},
  10071. {0x16, 0, 0, 0, 0},
  10072. {0x17, 0, 0, 0, 0},
  10073. {0x18, 0, 0, 0, 0},
  10074. {0x19, 0, 0, 0, 0},
  10075. {0x1A, 0, 0, 0, 0},
  10076. {0x1B, 0, 0, 0, 0},
  10077. {0x1C, 0, 0, 0, 0},
  10078. {0x1D, 0, 0, 0, 0},
  10079. {0x1E, 0, 0, 0, 0},
  10080. {0x1F, 0, 0, 0, 0},
  10081. {0x20, 0, 0, 0, 0},
  10082. {0x21, 0x88, 0x88, 0, 0},
  10083. {0x22, 0x88, 0x88, 0, 0},
  10084. {0x23, 0x88, 0x88, 0, 0},
  10085. {0x24, 0x88, 0x88, 0, 0},
  10086. {0x25, 0xc, 0xc, 0, 0},
  10087. {0x26, 0, 0, 0, 0},
  10088. {0x27, 0x3, 0x3, 0, 0},
  10089. {0x28, 0, 0, 0, 0},
  10090. {0x29, 0x3, 0x3, 0, 0},
  10091. {0x2A, 0x37, 0x37, 0, 0},
  10092. {0x2B, 0x3, 0x3, 0, 0},
  10093. {0x2C, 0, 0, 0, 0},
  10094. {0x2D, 0, 0, 0, 0},
  10095. {0x2E, 0x1, 0x1, 0, 0},
  10096. {0x2F, 0x1, 0x1, 0, 0},
  10097. {0x30, 0, 0, 0, 0},
  10098. {0x31, 0, 0, 0, 0},
  10099. {0x32, 0, 0, 0, 0},
  10100. {0x33, 0x11, 0x11, 0, 0},
  10101. {0x34, 0xee, 0xee, 1, 1},
  10102. {0x35, 0, 0, 0, 0},
  10103. {0x36, 0, 0, 0, 0},
  10104. {0x37, 0x3, 0x3, 0, 0},
  10105. {0x38, 0x50, 0x50, 1, 1},
  10106. {0x39, 0, 0, 0, 0},
  10107. {0x3A, 0x50, 0x50, 1, 1},
  10108. {0x3B, 0, 0, 0, 0},
  10109. {0x3C, 0x6e, 0x6e, 0, 0},
  10110. {0x3D, 0xf0, 0xf0, 1, 1},
  10111. {0x3E, 0, 0, 0, 0},
  10112. {0x3F, 0, 0, 0, 0},
  10113. {0x40, 0, 0, 0, 0},
  10114. {0x41, 0x3, 0x3, 0, 0},
  10115. {0x42, 0x3, 0x3, 0, 0},
  10116. {0x43, 0, 0, 0, 0},
  10117. {0x44, 0x1e, 0x1e, 0, 0},
  10118. {0x45, 0, 0, 0, 0},
  10119. {0x46, 0x6e, 0x6e, 0, 0},
  10120. {0x47, 0xf0, 0xf0, 1, 1},
  10121. {0x48, 0, 0, 0, 0},
  10122. {0x49, 0x2, 0x2, 0, 0},
  10123. {0x4A, 0xff, 0xff, 1, 1},
  10124. {0x4B, 0xc, 0xc, 0, 0},
  10125. {0x4C, 0, 0, 0, 0},
  10126. {0x4D, 0x38, 0x38, 0, 0},
  10127. {0x4E, 0x70, 0x70, 1, 1},
  10128. {0x4F, 0x2, 0x2, 0, 0},
  10129. {0x50, 0x88, 0x88, 0, 0},
  10130. {0x51, 0xc, 0xc, 0, 0},
  10131. {0x52, 0, 0, 0, 0},
  10132. {0x53, 0x8, 0x8, 0, 0},
  10133. {0x54, 0x70, 0x70, 1, 1},
  10134. {0x55, 0x2, 0x2, 0, 0},
  10135. {0x56, 0xff, 0xff, 1, 1},
  10136. {0x57, 0, 0, 0, 0},
  10137. {0x58, 0x83, 0x83, 0, 0},
  10138. {0x59, 0x77, 0x77, 1, 1},
  10139. {0x5A, 0, 0, 0, 0},
  10140. {0x5B, 0x2, 0x2, 0, 0},
  10141. {0x5C, 0x88, 0x88, 0, 0},
  10142. {0x5D, 0, 0, 0, 0},
  10143. {0x5E, 0x8, 0x8, 0, 0},
  10144. {0x5F, 0x77, 0x77, 1, 1},
  10145. {0x60, 0x1, 0x1, 0, 0},
  10146. {0x61, 0, 0, 0, 0},
  10147. {0x62, 0x7, 0x7, 0, 0},
  10148. {0x63, 0, 0, 0, 0},
  10149. {0x64, 0x7, 0x7, 0, 0},
  10150. {0x65, 0, 0, 0, 0},
  10151. {0x66, 0, 0, 0, 0},
  10152. {0x67, 0, 0, 1, 1},
  10153. {0x68, 0, 0, 0, 0},
  10154. {0x69, 0xa, 0xa, 0, 0},
  10155. {0x6A, 0, 0, 0, 0},
  10156. {0x6B, 0, 0, 0, 0},
  10157. {0x6C, 0, 0, 0, 0},
  10158. {0x6D, 0, 0, 0, 0},
  10159. {0x6E, 0, 0, 0, 0},
  10160. {0x6F, 0, 0, 0, 0},
  10161. {0x70, 0, 0, 0, 0},
  10162. {0x71, 0x2, 0x2, 0, 0},
  10163. {0x72, 0, 0, 0, 0},
  10164. {0x73, 0, 0, 0, 0},
  10165. {0x74, 0xe, 0xe, 0, 0},
  10166. {0x75, 0xe, 0xe, 0, 0},
  10167. {0x76, 0xe, 0xe, 0, 0},
  10168. {0x77, 0x13, 0x13, 0, 0},
  10169. {0x78, 0x13, 0x13, 0, 0},
  10170. {0x79, 0x1b, 0x1b, 0, 0},
  10171. {0x7A, 0x1b, 0x1b, 0, 0},
  10172. {0x7B, 0x55, 0x55, 0, 0},
  10173. {0x7C, 0x5b, 0x5b, 0, 0},
  10174. {0x7D, 0x30, 0x30, 1, 1},
  10175. {0x7E, 0, 0, 0, 0},
  10176. {0x7F, 0, 0, 0, 0},
  10177. {0x80, 0, 0, 0, 0},
  10178. {0x81, 0, 0, 0, 0},
  10179. {0x82, 0, 0, 0, 0},
  10180. {0x83, 0, 0, 0, 0},
  10181. {0x84, 0, 0, 0, 0},
  10182. {0x85, 0, 0, 0, 0},
  10183. {0x86, 0, 0, 0, 0},
  10184. {0x87, 0, 0, 0, 0},
  10185. {0x88, 0, 0, 0, 0},
  10186. {0x89, 0, 0, 0, 0},
  10187. {0x8A, 0, 0, 0, 0},
  10188. {0x8B, 0, 0, 0, 0},
  10189. {0x8C, 0, 0, 0, 0},
  10190. {0x8D, 0, 0, 0, 0},
  10191. {0x8E, 0, 0, 0, 0},
  10192. {0x8F, 0, 0, 0, 0},
  10193. {0x90, 0, 0, 0, 0},
  10194. {0x91, 0, 0, 0, 0},
  10195. {0x92, 0, 0, 0, 0},
  10196. {0x93, 0x70, 0x70, 0, 0},
  10197. {0x94, 0x70, 0x70, 0, 0},
  10198. {0x95, 0x71, 0x71, 1, 1},
  10199. {0x96, 0x71, 0x71, 1, 1},
  10200. {0x97, 0x72, 0x72, 1, 1},
  10201. {0x98, 0x73, 0x73, 1, 1},
  10202. {0x99, 0x74, 0x74, 1, 1},
  10203. {0x9A, 0x75, 0x75, 1, 1},
  10204. {0xFFFF, 0, 0, 0, 0},
  10205. };
  10206. static struct radio_regs regs_RX_2056_rev7[] = {
  10207. {0x02, 0, 0, 0, 0},
  10208. {0x03, 0, 0, 0, 0},
  10209. {0x04, 0, 0, 0, 0},
  10210. {0x05, 0, 0, 0, 0},
  10211. {0x06, 0, 0, 0, 0},
  10212. {0x07, 0, 0, 0, 0},
  10213. {0x08, 0, 0, 0, 0},
  10214. {0x09, 0, 0, 0, 0},
  10215. {0x0A, 0, 0, 0, 0},
  10216. {0x0B, 0, 0, 0, 0},
  10217. {0x0C, 0, 0, 0, 0},
  10218. {0x0D, 0, 0, 0, 0},
  10219. {0x0E, 0, 0, 0, 0},
  10220. {0x0F, 0, 0, 0, 0},
  10221. {0x10, 0, 0, 0, 0},
  10222. {0x11, 0, 0, 0, 0},
  10223. {0x12, 0, 0, 0, 0},
  10224. {0x13, 0, 0, 0, 0},
  10225. {0x14, 0, 0, 0, 0},
  10226. {0x15, 0, 0, 0, 0},
  10227. {0x16, 0, 0, 0, 0},
  10228. {0x17, 0, 0, 0, 0},
  10229. {0x18, 0, 0, 0, 0},
  10230. {0x19, 0, 0, 0, 0},
  10231. {0x1A, 0, 0, 0, 0},
  10232. {0x1B, 0, 0, 0, 0},
  10233. {0x1C, 0, 0, 0, 0},
  10234. {0x1D, 0, 0, 0, 0},
  10235. {0x1E, 0, 0, 0, 0},
  10236. {0x1F, 0, 0, 0, 0},
  10237. {0x20, 0x3, 0x3, 0, 0},
  10238. {0x21, 0, 0, 0, 0},
  10239. {0x22, 0, 0, 0, 0},
  10240. {0x23, 0x90, 0x90, 0, 0},
  10241. {0x24, 0x55, 0x55, 0, 0},
  10242. {0x25, 0x15, 0x15, 0, 0},
  10243. {0x26, 0x5, 0x5, 0, 0},
  10244. {0x27, 0x15, 0x15, 0, 0},
  10245. {0x28, 0x5, 0x5, 0, 0},
  10246. {0x29, 0x20, 0x20, 0, 0},
  10247. {0x2A, 0x11, 0x11, 0, 0},
  10248. {0x2B, 0x90, 0x90, 0, 0},
  10249. {0x2C, 0, 0, 0, 0},
  10250. {0x2D, 0x88, 0x88, 0, 0},
  10251. {0x2E, 0x32, 0x32, 0, 0},
  10252. {0x2F, 0x77, 0x77, 0, 0},
  10253. {0x30, 0x17, 0x17, 1, 1},
  10254. {0x31, 0xff, 0xff, 1, 1},
  10255. {0x32, 0x20, 0x20, 0, 0},
  10256. {0x33, 0, 0, 0, 0},
  10257. {0x34, 0x88, 0x88, 0, 0},
  10258. {0x35, 0x32, 0x32, 0, 0},
  10259. {0x36, 0x77, 0x77, 0, 0},
  10260. {0x37, 0x17, 0x17, 1, 1},
  10261. {0x38, 0xf0, 0xf0, 1, 1},
  10262. {0x39, 0x20, 0x20, 0, 0},
  10263. {0x3A, 0x8, 0x8, 0, 0},
  10264. {0x3B, 0x55, 0x55, 1, 1},
  10265. {0x3C, 0, 0, 0, 0},
  10266. {0x3D, 0x88, 0x88, 1, 1},
  10267. {0x3E, 0, 0, 0, 0},
  10268. {0x3F, 0, 0, 1, 1},
  10269. {0x40, 0x7, 0x7, 1, 1},
  10270. {0x41, 0x6, 0x6, 0, 0},
  10271. {0x42, 0x4, 0x4, 0, 0},
  10272. {0x43, 0, 0, 0, 0},
  10273. {0x44, 0x8, 0x8, 0, 0},
  10274. {0x45, 0x55, 0x55, 1, 1},
  10275. {0x46, 0, 0, 0, 0},
  10276. {0x47, 0x11, 0x11, 0, 0},
  10277. {0x48, 0, 0, 0, 0},
  10278. {0x49, 0, 0, 1, 1},
  10279. {0x4A, 0x7, 0x7, 0, 0},
  10280. {0x4B, 0x6, 0x6, 0, 0},
  10281. {0x4C, 0x4, 0x4, 0, 0},
  10282. {0x4D, 0, 0, 0, 0},
  10283. {0x4E, 0, 0, 0, 0},
  10284. {0x4F, 0x26, 0x26, 1, 1},
  10285. {0x50, 0x26, 0x26, 1, 1},
  10286. {0x51, 0xf, 0xf, 1, 1},
  10287. {0x52, 0xf, 0xf, 1, 1},
  10288. {0x53, 0x44, 0x44, 0, 0},
  10289. {0x54, 0, 0, 0, 0},
  10290. {0x55, 0, 0, 0, 0},
  10291. {0x56, 0x8, 0x8, 0, 0},
  10292. {0x57, 0x8, 0x8, 0, 0},
  10293. {0x58, 0x7, 0x7, 0, 0},
  10294. {0x59, 0x22, 0x22, 0, 0},
  10295. {0x5A, 0x22, 0x22, 0, 0},
  10296. {0x5B, 0x2, 0x2, 0, 0},
  10297. {0x5C, 0x4, 0x4, 1, 1},
  10298. {0x5D, 0x7, 0x7, 0, 0},
  10299. {0x5E, 0x55, 0x55, 0, 0},
  10300. {0x5F, 0x23, 0x23, 0, 0},
  10301. {0x60, 0x41, 0x41, 0, 0},
  10302. {0x61, 0x1, 0x1, 0, 0},
  10303. {0x62, 0xa, 0xa, 0, 0},
  10304. {0x63, 0, 0, 0, 0},
  10305. {0x64, 0, 0, 0, 0},
  10306. {0x65, 0, 0, 0, 0},
  10307. {0x66, 0, 0, 0, 0},
  10308. {0x67, 0, 0, 0, 0},
  10309. {0x68, 0, 0, 0, 0},
  10310. {0x69, 0, 0, 0, 0},
  10311. {0x6A, 0, 0, 0, 0},
  10312. {0x6B, 0xc, 0xc, 0, 0},
  10313. {0x6C, 0, 0, 0, 0},
  10314. {0x6D, 0, 0, 0, 0},
  10315. {0x6E, 0, 0, 0, 0},
  10316. {0x6F, 0, 0, 0, 0},
  10317. {0x70, 0, 0, 0, 0},
  10318. {0x71, 0, 0, 0, 0},
  10319. {0x72, 0x22, 0x22, 0, 0},
  10320. {0x73, 0x22, 0x22, 0, 0},
  10321. {0x74, 0, 0, 1, 1},
  10322. {0x75, 0xa, 0xa, 0, 0},
  10323. {0x76, 0x1, 0x1, 0, 0},
  10324. {0x77, 0x22, 0x22, 0, 0},
  10325. {0x78, 0x30, 0x30, 0, 0},
  10326. {0x79, 0, 0, 0, 0},
  10327. {0x7A, 0, 0, 0, 0},
  10328. {0x7B, 0, 0, 0, 0},
  10329. {0x7C, 0, 0, 0, 0},
  10330. {0x7D, 0, 0, 0, 0},
  10331. {0x7E, 0, 0, 0, 0},
  10332. {0x7F, 0, 0, 0, 0},
  10333. {0x80, 0, 0, 0, 0},
  10334. {0x81, 0, 0, 0, 0},
  10335. {0x82, 0, 0, 0, 0},
  10336. {0x83, 0, 0, 0, 0},
  10337. {0x84, 0, 0, 0, 0},
  10338. {0x85, 0, 0, 0, 0},
  10339. {0x86, 0, 0, 0, 0},
  10340. {0x87, 0, 0, 0, 0},
  10341. {0x88, 0, 0, 0, 0},
  10342. {0x89, 0, 0, 0, 0},
  10343. {0x8A, 0, 0, 0, 0},
  10344. {0x8B, 0, 0, 0, 0},
  10345. {0x8C, 0, 0, 0, 0},
  10346. {0x8D, 0, 0, 0, 0},
  10347. {0x8E, 0, 0, 0, 0},
  10348. {0x8F, 0, 0, 0, 0},
  10349. {0x90, 0, 0, 0, 0},
  10350. {0x91, 0, 0, 0, 0},
  10351. {0x92, 0, 0, 0, 0},
  10352. {0x93, 0, 0, 0, 0},
  10353. {0x94, 0, 0, 0, 0},
  10354. {0xFFFF, 0, 0, 0, 0},
  10355. };
  10356. static struct radio_regs regs_SYN_2056_rev8[] = {
  10357. {0x02, 0, 0, 0, 0},
  10358. {0x03, 0, 0, 0, 0},
  10359. {0x04, 0, 0, 0, 0},
  10360. {0x05, 0, 0, 0, 0},
  10361. {0x06, 0, 0, 0, 0},
  10362. {0x07, 0, 0, 0, 0},
  10363. {0x08, 0, 0, 0, 0},
  10364. {0x09, 0x1, 0x1, 0, 0},
  10365. {0x0A, 0, 0, 0, 0},
  10366. {0x0B, 0, 0, 0, 0},
  10367. {0x0C, 0, 0, 0, 0},
  10368. {0x0D, 0, 0, 0, 0},
  10369. {0x0E, 0, 0, 0, 0},
  10370. {0x0F, 0, 0, 0, 0},
  10371. {0x10, 0, 0, 0, 0},
  10372. {0x11, 0, 0, 0, 0},
  10373. {0x12, 0, 0, 0, 0},
  10374. {0x13, 0, 0, 0, 0},
  10375. {0x14, 0, 0, 0, 0},
  10376. {0x15, 0, 0, 0, 0},
  10377. {0x16, 0, 0, 0, 0},
  10378. {0x17, 0, 0, 0, 0},
  10379. {0x18, 0, 0, 0, 0},
  10380. {0x19, 0, 0, 0, 0},
  10381. {0x1A, 0, 0, 0, 0},
  10382. {0x1B, 0, 0, 0, 0},
  10383. {0x1C, 0, 0, 0, 0},
  10384. {0x1D, 0, 0, 0, 0},
  10385. {0x1E, 0, 0, 0, 0},
  10386. {0x1F, 0, 0, 0, 0},
  10387. {0x20, 0, 0, 0, 0},
  10388. {0x21, 0, 0, 0, 0},
  10389. {0x22, 0x60, 0x60, 0, 0},
  10390. {0x23, 0x6, 0x6, 0, 0},
  10391. {0x24, 0xc, 0xc, 0, 0},
  10392. {0x25, 0, 0, 0, 0},
  10393. {0x26, 0, 0, 0, 0},
  10394. {0x27, 0, 0, 0, 0},
  10395. {0x28, 0x1, 0x1, 0, 0},
  10396. {0x29, 0, 0, 0, 0},
  10397. {0x2A, 0, 0, 0, 0},
  10398. {0x2B, 0, 0, 0, 0},
  10399. {0x2C, 0, 0, 0, 0},
  10400. {0x2D, 0, 0, 0, 0},
  10401. {0x2E, 0, 0, 0, 0},
  10402. {0x2F, 0x1f, 0x1f, 0, 0},
  10403. {0x30, 0x15, 0x15, 0, 0},
  10404. {0x31, 0xf, 0xf, 0, 0},
  10405. {0x32, 0, 0, 0, 0},
  10406. {0x33, 0, 0, 0, 0},
  10407. {0x34, 0, 0, 0, 0},
  10408. {0x35, 0, 0, 0, 0},
  10409. {0x36, 0, 0, 0, 0},
  10410. {0x37, 0, 0, 0, 0},
  10411. {0x38, 0, 0, 0, 0},
  10412. {0x39, 0, 0, 0, 0},
  10413. {0x3A, 0, 0, 0, 0},
  10414. {0x3B, 0, 0, 0, 0},
  10415. {0x3C, 0x13, 0x13, 0, 0},
  10416. {0x3D, 0xf, 0xf, 0, 0},
  10417. {0x3E, 0x18, 0x18, 0, 0},
  10418. {0x3F, 0, 0, 0, 0},
  10419. {0x40, 0, 0, 0, 0},
  10420. {0x41, 0x20, 0x20, 0, 0},
  10421. {0x42, 0x20, 0x20, 0, 0},
  10422. {0x43, 0, 0, 0, 0},
  10423. {0x44, 0x77, 0x77, 0, 0},
  10424. {0x45, 0x7, 0x7, 0, 0},
  10425. {0x46, 0x1, 0x1, 0, 0},
  10426. {0x47, 0x4, 0x4, 0, 0},
  10427. {0x48, 0xf, 0xf, 0, 0},
  10428. {0x49, 0x30, 0x30, 0, 0},
  10429. {0x4A, 0x32, 0x32, 0, 0},
  10430. {0x4B, 0xd, 0xd, 0, 0},
  10431. {0x4C, 0xd, 0xd, 0, 0},
  10432. {0x4D, 0x4, 0x4, 0, 0},
  10433. {0x4E, 0x6, 0x6, 0, 0},
  10434. {0x4F, 0x1, 0x1, 0, 0},
  10435. {0x50, 0x1c, 0x1c, 0, 0},
  10436. {0x51, 0x2, 0x2, 0, 0},
  10437. {0x52, 0x2, 0x2, 0, 0},
  10438. {0x53, 0xf7, 0xf7, 1, 1},
  10439. {0x54, 0xb4, 0xb4, 0, 0},
  10440. {0x55, 0xd2, 0xd2, 0, 0},
  10441. {0x56, 0, 0, 0, 0},
  10442. {0x57, 0, 0, 0, 0},
  10443. {0x58, 0x4, 0x4, 0, 0},
  10444. {0x59, 0x96, 0x96, 0, 0},
  10445. {0x5A, 0x3e, 0x3e, 0, 0},
  10446. {0x5B, 0x3e, 0x3e, 0, 0},
  10447. {0x5C, 0x13, 0x13, 0, 0},
  10448. {0x5D, 0x2, 0x2, 0, 0},
  10449. {0x5E, 0, 0, 0, 0},
  10450. {0x5F, 0x7, 0x7, 0, 0},
  10451. {0x60, 0x7, 0x7, 1, 1},
  10452. {0x61, 0x8, 0x8, 0, 0},
  10453. {0x62, 0x3, 0x3, 0, 0},
  10454. {0x63, 0, 0, 0, 0},
  10455. {0x64, 0, 0, 0, 0},
  10456. {0x65, 0, 0, 0, 0},
  10457. {0x66, 0, 0, 0, 0},
  10458. {0x67, 0, 0, 0, 0},
  10459. {0x68, 0x40, 0x40, 0, 0},
  10460. {0x69, 0, 0, 0, 0},
  10461. {0x6A, 0, 0, 0, 0},
  10462. {0x6B, 0, 0, 0, 0},
  10463. {0x6C, 0, 0, 0, 0},
  10464. {0x6D, 0x1, 0x1, 0, 0},
  10465. {0x6E, 0, 0, 0, 0},
  10466. {0x6F, 0, 0, 0, 0},
  10467. {0x70, 0x60, 0x60, 0, 0},
  10468. {0x71, 0x66, 0x66, 0, 0},
  10469. {0x72, 0xc, 0xc, 0, 0},
  10470. {0x73, 0x66, 0x66, 0, 0},
  10471. {0x74, 0x8f, 0x8f, 1, 1},
  10472. {0x75, 0, 0, 0, 0},
  10473. {0x76, 0xcc, 0xcc, 0, 0},
  10474. {0x77, 0x1, 0x1, 0, 0},
  10475. {0x78, 0x66, 0x66, 0, 0},
  10476. {0x79, 0x66, 0x66, 0, 0},
  10477. {0x7A, 0, 0, 0, 0},
  10478. {0x7B, 0, 0, 0, 0},
  10479. {0x7C, 0, 0, 0, 0},
  10480. {0x7D, 0, 0, 0, 0},
  10481. {0x7E, 0, 0, 0, 0},
  10482. {0x7F, 0, 0, 0, 0},
  10483. {0x80, 0, 0, 0, 0},
  10484. {0x81, 0, 0, 0, 0},
  10485. {0x82, 0, 0, 0, 0},
  10486. {0x83, 0, 0, 0, 0},
  10487. {0x84, 0, 0, 0, 0},
  10488. {0x85, 0xff, 0xff, 0, 0},
  10489. {0x86, 0, 0, 0, 0},
  10490. {0x87, 0, 0, 0, 0},
  10491. {0x88, 0, 0, 0, 0},
  10492. {0x89, 0, 0, 0, 0},
  10493. {0x8A, 0, 0, 0, 0},
  10494. {0x8B, 0, 0, 0, 0},
  10495. {0x8C, 0, 0, 0, 0},
  10496. {0x8D, 0, 0, 0, 0},
  10497. {0x8E, 0, 0, 0, 0},
  10498. {0x8F, 0, 0, 0, 0},
  10499. {0x90, 0, 0, 0, 0},
  10500. {0x91, 0, 0, 0, 0},
  10501. {0x92, 0, 0, 0, 0},
  10502. {0x93, 0, 0, 0, 0},
  10503. {0x94, 0, 0, 0, 0},
  10504. {0x95, 0, 0, 0, 0},
  10505. {0x96, 0, 0, 0, 0},
  10506. {0x97, 0, 0, 0, 0},
  10507. {0x98, 0, 0, 0, 0},
  10508. {0x99, 0, 0, 0, 0},
  10509. {0x9A, 0, 0, 0, 0},
  10510. {0x9B, 0, 0, 0, 0},
  10511. {0x9C, 0, 0, 0, 0},
  10512. {0x9D, 0, 0, 0, 0},
  10513. {0x9E, 0, 0, 0, 0},
  10514. {0x9F, 0x6, 0x6, 0, 0},
  10515. {0xA0, 0x66, 0x66, 0, 0},
  10516. {0xA1, 0x66, 0x66, 0, 0},
  10517. {0xA2, 0x66, 0x66, 0, 0},
  10518. {0xA3, 0x66, 0x66, 0, 0},
  10519. {0xA4, 0x66, 0x66, 0, 0},
  10520. {0xA5, 0x66, 0x66, 0, 0},
  10521. {0xA6, 0x66, 0x66, 0, 0},
  10522. {0xA7, 0x66, 0x66, 0, 0},
  10523. {0xA8, 0x66, 0x66, 0, 0},
  10524. {0xA9, 0x66, 0x66, 0, 0},
  10525. {0xAA, 0x66, 0x66, 0, 0},
  10526. {0xAB, 0x66, 0x66, 0, 0},
  10527. {0xAC, 0x66, 0x66, 0, 0},
  10528. {0xAD, 0x66, 0x66, 0, 0},
  10529. {0xAE, 0x66, 0x66, 0, 0},
  10530. {0xAF, 0x66, 0x66, 0, 0},
  10531. {0xB0, 0x66, 0x66, 0, 0},
  10532. {0xB1, 0x66, 0x66, 0, 0},
  10533. {0xB2, 0x66, 0x66, 0, 0},
  10534. {0xB3, 0xa, 0xa, 0, 0},
  10535. {0xB4, 0, 0, 0, 0},
  10536. {0xB5, 0, 0, 0, 0},
  10537. {0xB6, 0, 0, 0, 0},
  10538. {0xFFFF, 0, 0, 0, 0},
  10539. };
  10540. static struct radio_regs regs_TX_2056_rev8[] = {
  10541. {0x02, 0, 0, 0, 0},
  10542. {0x03, 0, 0, 0, 0},
  10543. {0x04, 0, 0, 0, 0},
  10544. {0x05, 0, 0, 0, 0},
  10545. {0x06, 0, 0, 0, 0},
  10546. {0x07, 0, 0, 0, 0},
  10547. {0x08, 0, 0, 0, 0},
  10548. {0x09, 0, 0, 0, 0},
  10549. {0x0A, 0, 0, 0, 0},
  10550. {0x0B, 0, 0, 0, 0},
  10551. {0x0C, 0, 0, 0, 0},
  10552. {0x0D, 0, 0, 0, 0},
  10553. {0x0E, 0, 0, 0, 0},
  10554. {0x0F, 0, 0, 0, 0},
  10555. {0x10, 0, 0, 0, 0},
  10556. {0x11, 0, 0, 0, 0},
  10557. {0x12, 0, 0, 0, 0},
  10558. {0x13, 0, 0, 0, 0},
  10559. {0x14, 0, 0, 0, 0},
  10560. {0x15, 0, 0, 0, 0},
  10561. {0x16, 0, 0, 0, 0},
  10562. {0x17, 0, 0, 0, 0},
  10563. {0x18, 0, 0, 0, 0},
  10564. {0x19, 0, 0, 0, 0},
  10565. {0x1A, 0, 0, 0, 0},
  10566. {0x1B, 0, 0, 0, 0},
  10567. {0x1C, 0, 0, 0, 0},
  10568. {0x1D, 0, 0, 0, 0},
  10569. {0x1E, 0, 0, 0, 0},
  10570. {0x1F, 0, 0, 0, 0},
  10571. {0x20, 0, 0, 0, 0},
  10572. {0x21, 0x88, 0x88, 0, 0},
  10573. {0x22, 0x88, 0x88, 0, 0},
  10574. {0x23, 0x88, 0x88, 0, 0},
  10575. {0x24, 0x88, 0x88, 0, 0},
  10576. {0x25, 0xc, 0xc, 0, 0},
  10577. {0x26, 0, 0, 0, 0},
  10578. {0x27, 0x3, 0x3, 0, 0},
  10579. {0x28, 0, 0, 0, 0},
  10580. {0x29, 0x3, 0x3, 0, 0},
  10581. {0x2A, 0x37, 0x37, 0, 0},
  10582. {0x2B, 0x3, 0x3, 0, 0},
  10583. {0x2C, 0, 0, 0, 0},
  10584. {0x2D, 0, 0, 0, 0},
  10585. {0x2E, 0x1, 0x1, 0, 0},
  10586. {0x2F, 0x1, 0x1, 0, 0},
  10587. {0x30, 0, 0, 0, 0},
  10588. {0x31, 0, 0, 0, 0},
  10589. {0x32, 0, 0, 0, 0},
  10590. {0x33, 0x11, 0x11, 0, 0},
  10591. {0x34, 0xee, 0xee, 1, 1},
  10592. {0x35, 0, 0, 0, 0},
  10593. {0x36, 0, 0, 0, 0},
  10594. {0x37, 0x3, 0x3, 0, 0},
  10595. {0x38, 0x50, 0x50, 1, 1},
  10596. {0x39, 0, 0, 0, 0},
  10597. {0x3A, 0x50, 0x50, 1, 1},
  10598. {0x3B, 0, 0, 0, 0},
  10599. {0x3C, 0x6e, 0x6e, 0, 0},
  10600. {0x3D, 0xf0, 0xf0, 1, 1},
  10601. {0x3E, 0, 0, 0, 0},
  10602. {0x3F, 0, 0, 0, 0},
  10603. {0x40, 0, 0, 0, 0},
  10604. {0x41, 0x3, 0x3, 0, 0},
  10605. {0x42, 0x3, 0x3, 0, 0},
  10606. {0x43, 0, 0, 0, 0},
  10607. {0x44, 0x1e, 0x1e, 0, 0},
  10608. {0x45, 0, 0, 0, 0},
  10609. {0x46, 0x6e, 0x6e, 0, 0},
  10610. {0x47, 0xf0, 0xf0, 1, 1},
  10611. {0x48, 0, 0, 0, 0},
  10612. {0x49, 0x2, 0x2, 0, 0},
  10613. {0x4A, 0xff, 0xff, 1, 1},
  10614. {0x4B, 0xc, 0xc, 0, 0},
  10615. {0x4C, 0, 0, 0, 0},
  10616. {0x4D, 0x38, 0x38, 0, 0},
  10617. {0x4E, 0x70, 0x70, 1, 1},
  10618. {0x4F, 0x2, 0x2, 0, 0},
  10619. {0x50, 0x88, 0x88, 0, 0},
  10620. {0x51, 0xc, 0xc, 0, 0},
  10621. {0x52, 0, 0, 0, 0},
  10622. {0x53, 0x8, 0x8, 0, 0},
  10623. {0x54, 0x70, 0x70, 1, 1},
  10624. {0x55, 0x2, 0x2, 0, 0},
  10625. {0x56, 0xff, 0xff, 1, 1},
  10626. {0x57, 0, 0, 0, 0},
  10627. {0x58, 0x83, 0x83, 0, 0},
  10628. {0x59, 0x77, 0x77, 1, 1},
  10629. {0x5A, 0, 0, 0, 0},
  10630. {0x5B, 0x2, 0x2, 0, 0},
  10631. {0x5C, 0x88, 0x88, 0, 0},
  10632. {0x5D, 0, 0, 0, 0},
  10633. {0x5E, 0x8, 0x8, 0, 0},
  10634. {0x5F, 0x77, 0x77, 1, 1},
  10635. {0x60, 0x1, 0x1, 0, 0},
  10636. {0x61, 0, 0, 0, 0},
  10637. {0x62, 0x7, 0x7, 0, 0},
  10638. {0x63, 0, 0, 0, 0},
  10639. {0x64, 0x7, 0x7, 0, 0},
  10640. {0x65, 0, 0, 0, 0},
  10641. {0x66, 0, 0, 0, 0},
  10642. {0x67, 0, 0, 1, 1},
  10643. {0x68, 0, 0, 0, 0},
  10644. {0x69, 0xa, 0xa, 0, 0},
  10645. {0x6A, 0, 0, 0, 0},
  10646. {0x6B, 0, 0, 0, 0},
  10647. {0x6C, 0, 0, 0, 0},
  10648. {0x6D, 0, 0, 0, 0},
  10649. {0x6E, 0, 0, 0, 0},
  10650. {0x6F, 0, 0, 0, 0},
  10651. {0x70, 0, 0, 0, 0},
  10652. {0x71, 0x2, 0x2, 0, 0},
  10653. {0x72, 0, 0, 0, 0},
  10654. {0x73, 0, 0, 0, 0},
  10655. {0x74, 0xe, 0xe, 0, 0},
  10656. {0x75, 0xe, 0xe, 0, 0},
  10657. {0x76, 0xe, 0xe, 0, 0},
  10658. {0x77, 0x13, 0x13, 0, 0},
  10659. {0x78, 0x13, 0x13, 0, 0},
  10660. {0x79, 0x1b, 0x1b, 0, 0},
  10661. {0x7A, 0x1b, 0x1b, 0, 0},
  10662. {0x7B, 0x55, 0x55, 0, 0},
  10663. {0x7C, 0x5b, 0x5b, 0, 0},
  10664. {0x7D, 0x30, 0x30, 1, 1},
  10665. {0x7E, 0, 0, 0, 0},
  10666. {0x7F, 0, 0, 0, 0},
  10667. {0x80, 0, 0, 0, 0},
  10668. {0x81, 0, 0, 0, 0},
  10669. {0x82, 0, 0, 0, 0},
  10670. {0x83, 0, 0, 0, 0},
  10671. {0x84, 0, 0, 0, 0},
  10672. {0x85, 0, 0, 0, 0},
  10673. {0x86, 0, 0, 0, 0},
  10674. {0x87, 0, 0, 0, 0},
  10675. {0x88, 0, 0, 0, 0},
  10676. {0x89, 0, 0, 0, 0},
  10677. {0x8A, 0, 0, 0, 0},
  10678. {0x8B, 0, 0, 0, 0},
  10679. {0x8C, 0, 0, 0, 0},
  10680. {0x8D, 0, 0, 0, 0},
  10681. {0x8E, 0, 0, 0, 0},
  10682. {0x8F, 0, 0, 0, 0},
  10683. {0x90, 0, 0, 0, 0},
  10684. {0x91, 0, 0, 0, 0},
  10685. {0x92, 0, 0, 0, 0},
  10686. {0x93, 0x70, 0x70, 0, 0},
  10687. {0x94, 0x70, 0x70, 0, 0},
  10688. {0x95, 0x70, 0x70, 0, 0},
  10689. {0x96, 0x70, 0x70, 0, 0},
  10690. {0x97, 0x70, 0x70, 0, 0},
  10691. {0x98, 0x70, 0x70, 0, 0},
  10692. {0x99, 0x70, 0x70, 0, 0},
  10693. {0x9A, 0x70, 0x70, 0, 0},
  10694. {0xFFFF, 0, 0, 0, 0},
  10695. };
  10696. static struct radio_regs regs_RX_2056_rev8[] = {
  10697. {0x02, 0, 0, 0, 0},
  10698. {0x03, 0, 0, 0, 0},
  10699. {0x04, 0, 0, 0, 0},
  10700. {0x05, 0, 0, 0, 0},
  10701. {0x06, 0, 0, 0, 0},
  10702. {0x07, 0, 0, 0, 0},
  10703. {0x08, 0, 0, 0, 0},
  10704. {0x09, 0, 0, 0, 0},
  10705. {0x0A, 0, 0, 0, 0},
  10706. {0x0B, 0, 0, 0, 0},
  10707. {0x0C, 0, 0, 0, 0},
  10708. {0x0D, 0, 0, 0, 0},
  10709. {0x0E, 0, 0, 0, 0},
  10710. {0x0F, 0, 0, 0, 0},
  10711. {0x10, 0, 0, 0, 0},
  10712. {0x11, 0, 0, 0, 0},
  10713. {0x12, 0, 0, 0, 0},
  10714. {0x13, 0, 0, 0, 0},
  10715. {0x14, 0, 0, 0, 0},
  10716. {0x15, 0, 0, 0, 0},
  10717. {0x16, 0, 0, 0, 0},
  10718. {0x17, 0, 0, 0, 0},
  10719. {0x18, 0, 0, 0, 0},
  10720. {0x19, 0, 0, 0, 0},
  10721. {0x1A, 0, 0, 0, 0},
  10722. {0x1B, 0, 0, 0, 0},
  10723. {0x1C, 0, 0, 0, 0},
  10724. {0x1D, 0, 0, 0, 0},
  10725. {0x1E, 0, 0, 0, 0},
  10726. {0x1F, 0, 0, 0, 0},
  10727. {0x20, 0x3, 0x3, 0, 0},
  10728. {0x21, 0, 0, 0, 0},
  10729. {0x22, 0, 0, 0, 0},
  10730. {0x23, 0x90, 0x90, 0, 0},
  10731. {0x24, 0x55, 0x55, 0, 0},
  10732. {0x25, 0x15, 0x15, 0, 0},
  10733. {0x26, 0x5, 0x5, 0, 0},
  10734. {0x27, 0x15, 0x15, 0, 0},
  10735. {0x28, 0x5, 0x5, 0, 0},
  10736. {0x29, 0x20, 0x20, 0, 0},
  10737. {0x2A, 0x11, 0x11, 0, 0},
  10738. {0x2B, 0x90, 0x90, 0, 0},
  10739. {0x2C, 0, 0, 0, 0},
  10740. {0x2D, 0x88, 0x88, 0, 0},
  10741. {0x2E, 0x32, 0x32, 0, 0},
  10742. {0x2F, 0x77, 0x77, 0, 0},
  10743. {0x30, 0x17, 0x17, 1, 1},
  10744. {0x31, 0xff, 0xff, 1, 1},
  10745. {0x32, 0x20, 0x20, 0, 0},
  10746. {0x33, 0, 0, 0, 0},
  10747. {0x34, 0x88, 0x88, 0, 0},
  10748. {0x35, 0x32, 0x32, 0, 0},
  10749. {0x36, 0x77, 0x77, 0, 0},
  10750. {0x37, 0x17, 0x17, 1, 1},
  10751. {0x38, 0xf0, 0xf0, 1, 1},
  10752. {0x39, 0x20, 0x20, 0, 0},
  10753. {0x3A, 0x8, 0x8, 0, 0},
  10754. {0x3B, 0x55, 0x55, 1, 1},
  10755. {0x3C, 0, 0, 0, 0},
  10756. {0x3D, 0x88, 0x88, 1, 1},
  10757. {0x3E, 0, 0, 0, 0},
  10758. {0x3F, 0x44, 0x44, 0, 0},
  10759. {0x40, 0x7, 0x7, 1, 1},
  10760. {0x41, 0x6, 0x6, 0, 0},
  10761. {0x42, 0x4, 0x4, 0, 0},
  10762. {0x43, 0, 0, 0, 0},
  10763. {0x44, 0x8, 0x8, 0, 0},
  10764. {0x45, 0x55, 0x55, 1, 1},
  10765. {0x46, 0, 0, 0, 0},
  10766. {0x47, 0x11, 0x11, 0, 0},
  10767. {0x48, 0, 0, 0, 0},
  10768. {0x49, 0x44, 0x44, 0, 0},
  10769. {0x4A, 0x7, 0x7, 0, 0},
  10770. {0x4B, 0x6, 0x6, 0, 0},
  10771. {0x4C, 0x4, 0x4, 0, 0},
  10772. {0x4D, 0, 0, 0, 0},
  10773. {0x4E, 0, 0, 0, 0},
  10774. {0x4F, 0x26, 0x26, 1, 1},
  10775. {0x50, 0x26, 0x26, 1, 1},
  10776. {0x51, 0xf, 0xf, 1, 1},
  10777. {0x52, 0xf, 0xf, 1, 1},
  10778. {0x53, 0x44, 0x44, 0, 0},
  10779. {0x54, 0, 0, 0, 0},
  10780. {0x55, 0, 0, 0, 0},
  10781. {0x56, 0x8, 0x8, 0, 0},
  10782. {0x57, 0x8, 0x8, 0, 0},
  10783. {0x58, 0x7, 0x7, 0, 0},
  10784. {0x59, 0x22, 0x22, 0, 0},
  10785. {0x5A, 0x22, 0x22, 0, 0},
  10786. {0x5B, 0x2, 0x2, 0, 0},
  10787. {0x5C, 0x4, 0x4, 1, 1},
  10788. {0x5D, 0x7, 0x7, 0, 0},
  10789. {0x5E, 0x55, 0x55, 0, 0},
  10790. {0x5F, 0x23, 0x23, 0, 0},
  10791. {0x60, 0x41, 0x41, 0, 0},
  10792. {0x61, 0x1, 0x1, 0, 0},
  10793. {0x62, 0xa, 0xa, 0, 0},
  10794. {0x63, 0, 0, 0, 0},
  10795. {0x64, 0, 0, 0, 0},
  10796. {0x65, 0, 0, 0, 0},
  10797. {0x66, 0, 0, 0, 0},
  10798. {0x67, 0, 0, 0, 0},
  10799. {0x68, 0, 0, 0, 0},
  10800. {0x69, 0, 0, 0, 0},
  10801. {0x6A, 0, 0, 0, 0},
  10802. {0x6B, 0xc, 0xc, 0, 0},
  10803. {0x6C, 0, 0, 0, 0},
  10804. {0x6D, 0, 0, 0, 0},
  10805. {0x6E, 0, 0, 0, 0},
  10806. {0x6F, 0, 0, 0, 0},
  10807. {0x70, 0, 0, 0, 0},
  10808. {0x71, 0, 0, 0, 0},
  10809. {0x72, 0x22, 0x22, 0, 0},
  10810. {0x73, 0x22, 0x22, 0, 0},
  10811. {0x74, 0, 0, 1, 1},
  10812. {0x75, 0xa, 0xa, 0, 0},
  10813. {0x76, 0x1, 0x1, 0, 0},
  10814. {0x77, 0x22, 0x22, 0, 0},
  10815. {0x78, 0x30, 0x30, 0, 0},
  10816. {0x79, 0, 0, 0, 0},
  10817. {0x7A, 0, 0, 0, 0},
  10818. {0x7B, 0, 0, 0, 0},
  10819. {0x7C, 0, 0, 0, 0},
  10820. {0x7D, 0x5, 0x5, 1, 1},
  10821. {0x7E, 0, 0, 0, 0},
  10822. {0x7F, 0, 0, 0, 0},
  10823. {0x80, 0, 0, 0, 0},
  10824. {0x81, 0, 0, 0, 0},
  10825. {0x82, 0, 0, 0, 0},
  10826. {0x83, 0, 0, 0, 0},
  10827. {0x84, 0, 0, 0, 0},
  10828. {0x85, 0, 0, 0, 0},
  10829. {0x86, 0, 0, 0, 0},
  10830. {0x87, 0, 0, 0, 0},
  10831. {0x88, 0, 0, 0, 0},
  10832. {0x89, 0, 0, 0, 0},
  10833. {0x8A, 0, 0, 0, 0},
  10834. {0x8B, 0, 0, 0, 0},
  10835. {0x8C, 0, 0, 0, 0},
  10836. {0x8D, 0, 0, 0, 0},
  10837. {0x8E, 0, 0, 0, 0},
  10838. {0x8F, 0, 0, 0, 0},
  10839. {0x90, 0, 0, 0, 0},
  10840. {0x91, 0, 0, 0, 0},
  10841. {0x92, 0, 0, 0, 0},
  10842. {0x93, 0, 0, 0, 0},
  10843. {0x94, 0, 0, 0, 0},
  10844. {0xFFFF, 0, 0, 0, 0},
  10845. };
  10846. static const struct radio_regs regs_SYN_2056_rev11[] = {
  10847. {0x02, 0, 0, 0, 0},
  10848. {0x03, 0, 0, 0, 0},
  10849. {0x04, 0, 0, 0, 0},
  10850. {0x05, 0, 0, 0, 0},
  10851. {0x06, 0, 0, 0, 0},
  10852. {0x07, 0, 0, 0, 0},
  10853. {0x08, 0, 0, 0, 0},
  10854. {0x09, 0x1, 0x1, 0, 0},
  10855. {0x0A, 0, 0, 0, 0},
  10856. {0x0B, 0, 0, 0, 0},
  10857. {0x0C, 0, 0, 0, 0},
  10858. {0x0D, 0, 0, 0, 0},
  10859. {0x0E, 0, 0, 0, 0},
  10860. {0x0F, 0, 0, 0, 0},
  10861. {0x10, 0, 0, 0, 0},
  10862. {0x11, 0, 0, 0, 0},
  10863. {0x12, 0, 0, 0, 0},
  10864. {0x13, 0, 0, 0, 0},
  10865. {0x14, 0, 0, 0, 0},
  10866. {0x15, 0, 0, 0, 0},
  10867. {0x16, 0, 0, 0, 0},
  10868. {0x17, 0, 0, 0, 0},
  10869. {0x18, 0, 0, 0, 0},
  10870. {0x19, 0, 0, 0, 0},
  10871. {0x1A, 0, 0, 0, 0},
  10872. {0x1B, 0, 0, 0, 0},
  10873. {0x1C, 0, 0, 0, 0},
  10874. {0x1D, 0, 0, 0, 0},
  10875. {0x1E, 0, 0, 0, 0},
  10876. {0x1F, 0, 0, 0, 0},
  10877. {0x20, 0, 0, 0, 0},
  10878. {0x21, 0, 0, 0, 0},
  10879. {0x22, 0x60, 0x60, 0, 0},
  10880. {0x23, 0x6, 0x6, 0, 0},
  10881. {0x24, 0xc, 0xc, 0, 0},
  10882. {0x25, 0, 0, 0, 0},
  10883. {0x26, 0, 0, 0, 0},
  10884. {0x27, 0, 0, 0, 0},
  10885. {0x28, 0x1, 0x1, 0, 0},
  10886. {0x29, 0, 0, 0, 0},
  10887. {0x2A, 0, 0, 0, 0},
  10888. {0x2B, 0, 0, 0, 0},
  10889. {0x2C, 0, 0, 0, 0},
  10890. {0x2D, 0, 0, 0, 0},
  10891. {0x2E, 0, 0, 0, 0},
  10892. {0x2F, 0x1f, 0x1f, 0, 0},
  10893. {0x30, 0x15, 0x15, 0, 0},
  10894. {0x31, 0xf, 0xf, 0, 0},
  10895. {0x32, 0, 0, 0, 0},
  10896. {0x33, 0, 0, 0, 0},
  10897. {0x34, 0, 0, 0, 0},
  10898. {0x35, 0, 0, 0, 0},
  10899. {0x36, 0, 0, 0, 0},
  10900. {0x37, 0, 0, 0, 0},
  10901. {0x38, 0, 0, 0, 0},
  10902. {0x39, 0, 0, 0, 0},
  10903. {0x3A, 0, 0, 0, 0},
  10904. {0x3B, 0, 0, 0, 0},
  10905. {0x3C, 0x13, 0x13, 0, 0},
  10906. {0x3D, 0xf, 0xf, 0, 0},
  10907. {0x3E, 0x18, 0x18, 0, 0},
  10908. {0x3F, 0, 0, 0, 0},
  10909. {0x40, 0, 0, 0, 0},
  10910. {0x41, 0x20, 0x20, 0, 0},
  10911. {0x42, 0x20, 0x20, 0, 0},
  10912. {0x43, 0, 0, 0, 0},
  10913. {0x44, 0x77, 0x77, 0, 0},
  10914. {0x45, 0x7, 0x7, 0, 0},
  10915. {0x46, 0x1, 0x1, 0, 0},
  10916. {0x47, 0x6, 0x6, 1, 1},
  10917. {0x48, 0xf, 0xf, 0, 0},
  10918. {0x49, 0x3f, 0x3f, 1, 1},
  10919. {0x4A, 0x32, 0x32, 0, 0},
  10920. {0x4B, 0x6, 0x6, 1, 1},
  10921. {0x4C, 0x6, 0x6, 1, 1},
  10922. {0x4D, 0x4, 0x4, 0, 0},
  10923. {0x4E, 0x2b, 0x2b, 1, 1},
  10924. {0x4F, 0x1, 0x1, 0, 0},
  10925. {0x50, 0x1c, 0x1c, 0, 0},
  10926. {0x51, 0x2, 0x2, 0, 0},
  10927. {0x52, 0x2, 0x2, 0, 0},
  10928. {0x53, 0xf7, 0xf7, 1, 1},
  10929. {0x54, 0xb4, 0xb4, 0, 0},
  10930. {0x55, 0xd2, 0xd2, 0, 0},
  10931. {0x56, 0, 0, 0, 0},
  10932. {0x57, 0, 0, 0, 0},
  10933. {0x58, 0x4, 0x4, 0, 0},
  10934. {0x59, 0x96, 0x96, 0, 0},
  10935. {0x5A, 0x3e, 0x3e, 0, 0},
  10936. {0x5B, 0x3e, 0x3e, 0, 0},
  10937. {0x5C, 0x13, 0x13, 0, 0},
  10938. {0x5D, 0x2, 0x2, 0, 0},
  10939. {0x5E, 0, 0, 0, 0},
  10940. {0x5F, 0x7, 0x7, 0, 0},
  10941. {0x60, 0x7, 0x7, 1, 1},
  10942. {0x61, 0x8, 0x8, 0, 0},
  10943. {0x62, 0x3, 0x3, 0, 0},
  10944. {0x63, 0, 0, 0, 0},
  10945. {0x64, 0, 0, 0, 0},
  10946. {0x65, 0, 0, 0, 0},
  10947. {0x66, 0, 0, 0, 0},
  10948. {0x67, 0, 0, 0, 0},
  10949. {0x68, 0x40, 0x40, 0, 0},
  10950. {0x69, 0, 0, 0, 0},
  10951. {0x6A, 0, 0, 0, 0},
  10952. {0x6B, 0, 0, 0, 0},
  10953. {0x6C, 0, 0, 0, 0},
  10954. {0x6D, 0x1, 0x1, 0, 0},
  10955. {0x6E, 0, 0, 0, 0},
  10956. {0x6F, 0, 0, 0, 0},
  10957. {0x70, 0x60, 0x60, 0, 0},
  10958. {0x71, 0x66, 0x66, 0, 0},
  10959. {0x72, 0xc, 0xc, 0, 0},
  10960. {0x73, 0x66, 0x66, 0, 0},
  10961. {0x74, 0x8f, 0x8f, 1, 1},
  10962. {0x75, 0, 0, 0, 0},
  10963. {0x76, 0xcc, 0xcc, 0, 0},
  10964. {0x77, 0x1, 0x1, 0, 0},
  10965. {0x78, 0x66, 0x66, 0, 0},
  10966. {0x79, 0x66, 0x66, 0, 0},
  10967. {0x7A, 0, 0, 0, 0},
  10968. {0x7B, 0, 0, 0, 0},
  10969. {0x7C, 0, 0, 0, 0},
  10970. {0x7D, 0, 0, 0, 0},
  10971. {0x7E, 0, 0, 0, 0},
  10972. {0x7F, 0, 0, 0, 0},
  10973. {0x80, 0, 0, 0, 0},
  10974. {0x81, 0, 0, 0, 0},
  10975. {0x82, 0, 0, 0, 0},
  10976. {0x83, 0, 0, 0, 0},
  10977. {0x84, 0, 0, 0, 0},
  10978. {0x85, 0xff, 0xff, 0, 0},
  10979. {0x86, 0, 0, 0, 0},
  10980. {0x87, 0, 0, 0, 0},
  10981. {0x88, 0, 0, 0, 0},
  10982. {0x89, 0, 0, 0, 0},
  10983. {0x8A, 0, 0, 0, 0},
  10984. {0x8B, 0, 0, 0, 0},
  10985. {0x8C, 0, 0, 0, 0},
  10986. {0x8D, 0, 0, 0, 0},
  10987. {0x8E, 0, 0, 0, 0},
  10988. {0x8F, 0, 0, 0, 0},
  10989. {0x90, 0, 0, 0, 0},
  10990. {0x91, 0, 0, 0, 0},
  10991. {0x92, 0, 0, 0, 0},
  10992. {0x93, 0, 0, 0, 0},
  10993. {0x94, 0, 0, 0, 0},
  10994. {0x95, 0, 0, 0, 0},
  10995. {0x96, 0, 0, 0, 0},
  10996. {0x97, 0, 0, 0, 0},
  10997. {0x98, 0, 0, 0, 0},
  10998. {0x99, 0, 0, 0, 0},
  10999. {0x9A, 0, 0, 0, 0},
  11000. {0x9B, 0, 0, 0, 0},
  11001. {0x9C, 0, 0, 0, 0},
  11002. {0x9D, 0, 0, 0, 0},
  11003. {0x9E, 0, 0, 0, 0},
  11004. {0x9F, 0x6, 0x6, 0, 0},
  11005. {0xA0, 0x66, 0x66, 0, 0},
  11006. {0xA1, 0x66, 0x66, 0, 0},
  11007. {0xA2, 0x66, 0x66, 0, 0},
  11008. {0xA3, 0x66, 0x66, 0, 0},
  11009. {0xA4, 0x66, 0x66, 0, 0},
  11010. {0xA5, 0x66, 0x66, 0, 0},
  11011. {0xA6, 0x66, 0x66, 0, 0},
  11012. {0xA7, 0x66, 0x66, 0, 0},
  11013. {0xA8, 0x66, 0x66, 0, 0},
  11014. {0xA9, 0x66, 0x66, 0, 0},
  11015. {0xAA, 0x66, 0x66, 0, 0},
  11016. {0xAB, 0x66, 0x66, 0, 0},
  11017. {0xAC, 0x66, 0x66, 0, 0},
  11018. {0xAD, 0x66, 0x66, 0, 0},
  11019. {0xAE, 0x66, 0x66, 0, 0},
  11020. {0xAF, 0x66, 0x66, 0, 0},
  11021. {0xB0, 0x66, 0x66, 0, 0},
  11022. {0xB1, 0x66, 0x66, 0, 0},
  11023. {0xB2, 0x66, 0x66, 0, 0},
  11024. {0xB3, 0xa, 0xa, 0, 0},
  11025. {0xB4, 0, 0, 0, 0},
  11026. {0xB5, 0, 0, 0, 0},
  11027. {0xB6, 0, 0, 0, 0},
  11028. {0xFFFF, 0, 0, 0, 0},
  11029. };
  11030. static const struct radio_regs regs_TX_2056_rev11[] = {
  11031. {0x02, 0, 0, 0, 0},
  11032. {0x03, 0, 0, 0, 0},
  11033. {0x04, 0, 0, 0, 0},
  11034. {0x05, 0, 0, 0, 0},
  11035. {0x06, 0, 0, 0, 0},
  11036. {0x07, 0, 0, 0, 0},
  11037. {0x08, 0, 0, 0, 0},
  11038. {0x09, 0, 0, 0, 0},
  11039. {0x0A, 0, 0, 0, 0},
  11040. {0x0B, 0, 0, 0, 0},
  11041. {0x0C, 0, 0, 0, 0},
  11042. {0x0D, 0, 0, 0, 0},
  11043. {0x0E, 0, 0, 0, 0},
  11044. {0x0F, 0, 0, 0, 0},
  11045. {0x10, 0, 0, 0, 0},
  11046. {0x11, 0, 0, 0, 0},
  11047. {0x12, 0, 0, 0, 0},
  11048. {0x13, 0, 0, 0, 0},
  11049. {0x14, 0, 0, 0, 0},
  11050. {0x15, 0, 0, 0, 0},
  11051. {0x16, 0, 0, 0, 0},
  11052. {0x17, 0, 0, 0, 0},
  11053. {0x18, 0, 0, 0, 0},
  11054. {0x19, 0, 0, 0, 0},
  11055. {0x1A, 0, 0, 0, 0},
  11056. {0x1B, 0, 0, 0, 0},
  11057. {0x1C, 0, 0, 0, 0},
  11058. {0x1D, 0, 0, 0, 0},
  11059. {0x1E, 0, 0, 0, 0},
  11060. {0x1F, 0, 0, 0, 0},
  11061. {0x20, 0, 0, 0, 0},
  11062. {0x21, 0x88, 0x88, 0, 0},
  11063. {0x22, 0x88, 0x88, 0, 0},
  11064. {0x23, 0x88, 0x88, 0, 0},
  11065. {0x24, 0x88, 0x88, 0, 0},
  11066. {0x25, 0xc, 0xc, 0, 0},
  11067. {0x26, 0, 0, 0, 0},
  11068. {0x27, 0x3, 0x3, 0, 0},
  11069. {0x28, 0, 0, 0, 0},
  11070. {0x29, 0x3, 0x3, 0, 0},
  11071. {0x2A, 0x37, 0x37, 0, 0},
  11072. {0x2B, 0x3, 0x3, 0, 0},
  11073. {0x2C, 0, 0, 0, 0},
  11074. {0x2D, 0, 0, 0, 0},
  11075. {0x2E, 0x1, 0x1, 0, 0},
  11076. {0x2F, 0x1, 0x1, 0, 0},
  11077. {0x30, 0, 0, 0, 0},
  11078. {0x31, 0, 0, 0, 0},
  11079. {0x32, 0, 0, 0, 0},
  11080. {0x33, 0x11, 0x11, 0, 0},
  11081. {0x34, 0xee, 0xee, 1, 1},
  11082. {0x35, 0, 0, 0, 0},
  11083. {0x36, 0, 0, 0, 0},
  11084. {0x37, 0x3, 0x3, 0, 0},
  11085. {0x38, 0x50, 0x50, 1, 1},
  11086. {0x39, 0, 0, 0, 0},
  11087. {0x3A, 0x50, 0x50, 1, 1},
  11088. {0x3B, 0, 0, 0, 0},
  11089. {0x3C, 0x6e, 0x6e, 0, 0},
  11090. {0x3D, 0xf0, 0xf0, 1, 1},
  11091. {0x3E, 0, 0, 0, 0},
  11092. {0x3F, 0, 0, 0, 0},
  11093. {0x40, 0, 0, 0, 0},
  11094. {0x41, 0x3, 0x3, 0, 0},
  11095. {0x42, 0x3, 0x3, 0, 0},
  11096. {0x43, 0, 0, 0, 0},
  11097. {0x44, 0x1e, 0x1e, 0, 0},
  11098. {0x45, 0, 0, 0, 0},
  11099. {0x46, 0x6e, 0x6e, 0, 0},
  11100. {0x47, 0xf0, 0xf0, 1, 1},
  11101. {0x48, 0, 0, 0, 0},
  11102. {0x49, 0x2, 0x2, 0, 0},
  11103. {0x4A, 0xff, 0xff, 1, 1},
  11104. {0x4B, 0xc, 0xc, 0, 0},
  11105. {0x4C, 0, 0, 0, 0},
  11106. {0x4D, 0x38, 0x38, 0, 0},
  11107. {0x4E, 0x70, 0x70, 1, 1},
  11108. {0x4F, 0x2, 0x2, 0, 0},
  11109. {0x50, 0x88, 0x88, 0, 0},
  11110. {0x51, 0xc, 0xc, 0, 0},
  11111. {0x52, 0, 0, 0, 0},
  11112. {0x53, 0x8, 0x8, 0, 0},
  11113. {0x54, 0x70, 0x70, 1, 1},
  11114. {0x55, 0x2, 0x2, 0, 0},
  11115. {0x56, 0xff, 0xff, 1, 1},
  11116. {0x57, 0, 0, 0, 0},
  11117. {0x58, 0x83, 0x83, 0, 0},
  11118. {0x59, 0x77, 0x77, 1, 1},
  11119. {0x5A, 0, 0, 0, 0},
  11120. {0x5B, 0x2, 0x2, 0, 0},
  11121. {0x5C, 0x88, 0x88, 0, 0},
  11122. {0x5D, 0, 0, 0, 0},
  11123. {0x5E, 0x8, 0x8, 0, 0},
  11124. {0x5F, 0x77, 0x77, 1, 1},
  11125. {0x60, 0x1, 0x1, 0, 0},
  11126. {0x61, 0, 0, 0, 0},
  11127. {0x62, 0x7, 0x7, 0, 0},
  11128. {0x63, 0, 0, 0, 0},
  11129. {0x64, 0x7, 0x7, 0, 0},
  11130. {0x65, 0, 0, 0, 0},
  11131. {0x66, 0, 0, 0, 0},
  11132. {0x67, 0, 0, 1, 1},
  11133. {0x68, 0, 0, 0, 0},
  11134. {0x69, 0xa, 0xa, 0, 0},
  11135. {0x6A, 0, 0, 0, 0},
  11136. {0x6B, 0, 0, 0, 0},
  11137. {0x6C, 0, 0, 0, 0},
  11138. {0x6D, 0, 0, 0, 0},
  11139. {0x6E, 0, 0, 0, 0},
  11140. {0x6F, 0, 0, 0, 0},
  11141. {0x70, 0, 0, 0, 0},
  11142. {0x71, 0x2, 0x2, 0, 0},
  11143. {0x72, 0, 0, 0, 0},
  11144. {0x73, 0, 0, 0, 0},
  11145. {0x74, 0xe, 0xe, 0, 0},
  11146. {0x75, 0xe, 0xe, 0, 0},
  11147. {0x76, 0xe, 0xe, 0, 0},
  11148. {0x77, 0x13, 0x13, 0, 0},
  11149. {0x78, 0x13, 0x13, 0, 0},
  11150. {0x79, 0x1b, 0x1b, 0, 0},
  11151. {0x7A, 0x1b, 0x1b, 0, 0},
  11152. {0x7B, 0x55, 0x55, 0, 0},
  11153. {0x7C, 0x5b, 0x5b, 0, 0},
  11154. {0x7D, 0x30, 0x30, 1, 1},
  11155. {0x7E, 0, 0, 0, 0},
  11156. {0x7F, 0, 0, 0, 0},
  11157. {0x80, 0, 0, 0, 0},
  11158. {0x81, 0, 0, 0, 0},
  11159. {0x82, 0, 0, 0, 0},
  11160. {0x83, 0, 0, 0, 0},
  11161. {0x84, 0, 0, 0, 0},
  11162. {0x85, 0, 0, 0, 0},
  11163. {0x86, 0, 0, 0, 0},
  11164. {0x87, 0, 0, 0, 0},
  11165. {0x88, 0, 0, 0, 0},
  11166. {0x89, 0, 0, 0, 0},
  11167. {0x8A, 0, 0, 0, 0},
  11168. {0x8B, 0, 0, 0, 0},
  11169. {0x8C, 0, 0, 0, 0},
  11170. {0x8D, 0, 0, 0, 0},
  11171. {0x8E, 0, 0, 0, 0},
  11172. {0x8F, 0, 0, 0, 0},
  11173. {0x90, 0, 0, 0, 0},
  11174. {0x91, 0, 0, 0, 0},
  11175. {0x92, 0, 0, 0, 0},
  11176. {0x93, 0x70, 0x70, 0, 0},
  11177. {0x94, 0x70, 0x70, 0, 0},
  11178. {0x95, 0x70, 0x70, 0, 0},
  11179. {0x96, 0x70, 0x70, 0, 0},
  11180. {0x97, 0x70, 0x70, 0, 0},
  11181. {0x98, 0x70, 0x70, 0, 0},
  11182. {0x99, 0x70, 0x70, 0, 0},
  11183. {0x9A, 0x70, 0x70, 0, 0},
  11184. {0xFFFF, 0, 0, 0, 0},
  11185. };
  11186. static const struct radio_regs regs_RX_2056_rev11[] = {
  11187. {0x02, 0, 0, 0, 0},
  11188. {0x03, 0, 0, 0, 0},
  11189. {0x04, 0, 0, 0, 0},
  11190. {0x05, 0, 0, 0, 0},
  11191. {0x06, 0, 0, 0, 0},
  11192. {0x07, 0, 0, 0, 0},
  11193. {0x08, 0, 0, 0, 0},
  11194. {0x09, 0, 0, 0, 0},
  11195. {0x0A, 0, 0, 0, 0},
  11196. {0x0B, 0, 0, 0, 0},
  11197. {0x0C, 0, 0, 0, 0},
  11198. {0x0D, 0, 0, 0, 0},
  11199. {0x0E, 0, 0, 0, 0},
  11200. {0x0F, 0, 0, 0, 0},
  11201. {0x10, 0, 0, 0, 0},
  11202. {0x11, 0, 0, 0, 0},
  11203. {0x12, 0, 0, 0, 0},
  11204. {0x13, 0, 0, 0, 0},
  11205. {0x14, 0, 0, 0, 0},
  11206. {0x15, 0, 0, 0, 0},
  11207. {0x16, 0, 0, 0, 0},
  11208. {0x17, 0, 0, 0, 0},
  11209. {0x18, 0, 0, 0, 0},
  11210. {0x19, 0, 0, 0, 0},
  11211. {0x1A, 0, 0, 0, 0},
  11212. {0x1B, 0, 0, 0, 0},
  11213. {0x1C, 0, 0, 0, 0},
  11214. {0x1D, 0, 0, 0, 0},
  11215. {0x1E, 0, 0, 0, 0},
  11216. {0x1F, 0, 0, 0, 0},
  11217. {0x20, 0x3, 0x3, 0, 0},
  11218. {0x21, 0, 0, 0, 0},
  11219. {0x22, 0, 0, 0, 0},
  11220. {0x23, 0x90, 0x90, 0, 0},
  11221. {0x24, 0x55, 0x55, 0, 0},
  11222. {0x25, 0x15, 0x15, 0, 0},
  11223. {0x26, 0x5, 0x5, 0, 0},
  11224. {0x27, 0x15, 0x15, 0, 0},
  11225. {0x28, 0x5, 0x5, 0, 0},
  11226. {0x29, 0x20, 0x20, 0, 0},
  11227. {0x2A, 0x11, 0x11, 0, 0},
  11228. {0x2B, 0x90, 0x90, 0, 0},
  11229. {0x2C, 0, 0, 0, 0},
  11230. {0x2D, 0x88, 0x88, 0, 0},
  11231. {0x2E, 0x32, 0x32, 0, 0},
  11232. {0x2F, 0x77, 0x77, 0, 0},
  11233. {0x30, 0x17, 0x17, 1, 1},
  11234. {0x31, 0xff, 0xff, 1, 1},
  11235. {0x32, 0x20, 0x20, 0, 0},
  11236. {0x33, 0, 0, 0, 0},
  11237. {0x34, 0x88, 0x88, 0, 0},
  11238. {0x35, 0x32, 0x32, 0, 0},
  11239. {0x36, 0x77, 0x77, 0, 0},
  11240. {0x37, 0x17, 0x17, 1, 1},
  11241. {0x38, 0xf0, 0xf0, 1, 1},
  11242. {0x39, 0x20, 0x20, 0, 0},
  11243. {0x3A, 0x8, 0x8, 0, 0},
  11244. {0x3B, 0x55, 0x55, 1, 1},
  11245. {0x3C, 0, 0, 0, 0},
  11246. {0x3D, 0x88, 0x88, 1, 1},
  11247. {0x3E, 0, 0, 0, 0},
  11248. {0x3F, 0x44, 0x44, 0, 0},
  11249. {0x40, 0x7, 0x7, 1, 1},
  11250. {0x41, 0x6, 0x6, 0, 0},
  11251. {0x42, 0x4, 0x4, 0, 0},
  11252. {0x43, 0, 0, 0, 0},
  11253. {0x44, 0x8, 0x8, 0, 0},
  11254. {0x45, 0x55, 0x55, 1, 1},
  11255. {0x46, 0, 0, 0, 0},
  11256. {0x47, 0x11, 0x11, 0, 0},
  11257. {0x48, 0, 0, 0, 0},
  11258. {0x49, 0x44, 0x44, 0, 0},
  11259. {0x4A, 0x7, 0x7, 0, 0},
  11260. {0x4B, 0x6, 0x6, 0, 0},
  11261. {0x4C, 0x4, 0x4, 0, 0},
  11262. {0x4D, 0, 0, 0, 0},
  11263. {0x4E, 0, 0, 0, 0},
  11264. {0x4F, 0x26, 0x26, 1, 1},
  11265. {0x50, 0x26, 0x26, 1, 1},
  11266. {0x51, 0xf, 0xf, 1, 1},
  11267. {0x52, 0xf, 0xf, 1, 1},
  11268. {0x53, 0x44, 0x44, 0, 0},
  11269. {0x54, 0, 0, 0, 0},
  11270. {0x55, 0, 0, 0, 0},
  11271. {0x56, 0x8, 0x8, 0, 0},
  11272. {0x57, 0x8, 0x8, 0, 0},
  11273. {0x58, 0x7, 0x7, 0, 0},
  11274. {0x59, 0x22, 0x22, 0, 0},
  11275. {0x5A, 0x22, 0x22, 0, 0},
  11276. {0x5B, 0x2, 0x2, 0, 0},
  11277. {0x5C, 0x4, 0x4, 1, 1},
  11278. {0x5D, 0x7, 0x7, 0, 0},
  11279. {0x5E, 0x55, 0x55, 0, 0},
  11280. {0x5F, 0x23, 0x23, 0, 0},
  11281. {0x60, 0x41, 0x41, 0, 0},
  11282. {0x61, 0x1, 0x1, 0, 0},
  11283. {0x62, 0xa, 0xa, 0, 0},
  11284. {0x63, 0, 0, 0, 0},
  11285. {0x64, 0, 0, 0, 0},
  11286. {0x65, 0, 0, 0, 0},
  11287. {0x66, 0, 0, 0, 0},
  11288. {0x67, 0, 0, 0, 0},
  11289. {0x68, 0, 0, 0, 0},
  11290. {0x69, 0, 0, 0, 0},
  11291. {0x6A, 0, 0, 0, 0},
  11292. {0x6B, 0xc, 0xc, 0, 0},
  11293. {0x6C, 0, 0, 0, 0},
  11294. {0x6D, 0, 0, 0, 0},
  11295. {0x6E, 0, 0, 0, 0},
  11296. {0x6F, 0, 0, 0, 0},
  11297. {0x70, 0, 0, 0, 0},
  11298. {0x71, 0, 0, 0, 0},
  11299. {0x72, 0x22, 0x22, 0, 0},
  11300. {0x73, 0x22, 0x22, 0, 0},
  11301. {0x74, 0, 0, 1, 1},
  11302. {0x75, 0xa, 0xa, 0, 0},
  11303. {0x76, 0x1, 0x1, 0, 0},
  11304. {0x77, 0x22, 0x22, 0, 0},
  11305. {0x78, 0x30, 0x30, 0, 0},
  11306. {0x79, 0, 0, 0, 0},
  11307. {0x7A, 0, 0, 0, 0},
  11308. {0x7B, 0, 0, 0, 0},
  11309. {0x7C, 0, 0, 0, 0},
  11310. {0x7D, 0x5, 0x5, 1, 1},
  11311. {0x7E, 0, 0, 0, 0},
  11312. {0x7F, 0, 0, 0, 0},
  11313. {0x80, 0, 0, 0, 0},
  11314. {0x81, 0, 0, 0, 0},
  11315. {0x82, 0, 0, 0, 0},
  11316. {0x83, 0, 0, 0, 0},
  11317. {0x84, 0, 0, 0, 0},
  11318. {0x85, 0, 0, 0, 0},
  11319. {0x86, 0, 0, 0, 0},
  11320. {0x87, 0, 0, 0, 0},
  11321. {0x88, 0, 0, 0, 0},
  11322. {0x89, 0, 0, 0, 0},
  11323. {0x8A, 0, 0, 0, 0},
  11324. {0x8B, 0, 0, 0, 0},
  11325. {0x8C, 0, 0, 0, 0},
  11326. {0x8D, 0, 0, 0, 0},
  11327. {0x8E, 0, 0, 0, 0},
  11328. {0x8F, 0, 0, 0, 0},
  11329. {0x90, 0, 0, 0, 0},
  11330. {0x91, 0, 0, 0, 0},
  11331. {0x92, 0, 0, 0, 0},
  11332. {0x93, 0, 0, 0, 0},
  11333. {0x94, 0, 0, 0, 0},
  11334. {0xFFFF, 0, 0, 0, 0},
  11335. };
  11336. static struct radio_20xx_regs regs_2057_rev4[] = {
  11337. {0x00, 0x84, 0},
  11338. {0x01, 0, 0},
  11339. {0x02, 0x60, 0},
  11340. {0x03, 0x1f, 0},
  11341. {0x04, 0x4, 0},
  11342. {0x05, 0x2, 0},
  11343. {0x06, 0x1, 0},
  11344. {0x07, 0x1, 0},
  11345. {0x08, 0x1, 0},
  11346. {0x09, 0x69, 0},
  11347. {0x0A, 0x66, 0},
  11348. {0x0B, 0x6, 0},
  11349. {0x0C, 0x18, 0},
  11350. {0x0D, 0x3, 0},
  11351. {0x0E, 0x20, 1},
  11352. {0x0F, 0x20, 0},
  11353. {0x10, 0, 0},
  11354. {0x11, 0x7c, 0},
  11355. {0x12, 0x42, 0},
  11356. {0x13, 0xbd, 0},
  11357. {0x14, 0x7, 0},
  11358. {0x15, 0xf7, 0},
  11359. {0x16, 0x8, 0},
  11360. {0x17, 0x17, 0},
  11361. {0x18, 0x7, 0},
  11362. {0x19, 0, 0},
  11363. {0x1A, 0x2, 0},
  11364. {0x1B, 0x13, 0},
  11365. {0x1C, 0x3e, 0},
  11366. {0x1D, 0x3e, 0},
  11367. {0x1E, 0x96, 0},
  11368. {0x1F, 0x4, 0},
  11369. {0x20, 0, 0},
  11370. {0x21, 0, 0},
  11371. {0x22, 0x17, 0},
  11372. {0x23, 0x4, 0},
  11373. {0x24, 0x1, 0},
  11374. {0x25, 0x6, 0},
  11375. {0x26, 0x4, 0},
  11376. {0x27, 0xd, 0},
  11377. {0x28, 0xd, 0},
  11378. {0x29, 0x30, 0},
  11379. {0x2A, 0x32, 0},
  11380. {0x2B, 0x8, 0},
  11381. {0x2C, 0x1c, 0},
  11382. {0x2D, 0x2, 0},
  11383. {0x2E, 0x4, 0},
  11384. {0x2F, 0x7f, 0},
  11385. {0x30, 0x27, 0},
  11386. {0x31, 0, 1},
  11387. {0x32, 0, 1},
  11388. {0x33, 0, 1},
  11389. {0x34, 0, 0},
  11390. {0x35, 0x26, 1},
  11391. {0x36, 0x18, 0},
  11392. {0x37, 0x7, 0},
  11393. {0x38, 0x66, 0},
  11394. {0x39, 0x66, 0},
  11395. {0x3A, 0x66, 0},
  11396. {0x3B, 0x66, 0},
  11397. {0x3C, 0xff, 1},
  11398. {0x3D, 0xff, 1},
  11399. {0x3E, 0xff, 1},
  11400. {0x3F, 0xff, 1},
  11401. {0x40, 0x16, 0},
  11402. {0x41, 0x7, 0},
  11403. {0x42, 0x19, 0},
  11404. {0x43, 0x7, 0},
  11405. {0x44, 0x6, 0},
  11406. {0x45, 0x3, 0},
  11407. {0x46, 0x1, 0},
  11408. {0x47, 0x7, 0},
  11409. {0x48, 0x33, 0},
  11410. {0x49, 0x5, 0},
  11411. {0x4A, 0x77, 0},
  11412. {0x4B, 0x66, 0},
  11413. {0x4C, 0x66, 0},
  11414. {0x4D, 0, 0},
  11415. {0x4E, 0x4, 0},
  11416. {0x4F, 0xc, 0},
  11417. {0x50, 0, 0},
  11418. {0x51, 0x75, 0},
  11419. {0x56, 0x7, 0},
  11420. {0x57, 0, 0},
  11421. {0x58, 0, 0},
  11422. {0x59, 0xa8, 0},
  11423. {0x5A, 0, 0},
  11424. {0x5B, 0x1f, 0},
  11425. {0x5C, 0x30, 0},
  11426. {0x5D, 0x1, 0},
  11427. {0x5E, 0x30, 0},
  11428. {0x5F, 0x70, 0},
  11429. {0x60, 0, 0},
  11430. {0x61, 0, 0},
  11431. {0x62, 0x33, 1},
  11432. {0x63, 0x19, 0},
  11433. {0x64, 0x62, 0},
  11434. {0x65, 0, 0},
  11435. {0x66, 0x11, 0},
  11436. {0x69, 0, 0},
  11437. {0x6A, 0x7e, 0},
  11438. {0x6B, 0x3f, 0},
  11439. {0x6C, 0x7f, 0},
  11440. {0x6D, 0x78, 0},
  11441. {0x6E, 0xc8, 0},
  11442. {0x6F, 0x88, 0},
  11443. {0x70, 0x8, 0},
  11444. {0x71, 0xf, 0},
  11445. {0x72, 0xbc, 0},
  11446. {0x73, 0x8, 0},
  11447. {0x74, 0x60, 0},
  11448. {0x75, 0x1e, 0},
  11449. {0x76, 0x70, 0},
  11450. {0x77, 0, 0},
  11451. {0x78, 0, 0},
  11452. {0x79, 0, 0},
  11453. {0x7A, 0x33, 0},
  11454. {0x7B, 0x1e, 0},
  11455. {0x7C, 0x62, 0},
  11456. {0x7D, 0x11, 0},
  11457. {0x80, 0x3c, 0},
  11458. {0x81, 0x9c, 0},
  11459. {0x82, 0xa, 0},
  11460. {0x83, 0x9d, 0},
  11461. {0x84, 0xa, 0},
  11462. {0x85, 0, 0},
  11463. {0x86, 0x40, 0},
  11464. {0x87, 0x40, 0},
  11465. {0x88, 0x88, 0},
  11466. {0x89, 0x10, 0},
  11467. {0x8A, 0xf0, 1},
  11468. {0x8B, 0x10, 1},
  11469. {0x8C, 0xf0, 1},
  11470. {0x8D, 0, 0},
  11471. {0x8E, 0, 0},
  11472. {0x8F, 0x10, 0},
  11473. {0x90, 0x55, 0},
  11474. {0x91, 0x3f, 1},
  11475. {0x92, 0x36, 1},
  11476. {0x93, 0, 0},
  11477. {0x94, 0, 0},
  11478. {0x95, 0, 0},
  11479. {0x96, 0x87, 0},
  11480. {0x97, 0x11, 0},
  11481. {0x98, 0, 0},
  11482. {0x99, 0x33, 0},
  11483. {0x9A, 0x88, 0},
  11484. {0x9B, 0, 0},
  11485. {0x9C, 0x87, 0},
  11486. {0x9D, 0x11, 0},
  11487. {0x9E, 0, 0},
  11488. {0x9F, 0x33, 0},
  11489. {0xA0, 0x88, 0},
  11490. {0xA1, 0xe1, 0},
  11491. {0xA2, 0x3f, 0},
  11492. {0xA3, 0x44, 0},
  11493. {0xA4, 0x8c, 1},
  11494. {0xA5, 0x6d, 0},
  11495. {0xA6, 0x22, 0},
  11496. {0xA7, 0xbe, 0},
  11497. {0xA8, 0x55, 1},
  11498. {0xA9, 0xc, 0},
  11499. {0xAA, 0xc, 0},
  11500. {0xAB, 0xaa, 0},
  11501. {0xAC, 0x2, 0},
  11502. {0xAD, 0, 0},
  11503. {0xAE, 0x10, 0},
  11504. {0xAF, 0x1, 1},
  11505. {0xB0, 0, 0},
  11506. {0xB1, 0, 0},
  11507. {0xB2, 0x80, 0},
  11508. {0xB3, 0x60, 0},
  11509. {0xB4, 0x44, 0},
  11510. {0xB5, 0x55, 0},
  11511. {0xB6, 0x1, 0},
  11512. {0xB7, 0x55, 0},
  11513. {0xB8, 0x1, 0},
  11514. {0xB9, 0x5, 0},
  11515. {0xBA, 0x55, 0},
  11516. {0xBB, 0x55, 0},
  11517. {0xC1, 0, 0},
  11518. {0xC2, 0, 0},
  11519. {0xC3, 0, 0},
  11520. {0xC4, 0, 0},
  11521. {0xC5, 0, 0},
  11522. {0xC6, 0, 0},
  11523. {0xC7, 0, 0},
  11524. {0xC8, 0, 0},
  11525. {0xC9, 0, 0},
  11526. {0xCA, 0, 0},
  11527. {0xCB, 0, 0},
  11528. {0xCC, 0, 0},
  11529. {0xCD, 0, 0},
  11530. {0xCE, 0x5e, 0},
  11531. {0xCF, 0xc, 0},
  11532. {0xD0, 0xc, 0},
  11533. {0xD1, 0xc, 0},
  11534. {0xD2, 0, 0},
  11535. {0xD3, 0x2b, 0},
  11536. {0xD4, 0xc, 0},
  11537. {0xD5, 0, 0},
  11538. {0xD6, 0x75, 0},
  11539. {0xDB, 0x7, 0},
  11540. {0xDC, 0, 0},
  11541. {0xDD, 0, 0},
  11542. {0xDE, 0xa8, 0},
  11543. {0xDF, 0, 0},
  11544. {0xE0, 0x1f, 0},
  11545. {0xE1, 0x30, 0},
  11546. {0xE2, 0x1, 0},
  11547. {0xE3, 0x30, 0},
  11548. {0xE4, 0x70, 0},
  11549. {0xE5, 0, 0},
  11550. {0xE6, 0, 0},
  11551. {0xE7, 0x33, 0},
  11552. {0xE8, 0x19, 0},
  11553. {0xE9, 0x62, 0},
  11554. {0xEA, 0, 0},
  11555. {0xEB, 0x11, 0},
  11556. {0xEE, 0, 0},
  11557. {0xEF, 0x7e, 0},
  11558. {0xF0, 0x3f, 0},
  11559. {0xF1, 0x7f, 0},
  11560. {0xF2, 0x78, 0},
  11561. {0xF3, 0xc8, 0},
  11562. {0xF4, 0x88, 0},
  11563. {0xF5, 0x8, 0},
  11564. {0xF6, 0xf, 0},
  11565. {0xF7, 0xbc, 0},
  11566. {0xF8, 0x8, 0},
  11567. {0xF9, 0x60, 0},
  11568. {0xFA, 0x1e, 0},
  11569. {0xFB, 0x70, 0},
  11570. {0xFC, 0, 0},
  11571. {0xFD, 0, 0},
  11572. {0xFE, 0, 0},
  11573. {0xFF, 0x33, 0},
  11574. {0x100, 0x1e, 0},
  11575. {0x101, 0x62, 0},
  11576. {0x102, 0x11, 0},
  11577. {0x105, 0x3c, 0},
  11578. {0x106, 0x9c, 0},
  11579. {0x107, 0xa, 0},
  11580. {0x108, 0x9d, 0},
  11581. {0x109, 0xa, 0},
  11582. {0x10A, 0, 0},
  11583. {0x10B, 0x40, 0},
  11584. {0x10C, 0x40, 0},
  11585. {0x10D, 0x88, 0},
  11586. {0x10E, 0x10, 0},
  11587. {0x10F, 0xf0, 1},
  11588. {0x110, 0x10, 1},
  11589. {0x111, 0xf0, 1},
  11590. {0x112, 0, 0},
  11591. {0x113, 0, 0},
  11592. {0x114, 0x10, 0},
  11593. {0x115, 0x55, 0},
  11594. {0x116, 0x3f, 1},
  11595. {0x117, 0x36, 1},
  11596. {0x118, 0, 0},
  11597. {0x119, 0, 0},
  11598. {0x11A, 0, 0},
  11599. {0x11B, 0x87, 0},
  11600. {0x11C, 0x11, 0},
  11601. {0x11D, 0, 0},
  11602. {0x11E, 0x33, 0},
  11603. {0x11F, 0x88, 0},
  11604. {0x120, 0, 0},
  11605. {0x121, 0x87, 0},
  11606. {0x122, 0x11, 0},
  11607. {0x123, 0, 0},
  11608. {0x124, 0x33, 0},
  11609. {0x125, 0x88, 0},
  11610. {0x126, 0xe1, 0},
  11611. {0x127, 0x3f, 0},
  11612. {0x128, 0x44, 0},
  11613. {0x129, 0x8c, 1},
  11614. {0x12A, 0x6d, 0},
  11615. {0x12B, 0x22, 0},
  11616. {0x12C, 0xbe, 0},
  11617. {0x12D, 0x55, 1},
  11618. {0x12E, 0xc, 0},
  11619. {0x12F, 0xc, 0},
  11620. {0x130, 0xaa, 0},
  11621. {0x131, 0x2, 0},
  11622. {0x132, 0, 0},
  11623. {0x133, 0x10, 0},
  11624. {0x134, 0x1, 1},
  11625. {0x135, 0, 0},
  11626. {0x136, 0, 0},
  11627. {0x137, 0x80, 0},
  11628. {0x138, 0x60, 0},
  11629. {0x139, 0x44, 0},
  11630. {0x13A, 0x55, 0},
  11631. {0x13B, 0x1, 0},
  11632. {0x13C, 0x55, 0},
  11633. {0x13D, 0x1, 0},
  11634. {0x13E, 0x5, 0},
  11635. {0x13F, 0x55, 0},
  11636. {0x140, 0x55, 0},
  11637. {0x146, 0, 0},
  11638. {0x147, 0, 0},
  11639. {0x148, 0, 0},
  11640. {0x149, 0, 0},
  11641. {0x14A, 0, 0},
  11642. {0x14B, 0, 0},
  11643. {0x14C, 0, 0},
  11644. {0x14D, 0, 0},
  11645. {0x14E, 0, 0},
  11646. {0x14F, 0, 0},
  11647. {0x150, 0, 0},
  11648. {0x151, 0, 0},
  11649. {0x152, 0, 0},
  11650. {0x153, 0, 0},
  11651. {0x154, 0xc, 0},
  11652. {0x155, 0xc, 0},
  11653. {0x156, 0xc, 0},
  11654. {0x157, 0, 0},
  11655. {0x158, 0x2b, 0},
  11656. {0x159, 0x84, 0},
  11657. {0x15A, 0x15, 0},
  11658. {0x15B, 0xf, 0},
  11659. {0x15C, 0, 0},
  11660. {0x15D, 0, 0},
  11661. {0x15E, 0, 1},
  11662. {0x15F, 0, 1},
  11663. {0x160, 0, 1},
  11664. {0x161, 0, 1},
  11665. {0x162, 0, 1},
  11666. {0x163, 0, 1},
  11667. {0x164, 0, 0},
  11668. {0x165, 0, 0},
  11669. {0x166, 0, 0},
  11670. {0x167, 0, 0},
  11671. {0x168, 0, 0},
  11672. {0x169, 0x2, 1},
  11673. {0x16A, 0, 1},
  11674. {0x16B, 0, 1},
  11675. {0x16C, 0, 1},
  11676. {0x16D, 0, 0},
  11677. {0x170, 0, 0},
  11678. {0x171, 0x77, 0},
  11679. {0x172, 0x77, 0},
  11680. {0x173, 0x77, 0},
  11681. {0x174, 0x77, 0},
  11682. {0x175, 0, 0},
  11683. {0x176, 0x3, 0},
  11684. {0x177, 0x37, 0},
  11685. {0x178, 0x3, 0},
  11686. {0x179, 0, 0},
  11687. {0x17A, 0x21, 0},
  11688. {0x17B, 0x21, 0},
  11689. {0x17C, 0, 0},
  11690. {0x17D, 0xaa, 0},
  11691. {0x17E, 0, 0},
  11692. {0x17F, 0xaa, 0},
  11693. {0x180, 0, 0},
  11694. {0x190, 0, 0},
  11695. {0x191, 0x77, 0},
  11696. {0x192, 0x77, 0},
  11697. {0x193, 0x77, 0},
  11698. {0x194, 0x77, 0},
  11699. {0x195, 0, 0},
  11700. {0x196, 0x3, 0},
  11701. {0x197, 0x37, 0},
  11702. {0x198, 0x3, 0},
  11703. {0x199, 0, 0},
  11704. {0x19A, 0x21, 0},
  11705. {0x19B, 0x21, 0},
  11706. {0x19C, 0, 0},
  11707. {0x19D, 0xaa, 0},
  11708. {0x19E, 0, 0},
  11709. {0x19F, 0xaa, 0},
  11710. {0x1A0, 0, 0},
  11711. {0x1A1, 0x2, 0},
  11712. {0x1A2, 0xf, 0},
  11713. {0x1A3, 0xf, 0},
  11714. {0x1A4, 0, 1},
  11715. {0x1A5, 0, 1},
  11716. {0x1A6, 0, 1},
  11717. {0x1A7, 0x2, 0},
  11718. {0x1A8, 0xf, 0},
  11719. {0x1A9, 0xf, 0},
  11720. {0x1AA, 0, 1},
  11721. {0x1AB, 0, 1},
  11722. {0x1AC, 0, 1},
  11723. {0xFFFF, 0, 0},
  11724. };
  11725. static struct radio_20xx_regs regs_2057_rev5[] = {
  11726. {0x00, 0, 1},
  11727. {0x01, 0x57, 1},
  11728. {0x02, 0x20, 1},
  11729. {0x03, 0x1f, 0},
  11730. {0x04, 0x4, 0},
  11731. {0x05, 0x2, 0},
  11732. {0x06, 0x1, 0},
  11733. {0x07, 0x1, 0},
  11734. {0x08, 0x1, 0},
  11735. {0x09, 0x69, 0},
  11736. {0x0A, 0x66, 0},
  11737. {0x0B, 0x6, 0},
  11738. {0x0C, 0x18, 0},
  11739. {0x0D, 0x3, 0},
  11740. {0x0E, 0x20, 0},
  11741. {0x0F, 0x20, 0},
  11742. {0x10, 0, 0},
  11743. {0x11, 0x7c, 0},
  11744. {0x12, 0x42, 0},
  11745. {0x13, 0xbd, 0},
  11746. {0x14, 0x7, 0},
  11747. {0x15, 0x87, 0},
  11748. {0x16, 0x8, 0},
  11749. {0x17, 0x17, 0},
  11750. {0x18, 0x7, 0},
  11751. {0x19, 0, 0},
  11752. {0x1A, 0x2, 0},
  11753. {0x1B, 0x13, 0},
  11754. {0x1C, 0x3e, 0},
  11755. {0x1D, 0x3e, 0},
  11756. {0x1E, 0x96, 0},
  11757. {0x1F, 0x4, 0},
  11758. {0x20, 0, 0},
  11759. {0x21, 0, 0},
  11760. {0x22, 0x17, 0},
  11761. {0x23, 0x6, 1},
  11762. {0x24, 0x1, 0},
  11763. {0x25, 0x6, 0},
  11764. {0x26, 0x4, 0},
  11765. {0x27, 0xd, 0},
  11766. {0x28, 0xd, 0},
  11767. {0x29, 0x30, 0},
  11768. {0x2A, 0x32, 0},
  11769. {0x2B, 0x8, 0},
  11770. {0x2C, 0x1c, 0},
  11771. {0x2D, 0x2, 0},
  11772. {0x2E, 0x4, 0},
  11773. {0x2F, 0x7f, 0},
  11774. {0x30, 0x27, 0},
  11775. {0x31, 0, 1},
  11776. {0x32, 0, 1},
  11777. {0x33, 0, 1},
  11778. {0x34, 0, 0},
  11779. {0x35, 0x20, 0},
  11780. {0x36, 0x18, 0},
  11781. {0x37, 0x7, 0},
  11782. {0x38, 0x66, 0},
  11783. {0x39, 0x66, 0},
  11784. {0x3C, 0xff, 0},
  11785. {0x3D, 0xff, 0},
  11786. {0x40, 0x16, 0},
  11787. {0x41, 0x7, 0},
  11788. {0x45, 0x3, 0},
  11789. {0x46, 0x1, 0},
  11790. {0x47, 0x7, 0},
  11791. {0x4B, 0x66, 0},
  11792. {0x4C, 0x66, 0},
  11793. {0x4D, 0, 0},
  11794. {0x4E, 0x4, 0},
  11795. {0x4F, 0xc, 0},
  11796. {0x50, 0, 0},
  11797. {0x51, 0x70, 1},
  11798. {0x56, 0x7, 0},
  11799. {0x57, 0, 0},
  11800. {0x58, 0, 0},
  11801. {0x59, 0x88, 1},
  11802. {0x5A, 0, 0},
  11803. {0x5B, 0x1f, 0},
  11804. {0x5C, 0x20, 1},
  11805. {0x5D, 0x1, 0},
  11806. {0x5E, 0x30, 0},
  11807. {0x5F, 0x70, 0},
  11808. {0x60, 0, 0},
  11809. {0x61, 0, 0},
  11810. {0x62, 0x33, 1},
  11811. {0x63, 0xf, 1},
  11812. {0x64, 0xf, 1},
  11813. {0x65, 0, 0},
  11814. {0x66, 0x11, 0},
  11815. {0x80, 0x3c, 0},
  11816. {0x81, 0x1, 1},
  11817. {0x82, 0xa, 0},
  11818. {0x85, 0, 0},
  11819. {0x86, 0x40, 0},
  11820. {0x87, 0x40, 0},
  11821. {0x88, 0x88, 0},
  11822. {0x89, 0x10, 0},
  11823. {0x8A, 0xf0, 0},
  11824. {0x8B, 0x10, 0},
  11825. {0x8C, 0xf0, 0},
  11826. {0x8F, 0x10, 0},
  11827. {0x90, 0x55, 0},
  11828. {0x91, 0x3f, 1},
  11829. {0x92, 0x36, 1},
  11830. {0x93, 0, 0},
  11831. {0x94, 0, 0},
  11832. {0x95, 0, 0},
  11833. {0x96, 0x87, 0},
  11834. {0x97, 0x11, 0},
  11835. {0x98, 0, 0},
  11836. {0x99, 0x33, 0},
  11837. {0x9A, 0x88, 0},
  11838. {0xA1, 0x20, 1},
  11839. {0xA2, 0x3f, 0},
  11840. {0xA3, 0x44, 0},
  11841. {0xA4, 0x8c, 0},
  11842. {0xA5, 0x6c, 0},
  11843. {0xA6, 0x22, 0},
  11844. {0xA7, 0xbe, 0},
  11845. {0xA8, 0x55, 0},
  11846. {0xAA, 0xc, 0},
  11847. {0xAB, 0xaa, 0},
  11848. {0xAC, 0x2, 0},
  11849. {0xAD, 0, 0},
  11850. {0xAE, 0x10, 0},
  11851. {0xAF, 0x1, 0},
  11852. {0xB0, 0, 0},
  11853. {0xB1, 0, 0},
  11854. {0xB2, 0x80, 0},
  11855. {0xB3, 0x60, 0},
  11856. {0xB4, 0x44, 0},
  11857. {0xB5, 0x55, 0},
  11858. {0xB6, 0x1, 0},
  11859. {0xB7, 0x55, 0},
  11860. {0xB8, 0x1, 0},
  11861. {0xB9, 0x5, 0},
  11862. {0xBA, 0x55, 0},
  11863. {0xBB, 0x55, 0},
  11864. {0xC3, 0, 0},
  11865. {0xC4, 0, 0},
  11866. {0xC5, 0, 0},
  11867. {0xC6, 0, 0},
  11868. {0xC7, 0, 0},
  11869. {0xC8, 0, 0},
  11870. {0xC9, 0, 0},
  11871. {0xCA, 0, 0},
  11872. {0xCB, 0, 0},
  11873. {0xCD, 0, 0},
  11874. {0xCE, 0x5e, 0},
  11875. {0xCF, 0xc, 0},
  11876. {0xD0, 0xc, 0},
  11877. {0xD1, 0xc, 0},
  11878. {0xD2, 0, 0},
  11879. {0xD3, 0x2b, 0},
  11880. {0xD4, 0xc, 0},
  11881. {0xD5, 0, 0},
  11882. {0xD6, 0x70, 1},
  11883. {0xDB, 0x7, 0},
  11884. {0xDC, 0, 0},
  11885. {0xDD, 0, 0},
  11886. {0xDE, 0x88, 1},
  11887. {0xDF, 0, 0},
  11888. {0xE0, 0x1f, 0},
  11889. {0xE1, 0x20, 1},
  11890. {0xE2, 0x1, 0},
  11891. {0xE3, 0x30, 0},
  11892. {0xE4, 0x70, 0},
  11893. {0xE5, 0, 0},
  11894. {0xE6, 0, 0},
  11895. {0xE7, 0x33, 0},
  11896. {0xE8, 0xf, 1},
  11897. {0xE9, 0xf, 1},
  11898. {0xEA, 0, 0},
  11899. {0xEB, 0x11, 0},
  11900. {0x105, 0x3c, 0},
  11901. {0x106, 0x1, 1},
  11902. {0x107, 0xa, 0},
  11903. {0x10A, 0, 0},
  11904. {0x10B, 0x40, 0},
  11905. {0x10C, 0x40, 0},
  11906. {0x10D, 0x88, 0},
  11907. {0x10E, 0x10, 0},
  11908. {0x10F, 0xf0, 0},
  11909. {0x110, 0x10, 0},
  11910. {0x111, 0xf0, 0},
  11911. {0x114, 0x10, 0},
  11912. {0x115, 0x55, 0},
  11913. {0x116, 0x3f, 1},
  11914. {0x117, 0x36, 1},
  11915. {0x118, 0, 0},
  11916. {0x119, 0, 0},
  11917. {0x11A, 0, 0},
  11918. {0x11B, 0x87, 0},
  11919. {0x11C, 0x11, 0},
  11920. {0x11D, 0, 0},
  11921. {0x11E, 0x33, 0},
  11922. {0x11F, 0x88, 0},
  11923. {0x126, 0x20, 1},
  11924. {0x127, 0x3f, 0},
  11925. {0x128, 0x44, 0},
  11926. {0x129, 0x8c, 0},
  11927. {0x12A, 0x6c, 0},
  11928. {0x12B, 0x22, 0},
  11929. {0x12C, 0xbe, 0},
  11930. {0x12D, 0x55, 0},
  11931. {0x12F, 0xc, 0},
  11932. {0x130, 0xaa, 0},
  11933. {0x131, 0x2, 0},
  11934. {0x132, 0, 0},
  11935. {0x133, 0x10, 0},
  11936. {0x134, 0x1, 0},
  11937. {0x135, 0, 0},
  11938. {0x136, 0, 0},
  11939. {0x137, 0x80, 0},
  11940. {0x138, 0x60, 0},
  11941. {0x139, 0x44, 0},
  11942. {0x13A, 0x55, 0},
  11943. {0x13B, 0x1, 0},
  11944. {0x13C, 0x55, 0},
  11945. {0x13D, 0x1, 0},
  11946. {0x13E, 0x5, 0},
  11947. {0x13F, 0x55, 0},
  11948. {0x140, 0x55, 0},
  11949. {0x148, 0, 0},
  11950. {0x149, 0, 0},
  11951. {0x14A, 0, 0},
  11952. {0x14B, 0, 0},
  11953. {0x14C, 0, 0},
  11954. {0x14D, 0, 0},
  11955. {0x14E, 0, 0},
  11956. {0x14F, 0, 0},
  11957. {0x150, 0, 0},
  11958. {0x154, 0xc, 0},
  11959. {0x155, 0xc, 0},
  11960. {0x156, 0xc, 0},
  11961. {0x157, 0, 0},
  11962. {0x158, 0x2b, 0},
  11963. {0x159, 0x84, 0},
  11964. {0x15A, 0x15, 0},
  11965. {0x15B, 0xf, 0},
  11966. {0x15C, 0, 0},
  11967. {0x15D, 0, 0},
  11968. {0x15E, 0, 1},
  11969. {0x15F, 0, 1},
  11970. {0x160, 0, 1},
  11971. {0x161, 0, 1},
  11972. {0x162, 0, 1},
  11973. {0x163, 0, 1},
  11974. {0x164, 0, 0},
  11975. {0x165, 0, 0},
  11976. {0x166, 0, 0},
  11977. {0x167, 0, 0},
  11978. {0x168, 0, 0},
  11979. {0x169, 0, 0},
  11980. {0x16A, 0, 1},
  11981. {0x16B, 0, 1},
  11982. {0x16C, 0, 1},
  11983. {0x16D, 0, 0},
  11984. {0x170, 0, 0},
  11985. {0x171, 0x77, 0},
  11986. {0x172, 0x77, 0},
  11987. {0x173, 0x77, 0},
  11988. {0x174, 0x77, 0},
  11989. {0x175, 0, 0},
  11990. {0x176, 0x3, 0},
  11991. {0x177, 0x37, 0},
  11992. {0x178, 0x3, 0},
  11993. {0x179, 0, 0},
  11994. {0x17B, 0x21, 0},
  11995. {0x17C, 0, 0},
  11996. {0x17D, 0xaa, 0},
  11997. {0x17E, 0, 0},
  11998. {0x190, 0, 0},
  11999. {0x191, 0x77, 0},
  12000. {0x192, 0x77, 0},
  12001. {0x193, 0x77, 0},
  12002. {0x194, 0x77, 0},
  12003. {0x195, 0, 0},
  12004. {0x196, 0x3, 0},
  12005. {0x197, 0x37, 0},
  12006. {0x198, 0x3, 0},
  12007. {0x199, 0, 0},
  12008. {0x19B, 0x21, 0},
  12009. {0x19C, 0, 0},
  12010. {0x19D, 0xaa, 0},
  12011. {0x19E, 0, 0},
  12012. {0x1A1, 0x2, 0},
  12013. {0x1A2, 0xf, 0},
  12014. {0x1A3, 0xf, 0},
  12015. {0x1A4, 0, 1},
  12016. {0x1A5, 0, 1},
  12017. {0x1A6, 0, 1},
  12018. {0x1A7, 0x2, 0},
  12019. {0x1A8, 0xf, 0},
  12020. {0x1A9, 0xf, 0},
  12021. {0x1AA, 0, 1},
  12022. {0x1AB, 0, 1},
  12023. {0x1AC, 0, 1},
  12024. {0x1AD, 0x84, 0},
  12025. {0x1AE, 0x60, 0},
  12026. {0x1AF, 0x47, 0},
  12027. {0x1B0, 0x47, 0},
  12028. {0x1B1, 0, 0},
  12029. {0x1B2, 0, 0},
  12030. {0x1B3, 0, 0},
  12031. {0x1B4, 0, 0},
  12032. {0x1B5, 0, 0},
  12033. {0x1B6, 0, 0},
  12034. {0x1B7, 0xc, 1},
  12035. {0x1B8, 0, 0},
  12036. {0x1B9, 0, 0},
  12037. {0x1BA, 0, 0},
  12038. {0x1BB, 0, 0},
  12039. {0x1BC, 0, 0},
  12040. {0x1BD, 0, 0},
  12041. {0x1BE, 0, 0},
  12042. {0x1BF, 0, 0},
  12043. {0x1C0, 0, 0},
  12044. {0x1C1, 0x1, 1},
  12045. {0x1C2, 0x80, 1},
  12046. {0x1C3, 0, 0},
  12047. {0x1C4, 0, 0},
  12048. {0x1C5, 0, 0},
  12049. {0x1C6, 0, 0},
  12050. {0x1C7, 0, 0},
  12051. {0x1C8, 0, 0},
  12052. {0x1C9, 0, 0},
  12053. {0x1CA, 0, 0},
  12054. {0xFFFF, 0, 0}
  12055. };
  12056. static struct radio_20xx_regs regs_2057_rev5v1[] = {
  12057. {0x00, 0x15, 1},
  12058. {0x01, 0x57, 1},
  12059. {0x02, 0x20, 1},
  12060. {0x03, 0x1f, 0},
  12061. {0x04, 0x4, 0},
  12062. {0x05, 0x2, 0},
  12063. {0x06, 0x1, 0},
  12064. {0x07, 0x1, 0},
  12065. {0x08, 0x1, 0},
  12066. {0x09, 0x69, 0},
  12067. {0x0A, 0x66, 0},
  12068. {0x0B, 0x6, 0},
  12069. {0x0C, 0x18, 0},
  12070. {0x0D, 0x3, 0},
  12071. {0x0E, 0x20, 0},
  12072. {0x0F, 0x20, 0},
  12073. {0x10, 0, 0},
  12074. {0x11, 0x7c, 0},
  12075. {0x12, 0x42, 0},
  12076. {0x13, 0xbd, 0},
  12077. {0x14, 0x7, 0},
  12078. {0x15, 0x87, 0},
  12079. {0x16, 0x8, 0},
  12080. {0x17, 0x17, 0},
  12081. {0x18, 0x7, 0},
  12082. {0x19, 0, 0},
  12083. {0x1A, 0x2, 0},
  12084. {0x1B, 0x13, 0},
  12085. {0x1C, 0x3e, 0},
  12086. {0x1D, 0x3e, 0},
  12087. {0x1E, 0x96, 0},
  12088. {0x1F, 0x4, 0},
  12089. {0x20, 0, 0},
  12090. {0x21, 0, 0},
  12091. {0x22, 0x17, 0},
  12092. {0x23, 0x6, 1},
  12093. {0x24, 0x1, 0},
  12094. {0x25, 0x6, 0},
  12095. {0x26, 0x4, 0},
  12096. {0x27, 0xd, 0},
  12097. {0x28, 0xd, 0},
  12098. {0x29, 0x30, 0},
  12099. {0x2A, 0x32, 0},
  12100. {0x2B, 0x8, 0},
  12101. {0x2C, 0x1c, 0},
  12102. {0x2D, 0x2, 0},
  12103. {0x2E, 0x4, 0},
  12104. {0x2F, 0x7f, 0},
  12105. {0x30, 0x27, 0},
  12106. {0x31, 0, 1},
  12107. {0x32, 0, 1},
  12108. {0x33, 0, 1},
  12109. {0x34, 0, 0},
  12110. {0x35, 0x20, 0},
  12111. {0x36, 0x18, 0},
  12112. {0x37, 0x7, 0},
  12113. {0x38, 0x66, 0},
  12114. {0x39, 0x66, 0},
  12115. {0x3C, 0xff, 0},
  12116. {0x3D, 0xff, 0},
  12117. {0x40, 0x16, 0},
  12118. {0x41, 0x7, 0},
  12119. {0x45, 0x3, 0},
  12120. {0x46, 0x1, 0},
  12121. {0x47, 0x7, 0},
  12122. {0x4B, 0x66, 0},
  12123. {0x4C, 0x66, 0},
  12124. {0x4D, 0, 0},
  12125. {0x4E, 0x4, 0},
  12126. {0x4F, 0xc, 0},
  12127. {0x50, 0, 0},
  12128. {0x51, 0x70, 1},
  12129. {0x56, 0x7, 0},
  12130. {0x57, 0, 0},
  12131. {0x58, 0, 0},
  12132. {0x59, 0x88, 1},
  12133. {0x5A, 0, 0},
  12134. {0x5B, 0x1f, 0},
  12135. {0x5C, 0x20, 1},
  12136. {0x5D, 0x1, 0},
  12137. {0x5E, 0x30, 0},
  12138. {0x5F, 0x70, 0},
  12139. {0x60, 0, 0},
  12140. {0x61, 0, 0},
  12141. {0x62, 0x33, 1},
  12142. {0x63, 0xf, 1},
  12143. {0x64, 0xf, 1},
  12144. {0x65, 0, 0},
  12145. {0x66, 0x11, 0},
  12146. {0x80, 0x3c, 0},
  12147. {0x81, 0x1, 1},
  12148. {0x82, 0xa, 0},
  12149. {0x85, 0, 0},
  12150. {0x86, 0x40, 0},
  12151. {0x87, 0x40, 0},
  12152. {0x88, 0x88, 0},
  12153. {0x89, 0x10, 0},
  12154. {0x8A, 0xf0, 0},
  12155. {0x8B, 0x10, 0},
  12156. {0x8C, 0xf0, 0},
  12157. {0x8F, 0x10, 0},
  12158. {0x90, 0x55, 0},
  12159. {0x91, 0x3f, 1},
  12160. {0x92, 0x36, 1},
  12161. {0x93, 0, 0},
  12162. {0x94, 0, 0},
  12163. {0x95, 0, 0},
  12164. {0x96, 0x87, 0},
  12165. {0x97, 0x11, 0},
  12166. {0x98, 0, 0},
  12167. {0x99, 0x33, 0},
  12168. {0x9A, 0x88, 0},
  12169. {0xA1, 0x20, 1},
  12170. {0xA2, 0x3f, 0},
  12171. {0xA3, 0x44, 0},
  12172. {0xA4, 0x8c, 0},
  12173. {0xA5, 0x6c, 0},
  12174. {0xA6, 0x22, 0},
  12175. {0xA7, 0xbe, 0},
  12176. {0xA8, 0x55, 0},
  12177. {0xAA, 0xc, 0},
  12178. {0xAB, 0xaa, 0},
  12179. {0xAC, 0x2, 0},
  12180. {0xAD, 0, 0},
  12181. {0xAE, 0x10, 0},
  12182. {0xAF, 0x1, 0},
  12183. {0xB0, 0, 0},
  12184. {0xB1, 0, 0},
  12185. {0xB2, 0x80, 0},
  12186. {0xB3, 0x60, 0},
  12187. {0xB4, 0x44, 0},
  12188. {0xB5, 0x55, 0},
  12189. {0xB6, 0x1, 0},
  12190. {0xB7, 0x55, 0},
  12191. {0xB8, 0x1, 0},
  12192. {0xB9, 0x5, 0},
  12193. {0xBA, 0x55, 0},
  12194. {0xBB, 0x55, 0},
  12195. {0xC3, 0, 0},
  12196. {0xC4, 0, 0},
  12197. {0xC5, 0, 0},
  12198. {0xC6, 0, 0},
  12199. {0xC7, 0, 0},
  12200. {0xC8, 0, 0},
  12201. {0xC9, 0x1, 1},
  12202. {0xCA, 0, 0},
  12203. {0xCB, 0, 0},
  12204. {0xCD, 0, 0},
  12205. {0xCE, 0x5e, 0},
  12206. {0xCF, 0xc, 0},
  12207. {0xD0, 0xc, 0},
  12208. {0xD1, 0xc, 0},
  12209. {0xD2, 0, 0},
  12210. {0xD3, 0x2b, 0},
  12211. {0xD4, 0xc, 0},
  12212. {0xD5, 0, 0},
  12213. {0xD6, 0x70, 1},
  12214. {0xDB, 0x7, 0},
  12215. {0xDC, 0, 0},
  12216. {0xDD, 0, 0},
  12217. {0xDE, 0x88, 1},
  12218. {0xDF, 0, 0},
  12219. {0xE0, 0x1f, 0},
  12220. {0xE1, 0x20, 1},
  12221. {0xE2, 0x1, 0},
  12222. {0xE3, 0x30, 0},
  12223. {0xE4, 0x70, 0},
  12224. {0xE5, 0, 0},
  12225. {0xE6, 0, 0},
  12226. {0xE7, 0x33, 0},
  12227. {0xE8, 0xf, 1},
  12228. {0xE9, 0xf, 1},
  12229. {0xEA, 0, 0},
  12230. {0xEB, 0x11, 0},
  12231. {0x105, 0x3c, 0},
  12232. {0x106, 0x1, 1},
  12233. {0x107, 0xa, 0},
  12234. {0x10A, 0, 0},
  12235. {0x10B, 0x40, 0},
  12236. {0x10C, 0x40, 0},
  12237. {0x10D, 0x88, 0},
  12238. {0x10E, 0x10, 0},
  12239. {0x10F, 0xf0, 0},
  12240. {0x110, 0x10, 0},
  12241. {0x111, 0xf0, 0},
  12242. {0x114, 0x10, 0},
  12243. {0x115, 0x55, 0},
  12244. {0x116, 0x3f, 1},
  12245. {0x117, 0x36, 1},
  12246. {0x118, 0, 0},
  12247. {0x119, 0, 0},
  12248. {0x11A, 0, 0},
  12249. {0x11B, 0x87, 0},
  12250. {0x11C, 0x11, 0},
  12251. {0x11D, 0, 0},
  12252. {0x11E, 0x33, 0},
  12253. {0x11F, 0x88, 0},
  12254. {0x126, 0x20, 1},
  12255. {0x127, 0x3f, 0},
  12256. {0x128, 0x44, 0},
  12257. {0x129, 0x8c, 0},
  12258. {0x12A, 0x6c, 0},
  12259. {0x12B, 0x22, 0},
  12260. {0x12C, 0xbe, 0},
  12261. {0x12D, 0x55, 0},
  12262. {0x12F, 0xc, 0},
  12263. {0x130, 0xaa, 0},
  12264. {0x131, 0x2, 0},
  12265. {0x132, 0, 0},
  12266. {0x133, 0x10, 0},
  12267. {0x134, 0x1, 0},
  12268. {0x135, 0, 0},
  12269. {0x136, 0, 0},
  12270. {0x137, 0x80, 0},
  12271. {0x138, 0x60, 0},
  12272. {0x139, 0x44, 0},
  12273. {0x13A, 0x55, 0},
  12274. {0x13B, 0x1, 0},
  12275. {0x13C, 0x55, 0},
  12276. {0x13D, 0x1, 0},
  12277. {0x13E, 0x5, 0},
  12278. {0x13F, 0x55, 0},
  12279. {0x140, 0x55, 0},
  12280. {0x148, 0, 0},
  12281. {0x149, 0, 0},
  12282. {0x14A, 0, 0},
  12283. {0x14B, 0, 0},
  12284. {0x14C, 0, 0},
  12285. {0x14D, 0, 0},
  12286. {0x14E, 0x1, 1},
  12287. {0x14F, 0, 0},
  12288. {0x150, 0, 0},
  12289. {0x154, 0xc, 0},
  12290. {0x155, 0xc, 0},
  12291. {0x156, 0xc, 0},
  12292. {0x157, 0, 0},
  12293. {0x158, 0x2b, 0},
  12294. {0x159, 0x84, 0},
  12295. {0x15A, 0x15, 0},
  12296. {0x15B, 0xf, 0},
  12297. {0x15C, 0, 0},
  12298. {0x15D, 0, 0},
  12299. {0x15E, 0, 1},
  12300. {0x15F, 0, 1},
  12301. {0x160, 0, 1},
  12302. {0x161, 0, 1},
  12303. {0x162, 0, 1},
  12304. {0x163, 0, 1},
  12305. {0x164, 0, 0},
  12306. {0x165, 0, 0},
  12307. {0x166, 0, 0},
  12308. {0x167, 0, 0},
  12309. {0x168, 0, 0},
  12310. {0x169, 0, 0},
  12311. {0x16A, 0, 1},
  12312. {0x16B, 0, 1},
  12313. {0x16C, 0, 1},
  12314. {0x16D, 0, 0},
  12315. {0x170, 0, 0},
  12316. {0x171, 0x77, 0},
  12317. {0x172, 0x77, 0},
  12318. {0x173, 0x77, 0},
  12319. {0x174, 0x77, 0},
  12320. {0x175, 0, 0},
  12321. {0x176, 0x3, 0},
  12322. {0x177, 0x37, 0},
  12323. {0x178, 0x3, 0},
  12324. {0x179, 0, 0},
  12325. {0x17B, 0x21, 0},
  12326. {0x17C, 0, 0},
  12327. {0x17D, 0xaa, 0},
  12328. {0x17E, 0, 0},
  12329. {0x190, 0, 0},
  12330. {0x191, 0x77, 0},
  12331. {0x192, 0x77, 0},
  12332. {0x193, 0x77, 0},
  12333. {0x194, 0x77, 0},
  12334. {0x195, 0, 0},
  12335. {0x196, 0x3, 0},
  12336. {0x197, 0x37, 0},
  12337. {0x198, 0x3, 0},
  12338. {0x199, 0, 0},
  12339. {0x19B, 0x21, 0},
  12340. {0x19C, 0, 0},
  12341. {0x19D, 0xaa, 0},
  12342. {0x19E, 0, 0},
  12343. {0x1A1, 0x2, 0},
  12344. {0x1A2, 0xf, 0},
  12345. {0x1A3, 0xf, 0},
  12346. {0x1A4, 0, 1},
  12347. {0x1A5, 0, 1},
  12348. {0x1A6, 0, 1},
  12349. {0x1A7, 0x2, 0},
  12350. {0x1A8, 0xf, 0},
  12351. {0x1A9, 0xf, 0},
  12352. {0x1AA, 0, 1},
  12353. {0x1AB, 0, 1},
  12354. {0x1AC, 0, 1},
  12355. {0x1AD, 0x84, 0},
  12356. {0x1AE, 0x60, 0},
  12357. {0x1AF, 0x47, 0},
  12358. {0x1B0, 0x47, 0},
  12359. {0x1B1, 0, 0},
  12360. {0x1B2, 0, 0},
  12361. {0x1B3, 0, 0},
  12362. {0x1B4, 0, 0},
  12363. {0x1B5, 0, 0},
  12364. {0x1B6, 0, 0},
  12365. {0x1B7, 0xc, 1},
  12366. {0x1B8, 0, 0},
  12367. {0x1B9, 0, 0},
  12368. {0x1BA, 0, 0},
  12369. {0x1BB, 0, 0},
  12370. {0x1BC, 0, 0},
  12371. {0x1BD, 0, 0},
  12372. {0x1BE, 0, 0},
  12373. {0x1BF, 0, 0},
  12374. {0x1C0, 0, 0},
  12375. {0x1C1, 0x1, 1},
  12376. {0x1C2, 0x80, 1},
  12377. {0x1C3, 0, 0},
  12378. {0x1C4, 0, 0},
  12379. {0x1C5, 0, 0},
  12380. {0x1C6, 0, 0},
  12381. {0x1C7, 0, 0},
  12382. {0x1C8, 0, 0},
  12383. {0x1C9, 0, 0},
  12384. {0x1CA, 0, 0},
  12385. {0xFFFF, 0, 0}
  12386. };
  12387. static struct radio_20xx_regs regs_2057_rev7[] = {
  12388. {0x00, 0, 1},
  12389. {0x01, 0x57, 1},
  12390. {0x02, 0x20, 1},
  12391. {0x03, 0x1f, 0},
  12392. {0x04, 0x4, 0},
  12393. {0x05, 0x2, 0},
  12394. {0x06, 0x1, 0},
  12395. {0x07, 0x1, 0},
  12396. {0x08, 0x1, 0},
  12397. {0x09, 0x69, 0},
  12398. {0x0A, 0x66, 0},
  12399. {0x0B, 0x6, 0},
  12400. {0x0C, 0x18, 0},
  12401. {0x0D, 0x3, 0},
  12402. {0x0E, 0x20, 0},
  12403. {0x0F, 0x20, 0},
  12404. {0x10, 0, 0},
  12405. {0x11, 0x7c, 0},
  12406. {0x12, 0x42, 0},
  12407. {0x13, 0xbd, 0},
  12408. {0x14, 0x7, 0},
  12409. {0x15, 0x87, 0},
  12410. {0x16, 0x8, 0},
  12411. {0x17, 0x17, 0},
  12412. {0x18, 0x7, 0},
  12413. {0x19, 0, 0},
  12414. {0x1A, 0x2, 0},
  12415. {0x1B, 0x13, 0},
  12416. {0x1C, 0x3e, 0},
  12417. {0x1D, 0x3e, 0},
  12418. {0x1E, 0x96, 0},
  12419. {0x1F, 0x4, 0},
  12420. {0x20, 0, 0},
  12421. {0x21, 0, 0},
  12422. {0x22, 0x17, 0},
  12423. {0x23, 0x6, 0},
  12424. {0x24, 0x1, 0},
  12425. {0x25, 0x6, 0},
  12426. {0x26, 0x4, 0},
  12427. {0x27, 0xd, 0},
  12428. {0x28, 0xd, 0},
  12429. {0x29, 0x30, 0},
  12430. {0x2A, 0x32, 0},
  12431. {0x2B, 0x8, 0},
  12432. {0x2C, 0x1c, 0},
  12433. {0x2D, 0x2, 0},
  12434. {0x2E, 0x4, 0},
  12435. {0x2F, 0x7f, 0},
  12436. {0x30, 0x27, 0},
  12437. {0x31, 0, 1},
  12438. {0x32, 0, 1},
  12439. {0x33, 0, 1},
  12440. {0x34, 0, 0},
  12441. {0x35, 0x20, 0},
  12442. {0x36, 0x18, 0},
  12443. {0x37, 0x7, 0},
  12444. {0x38, 0x66, 0},
  12445. {0x39, 0x66, 0},
  12446. {0x3A, 0x66, 0},
  12447. {0x3B, 0x66, 0},
  12448. {0x3C, 0xff, 0},
  12449. {0x3D, 0xff, 0},
  12450. {0x3E, 0xff, 0},
  12451. {0x3F, 0xff, 0},
  12452. {0x40, 0x16, 0},
  12453. {0x41, 0x7, 0},
  12454. {0x42, 0x19, 0},
  12455. {0x43, 0x7, 0},
  12456. {0x44, 0x6, 0},
  12457. {0x45, 0x3, 0},
  12458. {0x46, 0x1, 0},
  12459. {0x47, 0x7, 0},
  12460. {0x48, 0x33, 0},
  12461. {0x49, 0x5, 0},
  12462. {0x4A, 0x77, 0},
  12463. {0x4B, 0x66, 0},
  12464. {0x4C, 0x66, 0},
  12465. {0x4D, 0, 0},
  12466. {0x4E, 0x4, 0},
  12467. {0x4F, 0xc, 0},
  12468. {0x50, 0, 0},
  12469. {0x51, 0x70, 1},
  12470. {0x56, 0x7, 0},
  12471. {0x57, 0, 0},
  12472. {0x58, 0, 0},
  12473. {0x59, 0x88, 1},
  12474. {0x5A, 0, 0},
  12475. {0x5B, 0x1f, 0},
  12476. {0x5C, 0x20, 1},
  12477. {0x5D, 0x1, 0},
  12478. {0x5E, 0x30, 0},
  12479. {0x5F, 0x70, 0},
  12480. {0x60, 0, 0},
  12481. {0x61, 0, 0},
  12482. {0x62, 0x33, 1},
  12483. {0x63, 0xf, 1},
  12484. {0x64, 0x13, 1},
  12485. {0x65, 0, 0},
  12486. {0x66, 0xee, 1},
  12487. {0x69, 0, 0},
  12488. {0x6A, 0x7e, 0},
  12489. {0x6B, 0x3f, 0},
  12490. {0x6C, 0x7f, 0},
  12491. {0x6D, 0x78, 0},
  12492. {0x6E, 0x58, 1},
  12493. {0x6F, 0x88, 0},
  12494. {0x70, 0x8, 0},
  12495. {0x71, 0xf, 0},
  12496. {0x72, 0xbc, 0},
  12497. {0x73, 0x8, 0},
  12498. {0x74, 0x60, 0},
  12499. {0x75, 0x13, 1},
  12500. {0x76, 0x70, 0},
  12501. {0x77, 0, 0},
  12502. {0x78, 0, 0},
  12503. {0x79, 0, 0},
  12504. {0x7A, 0x33, 0},
  12505. {0x7B, 0x13, 1},
  12506. {0x7C, 0x14, 1},
  12507. {0x7D, 0xee, 1},
  12508. {0x80, 0x3c, 0},
  12509. {0x81, 0x1, 1},
  12510. {0x82, 0xa, 0},
  12511. {0x83, 0x9d, 0},
  12512. {0x84, 0xa, 0},
  12513. {0x85, 0, 0},
  12514. {0x86, 0x40, 0},
  12515. {0x87, 0x40, 0},
  12516. {0x88, 0x88, 0},
  12517. {0x89, 0x10, 0},
  12518. {0x8A, 0xf0, 0},
  12519. {0x8B, 0x10, 0},
  12520. {0x8C, 0xf0, 0},
  12521. {0x8D, 0, 0},
  12522. {0x8E, 0, 0},
  12523. {0x8F, 0x10, 0},
  12524. {0x90, 0x55, 0},
  12525. {0x91, 0x3f, 1},
  12526. {0x92, 0x36, 1},
  12527. {0x93, 0, 0},
  12528. {0x94, 0, 0},
  12529. {0x95, 0, 0},
  12530. {0x96, 0x87, 0},
  12531. {0x97, 0x11, 0},
  12532. {0x98, 0, 0},
  12533. {0x99, 0x33, 0},
  12534. {0x9A, 0x88, 0},
  12535. {0x9B, 0, 0},
  12536. {0x9C, 0x87, 0},
  12537. {0x9D, 0x11, 0},
  12538. {0x9E, 0, 0},
  12539. {0x9F, 0x33, 0},
  12540. {0xA0, 0x88, 0},
  12541. {0xA1, 0x20, 1},
  12542. {0xA2, 0x3f, 0},
  12543. {0xA3, 0x44, 0},
  12544. {0xA4, 0x8c, 0},
  12545. {0xA5, 0x6c, 0},
  12546. {0xA6, 0x22, 0},
  12547. {0xA7, 0xbe, 0},
  12548. {0xA8, 0x55, 0},
  12549. {0xAA, 0xc, 0},
  12550. {0xAB, 0xaa, 0},
  12551. {0xAC, 0x2, 0},
  12552. {0xAD, 0, 0},
  12553. {0xAE, 0x10, 0},
  12554. {0xAF, 0x1, 0},
  12555. {0xB0, 0, 0},
  12556. {0xB1, 0, 0},
  12557. {0xB2, 0x80, 0},
  12558. {0xB3, 0x60, 0},
  12559. {0xB4, 0x44, 0},
  12560. {0xB5, 0x55, 0},
  12561. {0xB6, 0x1, 0},
  12562. {0xB7, 0x55, 0},
  12563. {0xB8, 0x1, 0},
  12564. {0xB9, 0x5, 0},
  12565. {0xBA, 0x55, 0},
  12566. {0xBB, 0x55, 0},
  12567. {0xC1, 0, 0},
  12568. {0xC2, 0, 0},
  12569. {0xC3, 0, 0},
  12570. {0xC4, 0, 0},
  12571. {0xC5, 0, 0},
  12572. {0xC6, 0, 0},
  12573. {0xC7, 0, 0},
  12574. {0xC8, 0, 0},
  12575. {0xC9, 0, 0},
  12576. {0xCA, 0, 0},
  12577. {0xCB, 0, 0},
  12578. {0xCC, 0, 0},
  12579. {0xCD, 0, 0},
  12580. {0xCE, 0x5e, 0},
  12581. {0xCF, 0xc, 0},
  12582. {0xD0, 0xc, 0},
  12583. {0xD1, 0xc, 0},
  12584. {0xD2, 0, 0},
  12585. {0xD3, 0x2b, 0},
  12586. {0xD4, 0xc, 0},
  12587. {0xD5, 0, 0},
  12588. {0xD6, 0x70, 1},
  12589. {0xDB, 0x7, 0},
  12590. {0xDC, 0, 0},
  12591. {0xDD, 0, 0},
  12592. {0xDE, 0x88, 1},
  12593. {0xDF, 0, 0},
  12594. {0xE0, 0x1f, 0},
  12595. {0xE1, 0x20, 1},
  12596. {0xE2, 0x1, 0},
  12597. {0xE3, 0x30, 0},
  12598. {0xE4, 0x70, 0},
  12599. {0xE5, 0, 0},
  12600. {0xE6, 0, 0},
  12601. {0xE7, 0x33, 0},
  12602. {0xE8, 0xf, 1},
  12603. {0xE9, 0x13, 1},
  12604. {0xEA, 0, 0},
  12605. {0xEB, 0xee, 1},
  12606. {0xEE, 0, 0},
  12607. {0xEF, 0x7e, 0},
  12608. {0xF0, 0x3f, 0},
  12609. {0xF1, 0x7f, 0},
  12610. {0xF2, 0x78, 0},
  12611. {0xF3, 0x58, 1},
  12612. {0xF4, 0x88, 0},
  12613. {0xF5, 0x8, 0},
  12614. {0xF6, 0xf, 0},
  12615. {0xF7, 0xbc, 0},
  12616. {0xF8, 0x8, 0},
  12617. {0xF9, 0x60, 0},
  12618. {0xFA, 0x13, 1},
  12619. {0xFB, 0x70, 0},
  12620. {0xFC, 0, 0},
  12621. {0xFD, 0, 0},
  12622. {0xFE, 0, 0},
  12623. {0xFF, 0x33, 0},
  12624. {0x100, 0x13, 1},
  12625. {0x101, 0x14, 1},
  12626. {0x102, 0xee, 1},
  12627. {0x105, 0x3c, 0},
  12628. {0x106, 0x1, 1},
  12629. {0x107, 0xa, 0},
  12630. {0x108, 0x9d, 0},
  12631. {0x109, 0xa, 0},
  12632. {0x10A, 0, 0},
  12633. {0x10B, 0x40, 0},
  12634. {0x10C, 0x40, 0},
  12635. {0x10D, 0x88, 0},
  12636. {0x10E, 0x10, 0},
  12637. {0x10F, 0xf0, 0},
  12638. {0x110, 0x10, 0},
  12639. {0x111, 0xf0, 0},
  12640. {0x112, 0, 0},
  12641. {0x113, 0, 0},
  12642. {0x114, 0x10, 0},
  12643. {0x115, 0x55, 0},
  12644. {0x116, 0x3f, 1},
  12645. {0x117, 0x36, 1},
  12646. {0x118, 0, 0},
  12647. {0x119, 0, 0},
  12648. {0x11A, 0, 0},
  12649. {0x11B, 0x87, 0},
  12650. {0x11C, 0x11, 0},
  12651. {0x11D, 0, 0},
  12652. {0x11E, 0x33, 0},
  12653. {0x11F, 0x88, 0},
  12654. {0x120, 0, 0},
  12655. {0x121, 0x87, 0},
  12656. {0x122, 0x11, 0},
  12657. {0x123, 0, 0},
  12658. {0x124, 0x33, 0},
  12659. {0x125, 0x88, 0},
  12660. {0x126, 0x20, 1},
  12661. {0x127, 0x3f, 0},
  12662. {0x128, 0x44, 0},
  12663. {0x129, 0x8c, 0},
  12664. {0x12A, 0x6c, 0},
  12665. {0x12B, 0x22, 0},
  12666. {0x12C, 0xbe, 0},
  12667. {0x12D, 0x55, 0},
  12668. {0x12F, 0xc, 0},
  12669. {0x130, 0xaa, 0},
  12670. {0x131, 0x2, 0},
  12671. {0x132, 0, 0},
  12672. {0x133, 0x10, 0},
  12673. {0x134, 0x1, 0},
  12674. {0x135, 0, 0},
  12675. {0x136, 0, 0},
  12676. {0x137, 0x80, 0},
  12677. {0x138, 0x60, 0},
  12678. {0x139, 0x44, 0},
  12679. {0x13A, 0x55, 0},
  12680. {0x13B, 0x1, 0},
  12681. {0x13C, 0x55, 0},
  12682. {0x13D, 0x1, 0},
  12683. {0x13E, 0x5, 0},
  12684. {0x13F, 0x55, 0},
  12685. {0x140, 0x55, 0},
  12686. {0x146, 0, 0},
  12687. {0x147, 0, 0},
  12688. {0x148, 0, 0},
  12689. {0x149, 0, 0},
  12690. {0x14A, 0, 0},
  12691. {0x14B, 0, 0},
  12692. {0x14C, 0, 0},
  12693. {0x14D, 0, 0},
  12694. {0x14E, 0, 0},
  12695. {0x14F, 0, 0},
  12696. {0x150, 0, 0},
  12697. {0x151, 0, 0},
  12698. {0x154, 0xc, 0},
  12699. {0x155, 0xc, 0},
  12700. {0x156, 0xc, 0},
  12701. {0x157, 0, 0},
  12702. {0x158, 0x2b, 0},
  12703. {0x159, 0x84, 0},
  12704. {0x15A, 0x15, 0},
  12705. {0x15B, 0xf, 0},
  12706. {0x15C, 0, 0},
  12707. {0x15D, 0, 0},
  12708. {0x15E, 0, 1},
  12709. {0x15F, 0, 1},
  12710. {0x160, 0, 1},
  12711. {0x161, 0, 1},
  12712. {0x162, 0, 1},
  12713. {0x163, 0, 1},
  12714. {0x164, 0, 0},
  12715. {0x165, 0, 0},
  12716. {0x166, 0, 0},
  12717. {0x167, 0, 0},
  12718. {0x168, 0, 0},
  12719. {0x169, 0, 0},
  12720. {0x16A, 0, 1},
  12721. {0x16B, 0, 1},
  12722. {0x16C, 0, 1},
  12723. {0x16D, 0, 0},
  12724. {0x170, 0, 0},
  12725. {0x171, 0x77, 0},
  12726. {0x172, 0x77, 0},
  12727. {0x173, 0x77, 0},
  12728. {0x174, 0x77, 0},
  12729. {0x175, 0, 0},
  12730. {0x176, 0x3, 0},
  12731. {0x177, 0x37, 0},
  12732. {0x178, 0x3, 0},
  12733. {0x179, 0, 0},
  12734. {0x17A, 0x21, 0},
  12735. {0x17B, 0x21, 0},
  12736. {0x17C, 0, 0},
  12737. {0x17D, 0xaa, 0},
  12738. {0x17E, 0, 0},
  12739. {0x17F, 0xaa, 0},
  12740. {0x180, 0, 0},
  12741. {0x190, 0, 0},
  12742. {0x191, 0x77, 0},
  12743. {0x192, 0x77, 0},
  12744. {0x193, 0x77, 0},
  12745. {0x194, 0x77, 0},
  12746. {0x195, 0, 0},
  12747. {0x196, 0x3, 0},
  12748. {0x197, 0x37, 0},
  12749. {0x198, 0x3, 0},
  12750. {0x199, 0, 0},
  12751. {0x19A, 0x21, 0},
  12752. {0x19B, 0x21, 0},
  12753. {0x19C, 0, 0},
  12754. {0x19D, 0xaa, 0},
  12755. {0x19E, 0, 0},
  12756. {0x19F, 0xaa, 0},
  12757. {0x1A0, 0, 0},
  12758. {0x1A1, 0x2, 0},
  12759. {0x1A2, 0xf, 0},
  12760. {0x1A3, 0xf, 0},
  12761. {0x1A4, 0, 1},
  12762. {0x1A5, 0, 1},
  12763. {0x1A6, 0, 1},
  12764. {0x1A7, 0x2, 0},
  12765. {0x1A8, 0xf, 0},
  12766. {0x1A9, 0xf, 0},
  12767. {0x1AA, 0, 1},
  12768. {0x1AB, 0, 1},
  12769. {0x1AC, 0, 1},
  12770. {0x1AD, 0x84, 0},
  12771. {0x1AE, 0x60, 0},
  12772. {0x1AF, 0x47, 0},
  12773. {0x1B0, 0x47, 0},
  12774. {0x1B1, 0, 0},
  12775. {0x1B2, 0, 0},
  12776. {0x1B3, 0, 0},
  12777. {0x1B4, 0, 0},
  12778. {0x1B5, 0, 0},
  12779. {0x1B6, 0, 0},
  12780. {0x1B7, 0x5, 1},
  12781. {0x1B8, 0, 0},
  12782. {0x1B9, 0, 0},
  12783. {0x1BA, 0, 0},
  12784. {0x1BB, 0, 0},
  12785. {0x1BC, 0, 0},
  12786. {0x1BD, 0, 0},
  12787. {0x1BE, 0, 0},
  12788. {0x1BF, 0, 0},
  12789. {0x1C0, 0, 0},
  12790. {0x1C1, 0, 0},
  12791. {0x1C2, 0xa0, 1},
  12792. {0x1C3, 0, 0},
  12793. {0x1C4, 0, 0},
  12794. {0x1C5, 0, 0},
  12795. {0x1C6, 0, 0},
  12796. {0x1C7, 0, 0},
  12797. {0x1C8, 0, 0},
  12798. {0x1C9, 0, 0},
  12799. {0x1CA, 0, 0},
  12800. {0xFFFF, 0, 0}
  12801. };
  12802. static struct radio_20xx_regs regs_2057_rev8[] = {
  12803. {0x00, 0x8, 1},
  12804. {0x01, 0x57, 1},
  12805. {0x02, 0x20, 1},
  12806. {0x03, 0x1f, 0},
  12807. {0x04, 0x4, 0},
  12808. {0x05, 0x2, 0},
  12809. {0x06, 0x1, 0},
  12810. {0x07, 0x1, 0},
  12811. {0x08, 0x1, 0},
  12812. {0x09, 0x69, 0},
  12813. {0x0A, 0x66, 0},
  12814. {0x0B, 0x6, 0},
  12815. {0x0C, 0x18, 0},
  12816. {0x0D, 0x3, 0},
  12817. {0x0E, 0x20, 0},
  12818. {0x0F, 0x20, 0},
  12819. {0x10, 0, 0},
  12820. {0x11, 0x7c, 0},
  12821. {0x12, 0x42, 0},
  12822. {0x13, 0xbd, 0},
  12823. {0x14, 0x7, 0},
  12824. {0x15, 0x87, 0},
  12825. {0x16, 0x8, 0},
  12826. {0x17, 0x17, 0},
  12827. {0x18, 0x7, 0},
  12828. {0x19, 0, 0},
  12829. {0x1A, 0x2, 0},
  12830. {0x1B, 0x13, 0},
  12831. {0x1C, 0x3e, 0},
  12832. {0x1D, 0x3e, 0},
  12833. {0x1E, 0x96, 0},
  12834. {0x1F, 0x4, 0},
  12835. {0x20, 0, 0},
  12836. {0x21, 0, 0},
  12837. {0x22, 0x17, 0},
  12838. {0x23, 0x6, 0},
  12839. {0x24, 0x1, 0},
  12840. {0x25, 0x6, 0},
  12841. {0x26, 0x4, 0},
  12842. {0x27, 0xd, 0},
  12843. {0x28, 0xd, 0},
  12844. {0x29, 0x30, 0},
  12845. {0x2A, 0x32, 0},
  12846. {0x2B, 0x8, 0},
  12847. {0x2C, 0x1c, 0},
  12848. {0x2D, 0x2, 0},
  12849. {0x2E, 0x4, 0},
  12850. {0x2F, 0x7f, 0},
  12851. {0x30, 0x27, 0},
  12852. {0x31, 0, 1},
  12853. {0x32, 0, 1},
  12854. {0x33, 0, 1},
  12855. {0x34, 0, 0},
  12856. {0x35, 0x20, 0},
  12857. {0x36, 0x18, 0},
  12858. {0x37, 0x7, 0},
  12859. {0x38, 0x66, 0},
  12860. {0x39, 0x66, 0},
  12861. {0x3A, 0x66, 0},
  12862. {0x3B, 0x66, 0},
  12863. {0x3C, 0xff, 0},
  12864. {0x3D, 0xff, 0},
  12865. {0x3E, 0xff, 0},
  12866. {0x3F, 0xff, 0},
  12867. {0x40, 0x16, 0},
  12868. {0x41, 0x7, 0},
  12869. {0x42, 0x19, 0},
  12870. {0x43, 0x7, 0},
  12871. {0x44, 0x6, 0},
  12872. {0x45, 0x3, 0},
  12873. {0x46, 0x1, 0},
  12874. {0x47, 0x7, 0},
  12875. {0x48, 0x33, 0},
  12876. {0x49, 0x5, 0},
  12877. {0x4A, 0x77, 0},
  12878. {0x4B, 0x66, 0},
  12879. {0x4C, 0x66, 0},
  12880. {0x4D, 0, 0},
  12881. {0x4E, 0x4, 0},
  12882. {0x4F, 0xc, 0},
  12883. {0x50, 0, 0},
  12884. {0x51, 0x70, 1},
  12885. {0x56, 0x7, 0},
  12886. {0x57, 0, 0},
  12887. {0x58, 0, 0},
  12888. {0x59, 0x88, 1},
  12889. {0x5A, 0, 0},
  12890. {0x5B, 0x1f, 0},
  12891. {0x5C, 0x20, 1},
  12892. {0x5D, 0x1, 0},
  12893. {0x5E, 0x30, 0},
  12894. {0x5F, 0x70, 0},
  12895. {0x60, 0, 0},
  12896. {0x61, 0, 0},
  12897. {0x62, 0x33, 1},
  12898. {0x63, 0xf, 1},
  12899. {0x64, 0xf, 1},
  12900. {0x65, 0, 0},
  12901. {0x66, 0x11, 0},
  12902. {0x69, 0, 0},
  12903. {0x6A, 0x7e, 0},
  12904. {0x6B, 0x3f, 0},
  12905. {0x6C, 0x7f, 0},
  12906. {0x6D, 0x78, 0},
  12907. {0x6E, 0x58, 1},
  12908. {0x6F, 0x88, 0},
  12909. {0x70, 0x8, 0},
  12910. {0x71, 0xf, 0},
  12911. {0x72, 0xbc, 0},
  12912. {0x73, 0x8, 0},
  12913. {0x74, 0x60, 0},
  12914. {0x75, 0x13, 1},
  12915. {0x76, 0x70, 0},
  12916. {0x77, 0, 0},
  12917. {0x78, 0, 0},
  12918. {0x79, 0, 0},
  12919. {0x7A, 0x33, 0},
  12920. {0x7B, 0x13, 1},
  12921. {0x7C, 0xf, 1},
  12922. {0x7D, 0xee, 1},
  12923. {0x80, 0x3c, 0},
  12924. {0x81, 0x1, 1},
  12925. {0x82, 0xa, 0},
  12926. {0x83, 0x9d, 0},
  12927. {0x84, 0xa, 0},
  12928. {0x85, 0, 0},
  12929. {0x86, 0x40, 0},
  12930. {0x87, 0x40, 0},
  12931. {0x88, 0x88, 0},
  12932. {0x89, 0x10, 0},
  12933. {0x8A, 0xf0, 0},
  12934. {0x8B, 0x10, 0},
  12935. {0x8C, 0xf0, 0},
  12936. {0x8D, 0, 0},
  12937. {0x8E, 0, 0},
  12938. {0x8F, 0x10, 0},
  12939. {0x90, 0x55, 0},
  12940. {0x91, 0x3f, 1},
  12941. {0x92, 0x36, 1},
  12942. {0x93, 0, 0},
  12943. {0x94, 0, 0},
  12944. {0x95, 0, 0},
  12945. {0x96, 0x87, 0},
  12946. {0x97, 0x11, 0},
  12947. {0x98, 0, 0},
  12948. {0x99, 0x33, 0},
  12949. {0x9A, 0x88, 0},
  12950. {0x9B, 0, 0},
  12951. {0x9C, 0x87, 0},
  12952. {0x9D, 0x11, 0},
  12953. {0x9E, 0, 0},
  12954. {0x9F, 0x33, 0},
  12955. {0xA0, 0x88, 0},
  12956. {0xA1, 0x20, 1},
  12957. {0xA2, 0x3f, 0},
  12958. {0xA3, 0x44, 0},
  12959. {0xA4, 0x8c, 0},
  12960. {0xA5, 0x6c, 0},
  12961. {0xA6, 0x22, 0},
  12962. {0xA7, 0xbe, 0},
  12963. {0xA8, 0x55, 0},
  12964. {0xAA, 0xc, 0},
  12965. {0xAB, 0xaa, 0},
  12966. {0xAC, 0x2, 0},
  12967. {0xAD, 0, 0},
  12968. {0xAE, 0x10, 0},
  12969. {0xAF, 0x1, 0},
  12970. {0xB0, 0, 0},
  12971. {0xB1, 0, 0},
  12972. {0xB2, 0x80, 0},
  12973. {0xB3, 0x60, 0},
  12974. {0xB4, 0x44, 0},
  12975. {0xB5, 0x55, 0},
  12976. {0xB6, 0x1, 0},
  12977. {0xB7, 0x55, 0},
  12978. {0xB8, 0x1, 0},
  12979. {0xB9, 0x5, 0},
  12980. {0xBA, 0x55, 0},
  12981. {0xBB, 0x55, 0},
  12982. {0xC1, 0, 0},
  12983. {0xC2, 0, 0},
  12984. {0xC3, 0, 0},
  12985. {0xC4, 0, 0},
  12986. {0xC5, 0, 0},
  12987. {0xC6, 0, 0},
  12988. {0xC7, 0, 0},
  12989. {0xC8, 0, 0},
  12990. {0xC9, 0x1, 1},
  12991. {0xCA, 0, 0},
  12992. {0xCB, 0, 0},
  12993. {0xCC, 0, 0},
  12994. {0xCD, 0, 0},
  12995. {0xCE, 0x5e, 0},
  12996. {0xCF, 0xc, 0},
  12997. {0xD0, 0xc, 0},
  12998. {0xD1, 0xc, 0},
  12999. {0xD2, 0, 0},
  13000. {0xD3, 0x2b, 0},
  13001. {0xD4, 0xc, 0},
  13002. {0xD5, 0, 0},
  13003. {0xD6, 0x70, 1},
  13004. {0xDB, 0x7, 0},
  13005. {0xDC, 0, 0},
  13006. {0xDD, 0, 0},
  13007. {0xDE, 0x88, 1},
  13008. {0xDF, 0, 0},
  13009. {0xE0, 0x1f, 0},
  13010. {0xE1, 0x20, 1},
  13011. {0xE2, 0x1, 0},
  13012. {0xE3, 0x30, 0},
  13013. {0xE4, 0x70, 0},
  13014. {0xE5, 0, 0},
  13015. {0xE6, 0, 0},
  13016. {0xE7, 0x33, 0},
  13017. {0xE8, 0xf, 1},
  13018. {0xE9, 0xf, 1},
  13019. {0xEA, 0, 0},
  13020. {0xEB, 0x11, 0},
  13021. {0xEE, 0, 0},
  13022. {0xEF, 0x7e, 0},
  13023. {0xF0, 0x3f, 0},
  13024. {0xF1, 0x7f, 0},
  13025. {0xF2, 0x78, 0},
  13026. {0xF3, 0x58, 1},
  13027. {0xF4, 0x88, 0},
  13028. {0xF5, 0x8, 0},
  13029. {0xF6, 0xf, 0},
  13030. {0xF7, 0xbc, 0},
  13031. {0xF8, 0x8, 0},
  13032. {0xF9, 0x60, 0},
  13033. {0xFA, 0x13, 1},
  13034. {0xFB, 0x70, 0},
  13035. {0xFC, 0, 0},
  13036. {0xFD, 0, 0},
  13037. {0xFE, 0, 0},
  13038. {0xFF, 0x33, 0},
  13039. {0x100, 0x13, 1},
  13040. {0x101, 0xf, 1},
  13041. {0x102, 0xee, 1},
  13042. {0x105, 0x3c, 0},
  13043. {0x106, 0x1, 1},
  13044. {0x107, 0xa, 0},
  13045. {0x108, 0x9d, 0},
  13046. {0x109, 0xa, 0},
  13047. {0x10A, 0, 0},
  13048. {0x10B, 0x40, 0},
  13049. {0x10C, 0x40, 0},
  13050. {0x10D, 0x88, 0},
  13051. {0x10E, 0x10, 0},
  13052. {0x10F, 0xf0, 0},
  13053. {0x110, 0x10, 0},
  13054. {0x111, 0xf0, 0},
  13055. {0x112, 0, 0},
  13056. {0x113, 0, 0},
  13057. {0x114, 0x10, 0},
  13058. {0x115, 0x55, 0},
  13059. {0x116, 0x3f, 1},
  13060. {0x117, 0x36, 1},
  13061. {0x118, 0, 0},
  13062. {0x119, 0, 0},
  13063. {0x11A, 0, 0},
  13064. {0x11B, 0x87, 0},
  13065. {0x11C, 0x11, 0},
  13066. {0x11D, 0, 0},
  13067. {0x11E, 0x33, 0},
  13068. {0x11F, 0x88, 0},
  13069. {0x120, 0, 0},
  13070. {0x121, 0x87, 0},
  13071. {0x122, 0x11, 0},
  13072. {0x123, 0, 0},
  13073. {0x124, 0x33, 0},
  13074. {0x125, 0x88, 0},
  13075. {0x126, 0x20, 1},
  13076. {0x127, 0x3f, 0},
  13077. {0x128, 0x44, 0},
  13078. {0x129, 0x8c, 0},
  13079. {0x12A, 0x6c, 0},
  13080. {0x12B, 0x22, 0},
  13081. {0x12C, 0xbe, 0},
  13082. {0x12D, 0x55, 0},
  13083. {0x12F, 0xc, 0},
  13084. {0x130, 0xaa, 0},
  13085. {0x131, 0x2, 0},
  13086. {0x132, 0, 0},
  13087. {0x133, 0x10, 0},
  13088. {0x134, 0x1, 0},
  13089. {0x135, 0, 0},
  13090. {0x136, 0, 0},
  13091. {0x137, 0x80, 0},
  13092. {0x138, 0x60, 0},
  13093. {0x139, 0x44, 0},
  13094. {0x13A, 0x55, 0},
  13095. {0x13B, 0x1, 0},
  13096. {0x13C, 0x55, 0},
  13097. {0x13D, 0x1, 0},
  13098. {0x13E, 0x5, 0},
  13099. {0x13F, 0x55, 0},
  13100. {0x140, 0x55, 0},
  13101. {0x146, 0, 0},
  13102. {0x147, 0, 0},
  13103. {0x148, 0, 0},
  13104. {0x149, 0, 0},
  13105. {0x14A, 0, 0},
  13106. {0x14B, 0, 0},
  13107. {0x14C, 0, 0},
  13108. {0x14D, 0, 0},
  13109. {0x14E, 0x1, 1},
  13110. {0x14F, 0, 0},
  13111. {0x150, 0, 0},
  13112. {0x151, 0, 0},
  13113. {0x154, 0xc, 0},
  13114. {0x155, 0xc, 0},
  13115. {0x156, 0xc, 0},
  13116. {0x157, 0, 0},
  13117. {0x158, 0x2b, 0},
  13118. {0x159, 0x84, 0},
  13119. {0x15A, 0x15, 0},
  13120. {0x15B, 0xf, 0},
  13121. {0x15C, 0, 0},
  13122. {0x15D, 0, 0},
  13123. {0x15E, 0, 1},
  13124. {0x15F, 0, 1},
  13125. {0x160, 0, 1},
  13126. {0x161, 0, 1},
  13127. {0x162, 0, 1},
  13128. {0x163, 0, 1},
  13129. {0x164, 0, 0},
  13130. {0x165, 0, 0},
  13131. {0x166, 0, 0},
  13132. {0x167, 0, 0},
  13133. {0x168, 0, 0},
  13134. {0x169, 0, 0},
  13135. {0x16A, 0, 1},
  13136. {0x16B, 0, 1},
  13137. {0x16C, 0, 1},
  13138. {0x16D, 0, 0},
  13139. {0x170, 0, 0},
  13140. {0x171, 0x77, 0},
  13141. {0x172, 0x77, 0},
  13142. {0x173, 0x77, 0},
  13143. {0x174, 0x77, 0},
  13144. {0x175, 0, 0},
  13145. {0x176, 0x3, 0},
  13146. {0x177, 0x37, 0},
  13147. {0x178, 0x3, 0},
  13148. {0x179, 0, 0},
  13149. {0x17A, 0x21, 0},
  13150. {0x17B, 0x21, 0},
  13151. {0x17C, 0, 0},
  13152. {0x17D, 0xaa, 0},
  13153. {0x17E, 0, 0},
  13154. {0x17F, 0xaa, 0},
  13155. {0x180, 0, 0},
  13156. {0x190, 0, 0},
  13157. {0x191, 0x77, 0},
  13158. {0x192, 0x77, 0},
  13159. {0x193, 0x77, 0},
  13160. {0x194, 0x77, 0},
  13161. {0x195, 0, 0},
  13162. {0x196, 0x3, 0},
  13163. {0x197, 0x37, 0},
  13164. {0x198, 0x3, 0},
  13165. {0x199, 0, 0},
  13166. {0x19A, 0x21, 0},
  13167. {0x19B, 0x21, 0},
  13168. {0x19C, 0, 0},
  13169. {0x19D, 0xaa, 0},
  13170. {0x19E, 0, 0},
  13171. {0x19F, 0xaa, 0},
  13172. {0x1A0, 0, 0},
  13173. {0x1A1, 0x2, 0},
  13174. {0x1A2, 0xf, 0},
  13175. {0x1A3, 0xf, 0},
  13176. {0x1A4, 0, 1},
  13177. {0x1A5, 0, 1},
  13178. {0x1A6, 0, 1},
  13179. {0x1A7, 0x2, 0},
  13180. {0x1A8, 0xf, 0},
  13181. {0x1A9, 0xf, 0},
  13182. {0x1AA, 0, 1},
  13183. {0x1AB, 0, 1},
  13184. {0x1AC, 0, 1},
  13185. {0x1AD, 0x84, 0},
  13186. {0x1AE, 0x60, 0},
  13187. {0x1AF, 0x47, 0},
  13188. {0x1B0, 0x47, 0},
  13189. {0x1B1, 0, 0},
  13190. {0x1B2, 0, 0},
  13191. {0x1B3, 0, 0},
  13192. {0x1B4, 0, 0},
  13193. {0x1B5, 0, 0},
  13194. {0x1B6, 0, 0},
  13195. {0x1B7, 0x5, 1},
  13196. {0x1B8, 0, 0},
  13197. {0x1B9, 0, 0},
  13198. {0x1BA, 0, 0},
  13199. {0x1BB, 0, 0},
  13200. {0x1BC, 0, 0},
  13201. {0x1BD, 0, 0},
  13202. {0x1BE, 0, 0},
  13203. {0x1BF, 0, 0},
  13204. {0x1C0, 0, 0},
  13205. {0x1C1, 0, 0},
  13206. {0x1C2, 0xa0, 1},
  13207. {0x1C3, 0, 0},
  13208. {0x1C4, 0, 0},
  13209. {0x1C5, 0, 0},
  13210. {0x1C6, 0, 0},
  13211. {0x1C7, 0, 0},
  13212. {0x1C8, 0, 0},
  13213. {0x1C9, 0, 0},
  13214. {0x1CA, 0, 0},
  13215. {0xFFFF, 0, 0}
  13216. };
  13217. static s16 nphy_def_lnagains[] = { -2, 10, 19, 25 };
  13218. static s32 nphy_lnagain_est0[] = { -315, 40370 };
  13219. static s32 nphy_lnagain_est1[] = { -224, 23242 };
  13220. static const u16 tbl_iqcal_gainparams_nphy[2][NPHY_IQCAL_NUMGAINS][8] = {
  13221. {
  13222. {0x000, 0, 0, 2, 0x69, 0x69, 0x69, 0x69},
  13223. {0x700, 7, 0, 0, 0x69, 0x69, 0x69, 0x69},
  13224. {0x710, 7, 1, 0, 0x68, 0x68, 0x68, 0x68},
  13225. {0x720, 7, 2, 0, 0x67, 0x67, 0x67, 0x67},
  13226. {0x730, 7, 3, 0, 0x66, 0x66, 0x66, 0x66},
  13227. {0x740, 7, 4, 0, 0x65, 0x65, 0x65, 0x65},
  13228. {0x741, 7, 4, 1, 0x65, 0x65, 0x65, 0x65},
  13229. {0x742, 7, 4, 2, 0x65, 0x65, 0x65, 0x65},
  13230. {0x743, 7, 4, 3, 0x65, 0x65, 0x65, 0x65}
  13231. },
  13232. {
  13233. {0x000, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13234. {0x700, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13235. {0x710, 7, 1, 0, 0x79, 0x79, 0x79, 0x79},
  13236. {0x720, 7, 2, 0, 0x78, 0x78, 0x78, 0x78},
  13237. {0x730, 7, 3, 0, 0x78, 0x78, 0x78, 0x78},
  13238. {0x740, 7, 4, 0, 0x78, 0x78, 0x78, 0x78},
  13239. {0x741, 7, 4, 1, 0x78, 0x78, 0x78, 0x78},
  13240. {0x742, 7, 4, 2, 0x78, 0x78, 0x78, 0x78},
  13241. {0x743, 7, 4, 3, 0x78, 0x78, 0x78, 0x78}
  13242. }
  13243. };
  13244. static const u32 nphy_tpc_txgain[] = {
  13245. 0x03cc2b44, 0x03cc2b42, 0x03cc2a44, 0x03cc2a42,
  13246. 0x03cc2944, 0x03c82b44, 0x03c82b42, 0x03c82a44,
  13247. 0x03c82a42, 0x03c82944, 0x03c82942, 0x03c82844,
  13248. 0x03c82842, 0x03c42b44, 0x03c42b42, 0x03c42a44,
  13249. 0x03c42a42, 0x03c42944, 0x03c42942, 0x03c42844,
  13250. 0x03c42842, 0x03c42744, 0x03c42742, 0x03c42644,
  13251. 0x03c42642, 0x03c42544, 0x03c42542, 0x03c42444,
  13252. 0x03c42442, 0x03c02b44, 0x03c02b42, 0x03c02a44,
  13253. 0x03c02a42, 0x03c02944, 0x03c02942, 0x03c02844,
  13254. 0x03c02842, 0x03c02744, 0x03c02742, 0x03b02b44,
  13255. 0x03b02b42, 0x03b02a44, 0x03b02a42, 0x03b02944,
  13256. 0x03b02942, 0x03b02844, 0x03b02842, 0x03b02744,
  13257. 0x03b02742, 0x03b02644, 0x03b02642, 0x03b02544,
  13258. 0x03b02542, 0x03a02b44, 0x03a02b42, 0x03a02a44,
  13259. 0x03a02a42, 0x03a02944, 0x03a02942, 0x03a02844,
  13260. 0x03a02842, 0x03a02744, 0x03a02742, 0x03902b44,
  13261. 0x03902b42, 0x03902a44, 0x03902a42, 0x03902944,
  13262. 0x03902942, 0x03902844, 0x03902842, 0x03902744,
  13263. 0x03902742, 0x03902644, 0x03902642, 0x03902544,
  13264. 0x03902542, 0x03802b44, 0x03802b42, 0x03802a44,
  13265. 0x03802a42, 0x03802944, 0x03802942, 0x03802844,
  13266. 0x03802842, 0x03802744, 0x03802742, 0x03802644,
  13267. 0x03802642, 0x03802544, 0x03802542, 0x03802444,
  13268. 0x03802442, 0x03802344, 0x03802342, 0x03802244,
  13269. 0x03802242, 0x03802144, 0x03802142, 0x03802044,
  13270. 0x03802042, 0x03801f44, 0x03801f42, 0x03801e44,
  13271. 0x03801e42, 0x03801d44, 0x03801d42, 0x03801c44,
  13272. 0x03801c42, 0x03801b44, 0x03801b42, 0x03801a44,
  13273. 0x03801a42, 0x03801944, 0x03801942, 0x03801844,
  13274. 0x03801842, 0x03801744, 0x03801742, 0x03801644,
  13275. 0x03801642, 0x03801544, 0x03801542, 0x03801444,
  13276. 0x03801442, 0x03801344, 0x03801342, 0x00002b00
  13277. };
  13278. static const u16 nphy_tpc_loscale[] = {
  13279. 256, 256, 271, 271, 287, 256, 256, 271,
  13280. 271, 287, 287, 304, 304, 256, 256, 271,
  13281. 271, 287, 287, 304, 304, 322, 322, 341,
  13282. 341, 362, 362, 383, 383, 256, 256, 271,
  13283. 271, 287, 287, 304, 304, 322, 322, 256,
  13284. 256, 271, 271, 287, 287, 304, 304, 322,
  13285. 322, 341, 341, 362, 362, 256, 256, 271,
  13286. 271, 287, 287, 304, 304, 322, 322, 256,
  13287. 256, 271, 271, 287, 287, 304, 304, 322,
  13288. 322, 341, 341, 362, 362, 256, 256, 271,
  13289. 271, 287, 287, 304, 304, 322, 322, 341,
  13290. 341, 362, 362, 383, 383, 406, 406, 430,
  13291. 430, 455, 455, 482, 482, 511, 511, 541,
  13292. 541, 573, 573, 607, 607, 643, 643, 681,
  13293. 681, 722, 722, 764, 764, 810, 810, 858,
  13294. 858, 908, 908, 962, 962, 1019, 1019, 256
  13295. };
  13296. static u32 nphy_tpc_txgain_ipa[] = {
  13297. 0x5ff7002d, 0x5ff7002b, 0x5ff7002a, 0x5ff70029,
  13298. 0x5ff70028, 0x5ff70027, 0x5ff70026, 0x5ff70025,
  13299. 0x5ef7002d, 0x5ef7002b, 0x5ef7002a, 0x5ef70029,
  13300. 0x5ef70028, 0x5ef70027, 0x5ef70026, 0x5ef70025,
  13301. 0x5df7002d, 0x5df7002b, 0x5df7002a, 0x5df70029,
  13302. 0x5df70028, 0x5df70027, 0x5df70026, 0x5df70025,
  13303. 0x5cf7002d, 0x5cf7002b, 0x5cf7002a, 0x5cf70029,
  13304. 0x5cf70028, 0x5cf70027, 0x5cf70026, 0x5cf70025,
  13305. 0x5bf7002d, 0x5bf7002b, 0x5bf7002a, 0x5bf70029,
  13306. 0x5bf70028, 0x5bf70027, 0x5bf70026, 0x5bf70025,
  13307. 0x5af7002d, 0x5af7002b, 0x5af7002a, 0x5af70029,
  13308. 0x5af70028, 0x5af70027, 0x5af70026, 0x5af70025,
  13309. 0x59f7002d, 0x59f7002b, 0x59f7002a, 0x59f70029,
  13310. 0x59f70028, 0x59f70027, 0x59f70026, 0x59f70025,
  13311. 0x58f7002d, 0x58f7002b, 0x58f7002a, 0x58f70029,
  13312. 0x58f70028, 0x58f70027, 0x58f70026, 0x58f70025,
  13313. 0x57f7002d, 0x57f7002b, 0x57f7002a, 0x57f70029,
  13314. 0x57f70028, 0x57f70027, 0x57f70026, 0x57f70025,
  13315. 0x56f7002d, 0x56f7002b, 0x56f7002a, 0x56f70029,
  13316. 0x56f70028, 0x56f70027, 0x56f70026, 0x56f70025,
  13317. 0x55f7002d, 0x55f7002b, 0x55f7002a, 0x55f70029,
  13318. 0x55f70028, 0x55f70027, 0x55f70026, 0x55f70025,
  13319. 0x54f7002d, 0x54f7002b, 0x54f7002a, 0x54f70029,
  13320. 0x54f70028, 0x54f70027, 0x54f70026, 0x54f70025,
  13321. 0x53f7002d, 0x53f7002b, 0x53f7002a, 0x53f70029,
  13322. 0x53f70028, 0x53f70027, 0x53f70026, 0x53f70025,
  13323. 0x52f7002d, 0x52f7002b, 0x52f7002a, 0x52f70029,
  13324. 0x52f70028, 0x52f70027, 0x52f70026, 0x52f70025,
  13325. 0x51f7002d, 0x51f7002b, 0x51f7002a, 0x51f70029,
  13326. 0x51f70028, 0x51f70027, 0x51f70026, 0x51f70025,
  13327. 0x50f7002d, 0x50f7002b, 0x50f7002a, 0x50f70029,
  13328. 0x50f70028, 0x50f70027, 0x50f70026, 0x50f70025
  13329. };
  13330. static u32 nphy_tpc_txgain_ipa_rev5[] = {
  13331. 0x1ff7002d, 0x1ff7002b, 0x1ff7002a, 0x1ff70029,
  13332. 0x1ff70028, 0x1ff70027, 0x1ff70026, 0x1ff70025,
  13333. 0x1ef7002d, 0x1ef7002b, 0x1ef7002a, 0x1ef70029,
  13334. 0x1ef70028, 0x1ef70027, 0x1ef70026, 0x1ef70025,
  13335. 0x1df7002d, 0x1df7002b, 0x1df7002a, 0x1df70029,
  13336. 0x1df70028, 0x1df70027, 0x1df70026, 0x1df70025,
  13337. 0x1cf7002d, 0x1cf7002b, 0x1cf7002a, 0x1cf70029,
  13338. 0x1cf70028, 0x1cf70027, 0x1cf70026, 0x1cf70025,
  13339. 0x1bf7002d, 0x1bf7002b, 0x1bf7002a, 0x1bf70029,
  13340. 0x1bf70028, 0x1bf70027, 0x1bf70026, 0x1bf70025,
  13341. 0x1af7002d, 0x1af7002b, 0x1af7002a, 0x1af70029,
  13342. 0x1af70028, 0x1af70027, 0x1af70026, 0x1af70025,
  13343. 0x19f7002d, 0x19f7002b, 0x19f7002a, 0x19f70029,
  13344. 0x19f70028, 0x19f70027, 0x19f70026, 0x19f70025,
  13345. 0x18f7002d, 0x18f7002b, 0x18f7002a, 0x18f70029,
  13346. 0x18f70028, 0x18f70027, 0x18f70026, 0x18f70025,
  13347. 0x17f7002d, 0x17f7002b, 0x17f7002a, 0x17f70029,
  13348. 0x17f70028, 0x17f70027, 0x17f70026, 0x17f70025,
  13349. 0x16f7002d, 0x16f7002b, 0x16f7002a, 0x16f70029,
  13350. 0x16f70028, 0x16f70027, 0x16f70026, 0x16f70025,
  13351. 0x15f7002d, 0x15f7002b, 0x15f7002a, 0x15f70029,
  13352. 0x15f70028, 0x15f70027, 0x15f70026, 0x15f70025,
  13353. 0x14f7002d, 0x14f7002b, 0x14f7002a, 0x14f70029,
  13354. 0x14f70028, 0x14f70027, 0x14f70026, 0x14f70025,
  13355. 0x13f7002d, 0x13f7002b, 0x13f7002a, 0x13f70029,
  13356. 0x13f70028, 0x13f70027, 0x13f70026, 0x13f70025,
  13357. 0x12f7002d, 0x12f7002b, 0x12f7002a, 0x12f70029,
  13358. 0x12f70028, 0x12f70027, 0x12f70026, 0x12f70025,
  13359. 0x11f7002d, 0x11f7002b, 0x11f7002a, 0x11f70029,
  13360. 0x11f70028, 0x11f70027, 0x11f70026, 0x11f70025,
  13361. 0x10f7002d, 0x10f7002b, 0x10f7002a, 0x10f70029,
  13362. 0x10f70028, 0x10f70027, 0x10f70026, 0x10f70025
  13363. };
  13364. static u32 nphy_tpc_txgain_ipa_rev6[] = {
  13365. 0x0ff7002d, 0x0ff7002b, 0x0ff7002a, 0x0ff70029,
  13366. 0x0ff70028, 0x0ff70027, 0x0ff70026, 0x0ff70025,
  13367. 0x0ef7002d, 0x0ef7002b, 0x0ef7002a, 0x0ef70029,
  13368. 0x0ef70028, 0x0ef70027, 0x0ef70026, 0x0ef70025,
  13369. 0x0df7002d, 0x0df7002b, 0x0df7002a, 0x0df70029,
  13370. 0x0df70028, 0x0df70027, 0x0df70026, 0x0df70025,
  13371. 0x0cf7002d, 0x0cf7002b, 0x0cf7002a, 0x0cf70029,
  13372. 0x0cf70028, 0x0cf70027, 0x0cf70026, 0x0cf70025,
  13373. 0x0bf7002d, 0x0bf7002b, 0x0bf7002a, 0x0bf70029,
  13374. 0x0bf70028, 0x0bf70027, 0x0bf70026, 0x0bf70025,
  13375. 0x0af7002d, 0x0af7002b, 0x0af7002a, 0x0af70029,
  13376. 0x0af70028, 0x0af70027, 0x0af70026, 0x0af70025,
  13377. 0x09f7002d, 0x09f7002b, 0x09f7002a, 0x09f70029,
  13378. 0x09f70028, 0x09f70027, 0x09f70026, 0x09f70025,
  13379. 0x08f7002d, 0x08f7002b, 0x08f7002a, 0x08f70029,
  13380. 0x08f70028, 0x08f70027, 0x08f70026, 0x08f70025,
  13381. 0x07f7002d, 0x07f7002b, 0x07f7002a, 0x07f70029,
  13382. 0x07f70028, 0x07f70027, 0x07f70026, 0x07f70025,
  13383. 0x06f7002d, 0x06f7002b, 0x06f7002a, 0x06f70029,
  13384. 0x06f70028, 0x06f70027, 0x06f70026, 0x06f70025,
  13385. 0x05f7002d, 0x05f7002b, 0x05f7002a, 0x05f70029,
  13386. 0x05f70028, 0x05f70027, 0x05f70026, 0x05f70025,
  13387. 0x04f7002d, 0x04f7002b, 0x04f7002a, 0x04f70029,
  13388. 0x04f70028, 0x04f70027, 0x04f70026, 0x04f70025,
  13389. 0x03f7002d, 0x03f7002b, 0x03f7002a, 0x03f70029,
  13390. 0x03f70028, 0x03f70027, 0x03f70026, 0x03f70025,
  13391. 0x02f7002d, 0x02f7002b, 0x02f7002a, 0x02f70029,
  13392. 0x02f70028, 0x02f70027, 0x02f70026, 0x02f70025,
  13393. 0x01f7002d, 0x01f7002b, 0x01f7002a, 0x01f70029,
  13394. 0x01f70028, 0x01f70027, 0x01f70026, 0x01f70025,
  13395. 0x00f7002d, 0x00f7002b, 0x00f7002a, 0x00f70029,
  13396. 0x00f70028, 0x00f70027, 0x00f70026, 0x00f70025
  13397. };
  13398. static u32 nphy_tpc_txgain_ipa_2g_2057rev3[] = {
  13399. 0x70ff0040, 0x70f7003e, 0x70ef003b, 0x70e70039,
  13400. 0x70df0037, 0x70d70036, 0x70cf0033, 0x70c70032,
  13401. 0x70bf0031, 0x70b7002f, 0x70af002e, 0x70a7002d,
  13402. 0x709f002d, 0x7097002c, 0x708f002c, 0x7087002c,
  13403. 0x707f002b, 0x7077002c, 0x706f002c, 0x7067002d,
  13404. 0x705f002e, 0x705f002b, 0x705f0029, 0x7057002a,
  13405. 0x70570028, 0x704f002a, 0x7047002c, 0x7047002a,
  13406. 0x70470028, 0x70470026, 0x70470024, 0x70470022,
  13407. 0x7047001f, 0x70370027, 0x70370024, 0x70370022,
  13408. 0x70370020, 0x7037001f, 0x7037001d, 0x7037001b,
  13409. 0x7037001a, 0x70370018, 0x70370017, 0x7027001e,
  13410. 0x7027001d, 0x7027001a, 0x701f0024, 0x701f0022,
  13411. 0x701f0020, 0x701f001f, 0x701f001d, 0x701f001b,
  13412. 0x701f001a, 0x701f0018, 0x701f0017, 0x701f0015,
  13413. 0x701f0014, 0x701f0013, 0x701f0012, 0x701f0011,
  13414. 0x70170019, 0x70170018, 0x70170016, 0x70170015,
  13415. 0x70170014, 0x70170013, 0x70170012, 0x70170010,
  13416. 0x70170010, 0x7017000f, 0x700f001d, 0x700f001b,
  13417. 0x700f001a, 0x700f0018, 0x700f0017, 0x700f0015,
  13418. 0x700f0015, 0x700f0013, 0x700f0013, 0x700f0011,
  13419. 0x700f0010, 0x700f0010, 0x700f000f, 0x700f000e,
  13420. 0x700f000d, 0x700f000c, 0x700f000b, 0x700f000b,
  13421. 0x700f000b, 0x700f000a, 0x700f0009, 0x700f0009,
  13422. 0x700f0009, 0x700f0008, 0x700f0007, 0x700f0007,
  13423. 0x700f0006, 0x700f0006, 0x700f0006, 0x700f0006,
  13424. 0x700f0005, 0x700f0005, 0x700f0005, 0x700f0004,
  13425. 0x700f0004, 0x700f0004, 0x700f0004, 0x700f0004,
  13426. 0x700f0004, 0x700f0003, 0x700f0003, 0x700f0003,
  13427. 0x700f0003, 0x700f0002, 0x700f0002, 0x700f0002,
  13428. 0x700f0002, 0x700f0002, 0x700f0002, 0x700f0001,
  13429. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001,
  13430. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001
  13431. };
  13432. static u32 nphy_tpc_txgain_ipa_2g_2057rev4n6[] = {
  13433. 0xf0ff0040, 0xf0f7003e, 0xf0ef003b, 0xf0e70039,
  13434. 0xf0df0037, 0xf0d70036, 0xf0cf0033, 0xf0c70032,
  13435. 0xf0bf0031, 0xf0b7002f, 0xf0af002e, 0xf0a7002d,
  13436. 0xf09f002d, 0xf097002c, 0xf08f002c, 0xf087002c,
  13437. 0xf07f002b, 0xf077002c, 0xf06f002c, 0xf067002d,
  13438. 0xf05f002e, 0xf05f002b, 0xf05f0029, 0xf057002a,
  13439. 0xf0570028, 0xf04f002a, 0xf047002c, 0xf047002a,
  13440. 0xf0470028, 0xf0470026, 0xf0470024, 0xf0470022,
  13441. 0xf047001f, 0xf0370027, 0xf0370024, 0xf0370022,
  13442. 0xf0370020, 0xf037001f, 0xf037001d, 0xf037001b,
  13443. 0xf037001a, 0xf0370018, 0xf0370017, 0xf027001e,
  13444. 0xf027001d, 0xf027001a, 0xf01f0024, 0xf01f0022,
  13445. 0xf01f0020, 0xf01f001f, 0xf01f001d, 0xf01f001b,
  13446. 0xf01f001a, 0xf01f0018, 0xf01f0017, 0xf01f0015,
  13447. 0xf01f0014, 0xf01f0013, 0xf01f0012, 0xf01f0011,
  13448. 0xf0170019, 0xf0170018, 0xf0170016, 0xf0170015,
  13449. 0xf0170014, 0xf0170013, 0xf0170012, 0xf0170010,
  13450. 0xf0170010, 0xf017000f, 0xf00f001d, 0xf00f001b,
  13451. 0xf00f001a, 0xf00f0018, 0xf00f0017, 0xf00f0015,
  13452. 0xf00f0015, 0xf00f0013, 0xf00f0013, 0xf00f0011,
  13453. 0xf00f0010, 0xf00f0010, 0xf00f000f, 0xf00f000e,
  13454. 0xf00f000d, 0xf00f000c, 0xf00f000b, 0xf00f000b,
  13455. 0xf00f000b, 0xf00f000a, 0xf00f0009, 0xf00f0009,
  13456. 0xf00f0009, 0xf00f0008, 0xf00f0007, 0xf00f0007,
  13457. 0xf00f0006, 0xf00f0006, 0xf00f0006, 0xf00f0006,
  13458. 0xf00f0005, 0xf00f0005, 0xf00f0005, 0xf00f0004,
  13459. 0xf00f0004, 0xf00f0004, 0xf00f0004, 0xf00f0004,
  13460. 0xf00f0004, 0xf00f0003, 0xf00f0003, 0xf00f0003,
  13461. 0xf00f0003, 0xf00f0002, 0xf00f0002, 0xf00f0002,
  13462. 0xf00f0002, 0xf00f0002, 0xf00f0002, 0xf00f0001,
  13463. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001,
  13464. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001
  13465. };
  13466. static u32 nphy_tpc_txgain_ipa_2g_2057rev5[] = {
  13467. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13468. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13469. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13470. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13471. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13472. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13473. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13474. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13475. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13476. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13477. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13478. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13479. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13480. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13481. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13482. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13483. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13484. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13485. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13486. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13487. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13488. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13489. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13490. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13491. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13492. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13493. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13494. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13495. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13496. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13497. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13498. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13499. };
  13500. static u32 nphy_tpc_txgain_ipa_2g_2057rev7[] = {
  13501. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13502. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13503. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13504. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13505. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13506. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13507. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13508. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13509. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13510. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13511. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13512. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13513. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13514. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13515. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13516. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13517. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13518. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13519. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13520. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13521. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13522. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13523. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13524. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13525. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13526. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13527. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13528. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13529. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13530. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13531. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13532. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13533. };
  13534. static u32 nphy_tpc_txgain_ipa_5g[] = {
  13535. 0x7ff70035, 0x7ff70033, 0x7ff70032, 0x7ff70031,
  13536. 0x7ff7002f, 0x7ff7002e, 0x7ff7002d, 0x7ff7002b,
  13537. 0x7ff7002a, 0x7ff70029, 0x7ff70028, 0x7ff70027,
  13538. 0x7ff70026, 0x7ff70024, 0x7ff70023, 0x7ff70022,
  13539. 0x7ef70028, 0x7ef70027, 0x7ef70026, 0x7ef70025,
  13540. 0x7ef70024, 0x7ef70023, 0x7df70028, 0x7df70027,
  13541. 0x7df70026, 0x7df70025, 0x7df70024, 0x7df70023,
  13542. 0x7df70022, 0x7cf70029, 0x7cf70028, 0x7cf70027,
  13543. 0x7cf70026, 0x7cf70025, 0x7cf70023, 0x7cf70022,
  13544. 0x7bf70029, 0x7bf70028, 0x7bf70026, 0x7bf70025,
  13545. 0x7bf70024, 0x7bf70023, 0x7bf70022, 0x7bf70021,
  13546. 0x7af70029, 0x7af70028, 0x7af70027, 0x7af70026,
  13547. 0x7af70025, 0x7af70024, 0x7af70023, 0x7af70022,
  13548. 0x79f70029, 0x79f70028, 0x79f70027, 0x79f70026,
  13549. 0x79f70025, 0x79f70024, 0x79f70023, 0x79f70022,
  13550. 0x78f70029, 0x78f70028, 0x78f70027, 0x78f70026,
  13551. 0x78f70025, 0x78f70024, 0x78f70023, 0x78f70022,
  13552. 0x77f70029, 0x77f70028, 0x77f70027, 0x77f70026,
  13553. 0x77f70025, 0x77f70024, 0x77f70023, 0x77f70022,
  13554. 0x76f70029, 0x76f70028, 0x76f70027, 0x76f70026,
  13555. 0x76f70024, 0x76f70023, 0x76f70022, 0x76f70021,
  13556. 0x75f70029, 0x75f70028, 0x75f70027, 0x75f70026,
  13557. 0x75f70025, 0x75f70024, 0x75f70023, 0x74f70029,
  13558. 0x74f70028, 0x74f70026, 0x74f70025, 0x74f70024,
  13559. 0x74f70023, 0x74f70022, 0x73f70029, 0x73f70027,
  13560. 0x73f70026, 0x73f70025, 0x73f70024, 0x73f70023,
  13561. 0x73f70022, 0x72f70028, 0x72f70027, 0x72f70026,
  13562. 0x72f70025, 0x72f70024, 0x72f70023, 0x72f70022,
  13563. 0x71f70028, 0x71f70027, 0x71f70026, 0x71f70025,
  13564. 0x71f70024, 0x71f70023, 0x70f70028, 0x70f70027,
  13565. 0x70f70026, 0x70f70024, 0x70f70023, 0x70f70022,
  13566. 0x70f70021, 0x70f70020, 0x70f70020, 0x70f7001f
  13567. };
  13568. static u32 nphy_tpc_txgain_ipa_5g_2057[] = {
  13569. 0x7f7f0044, 0x7f7f0040, 0x7f7f003c, 0x7f7f0039,
  13570. 0x7f7f0036, 0x7e7f003c, 0x7e7f0038, 0x7e7f0035,
  13571. 0x7d7f003c, 0x7d7f0039, 0x7d7f0036, 0x7d7f0033,
  13572. 0x7c7f003b, 0x7c7f0037, 0x7c7f0034, 0x7b7f003a,
  13573. 0x7b7f0036, 0x7b7f0033, 0x7a7f003c, 0x7a7f0039,
  13574. 0x7a7f0036, 0x7a7f0033, 0x797f003b, 0x797f0038,
  13575. 0x797f0035, 0x797f0032, 0x787f003b, 0x787f0038,
  13576. 0x787f0035, 0x787f0032, 0x777f003a, 0x777f0037,
  13577. 0x777f0034, 0x777f0031, 0x767f003a, 0x767f0036,
  13578. 0x767f0033, 0x767f0031, 0x757f003a, 0x757f0037,
  13579. 0x757f0034, 0x747f003c, 0x747f0039, 0x747f0036,
  13580. 0x747f0033, 0x737f003b, 0x737f0038, 0x737f0035,
  13581. 0x737f0032, 0x727f0039, 0x727f0036, 0x727f0033,
  13582. 0x727f0030, 0x717f003a, 0x717f0037, 0x717f0034,
  13583. 0x707f003b, 0x707f0038, 0x707f0035, 0x707f0032,
  13584. 0x707f002f, 0x707f002d, 0x707f002a, 0x707f0028,
  13585. 0x707f0025, 0x707f0023, 0x707f0021, 0x707f0020,
  13586. 0x707f001e, 0x707f001c, 0x707f001b, 0x707f0019,
  13587. 0x707f0018, 0x707f0016, 0x707f0015, 0x707f0014,
  13588. 0x707f0013, 0x707f0012, 0x707f0011, 0x707f0010,
  13589. 0x707f000f, 0x707f000e, 0x707f000d, 0x707f000d,
  13590. 0x707f000c, 0x707f000b, 0x707f000b, 0x707f000a,
  13591. 0x707f0009, 0x707f0009, 0x707f0008, 0x707f0008,
  13592. 0x707f0007, 0x707f0007, 0x707f0007, 0x707f0006,
  13593. 0x707f0006, 0x707f0006, 0x707f0005, 0x707f0005,
  13594. 0x707f0005, 0x707f0004, 0x707f0004, 0x707f0004,
  13595. 0x707f0004, 0x707f0004, 0x707f0003, 0x707f0003,
  13596. 0x707f0003, 0x707f0003, 0x707f0003, 0x707f0003,
  13597. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13598. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13599. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001,
  13600. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001
  13601. };
  13602. static u32 nphy_tpc_txgain_ipa_5g_2057rev7[] = {
  13603. 0x6f7f0031, 0x6f7f002e, 0x6f7f002c, 0x6f7f002a,
  13604. 0x6f7f0027, 0x6e7f002e, 0x6e7f002c, 0x6e7f002a,
  13605. 0x6d7f0030, 0x6d7f002d, 0x6d7f002a, 0x6d7f0028,
  13606. 0x6c7f0030, 0x6c7f002d, 0x6c7f002b, 0x6b7f002e,
  13607. 0x6b7f002c, 0x6b7f002a, 0x6b7f0027, 0x6a7f002e,
  13608. 0x6a7f002c, 0x6a7f002a, 0x697f0030, 0x697f002e,
  13609. 0x697f002b, 0x697f0029, 0x687f002f, 0x687f002d,
  13610. 0x687f002a, 0x687f0027, 0x677f002f, 0x677f002d,
  13611. 0x677f002a, 0x667f0031, 0x667f002e, 0x667f002c,
  13612. 0x667f002a, 0x657f0030, 0x657f002e, 0x657f002b,
  13613. 0x657f0029, 0x647f0030, 0x647f002d, 0x647f002b,
  13614. 0x647f0029, 0x637f002f, 0x637f002d, 0x637f002a,
  13615. 0x627f0030, 0x627f002d, 0x627f002b, 0x627f0029,
  13616. 0x617f0030, 0x617f002e, 0x617f002b, 0x617f0029,
  13617. 0x607f002f, 0x607f002d, 0x607f002a, 0x607f0027,
  13618. 0x607f0026, 0x607f0023, 0x607f0021, 0x607f0020,
  13619. 0x607f001e, 0x607f001c, 0x607f001a, 0x607f0019,
  13620. 0x607f0018, 0x607f0016, 0x607f0015, 0x607f0014,
  13621. 0x607f0012, 0x607f0012, 0x607f0011, 0x607f000f,
  13622. 0x607f000f, 0x607f000e, 0x607f000d, 0x607f000c,
  13623. 0x607f000c, 0x607f000b, 0x607f000b, 0x607f000a,
  13624. 0x607f0009, 0x607f0009, 0x607f0008, 0x607f0008,
  13625. 0x607f0008, 0x607f0007, 0x607f0007, 0x607f0006,
  13626. 0x607f0006, 0x607f0005, 0x607f0005, 0x607f0005,
  13627. 0x607f0005, 0x607f0005, 0x607f0004, 0x607f0004,
  13628. 0x607f0004, 0x607f0004, 0x607f0003, 0x607f0003,
  13629. 0x607f0003, 0x607f0003, 0x607f0002, 0x607f0002,
  13630. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13631. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13632. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13633. 0x607f0002, 0x607f0001, 0x607f0001, 0x607f0001,
  13634. 0x607f0001, 0x607f0001, 0x607f0001, 0x607f0001
  13635. };
  13636. static s8 nphy_papd_pga_gain_delta_ipa_2g[] = {
  13637. -114, -108, -98, -91, -84, -78, -70, -62,
  13638. -54, -46, -39, -31, -23, -15, -8, 0
  13639. };
  13640. static s8 nphy_papd_pga_gain_delta_ipa_5g[] = {
  13641. -100, -95, -89, -83, -77, -70, -63, -56,
  13642. -48, -41, -33, -25, -19, -12, -6, 0
  13643. };
  13644. static s16 nphy_papd_padgain_dlt_2g_2057rev3n4[] = {
  13645. -159, -113, -86, -72, -62, -54, -48, -43,
  13646. -39, -35, -31, -28, -25, -23, -20, -18,
  13647. -17, -15, -13, -11, -10, -8, -7, -6,
  13648. -5, -4, -3, -3, -2, -1, -1, 0
  13649. };
  13650. static s16 nphy_papd_padgain_dlt_2g_2057rev5[] = {
  13651. -109, -109, -82, -68, -58, -50, -44, -39,
  13652. -35, -31, -28, -26, -23, -21, -19, -17,
  13653. -16, -14, -13, -11, -10, -9, -8, -7,
  13654. -5, -5, -4, -3, -2, -1, -1, 0
  13655. };
  13656. static s16 nphy_papd_padgain_dlt_2g_2057rev7[] = {
  13657. -122, -122, -95, -80, -69, -61, -54, -49,
  13658. -43, -39, -35, -32, -28, -26, -23, -21,
  13659. -18, -16, -15, -13, -11, -10, -8, -7,
  13660. -6, -5, -4, -3, -2, -1, -1, 0
  13661. };
  13662. static s8 nphy_papd_pgagain_dlt_5g_2057[] = {
  13663. -107, -101, -92, -85, -78, -71, -62, -55,
  13664. -47, -39, -32, -24, -19, -12, -6, 0
  13665. };
  13666. static s8 nphy_papd_pgagain_dlt_5g_2057rev7[] = {
  13667. -110, -104, -95, -88, -81, -74, -66, -58,
  13668. -50, -44, -36, -28, -23, -15, -8, 0
  13669. };
  13670. static u8 pad_gain_codes_used_2057rev5[] = {
  13671. 20, 19, 18, 17, 16, 15, 14, 13, 12, 11,
  13672. 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
  13673. };
  13674. static u8 pad_gain_codes_used_2057rev7[] = {
  13675. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6,
  13676. 5, 4, 3, 2, 1
  13677. };
  13678. static u8 pad_all_gain_codes_2057[] = {
  13679. 31, 30, 29, 28, 27, 26, 25, 24, 23, 22,
  13680. 21, 20, 19, 18, 17, 16, 15, 14, 13, 12,
  13681. 11, 10, 9, 8, 7, 6, 5, 4, 3, 2,
  13682. 1, 0
  13683. };
  13684. static u8 pga_all_gain_codes_2057[] = {
  13685. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
  13686. };
  13687. static u32 nphy_papd_scaltbl[] = {
  13688. 0x0ae2002f, 0x0a3b0032, 0x09a70035, 0x09220038,
  13689. 0x0887003c, 0x081f003f, 0x07a20043, 0x07340047,
  13690. 0x06d2004b, 0x067a004f, 0x06170054, 0x05bf0059,
  13691. 0x0571005e, 0x051e0064, 0x04d3006a, 0x04910070,
  13692. 0x044c0077, 0x040f007e, 0x03d90085, 0x03a1008d,
  13693. 0x036f0095, 0x033d009e, 0x030b00a8, 0x02e000b2,
  13694. 0x02b900bc, 0x029200c7, 0x026d00d3, 0x024900e0,
  13695. 0x022900ed, 0x020a00fb, 0x01ec010a, 0x01d0011a,
  13696. 0x01b7012a, 0x019e013c, 0x0187014f, 0x01720162,
  13697. 0x015d0177, 0x0149018e, 0x013701a5, 0x012601be,
  13698. 0x011501d9, 0x010501f5, 0x00f70212, 0x00e90232,
  13699. 0x00dc0253, 0x00d00276, 0x00c4029c, 0x00b902c3,
  13700. 0x00af02ed, 0x00a5031a, 0x009c0349, 0x0093037a,
  13701. 0x008b03af, 0x008303e7, 0x007c0422, 0x00750461,
  13702. 0x006e04a3, 0x006804ea, 0x00620534, 0x005d0583,
  13703. 0x005805d7, 0x0053062f, 0x004e068d, 0x004a06f1
  13704. };
  13705. static u32 nphy_tpc_txgain_rev3[] = {
  13706. 0x1f410044, 0x1f410042, 0x1f410040, 0x1f41003e,
  13707. 0x1f41003c, 0x1f41003b, 0x1f410039, 0x1f410037,
  13708. 0x1e410044, 0x1e410042, 0x1e410040, 0x1e41003e,
  13709. 0x1e41003c, 0x1e41003b, 0x1e410039, 0x1e410037,
  13710. 0x1d410044, 0x1d410042, 0x1d410040, 0x1d41003e,
  13711. 0x1d41003c, 0x1d41003b, 0x1d410039, 0x1d410037,
  13712. 0x1c410044, 0x1c410042, 0x1c410040, 0x1c41003e,
  13713. 0x1c41003c, 0x1c41003b, 0x1c410039, 0x1c410037,
  13714. 0x1b410044, 0x1b410042, 0x1b410040, 0x1b41003e,
  13715. 0x1b41003c, 0x1b41003b, 0x1b410039, 0x1b410037,
  13716. 0x1a410044, 0x1a410042, 0x1a410040, 0x1a41003e,
  13717. 0x1a41003c, 0x1a41003b, 0x1a410039, 0x1a410037,
  13718. 0x19410044, 0x19410042, 0x19410040, 0x1941003e,
  13719. 0x1941003c, 0x1941003b, 0x19410039, 0x19410037,
  13720. 0x18410044, 0x18410042, 0x18410040, 0x1841003e,
  13721. 0x1841003c, 0x1841003b, 0x18410039, 0x18410037,
  13722. 0x17410044, 0x17410042, 0x17410040, 0x1741003e,
  13723. 0x1741003c, 0x1741003b, 0x17410039, 0x17410037,
  13724. 0x16410044, 0x16410042, 0x16410040, 0x1641003e,
  13725. 0x1641003c, 0x1641003b, 0x16410039, 0x16410037,
  13726. 0x15410044, 0x15410042, 0x15410040, 0x1541003e,
  13727. 0x1541003c, 0x1541003b, 0x15410039, 0x15410037,
  13728. 0x14410044, 0x14410042, 0x14410040, 0x1441003e,
  13729. 0x1441003c, 0x1441003b, 0x14410039, 0x14410037,
  13730. 0x13410044, 0x13410042, 0x13410040, 0x1341003e,
  13731. 0x1341003c, 0x1341003b, 0x13410039, 0x13410037,
  13732. 0x12410044, 0x12410042, 0x12410040, 0x1241003e,
  13733. 0x1241003c, 0x1241003b, 0x12410039, 0x12410037,
  13734. 0x11410044, 0x11410042, 0x11410040, 0x1141003e,
  13735. 0x1141003c, 0x1141003b, 0x11410039, 0x11410037,
  13736. 0x10410044, 0x10410042, 0x10410040, 0x1041003e,
  13737. 0x1041003c, 0x1041003b, 0x10410039, 0x10410037
  13738. };
  13739. static u32 nphy_tpc_txgain_HiPwrEPA[] = {
  13740. 0x0f410044, 0x0f410042, 0x0f410040, 0x0f41003e,
  13741. 0x0f41003c, 0x0f41003b, 0x0f410039, 0x0f410037,
  13742. 0x0e410044, 0x0e410042, 0x0e410040, 0x0e41003e,
  13743. 0x0e41003c, 0x0e41003b, 0x0e410039, 0x0e410037,
  13744. 0x0d410044, 0x0d410042, 0x0d410040, 0x0d41003e,
  13745. 0x0d41003c, 0x0d41003b, 0x0d410039, 0x0d410037,
  13746. 0x0c410044, 0x0c410042, 0x0c410040, 0x0c41003e,
  13747. 0x0c41003c, 0x0c41003b, 0x0c410039, 0x0c410037,
  13748. 0x0b410044, 0x0b410042, 0x0b410040, 0x0b41003e,
  13749. 0x0b41003c, 0x0b41003b, 0x0b410039, 0x0b410037,
  13750. 0x0a410044, 0x0a410042, 0x0a410040, 0x0a41003e,
  13751. 0x0a41003c, 0x0a41003b, 0x0a410039, 0x0a410037,
  13752. 0x09410044, 0x09410042, 0x09410040, 0x0941003e,
  13753. 0x0941003c, 0x0941003b, 0x09410039, 0x09410037,
  13754. 0x08410044, 0x08410042, 0x08410040, 0x0841003e,
  13755. 0x0841003c, 0x0841003b, 0x08410039, 0x08410037,
  13756. 0x07410044, 0x07410042, 0x07410040, 0x0741003e,
  13757. 0x0741003c, 0x0741003b, 0x07410039, 0x07410037,
  13758. 0x06410044, 0x06410042, 0x06410040, 0x0641003e,
  13759. 0x0641003c, 0x0641003b, 0x06410039, 0x06410037,
  13760. 0x05410044, 0x05410042, 0x05410040, 0x0541003e,
  13761. 0x0541003c, 0x0541003b, 0x05410039, 0x05410037,
  13762. 0x04410044, 0x04410042, 0x04410040, 0x0441003e,
  13763. 0x0441003c, 0x0441003b, 0x04410039, 0x04410037,
  13764. 0x03410044, 0x03410042, 0x03410040, 0x0341003e,
  13765. 0x0341003c, 0x0341003b, 0x03410039, 0x03410037,
  13766. 0x02410044, 0x02410042, 0x02410040, 0x0241003e,
  13767. 0x0241003c, 0x0241003b, 0x02410039, 0x02410037,
  13768. 0x01410044, 0x01410042, 0x01410040, 0x0141003e,
  13769. 0x0141003c, 0x0141003b, 0x01410039, 0x01410037,
  13770. 0x00410044, 0x00410042, 0x00410040, 0x0041003e,
  13771. 0x0041003c, 0x0041003b, 0x00410039, 0x00410037
  13772. };
  13773. static u32 nphy_tpc_txgain_epa_2057rev3[] = {
  13774. 0x80f90040, 0x80e10040, 0x80e1003c, 0x80c9003d,
  13775. 0x80b9003c, 0x80a9003d, 0x80a1003c, 0x8099003b,
  13776. 0x8091003b, 0x8089003a, 0x8081003a, 0x80790039,
  13777. 0x80710039, 0x8069003a, 0x8061003b, 0x8059003d,
  13778. 0x8051003f, 0x80490042, 0x8049003e, 0x8049003b,
  13779. 0x8041003e, 0x8041003b, 0x8039003e, 0x8039003b,
  13780. 0x80390038, 0x80390035, 0x8031003a, 0x80310036,
  13781. 0x80310033, 0x8029003a, 0x80290037, 0x80290034,
  13782. 0x80290031, 0x80210039, 0x80210036, 0x80210033,
  13783. 0x80210030, 0x8019003c, 0x80190039, 0x80190036,
  13784. 0x80190033, 0x80190030, 0x8019002d, 0x8019002b,
  13785. 0x80190028, 0x8011003a, 0x80110036, 0x80110033,
  13786. 0x80110030, 0x8011002e, 0x8011002b, 0x80110029,
  13787. 0x80110027, 0x80110024, 0x80110022, 0x80110020,
  13788. 0x8011001f, 0x8011001d, 0x8009003a, 0x80090037,
  13789. 0x80090034, 0x80090031, 0x8009002e, 0x8009002c,
  13790. 0x80090029, 0x80090027, 0x80090025, 0x80090023,
  13791. 0x80090021, 0x8009001f, 0x8009001d, 0x8009011d,
  13792. 0x8009021d, 0x8009031d, 0x8009041d, 0x8009051d,
  13793. 0x8009061d, 0x8009071d, 0x8009071d, 0x8009071d,
  13794. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13795. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13796. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13797. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13798. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13799. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13800. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13801. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13802. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13803. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13804. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13805. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d
  13806. };
  13807. static u32 nphy_tpc_txgain_epa_2057rev5[] = {
  13808. 0x10f90040, 0x10e10040, 0x10e1003c, 0x10c9003d,
  13809. 0x10b9003c, 0x10a9003d, 0x10a1003c, 0x1099003b,
  13810. 0x1091003b, 0x1089003a, 0x1081003a, 0x10790039,
  13811. 0x10710039, 0x1069003a, 0x1061003b, 0x1059003d,
  13812. 0x1051003f, 0x10490042, 0x1049003e, 0x1049003b,
  13813. 0x1041003e, 0x1041003b, 0x1039003e, 0x1039003b,
  13814. 0x10390038, 0x10390035, 0x1031003a, 0x10310036,
  13815. 0x10310033, 0x1029003a, 0x10290037, 0x10290034,
  13816. 0x10290031, 0x10210039, 0x10210036, 0x10210033,
  13817. 0x10210030, 0x1019003c, 0x10190039, 0x10190036,
  13818. 0x10190033, 0x10190030, 0x1019002d, 0x1019002b,
  13819. 0x10190028, 0x1011003a, 0x10110036, 0x10110033,
  13820. 0x10110030, 0x1011002e, 0x1011002b, 0x10110029,
  13821. 0x10110027, 0x10110024, 0x10110022, 0x10110020,
  13822. 0x1011001f, 0x1011001d, 0x1009003a, 0x10090037,
  13823. 0x10090034, 0x10090031, 0x1009002e, 0x1009002c,
  13824. 0x10090029, 0x10090027, 0x10090025, 0x10090023,
  13825. 0x10090021, 0x1009001f, 0x1009001d, 0x1009001b,
  13826. 0x1009001a, 0x10090018, 0x10090017, 0x10090016,
  13827. 0x10090015, 0x10090013, 0x10090012, 0x10090011,
  13828. 0x10090010, 0x1009000f, 0x1009000f, 0x1009000e,
  13829. 0x1009000d, 0x1009000c, 0x1009000c, 0x1009000b,
  13830. 0x1009000a, 0x1009000a, 0x10090009, 0x10090009,
  13831. 0x10090008, 0x10090008, 0x10090007, 0x10090007,
  13832. 0x10090007, 0x10090006, 0x10090006, 0x10090005,
  13833. 0x10090005, 0x10090005, 0x10090005, 0x10090004,
  13834. 0x10090004, 0x10090004, 0x10090004, 0x10090003,
  13835. 0x10090003, 0x10090003, 0x10090003, 0x10090003,
  13836. 0x10090003, 0x10090002, 0x10090002, 0x10090002,
  13837. 0x10090002, 0x10090002, 0x10090002, 0x10090002,
  13838. 0x10090002, 0x10090002, 0x10090001, 0x10090001,
  13839. 0x10090001, 0x10090001, 0x10090001, 0x10090001
  13840. };
  13841. static u32 nphy_tpc_5GHz_txgain_rev3[] = {
  13842. 0xcff70044, 0xcff70042, 0xcff70040, 0xcff7003e,
  13843. 0xcff7003c, 0xcff7003b, 0xcff70039, 0xcff70037,
  13844. 0xcef70044, 0xcef70042, 0xcef70040, 0xcef7003e,
  13845. 0xcef7003c, 0xcef7003b, 0xcef70039, 0xcef70037,
  13846. 0xcdf70044, 0xcdf70042, 0xcdf70040, 0xcdf7003e,
  13847. 0xcdf7003c, 0xcdf7003b, 0xcdf70039, 0xcdf70037,
  13848. 0xccf70044, 0xccf70042, 0xccf70040, 0xccf7003e,
  13849. 0xccf7003c, 0xccf7003b, 0xccf70039, 0xccf70037,
  13850. 0xcbf70044, 0xcbf70042, 0xcbf70040, 0xcbf7003e,
  13851. 0xcbf7003c, 0xcbf7003b, 0xcbf70039, 0xcbf70037,
  13852. 0xcaf70044, 0xcaf70042, 0xcaf70040, 0xcaf7003e,
  13853. 0xcaf7003c, 0xcaf7003b, 0xcaf70039, 0xcaf70037,
  13854. 0xc9f70044, 0xc9f70042, 0xc9f70040, 0xc9f7003e,
  13855. 0xc9f7003c, 0xc9f7003b, 0xc9f70039, 0xc9f70037,
  13856. 0xc8f70044, 0xc8f70042, 0xc8f70040, 0xc8f7003e,
  13857. 0xc8f7003c, 0xc8f7003b, 0xc8f70039, 0xc8f70037,
  13858. 0xc7f70044, 0xc7f70042, 0xc7f70040, 0xc7f7003e,
  13859. 0xc7f7003c, 0xc7f7003b, 0xc7f70039, 0xc7f70037,
  13860. 0xc6f70044, 0xc6f70042, 0xc6f70040, 0xc6f7003e,
  13861. 0xc6f7003c, 0xc6f7003b, 0xc6f70039, 0xc6f70037,
  13862. 0xc5f70044, 0xc5f70042, 0xc5f70040, 0xc5f7003e,
  13863. 0xc5f7003c, 0xc5f7003b, 0xc5f70039, 0xc5f70037,
  13864. 0xc4f70044, 0xc4f70042, 0xc4f70040, 0xc4f7003e,
  13865. 0xc4f7003c, 0xc4f7003b, 0xc4f70039, 0xc4f70037,
  13866. 0xc3f70044, 0xc3f70042, 0xc3f70040, 0xc3f7003e,
  13867. 0xc3f7003c, 0xc3f7003b, 0xc3f70039, 0xc3f70037,
  13868. 0xc2f70044, 0xc2f70042, 0xc2f70040, 0xc2f7003e,
  13869. 0xc2f7003c, 0xc2f7003b, 0xc2f70039, 0xc2f70037,
  13870. 0xc1f70044, 0xc1f70042, 0xc1f70040, 0xc1f7003e,
  13871. 0xc1f7003c, 0xc1f7003b, 0xc1f70039, 0xc1f70037,
  13872. 0xc0f70044, 0xc0f70042, 0xc0f70040, 0xc0f7003e,
  13873. 0xc0f7003c, 0xc0f7003b, 0xc0f70039, 0xc0f70037
  13874. };
  13875. static u32 nphy_tpc_5GHz_txgain_rev4[] = {
  13876. 0x2ff20044, 0x2ff20042, 0x2ff20040, 0x2ff2003e,
  13877. 0x2ff2003c, 0x2ff2003b, 0x2ff20039, 0x2ff20037,
  13878. 0x2ef20044, 0x2ef20042, 0x2ef20040, 0x2ef2003e,
  13879. 0x2ef2003c, 0x2ef2003b, 0x2ef20039, 0x2ef20037,
  13880. 0x2df20044, 0x2df20042, 0x2df20040, 0x2df2003e,
  13881. 0x2df2003c, 0x2df2003b, 0x2df20039, 0x2df20037,
  13882. 0x2cf20044, 0x2cf20042, 0x2cf20040, 0x2cf2003e,
  13883. 0x2cf2003c, 0x2cf2003b, 0x2cf20039, 0x2cf20037,
  13884. 0x2bf20044, 0x2bf20042, 0x2bf20040, 0x2bf2003e,
  13885. 0x2bf2003c, 0x2bf2003b, 0x2bf20039, 0x2bf20037,
  13886. 0x2af20044, 0x2af20042, 0x2af20040, 0x2af2003e,
  13887. 0x2af2003c, 0x2af2003b, 0x2af20039, 0x2af20037,
  13888. 0x29f20044, 0x29f20042, 0x29f20040, 0x29f2003e,
  13889. 0x29f2003c, 0x29f2003b, 0x29f20039, 0x29f20037,
  13890. 0x28f20044, 0x28f20042, 0x28f20040, 0x28f2003e,
  13891. 0x28f2003c, 0x28f2003b, 0x28f20039, 0x28f20037,
  13892. 0x27f20044, 0x27f20042, 0x27f20040, 0x27f2003e,
  13893. 0x27f2003c, 0x27f2003b, 0x27f20039, 0x27f20037,
  13894. 0x26f20044, 0x26f20042, 0x26f20040, 0x26f2003e,
  13895. 0x26f2003c, 0x26f2003b, 0x26f20039, 0x26f20037,
  13896. 0x25f20044, 0x25f20042, 0x25f20040, 0x25f2003e,
  13897. 0x25f2003c, 0x25f2003b, 0x25f20039, 0x25f20037,
  13898. 0x24f20044, 0x24f20042, 0x24f20040, 0x24f2003e,
  13899. 0x24f2003c, 0x24f2003b, 0x24f20039, 0x24f20038,
  13900. 0x23f20041, 0x23f20040, 0x23f2003f, 0x23f2003e,
  13901. 0x23f2003c, 0x23f2003b, 0x23f20039, 0x23f20037,
  13902. 0x22f20044, 0x22f20042, 0x22f20040, 0x22f2003e,
  13903. 0x22f2003c, 0x22f2003b, 0x22f20039, 0x22f20037,
  13904. 0x21f20044, 0x21f20042, 0x21f20040, 0x21f2003e,
  13905. 0x21f2003c, 0x21f2003b, 0x21f20039, 0x21f20037,
  13906. 0x20d20043, 0x20d20041, 0x20d2003e, 0x20d2003c,
  13907. 0x20d2003a, 0x20d20038, 0x20d20036, 0x20d20034
  13908. };
  13909. static u32 nphy_tpc_5GHz_txgain_rev5[] = {
  13910. 0x0f62004a, 0x0f620048, 0x0f620046, 0x0f620044,
  13911. 0x0f620042, 0x0f620040, 0x0f62003e, 0x0f62003c,
  13912. 0x0e620044, 0x0e620042, 0x0e620040, 0x0e62003e,
  13913. 0x0e62003c, 0x0e62003d, 0x0e62003b, 0x0e62003a,
  13914. 0x0d620043, 0x0d620041, 0x0d620040, 0x0d62003e,
  13915. 0x0d62003d, 0x0d62003c, 0x0d62003b, 0x0d62003a,
  13916. 0x0c620041, 0x0c620040, 0x0c62003f, 0x0c62003e,
  13917. 0x0c62003c, 0x0c62003b, 0x0c620039, 0x0c620037,
  13918. 0x0b620046, 0x0b620044, 0x0b620042, 0x0b620040,
  13919. 0x0b62003e, 0x0b62003c, 0x0b62003b, 0x0b62003a,
  13920. 0x0a620041, 0x0a620040, 0x0a62003e, 0x0a62003c,
  13921. 0x0a62003b, 0x0a62003a, 0x0a620039, 0x0a620038,
  13922. 0x0962003e, 0x0962003d, 0x0962003c, 0x0962003b,
  13923. 0x09620039, 0x09620037, 0x09620035, 0x09620033,
  13924. 0x08620044, 0x08620042, 0x08620040, 0x0862003e,
  13925. 0x0862003c, 0x0862003b, 0x0862003a, 0x08620039,
  13926. 0x07620043, 0x07620042, 0x07620040, 0x0762003f,
  13927. 0x0762003d, 0x0762003b, 0x0762003a, 0x07620039,
  13928. 0x0662003e, 0x0662003d, 0x0662003c, 0x0662003b,
  13929. 0x06620039, 0x06620037, 0x06620035, 0x06620033,
  13930. 0x05620046, 0x05620044, 0x05620042, 0x05620040,
  13931. 0x0562003e, 0x0562003c, 0x0562003b, 0x05620039,
  13932. 0x04620044, 0x04620042, 0x04620040, 0x0462003e,
  13933. 0x0462003c, 0x0462003b, 0x04620039, 0x04620038,
  13934. 0x0362003c, 0x0362003b, 0x0362003a, 0x03620039,
  13935. 0x03620038, 0x03620037, 0x03620035, 0x03620033,
  13936. 0x0262004c, 0x0262004a, 0x02620048, 0x02620047,
  13937. 0x02620046, 0x02620044, 0x02620043, 0x02620042,
  13938. 0x0162004a, 0x01620048, 0x01620046, 0x01620044,
  13939. 0x01620043, 0x01620042, 0x01620041, 0x01620040,
  13940. 0x00620042, 0x00620040, 0x0062003e, 0x0062003c,
  13941. 0x0062003b, 0x00620039, 0x00620037, 0x00620035
  13942. };
  13943. static u32 nphy_tpc_5GHz_txgain_HiPwrEPA[] = {
  13944. 0x2ff10044, 0x2ff10042, 0x2ff10040, 0x2ff1003e,
  13945. 0x2ff1003c, 0x2ff1003b, 0x2ff10039, 0x2ff10037,
  13946. 0x2ef10044, 0x2ef10042, 0x2ef10040, 0x2ef1003e,
  13947. 0x2ef1003c, 0x2ef1003b, 0x2ef10039, 0x2ef10037,
  13948. 0x2df10044, 0x2df10042, 0x2df10040, 0x2df1003e,
  13949. 0x2df1003c, 0x2df1003b, 0x2df10039, 0x2df10037,
  13950. 0x2cf10044, 0x2cf10042, 0x2cf10040, 0x2cf1003e,
  13951. 0x2cf1003c, 0x2cf1003b, 0x2cf10039, 0x2cf10037,
  13952. 0x2bf10044, 0x2bf10042, 0x2bf10040, 0x2bf1003e,
  13953. 0x2bf1003c, 0x2bf1003b, 0x2bf10039, 0x2bf10037,
  13954. 0x2af10044, 0x2af10042, 0x2af10040, 0x2af1003e,
  13955. 0x2af1003c, 0x2af1003b, 0x2af10039, 0x2af10037,
  13956. 0x29f10044, 0x29f10042, 0x29f10040, 0x29f1003e,
  13957. 0x29f1003c, 0x29f1003b, 0x29f10039, 0x29f10037,
  13958. 0x28f10044, 0x28f10042, 0x28f10040, 0x28f1003e,
  13959. 0x28f1003c, 0x28f1003b, 0x28f10039, 0x28f10037,
  13960. 0x27f10044, 0x27f10042, 0x27f10040, 0x27f1003e,
  13961. 0x27f1003c, 0x27f1003b, 0x27f10039, 0x27f10037,
  13962. 0x26f10044, 0x26f10042, 0x26f10040, 0x26f1003e,
  13963. 0x26f1003c, 0x26f1003b, 0x26f10039, 0x26f10037,
  13964. 0x25f10044, 0x25f10042, 0x25f10040, 0x25f1003e,
  13965. 0x25f1003c, 0x25f1003b, 0x25f10039, 0x25f10037,
  13966. 0x24f10044, 0x24f10042, 0x24f10040, 0x24f1003e,
  13967. 0x24f1003c, 0x24f1003b, 0x24f10039, 0x24f10038,
  13968. 0x23f10041, 0x23f10040, 0x23f1003f, 0x23f1003e,
  13969. 0x23f1003c, 0x23f1003b, 0x23f10039, 0x23f10037,
  13970. 0x22f10044, 0x22f10042, 0x22f10040, 0x22f1003e,
  13971. 0x22f1003c, 0x22f1003b, 0x22f10039, 0x22f10037,
  13972. 0x21f10044, 0x21f10042, 0x21f10040, 0x21f1003e,
  13973. 0x21f1003c, 0x21f1003b, 0x21f10039, 0x21f10037,
  13974. 0x20d10043, 0x20d10041, 0x20d1003e, 0x20d1003c,
  13975. 0x20d1003a, 0x20d10038, 0x20d10036, 0x20d10034
  13976. };
  13977. static u8 ant_sw_ctrl_tbl_rev8_2o3[] = { 0x14, 0x18 };
  13978. static u8 ant_sw_ctrl_tbl_rev8[] = { 0x4, 0x8, 0x4, 0x8, 0x11, 0x12 };
  13979. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core0[] = {
  13980. 0x09, 0x0a, 0x15, 0x16, 0x09, 0x0a
  13981. };
  13982. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core1[] = {
  13983. 0x09, 0x0a, 0x09, 0x0a, 0x15, 0x16
  13984. };
  13985. bool wlc_phy_bist_check_phy(struct brcms_phy_pub *pih)
  13986. {
  13987. struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro);
  13988. u32 phybist0, phybist1, phybist2, phybist3, phybist4;
  13989. if (NREV_GE(pi->pubpi.phy_rev, 16))
  13990. return true;
  13991. phybist0 = read_phy_reg(pi, 0x0e);
  13992. phybist1 = read_phy_reg(pi, 0x0f);
  13993. phybist2 = read_phy_reg(pi, 0xea);
  13994. phybist3 = read_phy_reg(pi, 0xeb);
  13995. phybist4 = read_phy_reg(pi, 0x156);
  13996. if ((phybist0 == 0) && (phybist1 == 0x4000) && (phybist2 == 0x1fe0) &&
  13997. (phybist3 == 0) && (phybist4 == 0))
  13998. return true;
  13999. return false;
  14000. }
  14001. static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi)
  14002. {
  14003. u16 addr, val;
  14004. val = 0x1e1f;
  14005. for (addr = (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT);
  14006. addr <= (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT_END); addr++) {
  14007. write_phy_reg(pi, addr, val);
  14008. if (addr == (NPHY_TO_BPHY_OFF + 0x97))
  14009. val = 0x3e3f;
  14010. else
  14011. val -= 0x0202;
  14012. }
  14013. write_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_STEP, 0x668);
  14014. }
  14015. void
  14016. wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14017. u32 width, const void *data)
  14018. {
  14019. struct phytbl_info tbl;
  14020. tbl.tbl_id = id;
  14021. tbl.tbl_len = len;
  14022. tbl.tbl_offset = offset;
  14023. tbl.tbl_width = width;
  14024. tbl.tbl_ptr = data;
  14025. wlc_phy_write_table_nphy(pi, &tbl);
  14026. }
  14027. void
  14028. wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14029. u32 width, void *data)
  14030. {
  14031. struct phytbl_info tbl;
  14032. tbl.tbl_id = id;
  14033. tbl.tbl_len = len;
  14034. tbl.tbl_offset = offset;
  14035. tbl.tbl_width = width;
  14036. tbl.tbl_ptr = data;
  14037. wlc_phy_read_table_nphy(pi, &tbl);
  14038. }
  14039. static void
  14040. wlc_phy_static_table_download_nphy(struct brcms_phy *pi)
  14041. {
  14042. uint idx;
  14043. if (NREV_GE(pi->pubpi.phy_rev, 16)) {
  14044. for (idx = 0; idx < mimophytbl_info_sz_rev16; idx++)
  14045. wlc_phy_write_table_nphy(pi,
  14046. &mimophytbl_info_rev16[idx]);
  14047. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14048. for (idx = 0; idx < mimophytbl_info_sz_rev7; idx++)
  14049. wlc_phy_write_table_nphy(pi,
  14050. &mimophytbl_info_rev7[idx]);
  14051. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14052. for (idx = 0; idx < mimophytbl_info_sz_rev3; idx++)
  14053. wlc_phy_write_table_nphy(pi,
  14054. &mimophytbl_info_rev3[idx]);
  14055. } else {
  14056. for (idx = 0; idx < mimophytbl_info_sz_rev0; idx++)
  14057. wlc_phy_write_table_nphy(pi,
  14058. &mimophytbl_info_rev0[idx]);
  14059. }
  14060. }
  14061. static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi)
  14062. {
  14063. uint idx = 0;
  14064. u8 antswctrllut;
  14065. if (pi->phy_init_por)
  14066. wlc_phy_static_table_download_nphy(pi);
  14067. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14068. antswctrllut = CHSPEC_IS2G(pi->radio_chanspec) ?
  14069. pi->srom_fem2g.antswctrllut : pi->srom_fem5g.
  14070. antswctrllut;
  14071. switch (antswctrllut) {
  14072. case 0:
  14073. break;
  14074. case 1:
  14075. if (pi->aa2g == 7)
  14076. wlc_phy_table_write_nphy(
  14077. pi,
  14078. NPHY_TBL_ID_ANTSWCTRLLUT,
  14079. 2, 0x21, 8,
  14080. &ant_sw_ctrl_tbl_rev8_2o3[0]);
  14081. else
  14082. wlc_phy_table_write_nphy(
  14083. pi,
  14084. NPHY_TBL_ID_ANTSWCTRLLUT,
  14085. 2, 0x21, 8,
  14086. &ant_sw_ctrl_tbl_rev8
  14087. [0]);
  14088. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14089. 2, 0x25, 8,
  14090. &ant_sw_ctrl_tbl_rev8[2]);
  14091. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14092. 2, 0x29, 8,
  14093. &ant_sw_ctrl_tbl_rev8[4]);
  14094. break;
  14095. case 2:
  14096. wlc_phy_table_write_nphy(
  14097. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14098. 2, 0x1, 8,
  14099. &ant_sw_ctrl_tbl_rev8_2057v7_core0[0]);
  14100. wlc_phy_table_write_nphy(
  14101. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14102. 2, 0x5, 8,
  14103. &ant_sw_ctrl_tbl_rev8_2057v7_core0[2]);
  14104. wlc_phy_table_write_nphy(
  14105. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14106. 2, 0x9, 8,
  14107. &ant_sw_ctrl_tbl_rev8_2057v7_core0[4]);
  14108. wlc_phy_table_write_nphy(
  14109. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14110. 2, 0x21, 8,
  14111. &ant_sw_ctrl_tbl_rev8_2057v7_core1[0]);
  14112. wlc_phy_table_write_nphy(
  14113. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14114. 2, 0x25, 8,
  14115. &ant_sw_ctrl_tbl_rev8_2057v7_core1[2]);
  14116. wlc_phy_table_write_nphy(
  14117. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14118. 2, 0x29, 8,
  14119. &ant_sw_ctrl_tbl_rev8_2057v7_core1[4]);
  14120. break;
  14121. default:
  14122. break;
  14123. }
  14124. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14125. for (idx = 0; idx < mimophytbl_info_sz_rev3_volatile; idx++) {
  14126. if (idx == ANT_SWCTRL_TBL_REV3_IDX) {
  14127. antswctrllut =
  14128. CHSPEC_IS2G(pi->radio_chanspec) ?
  14129. pi->srom_fem2g.antswctrllut :
  14130. pi->srom_fem5g.antswctrllut;
  14131. switch (antswctrllut) {
  14132. case 0:
  14133. wlc_phy_write_table_nphy(
  14134. pi,
  14135. &mimophytbl_info_rev3_volatile
  14136. [idx]);
  14137. break;
  14138. case 1:
  14139. wlc_phy_write_table_nphy(
  14140. pi,
  14141. &mimophytbl_info_rev3_volatile1
  14142. [idx]);
  14143. break;
  14144. case 2:
  14145. wlc_phy_write_table_nphy(
  14146. pi,
  14147. &mimophytbl_info_rev3_volatile2
  14148. [idx]);
  14149. break;
  14150. case 3:
  14151. wlc_phy_write_table_nphy(
  14152. pi,
  14153. &mimophytbl_info_rev3_volatile3
  14154. [idx]);
  14155. break;
  14156. default:
  14157. break;
  14158. }
  14159. } else {
  14160. wlc_phy_write_table_nphy(
  14161. pi,
  14162. &mimophytbl_info_rev3_volatile[idx]);
  14163. }
  14164. }
  14165. } else {
  14166. for (idx = 0; idx < mimophytbl_info_sz_rev0_volatile; idx++)
  14167. wlc_phy_write_table_nphy(pi,
  14168. &mimophytbl_info_rev0_volatile
  14169. [idx]);
  14170. }
  14171. }
  14172. static void
  14173. wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay)
  14174. {
  14175. write_phy_reg(pi, 0x77, holdoff);
  14176. write_phy_reg(pi, 0xb4, delay);
  14177. }
  14178. void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs)
  14179. {
  14180. u16 holdoff, delay;
  14181. if (rifs) {
  14182. holdoff = 0x10;
  14183. delay = 0x258;
  14184. } else {
  14185. holdoff = 0x15;
  14186. delay = 0x320;
  14187. }
  14188. wlc_phy_write_txmacreg_nphy(pi, holdoff, delay);
  14189. if (pi->sh && (pi->sh->_rifs_phy != rifs))
  14190. pi->sh->_rifs_phy = rifs;
  14191. }
  14192. static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi)
  14193. {
  14194. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14195. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14196. pi->phy_5g_pwrgain = true;
  14197. return;
  14198. }
  14199. pi->nphy_txpwrctrl = PHY_TPC_HW_OFF;
  14200. pi->phy_5g_pwrgain = false;
  14201. if ((pi->sh->boardflags2 & BFL2_TXPWRCTRL_EN) &&
  14202. NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4))
  14203. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14204. else if ((pi->sh->sromrev >= 4)
  14205. && (pi->sh->boardflags2 & BFL2_5G_PWRGAIN))
  14206. pi->phy_5g_pwrgain = true;
  14207. }
  14208. static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi)
  14209. {
  14210. u16 bw40po, cddpo, stbcpo, bwduppo;
  14211. uint band_num;
  14212. struct ssb_sprom *sprom = &pi->d11core->bus->sprom;
  14213. if (pi->sh->sromrev >= 9)
  14214. return;
  14215. bw40po = sprom->bw40po;
  14216. pi->bw402gpo = bw40po & 0xf;
  14217. pi->bw405gpo = (bw40po & 0xf0) >> 4;
  14218. pi->bw405glpo = (bw40po & 0xf00) >> 8;
  14219. pi->bw405ghpo = (bw40po & 0xf000) >> 12;
  14220. cddpo = sprom->cddpo;
  14221. pi->cdd2gpo = cddpo & 0xf;
  14222. pi->cdd5gpo = (cddpo & 0xf0) >> 4;
  14223. pi->cdd5glpo = (cddpo & 0xf00) >> 8;
  14224. pi->cdd5ghpo = (cddpo & 0xf000) >> 12;
  14225. stbcpo = sprom->stbcpo;
  14226. pi->stbc2gpo = stbcpo & 0xf;
  14227. pi->stbc5gpo = (stbcpo & 0xf0) >> 4;
  14228. pi->stbc5glpo = (stbcpo & 0xf00) >> 8;
  14229. pi->stbc5ghpo = (stbcpo & 0xf000) >> 12;
  14230. bwduppo = sprom->bwduppo;
  14231. pi->bwdup2gpo = bwduppo & 0xf;
  14232. pi->bwdup5gpo = (bwduppo & 0xf0) >> 4;
  14233. pi->bwdup5glpo = (bwduppo & 0xf00) >> 8;
  14234. pi->bwdup5ghpo = (bwduppo & 0xf000) >> 12;
  14235. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  14236. band_num++) {
  14237. switch (band_num) {
  14238. case 0:
  14239. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_2g =
  14240. sprom->core_pwr_info[0].maxpwr_2g;
  14241. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_2g =
  14242. sprom->core_pwr_info[1].maxpwr_2g;
  14243. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_a1 =
  14244. sprom->core_pwr_info[0].pa_2g[0];
  14245. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_a1 =
  14246. sprom->core_pwr_info[1].pa_2g[0];
  14247. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b0 =
  14248. sprom->core_pwr_info[0].pa_2g[1];
  14249. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b0 =
  14250. sprom->core_pwr_info[1].pa_2g[1];
  14251. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_2g_b1 =
  14252. sprom->core_pwr_info[0].pa_2g[2];
  14253. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_2g_b1 =
  14254. sprom->core_pwr_info[1].pa_2g[2];
  14255. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_2g =
  14256. sprom->core_pwr_info[0].itssi_2g;
  14257. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_2g =
  14258. sprom->core_pwr_info[1].itssi_2g;
  14259. pi->cck2gpo = sprom->cck2gpo;
  14260. pi->ofdm2gpo = sprom->ofdm2gpo;
  14261. pi->mcs2gpo[0] = sprom->mcs2gpo[0];
  14262. pi->mcs2gpo[1] = sprom->mcs2gpo[1];
  14263. pi->mcs2gpo[2] = sprom->mcs2gpo[2];
  14264. pi->mcs2gpo[3] = sprom->mcs2gpo[3];
  14265. pi->mcs2gpo[4] = sprom->mcs2gpo[4];
  14266. pi->mcs2gpo[5] = sprom->mcs2gpo[5];
  14267. pi->mcs2gpo[6] = sprom->mcs2gpo[6];
  14268. pi->mcs2gpo[7] = sprom->mcs2gpo[7];
  14269. break;
  14270. case 1:
  14271. pi->nphy_pwrctrl_info[PHY_CORE_0].max_pwr_5gm =
  14272. sprom->core_pwr_info[0].maxpwr_5g;
  14273. pi->nphy_pwrctrl_info[PHY_CORE_1].max_pwr_5gm =
  14274. sprom->core_pwr_info[1].maxpwr_5g;
  14275. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_a1 =
  14276. sprom->core_pwr_info[0].pa_5g[0];
  14277. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_a1 =
  14278. sprom->core_pwr_info[1].pa_5g[0];
  14279. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b0 =
  14280. sprom->core_pwr_info[0].pa_5g[1];
  14281. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b0 =
  14282. sprom->core_pwr_info[1].pa_5g[1];
  14283. pi->nphy_pwrctrl_info[PHY_CORE_0].pwrdet_5gm_b1 =
  14284. sprom->core_pwr_info[0].pa_5g[2];
  14285. pi->nphy_pwrctrl_info[PHY_CORE_1].pwrdet_5gm_b1 =
  14286. sprom->core_pwr_info[1].pa_5g[2];
  14287. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_targ_5gm =
  14288. sprom->core_pwr_info[0].itssi_5g;
  14289. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_targ_5gm =
  14290. sprom->core_pwr_info[1].itssi_5g;
  14291. pi->ofdm5gpo = sprom->ofdm5gpo;
  14292. pi->mcs5gpo[0] = sprom->mcs5gpo[0];
  14293. pi->mcs5gpo[1] = sprom->mcs5gpo[1];
  14294. pi->mcs5gpo[2] = sprom->mcs5gpo[2];
  14295. pi->mcs5gpo[3] = sprom->mcs5gpo[3];
  14296. pi->mcs5gpo[4] = sprom->mcs5gpo[4];
  14297. pi->mcs5gpo[5] = sprom->mcs5gpo[5];
  14298. pi->mcs5gpo[6] = sprom->mcs5gpo[6];
  14299. pi->mcs5gpo[7] = sprom->mcs5gpo[7];
  14300. break;
  14301. case 2:
  14302. pi->nphy_pwrctrl_info[0].max_pwr_5gl =
  14303. sprom->core_pwr_info[0].maxpwr_5gl;
  14304. pi->nphy_pwrctrl_info[1].max_pwr_5gl =
  14305. sprom->core_pwr_info[1].maxpwr_5gl;
  14306. pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1 =
  14307. sprom->core_pwr_info[0].pa_5gl[0];
  14308. pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1 =
  14309. sprom->core_pwr_info[1].pa_5gl[0];
  14310. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0 =
  14311. sprom->core_pwr_info[0].pa_5gl[1];
  14312. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0 =
  14313. sprom->core_pwr_info[1].pa_5gl[1];
  14314. pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1 =
  14315. sprom->core_pwr_info[0].pa_5gl[2];
  14316. pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1 =
  14317. sprom->core_pwr_info[1].pa_5gl[2];
  14318. pi->nphy_pwrctrl_info[0].idle_targ_5gl = 0;
  14319. pi->nphy_pwrctrl_info[1].idle_targ_5gl = 0;
  14320. pi->ofdm5glpo = sprom->ofdm5glpo;
  14321. pi->mcs5glpo[0] = sprom->mcs5glpo[0];
  14322. pi->mcs5glpo[1] = sprom->mcs5glpo[1];
  14323. pi->mcs5glpo[2] = sprom->mcs5glpo[2];
  14324. pi->mcs5glpo[3] = sprom->mcs5glpo[3];
  14325. pi->mcs5glpo[4] = sprom->mcs5glpo[4];
  14326. pi->mcs5glpo[5] = sprom->mcs5glpo[5];
  14327. pi->mcs5glpo[6] = sprom->mcs5glpo[6];
  14328. pi->mcs5glpo[7] = sprom->mcs5glpo[7];
  14329. break;
  14330. case 3:
  14331. pi->nphy_pwrctrl_info[0].max_pwr_5gh =
  14332. sprom->core_pwr_info[0].maxpwr_5gh;
  14333. pi->nphy_pwrctrl_info[1].max_pwr_5gh =
  14334. sprom->core_pwr_info[1].maxpwr_5gh;
  14335. pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1 =
  14336. sprom->core_pwr_info[0].pa_5gh[0];
  14337. pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1 =
  14338. sprom->core_pwr_info[1].pa_5gh[0];
  14339. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0 =
  14340. sprom->core_pwr_info[0].pa_5gh[1];
  14341. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0 =
  14342. sprom->core_pwr_info[1].pa_5gh[1];
  14343. pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1 =
  14344. sprom->core_pwr_info[0].pa_5gh[2];
  14345. pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1 =
  14346. sprom->core_pwr_info[1].pa_5gh[2];
  14347. pi->nphy_pwrctrl_info[0].idle_targ_5gh = 0;
  14348. pi->nphy_pwrctrl_info[1].idle_targ_5gh = 0;
  14349. pi->ofdm5ghpo = sprom->ofdm5ghpo;
  14350. pi->mcs5ghpo[0] = sprom->mcs5ghpo[0];
  14351. pi->mcs5ghpo[1] = sprom->mcs5ghpo[1];
  14352. pi->mcs5ghpo[2] = sprom->mcs5ghpo[2];
  14353. pi->mcs5ghpo[3] = sprom->mcs5ghpo[3];
  14354. pi->mcs5ghpo[4] = sprom->mcs5ghpo[4];
  14355. pi->mcs5ghpo[5] = sprom->mcs5ghpo[5];
  14356. pi->mcs5ghpo[6] = sprom->mcs5ghpo[6];
  14357. pi->mcs5ghpo[7] = sprom->mcs5ghpo[7];
  14358. break;
  14359. }
  14360. }
  14361. wlc_phy_txpwr_apply_nphy(pi);
  14362. }
  14363. static bool wlc_phy_txpwr_srom_read_nphy(struct brcms_phy *pi)
  14364. {
  14365. struct ssb_sprom *sprom = &pi->d11core->bus->sprom;
  14366. pi->antswitch = sprom->antswitch;
  14367. pi->aa2g = sprom->ant_available_bg;
  14368. pi->aa5g = sprom->ant_available_a;
  14369. pi->srom_fem2g.tssipos = sprom->fem.ghz2.tssipos;
  14370. pi->srom_fem2g.extpagain = sprom->fem.ghz2.extpa_gain;
  14371. pi->srom_fem2g.pdetrange = sprom->fem.ghz2.pdet_range;
  14372. pi->srom_fem2g.triso = sprom->fem.ghz2.tr_iso;
  14373. pi->srom_fem2g.antswctrllut = sprom->fem.ghz2.antswlut;
  14374. pi->srom_fem5g.tssipos = sprom->fem.ghz5.tssipos;
  14375. pi->srom_fem5g.extpagain = sprom->fem.ghz5.extpa_gain;
  14376. pi->srom_fem5g.pdetrange = sprom->fem.ghz5.pdet_range;
  14377. pi->srom_fem5g.triso = sprom->fem.ghz5.tr_iso;
  14378. if (sprom->fem.ghz5.antswlut)
  14379. pi->srom_fem5g.antswctrllut = sprom->fem.ghz5.antswlut;
  14380. else
  14381. pi->srom_fem5g.antswctrllut = sprom->fem.ghz2.antswlut;
  14382. wlc_phy_txpower_ipa_upd(pi);
  14383. pi->phy_txcore_disable_temp = sprom->tempthresh;
  14384. if (pi->phy_txcore_disable_temp == 0)
  14385. pi->phy_txcore_disable_temp = PHY_CHAIN_TX_DISABLE_TEMP;
  14386. pi->phy_tempsense_offset = sprom->tempoffset;
  14387. if (pi->phy_tempsense_offset != 0) {
  14388. if (pi->phy_tempsense_offset >
  14389. (NPHY_SROM_TEMPSHIFT + NPHY_SROM_MAXTEMPOFFSET))
  14390. pi->phy_tempsense_offset = NPHY_SROM_MAXTEMPOFFSET;
  14391. else if (pi->phy_tempsense_offset < (NPHY_SROM_TEMPSHIFT +
  14392. NPHY_SROM_MINTEMPOFFSET))
  14393. pi->phy_tempsense_offset = NPHY_SROM_MINTEMPOFFSET;
  14394. else
  14395. pi->phy_tempsense_offset -= NPHY_SROM_TEMPSHIFT;
  14396. }
  14397. pi->phy_txcore_enable_temp =
  14398. pi->phy_txcore_disable_temp - PHY_HYSTERESIS_DELTATEMP;
  14399. pi->phycal_tempdelta = sprom->phycal_tempdelta;
  14400. if (pi->phycal_tempdelta > NPHY_CAL_MAXTEMPDELTA)
  14401. pi->phycal_tempdelta = 0;
  14402. wlc_phy_txpwr_srom_read_ppr_nphy(pi);
  14403. return true;
  14404. }
  14405. bool wlc_phy_attach_nphy(struct brcms_phy *pi)
  14406. {
  14407. uint i;
  14408. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 6))
  14409. pi->phyhang_avoid = true;
  14410. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14411. pi->nphy_gband_spurwar_en = true;
  14412. if (pi->sh->boardflags2 & BFL2_SPUR_WAR)
  14413. pi->nphy_aband_spurwar_en = true;
  14414. }
  14415. if (NREV_GE(pi->pubpi.phy_rev, 6) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  14416. if (pi->sh->boardflags2 & BFL2_2G_SPUR_WAR)
  14417. pi->nphy_gband_spurwar2_en = true;
  14418. }
  14419. pi->n_preamble_override = AUTO;
  14420. if (NREV_IS(pi->pubpi.phy_rev, 3) || NREV_IS(pi->pubpi.phy_rev, 4))
  14421. pi->n_preamble_override = BRCMS_N_PREAMBLE_MIXEDMODE;
  14422. pi->nphy_txrx_chain = AUTO;
  14423. pi->phy_scraminit = AUTO;
  14424. pi->nphy_rxcalparams = 0x010100B5;
  14425. pi->nphy_perical = PHY_PERICAL_MPHASE;
  14426. pi->mphase_cal_phase_id = MPHASE_CAL_STATE_IDLE;
  14427. pi->mphase_txcal_numcmds = MPHASE_TXCAL_NUMCMDS;
  14428. pi->nphy_gain_boost = true;
  14429. pi->nphy_elna_gain_config = false;
  14430. pi->radio_is_on = false;
  14431. for (i = 0; i < pi->pubpi.phy_corenum; i++)
  14432. pi->nphy_txpwrindex[i].index = AUTO;
  14433. wlc_phy_txpwrctrl_config_nphy(pi);
  14434. if (pi->nphy_txpwrctrl == PHY_TPC_HW_ON)
  14435. pi->hwpwrctrl_capable = true;
  14436. pi->pi_fptr.init = wlc_phy_init_nphy;
  14437. pi->pi_fptr.calinit = wlc_phy_cal_init_nphy;
  14438. pi->pi_fptr.chanset = wlc_phy_chanspec_set_nphy;
  14439. pi->pi_fptr.txpwrrecalc = wlc_phy_txpower_recalc_target_nphy;
  14440. if (!wlc_phy_txpwr_srom_read_nphy(pi))
  14441. return false;
  14442. return true;
  14443. }
  14444. static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn)
  14445. {
  14446. s32 rfpwr_offset = 0;
  14447. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  14448. if ((pi->pubpi.radiorev == 3) ||
  14449. (pi->pubpi.radiorev == 4) ||
  14450. (pi->pubpi.radiorev == 6))
  14451. rfpwr_offset = (s16)
  14452. nphy_papd_padgain_dlt_2g_2057rev3n4
  14453. [pad_gn];
  14454. else if (pi->pubpi.radiorev == 5)
  14455. rfpwr_offset = (s16)
  14456. nphy_papd_padgain_dlt_2g_2057rev5
  14457. [pad_gn];
  14458. else if ((pi->pubpi.radiorev == 7)
  14459. || (pi->pubpi.radiorev ==
  14460. 8))
  14461. rfpwr_offset = (s16)
  14462. nphy_papd_padgain_dlt_2g_2057rev7
  14463. [pad_gn];
  14464. } else {
  14465. if ((pi->pubpi.radiorev == 3) ||
  14466. (pi->pubpi.radiorev == 4) ||
  14467. (pi->pubpi.radiorev == 6))
  14468. rfpwr_offset = (s16)
  14469. nphy_papd_pgagain_dlt_5g_2057
  14470. [pga_gn];
  14471. else if ((pi->pubpi.radiorev == 7)
  14472. || (pi->pubpi.radiorev ==
  14473. 8))
  14474. rfpwr_offset = (s16)
  14475. nphy_papd_pgagain_dlt_5g_2057rev7
  14476. [pga_gn];
  14477. }
  14478. return rfpwr_offset;
  14479. }
  14480. static void wlc_phy_update_mimoconfig_nphy(struct brcms_phy *pi, s32 preamble)
  14481. {
  14482. bool gf_preamble = false;
  14483. u16 val;
  14484. if (preamble == BRCMS_N_PREAMBLE_GF)
  14485. gf_preamble = true;
  14486. val = read_phy_reg(pi, 0xed);
  14487. val |= RX_GF_MM_AUTO;
  14488. val &= ~RX_GF_OR_MM;
  14489. if (gf_preamble)
  14490. val |= RX_GF_OR_MM;
  14491. write_phy_reg(pi, 0xed, val);
  14492. }
  14493. static void wlc_phy_ipa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  14494. {
  14495. int j, type;
  14496. u16 addr_offset[] = { 0x186, 0x195, 0x2c5};
  14497. for (type = 0; type < 3; type++) {
  14498. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14499. write_phy_reg(pi, addr_offset[type] + j,
  14500. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  14501. }
  14502. if (pi->bw == WL_CHANSPEC_BW_40) {
  14503. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14504. write_phy_reg(pi, 0x186 + j,
  14505. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14506. } else {
  14507. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  14508. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14509. write_phy_reg(pi, 0x186 + j,
  14510. NPHY_IPA_REV4_txdigi_filtcoeffs[5][j]);
  14511. }
  14512. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  14513. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14514. write_phy_reg(pi, 0x2c5 + j,
  14515. NPHY_IPA_REV4_txdigi_filtcoeffs[6][j]);
  14516. }
  14517. }
  14518. }
  14519. static void wlc_phy_ipa_restore_tx_digi_filts_nphy(struct brcms_phy *pi)
  14520. {
  14521. int j;
  14522. if (pi->bw == WL_CHANSPEC_BW_40) {
  14523. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14524. write_phy_reg(pi, 0x195 + j,
  14525. NPHY_IPA_REV4_txdigi_filtcoeffs[4][j]);
  14526. } else {
  14527. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  14528. write_phy_reg(pi, 0x186 + j,
  14529. NPHY_IPA_REV4_txdigi_filtcoeffs[3][j]);
  14530. }
  14531. }
  14532. static void
  14533. wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, const u8 *events,
  14534. const u8 *dlys, u8 len)
  14535. {
  14536. u32 t1_offset, t2_offset;
  14537. u8 ctr;
  14538. u8 end_event =
  14539. NREV_GE(pi->pubpi.phy_rev,
  14540. 3) ? NPHY_REV3_RFSEQ_CMD_END : NPHY_RFSEQ_CMD_END;
  14541. u8 end_dly = 1;
  14542. if (pi->phyhang_avoid)
  14543. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14544. t1_offset = cmd << 4;
  14545. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t1_offset, 8,
  14546. events);
  14547. t2_offset = t1_offset + 0x080;
  14548. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, len, t2_offset, 8,
  14549. dlys);
  14550. for (ctr = len; ctr < 16; ctr++) {
  14551. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14552. t1_offset + ctr, 8, &end_event);
  14553. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14554. t2_offset + ctr, 8, &end_dly);
  14555. }
  14556. if (pi->phyhang_avoid)
  14557. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  14558. }
  14559. static u16 wlc_phy_read_lpf_bw_ctl_nphy(struct brcms_phy *pi, u16 offset)
  14560. {
  14561. u16 lpf_bw_ctl_val = 0;
  14562. u16 rx2tx_lpf_rc_lut_offset = 0;
  14563. if (offset == 0) {
  14564. if (CHSPEC_IS40(pi->radio_chanspec))
  14565. rx2tx_lpf_rc_lut_offset = 0x159;
  14566. else
  14567. rx2tx_lpf_rc_lut_offset = 0x154;
  14568. } else {
  14569. rx2tx_lpf_rc_lut_offset = offset;
  14570. }
  14571. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  14572. (u32) rx2tx_lpf_rc_lut_offset, 16,
  14573. &lpf_bw_ctl_val);
  14574. lpf_bw_ctl_val = lpf_bw_ctl_val & 0x7;
  14575. return lpf_bw_ctl_val;
  14576. }
  14577. static void
  14578. wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value,
  14579. u8 core_mask, u8 off, u8 override_id)
  14580. {
  14581. u8 core_num;
  14582. u16 addr = 0, en_addr = 0, val_addr = 0, en_mask = 0, val_mask = 0;
  14583. u8 val_shift = 0;
  14584. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14585. en_mask = field;
  14586. for (core_num = 0; core_num < 2; core_num++) {
  14587. if (override_id == NPHY_REV7_RFCTRLOVERRIDE_ID0) {
  14588. switch (field) {
  14589. case (0x1 << 2):
  14590. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14591. val_addr = (core_num == 0) ? 0x7a :
  14592. 0x7d;
  14593. val_mask = (0x1 << 1);
  14594. val_shift = 1;
  14595. break;
  14596. case (0x1 << 3):
  14597. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14598. val_addr = (core_num == 0) ? 0x7a :
  14599. 0x7d;
  14600. val_mask = (0x1 << 2);
  14601. val_shift = 2;
  14602. break;
  14603. case (0x1 << 4):
  14604. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14605. val_addr = (core_num == 0) ? 0x7a :
  14606. 0x7d;
  14607. val_mask = (0x1 << 4);
  14608. val_shift = 4;
  14609. break;
  14610. case (0x1 << 5):
  14611. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14612. val_addr = (core_num == 0) ? 0x7a :
  14613. 0x7d;
  14614. val_mask = (0x1 << 5);
  14615. val_shift = 5;
  14616. break;
  14617. case (0x1 << 6):
  14618. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14619. val_addr = (core_num == 0) ? 0x7a :
  14620. 0x7d;
  14621. val_mask = (0x1 << 6);
  14622. val_shift = 6;
  14623. break;
  14624. case (0x1 << 7):
  14625. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14626. val_addr = (core_num == 0) ? 0x7a :
  14627. 0x7d;
  14628. val_mask = (0x1 << 7);
  14629. val_shift = 7;
  14630. break;
  14631. case (0x1 << 10):
  14632. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14633. val_addr = (core_num == 0) ? 0xf8 :
  14634. 0xfa;
  14635. val_mask = (0x7 << 4);
  14636. val_shift = 4;
  14637. break;
  14638. case (0x1 << 11):
  14639. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14640. val_addr = (core_num == 0) ? 0x7b :
  14641. 0x7e;
  14642. val_mask = (0xffff << 0);
  14643. val_shift = 0;
  14644. break;
  14645. case (0x1 << 12):
  14646. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14647. val_addr = (core_num == 0) ? 0x7c :
  14648. 0x7f;
  14649. val_mask = (0xffff << 0);
  14650. val_shift = 0;
  14651. break;
  14652. case (0x3 << 13):
  14653. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14654. val_addr = (core_num == 0) ? 0x348 :
  14655. 0x349;
  14656. val_mask = (0xff << 0);
  14657. val_shift = 0;
  14658. break;
  14659. case (0x1 << 13):
  14660. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  14661. val_addr = (core_num == 0) ? 0x348 :
  14662. 0x349;
  14663. val_mask = (0xf << 0);
  14664. val_shift = 0;
  14665. break;
  14666. default:
  14667. addr = 0xffff;
  14668. break;
  14669. }
  14670. } else if (override_id ==
  14671. NPHY_REV7_RFCTRLOVERRIDE_ID1) {
  14672. switch (field) {
  14673. case (0x1 << 1):
  14674. en_addr = (core_num == 0) ? 0x342 :
  14675. 0x343;
  14676. val_addr = (core_num == 0) ? 0x340 :
  14677. 0x341;
  14678. val_mask = (0x1 << 1);
  14679. val_shift = 1;
  14680. break;
  14681. case (0x1 << 3):
  14682. en_addr = (core_num == 0) ? 0x342 :
  14683. 0x343;
  14684. val_addr = (core_num == 0) ? 0x340 :
  14685. 0x341;
  14686. val_mask = (0x1 << 3);
  14687. val_shift = 3;
  14688. break;
  14689. case (0x1 << 5):
  14690. en_addr = (core_num == 0) ? 0x342 :
  14691. 0x343;
  14692. val_addr = (core_num == 0) ? 0x340 :
  14693. 0x341;
  14694. val_mask = (0x1 << 5);
  14695. val_shift = 5;
  14696. break;
  14697. case (0x1 << 4):
  14698. en_addr = (core_num == 0) ? 0x342 :
  14699. 0x343;
  14700. val_addr = (core_num == 0) ? 0x340 :
  14701. 0x341;
  14702. val_mask = (0x1 << 4);
  14703. val_shift = 4;
  14704. break;
  14705. case (0x1 << 2):
  14706. en_addr = (core_num == 0) ? 0x342 :
  14707. 0x343;
  14708. val_addr = (core_num == 0) ? 0x340 :
  14709. 0x341;
  14710. val_mask = (0x1 << 2);
  14711. val_shift = 2;
  14712. break;
  14713. case (0x1 << 7):
  14714. en_addr = (core_num == 0) ? 0x342 :
  14715. 0x343;
  14716. val_addr = (core_num == 0) ? 0x340 :
  14717. 0x341;
  14718. val_mask = (0x7 << 8);
  14719. val_shift = 8;
  14720. break;
  14721. case (0x1 << 11):
  14722. en_addr = (core_num == 0) ? 0x342 :
  14723. 0x343;
  14724. val_addr = (core_num == 0) ? 0x340 :
  14725. 0x341;
  14726. val_mask = (0x1 << 14);
  14727. val_shift = 14;
  14728. break;
  14729. case (0x1 << 10):
  14730. en_addr = (core_num == 0) ? 0x342 :
  14731. 0x343;
  14732. val_addr = (core_num == 0) ? 0x340 :
  14733. 0x341;
  14734. val_mask = (0x1 << 13);
  14735. val_shift = 13;
  14736. break;
  14737. case (0x1 << 9):
  14738. en_addr = (core_num == 0) ? 0x342 :
  14739. 0x343;
  14740. val_addr = (core_num == 0) ? 0x340 :
  14741. 0x341;
  14742. val_mask = (0x1 << 12);
  14743. val_shift = 12;
  14744. break;
  14745. case (0x1 << 8):
  14746. en_addr = (core_num == 0) ? 0x342 :
  14747. 0x343;
  14748. val_addr = (core_num == 0) ? 0x340 :
  14749. 0x341;
  14750. val_mask = (0x1 << 11);
  14751. val_shift = 11;
  14752. break;
  14753. case (0x1 << 6):
  14754. en_addr = (core_num == 0) ? 0x342 :
  14755. 0x343;
  14756. val_addr = (core_num == 0) ? 0x340 :
  14757. 0x341;
  14758. val_mask = (0x1 << 6);
  14759. val_shift = 6;
  14760. break;
  14761. case (0x1 << 0):
  14762. en_addr = (core_num == 0) ? 0x342 :
  14763. 0x343;
  14764. val_addr = (core_num == 0) ? 0x340 :
  14765. 0x341;
  14766. val_mask = (0x1 << 0);
  14767. val_shift = 0;
  14768. break;
  14769. default:
  14770. addr = 0xffff;
  14771. break;
  14772. }
  14773. } else if (override_id ==
  14774. NPHY_REV7_RFCTRLOVERRIDE_ID2) {
  14775. switch (field) {
  14776. case (0x1 << 3):
  14777. en_addr = (core_num == 0) ? 0x346 :
  14778. 0x347;
  14779. val_addr = (core_num == 0) ? 0x344 :
  14780. 0x345;
  14781. val_mask = (0x1 << 3);
  14782. val_shift = 3;
  14783. break;
  14784. case (0x1 << 1):
  14785. en_addr = (core_num == 0) ? 0x346 :
  14786. 0x347;
  14787. val_addr = (core_num == 0) ? 0x344 :
  14788. 0x345;
  14789. val_mask = (0x1 << 1);
  14790. val_shift = 1;
  14791. break;
  14792. case (0x1 << 0):
  14793. en_addr = (core_num == 0) ? 0x346 :
  14794. 0x347;
  14795. val_addr = (core_num == 0) ? 0x344 :
  14796. 0x345;
  14797. val_mask = (0x1 << 0);
  14798. val_shift = 0;
  14799. break;
  14800. case (0x1 << 2):
  14801. en_addr = (core_num == 0) ? 0x346 :
  14802. 0x347;
  14803. val_addr = (core_num == 0) ? 0x344 :
  14804. 0x345;
  14805. val_mask = (0x1 << 2);
  14806. val_shift = 2;
  14807. break;
  14808. case (0x1 << 4):
  14809. en_addr = (core_num == 0) ? 0x346 :
  14810. 0x347;
  14811. val_addr = (core_num == 0) ? 0x344 :
  14812. 0x345;
  14813. val_mask = (0x1 << 4);
  14814. val_shift = 4;
  14815. break;
  14816. default:
  14817. addr = 0xffff;
  14818. break;
  14819. }
  14820. }
  14821. if (off) {
  14822. and_phy_reg(pi, en_addr, ~en_mask);
  14823. and_phy_reg(pi, val_addr, ~val_mask);
  14824. } else {
  14825. if ((core_mask == 0)
  14826. || (core_mask & (1 << core_num))) {
  14827. or_phy_reg(pi, en_addr, en_mask);
  14828. if (addr != 0xffff)
  14829. mod_phy_reg(pi, val_addr,
  14830. val_mask,
  14831. (value <<
  14832. val_shift));
  14833. }
  14834. }
  14835. }
  14836. }
  14837. }
  14838. static void wlc_phy_adjust_lnagaintbl_nphy(struct brcms_phy *pi)
  14839. {
  14840. uint core;
  14841. int ctr;
  14842. s16 gain_delta[2];
  14843. u8 curr_channel;
  14844. u16 minmax_gain[2];
  14845. u16 regval[4];
  14846. if (pi->phyhang_avoid)
  14847. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  14848. if (pi->nphy_gain_boost) {
  14849. if ((CHSPEC_IS2G(pi->radio_chanspec))) {
  14850. gain_delta[0] = 6;
  14851. gain_delta[1] = 6;
  14852. } else {
  14853. curr_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  14854. gain_delta[0] =
  14855. (s16)
  14856. PHY_HW_ROUND(((nphy_lnagain_est0[0] *
  14857. curr_channel) +
  14858. nphy_lnagain_est0[1]), 13);
  14859. gain_delta[1] =
  14860. (s16)
  14861. PHY_HW_ROUND(((nphy_lnagain_est1[0] *
  14862. curr_channel) +
  14863. nphy_lnagain_est1[1]), 13);
  14864. }
  14865. } else {
  14866. gain_delta[0] = 0;
  14867. gain_delta[1] = 0;
  14868. }
  14869. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  14870. if (pi->nphy_elna_gain_config) {
  14871. regval[0] = nphy_def_lnagains[2] + gain_delta[core];
  14872. regval[1] = nphy_def_lnagains[3] + gain_delta[core];
  14873. regval[2] = nphy_def_lnagains[3] + gain_delta[core];
  14874. regval[3] = nphy_def_lnagains[3] + gain_delta[core];
  14875. } else {
  14876. for (ctr = 0; ctr < 4; ctr++)
  14877. regval[ctr] =
  14878. nphy_def_lnagains[ctr] +
  14879. gain_delta[core];
  14880. }
  14881. wlc_phy_table_write_nphy(pi, core, 4, 8, 16, regval);
  14882. minmax_gain[core] =
  14883. (u16) (nphy_def_lnagains[2] + gain_delta[core] + 4);
  14884. }
  14885. mod_phy_reg(pi, 0x1e, (0xff << 0), (minmax_gain[0] << 0));
  14886. mod_phy_reg(pi, 0x34, (0xff << 0), (minmax_gain[1] << 0));
  14887. if (pi->phyhang_avoid)
  14888. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  14889. }
  14890. static void
  14891. wlc_phy_war_force_trsw_to_R_cliplo_nphy(struct brcms_phy *pi, u8 core)
  14892. {
  14893. if (core == PHY_CORE_0) {
  14894. write_phy_reg(pi, 0x38, 0x4);
  14895. if (CHSPEC_IS2G(pi->radio_chanspec))
  14896. write_phy_reg(pi, 0x37, 0x0060);
  14897. else
  14898. write_phy_reg(pi, 0x37, 0x1080);
  14899. } else if (core == PHY_CORE_1) {
  14900. write_phy_reg(pi, 0x2ae, 0x4);
  14901. if (CHSPEC_IS2G(pi->radio_chanspec))
  14902. write_phy_reg(pi, 0x2ad, 0x0060);
  14903. else
  14904. write_phy_reg(pi, 0x2ad, 0x1080);
  14905. }
  14906. }
  14907. static void wlc_phy_war_txchain_upd_nphy(struct brcms_phy *pi, u8 txchain)
  14908. {
  14909. u8 txchain0, txchain1;
  14910. txchain0 = txchain & 0x1;
  14911. txchain1 = (txchain & 0x2) >> 1;
  14912. if (!txchain0)
  14913. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  14914. if (!txchain1)
  14915. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  14916. }
  14917. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev5(struct brcms_phy *pi)
  14918. {
  14919. s8 lna1_gain_db[] = { 8, 13, 17, 22 };
  14920. s8 lna2_gain_db[] = { -2, 7, 11, 15 };
  14921. s8 tia_gain_db[] = { -4, -1, 2, 5, 5, 5, 5, 5, 5, 5 };
  14922. s8 tia_gainbits[] = {
  14923. 0x0, 0x01, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  14924. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  14925. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  14926. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  14927. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3c << 0));
  14928. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3c << 0));
  14929. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x8, 8,
  14930. lna1_gain_db);
  14931. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x8, 8,
  14932. lna1_gain_db);
  14933. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10, 8,
  14934. lna2_gain_db);
  14935. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10, 8,
  14936. lna2_gain_db);
  14937. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  14938. tia_gain_db);
  14939. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  14940. tia_gain_db);
  14941. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  14942. tia_gainbits);
  14943. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  14944. tia_gainbits);
  14945. write_phy_reg(pi, 0x37, 0x74);
  14946. write_phy_reg(pi, 0x2ad, 0x74);
  14947. write_phy_reg(pi, 0x38, 0x18);
  14948. write_phy_reg(pi, 0x2ae, 0x18);
  14949. write_phy_reg(pi, 0x2b, 0xe8);
  14950. write_phy_reg(pi, 0x41, 0xe8);
  14951. if (CHSPEC_IS20(pi->radio_chanspec)) {
  14952. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x12 << 0));
  14953. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x12 << 0));
  14954. } else {
  14955. mod_phy_reg(pi, 0x300, (0x3f << 0), (0x10 << 0));
  14956. mod_phy_reg(pi, 0x301, (0x3f << 0), (0x10 << 0));
  14957. }
  14958. }
  14959. static void wlc_phy_workarounds_nphy_gainctrl_2057_rev6(struct brcms_phy *pi)
  14960. {
  14961. u16 currband;
  14962. static const s8 lna1G_gain_db_rev7[] = { 9, 14, 19, 24 };
  14963. const s8 *lna1_gain_db = NULL;
  14964. const s8 *lna1_gain_db_2 = NULL;
  14965. const s8 *lna2_gain_db = NULL;
  14966. static const s8 tiaA_gain_db_rev7[] = { -9, -6, -3, 0, 3, 3, 3, 3, 3, 3 };
  14967. const s8 *tia_gain_db;
  14968. static const s8 tiaA_gainbits_rev7[] = { 0, 1, 2, 3, 4, 4, 4, 4, 4, 4 };
  14969. const s8 *tia_gainbits;
  14970. static const u16 rfseqA_init_gain_rev7[] = { 0x624f, 0x624f };
  14971. const u16 *rfseq_init_gain;
  14972. u16 init_gaincode;
  14973. u16 clip1hi_gaincode;
  14974. u16 clip1md_gaincode = 0;
  14975. u16 clip1md_gaincode_B;
  14976. u16 clip1lo_gaincode;
  14977. u16 clip1lo_gaincode_B;
  14978. u8 crsminl_th = 0;
  14979. u8 crsminu_th;
  14980. u16 nbclip_th = 0;
  14981. u8 w1clip_th;
  14982. u16 freq;
  14983. s8 nvar_baseline_offset0 = 0, nvar_baseline_offset1 = 0;
  14984. u8 chg_nbclip_th = 0;
  14985. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  14986. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  14987. currband = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  14988. if (currband == 0) {
  14989. lna1_gain_db = lna1G_gain_db_rev7;
  14990. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  14991. lna1_gain_db);
  14992. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  14993. lna1_gain_db);
  14994. mod_phy_reg(pi, 0x283, (0xff << 0), (0x40 << 0));
  14995. if (CHSPEC_IS40(pi->radio_chanspec)) {
  14996. mod_phy_reg(pi, 0x280, (0xff << 0), (0x3e << 0));
  14997. mod_phy_reg(pi, 0x283, (0xff << 0), (0x3e << 0));
  14998. }
  14999. mod_phy_reg(pi, 0x289, (0xff << 0), (0x46 << 0));
  15000. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15001. mod_phy_reg(pi, 0x300, (0x3f << 0), (13 << 0));
  15002. mod_phy_reg(pi, 0x301, (0x3f << 0), (13 << 0));
  15003. }
  15004. } else {
  15005. init_gaincode = 0x9e;
  15006. clip1hi_gaincode = 0x9e;
  15007. clip1md_gaincode_B = 0x24;
  15008. clip1lo_gaincode = 0x8a;
  15009. clip1lo_gaincode_B = 8;
  15010. rfseq_init_gain = rfseqA_init_gain_rev7;
  15011. tia_gain_db = tiaA_gain_db_rev7;
  15012. tia_gainbits = tiaA_gainbits_rev7;
  15013. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  15014. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15015. w1clip_th = 25;
  15016. clip1md_gaincode = 0x82;
  15017. if ((freq <= 5080) || (freq == 5825)) {
  15018. static const s8 lna1A_gain_db_rev7[] = { 11, 16, 20, 24 };
  15019. static const s8 lna1A_gain_db_2_rev7[] = { 11, 17, 22, 25};
  15020. static const s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15021. crsminu_th = 0x3e;
  15022. lna1_gain_db = lna1A_gain_db_rev7;
  15023. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15024. lna2_gain_db = lna2A_gain_db_rev7;
  15025. } else if ((freq >= 5500) && (freq <= 5700)) {
  15026. static const s8 lna1A_gain_db_rev7[] = { 11, 17, 21, 25 };
  15027. static const s8 lna1A_gain_db_2_rev7[] = { 12, 18, 22, 26};
  15028. static const s8 lna2A_gain_db_rev7[] = { 1, 8, 12, 16 };
  15029. crsminu_th = 0x45;
  15030. clip1md_gaincode_B = 0x14;
  15031. nbclip_th = 0xff;
  15032. chg_nbclip_th = 1;
  15033. lna1_gain_db = lna1A_gain_db_rev7;
  15034. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15035. lna2_gain_db = lna2A_gain_db_rev7;
  15036. } else {
  15037. static const s8 lna1A_gain_db_rev7[] = { 12, 18, 22, 26 };
  15038. static const s8 lna1A_gain_db_2_rev7[] = { 12, 18, 22, 26};
  15039. static const s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15040. crsminu_th = 0x41;
  15041. lna1_gain_db = lna1A_gain_db_rev7;
  15042. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15043. lna2_gain_db = lna2A_gain_db_rev7;
  15044. }
  15045. if (freq <= 4920) {
  15046. nvar_baseline_offset0 = 5;
  15047. nvar_baseline_offset1 = 5;
  15048. } else if ((freq > 4920) && (freq <= 5320)) {
  15049. nvar_baseline_offset0 = 3;
  15050. nvar_baseline_offset1 = 5;
  15051. } else if ((freq > 5320) && (freq <= 5700)) {
  15052. nvar_baseline_offset0 = 3;
  15053. nvar_baseline_offset1 = 2;
  15054. } else {
  15055. nvar_baseline_offset0 = 4;
  15056. nvar_baseline_offset1 = 0;
  15057. }
  15058. } else {
  15059. crsminu_th = 0x3a;
  15060. crsminl_th = 0x3a;
  15061. w1clip_th = 20;
  15062. if ((freq >= 4920) && (freq <= 5320)) {
  15063. nvar_baseline_offset0 = 4;
  15064. nvar_baseline_offset1 = 5;
  15065. } else if ((freq > 5320) && (freq <= 5550)) {
  15066. nvar_baseline_offset0 = 4;
  15067. nvar_baseline_offset1 = 2;
  15068. } else {
  15069. nvar_baseline_offset0 = 5;
  15070. nvar_baseline_offset1 = 3;
  15071. }
  15072. }
  15073. write_phy_reg(pi, 0x20, init_gaincode);
  15074. write_phy_reg(pi, 0x2a7, init_gaincode);
  15075. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15076. pi->pubpi.phy_corenum, 0x106, 16,
  15077. rfseq_init_gain);
  15078. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15079. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15080. write_phy_reg(pi, 0x36, clip1md_gaincode_B);
  15081. write_phy_reg(pi, 0x2ac, clip1md_gaincode_B);
  15082. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15083. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15084. write_phy_reg(pi, 0x38, clip1lo_gaincode_B);
  15085. write_phy_reg(pi, 0x2ae, clip1lo_gaincode_B);
  15086. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15087. tia_gain_db);
  15088. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15089. tia_gain_db);
  15090. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15091. tia_gainbits);
  15092. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15093. tia_gainbits);
  15094. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15095. if (chg_nbclip_th == 1) {
  15096. write_phy_reg(pi, 0x2b, nbclip_th);
  15097. write_phy_reg(pi, 0x41, nbclip_th);
  15098. }
  15099. mod_phy_reg(pi, 0x300, (0x3f << 0), (w1clip_th << 0));
  15100. mod_phy_reg(pi, 0x301, (0x3f << 0), (w1clip_th << 0));
  15101. mod_phy_reg(pi, 0x2e4,
  15102. (0x3f << 0), (nvar_baseline_offset0 << 0));
  15103. mod_phy_reg(pi, 0x2e4,
  15104. (0x3f << 6), (nvar_baseline_offset1 << 6));
  15105. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15106. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15107. lna1_gain_db);
  15108. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15109. lna1_gain_db_2);
  15110. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15111. 8, lna2_gain_db);
  15112. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15113. 8, lna2_gain_db);
  15114. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15115. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15116. } else {
  15117. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15118. }
  15119. }
  15120. }
  15121. static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi)
  15122. {
  15123. u16 w1th, hpf_code, currband;
  15124. int ctr;
  15125. u8 rfseq_updategainu_events[] = {
  15126. NPHY_RFSEQ_CMD_RX_GAIN,
  15127. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15128. NPHY_RFSEQ_CMD_SET_HPF_BW
  15129. };
  15130. static const u8 rfseq_updategainu_dlys[] = { 10, 30, 1 };
  15131. static const s8 lna1G_gain_db[] = { 7, 11, 16, 23 };
  15132. static const s8 lna1G_gain_db_rev4[] = { 8, 12, 17, 25 };
  15133. static const s8 lna1G_gain_db_rev5[] = { 9, 13, 18, 26 };
  15134. static const s8 lna1G_gain_db_rev6[] = { 8, 13, 18, 25 };
  15135. static const s8 lna1G_gain_db_rev6_224B0[] = { 10, 14, 19, 27 };
  15136. static const s8 lna1A_gain_db[] = { 7, 11, 17, 23 };
  15137. static const s8 lna1A_gain_db_rev4[] = { 8, 12, 18, 23 };
  15138. static const s8 lna1A_gain_db_rev5[] = { 6, 10, 16, 21 };
  15139. static const s8 lna1A_gain_db_rev6[] = { 6, 10, 16, 21 };
  15140. const s8 *lna1_gain_db = NULL;
  15141. static const s8 lna2G_gain_db[] = { -5, 6, 10, 14 };
  15142. static const s8 lna2G_gain_db_rev5[] = { -3, 7, 11, 16 };
  15143. static const s8 lna2G_gain_db_rev6[] = { -5, 6, 10, 14 };
  15144. static const s8 lna2G_gain_db_rev6_224B0[] = { -5, 6, 10, 15 };
  15145. static const s8 lna2A_gain_db[] = { -6, 2, 6, 10 };
  15146. static const s8 lna2A_gain_db_rev4[] = { -5, 2, 6, 10 };
  15147. static const s8 lna2A_gain_db_rev5[] = { -7, 0, 4, 8 };
  15148. static const s8 lna2A_gain_db_rev6[] = { -7, 0, 4, 8 };
  15149. const s8 *lna2_gain_db = NULL;
  15150. static const s8 tiaG_gain_db[] = {
  15151. 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A };
  15152. static const s8 tiaA_gain_db[] = {
  15153. 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13 };
  15154. static const s8 tiaA_gain_db_rev4[] = {
  15155. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15156. static const s8 tiaA_gain_db_rev5[] = {
  15157. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15158. static const s8 tiaA_gain_db_rev6[] = {
  15159. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15160. const s8 *tia_gain_db;
  15161. static const s8 tiaG_gainbits[] = {
  15162. 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15163. static const s8 tiaA_gainbits[] = {
  15164. 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06 };
  15165. static const s8 tiaA_gainbits_rev4[] = {
  15166. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15167. static const s8 tiaA_gainbits_rev5[] = {
  15168. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15169. static const s8 tiaA_gainbits_rev6[] = {
  15170. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15171. const s8 *tia_gainbits;
  15172. static const s8 lpf_gain_db[] = { 0x00, 0x06, 0x0c, 0x12, 0x12, 0x12 };
  15173. static const s8 lpf_gainbits[] = { 0x00, 0x01, 0x02, 0x03, 0x03, 0x03 };
  15174. static const u16 rfseqG_init_gain[] = { 0x613f, 0x613f, 0x613f, 0x613f };
  15175. static const u16 rfseqG_init_gain_rev4[] = { 0x513f, 0x513f, 0x513f, 0x513f };
  15176. static const u16 rfseqG_init_gain_rev5[] = { 0x413f, 0x413f, 0x413f, 0x413f };
  15177. static const u16 rfseqG_init_gain_rev5_elna[] = {
  15178. 0x013f, 0x013f, 0x013f, 0x013f };
  15179. static const u16 rfseqG_init_gain_rev6[] = { 0x513f, 0x513f };
  15180. static const u16 rfseqG_init_gain_rev6_224B0[] = { 0x413f, 0x413f };
  15181. static const u16 rfseqG_init_gain_rev6_elna[] = { 0x113f, 0x113f };
  15182. static const u16 rfseqA_init_gain[] = { 0x516f, 0x516f, 0x516f, 0x516f };
  15183. static const u16 rfseqA_init_gain_rev4[] = { 0x614f, 0x614f, 0x614f, 0x614f };
  15184. static const u16 rfseqA_init_gain_rev4_elna[] = {
  15185. 0x314f, 0x314f, 0x314f, 0x314f };
  15186. static const u16 rfseqA_init_gain_rev5[] = { 0x714f, 0x714f, 0x714f, 0x714f };
  15187. static const u16 rfseqA_init_gain_rev6[] = { 0x714f, 0x714f };
  15188. const u16 *rfseq_init_gain;
  15189. u16 initG_gaincode = 0x627e;
  15190. u16 initG_gaincode_rev4 = 0x527e;
  15191. u16 initG_gaincode_rev5 = 0x427e;
  15192. u16 initG_gaincode_rev5_elna = 0x027e;
  15193. u16 initG_gaincode_rev6 = 0x527e;
  15194. u16 initG_gaincode_rev6_224B0 = 0x427e;
  15195. u16 initG_gaincode_rev6_elna = 0x127e;
  15196. u16 initA_gaincode = 0x52de;
  15197. u16 initA_gaincode_rev4 = 0x629e;
  15198. u16 initA_gaincode_rev4_elna = 0x329e;
  15199. u16 initA_gaincode_rev5 = 0x729e;
  15200. u16 initA_gaincode_rev6 = 0x729e;
  15201. u16 init_gaincode;
  15202. u16 clip1hiG_gaincode = 0x107e;
  15203. u16 clip1hiG_gaincode_rev4 = 0x007e;
  15204. u16 clip1hiG_gaincode_rev5 = 0x1076;
  15205. u16 clip1hiG_gaincode_rev6 = 0x007e;
  15206. u16 clip1hiA_gaincode = 0x00de;
  15207. u16 clip1hiA_gaincode_rev4 = 0x029e;
  15208. u16 clip1hiA_gaincode_rev5 = 0x029e;
  15209. u16 clip1hiA_gaincode_rev6 = 0x029e;
  15210. u16 clip1hi_gaincode;
  15211. u16 clip1mdG_gaincode = 0x0066;
  15212. u16 clip1mdA_gaincode = 0x00ca;
  15213. u16 clip1mdA_gaincode_rev4 = 0x1084;
  15214. u16 clip1mdA_gaincode_rev5 = 0x2084;
  15215. u16 clip1mdA_gaincode_rev6 = 0x2084;
  15216. u16 clip1md_gaincode = 0;
  15217. u16 clip1loG_gaincode = 0x0074;
  15218. static const u16 clip1loG_gaincode_rev5[] = {
  15219. 0x0062, 0x0064, 0x006a, 0x106a, 0x106c, 0x1074, 0x107c, 0x207c
  15220. };
  15221. static const u16 clip1loG_gaincode_rev6[] = {
  15222. 0x106a, 0x106c, 0x1074, 0x107c, 0x007e, 0x107e, 0x207e, 0x307e
  15223. };
  15224. u16 clip1loG_gaincode_rev6_224B0 = 0x1074;
  15225. u16 clip1loA_gaincode = 0x00cc;
  15226. u16 clip1loA_gaincode_rev4 = 0x0086;
  15227. u16 clip1loA_gaincode_rev5 = 0x2086;
  15228. u16 clip1loA_gaincode_rev6 = 0x2086;
  15229. u16 clip1lo_gaincode;
  15230. u8 crsminG_th = 0x18;
  15231. u8 crsminG_th_rev5 = 0x18;
  15232. u8 crsminG_th_rev6 = 0x18;
  15233. u8 crsminA_th = 0x1e;
  15234. u8 crsminA_th_rev4 = 0x24;
  15235. u8 crsminA_th_rev5 = 0x24;
  15236. u8 crsminA_th_rev6 = 0x24;
  15237. u8 crsmin_th;
  15238. u8 crsminlG_th = 0x18;
  15239. u8 crsminlG_th_rev5 = 0x18;
  15240. u8 crsminlG_th_rev6 = 0x18;
  15241. u8 crsminlA_th = 0x1e;
  15242. u8 crsminlA_th_rev4 = 0x24;
  15243. u8 crsminlA_th_rev5 = 0x24;
  15244. u8 crsminlA_th_rev6 = 0x24;
  15245. u8 crsminl_th = 0;
  15246. u8 crsminuG_th = 0x18;
  15247. u8 crsminuG_th_rev5 = 0x18;
  15248. u8 crsminuG_th_rev6 = 0x18;
  15249. u8 crsminuA_th = 0x1e;
  15250. u8 crsminuA_th_rev4 = 0x24;
  15251. u8 crsminuA_th_rev5 = 0x24;
  15252. u8 crsminuA_th_rev6 = 0x24;
  15253. u8 crsminuA_th_rev6_224B0 = 0x2d;
  15254. u8 crsminu_th;
  15255. u16 nbclipG_th = 0x20d;
  15256. u16 nbclipG_th_rev4 = 0x1a1;
  15257. u16 nbclipG_th_rev5 = 0x1d0;
  15258. u16 nbclipG_th_rev6 = 0x1d0;
  15259. u16 nbclipA_th = 0x1a1;
  15260. u16 nbclipA_th_rev4 = 0x107;
  15261. u16 nbclipA_th_rev5 = 0x0a9;
  15262. u16 nbclipA_th_rev6 = 0x0f0;
  15263. u16 nbclip_th = 0;
  15264. u8 w1clipG_th = 5;
  15265. u8 w1clipG_th_rev5 = 9;
  15266. u8 w1clipG_th_rev6 = 5;
  15267. u8 w1clipA_th = 25, w1clip_th;
  15268. u8 rssi_gain_default = 0x50;
  15269. u8 rssiG_gain_rev6_224B0 = 0x50;
  15270. u8 rssiA_gain_rev5 = 0x90;
  15271. u8 rssiA_gain_rev6 = 0x90;
  15272. u8 rssi_gain;
  15273. u16 regval[21];
  15274. u8 triso;
  15275. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.triso :
  15276. pi->srom_fem2g.triso;
  15277. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15278. if (pi->pubpi.radiorev == 5) {
  15279. wlc_phy_workarounds_nphy_gainctrl_2057_rev5(pi);
  15280. } else if (pi->pubpi.radiorev == 7) {
  15281. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15282. mod_phy_reg(pi, 0x283, (0xff << 0), (0x44 << 0));
  15283. mod_phy_reg(pi, 0x280, (0xff << 0), (0x44 << 0));
  15284. } else if ((pi->pubpi.radiorev == 3)
  15285. || (pi->pubpi.radiorev == 8)) {
  15286. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15287. if (pi->pubpi.radiorev == 8) {
  15288. mod_phy_reg(pi, 0x283,
  15289. (0xff << 0), (0x44 << 0));
  15290. mod_phy_reg(pi, 0x280,
  15291. (0xff << 0), (0x44 << 0));
  15292. }
  15293. } else {
  15294. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15295. }
  15296. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  15297. mod_phy_reg(pi, 0xa0, (0x1 << 6), (1 << 6));
  15298. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15299. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15300. currband =
  15301. read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15302. if (currband == 0) {
  15303. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15304. if (pi->pubpi.radiorev == 11) {
  15305. lna1_gain_db = lna1G_gain_db_rev6_224B0;
  15306. lna2_gain_db = lna2G_gain_db_rev6_224B0;
  15307. rfseq_init_gain =
  15308. rfseqG_init_gain_rev6_224B0;
  15309. init_gaincode =
  15310. initG_gaincode_rev6_224B0;
  15311. clip1hi_gaincode =
  15312. clip1hiG_gaincode_rev6;
  15313. clip1lo_gaincode =
  15314. clip1loG_gaincode_rev6_224B0;
  15315. nbclip_th = nbclipG_th_rev6;
  15316. w1clip_th = w1clipG_th_rev6;
  15317. crsmin_th = crsminG_th_rev6;
  15318. crsminl_th = crsminlG_th_rev6;
  15319. crsminu_th = crsminuG_th_rev6;
  15320. rssi_gain = rssiG_gain_rev6_224B0;
  15321. } else {
  15322. lna1_gain_db = lna1G_gain_db_rev6;
  15323. lna2_gain_db = lna2G_gain_db_rev6;
  15324. if (pi->sh->boardflags & BFL_EXTLNA) {
  15325. rfseq_init_gain =
  15326. rfseqG_init_gain_rev6_elna;
  15327. init_gaincode =
  15328. initG_gaincode_rev6_elna;
  15329. } else {
  15330. rfseq_init_gain =
  15331. rfseqG_init_gain_rev6;
  15332. init_gaincode =
  15333. initG_gaincode_rev6;
  15334. }
  15335. clip1hi_gaincode =
  15336. clip1hiG_gaincode_rev6;
  15337. switch (triso) {
  15338. case 0:
  15339. clip1lo_gaincode =
  15340. clip1loG_gaincode_rev6
  15341. [0];
  15342. break;
  15343. case 1:
  15344. clip1lo_gaincode =
  15345. clip1loG_gaincode_rev6
  15346. [1];
  15347. break;
  15348. case 2:
  15349. clip1lo_gaincode =
  15350. clip1loG_gaincode_rev6
  15351. [2];
  15352. break;
  15353. case 3:
  15354. default:
  15355. clip1lo_gaincode =
  15356. clip1loG_gaincode_rev6
  15357. [3];
  15358. break;
  15359. case 4:
  15360. clip1lo_gaincode =
  15361. clip1loG_gaincode_rev6
  15362. [4];
  15363. break;
  15364. case 5:
  15365. clip1lo_gaincode =
  15366. clip1loG_gaincode_rev6
  15367. [5];
  15368. break;
  15369. case 6:
  15370. clip1lo_gaincode =
  15371. clip1loG_gaincode_rev6
  15372. [6];
  15373. break;
  15374. case 7:
  15375. clip1lo_gaincode =
  15376. clip1loG_gaincode_rev6
  15377. [7];
  15378. break;
  15379. }
  15380. nbclip_th = nbclipG_th_rev6;
  15381. w1clip_th = w1clipG_th_rev6;
  15382. crsmin_th = crsminG_th_rev6;
  15383. crsminl_th = crsminlG_th_rev6;
  15384. crsminu_th = crsminuG_th_rev6;
  15385. rssi_gain = rssi_gain_default;
  15386. }
  15387. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15388. lna1_gain_db = lna1G_gain_db_rev5;
  15389. lna2_gain_db = lna2G_gain_db_rev5;
  15390. if (pi->sh->boardflags & BFL_EXTLNA) {
  15391. rfseq_init_gain =
  15392. rfseqG_init_gain_rev5_elna;
  15393. init_gaincode =
  15394. initG_gaincode_rev5_elna;
  15395. } else {
  15396. rfseq_init_gain = rfseqG_init_gain_rev5;
  15397. init_gaincode = initG_gaincode_rev5;
  15398. }
  15399. clip1hi_gaincode = clip1hiG_gaincode_rev5;
  15400. switch (triso) {
  15401. case 0:
  15402. clip1lo_gaincode =
  15403. clip1loG_gaincode_rev5[0];
  15404. break;
  15405. case 1:
  15406. clip1lo_gaincode =
  15407. clip1loG_gaincode_rev5[1];
  15408. break;
  15409. case 2:
  15410. clip1lo_gaincode =
  15411. clip1loG_gaincode_rev5[2];
  15412. break;
  15413. case 3:
  15414. clip1lo_gaincode =
  15415. clip1loG_gaincode_rev5[3];
  15416. break;
  15417. case 4:
  15418. clip1lo_gaincode =
  15419. clip1loG_gaincode_rev5[4];
  15420. break;
  15421. case 5:
  15422. clip1lo_gaincode =
  15423. clip1loG_gaincode_rev5[5];
  15424. break;
  15425. case 6:
  15426. clip1lo_gaincode =
  15427. clip1loG_gaincode_rev5[6];
  15428. break;
  15429. case 7:
  15430. clip1lo_gaincode =
  15431. clip1loG_gaincode_rev5[7];
  15432. break;
  15433. default:
  15434. clip1lo_gaincode =
  15435. clip1loG_gaincode_rev5[3];
  15436. break;
  15437. }
  15438. nbclip_th = nbclipG_th_rev5;
  15439. w1clip_th = w1clipG_th_rev5;
  15440. crsmin_th = crsminG_th_rev5;
  15441. crsminl_th = crsminlG_th_rev5;
  15442. crsminu_th = crsminuG_th_rev5;
  15443. rssi_gain = rssi_gain_default;
  15444. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15445. lna1_gain_db = lna1G_gain_db_rev4;
  15446. lna2_gain_db = lna2G_gain_db;
  15447. rfseq_init_gain = rfseqG_init_gain_rev4;
  15448. init_gaincode = initG_gaincode_rev4;
  15449. clip1hi_gaincode = clip1hiG_gaincode_rev4;
  15450. clip1lo_gaincode = clip1loG_gaincode;
  15451. nbclip_th = nbclipG_th_rev4;
  15452. w1clip_th = w1clipG_th;
  15453. crsmin_th = crsminG_th;
  15454. crsminl_th = crsminlG_th;
  15455. crsminu_th = crsminuG_th;
  15456. rssi_gain = rssi_gain_default;
  15457. } else {
  15458. lna1_gain_db = lna1G_gain_db;
  15459. lna2_gain_db = lna2G_gain_db;
  15460. rfseq_init_gain = rfseqG_init_gain;
  15461. init_gaincode = initG_gaincode;
  15462. clip1hi_gaincode = clip1hiG_gaincode;
  15463. clip1lo_gaincode = clip1loG_gaincode;
  15464. nbclip_th = nbclipG_th;
  15465. w1clip_th = w1clipG_th;
  15466. crsmin_th = crsminG_th;
  15467. crsminl_th = crsminlG_th;
  15468. crsminu_th = crsminuG_th;
  15469. rssi_gain = rssi_gain_default;
  15470. }
  15471. tia_gain_db = tiaG_gain_db;
  15472. tia_gainbits = tiaG_gainbits;
  15473. clip1md_gaincode = clip1mdG_gaincode;
  15474. } else {
  15475. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15476. lna1_gain_db = lna1A_gain_db_rev6;
  15477. lna2_gain_db = lna2A_gain_db_rev6;
  15478. tia_gain_db = tiaA_gain_db_rev6;
  15479. tia_gainbits = tiaA_gainbits_rev6;
  15480. rfseq_init_gain = rfseqA_init_gain_rev6;
  15481. init_gaincode = initA_gaincode_rev6;
  15482. clip1hi_gaincode = clip1hiA_gaincode_rev6;
  15483. clip1md_gaincode = clip1mdA_gaincode_rev6;
  15484. clip1lo_gaincode = clip1loA_gaincode_rev6;
  15485. crsmin_th = crsminA_th_rev6;
  15486. crsminl_th = crsminlA_th_rev6;
  15487. if ((pi->pubpi.radiorev == 11) &&
  15488. (CHSPEC_IS40(pi->radio_chanspec) == 0))
  15489. crsminu_th = crsminuA_th_rev6_224B0;
  15490. else
  15491. crsminu_th = crsminuA_th_rev6;
  15492. nbclip_th = nbclipA_th_rev6;
  15493. rssi_gain = rssiA_gain_rev6;
  15494. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15495. lna1_gain_db = lna1A_gain_db_rev5;
  15496. lna2_gain_db = lna2A_gain_db_rev5;
  15497. tia_gain_db = tiaA_gain_db_rev5;
  15498. tia_gainbits = tiaA_gainbits_rev5;
  15499. rfseq_init_gain = rfseqA_init_gain_rev5;
  15500. init_gaincode = initA_gaincode_rev5;
  15501. clip1hi_gaincode = clip1hiA_gaincode_rev5;
  15502. clip1md_gaincode = clip1mdA_gaincode_rev5;
  15503. clip1lo_gaincode = clip1loA_gaincode_rev5;
  15504. crsmin_th = crsminA_th_rev5;
  15505. crsminl_th = crsminlA_th_rev5;
  15506. crsminu_th = crsminuA_th_rev5;
  15507. nbclip_th = nbclipA_th_rev5;
  15508. rssi_gain = rssiA_gain_rev5;
  15509. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15510. lna1_gain_db = lna1A_gain_db_rev4;
  15511. lna2_gain_db = lna2A_gain_db_rev4;
  15512. tia_gain_db = tiaA_gain_db_rev4;
  15513. tia_gainbits = tiaA_gainbits_rev4;
  15514. if (pi->sh->boardflags & BFL_EXTLNA_5GHz) {
  15515. rfseq_init_gain =
  15516. rfseqA_init_gain_rev4_elna;
  15517. init_gaincode =
  15518. initA_gaincode_rev4_elna;
  15519. } else {
  15520. rfseq_init_gain = rfseqA_init_gain_rev4;
  15521. init_gaincode = initA_gaincode_rev4;
  15522. }
  15523. clip1hi_gaincode = clip1hiA_gaincode_rev4;
  15524. clip1md_gaincode = clip1mdA_gaincode_rev4;
  15525. clip1lo_gaincode = clip1loA_gaincode_rev4;
  15526. crsmin_th = crsminA_th_rev4;
  15527. crsminl_th = crsminlA_th_rev4;
  15528. crsminu_th = crsminuA_th_rev4;
  15529. nbclip_th = nbclipA_th_rev4;
  15530. rssi_gain = rssi_gain_default;
  15531. } else {
  15532. lna1_gain_db = lna1A_gain_db;
  15533. lna2_gain_db = lna2A_gain_db;
  15534. tia_gain_db = tiaA_gain_db;
  15535. tia_gainbits = tiaA_gainbits;
  15536. rfseq_init_gain = rfseqA_init_gain;
  15537. init_gaincode = initA_gaincode;
  15538. clip1hi_gaincode = clip1hiA_gaincode;
  15539. clip1md_gaincode = clip1mdA_gaincode;
  15540. clip1lo_gaincode = clip1loA_gaincode;
  15541. crsmin_th = crsminA_th;
  15542. crsminl_th = crsminlA_th;
  15543. crsminu_th = crsminuA_th;
  15544. nbclip_th = nbclipA_th;
  15545. rssi_gain = rssi_gain_default;
  15546. }
  15547. w1clip_th = w1clipA_th;
  15548. }
  15549. write_radio_reg(pi,
  15550. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15551. RADIO_2056_RX0), 0x17);
  15552. write_radio_reg(pi,
  15553. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15554. RADIO_2056_RX1), 0x17);
  15555. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX0),
  15556. 0xf0);
  15557. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX1),
  15558. 0xf0);
  15559. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX0),
  15560. 0x0);
  15561. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX1),
  15562. 0x0);
  15563. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX0),
  15564. rssi_gain);
  15565. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX1),
  15566. rssi_gain);
  15567. write_radio_reg(pi,
  15568. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15569. RADIO_2056_RX0), 0x17);
  15570. write_radio_reg(pi,
  15571. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15572. RADIO_2056_RX1), 0x17);
  15573. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX0),
  15574. 0xFF);
  15575. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX1),
  15576. 0xFF);
  15577. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8,
  15578. 8, lna1_gain_db);
  15579. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8,
  15580. 8, lna1_gain_db);
  15581. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15582. 8, lna2_gain_db);
  15583. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15584. 8, lna2_gain_db);
  15585. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20,
  15586. 8, tia_gain_db);
  15587. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20,
  15588. 8, tia_gain_db);
  15589. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20,
  15590. 8, tia_gainbits);
  15591. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20,
  15592. 8, tia_gainbits);
  15593. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 6, 0x40,
  15594. 8, &lpf_gain_db);
  15595. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 6, 0x40,
  15596. 8, &lpf_gain_db);
  15597. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 6, 0x40,
  15598. 8, &lpf_gainbits);
  15599. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 6, 0x40,
  15600. 8, &lpf_gainbits);
  15601. write_phy_reg(pi, 0x20, init_gaincode);
  15602. write_phy_reg(pi, 0x2a7, init_gaincode);
  15603. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15604. pi->pubpi.phy_corenum, 0x106, 16,
  15605. rfseq_init_gain);
  15606. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15607. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15608. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15609. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15610. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15611. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15612. mod_phy_reg(pi, 0x27d, (0xff << 0), (crsmin_th << 0));
  15613. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15614. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15615. write_phy_reg(pi, 0x2b, nbclip_th);
  15616. write_phy_reg(pi, 0x41, nbclip_th);
  15617. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1clip_th << 0));
  15618. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1clip_th << 0));
  15619. write_phy_reg(pi, 0x150, 0x809c);
  15620. } else {
  15621. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15622. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15623. write_phy_reg(pi, 0x2b, 0x84);
  15624. write_phy_reg(pi, 0x41, 0x84);
  15625. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15626. write_phy_reg(pi, 0x6b, 0x2b);
  15627. write_phy_reg(pi, 0x6c, 0x2b);
  15628. write_phy_reg(pi, 0x6d, 0x9);
  15629. write_phy_reg(pi, 0x6e, 0x9);
  15630. }
  15631. w1th = NPHY_RSSICAL_W1_TARGET - 4;
  15632. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1th << 0));
  15633. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1th << 0));
  15634. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15635. mod_phy_reg(pi, 0x1c, (0x1f << 0), (0x1 << 0));
  15636. mod_phy_reg(pi, 0x32, (0x1f << 0), (0x1 << 0));
  15637. mod_phy_reg(pi, 0x1d, (0x1f << 0), (0x1 << 0));
  15638. mod_phy_reg(pi, 0x33, (0x1f << 0), (0x1 << 0));
  15639. }
  15640. write_phy_reg(pi, 0x150, 0x809c);
  15641. if (pi->nphy_gain_boost)
  15642. if ((CHSPEC_IS2G(pi->radio_chanspec)) &&
  15643. (CHSPEC_IS40(pi->radio_chanspec)))
  15644. hpf_code = 4;
  15645. else
  15646. hpf_code = 5;
  15647. else if (CHSPEC_IS40(pi->radio_chanspec))
  15648. hpf_code = 6;
  15649. else
  15650. hpf_code = 7;
  15651. mod_phy_reg(pi, 0x20, (0x1f << 7), (hpf_code << 7));
  15652. mod_phy_reg(pi, 0x36, (0x1f << 7), (hpf_code << 7));
  15653. for (ctr = 0; ctr < 4; ctr++)
  15654. regval[ctr] = (hpf_code << 8) | 0x7c;
  15655. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15656. wlc_phy_adjust_lnagaintbl_nphy(pi);
  15657. if (pi->nphy_elna_gain_config) {
  15658. regval[0] = 0;
  15659. regval[1] = 1;
  15660. regval[2] = 1;
  15661. regval[3] = 1;
  15662. wlc_phy_table_write_nphy(pi, 2, 4, 8, 16, regval);
  15663. wlc_phy_table_write_nphy(pi, 3, 4, 8, 16, regval);
  15664. for (ctr = 0; ctr < 4; ctr++)
  15665. regval[ctr] = (hpf_code << 8) | 0x74;
  15666. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15667. }
  15668. if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  15669. for (ctr = 0; ctr < 21; ctr++)
  15670. regval[ctr] = 3 * ctr;
  15671. wlc_phy_table_write_nphy(pi, 0, 21, 32, 16, regval);
  15672. wlc_phy_table_write_nphy(pi, 1, 21, 32, 16, regval);
  15673. for (ctr = 0; ctr < 21; ctr++)
  15674. regval[ctr] = (u16) ctr;
  15675. wlc_phy_table_write_nphy(pi, 2, 21, 32, 16, regval);
  15676. wlc_phy_table_write_nphy(pi, 3, 21, 32, 16, regval);
  15677. }
  15678. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_UPDATEGAINU,
  15679. rfseq_updategainu_events,
  15680. rfseq_updategainu_dlys,
  15681. ARRAY_SIZE(rfseq_updategainu_events));
  15682. mod_phy_reg(pi, 0x153, (0xff << 8), (90 << 8));
  15683. if (CHSPEC_IS2G(pi->radio_chanspec))
  15684. mod_phy_reg(pi,
  15685. (NPHY_TO_BPHY_OFF + BPHY_OPTIONAL_MODES),
  15686. 0x7f, 0x4);
  15687. }
  15688. }
  15689. static void wlc_phy_workarounds_nphy_rev7(struct brcms_phy *pi)
  15690. {
  15691. static const u8 rfseq_rx2tx_events_rev3_ipa[] = {
  15692. NPHY_REV3_RFSEQ_CMD_NOP,
  15693. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15694. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15695. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15696. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15697. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15698. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  15699. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15700. NPHY_REV3_RFSEQ_CMD_END
  15701. };
  15702. static const u8 rfseq_rx2tx_dlys_rev3_ipa[] =
  15703. { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  15704. static const u16 rfseq_rx2tx_dacbufpu_rev7[] = { 0x10f, 0x10f };
  15705. u32 leg_data_weights;
  15706. u8 chan_freq_range = 0;
  15707. static const u16 dac_control = 0x0002;
  15708. u16 aux_adc_vmid_rev7_core0[] = { 0x8e, 0x96, 0x96, 0x96 };
  15709. u16 aux_adc_vmid_rev7_core1[] = { 0x8f, 0x9f, 0x9f, 0x96 };
  15710. u16 aux_adc_gain_rev7[] = { 0x02, 0x02, 0x02, 0x02 };
  15711. s32 min_nvar_val = 0x18d;
  15712. s32 min_nvar_offset_6mbps = 20;
  15713. u8 pdetrange;
  15714. u16 afectrl_adc_ctrl1_rev7 = 0x20;
  15715. u16 afectrl_adc_ctrl2_rev7 = 0x0;
  15716. u16 rfseq_rx2tx_lpf_h_hpc_rev7 = 0x77;
  15717. u16 rfseq_tx2rx_lpf_h_hpc_rev7 = 0x77;
  15718. u16 rfseq_pktgn_lpf_h_hpc_rev7 = 0x77;
  15719. static const u16 rfseq_htpktgn_lpf_hpc_rev7[] = { 0x77, 0x11, 0x11 };
  15720. static const u16 rfseq_pktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15721. static const u16 rfseq_cckpktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15722. u16 ipalvlshift_3p3_war_en = 0;
  15723. u16 rccal_bcap_val, rccal_scap_val;
  15724. u16 rccal_tx20_11b_bcap = 0;
  15725. u16 rccal_tx20_11b_scap = 0;
  15726. u16 rccal_tx20_11n_bcap = 0;
  15727. u16 rccal_tx20_11n_scap = 0;
  15728. u16 rccal_tx40_11n_bcap = 0;
  15729. u16 rccal_tx40_11n_scap = 0;
  15730. u16 rx2tx_lpf_rc_lut_tx20_11b = 0;
  15731. u16 rx2tx_lpf_rc_lut_tx20_11n = 0;
  15732. u16 rx2tx_lpf_rc_lut_tx40_11n = 0;
  15733. u16 tx_lpf_bw_ofdm_20mhz = 0;
  15734. u16 tx_lpf_bw_ofdm_40mhz = 0;
  15735. u16 tx_lpf_bw_11b = 0;
  15736. u16 ipa2g_mainbias, ipa2g_casconv, ipa2g_biasfilt;
  15737. u16 txgm_idac_bleed = 0;
  15738. bool rccal_ovrd = false;
  15739. u16 freq;
  15740. int coreNum;
  15741. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  15742. mod_phy_reg(pi, 0x221, (0x1 << 4), (1 << 4));
  15743. mod_phy_reg(pi, 0x160, (0x7f << 0), (32 << 0));
  15744. mod_phy_reg(pi, 0x160, (0x7f << 8), (39 << 8));
  15745. mod_phy_reg(pi, 0x161, (0x7f << 0), (46 << 0));
  15746. mod_phy_reg(pi, 0x161, (0x7f << 8), (51 << 8));
  15747. mod_phy_reg(pi, 0x162, (0x7f << 0), (55 << 0));
  15748. mod_phy_reg(pi, 0x162, (0x7f << 8), (58 << 8));
  15749. mod_phy_reg(pi, 0x163, (0x7f << 0), (60 << 0));
  15750. mod_phy_reg(pi, 0x163, (0x7f << 8), (62 << 8));
  15751. mod_phy_reg(pi, 0x164, (0x7f << 0), (62 << 0));
  15752. mod_phy_reg(pi, 0x164, (0x7f << 8), (63 << 8));
  15753. mod_phy_reg(pi, 0x165, (0x7f << 0), (63 << 0));
  15754. mod_phy_reg(pi, 0x165, (0x7f << 8), (64 << 8));
  15755. mod_phy_reg(pi, 0x166, (0x7f << 0), (64 << 0));
  15756. mod_phy_reg(pi, 0x166, (0x7f << 8), (64 << 8));
  15757. mod_phy_reg(pi, 0x167, (0x7f << 0), (64 << 0));
  15758. mod_phy_reg(pi, 0x167, (0x7f << 8), (64 << 8));
  15759. }
  15760. if (NREV_LE(pi->pubpi.phy_rev, 8)) {
  15761. write_phy_reg(pi, 0x23f, 0x1b0);
  15762. write_phy_reg(pi, 0x240, 0x1b0);
  15763. }
  15764. if (NREV_GE(pi->pubpi.phy_rev, 8))
  15765. mod_phy_reg(pi, 0xbd, (0xff << 0), (114 << 0));
  15766. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  15767. &dac_control);
  15768. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  15769. &dac_control);
  15770. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15771. 1, 0, 32, &leg_data_weights);
  15772. leg_data_weights = leg_data_weights & 0xffffff;
  15773. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15774. 1, 0, 32, &leg_data_weights);
  15775. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15776. 2, 0x15e, 16, rfseq_rx2tx_dacbufpu_rev7);
  15777. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x16e, 16,
  15778. rfseq_rx2tx_dacbufpu_rev7);
  15779. if (PHY_IPA(pi))
  15780. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  15781. rfseq_rx2tx_events_rev3_ipa,
  15782. rfseq_rx2tx_dlys_rev3_ipa,
  15783. ARRAY_SIZE
  15784. (rfseq_rx2tx_events_rev3_ipa));
  15785. mod_phy_reg(pi, 0x299, (0x3 << 14), (0x1 << 14));
  15786. mod_phy_reg(pi, 0x29d, (0x3 << 14), (0x1 << 14));
  15787. tx_lpf_bw_ofdm_20mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x154);
  15788. tx_lpf_bw_ofdm_40mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x159);
  15789. tx_lpf_bw_11b = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x152);
  15790. if (PHY_IPA(pi)) {
  15791. if (((pi->pubpi.radiorev == 5)
  15792. && (CHSPEC_IS40(pi->radio_chanspec) == 1))
  15793. || (pi->pubpi.radiorev == 7)
  15794. || (pi->pubpi.radiorev == 8)) {
  15795. rccal_bcap_val =
  15796. read_radio_reg(pi, RADIO_2057_RCCAL_BCAP_VAL);
  15797. rccal_scap_val =
  15798. read_radio_reg(pi, RADIO_2057_RCCAL_SCAP_VAL);
  15799. rccal_tx20_11b_bcap = rccal_bcap_val;
  15800. rccal_tx20_11b_scap = rccal_scap_val;
  15801. if ((pi->pubpi.radiorev == 5) &&
  15802. (CHSPEC_IS40(pi->radio_chanspec) == 1)) {
  15803. rccal_tx20_11n_bcap = rccal_bcap_val;
  15804. rccal_tx20_11n_scap = rccal_scap_val;
  15805. rccal_tx40_11n_bcap = 0xc;
  15806. rccal_tx40_11n_scap = 0xc;
  15807. rccal_ovrd = true;
  15808. } else if ((pi->pubpi.radiorev == 7)
  15809. || (pi->pubpi.radiorev == 8)) {
  15810. tx_lpf_bw_ofdm_20mhz = 4;
  15811. tx_lpf_bw_11b = 1;
  15812. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  15813. rccal_tx20_11n_bcap = 0xc;
  15814. rccal_tx20_11n_scap = 0xc;
  15815. rccal_tx40_11n_bcap = 0xa;
  15816. rccal_tx40_11n_scap = 0xa;
  15817. } else {
  15818. rccal_tx20_11n_bcap = 0x14;
  15819. rccal_tx20_11n_scap = 0x14;
  15820. rccal_tx40_11n_bcap = 0xf;
  15821. rccal_tx40_11n_scap = 0xf;
  15822. }
  15823. rccal_ovrd = true;
  15824. }
  15825. }
  15826. } else {
  15827. if (pi->pubpi.radiorev == 5) {
  15828. tx_lpf_bw_ofdm_20mhz = 1;
  15829. tx_lpf_bw_ofdm_40mhz = 3;
  15830. rccal_bcap_val =
  15831. read_radio_reg(pi, RADIO_2057_RCCAL_BCAP_VAL);
  15832. rccal_scap_val =
  15833. read_radio_reg(pi, RADIO_2057_RCCAL_SCAP_VAL);
  15834. rccal_tx20_11b_bcap = rccal_bcap_val;
  15835. rccal_tx20_11b_scap = rccal_scap_val;
  15836. rccal_tx20_11n_bcap = 0x13;
  15837. rccal_tx20_11n_scap = 0x11;
  15838. rccal_tx40_11n_bcap = 0x13;
  15839. rccal_tx40_11n_scap = 0x11;
  15840. rccal_ovrd = true;
  15841. }
  15842. }
  15843. if (rccal_ovrd) {
  15844. rx2tx_lpf_rc_lut_tx20_11b =
  15845. (rccal_tx20_11b_bcap << 8) |
  15846. (rccal_tx20_11b_scap << 3) | tx_lpf_bw_11b;
  15847. rx2tx_lpf_rc_lut_tx20_11n =
  15848. (rccal_tx20_11n_bcap << 8) |
  15849. (rccal_tx20_11n_scap << 3) | tx_lpf_bw_ofdm_20mhz;
  15850. rx2tx_lpf_rc_lut_tx40_11n =
  15851. (rccal_tx40_11n_bcap << 8) |
  15852. (rccal_tx40_11n_scap << 3) | tx_lpf_bw_ofdm_40mhz;
  15853. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15854. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15855. 0x152 + coreNum * 0x10, 16,
  15856. &rx2tx_lpf_rc_lut_tx20_11b);
  15857. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15858. 0x153 + coreNum * 0x10, 16,
  15859. &rx2tx_lpf_rc_lut_tx20_11n);
  15860. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15861. 0x154 + coreNum * 0x10, 16,
  15862. &rx2tx_lpf_rc_lut_tx20_11n);
  15863. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15864. 0x155 + coreNum * 0x10, 16,
  15865. &rx2tx_lpf_rc_lut_tx40_11n);
  15866. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15867. 0x156 + coreNum * 0x10, 16,
  15868. &rx2tx_lpf_rc_lut_tx40_11n);
  15869. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15870. 0x157 + coreNum * 0x10, 16,
  15871. &rx2tx_lpf_rc_lut_tx40_11n);
  15872. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15873. 0x158 + coreNum * 0x10, 16,
  15874. &rx2tx_lpf_rc_lut_tx40_11n);
  15875. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1,
  15876. 0x159 + coreNum * 0x10, 16,
  15877. &rx2tx_lpf_rc_lut_tx40_11n);
  15878. }
  15879. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 1, 0x3, 0,
  15880. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  15881. }
  15882. write_phy_reg(pi, 0x32f, 0x3);
  15883. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  15884. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 0,
  15885. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  15886. if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) ||
  15887. (pi->pubpi.radiorev == 6)) {
  15888. if ((pi->sh->sromrev >= 8)
  15889. && (pi->sh->boardflags2 & BFL2_IPALVLSHIFT_3P3))
  15890. ipalvlshift_3p3_war_en = 1;
  15891. if (ipalvlshift_3p3_war_en) {
  15892. write_radio_reg(pi, RADIO_2057_GPAIO_CONFIG, 0x5);
  15893. write_radio_reg(pi, RADIO_2057_GPAIO_SEL1, 0x30);
  15894. write_radio_reg(pi, RADIO_2057_GPAIO_SEL0, 0x0);
  15895. or_radio_reg(pi, RADIO_2057_RXTXBIAS_CONFIG_CORE0, 0x1);
  15896. or_radio_reg(pi, RADIO_2057_RXTXBIAS_CONFIG_CORE1, 0x1);
  15897. ipa2g_mainbias = 0x1f;
  15898. ipa2g_casconv = 0x6f;
  15899. ipa2g_biasfilt = 0xaa;
  15900. } else {
  15901. ipa2g_mainbias = 0x2b;
  15902. ipa2g_casconv = 0x7f;
  15903. ipa2g_biasfilt = 0xee;
  15904. }
  15905. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  15906. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15907. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15908. coreNum, IPA2G_IMAIN,
  15909. ipa2g_mainbias);
  15910. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15911. coreNum, IPA2G_CASCONV,
  15912. ipa2g_casconv);
  15913. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15914. coreNum,
  15915. IPA2G_BIAS_FILTER,
  15916. ipa2g_biasfilt);
  15917. }
  15918. }
  15919. }
  15920. if (PHY_IPA(pi)) {
  15921. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  15922. if ((pi->pubpi.radiorev == 3)
  15923. || (pi->pubpi.radiorev == 4)
  15924. || (pi->pubpi.radiorev == 6))
  15925. txgm_idac_bleed = 0x7f;
  15926. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15927. if (txgm_idac_bleed != 0)
  15928. WRITE_RADIO_REG4(pi, RADIO_2057,
  15929. CORE, coreNum,
  15930. TXGM_IDAC_BLEED,
  15931. txgm_idac_bleed);
  15932. }
  15933. if (pi->pubpi.radiorev == 5) {
  15934. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15935. WRITE_RADIO_REG4(pi, RADIO_2057,
  15936. CORE, coreNum,
  15937. IPA2G_CASCONV,
  15938. 0x13);
  15939. WRITE_RADIO_REG4(pi, RADIO_2057,
  15940. CORE, coreNum,
  15941. IPA2G_IMAIN,
  15942. 0x1f);
  15943. WRITE_RADIO_REG4(pi, RADIO_2057,
  15944. CORE, coreNum,
  15945. IPA2G_BIAS_FILTER,
  15946. 0xee);
  15947. WRITE_RADIO_REG4(pi, RADIO_2057,
  15948. CORE, coreNum,
  15949. PAD2G_IDACS,
  15950. 0x8a);
  15951. WRITE_RADIO_REG4(pi, RADIO_2057,
  15952. CORE, coreNum,
  15953. PAD_BIAS_FILTER_BWS,
  15954. 0x3e);
  15955. }
  15956. } else if ((pi->pubpi.radiorev == 7) ||
  15957. (pi->pubpi.radiorev == 8)) {
  15958. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  15959. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15960. 0, IPA2G_IMAIN, 0x14);
  15961. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15962. 1, IPA2G_IMAIN, 0x12);
  15963. } else {
  15964. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15965. 0, IPA2G_IMAIN, 0x16);
  15966. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15967. 1, IPA2G_IMAIN, 0x16);
  15968. }
  15969. }
  15970. } else {
  15971. freq =
  15972. CHAN5G_FREQ(CHSPEC_CHANNEL
  15973. (pi->radio_chanspec));
  15974. if (((freq >= 5180) && (freq <= 5230))
  15975. || ((freq >= 5745) && (freq <= 5805))) {
  15976. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15977. 0, IPA5G_BIAS_FILTER, 0xff);
  15978. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  15979. 1, IPA5G_BIAS_FILTER, 0xff);
  15980. }
  15981. }
  15982. } else {
  15983. if (pi->pubpi.radiorev != 5) {
  15984. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15985. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  15986. TXMIX2G_TUNE_BOOST_PU, 0x61);
  15987. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  15988. TXGM_IDAC_BLEED, 0x70);
  15989. }
  15990. }
  15991. }
  15992. if (pi->pubpi.radiorev == 4) {
  15993. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x05, 16,
  15994. &afectrl_adc_ctrl1_rev7);
  15995. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x15, 16,
  15996. &afectrl_adc_ctrl1_rev7);
  15997. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15998. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  15999. AFE_VCM_CAL_MASTER, 0x0);
  16000. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16001. AFE_SET_VCM_I, 0x3f);
  16002. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16003. AFE_SET_VCM_Q, 0x3f);
  16004. }
  16005. } else {
  16006. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  16007. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  16008. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  16009. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  16010. mod_phy_reg(pi, 0xa6, (0x1 << 0), 0);
  16011. mod_phy_reg(pi, 0x8f, (0x1 << 0), (0x1 << 0));
  16012. mod_phy_reg(pi, 0xa7, (0x1 << 0), 0);
  16013. mod_phy_reg(pi, 0xa5, (0x1 << 0), (0x1 << 0));
  16014. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x05, 16,
  16015. &afectrl_adc_ctrl2_rev7);
  16016. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x15, 16,
  16017. &afectrl_adc_ctrl2_rev7);
  16018. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  16019. mod_phy_reg(pi, 0x8f, (0x1 << 2), 0);
  16020. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  16021. mod_phy_reg(pi, 0xa5, (0x1 << 2), 0);
  16022. }
  16023. write_phy_reg(pi, 0x6a, 0x2);
  16024. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 256, 32,
  16025. &min_nvar_offset_6mbps);
  16026. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x138, 16,
  16027. &rfseq_pktgn_lpf_hpc_rev7);
  16028. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x141, 16,
  16029. &rfseq_pktgn_lpf_h_hpc_rev7);
  16030. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 3, 0x133, 16,
  16031. &rfseq_htpktgn_lpf_hpc_rev7);
  16032. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x146, 16,
  16033. &rfseq_cckpktgn_lpf_hpc_rev7);
  16034. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x123, 16,
  16035. &rfseq_tx2rx_lpf_h_hpc_rev7);
  16036. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x12A, 16,
  16037. &rfseq_rx2tx_lpf_h_hpc_rev7);
  16038. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16039. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16040. 32, &min_nvar_val);
  16041. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16042. 127, 32, &min_nvar_val);
  16043. } else {
  16044. min_nvar_val = noise_var_tbl_rev7[3];
  16045. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16046. 32, &min_nvar_val);
  16047. min_nvar_val = noise_var_tbl_rev7[127];
  16048. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16049. 127, 32, &min_nvar_val);
  16050. }
  16051. wlc_phy_workarounds_nphy_gainctrl(pi);
  16052. pdetrange = (CHSPEC_IS5G(pi->radio_chanspec)) ?
  16053. pi->srom_fem5g.pdetrange : pi->srom_fem2g.pdetrange;
  16054. if (pdetrange == 0) {
  16055. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16056. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16057. aux_adc_vmid_rev7_core0[3] = 0x70;
  16058. aux_adc_vmid_rev7_core1[3] = 0x70;
  16059. aux_adc_gain_rev7[3] = 2;
  16060. } else {
  16061. aux_adc_vmid_rev7_core0[3] = 0x80;
  16062. aux_adc_vmid_rev7_core1[3] = 0x80;
  16063. aux_adc_gain_rev7[3] = 3;
  16064. }
  16065. } else if (pdetrange == 1) {
  16066. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16067. aux_adc_vmid_rev7_core0[3] = 0x7c;
  16068. aux_adc_vmid_rev7_core1[3] = 0x7c;
  16069. aux_adc_gain_rev7[3] = 2;
  16070. } else {
  16071. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16072. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16073. aux_adc_gain_rev7[3] = 1;
  16074. }
  16075. } else if (pdetrange == 2) {
  16076. if (pi->pubpi.radioid == BCM2057_ID) {
  16077. if ((pi->pubpi.radiorev == 5)
  16078. || (pi->pubpi.radiorev == 7)
  16079. || (pi->pubpi.radiorev == 8)) {
  16080. if (chan_freq_range ==
  16081. WL_CHAN_FREQ_RANGE_2G) {
  16082. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16083. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16084. aux_adc_gain_rev7[3] = 0;
  16085. } else {
  16086. aux_adc_vmid_rev7_core0[3] = 0x96;
  16087. aux_adc_vmid_rev7_core1[3] = 0x96;
  16088. aux_adc_gain_rev7[3] = 0;
  16089. }
  16090. }
  16091. }
  16092. } else if (pdetrange == 3) {
  16093. if (chan_freq_range == WL_CHAN_FREQ_RANGE_2G) {
  16094. aux_adc_vmid_rev7_core0[3] = 0x89;
  16095. aux_adc_vmid_rev7_core1[3] = 0x89;
  16096. aux_adc_gain_rev7[3] = 0;
  16097. }
  16098. } else if (pdetrange == 5) {
  16099. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16100. aux_adc_vmid_rev7_core0[3] = 0x80;
  16101. aux_adc_vmid_rev7_core1[3] = 0x80;
  16102. aux_adc_gain_rev7[3] = 3;
  16103. } else {
  16104. aux_adc_vmid_rev7_core0[3] = 0x70;
  16105. aux_adc_vmid_rev7_core1[3] = 0x70;
  16106. aux_adc_gain_rev7[3] = 2;
  16107. }
  16108. }
  16109. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x08, 16,
  16110. &aux_adc_vmid_rev7_core0);
  16111. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x18, 16,
  16112. &aux_adc_vmid_rev7_core1);
  16113. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x0c, 16,
  16114. &aux_adc_gain_rev7);
  16115. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x1c, 16,
  16116. &aux_adc_gain_rev7);
  16117. }
  16118. static void wlc_phy_workarounds_nphy_rev3(struct brcms_phy *pi)
  16119. {
  16120. static const u8 rfseq_tx2rx_events_rev3[] = {
  16121. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  16122. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  16123. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  16124. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  16125. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  16126. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  16127. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  16128. NPHY_REV3_RFSEQ_CMD_END
  16129. };
  16130. static const u8 rfseq_tx2rx_dlys_rev3[] = { 8, 4, 2, 2, 4, 4, 6, 1 };
  16131. u8 rfseq_rx2tx_events_rev3[] = {
  16132. NPHY_REV3_RFSEQ_CMD_NOP,
  16133. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  16134. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  16135. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  16136. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  16137. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  16138. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  16139. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  16140. NPHY_REV3_RFSEQ_CMD_END
  16141. };
  16142. u8 rfseq_rx2tx_dlys_rev3[] = { 8, 6, 6, 4, 4, 18, 42, 1, 1 };
  16143. static const u8 rfseq_rx2tx_events_rev3_ipa[] = {
  16144. NPHY_REV3_RFSEQ_CMD_NOP,
  16145. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  16146. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  16147. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  16148. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  16149. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  16150. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  16151. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  16152. NPHY_REV3_RFSEQ_CMD_END
  16153. };
  16154. static const u8 rfseq_rx2tx_dlys_rev3_ipa[] =
  16155. { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  16156. s16 alpha0, alpha1, alpha2;
  16157. s16 beta0, beta1, beta2;
  16158. u32 leg_data_weights, ht_data_weights, nss1_data_weights,
  16159. stbc_data_weights;
  16160. u8 chan_freq_range = 0;
  16161. static const u16 dac_control = 0x0002;
  16162. u16 aux_adc_vmid_rev4[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  16163. u16 aux_adc_vmid_rev3[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  16164. u16 *aux_adc_vmid;
  16165. u16 aux_adc_gain_rev4[] = { 0x02, 0x02, 0x02, 0x00 };
  16166. u16 aux_adc_gain_rev3[] = { 0x02, 0x02, 0x02, 0x00 };
  16167. u16 *aux_adc_gain;
  16168. static const u16 sk_adc_vmid[] = { 0xb4, 0xb4, 0xb4, 0x24 };
  16169. static const u16 sk_adc_gain[] = { 0x02, 0x02, 0x02, 0x02 };
  16170. s32 min_nvar_val = 0x18d;
  16171. u8 pdetrange;
  16172. u8 triso;
  16173. write_phy_reg(pi, 0x23f, 0x1f8);
  16174. write_phy_reg(pi, 0x240, 0x1f8);
  16175. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16176. 1, 0, 32, &leg_data_weights);
  16177. leg_data_weights = leg_data_weights & 0xffffff;
  16178. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16179. 1, 0, 32, &leg_data_weights);
  16180. alpha0 = 293;
  16181. alpha1 = 435;
  16182. alpha2 = 261;
  16183. beta0 = 366;
  16184. beta1 = 205;
  16185. beta2 = 32;
  16186. write_phy_reg(pi, 0x145, alpha0);
  16187. write_phy_reg(pi, 0x146, alpha1);
  16188. write_phy_reg(pi, 0x147, alpha2);
  16189. write_phy_reg(pi, 0x148, beta0);
  16190. write_phy_reg(pi, 0x149, beta1);
  16191. write_phy_reg(pi, 0x14a, beta2);
  16192. write_phy_reg(pi, 0x38, 0xC);
  16193. write_phy_reg(pi, 0x2ae, 0xC);
  16194. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX,
  16195. rfseq_tx2rx_events_rev3,
  16196. rfseq_tx2rx_dlys_rev3,
  16197. ARRAY_SIZE(rfseq_tx2rx_events_rev3));
  16198. if (PHY_IPA(pi))
  16199. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16200. rfseq_rx2tx_events_rev3_ipa,
  16201. rfseq_rx2tx_dlys_rev3_ipa,
  16202. ARRAY_SIZE (rfseq_rx2tx_events_rev3_ipa));
  16203. if ((pi->sh->hw_phyrxchain != 0x3) &&
  16204. (pi->sh->hw_phyrxchain != pi->sh->hw_phytxchain)) {
  16205. if (PHY_IPA(pi)) {
  16206. rfseq_rx2tx_dlys_rev3[5] = 59;
  16207. rfseq_rx2tx_dlys_rev3[6] = 1;
  16208. rfseq_rx2tx_events_rev3[7] = NPHY_REV3_RFSEQ_CMD_END;
  16209. }
  16210. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16211. rfseq_rx2tx_events_rev3,
  16212. rfseq_rx2tx_dlys_rev3,
  16213. ARRAY_SIZE (rfseq_rx2tx_events_rev3));
  16214. }
  16215. if (CHSPEC_IS2G(pi->radio_chanspec))
  16216. write_phy_reg(pi, 0x6a, 0x2);
  16217. else
  16218. write_phy_reg(pi, 0x6a, 0x9c40);
  16219. mod_phy_reg(pi, 0x294, (0xf << 8), (7 << 8));
  16220. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16221. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16222. 32, &min_nvar_val);
  16223. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16224. 127, 32, &min_nvar_val);
  16225. } else {
  16226. min_nvar_val = noise_var_tbl_rev3[3];
  16227. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16228. 32, &min_nvar_val);
  16229. min_nvar_val = noise_var_tbl_rev3[127];
  16230. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16231. 127, 32, &min_nvar_val);
  16232. }
  16233. wlc_phy_workarounds_nphy_gainctrl(pi);
  16234. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  16235. &dac_control);
  16236. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  16237. &dac_control);
  16238. pdetrange = (CHSPEC_IS5G(pi->radio_chanspec)) ?
  16239. pi->srom_fem5g.pdetrange : pi->srom_fem2g.pdetrange;
  16240. if (pdetrange == 0) {
  16241. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  16242. aux_adc_vmid = aux_adc_vmid_rev4;
  16243. aux_adc_gain = aux_adc_gain_rev4;
  16244. } else {
  16245. aux_adc_vmid = aux_adc_vmid_rev3;
  16246. aux_adc_gain = aux_adc_gain_rev3;
  16247. }
  16248. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16249. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16250. switch (chan_freq_range) {
  16251. case WL_CHAN_FREQ_RANGE_5GL:
  16252. aux_adc_vmid[3] = 0x89;
  16253. aux_adc_gain[3] = 0;
  16254. break;
  16255. case WL_CHAN_FREQ_RANGE_5GM:
  16256. aux_adc_vmid[3] = 0x89;
  16257. aux_adc_gain[3] = 0;
  16258. break;
  16259. case WL_CHAN_FREQ_RANGE_5GH:
  16260. aux_adc_vmid[3] = 0x89;
  16261. aux_adc_gain[3] = 0;
  16262. break;
  16263. default:
  16264. break;
  16265. }
  16266. }
  16267. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16268. 0x08, 16, aux_adc_vmid);
  16269. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16270. 0x18, 16, aux_adc_vmid);
  16271. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16272. 0x0c, 16, aux_adc_gain);
  16273. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16274. 0x1c, 16, aux_adc_gain);
  16275. } else if (pdetrange == 1) {
  16276. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16277. 0x08, 16, sk_adc_vmid);
  16278. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16279. 0x18, 16, sk_adc_vmid);
  16280. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16281. 0x0c, 16, sk_adc_gain);
  16282. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16283. 0x1c, 16, sk_adc_gain);
  16284. } else if (pdetrange == 2) {
  16285. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x74 };
  16286. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x04 };
  16287. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16288. chan_freq_range =
  16289. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16290. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16291. bcm_adc_vmid[3] = 0x8e;
  16292. bcm_adc_gain[3] = 0x03;
  16293. } else {
  16294. bcm_adc_vmid[3] = 0x94;
  16295. bcm_adc_gain[3] = 0x03;
  16296. }
  16297. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  16298. bcm_adc_vmid[3] = 0x84;
  16299. bcm_adc_gain[3] = 0x02;
  16300. }
  16301. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16302. 0x08, 16, bcm_adc_vmid);
  16303. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16304. 0x18, 16, bcm_adc_vmid);
  16305. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16306. 0x0c, 16, bcm_adc_gain);
  16307. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16308. 0x1c, 16, bcm_adc_gain);
  16309. } else if (pdetrange == 3) {
  16310. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16311. if ((NREV_GE(pi->pubpi.phy_rev, 4)) &&
  16312. (chan_freq_range == WL_CHAN_FREQ_RANGE_2G)) {
  16313. u16 auxadc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x270 };
  16314. u16 auxadc_gain[] = { 0x02, 0x02, 0x02, 0x00 };
  16315. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16316. 0x08, 16, auxadc_vmid);
  16317. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16318. 0x18, 16, auxadc_vmid);
  16319. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16320. 0x0c, 16, auxadc_gain);
  16321. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16322. 0x1c, 16, auxadc_gain);
  16323. }
  16324. } else if ((pdetrange == 4) || (pdetrange == 5)) {
  16325. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x0 };
  16326. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x0 };
  16327. u16 Vmid[2], Av[2];
  16328. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16329. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16330. Vmid[0] = (pdetrange == 4) ? 0x8e : 0x89;
  16331. Vmid[1] = (pdetrange == 4) ? 0x96 : 0x89;
  16332. Av[0] = (pdetrange == 4) ? 2 : 0;
  16333. Av[1] = (pdetrange == 4) ? 2 : 0;
  16334. } else {
  16335. Vmid[0] = (pdetrange == 4) ? 0x89 : 0x74;
  16336. Vmid[1] = (pdetrange == 4) ? 0x8b : 0x70;
  16337. Av[0] = (pdetrange == 4) ? 2 : 0;
  16338. Av[1] = (pdetrange == 4) ? 2 : 0;
  16339. }
  16340. bcm_adc_vmid[3] = Vmid[0];
  16341. bcm_adc_gain[3] = Av[0];
  16342. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16343. 0x08, 16, bcm_adc_vmid);
  16344. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16345. 0x0c, 16, bcm_adc_gain);
  16346. bcm_adc_vmid[3] = Vmid[1];
  16347. bcm_adc_gain[3] = Av[1];
  16348. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16349. 0x18, 16, bcm_adc_vmid);
  16350. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16351. 0x1c, 16, bcm_adc_gain);
  16352. }
  16353. write_radio_reg(pi, (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX0), 0x0);
  16354. write_radio_reg(pi, (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX1), 0x0);
  16355. write_radio_reg(pi, (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX0), 0x6);
  16356. write_radio_reg(pi, (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX1), 0x6);
  16357. write_radio_reg(pi, (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX0), 0x7);
  16358. write_radio_reg(pi, (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX1), 0x7);
  16359. write_radio_reg(pi, (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX0), 0x88);
  16360. write_radio_reg(pi, (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX1), 0x88);
  16361. write_radio_reg(pi, (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX0), 0x0);
  16362. write_radio_reg(pi, (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX1), 0x0);
  16363. write_radio_reg(pi, (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX0), 0x0);
  16364. write_radio_reg(pi, (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX1), 0x0);
  16365. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ?
  16366. pi->srom_fem5g.triso : pi->srom_fem2g.triso;
  16367. if (triso == 7) {
  16368. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  16369. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  16370. }
  16371. wlc_phy_war_txchain_upd_nphy(pi, pi->sh->hw_phytxchain);
  16372. if (((pi->sh->boardflags2 & BFL2_APLL_WAR) &&
  16373. (CHSPEC_IS5G(pi->radio_chanspec))) ||
  16374. (((pi->sh->boardflags2 & BFL2_GPLL_WAR) ||
  16375. (pi->sh->boardflags2 & BFL2_GPLL_WAR2)) &&
  16376. (CHSPEC_IS2G(pi->radio_chanspec)))) {
  16377. nss1_data_weights = 0x00088888;
  16378. ht_data_weights = 0x00088888;
  16379. stbc_data_weights = 0x00088888;
  16380. } else {
  16381. nss1_data_weights = 0x88888888;
  16382. ht_data_weights = 0x88888888;
  16383. stbc_data_weights = 0x88888888;
  16384. }
  16385. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16386. 1, 1, 32, &nss1_data_weights);
  16387. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16388. 1, 2, 32, &ht_data_weights);
  16389. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16390. 1, 3, 32, &stbc_data_weights);
  16391. if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  16392. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  16393. write_radio_reg(pi,
  16394. RADIO_2056_TX_GMBB_IDAC |
  16395. RADIO_2056_TX0, 0x70);
  16396. write_radio_reg(pi,
  16397. RADIO_2056_TX_GMBB_IDAC |
  16398. RADIO_2056_TX1, 0x70);
  16399. }
  16400. }
  16401. if (!pi->edcrs_threshold_lock) {
  16402. write_phy_reg(pi, 0x224, 0x3eb);
  16403. write_phy_reg(pi, 0x225, 0x3eb);
  16404. write_phy_reg(pi, 0x226, 0x341);
  16405. write_phy_reg(pi, 0x227, 0x341);
  16406. write_phy_reg(pi, 0x228, 0x42b);
  16407. write_phy_reg(pi, 0x229, 0x42b);
  16408. write_phy_reg(pi, 0x22a, 0x381);
  16409. write_phy_reg(pi, 0x22b, 0x381);
  16410. write_phy_reg(pi, 0x22c, 0x42b);
  16411. write_phy_reg(pi, 0x22d, 0x42b);
  16412. write_phy_reg(pi, 0x22e, 0x381);
  16413. write_phy_reg(pi, 0x22f, 0x381);
  16414. }
  16415. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16416. if (pi->sh->boardflags2 & BFL2_SINGLEANT_CCK)
  16417. wlapi_bmac_mhf(pi->sh->physhim, MHF4,
  16418. MHF4_BPHY_TXCORE0,
  16419. MHF4_BPHY_TXCORE0, BRCM_BAND_ALL);
  16420. }
  16421. }
  16422. void wlc_phy_workarounds_nphy_rev1(struct brcms_phy *pi)
  16423. {
  16424. static const u8 rfseq_rx2tx_events[] = {
  16425. NPHY_RFSEQ_CMD_NOP,
  16426. NPHY_RFSEQ_CMD_RXG_FBW,
  16427. NPHY_RFSEQ_CMD_TR_SWITCH,
  16428. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  16429. NPHY_RFSEQ_CMD_RXPD_TXPD,
  16430. NPHY_RFSEQ_CMD_TX_GAIN,
  16431. NPHY_RFSEQ_CMD_EXT_PA
  16432. };
  16433. u8 rfseq_rx2tx_dlys[] = { 8, 6, 6, 2, 4, 60, 1 };
  16434. static const u8 rfseq_tx2rx_events[] = {
  16435. NPHY_RFSEQ_CMD_NOP,
  16436. NPHY_RFSEQ_CMD_EXT_PA,
  16437. NPHY_RFSEQ_CMD_TX_GAIN,
  16438. NPHY_RFSEQ_CMD_RXPD_TXPD,
  16439. NPHY_RFSEQ_CMD_TR_SWITCH,
  16440. NPHY_RFSEQ_CMD_RXG_FBW,
  16441. NPHY_RFSEQ_CMD_CLR_HIQ_DIS
  16442. };
  16443. static const u8 rfseq_tx2rx_dlys[] = { 8, 6, 2, 4, 4, 6, 1 };
  16444. s16 alpha0, alpha1, alpha2;
  16445. s16 beta0, beta1, beta2;
  16446. u16 regval;
  16447. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD ||
  16448. (pi->sh->boardtype == 0x8b)) {
  16449. uint i;
  16450. u8 war_dlys[] = { 1, 6, 6, 2, 4, 20, 1 };
  16451. for (i = 0; i < ARRAY_SIZE(rfseq_rx2tx_dlys); i++)
  16452. rfseq_rx2tx_dlys[i] = war_dlys[i];
  16453. }
  16454. if (CHSPEC_IS5G(pi->radio_chanspec) && pi->phy_5g_pwrgain) {
  16455. and_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0xf7);
  16456. and_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0xf7);
  16457. } else {
  16458. or_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0x8);
  16459. or_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0x8);
  16460. }
  16461. regval = 0x000a;
  16462. wlc_phy_table_write_nphy(pi, 8, 1, 0, 16, &regval);
  16463. wlc_phy_table_write_nphy(pi, 8, 1, 0x10, 16, &regval);
  16464. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16465. regval = 0xcdaa;
  16466. wlc_phy_table_write_nphy(pi, 8, 1, 0x02, 16, &regval);
  16467. wlc_phy_table_write_nphy(pi, 8, 1, 0x12, 16, &regval);
  16468. }
  16469. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16470. regval = 0x0000;
  16471. wlc_phy_table_write_nphy(pi, 8, 1, 0x08, 16, &regval);
  16472. wlc_phy_table_write_nphy(pi, 8, 1, 0x18, 16, &regval);
  16473. regval = 0x7aab;
  16474. wlc_phy_table_write_nphy(pi, 8, 1, 0x07, 16, &regval);
  16475. wlc_phy_table_write_nphy(pi, 8, 1, 0x17, 16, &regval);
  16476. regval = 0x0800;
  16477. wlc_phy_table_write_nphy(pi, 8, 1, 0x06, 16, &regval);
  16478. wlc_phy_table_write_nphy(pi, 8, 1, 0x16, 16, &regval);
  16479. }
  16480. write_phy_reg(pi, 0xf8, 0x02d8);
  16481. write_phy_reg(pi, 0xf9, 0x0301);
  16482. write_phy_reg(pi, 0xfa, 0x02d8);
  16483. write_phy_reg(pi, 0xfb, 0x0301);
  16484. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX, rfseq_rx2tx_events,
  16485. rfseq_rx2tx_dlys,
  16486. ARRAY_SIZE(rfseq_rx2tx_events));
  16487. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX, rfseq_tx2rx_events,
  16488. rfseq_tx2rx_dlys,
  16489. ARRAY_SIZE(rfseq_tx2rx_events));
  16490. wlc_phy_workarounds_nphy_gainctrl(pi);
  16491. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16492. if (read_phy_reg(pi, 0xa0) & NPHY_MLenable)
  16493. wlapi_bmac_mhf(pi->sh->physhim, MHF3,
  16494. MHF3_NPHY_MLADV_WAR,
  16495. MHF3_NPHY_MLADV_WAR, BRCM_BAND_ALL);
  16496. } else if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  16497. write_phy_reg(pi, 0x1e3, 0x0);
  16498. write_phy_reg(pi, 0x1e4, 0x0);
  16499. }
  16500. if (NREV_LT(pi->pubpi.phy_rev, 2))
  16501. mod_phy_reg(pi, 0x90, (0x1 << 7), 0);
  16502. alpha0 = 293;
  16503. alpha1 = 435;
  16504. alpha2 = 261;
  16505. beta0 = 366;
  16506. beta1 = 205;
  16507. beta2 = 32;
  16508. write_phy_reg(pi, 0x145, alpha0);
  16509. write_phy_reg(pi, 0x146, alpha1);
  16510. write_phy_reg(pi, 0x147, alpha2);
  16511. write_phy_reg(pi, 0x148, beta0);
  16512. write_phy_reg(pi, 0x149, beta1);
  16513. write_phy_reg(pi, 0x14a, beta2);
  16514. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16515. mod_phy_reg(pi, 0x142, (0xf << 12), 0);
  16516. write_phy_reg(pi, 0x192, 0xb5);
  16517. write_phy_reg(pi, 0x193, 0xa4);
  16518. write_phy_reg(pi, 0x194, 0x0);
  16519. }
  16520. if (NREV_IS(pi->pubpi.phy_rev, 2))
  16521. mod_phy_reg(pi, 0x221,
  16522. NPHY_FORCESIG_DECODEGATEDCLKS,
  16523. NPHY_FORCESIG_DECODEGATEDCLKS);
  16524. }
  16525. static void wlc_phy_workarounds_nphy(struct brcms_phy *pi)
  16526. {
  16527. if (CHSPEC_IS5G(pi->radio_chanspec))
  16528. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 0);
  16529. else
  16530. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 1);
  16531. if (pi->phyhang_avoid)
  16532. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  16533. or_phy_reg(pi, 0xb1, NPHY_IQFlip_ADC1 | NPHY_IQFlip_ADC2);
  16534. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16535. wlc_phy_workarounds_nphy_rev7(pi);
  16536. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16537. wlc_phy_workarounds_nphy_rev3(pi);
  16538. else
  16539. wlc_phy_workarounds_nphy_rev1(pi);
  16540. if (pi->phyhang_avoid)
  16541. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  16542. }
  16543. static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  16544. {
  16545. int j, type = 2;
  16546. u16 addr_offset = 0x2c5;
  16547. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  16548. write_phy_reg(pi, addr_offset + j,
  16549. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  16550. }
  16551. static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals)
  16552. {
  16553. if (write == 0) {
  16554. vals[0] = read_phy_reg(pi, 0x2c);
  16555. vals[1] = read_phy_reg(pi, 0x42);
  16556. } else {
  16557. write_phy_reg(pi, 0x2c, vals[0]);
  16558. write_phy_reg(pi, 0x42, vals[1]);
  16559. }
  16560. }
  16561. static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi)
  16562. {
  16563. u8 core;
  16564. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  16565. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16566. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16567. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16568. TX_SSI_MASTER, 0x5);
  16569. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16570. TX_SSI_MUX, 0xe);
  16571. if (pi->pubpi.radiorev != 5)
  16572. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16573. core, TSSIA, 0);
  16574. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16575. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16576. core, TSSIG, 0x1);
  16577. else
  16578. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16579. core, TSSIG, 0x31);
  16580. } else {
  16581. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16582. TX_SSI_MASTER, 0x9);
  16583. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16584. TX_SSI_MUX, 0xc);
  16585. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16586. TSSIG, 0);
  16587. if (pi->pubpi.radiorev != 5) {
  16588. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16589. WRITE_RADIO_REG3(pi, RADIO_2057,
  16590. TX, core,
  16591. TSSIA, 0x1);
  16592. else
  16593. WRITE_RADIO_REG3(pi, RADIO_2057,
  16594. TX, core,
  16595. TSSIA, 0x31);
  16596. }
  16597. }
  16598. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  16599. 0);
  16600. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  16601. 0);
  16602. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  16603. 0x3);
  16604. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  16605. 0x0);
  16606. }
  16607. } else {
  16608. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR31,
  16609. (CHSPEC_IS2G(pi->radio_chanspec)) ? 0x128 :
  16610. 0x80);
  16611. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR30, 0x0);
  16612. WRITE_RADIO_SYN(pi, RADIO_2056, GPIO_MASTER1, 0x29);
  16613. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16614. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_VCM_HG,
  16615. 0x0);
  16616. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_IDAC,
  16617. 0x0);
  16618. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_VCM,
  16619. 0x3);
  16620. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TX_AMP_DET,
  16621. 0x0);
  16622. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC1,
  16623. 0x8);
  16624. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC2,
  16625. 0x0);
  16626. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC3,
  16627. 0x0);
  16628. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16629. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16630. TX_SSI_MASTER, 0x5);
  16631. if (pi->pubpi.radiorev != 5)
  16632. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16633. core, TSSIA, 0x0);
  16634. if (NREV_GE(pi->pubpi.phy_rev, 5))
  16635. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16636. core, TSSIG, 0x31);
  16637. else
  16638. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16639. core, TSSIG, 0x11);
  16640. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16641. TX_SSI_MUX, 0xe);
  16642. } else {
  16643. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16644. TX_SSI_MASTER, 0x9);
  16645. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16646. TSSIA, 0x31);
  16647. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16648. TSSIG, 0x0);
  16649. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16650. TX_SSI_MUX, 0xc);
  16651. }
  16652. }
  16653. }
  16654. }
  16655. static void
  16656. wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value,
  16657. u8 core_mask, u8 off)
  16658. {
  16659. u8 core_num;
  16660. u16 addr = 0, mask = 0, en_addr = 0, val_addr = 0, en_mask =
  16661. 0, val_mask = 0;
  16662. u8 shift = 0, val_shift = 0;
  16663. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  16664. en_mask = field;
  16665. for (core_num = 0; core_num < 2; core_num++) {
  16666. switch (field) {
  16667. case (0x1 << 1):
  16668. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16669. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16670. val_mask = (0x1 << 0);
  16671. val_shift = 0;
  16672. break;
  16673. case (0x1 << 2):
  16674. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16675. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16676. val_mask = (0x1 << 1);
  16677. val_shift = 1;
  16678. break;
  16679. case (0x1 << 3):
  16680. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16681. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16682. val_mask = (0x1 << 2);
  16683. val_shift = 2;
  16684. break;
  16685. case (0x1 << 4):
  16686. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16687. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16688. val_mask = (0x1 << 4);
  16689. val_shift = 4;
  16690. break;
  16691. case (0x1 << 5):
  16692. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16693. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16694. val_mask = (0x1 << 5);
  16695. val_shift = 5;
  16696. break;
  16697. case (0x1 << 6):
  16698. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16699. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16700. val_mask = (0x1 << 6);
  16701. val_shift = 6;
  16702. break;
  16703. case (0x1 << 7):
  16704. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16705. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16706. val_mask = (0x1 << 7);
  16707. val_shift = 7;
  16708. break;
  16709. case (0x1 << 8):
  16710. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16711. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16712. val_mask = (0x7 << 8);
  16713. val_shift = 8;
  16714. break;
  16715. case (0x1 << 11):
  16716. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16717. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16718. val_mask = (0x7 << 13);
  16719. val_shift = 13;
  16720. break;
  16721. case (0x1 << 9):
  16722. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16723. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16724. val_mask = (0x7 << 0);
  16725. val_shift = 0;
  16726. break;
  16727. case (0x1 << 10):
  16728. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16729. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16730. val_mask = (0x7 << 4);
  16731. val_shift = 4;
  16732. break;
  16733. case (0x1 << 12):
  16734. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16735. val_addr = (core_num == 0) ? 0x7b : 0x7e;
  16736. val_mask = (0xffff << 0);
  16737. val_shift = 0;
  16738. break;
  16739. case (0x1 << 13):
  16740. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16741. val_addr = (core_num == 0) ? 0x7c : 0x7f;
  16742. val_mask = (0xffff << 0);
  16743. val_shift = 0;
  16744. break;
  16745. case (0x1 << 14):
  16746. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16747. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16748. val_mask = (0x3 << 6);
  16749. val_shift = 6;
  16750. break;
  16751. case (0x1 << 0):
  16752. en_addr = (core_num == 0) ? 0xe5 : 0xe6;
  16753. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16754. val_mask = (0x1 << 15);
  16755. val_shift = 15;
  16756. break;
  16757. default:
  16758. addr = 0xffff;
  16759. break;
  16760. }
  16761. if (off) {
  16762. and_phy_reg(pi, en_addr, ~en_mask);
  16763. and_phy_reg(pi, val_addr, ~val_mask);
  16764. } else {
  16765. if ((core_mask == 0)
  16766. || (core_mask & (1 << core_num))) {
  16767. or_phy_reg(pi, en_addr, en_mask);
  16768. if (addr != 0xffff)
  16769. mod_phy_reg(pi, val_addr,
  16770. val_mask,
  16771. (value <<
  16772. val_shift));
  16773. }
  16774. }
  16775. }
  16776. } else {
  16777. if (off) {
  16778. and_phy_reg(pi, 0xec, ~field);
  16779. value = 0x0;
  16780. } else {
  16781. or_phy_reg(pi, 0xec, field);
  16782. }
  16783. for (core_num = 0; core_num < 2; core_num++) {
  16784. switch (field) {
  16785. case (0x1 << 1):
  16786. case (0x1 << 9):
  16787. case (0x1 << 12):
  16788. case (0x1 << 13):
  16789. case (0x1 << 14):
  16790. addr = 0x78;
  16791. core_mask = 0x1;
  16792. break;
  16793. case (0x1 << 2):
  16794. case (0x1 << 3):
  16795. case (0x1 << 4):
  16796. case (0x1 << 5):
  16797. case (0x1 << 6):
  16798. case (0x1 << 7):
  16799. case (0x1 << 8):
  16800. addr = (core_num == 0) ? 0x7a : 0x7d;
  16801. break;
  16802. case (0x1 << 10):
  16803. addr = (core_num == 0) ? 0x7b : 0x7e;
  16804. break;
  16805. case (0x1 << 11):
  16806. addr = (core_num == 0) ? 0x7c : 0x7f;
  16807. break;
  16808. default:
  16809. addr = 0xffff;
  16810. }
  16811. switch (field) {
  16812. case (0x1 << 1):
  16813. mask = (0x7 << 3);
  16814. shift = 3;
  16815. break;
  16816. case (0x1 << 9):
  16817. mask = (0x1 << 2);
  16818. shift = 2;
  16819. break;
  16820. case (0x1 << 12):
  16821. mask = (0x1 << 8);
  16822. shift = 8;
  16823. break;
  16824. case (0x1 << 13):
  16825. mask = (0x1 << 9);
  16826. shift = 9;
  16827. break;
  16828. case (0x1 << 14):
  16829. mask = (0xf << 12);
  16830. shift = 12;
  16831. break;
  16832. case (0x1 << 2):
  16833. mask = (0x1 << 0);
  16834. shift = 0;
  16835. break;
  16836. case (0x1 << 3):
  16837. mask = (0x1 << 1);
  16838. shift = 1;
  16839. break;
  16840. case (0x1 << 4):
  16841. mask = (0x1 << 2);
  16842. shift = 2;
  16843. break;
  16844. case (0x1 << 5):
  16845. mask = (0x3 << 4);
  16846. shift = 4;
  16847. break;
  16848. case (0x1 << 6):
  16849. mask = (0x3 << 6);
  16850. shift = 6;
  16851. break;
  16852. case (0x1 << 7):
  16853. mask = (0x1 << 8);
  16854. shift = 8;
  16855. break;
  16856. case (0x1 << 8):
  16857. mask = (0x1 << 9);
  16858. shift = 9;
  16859. break;
  16860. case (0x1 << 10):
  16861. mask = 0x1fff;
  16862. shift = 0x0;
  16863. break;
  16864. case (0x1 << 11):
  16865. mask = 0x1fff;
  16866. shift = 0x0;
  16867. break;
  16868. default:
  16869. mask = 0x0;
  16870. shift = 0x0;
  16871. break;
  16872. }
  16873. if ((addr != 0xffff) && (core_mask & (1 << core_num)))
  16874. mod_phy_reg(pi, addr, mask, (value << shift));
  16875. }
  16876. or_phy_reg(pi, 0xec, (0x1 << 0));
  16877. or_phy_reg(pi, 0x78, (0x1 << 0));
  16878. udelay(1);
  16879. and_phy_reg(pi, 0xec, ~(0x1 << 0));
  16880. }
  16881. }
  16882. static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi)
  16883. {
  16884. s32 rssi_buf[4];
  16885. s32 int_val;
  16886. if (SCAN_RM_IN_PROGRESS(pi) || PLT_INPROG_PHY(pi) || PHY_MUTED(pi))
  16887. return;
  16888. if (PHY_IPA(pi))
  16889. wlc_phy_ipa_internal_tssi_setup_nphy(pi);
  16890. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16891. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  16892. 0, 0x3, 0,
  16893. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16894. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16895. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 0);
  16896. wlc_phy_stopplayback_nphy(pi);
  16897. wlc_phy_tx_tone_nphy(pi, 4000, 0, 0, 0, false);
  16898. udelay(20);
  16899. int_val =
  16900. wlc_phy_poll_rssi_nphy(pi, (u8) NPHY_RSSI_SEL_TSSI_2G, rssi_buf,
  16901. 1);
  16902. wlc_phy_stopplayback_nphy(pi);
  16903. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, 0);
  16904. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16905. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  16906. 0, 0x3, 1,
  16907. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16908. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16909. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 1);
  16910. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16911. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  16912. (u8) ((int_val >> 24) & 0xff);
  16913. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  16914. (u8) ((int_val >> 24) & 0xff);
  16915. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  16916. (u8) ((int_val >> 8) & 0xff);
  16917. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  16918. (u8) ((int_val >> 8) & 0xff);
  16919. } else {
  16920. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  16921. (u8) ((int_val >> 24) & 0xff);
  16922. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  16923. (u8) ((int_val >> 8) & 0xff);
  16924. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  16925. (u8) ((int_val >> 16) & 0xff);
  16926. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  16927. (u8) ((int_val) & 0xff);
  16928. }
  16929. }
  16930. static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi)
  16931. {
  16932. u8 idx, idx2, i, delta_ind;
  16933. for (idx = TXP_FIRST_CCK; idx <= TXP_LAST_CCK; idx++)
  16934. pi->adj_pwr_tbl_nphy[idx] = pi->tx_power_offset[idx];
  16935. for (i = 0; i < 4; i++) {
  16936. idx2 = 0;
  16937. delta_ind = 0;
  16938. switch (i) {
  16939. case 0:
  16940. if (CHSPEC_IS40(pi->radio_chanspec)
  16941. && NPHY_IS_SROM_REINTERPRET) {
  16942. idx = TXP_FIRST_MCS_40_SISO;
  16943. } else {
  16944. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  16945. TXP_FIRST_OFDM_40_SISO : TXP_FIRST_OFDM;
  16946. delta_ind = 1;
  16947. }
  16948. break;
  16949. case 1:
  16950. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  16951. TXP_FIRST_MCS_40_CDD : TXP_FIRST_MCS_20_CDD;
  16952. break;
  16953. case 2:
  16954. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  16955. TXP_FIRST_MCS_40_STBC : TXP_FIRST_MCS_20_STBC;
  16956. break;
  16957. case 3:
  16958. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  16959. TXP_FIRST_MCS_40_SDM : TXP_FIRST_MCS_20_SDM;
  16960. break;
  16961. }
  16962. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16963. pi->tx_power_offset[idx];
  16964. idx = idx + delta_ind;
  16965. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16966. pi->tx_power_offset[idx];
  16967. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16968. pi->tx_power_offset[idx];
  16969. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16970. pi->tx_power_offset[idx++];
  16971. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16972. pi->tx_power_offset[idx++];
  16973. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16974. pi->tx_power_offset[idx];
  16975. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16976. pi->tx_power_offset[idx];
  16977. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16978. pi->tx_power_offset[idx++];
  16979. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16980. pi->tx_power_offset[idx++];
  16981. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16982. pi->tx_power_offset[idx];
  16983. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16984. pi->tx_power_offset[idx];
  16985. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16986. pi->tx_power_offset[idx++];
  16987. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16988. pi->tx_power_offset[idx];
  16989. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16990. pi->tx_power_offset[idx++];
  16991. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16992. pi->tx_power_offset[idx];
  16993. idx = idx + 1 - delta_ind;
  16994. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16995. pi->tx_power_offset[idx];
  16996. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16997. pi->tx_power_offset[idx];
  16998. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  16999. pi->tx_power_offset[idx];
  17000. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17001. pi->tx_power_offset[idx];
  17002. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17003. pi->tx_power_offset[idx];
  17004. }
  17005. }
  17006. static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi)
  17007. {
  17008. u32 idx;
  17009. s16 a1[2], b0[2], b1[2];
  17010. s8 target_pwr_qtrdbm[2];
  17011. s32 num, den, pwr_est;
  17012. u8 chan_freq_range;
  17013. u8 idle_tssi[2];
  17014. u32 tbl_id, tbl_len, tbl_offset;
  17015. u32 regval[64];
  17016. u8 core;
  17017. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17018. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17019. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17020. udelay(1);
  17021. }
  17022. if (pi->phyhang_avoid)
  17023. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17024. or_phy_reg(pi, 0x122, (0x1 << 0));
  17025. if (NREV_GE(pi->pubpi.phy_rev, 3))
  17026. and_phy_reg(pi, 0x1e7, (u16) (~(0x1 << 15)));
  17027. else
  17028. or_phy_reg(pi, 0x1e7, (0x1 << 15));
  17029. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17030. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17031. if (pi->sh->sromrev < 4) {
  17032. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17033. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17034. a1[0] = -424;
  17035. a1[1] = -424;
  17036. b0[0] = 5612;
  17037. b0[1] = 5612;
  17038. b1[1] = -1393;
  17039. b1[0] = -1393;
  17040. } else {
  17041. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  17042. switch (chan_freq_range) {
  17043. case WL_CHAN_FREQ_RANGE_2G:
  17044. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17045. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17046. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_a1;
  17047. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_a1;
  17048. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b0;
  17049. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b0;
  17050. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b1;
  17051. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b1;
  17052. break;
  17053. case WL_CHAN_FREQ_RANGE_5GL:
  17054. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17055. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17056. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1;
  17057. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1;
  17058. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0;
  17059. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0;
  17060. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1;
  17061. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1;
  17062. break;
  17063. case WL_CHAN_FREQ_RANGE_5GM:
  17064. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17065. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17066. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_a1;
  17067. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_a1;
  17068. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b0;
  17069. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b0;
  17070. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b1;
  17071. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b1;
  17072. break;
  17073. case WL_CHAN_FREQ_RANGE_5GH:
  17074. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17075. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17076. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1;
  17077. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1;
  17078. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0;
  17079. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0;
  17080. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1;
  17081. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1;
  17082. break;
  17083. default:
  17084. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17085. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17086. a1[0] = -424;
  17087. a1[1] = -424;
  17088. b0[0] = 5612;
  17089. b0[1] = 5612;
  17090. b1[1] = -1393;
  17091. b1[0] = -1393;
  17092. break;
  17093. }
  17094. }
  17095. /* use the provided transmit power */
  17096. target_pwr_qtrdbm[0] = (s8) pi->tx_power_max;
  17097. target_pwr_qtrdbm[1] = (s8) pi->tx_power_max;
  17098. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17099. if (pi->srom_fem2g.tssipos)
  17100. or_phy_reg(pi, 0x1e9, (0x1 << 14));
  17101. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17102. for (core = 0; core <= 1; core++) {
  17103. if (PHY_IPA(pi)) {
  17104. if (CHSPEC_IS2G(pi->radio_chanspec))
  17105. WRITE_RADIO_REG3(pi, RADIO_2057,
  17106. TX, core,
  17107. TX_SSI_MUX,
  17108. 0xe);
  17109. else
  17110. WRITE_RADIO_REG3(pi, RADIO_2057,
  17111. TX, core,
  17112. TX_SSI_MUX,
  17113. 0xc);
  17114. }
  17115. }
  17116. } else {
  17117. if (PHY_IPA(pi)) {
  17118. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17119. RADIO_2056_TX0,
  17120. (CHSPEC_IS5G
  17121. (pi->radio_chanspec)) ?
  17122. 0xc : 0xe);
  17123. write_radio_reg(pi,
  17124. RADIO_2056_TX_TX_SSI_MUX |
  17125. RADIO_2056_TX1,
  17126. (CHSPEC_IS5G
  17127. (pi->radio_chanspec)) ?
  17128. 0xc : 0xe);
  17129. } else {
  17130. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17131. RADIO_2056_TX0, 0x11);
  17132. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17133. RADIO_2056_TX1, 0x11);
  17134. }
  17135. }
  17136. }
  17137. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17138. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17139. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17140. udelay(1);
  17141. }
  17142. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17143. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17144. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17145. else
  17146. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17147. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17148. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17149. mod_phy_reg(pi, 0x222, (0xff << 0),
  17150. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17151. else if (NREV_GT(pi->pubpi.phy_rev, 1))
  17152. mod_phy_reg(pi, 0x222, (0xff << 0),
  17153. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17154. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17155. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17156. write_phy_reg(pi, 0x1e8, (0x3 << 8) | (240 << 0));
  17157. write_phy_reg(pi, 0x1e9,
  17158. (1 << 15) | (idle_tssi[0] << 0) | (idle_tssi[1] << 8));
  17159. write_phy_reg(pi, 0x1ea,
  17160. (target_pwr_qtrdbm[0] << 0) |
  17161. (target_pwr_qtrdbm[1] << 8));
  17162. tbl_len = 64;
  17163. tbl_offset = 0;
  17164. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  17165. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  17166. for (idx = 0; idx < tbl_len; idx++) {
  17167. num = 8 *
  17168. (16 * b0[tbl_id - 26] + b1[tbl_id - 26] * idx);
  17169. den = 32768 + a1[tbl_id - 26] * idx;
  17170. pwr_est = max(((4 * num + den / 2) / den), -8);
  17171. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  17172. if (idx <=
  17173. (uint) (31 - idle_tssi[tbl_id - 26] + 1))
  17174. pwr_est =
  17175. max(pwr_est,
  17176. target_pwr_qtrdbm
  17177. [tbl_id - 26] + 1);
  17178. }
  17179. regval[idx] = (u32) pwr_est;
  17180. }
  17181. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  17182. regval);
  17183. }
  17184. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  17185. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64, 8,
  17186. pi->adj_pwr_tbl_nphy);
  17187. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64, 8,
  17188. pi->adj_pwr_tbl_nphy);
  17189. if (pi->phyhang_avoid)
  17190. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17191. }
  17192. static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi)
  17193. {
  17194. u32 *tx_pwrctrl_tbl = NULL;
  17195. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17196. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17197. if ((pi->pubpi.radiorev == 4)
  17198. || (pi->pubpi.radiorev == 6))
  17199. tx_pwrctrl_tbl =
  17200. nphy_tpc_txgain_ipa_2g_2057rev4n6;
  17201. else if (pi->pubpi.radiorev == 3)
  17202. tx_pwrctrl_tbl =
  17203. nphy_tpc_txgain_ipa_2g_2057rev3;
  17204. else if (pi->pubpi.radiorev == 5)
  17205. tx_pwrctrl_tbl =
  17206. nphy_tpc_txgain_ipa_2g_2057rev5;
  17207. else if ((pi->pubpi.radiorev == 7)
  17208. || (pi->pubpi.radiorev == 8))
  17209. tx_pwrctrl_tbl =
  17210. nphy_tpc_txgain_ipa_2g_2057rev7;
  17211. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17212. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev6;
  17213. if (pi->sh->chip == BCMA_CHIP_ID_BCM47162)
  17214. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17215. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17216. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17217. } else {
  17218. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa;
  17219. }
  17220. } else {
  17221. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17222. if ((pi->pubpi.radiorev == 3) ||
  17223. (pi->pubpi.radiorev == 4) ||
  17224. (pi->pubpi.radiorev == 6))
  17225. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g_2057;
  17226. else if ((pi->pubpi.radiorev == 7)
  17227. || (pi->pubpi.radiorev == 8))
  17228. tx_pwrctrl_tbl =
  17229. nphy_tpc_txgain_ipa_5g_2057rev7;
  17230. } else {
  17231. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g;
  17232. }
  17233. }
  17234. return tx_pwrctrl_tbl;
  17235. }
  17236. static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi)
  17237. {
  17238. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17239. if (pi->nphy_rssical_chanspec_2G == 0)
  17240. return;
  17241. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17242. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17243. RADIO_2057_VCM_MASK,
  17244. pi->rssical_cache.
  17245. rssical_radio_regs_2G[0]);
  17246. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17247. RADIO_2057_VCM_MASK,
  17248. pi->rssical_cache.
  17249. rssical_radio_regs_2G[1]);
  17250. } else {
  17251. mod_radio_reg(pi,
  17252. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17253. RADIO_2056_VCM_MASK,
  17254. pi->rssical_cache.
  17255. rssical_radio_regs_2G[0]);
  17256. mod_radio_reg(pi,
  17257. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17258. RADIO_2056_VCM_MASK,
  17259. pi->rssical_cache.
  17260. rssical_radio_regs_2G[1]);
  17261. }
  17262. write_phy_reg(pi, 0x1a6,
  17263. pi->rssical_cache.rssical_phyregs_2G[0]);
  17264. write_phy_reg(pi, 0x1ac,
  17265. pi->rssical_cache.rssical_phyregs_2G[1]);
  17266. write_phy_reg(pi, 0x1b2,
  17267. pi->rssical_cache.rssical_phyregs_2G[2]);
  17268. write_phy_reg(pi, 0x1b8,
  17269. pi->rssical_cache.rssical_phyregs_2G[3]);
  17270. write_phy_reg(pi, 0x1a4,
  17271. pi->rssical_cache.rssical_phyregs_2G[4]);
  17272. write_phy_reg(pi, 0x1aa,
  17273. pi->rssical_cache.rssical_phyregs_2G[5]);
  17274. write_phy_reg(pi, 0x1b0,
  17275. pi->rssical_cache.rssical_phyregs_2G[6]);
  17276. write_phy_reg(pi, 0x1b6,
  17277. pi->rssical_cache.rssical_phyregs_2G[7]);
  17278. write_phy_reg(pi, 0x1a5,
  17279. pi->rssical_cache.rssical_phyregs_2G[8]);
  17280. write_phy_reg(pi, 0x1ab,
  17281. pi->rssical_cache.rssical_phyregs_2G[9]);
  17282. write_phy_reg(pi, 0x1b1,
  17283. pi->rssical_cache.rssical_phyregs_2G[10]);
  17284. write_phy_reg(pi, 0x1b7,
  17285. pi->rssical_cache.rssical_phyregs_2G[11]);
  17286. } else {
  17287. if (pi->nphy_rssical_chanspec_5G == 0)
  17288. return;
  17289. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17290. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17291. RADIO_2057_VCM_MASK,
  17292. pi->rssical_cache.
  17293. rssical_radio_regs_5G[0]);
  17294. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17295. RADIO_2057_VCM_MASK,
  17296. pi->rssical_cache.
  17297. rssical_radio_regs_5G[1]);
  17298. } else {
  17299. mod_radio_reg(pi,
  17300. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17301. RADIO_2056_VCM_MASK,
  17302. pi->rssical_cache.
  17303. rssical_radio_regs_5G[0]);
  17304. mod_radio_reg(pi,
  17305. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17306. RADIO_2056_VCM_MASK,
  17307. pi->rssical_cache.
  17308. rssical_radio_regs_5G[1]);
  17309. }
  17310. write_phy_reg(pi, 0x1a6,
  17311. pi->rssical_cache.rssical_phyregs_5G[0]);
  17312. write_phy_reg(pi, 0x1ac,
  17313. pi->rssical_cache.rssical_phyregs_5G[1]);
  17314. write_phy_reg(pi, 0x1b2,
  17315. pi->rssical_cache.rssical_phyregs_5G[2]);
  17316. write_phy_reg(pi, 0x1b8,
  17317. pi->rssical_cache.rssical_phyregs_5G[3]);
  17318. write_phy_reg(pi, 0x1a4,
  17319. pi->rssical_cache.rssical_phyregs_5G[4]);
  17320. write_phy_reg(pi, 0x1aa,
  17321. pi->rssical_cache.rssical_phyregs_5G[5]);
  17322. write_phy_reg(pi, 0x1b0,
  17323. pi->rssical_cache.rssical_phyregs_5G[6]);
  17324. write_phy_reg(pi, 0x1b6,
  17325. pi->rssical_cache.rssical_phyregs_5G[7]);
  17326. write_phy_reg(pi, 0x1a5,
  17327. pi->rssical_cache.rssical_phyregs_5G[8]);
  17328. write_phy_reg(pi, 0x1ab,
  17329. pi->rssical_cache.rssical_phyregs_5G[9]);
  17330. write_phy_reg(pi, 0x1b1,
  17331. pi->rssical_cache.rssical_phyregs_5G[10]);
  17332. write_phy_reg(pi, 0x1b7,
  17333. pi->rssical_cache.rssical_phyregs_5G[11]);
  17334. }
  17335. }
  17336. static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi)
  17337. {
  17338. u16 txcal_gain[2];
  17339. pi->nphy_txcal_pwr_idx[0] = pi->nphy_cal_orig_pwr_idx[0];
  17340. pi->nphy_txcal_pwr_idx[1] = pi->nphy_cal_orig_pwr_idx[0];
  17341. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17342. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17343. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17344. txcal_gain);
  17345. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17346. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F40;
  17347. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F40;
  17348. } else {
  17349. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F60;
  17350. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F60;
  17351. }
  17352. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17353. txcal_gain);
  17354. }
  17355. static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi)
  17356. {
  17357. bool save_bbmult = false;
  17358. u8 txcal_index_2057_rev5n7 = 0;
  17359. u8 txcal_index_2057_rev3n4n6 = 10;
  17360. if (pi->use_int_tx_iqlo_cal_nphy) {
  17361. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17362. if ((pi->pubpi.radiorev == 3) ||
  17363. (pi->pubpi.radiorev == 4) ||
  17364. (pi->pubpi.radiorev == 6)) {
  17365. pi->nphy_txcal_pwr_idx[0] =
  17366. txcal_index_2057_rev3n4n6;
  17367. pi->nphy_txcal_pwr_idx[1] =
  17368. txcal_index_2057_rev3n4n6;
  17369. wlc_phy_txpwr_index_nphy(
  17370. pi, 3,
  17371. txcal_index_2057_rev3n4n6,
  17372. false);
  17373. } else {
  17374. pi->nphy_txcal_pwr_idx[0] =
  17375. txcal_index_2057_rev5n7;
  17376. pi->nphy_txcal_pwr_idx[1] =
  17377. txcal_index_2057_rev5n7;
  17378. wlc_phy_txpwr_index_nphy(
  17379. pi, 3,
  17380. txcal_index_2057_rev5n7,
  17381. false);
  17382. }
  17383. save_bbmult = true;
  17384. } else if (NREV_LT(pi->pubpi.phy_rev, 5)) {
  17385. wlc_phy_cal_txgainctrl_nphy(pi, 11, false);
  17386. if (pi->sh->hw_phytxchain != 3) {
  17387. pi->nphy_txcal_pwr_idx[1] =
  17388. pi->nphy_txcal_pwr_idx[0];
  17389. wlc_phy_txpwr_index_nphy(pi, 3,
  17390. pi->
  17391. nphy_txcal_pwr_idx[0],
  17392. true);
  17393. save_bbmult = true;
  17394. }
  17395. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17396. if (PHY_IPA(pi)) {
  17397. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17398. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17399. false);
  17400. } else {
  17401. pi->nphy_txcal_pwr_idx[0] = 80;
  17402. pi->nphy_txcal_pwr_idx[1] = 80;
  17403. wlc_phy_txpwr_index_nphy(pi, 3, 80,
  17404. false);
  17405. save_bbmult = true;
  17406. }
  17407. } else {
  17408. wlc_phy_internal_cal_txgain_nphy(pi);
  17409. save_bbmult = true;
  17410. }
  17411. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17412. if (PHY_IPA(pi)) {
  17413. if (CHSPEC_IS2G(pi->radio_chanspec))
  17414. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17415. false);
  17416. else
  17417. wlc_phy_cal_txgainctrl_nphy(pi, 14,
  17418. false);
  17419. } else {
  17420. wlc_phy_internal_cal_txgain_nphy(pi);
  17421. save_bbmult = true;
  17422. }
  17423. }
  17424. } else {
  17425. wlc_phy_cal_txgainctrl_nphy(pi, 10, false);
  17426. }
  17427. if (save_bbmult)
  17428. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  17429. &pi->nphy_txcal_bbmult);
  17430. }
  17431. static void
  17432. wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value,
  17433. u8 core_code)
  17434. {
  17435. u16 mask;
  17436. u16 val;
  17437. u8 core;
  17438. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17439. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17440. if (core_code == RADIO_MIMO_CORESEL_CORE1
  17441. && core == PHY_CORE_1)
  17442. continue;
  17443. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  17444. && core == PHY_CORE_0)
  17445. continue;
  17446. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  17447. mask = (0x1 << 10);
  17448. val = 1 << 10;
  17449. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17450. 0x92, mask, val);
  17451. }
  17452. if (field == NPHY_RfctrlIntc_override_OFF) {
  17453. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17454. 0x92, 0);
  17455. wlc_phy_force_rfseq_nphy(pi,
  17456. NPHY_RFSEQ_RESET2RX);
  17457. } else if (field == NPHY_RfctrlIntc_override_TRSW) {
  17458. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17459. mask = (0x1 << 6) | (0x1 << 7);
  17460. val = value << 6;
  17461. mod_phy_reg(pi,
  17462. (core ==
  17463. PHY_CORE_0) ? 0x91 : 0x92,
  17464. mask, val);
  17465. or_phy_reg(pi,
  17466. (core ==
  17467. PHY_CORE_0) ? 0x91 : 0x92,
  17468. (0x1 << 10));
  17469. and_phy_reg(pi, 0x2ff, (u16)
  17470. ~(0x3 << 14));
  17471. or_phy_reg(pi, 0x2ff, (0x1 << 13));
  17472. or_phy_reg(pi, 0x2ff, (0x1 << 0));
  17473. } else {
  17474. mask = (0x1 << 6) |
  17475. (0x1 << 7) |
  17476. (0x1 << 8) | (0x1 << 9);
  17477. val = value << 6;
  17478. mod_phy_reg(pi,
  17479. (core ==
  17480. PHY_CORE_0) ? 0x91 : 0x92,
  17481. mask, val);
  17482. mask = (0x1 << 0);
  17483. val = 1 << 0;
  17484. mod_phy_reg(pi,
  17485. (core ==
  17486. PHY_CORE_0) ? 0xe7 : 0xec,
  17487. mask, val);
  17488. mask = (core == PHY_CORE_0) ?
  17489. (0x1 << 0) : (0x1 << 1);
  17490. val = 1 << ((core == PHY_CORE_0) ?
  17491. 0 : 1);
  17492. mod_phy_reg(pi, 0x78, mask, val);
  17493. SPINWAIT(((read_phy_reg(pi, 0x78) & val)
  17494. != 0), 10000);
  17495. if (WARN(read_phy_reg(pi, 0x78) & val,
  17496. "HW error: override failed"))
  17497. return;
  17498. mask = (0x1 << 0);
  17499. val = 0 << 0;
  17500. mod_phy_reg(pi,
  17501. (core ==
  17502. PHY_CORE_0) ? 0xe7 : 0xec,
  17503. mask, val);
  17504. }
  17505. } else if (field == NPHY_RfctrlIntc_override_PA) {
  17506. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17507. mask = (0x1 << 4) | (0x1 << 5);
  17508. if (CHSPEC_IS5G(pi->radio_chanspec))
  17509. val = value << 5;
  17510. else
  17511. val = value << 4;
  17512. mod_phy_reg(pi,
  17513. (core ==
  17514. PHY_CORE_0) ? 0x91 : 0x92,
  17515. mask, val);
  17516. or_phy_reg(pi,
  17517. (core ==
  17518. PHY_CORE_0) ? 0x91 : 0x92,
  17519. (0x1 << 12));
  17520. } else {
  17521. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17522. mask = (0x1 << 5);
  17523. val = value << 5;
  17524. } else {
  17525. mask = (0x1 << 4);
  17526. val = value << 4;
  17527. }
  17528. mod_phy_reg(pi,
  17529. (core ==
  17530. PHY_CORE_0) ? 0x91 : 0x92,
  17531. mask, val);
  17532. }
  17533. } else if (field ==
  17534. NPHY_RfctrlIntc_override_EXT_LNA_PU) {
  17535. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17536. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17537. mask = (0x1 << 0);
  17538. val = value << 0;
  17539. mod_phy_reg(pi,
  17540. (core ==
  17541. PHY_CORE_0) ? 0x91
  17542. : 0x92, mask, val);
  17543. mask = (0x1 << 2);
  17544. mod_phy_reg(pi,
  17545. (core ==
  17546. PHY_CORE_0) ? 0x91
  17547. : 0x92, mask, 0);
  17548. } else {
  17549. mask = (0x1 << 2);
  17550. val = value << 2;
  17551. mod_phy_reg(pi,
  17552. (core ==
  17553. PHY_CORE_0) ? 0x91
  17554. : 0x92, mask, val);
  17555. mask = (0x1 << 0);
  17556. mod_phy_reg(pi,
  17557. (core ==
  17558. PHY_CORE_0) ? 0x91
  17559. : 0x92, mask, 0);
  17560. }
  17561. mask = (0x1 << 11);
  17562. val = 1 << 11;
  17563. mod_phy_reg(pi,
  17564. (core ==
  17565. PHY_CORE_0) ? 0x91 : 0x92,
  17566. mask, val);
  17567. } else {
  17568. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17569. mask = (0x1 << 0);
  17570. val = value << 0;
  17571. } else {
  17572. mask = (0x1 << 2);
  17573. val = value << 2;
  17574. }
  17575. mod_phy_reg(pi,
  17576. (core ==
  17577. PHY_CORE_0) ? 0x91 : 0x92,
  17578. mask, val);
  17579. }
  17580. } else if (field ==
  17581. NPHY_RfctrlIntc_override_EXT_LNA_GAIN) {
  17582. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17583. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17584. mask = (0x1 << 1);
  17585. val = value << 1;
  17586. mod_phy_reg(pi,
  17587. (core ==
  17588. PHY_CORE_0) ? 0x91
  17589. : 0x92, mask, val);
  17590. mask = (0x1 << 3);
  17591. mod_phy_reg(pi,
  17592. (core ==
  17593. PHY_CORE_0) ? 0x91
  17594. : 0x92, mask, 0);
  17595. } else {
  17596. mask = (0x1 << 3);
  17597. val = value << 3;
  17598. mod_phy_reg(pi,
  17599. (core ==
  17600. PHY_CORE_0) ? 0x91
  17601. : 0x92, mask, val);
  17602. mask = (0x1 << 1);
  17603. mod_phy_reg(pi,
  17604. (core ==
  17605. PHY_CORE_0) ? 0x91
  17606. : 0x92, mask, 0);
  17607. }
  17608. mask = (0x1 << 11);
  17609. val = 1 << 11;
  17610. mod_phy_reg(pi,
  17611. (core ==
  17612. PHY_CORE_0) ? 0x91 : 0x92,
  17613. mask, val);
  17614. } else {
  17615. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17616. mask = (0x1 << 1);
  17617. val = value << 1;
  17618. } else {
  17619. mask = (0x1 << 3);
  17620. val = value << 3;
  17621. }
  17622. mod_phy_reg(pi,
  17623. (core ==
  17624. PHY_CORE_0) ? 0x91 : 0x92,
  17625. mask, val);
  17626. }
  17627. }
  17628. }
  17629. }
  17630. }
  17631. void
  17632. wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower,
  17633. bool debug)
  17634. {
  17635. int gainctrl_loopidx;
  17636. uint core;
  17637. u16 m0m1, curr_m0m1;
  17638. s32 delta_power;
  17639. s32 txpwrindex;
  17640. s32 qdBm_power[2];
  17641. u16 orig_BBConfig;
  17642. u16 phy_saveregs[4];
  17643. u32 freq_test;
  17644. u16 ampl_test = 250;
  17645. uint stepsize;
  17646. bool phyhang_avoid_state = false;
  17647. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17648. stepsize = 2;
  17649. else
  17650. stepsize = 1;
  17651. if (CHSPEC_IS40(pi->radio_chanspec))
  17652. freq_test = 5000;
  17653. else
  17654. freq_test = 2500;
  17655. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17656. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17657. if (pi->phyhang_avoid)
  17658. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17659. phyhang_avoid_state = pi->phyhang_avoid;
  17660. pi->phyhang_avoid = false;
  17661. phy_saveregs[0] = read_phy_reg(pi, 0x91);
  17662. phy_saveregs[1] = read_phy_reg(pi, 0x92);
  17663. phy_saveregs[2] = read_phy_reg(pi, 0xe7);
  17664. phy_saveregs[3] = read_phy_reg(pi, 0xec);
  17665. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 1,
  17666. RADIO_MIMO_CORESEL_CORE1 |
  17667. RADIO_MIMO_CORESEL_CORE2);
  17668. if (!debug) {
  17669. wlc_phy_rfctrlintc_override_nphy(pi,
  17670. NPHY_RfctrlIntc_override_TRSW,
  17671. 0x2, RADIO_MIMO_CORESEL_CORE1);
  17672. wlc_phy_rfctrlintc_override_nphy(pi,
  17673. NPHY_RfctrlIntc_override_TRSW,
  17674. 0x8, RADIO_MIMO_CORESEL_CORE2);
  17675. } else {
  17676. wlc_phy_rfctrlintc_override_nphy(pi,
  17677. NPHY_RfctrlIntc_override_TRSW,
  17678. 0x1, RADIO_MIMO_CORESEL_CORE1);
  17679. wlc_phy_rfctrlintc_override_nphy(pi,
  17680. NPHY_RfctrlIntc_override_TRSW,
  17681. 0x7, RADIO_MIMO_CORESEL_CORE2);
  17682. }
  17683. orig_BBConfig = read_phy_reg(pi, 0x01);
  17684. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  17685. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  17686. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17687. txpwrindex = (s32) pi->nphy_cal_orig_pwr_idx[core];
  17688. for (gainctrl_loopidx = 0; gainctrl_loopidx < 2;
  17689. gainctrl_loopidx++) {
  17690. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17691. false);
  17692. if (core == PHY_CORE_0)
  17693. curr_m0m1 = m0m1 & 0xff00;
  17694. else
  17695. curr_m0m1 = m0m1 & 0x00ff;
  17696. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &curr_m0m1);
  17697. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &curr_m0m1);
  17698. udelay(50);
  17699. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17700. NPHY_CAL_TSSISAMPS);
  17701. pi->nphy_bb_mult_save = 0;
  17702. wlc_phy_stopplayback_nphy(pi);
  17703. delta_power = (dBm_targetpower * 4) - qdBm_power[core];
  17704. txpwrindex -= stepsize * delta_power;
  17705. if (txpwrindex < 0)
  17706. txpwrindex = 0;
  17707. else if (txpwrindex > 127)
  17708. txpwrindex = 127;
  17709. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17710. if (NREV_IS(pi->pubpi.phy_rev, 4) &&
  17711. (pi->srom_fem5g.extpagain == 3)) {
  17712. if (txpwrindex < 30)
  17713. txpwrindex = 30;
  17714. }
  17715. } else {
  17716. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  17717. (pi->srom_fem2g.extpagain == 3)) {
  17718. if (txpwrindex < 50)
  17719. txpwrindex = 50;
  17720. }
  17721. }
  17722. wlc_phy_txpwr_index_nphy(pi, (1 << core),
  17723. (u8) txpwrindex, true);
  17724. }
  17725. pi->nphy_txcal_pwr_idx[core] = (u8) txpwrindex;
  17726. if (debug) {
  17727. u16 radio_gain;
  17728. u16 dbg_m0m1;
  17729. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17730. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17731. false);
  17732. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17733. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &dbg_m0m1);
  17734. udelay(100);
  17735. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17736. NPHY_CAL_TSSISAMPS);
  17737. wlc_phy_table_read_nphy(pi, 7, 1, (0x110 + core), 16,
  17738. &radio_gain);
  17739. mdelay(4000);
  17740. pi->nphy_bb_mult_save = 0;
  17741. wlc_phy_stopplayback_nphy(pi);
  17742. }
  17743. }
  17744. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_txcal_pwr_idx[0], true);
  17745. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_txcal_pwr_idx[1], true);
  17746. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &pi->nphy_txcal_bbmult);
  17747. write_phy_reg(pi, 0x01, orig_BBConfig);
  17748. write_phy_reg(pi, 0x91, phy_saveregs[0]);
  17749. write_phy_reg(pi, 0x92, phy_saveregs[1]);
  17750. write_phy_reg(pi, 0xe7, phy_saveregs[2]);
  17751. write_phy_reg(pi, 0xec, phy_saveregs[3]);
  17752. pi->phyhang_avoid = phyhang_avoid_state;
  17753. if (pi->phyhang_avoid)
  17754. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17755. }
  17756. static void wlc_phy_savecal_nphy(struct brcms_phy *pi)
  17757. {
  17758. void *tbl_ptr;
  17759. int coreNum;
  17760. u16 *txcal_radio_regs = NULL;
  17761. if (pi->phyhang_avoid)
  17762. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17763. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17764. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17765. &pi->calibration_cache.
  17766. rxcal_coeffs_2G);
  17767. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17768. txcal_radio_regs =
  17769. pi->calibration_cache.txcal_radio_regs_2G;
  17770. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17771. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17772. read_radio_reg(pi,
  17773. RADIO_2056_TX_LOFT_FINE_I |
  17774. RADIO_2056_TX0);
  17775. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17776. read_radio_reg(pi,
  17777. RADIO_2056_TX_LOFT_FINE_Q |
  17778. RADIO_2056_TX0);
  17779. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17780. read_radio_reg(pi,
  17781. RADIO_2056_TX_LOFT_FINE_I |
  17782. RADIO_2056_TX1);
  17783. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17784. read_radio_reg(pi,
  17785. RADIO_2056_TX_LOFT_FINE_Q |
  17786. RADIO_2056_TX1);
  17787. pi->calibration_cache.txcal_radio_regs_2G[4] =
  17788. read_radio_reg(pi,
  17789. RADIO_2056_TX_LOFT_COARSE_I |
  17790. RADIO_2056_TX0);
  17791. pi->calibration_cache.txcal_radio_regs_2G[5] =
  17792. read_radio_reg(pi,
  17793. RADIO_2056_TX_LOFT_COARSE_Q |
  17794. RADIO_2056_TX0);
  17795. pi->calibration_cache.txcal_radio_regs_2G[6] =
  17796. read_radio_reg(pi,
  17797. RADIO_2056_TX_LOFT_COARSE_I |
  17798. RADIO_2056_TX1);
  17799. pi->calibration_cache.txcal_radio_regs_2G[7] =
  17800. read_radio_reg(pi,
  17801. RADIO_2056_TX_LOFT_COARSE_Q |
  17802. RADIO_2056_TX1);
  17803. } else {
  17804. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17805. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  17806. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17807. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  17808. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17809. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  17810. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17811. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  17812. }
  17813. pi->nphy_iqcal_chanspec_2G = pi->radio_chanspec;
  17814. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  17815. } else {
  17816. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17817. &pi->calibration_cache.
  17818. rxcal_coeffs_5G);
  17819. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17820. txcal_radio_regs =
  17821. pi->calibration_cache.txcal_radio_regs_5G;
  17822. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17823. pi->calibration_cache.txcal_radio_regs_5G[0] =
  17824. read_radio_reg(pi,
  17825. RADIO_2056_TX_LOFT_FINE_I |
  17826. RADIO_2056_TX0);
  17827. pi->calibration_cache.txcal_radio_regs_5G[1] =
  17828. read_radio_reg(pi,
  17829. RADIO_2056_TX_LOFT_FINE_Q |
  17830. RADIO_2056_TX0);
  17831. pi->calibration_cache.txcal_radio_regs_5G[2] =
  17832. read_radio_reg(pi,
  17833. RADIO_2056_TX_LOFT_FINE_I |
  17834. RADIO_2056_TX1);
  17835. pi->calibration_cache.txcal_radio_regs_5G[3] =
  17836. read_radio_reg(pi,
  17837. RADIO_2056_TX_LOFT_FINE_Q |
  17838. RADIO_2056_TX1);
  17839. pi->calibration_cache.txcal_radio_regs_5G[4] =
  17840. read_radio_reg(pi,
  17841. RADIO_2056_TX_LOFT_COARSE_I |
  17842. RADIO_2056_TX0);
  17843. pi->calibration_cache.txcal_radio_regs_5G[5] =
  17844. read_radio_reg(pi,
  17845. RADIO_2056_TX_LOFT_COARSE_Q |
  17846. RADIO_2056_TX0);
  17847. pi->calibration_cache.txcal_radio_regs_5G[6] =
  17848. read_radio_reg(pi,
  17849. RADIO_2056_TX_LOFT_COARSE_I |
  17850. RADIO_2056_TX1);
  17851. pi->calibration_cache.txcal_radio_regs_5G[7] =
  17852. read_radio_reg(pi,
  17853. RADIO_2056_TX_LOFT_COARSE_Q |
  17854. RADIO_2056_TX1);
  17855. } else {
  17856. pi->calibration_cache.txcal_radio_regs_5G[0] =
  17857. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  17858. pi->calibration_cache.txcal_radio_regs_5G[1] =
  17859. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  17860. pi->calibration_cache.txcal_radio_regs_5G[2] =
  17861. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  17862. pi->calibration_cache.txcal_radio_regs_5G[3] =
  17863. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  17864. }
  17865. pi->nphy_iqcal_chanspec_5G = pi->radio_chanspec;
  17866. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  17867. }
  17868. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17869. for (coreNum = 0; coreNum <= 1; coreNum++) {
  17870. txcal_radio_regs[2 * coreNum] =
  17871. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17872. LOFT_FINE_I);
  17873. txcal_radio_regs[2 * coreNum + 1] =
  17874. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17875. LOFT_FINE_Q);
  17876. txcal_radio_regs[2 * coreNum + 4] =
  17877. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17878. LOFT_COARSE_I);
  17879. txcal_radio_regs[2 * coreNum + 5] =
  17880. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17881. LOFT_COARSE_Q);
  17882. }
  17883. }
  17884. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 8, 80, 16, tbl_ptr);
  17885. if (pi->phyhang_avoid)
  17886. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17887. }
  17888. static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi)
  17889. {
  17890. struct nphy_iq_comp tx_comp;
  17891. wlc_phy_table_read_nphy(pi, 15, 4, 0x50, 16, &tx_comp);
  17892. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0);
  17893. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0);
  17894. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 4, tx_comp.a1);
  17895. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 6, tx_comp.b1);
  17896. }
  17897. static void wlc_phy_restorecal_nphy(struct brcms_phy *pi)
  17898. {
  17899. u16 *loft_comp;
  17900. u16 txcal_coeffs_bphy[4];
  17901. u16 *tbl_ptr;
  17902. int coreNum;
  17903. u16 *txcal_radio_regs = NULL;
  17904. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17905. if (pi->nphy_iqcal_chanspec_2G == 0)
  17906. return;
  17907. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  17908. loft_comp = &pi->calibration_cache.txcal_coeffs_2G[5];
  17909. } else {
  17910. if (pi->nphy_iqcal_chanspec_5G == 0)
  17911. return;
  17912. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  17913. loft_comp = &pi->calibration_cache.txcal_coeffs_5G[5];
  17914. }
  17915. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80, 16, tbl_ptr);
  17916. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17917. txcal_coeffs_bphy[0] = tbl_ptr[0];
  17918. txcal_coeffs_bphy[1] = tbl_ptr[1];
  17919. txcal_coeffs_bphy[2] = tbl_ptr[2];
  17920. txcal_coeffs_bphy[3] = tbl_ptr[3];
  17921. } else {
  17922. txcal_coeffs_bphy[0] = 0;
  17923. txcal_coeffs_bphy[1] = 0;
  17924. txcal_coeffs_bphy[2] = 0;
  17925. txcal_coeffs_bphy[3] = 0;
  17926. }
  17927. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88, 16,
  17928. txcal_coeffs_bphy);
  17929. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85, 16, loft_comp);
  17930. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93, 16, loft_comp);
  17931. if (NREV_LT(pi->pubpi.phy_rev, 2))
  17932. wlc_phy_tx_iq_war_nphy(pi);
  17933. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17934. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17935. txcal_radio_regs =
  17936. pi->calibration_cache.txcal_radio_regs_2G;
  17937. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17938. write_radio_reg(pi,
  17939. RADIO_2056_TX_LOFT_FINE_I |
  17940. RADIO_2056_TX0,
  17941. pi->calibration_cache.
  17942. txcal_radio_regs_2G[0]);
  17943. write_radio_reg(pi,
  17944. RADIO_2056_TX_LOFT_FINE_Q |
  17945. RADIO_2056_TX0,
  17946. pi->calibration_cache.
  17947. txcal_radio_regs_2G[1]);
  17948. write_radio_reg(pi,
  17949. RADIO_2056_TX_LOFT_FINE_I |
  17950. RADIO_2056_TX1,
  17951. pi->calibration_cache.
  17952. txcal_radio_regs_2G[2]);
  17953. write_radio_reg(pi,
  17954. RADIO_2056_TX_LOFT_FINE_Q |
  17955. RADIO_2056_TX1,
  17956. pi->calibration_cache.
  17957. txcal_radio_regs_2G[3]);
  17958. write_radio_reg(pi,
  17959. RADIO_2056_TX_LOFT_COARSE_I |
  17960. RADIO_2056_TX0,
  17961. pi->calibration_cache.
  17962. txcal_radio_regs_2G[4]);
  17963. write_radio_reg(pi,
  17964. RADIO_2056_TX_LOFT_COARSE_Q |
  17965. RADIO_2056_TX0,
  17966. pi->calibration_cache.
  17967. txcal_radio_regs_2G[5]);
  17968. write_radio_reg(pi,
  17969. RADIO_2056_TX_LOFT_COARSE_I |
  17970. RADIO_2056_TX1,
  17971. pi->calibration_cache.
  17972. txcal_radio_regs_2G[6]);
  17973. write_radio_reg(pi,
  17974. RADIO_2056_TX_LOFT_COARSE_Q |
  17975. RADIO_2056_TX1,
  17976. pi->calibration_cache.
  17977. txcal_radio_regs_2G[7]);
  17978. } else {
  17979. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  17980. pi->calibration_cache.
  17981. txcal_radio_regs_2G[0]);
  17982. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  17983. pi->calibration_cache.
  17984. txcal_radio_regs_2G[1]);
  17985. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  17986. pi->calibration_cache.
  17987. txcal_radio_regs_2G[2]);
  17988. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  17989. pi->calibration_cache.
  17990. txcal_radio_regs_2G[3]);
  17991. }
  17992. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  17993. &pi->calibration_cache.
  17994. rxcal_coeffs_2G);
  17995. } else {
  17996. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17997. txcal_radio_regs =
  17998. pi->calibration_cache.txcal_radio_regs_5G;
  17999. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18000. write_radio_reg(pi,
  18001. RADIO_2056_TX_LOFT_FINE_I |
  18002. RADIO_2056_TX0,
  18003. pi->calibration_cache.
  18004. txcal_radio_regs_5G[0]);
  18005. write_radio_reg(pi,
  18006. RADIO_2056_TX_LOFT_FINE_Q |
  18007. RADIO_2056_TX0,
  18008. pi->calibration_cache.
  18009. txcal_radio_regs_5G[1]);
  18010. write_radio_reg(pi,
  18011. RADIO_2056_TX_LOFT_FINE_I |
  18012. RADIO_2056_TX1,
  18013. pi->calibration_cache.
  18014. txcal_radio_regs_5G[2]);
  18015. write_radio_reg(pi,
  18016. RADIO_2056_TX_LOFT_FINE_Q |
  18017. RADIO_2056_TX1,
  18018. pi->calibration_cache.
  18019. txcal_radio_regs_5G[3]);
  18020. write_radio_reg(pi,
  18021. RADIO_2056_TX_LOFT_COARSE_I |
  18022. RADIO_2056_TX0,
  18023. pi->calibration_cache.
  18024. txcal_radio_regs_5G[4]);
  18025. write_radio_reg(pi,
  18026. RADIO_2056_TX_LOFT_COARSE_Q |
  18027. RADIO_2056_TX0,
  18028. pi->calibration_cache.
  18029. txcal_radio_regs_5G[5]);
  18030. write_radio_reg(pi,
  18031. RADIO_2056_TX_LOFT_COARSE_I |
  18032. RADIO_2056_TX1,
  18033. pi->calibration_cache.
  18034. txcal_radio_regs_5G[6]);
  18035. write_radio_reg(pi,
  18036. RADIO_2056_TX_LOFT_COARSE_Q |
  18037. RADIO_2056_TX1,
  18038. pi->calibration_cache.
  18039. txcal_radio_regs_5G[7]);
  18040. } else {
  18041. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18042. pi->calibration_cache.
  18043. txcal_radio_regs_5G[0]);
  18044. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18045. pi->calibration_cache.
  18046. txcal_radio_regs_5G[1]);
  18047. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18048. pi->calibration_cache.
  18049. txcal_radio_regs_5G[2]);
  18050. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18051. pi->calibration_cache.
  18052. txcal_radio_regs_5G[3]);
  18053. }
  18054. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18055. &pi->calibration_cache.
  18056. rxcal_coeffs_5G);
  18057. }
  18058. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18059. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18060. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18061. LOFT_FINE_I,
  18062. txcal_radio_regs[2 * coreNum]);
  18063. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18064. LOFT_FINE_Q,
  18065. txcal_radio_regs[2 * coreNum + 1]);
  18066. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18067. LOFT_COARSE_I,
  18068. txcal_radio_regs[2 * coreNum + 4]);
  18069. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18070. LOFT_COARSE_Q,
  18071. txcal_radio_regs[2 * coreNum + 5]);
  18072. }
  18073. }
  18074. }
  18075. static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi)
  18076. {
  18077. u32 idx;
  18078. u16 iqloCalbuf[7];
  18079. u32 iqcomp, locomp, curr_locomp;
  18080. s8 locomp_i, locomp_q;
  18081. s8 curr_locomp_i, curr_locomp_q;
  18082. u32 tbl_id, tbl_len, tbl_offset;
  18083. u32 regval[128];
  18084. if (pi->phyhang_avoid)
  18085. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18086. wlc_phy_table_read_nphy(pi, 15, 7, 80, 16, iqloCalbuf);
  18087. tbl_len = 128;
  18088. tbl_offset = 320;
  18089. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18090. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18091. iqcomp =
  18092. (tbl_id ==
  18093. 26) ? (((u32) (iqloCalbuf[0] & 0x3ff)) << 10) |
  18094. (iqloCalbuf[1] & 0x3ff)
  18095. : (((u32) (iqloCalbuf[2] & 0x3ff)) << 10) |
  18096. (iqloCalbuf[3] & 0x3ff);
  18097. for (idx = 0; idx < tbl_len; idx++)
  18098. regval[idx] = iqcomp;
  18099. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18100. regval);
  18101. }
  18102. tbl_offset = 448;
  18103. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18104. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18105. locomp =
  18106. (u32) ((tbl_id == 26) ? iqloCalbuf[5] : iqloCalbuf[6]);
  18107. locomp_i = (s8) ((locomp >> 8) & 0xff);
  18108. locomp_q = (s8) ((locomp) & 0xff);
  18109. for (idx = 0; idx < tbl_len; idx++) {
  18110. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18111. curr_locomp_i = locomp_i;
  18112. curr_locomp_q = locomp_q;
  18113. } else {
  18114. curr_locomp_i = (s8) ((locomp_i *
  18115. nphy_tpc_loscale[idx] +
  18116. 128) >> 8);
  18117. curr_locomp_q =
  18118. (s8) ((locomp_q *
  18119. nphy_tpc_loscale[idx] +
  18120. 128) >> 8);
  18121. }
  18122. curr_locomp = (u32) ((curr_locomp_i & 0xff) << 8);
  18123. curr_locomp |= (u32) (curr_locomp_q & 0xff);
  18124. regval[idx] = curr_locomp;
  18125. }
  18126. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18127. regval);
  18128. }
  18129. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18130. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX1, 0xFFFF);
  18131. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX2, 0xFFFF);
  18132. }
  18133. if (pi->phyhang_avoid)
  18134. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18135. }
  18136. static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi)
  18137. {
  18138. u8 tx_lpf_bw = 0;
  18139. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18140. if (CHSPEC_IS40(pi->radio_chanspec))
  18141. tx_lpf_bw = 3;
  18142. else
  18143. tx_lpf_bw = 1;
  18144. if (PHY_IPA(pi)) {
  18145. if (CHSPEC_IS40(pi->radio_chanspec))
  18146. tx_lpf_bw = 5;
  18147. else
  18148. tx_lpf_bw = 4;
  18149. }
  18150. write_phy_reg(pi, 0xe8,
  18151. (tx_lpf_bw << 0) |
  18152. (tx_lpf_bw << 3) |
  18153. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18154. if (PHY_IPA(pi)) {
  18155. if (CHSPEC_IS40(pi->radio_chanspec))
  18156. tx_lpf_bw = 4;
  18157. else
  18158. tx_lpf_bw = 1;
  18159. write_phy_reg(pi, 0xe9,
  18160. (tx_lpf_bw << 0) |
  18161. (tx_lpf_bw << 3) |
  18162. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18163. }
  18164. }
  18165. }
  18166. static void
  18167. wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr)
  18168. {
  18169. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18170. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18171. CHSPEC_IS40(pi->radio_chanspec)) {
  18172. if (!pi->nphy_anarxlpf_adjusted) {
  18173. write_radio_reg(pi,
  18174. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18175. RADIO_2056_RX0),
  18176. ((pi->nphy_rccal_value +
  18177. reduction_factr) | 0x80));
  18178. pi->nphy_anarxlpf_adjusted = true;
  18179. }
  18180. } else {
  18181. if (pi->nphy_anarxlpf_adjusted) {
  18182. write_radio_reg(pi,
  18183. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18184. RADIO_2056_RX0),
  18185. (pi->nphy_rccal_value | 0x80));
  18186. pi->nphy_anarxlpf_adjusted = false;
  18187. }
  18188. }
  18189. }
  18190. }
  18191. static void
  18192. wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones,
  18193. int *tone_id_buf, u32 *noise_var_buf)
  18194. {
  18195. int i;
  18196. u32 offset;
  18197. int tone_id;
  18198. int tbllen =
  18199. CHSPEC_IS40(pi->radio_chanspec) ?
  18200. NPHY_NOISEVAR_TBLLEN40 : NPHY_NOISEVAR_TBLLEN20;
  18201. if (pi->nphy_noisevars_adjusted) {
  18202. for (i = 0; i < pi->nphy_saved_noisevars.bufcount; i++) {
  18203. tone_id = pi->nphy_saved_noisevars.tone_id[i];
  18204. offset = (tone_id >= 0) ?
  18205. ((tone_id *
  18206. 2) + 1) : (tbllen + (tone_id * 2) + 1);
  18207. wlc_phy_table_write_nphy(
  18208. pi, NPHY_TBL_ID_NOISEVAR, 1,
  18209. offset, 32,
  18210. &pi->nphy_saved_noisevars.min_noise_vars[i]);
  18211. }
  18212. pi->nphy_saved_noisevars.bufcount = 0;
  18213. pi->nphy_noisevars_adjusted = false;
  18214. }
  18215. if ((noise_var_buf != NULL) && (tone_id_buf != NULL)) {
  18216. pi->nphy_saved_noisevars.bufcount = 0;
  18217. for (i = 0; i < ntones; i++) {
  18218. tone_id = tone_id_buf[i];
  18219. offset = (tone_id >= 0) ?
  18220. ((tone_id * 2) + 1) :
  18221. (tbllen + (tone_id * 2) + 1);
  18222. pi->nphy_saved_noisevars.tone_id[i] = tone_id;
  18223. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18224. offset, 32,
  18225. &pi->nphy_saved_noisevars.
  18226. min_noise_vars[i]);
  18227. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18228. offset, 32, &noise_var_buf[i]);
  18229. pi->nphy_saved_noisevars.bufcount++;
  18230. }
  18231. pi->nphy_noisevars_adjusted = true;
  18232. }
  18233. }
  18234. static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr)
  18235. {
  18236. u16 regval;
  18237. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18238. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18239. CHSPEC_IS40(pi->radio_chanspec)) {
  18240. if (!pi->nphy_crsminpwr_adjusted) {
  18241. regval = read_phy_reg(pi, 0x27d);
  18242. pi->nphy_crsminpwr[0] = regval & 0xff;
  18243. regval &= 0xff00;
  18244. regval |= (u16) minpwr;
  18245. write_phy_reg(pi, 0x27d, regval);
  18246. regval = read_phy_reg(pi, 0x280);
  18247. pi->nphy_crsminpwr[1] = regval & 0xff;
  18248. regval &= 0xff00;
  18249. regval |= (u16) minpwr;
  18250. write_phy_reg(pi, 0x280, regval);
  18251. regval = read_phy_reg(pi, 0x283);
  18252. pi->nphy_crsminpwr[2] = regval & 0xff;
  18253. regval &= 0xff00;
  18254. regval |= (u16) minpwr;
  18255. write_phy_reg(pi, 0x283, regval);
  18256. pi->nphy_crsminpwr_adjusted = true;
  18257. }
  18258. } else {
  18259. if (pi->nphy_crsminpwr_adjusted) {
  18260. regval = read_phy_reg(pi, 0x27d);
  18261. regval &= 0xff00;
  18262. regval |= pi->nphy_crsminpwr[0];
  18263. write_phy_reg(pi, 0x27d, regval);
  18264. regval = read_phy_reg(pi, 0x280);
  18265. regval &= 0xff00;
  18266. regval |= pi->nphy_crsminpwr[1];
  18267. write_phy_reg(pi, 0x280, regval);
  18268. regval = read_phy_reg(pi, 0x283);
  18269. regval &= 0xff00;
  18270. regval |= pi->nphy_crsminpwr[2];
  18271. write_phy_reg(pi, 0x283, regval);
  18272. pi->nphy_crsminpwr_adjusted = false;
  18273. }
  18274. }
  18275. }
  18276. }
  18277. static void wlc_phy_spurwar_nphy(struct brcms_phy *pi)
  18278. {
  18279. u16 cur_channel = 0;
  18280. int nphy_adj_tone_id_buf[] = { 57, 58 };
  18281. u32 nphy_adj_noise_var_buf[] = { 0x3ff, 0x3ff };
  18282. bool isAdjustNoiseVar = false;
  18283. uint numTonesAdjust = 0;
  18284. u32 tempval = 0;
  18285. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18286. if (pi->phyhang_avoid)
  18287. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18288. cur_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  18289. if (pi->nphy_gband_spurwar_en) {
  18290. wlc_phy_adjust_rx_analpfbw_nphy(
  18291. pi,
  18292. NPHY_ANARXLPFBW_REDUCTIONFACT);
  18293. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18294. if ((cur_channel == 11)
  18295. && CHSPEC_IS40(pi->radio_chanspec))
  18296. wlc_phy_adjust_min_noisevar_nphy(
  18297. pi, 2,
  18298. nphy_adj_tone_id_buf,
  18299. nphy_adj_noise_var_buf);
  18300. else
  18301. wlc_phy_adjust_min_noisevar_nphy(pi, 0,
  18302. NULL,
  18303. NULL);
  18304. }
  18305. wlc_phy_adjust_crsminpwr_nphy(pi,
  18306. NPHY_ADJUSTED_MINCRSPOWER);
  18307. }
  18308. if ((pi->nphy_gband_spurwar2_en)
  18309. && CHSPEC_IS2G(pi->radio_chanspec)) {
  18310. if (CHSPEC_IS40(pi->radio_chanspec)) {
  18311. switch (cur_channel) {
  18312. case 3:
  18313. nphy_adj_tone_id_buf[0] = 57;
  18314. nphy_adj_tone_id_buf[1] = 58;
  18315. nphy_adj_noise_var_buf[0] = 0x22f;
  18316. nphy_adj_noise_var_buf[1] = 0x25f;
  18317. isAdjustNoiseVar = true;
  18318. break;
  18319. case 4:
  18320. nphy_adj_tone_id_buf[0] = 41;
  18321. nphy_adj_tone_id_buf[1] = 42;
  18322. nphy_adj_noise_var_buf[0] = 0x22f;
  18323. nphy_adj_noise_var_buf[1] = 0x25f;
  18324. isAdjustNoiseVar = true;
  18325. break;
  18326. case 5:
  18327. nphy_adj_tone_id_buf[0] = 25;
  18328. nphy_adj_tone_id_buf[1] = 26;
  18329. nphy_adj_noise_var_buf[0] = 0x24f;
  18330. nphy_adj_noise_var_buf[1] = 0x25f;
  18331. isAdjustNoiseVar = true;
  18332. break;
  18333. case 6:
  18334. nphy_adj_tone_id_buf[0] = 9;
  18335. nphy_adj_tone_id_buf[1] = 10;
  18336. nphy_adj_noise_var_buf[0] = 0x22f;
  18337. nphy_adj_noise_var_buf[1] = 0x24f;
  18338. isAdjustNoiseVar = true;
  18339. break;
  18340. case 7:
  18341. nphy_adj_tone_id_buf[0] = 121;
  18342. nphy_adj_tone_id_buf[1] = 122;
  18343. nphy_adj_noise_var_buf[0] = 0x18f;
  18344. nphy_adj_noise_var_buf[1] = 0x24f;
  18345. isAdjustNoiseVar = true;
  18346. break;
  18347. case 8:
  18348. nphy_adj_tone_id_buf[0] = 105;
  18349. nphy_adj_tone_id_buf[1] = 106;
  18350. nphy_adj_noise_var_buf[0] = 0x22f;
  18351. nphy_adj_noise_var_buf[1] = 0x25f;
  18352. isAdjustNoiseVar = true;
  18353. break;
  18354. case 9:
  18355. nphy_adj_tone_id_buf[0] = 89;
  18356. nphy_adj_tone_id_buf[1] = 90;
  18357. nphy_adj_noise_var_buf[0] = 0x22f;
  18358. nphy_adj_noise_var_buf[1] = 0x24f;
  18359. isAdjustNoiseVar = true;
  18360. break;
  18361. case 10:
  18362. nphy_adj_tone_id_buf[0] = 73;
  18363. nphy_adj_tone_id_buf[1] = 74;
  18364. nphy_adj_noise_var_buf[0] = 0x22f;
  18365. nphy_adj_noise_var_buf[1] = 0x24f;
  18366. isAdjustNoiseVar = true;
  18367. break;
  18368. default:
  18369. isAdjustNoiseVar = false;
  18370. break;
  18371. }
  18372. }
  18373. if (isAdjustNoiseVar) {
  18374. numTonesAdjust = ARRAY_SIZE(nphy_adj_tone_id_buf);
  18375. wlc_phy_adjust_min_noisevar_nphy(
  18376. pi,
  18377. numTonesAdjust,
  18378. nphy_adj_tone_id_buf,
  18379. nphy_adj_noise_var_buf);
  18380. tempval = 0;
  18381. } else {
  18382. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18383. NULL);
  18384. }
  18385. }
  18386. if ((pi->nphy_aband_spurwar_en) &&
  18387. (CHSPEC_IS5G(pi->radio_chanspec))) {
  18388. switch (cur_channel) {
  18389. case 54:
  18390. nphy_adj_tone_id_buf[0] = 32;
  18391. nphy_adj_noise_var_buf[0] = 0x25f;
  18392. break;
  18393. case 38:
  18394. case 102:
  18395. case 118:
  18396. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) &&
  18397. (pi->sh->chippkg == BCMA_PKG_ID_BCM4717)) {
  18398. nphy_adj_tone_id_buf[0] = 32;
  18399. nphy_adj_noise_var_buf[0] = 0x21f;
  18400. } else {
  18401. nphy_adj_tone_id_buf[0] = 0;
  18402. nphy_adj_noise_var_buf[0] = 0x0;
  18403. }
  18404. break;
  18405. case 134:
  18406. nphy_adj_tone_id_buf[0] = 32;
  18407. nphy_adj_noise_var_buf[0] = 0x21f;
  18408. break;
  18409. case 151:
  18410. nphy_adj_tone_id_buf[0] = 16;
  18411. nphy_adj_noise_var_buf[0] = 0x23f;
  18412. break;
  18413. case 153:
  18414. case 161:
  18415. nphy_adj_tone_id_buf[0] = 48;
  18416. nphy_adj_noise_var_buf[0] = 0x23f;
  18417. break;
  18418. default:
  18419. nphy_adj_tone_id_buf[0] = 0;
  18420. nphy_adj_noise_var_buf[0] = 0x0;
  18421. break;
  18422. }
  18423. if (nphy_adj_tone_id_buf[0]
  18424. && nphy_adj_noise_var_buf[0])
  18425. wlc_phy_adjust_min_noisevar_nphy(
  18426. pi, 1,
  18427. nphy_adj_tone_id_buf,
  18428. nphy_adj_noise_var_buf);
  18429. else
  18430. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18431. NULL);
  18432. }
  18433. if (pi->phyhang_avoid)
  18434. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18435. }
  18436. }
  18437. void wlc_phy_init_nphy(struct brcms_phy *pi)
  18438. {
  18439. u16 val;
  18440. u16 clip1_ths[2];
  18441. struct nphy_txgains target_gain;
  18442. u8 tx_pwr_ctrl_state;
  18443. bool do_nphy_cal = false;
  18444. uint core;
  18445. u32 d11_clk_ctl_st;
  18446. bool do_rssi_cal = false;
  18447. core = 0;
  18448. if (!(pi->measure_hold & PHY_HOLD_FOR_SCAN))
  18449. pi->measure_hold |= PHY_HOLD_FOR_NOT_ASSOC;
  18450. if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) &&
  18451. ((pi->sh->chippkg == BCMA_PKG_ID_BCM4717) ||
  18452. (pi->sh->chippkg == BCMA_PKG_ID_BCM4718))) {
  18453. if ((pi->sh->boardflags & BFL_EXTLNA) &&
  18454. (CHSPEC_IS2G(pi->radio_chanspec)))
  18455. bcma_cc_set32(&pi->d11core->bus->drv_cc,
  18456. BCMA_CC_CHIPCTL, 0x40);
  18457. }
  18458. if ((!PHY_IPA(pi)) && (pi->sh->chip == BCMA_CHIP_ID_BCM5357))
  18459. bcma_chipco_chipctl_maskset(&pi->d11core->bus->drv_cc, 1,
  18460. ~CCTRL5357_EXTPA, CCTRL5357_EXTPA);
  18461. if ((pi->nphy_gband_spurwar2_en) && CHSPEC_IS2G(pi->radio_chanspec) &&
  18462. CHSPEC_IS40(pi->radio_chanspec)) {
  18463. d11_clk_ctl_st = bcma_read32(pi->d11core,
  18464. D11REGOFFS(clk_ctl_st));
  18465. bcma_mask32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18466. ~(CCS_FORCEHT | CCS_HTAREQ));
  18467. bcma_write32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18468. d11_clk_ctl_st);
  18469. }
  18470. pi->use_int_tx_iqlo_cal_nphy =
  18471. (PHY_IPA(pi) ||
  18472. (NREV_GE(pi->pubpi.phy_rev, 7) ||
  18473. (NREV_GE(pi->pubpi.phy_rev, 5)
  18474. && pi->sh->boardflags2 & BFL2_INTERNDET_TXIQCAL)));
  18475. pi->internal_tx_iqlo_cal_tapoff_intpa_nphy = false;
  18476. pi->nphy_deaf_count = 0;
  18477. wlc_phy_tbl_init_nphy(pi);
  18478. pi->nphy_crsminpwr_adjusted = false;
  18479. pi->nphy_noisevars_adjusted = false;
  18480. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18481. write_phy_reg(pi, 0xe7, 0);
  18482. write_phy_reg(pi, 0xec, 0);
  18483. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18484. write_phy_reg(pi, 0x342, 0);
  18485. write_phy_reg(pi, 0x343, 0);
  18486. write_phy_reg(pi, 0x346, 0);
  18487. write_phy_reg(pi, 0x347, 0);
  18488. }
  18489. write_phy_reg(pi, 0xe5, 0);
  18490. write_phy_reg(pi, 0xe6, 0);
  18491. } else {
  18492. write_phy_reg(pi, 0xec, 0);
  18493. }
  18494. write_phy_reg(pi, 0x91, 0);
  18495. write_phy_reg(pi, 0x92, 0);
  18496. if (NREV_LT(pi->pubpi.phy_rev, 6)) {
  18497. write_phy_reg(pi, 0x93, 0);
  18498. write_phy_reg(pi, 0x94, 0);
  18499. }
  18500. and_phy_reg(pi, 0xa1, ~3);
  18501. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18502. write_phy_reg(pi, 0x8f, 0);
  18503. write_phy_reg(pi, 0xa5, 0);
  18504. } else {
  18505. write_phy_reg(pi, 0xa5, 0);
  18506. }
  18507. if (NREV_IS(pi->pubpi.phy_rev, 2))
  18508. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  18509. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  18510. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  18511. write_phy_reg(pi, 0x203, 32);
  18512. write_phy_reg(pi, 0x201, 32);
  18513. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD)
  18514. write_phy_reg(pi, 0x20d, 160);
  18515. else
  18516. write_phy_reg(pi, 0x20d, 184);
  18517. write_phy_reg(pi, 0x13a, 200);
  18518. write_phy_reg(pi, 0x70, 80);
  18519. write_phy_reg(pi, 0x1ff, 48);
  18520. if (NREV_LT(pi->pubpi.phy_rev, 8))
  18521. wlc_phy_update_mimoconfig_nphy(pi, pi->n_preamble_override);
  18522. wlc_phy_stf_chain_upd_nphy(pi);
  18523. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18524. write_phy_reg(pi, 0x180, 0xaa8);
  18525. write_phy_reg(pi, 0x181, 0x9a4);
  18526. }
  18527. if (PHY_IPA(pi)) {
  18528. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  18529. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  18530. 0x29b, (0x1 << 0), (1) << 0);
  18531. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x298 :
  18532. 0x29c, (0x1ff << 7),
  18533. (pi->nphy_papd_epsilon_offset[core]) << 7);
  18534. }
  18535. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  18536. } else if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  18537. wlc_phy_extpa_set_tx_digi_filts_nphy(pi);
  18538. }
  18539. wlc_phy_workarounds_nphy(pi);
  18540. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18541. val = read_phy_reg(pi, 0x01);
  18542. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18543. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18544. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18545. wlapi_bmac_macphyclk_set(pi->sh->physhim, ON);
  18546. wlc_phy_pa_override_nphy(pi, OFF);
  18547. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  18548. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18549. wlc_phy_pa_override_nphy(pi, ON);
  18550. wlc_phy_classifier_nphy(pi, 0, 0);
  18551. wlc_phy_clip_det_nphy(pi, 0, clip1_ths);
  18552. if (CHSPEC_IS2G(pi->radio_chanspec))
  18553. wlc_phy_bphy_init_nphy(pi);
  18554. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  18555. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  18556. wlc_phy_txpwr_fixpower_nphy(pi);
  18557. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  18558. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  18559. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18560. u32 *tx_pwrctrl_tbl = NULL;
  18561. u16 idx;
  18562. s16 pga_gn = 0;
  18563. s16 pad_gn = 0;
  18564. s32 rfpwr_offset;
  18565. if (PHY_IPA(pi)) {
  18566. tx_pwrctrl_tbl = wlc_phy_get_ipa_gaintbl_nphy(pi);
  18567. } else {
  18568. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  18569. if (NREV_IS(pi->pubpi.phy_rev, 3))
  18570. tx_pwrctrl_tbl =
  18571. nphy_tpc_5GHz_txgain_rev3;
  18572. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  18573. tx_pwrctrl_tbl =
  18574. (pi->srom_fem5g.extpagain ==
  18575. 3) ?
  18576. nphy_tpc_5GHz_txgain_HiPwrEPA :
  18577. nphy_tpc_5GHz_txgain_rev4;
  18578. else
  18579. tx_pwrctrl_tbl =
  18580. nphy_tpc_5GHz_txgain_rev5;
  18581. } else {
  18582. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18583. if (pi->pubpi.radiorev == 5)
  18584. tx_pwrctrl_tbl =
  18585. nphy_tpc_txgain_epa_2057rev5;
  18586. else if (pi->pubpi.radiorev == 3)
  18587. tx_pwrctrl_tbl =
  18588. nphy_tpc_txgain_epa_2057rev3;
  18589. } else {
  18590. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  18591. (pi->srom_fem2g.extpagain == 3))
  18592. tx_pwrctrl_tbl =
  18593. nphy_tpc_txgain_HiPwrEPA;
  18594. else
  18595. tx_pwrctrl_tbl =
  18596. nphy_tpc_txgain_rev3;
  18597. }
  18598. }
  18599. }
  18600. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18601. 192, 32, tx_pwrctrl_tbl);
  18602. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18603. 192, 32, tx_pwrctrl_tbl);
  18604. pi->nphy_gmval = (u16) ((*tx_pwrctrl_tbl >> 16) & 0x7000);
  18605. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18606. for (idx = 0; idx < 128; idx++) {
  18607. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18608. pad_gn = (tx_pwrctrl_tbl[idx] >> 19) & 0x1f;
  18609. rfpwr_offset = get_rf_pwr_offset(pi, pga_gn,
  18610. pad_gn);
  18611. wlc_phy_table_write_nphy(
  18612. pi,
  18613. NPHY_TBL_ID_CORE1TXPWRCTL,
  18614. 1, 576 + idx, 32,
  18615. &rfpwr_offset);
  18616. wlc_phy_table_write_nphy(
  18617. pi,
  18618. NPHY_TBL_ID_CORE2TXPWRCTL,
  18619. 1, 576 + idx, 32,
  18620. &rfpwr_offset);
  18621. }
  18622. } else {
  18623. for (idx = 0; idx < 128; idx++) {
  18624. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18625. if (CHSPEC_IS2G(pi->radio_chanspec))
  18626. rfpwr_offset = (s16)
  18627. nphy_papd_pga_gain_delta_ipa_2g
  18628. [pga_gn];
  18629. else
  18630. rfpwr_offset = (s16)
  18631. nphy_papd_pga_gain_delta_ipa_5g
  18632. [pga_gn];
  18633. wlc_phy_table_write_nphy(
  18634. pi,
  18635. NPHY_TBL_ID_CORE1TXPWRCTL,
  18636. 1, 576 + idx, 32,
  18637. &rfpwr_offset);
  18638. wlc_phy_table_write_nphy(
  18639. pi,
  18640. NPHY_TBL_ID_CORE2TXPWRCTL,
  18641. 1, 576 + idx, 32,
  18642. &rfpwr_offset);
  18643. }
  18644. }
  18645. } else {
  18646. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18647. 192, 32, nphy_tpc_txgain);
  18648. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18649. 192, 32, nphy_tpc_txgain);
  18650. }
  18651. if (pi->sh->phyrxchain != 0x3)
  18652. wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
  18653. pi->sh->phyrxchain);
  18654. if (PHY_PERICAL_MPHASE_PENDING(pi))
  18655. wlc_phy_cal_perical_mphase_restart(pi);
  18656. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18657. do_rssi_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18658. (pi->nphy_rssical_chanspec_2G == 0) :
  18659. (pi->nphy_rssical_chanspec_5G == 0);
  18660. if (do_rssi_cal)
  18661. wlc_phy_rssi_cal_nphy(pi);
  18662. else
  18663. wlc_phy_restore_rssical_nphy(pi);
  18664. } else {
  18665. wlc_phy_rssi_cal_nphy(pi);
  18666. }
  18667. if (!SCAN_RM_IN_PROGRESS(pi))
  18668. do_nphy_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18669. (pi->nphy_iqcal_chanspec_2G == 0) :
  18670. (pi->nphy_iqcal_chanspec_5G == 0);
  18671. if (!pi->do_initcal)
  18672. do_nphy_cal = false;
  18673. if (do_nphy_cal) {
  18674. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  18675. if (pi->antsel_type == ANTSEL_2x3)
  18676. wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
  18677. true);
  18678. if (pi->nphy_perical != PHY_PERICAL_MPHASE) {
  18679. wlc_phy_rssi_cal_nphy(pi);
  18680. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18681. pi->nphy_cal_orig_pwr_idx[0] =
  18682. pi->nphy_txpwrindex[PHY_CORE_0]
  18683. .
  18684. index_internal;
  18685. pi->nphy_cal_orig_pwr_idx[1] =
  18686. pi->nphy_txpwrindex[PHY_CORE_1]
  18687. .
  18688. index_internal;
  18689. wlc_phy_precal_txgain_nphy(pi);
  18690. target_gain =
  18691. wlc_phy_get_tx_gain_nphy(pi);
  18692. }
  18693. if (wlc_phy_cal_txiqlo_nphy
  18694. (pi, target_gain, true,
  18695. false) == 0) {
  18696. if (wlc_phy_cal_rxiq_nphy
  18697. (pi, target_gain, 2,
  18698. false) == 0)
  18699. wlc_phy_savecal_nphy(pi);
  18700. }
  18701. } else if (pi->mphase_cal_phase_id ==
  18702. MPHASE_CAL_STATE_IDLE) {
  18703. wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
  18704. PHY_PERICAL_PHYINIT);
  18705. }
  18706. } else {
  18707. wlc_phy_restorecal_nphy(pi);
  18708. }
  18709. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  18710. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  18711. wlc_phy_nphy_tkip_rifs_war(pi, pi->sh->_rifs_phy);
  18712. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6))
  18713. write_phy_reg(pi, 0x70, 50);
  18714. wlc_phy_txlpfbw_nphy(pi);
  18715. wlc_phy_spurwar_nphy(pi);
  18716. }
  18717. static void wlc_phy_resetcca_nphy(struct brcms_phy *pi)
  18718. {
  18719. u16 val;
  18720. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18721. val = read_phy_reg(pi, 0x01);
  18722. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18723. udelay(1);
  18724. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18725. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18726. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18727. }
  18728. void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en)
  18729. {
  18730. u16 rfctrlintc_override_val;
  18731. if (!en) {
  18732. pi->rfctrlIntc1_save = read_phy_reg(pi, 0x91);
  18733. pi->rfctrlIntc2_save = read_phy_reg(pi, 0x92);
  18734. if (NREV_GE(pi->pubpi.phy_rev, 7))
  18735. rfctrlintc_override_val = 0x1480;
  18736. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  18737. rfctrlintc_override_val =
  18738. CHSPEC_IS5G(pi->radio_chanspec) ? 0x600 : 0x480;
  18739. else
  18740. rfctrlintc_override_val =
  18741. CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  18742. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  18743. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  18744. } else {
  18745. write_phy_reg(pi, 0x91, pi->rfctrlIntc1_save);
  18746. write_phy_reg(pi, 0x92, pi->rfctrlIntc2_save);
  18747. }
  18748. }
  18749. void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi)
  18750. {
  18751. u16 txrx_chain =
  18752. (NPHY_RfseqCoreActv_TxRxChain0 | NPHY_RfseqCoreActv_TxRxChain1);
  18753. bool CoreActv_override = false;
  18754. if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN0) {
  18755. txrx_chain = NPHY_RfseqCoreActv_TxRxChain0;
  18756. CoreActv_override = true;
  18757. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18758. and_phy_reg(pi, 0xa0, ~0x20);
  18759. } else if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN1) {
  18760. txrx_chain = NPHY_RfseqCoreActv_TxRxChain1;
  18761. CoreActv_override = true;
  18762. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18763. or_phy_reg(pi, 0xa0, 0x20);
  18764. }
  18765. mod_phy_reg(pi, 0xa2, ((0xf << 0) | (0xf << 4)), txrx_chain);
  18766. if (CoreActv_override) {
  18767. pi->nphy_perical = PHY_PERICAL_DISABLE;
  18768. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  18769. } else {
  18770. pi->nphy_perical = PHY_PERICAL_MPHASE;
  18771. and_phy_reg(pi, 0xa1, ~NPHY_RfseqMode_CoreActv_override);
  18772. }
  18773. }
  18774. void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
  18775. {
  18776. u16 regval;
  18777. u16 tbl_buf[16];
  18778. uint i;
  18779. struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro);
  18780. u16 tbl_opcode;
  18781. bool suspend;
  18782. pi->sh->phyrxchain = rxcore_bitmask;
  18783. if (!pi->sh->clk)
  18784. return;
  18785. suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  18786. MCTL_EN_MAC));
  18787. if (!suspend)
  18788. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  18789. if (pi->phyhang_avoid)
  18790. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18791. regval = read_phy_reg(pi, 0xa2);
  18792. regval &= ~(0xf << 4);
  18793. regval |= ((u16) (rxcore_bitmask & 0x3)) << 4;
  18794. write_phy_reg(pi, 0xa2, regval);
  18795. if ((rxcore_bitmask & 0x3) != 0x3) {
  18796. write_phy_reg(pi, 0x20e, 1);
  18797. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18798. if (pi->rx2tx_biasentry == -1) {
  18799. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ,
  18800. ARRAY_SIZE(tbl_buf), 80,
  18801. 16, tbl_buf);
  18802. for (i = 0; i < ARRAY_SIZE(tbl_buf); i++) {
  18803. if (tbl_buf[i] ==
  18804. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS) {
  18805. pi->rx2tx_biasentry = (u8) i;
  18806. tbl_opcode =
  18807. NPHY_REV3_RFSEQ_CMD_NOP;
  18808. wlc_phy_table_write_nphy(
  18809. pi,
  18810. NPHY_TBL_ID_RFSEQ,
  18811. 1, i,
  18812. 16,
  18813. &tbl_opcode);
  18814. break;
  18815. } else if (tbl_buf[i] ==
  18816. NPHY_REV3_RFSEQ_CMD_END)
  18817. break;
  18818. }
  18819. }
  18820. }
  18821. } else {
  18822. write_phy_reg(pi, 0x20e, 30);
  18823. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18824. if (pi->rx2tx_biasentry != -1) {
  18825. tbl_opcode = NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS;
  18826. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  18827. 1, pi->rx2tx_biasentry,
  18828. 16, &tbl_opcode);
  18829. pi->rx2tx_biasentry = -1;
  18830. }
  18831. }
  18832. }
  18833. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18834. if (pi->phyhang_avoid)
  18835. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18836. if (!suspend)
  18837. wlapi_enable_mac(pi->sh->physhim);
  18838. }
  18839. u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
  18840. {
  18841. u16 regval, rxen_bits;
  18842. struct brcms_phy *pi = container_of(pih, struct brcms_phy, pubpi_ro);
  18843. regval = read_phy_reg(pi, 0xa2);
  18844. rxen_bits = (regval >> 4) & 0xf;
  18845. return (u8) rxen_bits;
  18846. }
  18847. bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi)
  18848. {
  18849. return PHY_IPA(pi);
  18850. }
  18851. void wlc_phy_cal_init_nphy(struct brcms_phy *pi)
  18852. {
  18853. }
  18854. static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi)
  18855. {
  18856. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  18857. and_phy_reg(pi, 0x78, RFCC_OE_POR_FORCE);
  18858. or_phy_reg(pi, 0x78, ~RFCC_OE_POR_FORCE);
  18859. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU);
  18860. }
  18861. static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
  18862. {
  18863. struct radio_20xx_regs *regs_2057_ptr = NULL;
  18864. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  18865. regs_2057_ptr = regs_2057_rev4;
  18866. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  18867. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  18868. switch (pi->pubpi.radiorev) {
  18869. case 5:
  18870. if (NREV_IS(pi->pubpi.phy_rev, 8))
  18871. regs_2057_ptr = regs_2057_rev5;
  18872. else if (NREV_IS(pi->pubpi.phy_rev, 9))
  18873. regs_2057_ptr = regs_2057_rev5v1;
  18874. break;
  18875. case 7:
  18876. regs_2057_ptr = regs_2057_rev7;
  18877. break;
  18878. case 8:
  18879. regs_2057_ptr = regs_2057_rev8;
  18880. break;
  18881. default:
  18882. break;
  18883. }
  18884. }
  18885. wlc_phy_init_radio_regs_allbands(pi, regs_2057_ptr);
  18886. }
  18887. static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi)
  18888. {
  18889. u16 rcal_reg = 0;
  18890. int i;
  18891. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18892. if (pi->pubpi.radiorev == 5) {
  18893. and_phy_reg(pi, 0x342, ~(0x1 << 1));
  18894. udelay(10);
  18895. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x1);
  18896. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  18897. 0x1);
  18898. }
  18899. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x1);
  18900. udelay(10);
  18901. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x3, 0x3);
  18902. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  18903. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS);
  18904. if (rcal_reg & 0x1)
  18905. break;
  18906. udelay(100);
  18907. }
  18908. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  18909. "HW error: radio calib2"))
  18910. return 0;
  18911. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x2, 0x0);
  18912. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS) & 0x3e;
  18913. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x0);
  18914. if (pi->pubpi.radiorev == 5) {
  18915. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x0);
  18916. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  18917. 0x0);
  18918. }
  18919. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  18920. mod_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x3c,
  18921. rcal_reg);
  18922. mod_radio_reg(pi, RADIO_2057_BANDGAP_RCAL_TRIM, 0xf0,
  18923. rcal_reg << 2);
  18924. }
  18925. } else if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  18926. u16 savereg;
  18927. savereg =
  18928. read_radio_reg(
  18929. pi,
  18930. RADIO_2056_SYN_PLL_MAST2 |
  18931. RADIO_2056_SYN);
  18932. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  18933. savereg | 0x7);
  18934. udelay(10);
  18935. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  18936. 0x1);
  18937. udelay(10);
  18938. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  18939. 0x9);
  18940. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  18941. rcal_reg = read_radio_reg(
  18942. pi,
  18943. RADIO_2056_SYN_RCAL_CODE_OUT |
  18944. RADIO_2056_SYN);
  18945. if (rcal_reg & 0x80)
  18946. break;
  18947. udelay(100);
  18948. }
  18949. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  18950. "HW error: radio calib3"))
  18951. return 0;
  18952. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  18953. 0x1);
  18954. rcal_reg =
  18955. read_radio_reg(pi,
  18956. RADIO_2056_SYN_RCAL_CODE_OUT |
  18957. RADIO_2056_SYN);
  18958. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  18959. 0x0);
  18960. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  18961. savereg);
  18962. return rcal_reg & 0x1f;
  18963. }
  18964. return rcal_reg & 0x3e;
  18965. }
  18966. static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi)
  18967. {
  18968. u16 rccal_valid;
  18969. int i;
  18970. bool chip43226_6362A0;
  18971. chip43226_6362A0 = ((pi->pubpi.radiorev == 3)
  18972. || (pi->pubpi.radiorev == 4)
  18973. || (pi->pubpi.radiorev == 6));
  18974. rccal_valid = 0;
  18975. if (chip43226_6362A0) {
  18976. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x61);
  18977. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xc0);
  18978. } else {
  18979. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x61);
  18980. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xe9);
  18981. }
  18982. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  18983. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  18984. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  18985. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  18986. if (rccal_valid & 0x2)
  18987. break;
  18988. udelay(500);
  18989. }
  18990. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  18991. rccal_valid = 0;
  18992. if (chip43226_6362A0) {
  18993. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x69);
  18994. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  18995. } else {
  18996. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x69);
  18997. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xd5);
  18998. }
  18999. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19000. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19001. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19002. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19003. if (rccal_valid & 0x2)
  19004. break;
  19005. udelay(500);
  19006. }
  19007. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19008. rccal_valid = 0;
  19009. if (chip43226_6362A0) {
  19010. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x73);
  19011. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x28);
  19012. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19013. } else {
  19014. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x73);
  19015. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19016. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0x99);
  19017. }
  19018. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19019. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19020. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19021. if (rccal_valid & 0x2)
  19022. break;
  19023. udelay(500);
  19024. }
  19025. if (WARN(!(rccal_valid & 0x2), "HW error: radio calib4"))
  19026. return 0;
  19027. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19028. return rccal_valid;
  19029. }
  19030. static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi)
  19031. {
  19032. mod_radio_reg(pi, RADIO_2057_XTALPUOVR_PINCTRL, 0x1, 0x1);
  19033. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x78);
  19034. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x80);
  19035. mdelay(2);
  19036. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x0);
  19037. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x0);
  19038. if (pi->phy_init_por) {
  19039. wlc_phy_radio205x_rcal(pi);
  19040. wlc_phy_radio2057_rccal(pi);
  19041. }
  19042. mod_radio_reg(pi, RADIO_2057_RFPLL_MASTER, 0x8, 0x0);
  19043. }
  19044. static void wlc_phy_radio_init_2056(struct brcms_phy *pi)
  19045. {
  19046. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19047. const struct radio_regs *regs_TX_2056_ptr = NULL;
  19048. const struct radio_regs *regs_RX_2056_ptr = NULL;
  19049. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19050. regs_SYN_2056_ptr = regs_SYN_2056;
  19051. regs_TX_2056_ptr = regs_TX_2056;
  19052. regs_RX_2056_ptr = regs_RX_2056;
  19053. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19054. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19055. regs_TX_2056_ptr = regs_TX_2056_A1;
  19056. regs_RX_2056_ptr = regs_RX_2056_A1;
  19057. } else {
  19058. switch (pi->pubpi.radiorev) {
  19059. case 5:
  19060. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19061. regs_TX_2056_ptr = regs_TX_2056_rev5;
  19062. regs_RX_2056_ptr = regs_RX_2056_rev5;
  19063. break;
  19064. case 6:
  19065. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19066. regs_TX_2056_ptr = regs_TX_2056_rev6;
  19067. regs_RX_2056_ptr = regs_RX_2056_rev6;
  19068. break;
  19069. case 7:
  19070. case 9:
  19071. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19072. regs_TX_2056_ptr = regs_TX_2056_rev7;
  19073. regs_RX_2056_ptr = regs_RX_2056_rev7;
  19074. break;
  19075. case 8:
  19076. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19077. regs_TX_2056_ptr = regs_TX_2056_rev8;
  19078. regs_RX_2056_ptr = regs_RX_2056_rev8;
  19079. break;
  19080. case 11:
  19081. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19082. regs_TX_2056_ptr = regs_TX_2056_rev11;
  19083. regs_RX_2056_ptr = regs_RX_2056_rev11;
  19084. break;
  19085. default:
  19086. break;
  19087. }
  19088. }
  19089. wlc_phy_init_radio_regs(pi, regs_SYN_2056_ptr, (u16) RADIO_2056_SYN);
  19090. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX0);
  19091. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX1);
  19092. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX0);
  19093. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX1);
  19094. }
  19095. static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi)
  19096. {
  19097. mod_radio_reg(pi, RADIO_2056_SYN_COM_CTRL, 0xb, 0xb);
  19098. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x2);
  19099. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x2);
  19100. udelay(1000);
  19101. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x0);
  19102. if ((pi->sh->boardflags2 & BFL2_LEGACY)
  19103. || (pi->sh->boardflags2 & BFL2_XTALBUFOUTEN))
  19104. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xf4, 0x0);
  19105. else
  19106. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xfc, 0x0);
  19107. mod_radio_reg(pi, RADIO_2056_SYN_RCCAL_CTRL0, 0x1, 0x0);
  19108. if (pi->phy_init_por)
  19109. wlc_phy_radio205x_rcal(pi);
  19110. }
  19111. static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi)
  19112. {
  19113. and_phy_reg(pi, 0x78, ~RFCC_POR_FORCE);
  19114. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU | RFCC_OE_POR_FORCE);
  19115. or_phy_reg(pi, 0x78, RFCC_POR_FORCE);
  19116. }
  19117. static void wlc_phy_radio_init_2055(struct brcms_phy *pi)
  19118. {
  19119. wlc_phy_init_radio_regs(pi, regs_2055, RADIO_DEFAULT_CORE);
  19120. }
  19121. static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi)
  19122. {
  19123. and_radio_reg(pi, RADIO_2055_MASTER_CNTRL1,
  19124. ~(RADIO_2055_JTAGCTRL_MASK | RADIO_2055_JTAGSYNC_MASK));
  19125. if (((pi->sh->sromrev >= 4)
  19126. && !(pi->sh->boardflags2 & BFL2_RXBB_INT_REG_DIS))
  19127. || ((pi->sh->sromrev < 4))) {
  19128. and_radio_reg(pi, RADIO_2055_CORE1_RXBB_REGULATOR, 0x7F);
  19129. and_radio_reg(pi, RADIO_2055_CORE2_RXBB_REGULATOR, 0x7F);
  19130. }
  19131. mod_radio_reg(pi, RADIO_2055_RRCCAL_N_OPT_SEL, 0x3F, 0x2C);
  19132. write_radio_reg(pi, RADIO_2055_CAL_MISC, 0x3C);
  19133. and_radio_reg(pi, RADIO_2055_CAL_MISC,
  19134. ~(RADIO_2055_RRCAL_START | RADIO_2055_RRCAL_RST_N));
  19135. or_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL, RADIO_2055_CAL_LPO_ENABLE);
  19136. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_RST_N);
  19137. udelay(1000);
  19138. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_START);
  19139. SPINWAIT(((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19140. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE), 2000);
  19141. if (WARN((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19142. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE,
  19143. "HW error: radio calibration1\n"))
  19144. return;
  19145. and_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL,
  19146. ~(RADIO_2055_CAL_LPO_ENABLE));
  19147. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
  19148. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_LPF, 9);
  19149. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_LPF, 9);
  19150. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_MIDAC_HIPAS, 0x83);
  19151. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_MIDAC_HIPAS, 0x83);
  19152. mod_radio_reg(pi, RADIO_2055_CORE1_LNA_GAINBST,
  19153. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19154. mod_radio_reg(pi, RADIO_2055_CORE2_LNA_GAINBST,
  19155. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19156. if (pi->nphy_gain_boost) {
  19157. and_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19158. ~(RADIO_2055_GAINBST_DISABLE));
  19159. and_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19160. ~(RADIO_2055_GAINBST_DISABLE));
  19161. } else {
  19162. or_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19163. RADIO_2055_GAINBST_DISABLE);
  19164. or_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19165. RADIO_2055_GAINBST_DISABLE);
  19166. }
  19167. udelay(2);
  19168. }
  19169. void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
  19170. {
  19171. if (on) {
  19172. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19173. if (!pi->radio_is_on) {
  19174. wlc_phy_radio_preinit_205x(pi);
  19175. wlc_phy_radio_init_2057(pi);
  19176. wlc_phy_radio_postinit_2057(pi);
  19177. }
  19178. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19179. pi->radio_chanspec);
  19180. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19181. wlc_phy_radio_preinit_205x(pi);
  19182. wlc_phy_radio_init_2056(pi);
  19183. wlc_phy_radio_postinit_2056(pi);
  19184. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19185. pi->radio_chanspec);
  19186. } else {
  19187. wlc_phy_radio_preinit_2055(pi);
  19188. wlc_phy_radio_init_2055(pi);
  19189. wlc_phy_radio_postinit_2055(pi);
  19190. }
  19191. pi->radio_is_on = true;
  19192. } else {
  19193. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19194. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  19195. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19196. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x0);
  19197. write_radio_reg(pi,
  19198. RADIO_2056_TX_PADA_BOOST_TUNE |
  19199. RADIO_2056_TX0, 0);
  19200. write_radio_reg(pi,
  19201. RADIO_2056_TX_PADG_BOOST_TUNE |
  19202. RADIO_2056_TX0, 0);
  19203. write_radio_reg(pi,
  19204. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19205. RADIO_2056_TX0, 0);
  19206. write_radio_reg(pi,
  19207. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19208. RADIO_2056_TX0, 0);
  19209. mod_radio_reg(pi,
  19210. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19211. RADIO_2056_TX0, 0xf0, 0);
  19212. write_radio_reg(pi,
  19213. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19214. RADIO_2056_TX0, 0);
  19215. write_radio_reg(pi,
  19216. RADIO_2056_TX_PADA_BOOST_TUNE |
  19217. RADIO_2056_TX1, 0);
  19218. write_radio_reg(pi,
  19219. RADIO_2056_TX_PADG_BOOST_TUNE |
  19220. RADIO_2056_TX1, 0);
  19221. write_radio_reg(pi,
  19222. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19223. RADIO_2056_TX1, 0);
  19224. write_radio_reg(pi,
  19225. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19226. RADIO_2056_TX1, 0);
  19227. mod_radio_reg(pi,
  19228. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19229. RADIO_2056_TX1, 0xf0, 0);
  19230. write_radio_reg(pi,
  19231. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19232. RADIO_2056_TX1, 0);
  19233. pi->radio_is_on = false;
  19234. }
  19235. if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  19236. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19237. pi->radio_is_on = false;
  19238. }
  19239. }
  19240. }
  19241. static bool
  19242. wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f,
  19243. const struct chan_info_nphy_radio2057 **t0,
  19244. const struct chan_info_nphy_radio205x **t1,
  19245. const struct chan_info_nphy_radio2057_rev5 **t2,
  19246. const struct chan_info_nphy_2055 **t3)
  19247. {
  19248. uint i;
  19249. const struct chan_info_nphy_radio2057 *chan_info_tbl_p_0 = NULL;
  19250. const struct chan_info_nphy_radio205x *chan_info_tbl_p_1 = NULL;
  19251. const struct chan_info_nphy_radio2057_rev5 *chan_info_tbl_p_2 = NULL;
  19252. u32 tbl_len = 0;
  19253. int freq = 0;
  19254. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19255. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19256. chan_info_tbl_p_0 = chan_info_nphyrev7_2057_rev4;
  19257. tbl_len = ARRAY_SIZE(chan_info_nphyrev7_2057_rev4);
  19258. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19259. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19260. switch (pi->pubpi.radiorev) {
  19261. case 5:
  19262. if (pi->pubpi.radiover == 0x0) {
  19263. chan_info_tbl_p_2 =
  19264. chan_info_nphyrev8_2057_rev5;
  19265. tbl_len = ARRAY_SIZE(
  19266. chan_info_nphyrev8_2057_rev5);
  19267. } else if (pi->pubpi.radiover == 0x1) {
  19268. chan_info_tbl_p_2 =
  19269. chan_info_nphyrev9_2057_rev5v1;
  19270. tbl_len = ARRAY_SIZE(
  19271. chan_info_nphyrev9_2057_rev5v1);
  19272. }
  19273. break;
  19274. case 7:
  19275. chan_info_tbl_p_0 =
  19276. chan_info_nphyrev8_2057_rev7;
  19277. tbl_len = ARRAY_SIZE(
  19278. chan_info_nphyrev8_2057_rev7);
  19279. break;
  19280. case 8:
  19281. chan_info_tbl_p_0 =
  19282. chan_info_nphyrev8_2057_rev8;
  19283. tbl_len = ARRAY_SIZE(
  19284. chan_info_nphyrev8_2057_rev8);
  19285. break;
  19286. default:
  19287. break;
  19288. }
  19289. } else if (NREV_IS(pi->pubpi.phy_rev, 16)) {
  19290. chan_info_tbl_p_0 = chan_info_nphyrev8_2057_rev8;
  19291. tbl_len = ARRAY_SIZE(chan_info_nphyrev8_2057_rev8);
  19292. } else {
  19293. goto fail;
  19294. }
  19295. for (i = 0; i < tbl_len; i++) {
  19296. if (pi->pubpi.radiorev == 5) {
  19297. if (chan_info_tbl_p_2[i].chan == channel)
  19298. break;
  19299. } else {
  19300. if (chan_info_tbl_p_0[i].chan == channel)
  19301. break;
  19302. }
  19303. }
  19304. if (i >= tbl_len)
  19305. goto fail;
  19306. if (pi->pubpi.radiorev == 5) {
  19307. *t2 = &chan_info_tbl_p_2[i];
  19308. freq = chan_info_tbl_p_2[i].freq;
  19309. } else {
  19310. *t0 = &chan_info_tbl_p_0[i];
  19311. freq = chan_info_tbl_p_0[i].freq;
  19312. }
  19313. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19314. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19315. chan_info_tbl_p_1 = chan_info_nphyrev3_2056;
  19316. tbl_len = ARRAY_SIZE(chan_info_nphyrev3_2056);
  19317. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19318. chan_info_tbl_p_1 = chan_info_nphyrev4_2056_A1;
  19319. tbl_len = ARRAY_SIZE(chan_info_nphyrev4_2056_A1);
  19320. } else if (NREV_IS(pi->pubpi.phy_rev, 5)
  19321. || NREV_IS(pi->pubpi.phy_rev, 6)) {
  19322. switch (pi->pubpi.radiorev) {
  19323. case 5:
  19324. chan_info_tbl_p_1 = chan_info_nphyrev5_2056v5;
  19325. tbl_len = ARRAY_SIZE(chan_info_nphyrev5_2056v5);
  19326. break;
  19327. case 6:
  19328. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v6;
  19329. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v6);
  19330. break;
  19331. case 7:
  19332. case 9:
  19333. chan_info_tbl_p_1 = chan_info_nphyrev5n6_2056v7;
  19334. tbl_len =
  19335. ARRAY_SIZE(chan_info_nphyrev5n6_2056v7);
  19336. break;
  19337. case 8:
  19338. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v8;
  19339. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v8);
  19340. break;
  19341. case 11:
  19342. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v11;
  19343. tbl_len = ARRAY_SIZE(
  19344. chan_info_nphyrev6_2056v11);
  19345. break;
  19346. default:
  19347. break;
  19348. }
  19349. }
  19350. for (i = 0; i < tbl_len; i++) {
  19351. if (chan_info_tbl_p_1[i].chan == channel)
  19352. break;
  19353. }
  19354. if (i >= tbl_len)
  19355. goto fail;
  19356. *t1 = &chan_info_tbl_p_1[i];
  19357. freq = chan_info_tbl_p_1[i].freq;
  19358. } else {
  19359. for (i = 0; i < ARRAY_SIZE(chan_info_nphy_2055); i++)
  19360. if (chan_info_nphy_2055[i].chan == channel)
  19361. break;
  19362. if (i >= ARRAY_SIZE(chan_info_nphy_2055))
  19363. goto fail;
  19364. *t3 = &chan_info_nphy_2055[i];
  19365. freq = chan_info_nphy_2055[i].freq;
  19366. }
  19367. *f = freq;
  19368. return true;
  19369. fail:
  19370. *f = WL_CHAN_FREQ_RANGE_2G;
  19371. return false;
  19372. }
  19373. u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel)
  19374. {
  19375. int freq;
  19376. const struct chan_info_nphy_radio2057 *t0 = NULL;
  19377. const struct chan_info_nphy_radio205x *t1 = NULL;
  19378. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  19379. const struct chan_info_nphy_2055 *t3 = NULL;
  19380. if (channel == 0)
  19381. channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  19382. wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
  19383. if (CHSPEC_IS2G(pi->radio_chanspec))
  19384. return WL_CHAN_FREQ_RANGE_2G;
  19385. if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
  19386. return WL_CHAN_FREQ_RANGE_5GL;
  19387. else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
  19388. return WL_CHAN_FREQ_RANGE_5GM;
  19389. else
  19390. return WL_CHAN_FREQ_RANGE_5GH;
  19391. }
  19392. static void
  19393. wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi,
  19394. const struct chan_info_nphy_2055 *ci)
  19395. {
  19396. write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref);
  19397. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0);
  19398. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1);
  19399. write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail);
  19400. BRCMS_PHY_WAR_PR51571(pi);
  19401. write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1);
  19402. write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2);
  19403. write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1);
  19404. write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1);
  19405. BRCMS_PHY_WAR_PR51571(pi);
  19406. write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2);
  19407. write_radio_reg(pi, RADIO_2055_LGBUF_CEN_BUF, ci->RF_lgbuf_cen_buf);
  19408. write_radio_reg(pi, RADIO_2055_LGEN_TUNE1, ci->RF_lgen_tune1);
  19409. write_radio_reg(pi, RADIO_2055_LGEN_TUNE2, ci->RF_lgen_tune2);
  19410. BRCMS_PHY_WAR_PR51571(pi);
  19411. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_A_TUNE,
  19412. ci->RF_core1_lgbuf_a_tune);
  19413. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_G_TUNE,
  19414. ci->RF_core1_lgbuf_g_tune);
  19415. write_radio_reg(pi, RADIO_2055_CORE1_RXRF_REG1, ci->RF_core1_rxrf_reg1);
  19416. write_radio_reg(pi, RADIO_2055_CORE1_TX_PGA_PAD_TN,
  19417. ci->RF_core1_tx_pga_pad_tn);
  19418. BRCMS_PHY_WAR_PR51571(pi);
  19419. write_radio_reg(pi, RADIO_2055_CORE1_TX_MX_BGTRIM,
  19420. ci->RF_core1_tx_mx_bgtrim);
  19421. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_A_TUNE,
  19422. ci->RF_core2_lgbuf_a_tune);
  19423. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_G_TUNE,
  19424. ci->RF_core2_lgbuf_g_tune);
  19425. write_radio_reg(pi, RADIO_2055_CORE2_RXRF_REG1, ci->RF_core2_rxrf_reg1);
  19426. BRCMS_PHY_WAR_PR51571(pi);
  19427. write_radio_reg(pi, RADIO_2055_CORE2_TX_PGA_PAD_TN,
  19428. ci->RF_core2_tx_pga_pad_tn);
  19429. write_radio_reg(pi, RADIO_2055_CORE2_TX_MX_BGTRIM,
  19430. ci->RF_core2_tx_mx_bgtrim);
  19431. udelay(50);
  19432. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x05);
  19433. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x45);
  19434. BRCMS_PHY_WAR_PR51571(pi);
  19435. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x65);
  19436. udelay(300);
  19437. }
  19438. static void
  19439. wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi,
  19440. const struct chan_info_nphy_radio205x *ci)
  19441. {
  19442. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19443. write_radio_reg(pi,
  19444. RADIO_2056_SYN_PLL_VCOCAL1 | RADIO_2056_SYN,
  19445. ci->RF_SYN_pll_vcocal1);
  19446. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL2 | RADIO_2056_SYN,
  19447. ci->RF_SYN_pll_vcocal2);
  19448. write_radio_reg(pi, RADIO_2056_SYN_PLL_REFDIV | RADIO_2056_SYN,
  19449. ci->RF_SYN_pll_refdiv);
  19450. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD2 | RADIO_2056_SYN,
  19451. ci->RF_SYN_pll_mmd2);
  19452. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD1 | RADIO_2056_SYN,
  19453. ci->RF_SYN_pll_mmd1);
  19454. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19455. ci->RF_SYN_pll_loopfilter1);
  19456. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19457. ci->RF_SYN_pll_loopfilter2);
  19458. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER3 | RADIO_2056_SYN,
  19459. ci->RF_SYN_pll_loopfilter3);
  19460. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19461. ci->RF_SYN_pll_loopfilter4);
  19462. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER5 | RADIO_2056_SYN,
  19463. ci->RF_SYN_pll_loopfilter5);
  19464. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR27 | RADIO_2056_SYN,
  19465. ci->RF_SYN_reserved_addr27);
  19466. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR28 | RADIO_2056_SYN,
  19467. ci->RF_SYN_reserved_addr28);
  19468. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR29 | RADIO_2056_SYN,
  19469. ci->RF_SYN_reserved_addr29);
  19470. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_VCOBUF1 | RADIO_2056_SYN,
  19471. ci->RF_SYN_logen_VCOBUF1);
  19472. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_MIXER2 | RADIO_2056_SYN,
  19473. ci->RF_SYN_logen_MIXER2);
  19474. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF3 | RADIO_2056_SYN,
  19475. ci->RF_SYN_logen_BUF3);
  19476. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF4 | RADIO_2056_SYN,
  19477. ci->RF_SYN_logen_BUF4);
  19478. write_radio_reg(pi,
  19479. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX0,
  19480. ci->RF_RX0_lnaa_tune);
  19481. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX0,
  19482. ci->RF_RX0_lnag_tune);
  19483. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX0,
  19484. ci->RF_TX0_intpaa_boost_tune);
  19485. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX0,
  19486. ci->RF_TX0_intpag_boost_tune);
  19487. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX0,
  19488. ci->RF_TX0_pada_boost_tune);
  19489. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX0,
  19490. ci->RF_TX0_padg_boost_tune);
  19491. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX0,
  19492. ci->RF_TX0_pgaa_boost_tune);
  19493. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX0,
  19494. ci->RF_TX0_pgag_boost_tune);
  19495. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX0,
  19496. ci->RF_TX0_mixa_boost_tune);
  19497. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX0,
  19498. ci->RF_TX0_mixg_boost_tune);
  19499. write_radio_reg(pi,
  19500. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX1,
  19501. ci->RF_RX1_lnaa_tune);
  19502. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX1,
  19503. ci->RF_RX1_lnag_tune);
  19504. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX1,
  19505. ci->RF_TX1_intpaa_boost_tune);
  19506. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX1,
  19507. ci->RF_TX1_intpag_boost_tune);
  19508. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX1,
  19509. ci->RF_TX1_pada_boost_tune);
  19510. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX1,
  19511. ci->RF_TX1_padg_boost_tune);
  19512. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX1,
  19513. ci->RF_TX1_pgaa_boost_tune);
  19514. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX1,
  19515. ci->RF_TX1_pgag_boost_tune);
  19516. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX1,
  19517. ci->RF_TX1_mixa_boost_tune);
  19518. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX1,
  19519. ci->RF_TX1_mixg_boost_tune);
  19520. if (NREV_IS(pi->pubpi.phy_rev, 3))
  19521. regs_SYN_2056_ptr = regs_SYN_2056;
  19522. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  19523. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19524. else {
  19525. switch (pi->pubpi.radiorev) {
  19526. case 5:
  19527. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19528. break;
  19529. case 6:
  19530. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19531. break;
  19532. case 7:
  19533. case 9:
  19534. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19535. break;
  19536. case 8:
  19537. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19538. break;
  19539. case 11:
  19540. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19541. break;
  19542. }
  19543. }
  19544. if (CHSPEC_IS2G(pi->radio_chanspec))
  19545. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19546. RADIO_2056_SYN,
  19547. (u16) regs_SYN_2056_ptr[0x49 - 2].init_g);
  19548. else
  19549. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19550. RADIO_2056_SYN,
  19551. (u16) regs_SYN_2056_ptr[0x49 - 2].init_a);
  19552. if (pi->sh->boardflags2 & BFL2_GPLL_WAR) {
  19553. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19554. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19555. RADIO_2056_SYN, 0x1f);
  19556. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19557. RADIO_2056_SYN, 0x1f);
  19558. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  19559. (pi->sh->chip == BCMA_CHIP_ID_BCM47162)) {
  19560. write_radio_reg(pi,
  19561. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19562. RADIO_2056_SYN, 0x14);
  19563. write_radio_reg(pi,
  19564. RADIO_2056_SYN_PLL_CP2 |
  19565. RADIO_2056_SYN, 0x00);
  19566. } else {
  19567. write_radio_reg(pi,
  19568. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19569. RADIO_2056_SYN, 0xb);
  19570. write_radio_reg(pi,
  19571. RADIO_2056_SYN_PLL_CP2 |
  19572. RADIO_2056_SYN, 0x14);
  19573. }
  19574. }
  19575. }
  19576. if ((pi->sh->boardflags2 & BFL2_GPLL_WAR2) &&
  19577. (CHSPEC_IS2G(pi->radio_chanspec))) {
  19578. write_radio_reg(pi,
  19579. RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19580. 0x1f);
  19581. write_radio_reg(pi,
  19582. RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19583. 0x1f);
  19584. write_radio_reg(pi,
  19585. RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19586. 0xb);
  19587. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 | RADIO_2056_SYN,
  19588. 0x20);
  19589. }
  19590. if (pi->sh->boardflags2 & BFL2_APLL_WAR) {
  19591. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  19592. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19593. RADIO_2056_SYN, 0x1f);
  19594. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19595. RADIO_2056_SYN, 0x1f);
  19596. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19597. RADIO_2056_SYN, 0x5);
  19598. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19599. RADIO_2056_SYN, 0xc);
  19600. }
  19601. }
  19602. if (PHY_IPA(pi) && CHSPEC_IS2G(pi->radio_chanspec)) {
  19603. u16 pag_boost_tune;
  19604. u16 padg_boost_tune;
  19605. u16 pgag_boost_tune;
  19606. u16 mixg_boost_tune;
  19607. u16 bias, cascbias;
  19608. uint core;
  19609. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19610. if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  19611. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19612. PADG_IDAC, 0xcc);
  19613. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  19614. (pi->sh->chip == BCMA_CHIP_ID_BCM47162)) {
  19615. bias = 0x40;
  19616. cascbias = 0x45;
  19617. pag_boost_tune = 0x5;
  19618. pgag_boost_tune = 0x33;
  19619. padg_boost_tune = 0x77;
  19620. mixg_boost_tune = 0x55;
  19621. } else {
  19622. bias = 0x25;
  19623. cascbias = 0x20;
  19624. if ((pi->sh->chip == BCMA_CHIP_ID_BCM43224 ||
  19625. pi->sh->chip == BCMA_CHIP_ID_BCM43225) &&
  19626. pi->sh->chippkg == BCMA_PKG_ID_BCM43224_FAB_SMIC) {
  19627. bias = 0x2a;
  19628. cascbias = 0x38;
  19629. }
  19630. pag_boost_tune = 0x4;
  19631. pgag_boost_tune = 0x03;
  19632. padg_boost_tune = 0x77;
  19633. mixg_boost_tune = 0x65;
  19634. }
  19635. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19636. INTPAG_IMAIN_STAT, bias);
  19637. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19638. INTPAG_IAUX_STAT, bias);
  19639. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19640. INTPAG_CASCBIAS, cascbias);
  19641. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19642. INTPAG_BOOST_TUNE,
  19643. pag_boost_tune);
  19644. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19645. PGAG_BOOST_TUNE,
  19646. pgag_boost_tune);
  19647. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19648. PADG_BOOST_TUNE,
  19649. padg_boost_tune);
  19650. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19651. MIXG_BOOST_TUNE,
  19652. mixg_boost_tune);
  19653. } else {
  19654. bias = (pi->bw == WL_CHANSPEC_BW_40) ?
  19655. 0x40 : 0x20;
  19656. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19657. INTPAG_IMAIN_STAT, bias);
  19658. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19659. INTPAG_IAUX_STAT, bias);
  19660. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19661. INTPAG_CASCBIAS, 0x30);
  19662. }
  19663. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, PA_SPARE1,
  19664. 0xee);
  19665. }
  19666. }
  19667. if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6)
  19668. && CHSPEC_IS5G(pi->radio_chanspec)) {
  19669. u16 paa_boost_tune;
  19670. u16 pada_boost_tune;
  19671. u16 pgaa_boost_tune;
  19672. u16 mixa_boost_tune;
  19673. u16 freq, pabias, cascbias;
  19674. uint core;
  19675. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  19676. if (freq < 5150) {
  19677. paa_boost_tune = 0xa;
  19678. pada_boost_tune = 0x77;
  19679. pgaa_boost_tune = 0xf;
  19680. mixa_boost_tune = 0xf;
  19681. } else if (freq < 5340) {
  19682. paa_boost_tune = 0x8;
  19683. pada_boost_tune = 0x77;
  19684. pgaa_boost_tune = 0xfb;
  19685. mixa_boost_tune = 0xf;
  19686. } else if (freq < 5650) {
  19687. paa_boost_tune = 0x0;
  19688. pada_boost_tune = 0x77;
  19689. pgaa_boost_tune = 0xb;
  19690. mixa_boost_tune = 0xf;
  19691. } else {
  19692. paa_boost_tune = 0x0;
  19693. pada_boost_tune = 0x77;
  19694. if (freq != 5825)
  19695. pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
  19696. else
  19697. pgaa_boost_tune = 6;
  19698. mixa_boost_tune = 0xf;
  19699. }
  19700. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19701. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19702. INTPAA_BOOST_TUNE, paa_boost_tune);
  19703. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19704. PADA_BOOST_TUNE, pada_boost_tune);
  19705. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19706. PGAA_BOOST_TUNE, pgaa_boost_tune);
  19707. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19708. MIXA_BOOST_TUNE, mixa_boost_tune);
  19709. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19710. TXSPARE1, 0x30);
  19711. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19712. PA_SPARE2, 0xee);
  19713. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19714. PADA_CASCBIAS, 0x3);
  19715. cascbias = 0x30;
  19716. if ((pi->sh->chip == BCMA_CHIP_ID_BCM43224 ||
  19717. pi->sh->chip == BCMA_CHIP_ID_BCM43225) &&
  19718. pi->sh->chippkg == BCMA_PKG_ID_BCM43224_FAB_SMIC)
  19719. cascbias = 0x35;
  19720. pabias = (pi->phy_pabias == 0) ? 0x30 : pi->phy_pabias;
  19721. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19722. INTPAA_IAUX_STAT, pabias);
  19723. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19724. INTPAA_IMAIN_STAT, pabias);
  19725. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19726. INTPAA_CASCBIAS, cascbias);
  19727. }
  19728. }
  19729. udelay(50);
  19730. wlc_phy_radio205x_vcocal_nphy(pi);
  19731. }
  19732. void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi)
  19733. {
  19734. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19735. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x0);
  19736. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04, 0x0);
  19737. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04,
  19738. (1 << 2));
  19739. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x01);
  19740. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19741. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL12, 0x0);
  19742. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19743. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x18);
  19744. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19745. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x39);
  19746. }
  19747. udelay(300);
  19748. }
  19749. static void
  19750. wlc_phy_chanspec_radio2057_setup(
  19751. struct brcms_phy *pi,
  19752. const struct chan_info_nphy_radio2057 *ci,
  19753. const struct chan_info_nphy_radio2057_rev5 *
  19754. ci2)
  19755. {
  19756. int coreNum;
  19757. u16 txmix2g_tune_boost_pu = 0;
  19758. u16 pad2g_tune_pus = 0;
  19759. if (pi->pubpi.radiorev == 5) {
  19760. write_radio_reg(pi,
  19761. RADIO_2057_VCOCAL_COUNTVAL0,
  19762. ci2->RF_vcocal_countval0);
  19763. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19764. ci2->RF_vcocal_countval1);
  19765. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19766. ci2->RF_rfpll_refmaster_sparextalsize);
  19767. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19768. ci2->RF_rfpll_loopfilter_r1);
  19769. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19770. ci2->RF_rfpll_loopfilter_c2);
  19771. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19772. ci2->RF_rfpll_loopfilter_c1);
  19773. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC,
  19774. ci2->RF_cp_kpd_idac);
  19775. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci2->RF_rfpll_mmd0);
  19776. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci2->RF_rfpll_mmd1);
  19777. write_radio_reg(pi,
  19778. RADIO_2057_VCOBUF_TUNE, ci2->RF_vcobuf_tune);
  19779. write_radio_reg(pi,
  19780. RADIO_2057_LOGEN_MX2G_TUNE,
  19781. ci2->RF_logen_mx2g_tune);
  19782. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19783. ci2->RF_logen_indbuf2g_tune);
  19784. write_radio_reg(pi,
  19785. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19786. ci2->RF_txmix2g_tune_boost_pu_core0);
  19787. write_radio_reg(pi,
  19788. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19789. ci2->RF_pad2g_tune_pus_core0);
  19790. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19791. ci2->RF_lna2g_tune_core0);
  19792. write_radio_reg(pi,
  19793. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19794. ci2->RF_txmix2g_tune_boost_pu_core1);
  19795. write_radio_reg(pi,
  19796. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19797. ci2->RF_pad2g_tune_pus_core1);
  19798. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19799. ci2->RF_lna2g_tune_core1);
  19800. } else {
  19801. write_radio_reg(pi,
  19802. RADIO_2057_VCOCAL_COUNTVAL0,
  19803. ci->RF_vcocal_countval0);
  19804. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19805. ci->RF_vcocal_countval1);
  19806. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19807. ci->RF_rfpll_refmaster_sparextalsize);
  19808. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19809. ci->RF_rfpll_loopfilter_r1);
  19810. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19811. ci->RF_rfpll_loopfilter_c2);
  19812. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19813. ci->RF_rfpll_loopfilter_c1);
  19814. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, ci->RF_cp_kpd_idac);
  19815. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci->RF_rfpll_mmd0);
  19816. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci->RF_rfpll_mmd1);
  19817. write_radio_reg(pi, RADIO_2057_VCOBUF_TUNE, ci->RF_vcobuf_tune);
  19818. write_radio_reg(pi,
  19819. RADIO_2057_LOGEN_MX2G_TUNE,
  19820. ci->RF_logen_mx2g_tune);
  19821. write_radio_reg(pi, RADIO_2057_LOGEN_MX5G_TUNE,
  19822. ci->RF_logen_mx5g_tune);
  19823. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19824. ci->RF_logen_indbuf2g_tune);
  19825. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF5G_TUNE,
  19826. ci->RF_logen_indbuf5g_tune);
  19827. write_radio_reg(pi,
  19828. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19829. ci->RF_txmix2g_tune_boost_pu_core0);
  19830. write_radio_reg(pi,
  19831. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19832. ci->RF_pad2g_tune_pus_core0);
  19833. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE0,
  19834. ci->RF_pga_boost_tune_core0);
  19835. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE0,
  19836. ci->RF_txmix5g_boost_tune_core0);
  19837. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE0,
  19838. ci->RF_pad5g_tune_misc_pus_core0);
  19839. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19840. ci->RF_lna2g_tune_core0);
  19841. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE0,
  19842. ci->RF_lna5g_tune_core0);
  19843. write_radio_reg(pi,
  19844. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19845. ci->RF_txmix2g_tune_boost_pu_core1);
  19846. write_radio_reg(pi,
  19847. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19848. ci->RF_pad2g_tune_pus_core1);
  19849. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE1,
  19850. ci->RF_pga_boost_tune_core1);
  19851. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE1,
  19852. ci->RF_txmix5g_boost_tune_core1);
  19853. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE1,
  19854. ci->RF_pad5g_tune_misc_pus_core1);
  19855. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19856. ci->RF_lna2g_tune_core1);
  19857. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE1,
  19858. ci->RF_lna5g_tune_core1);
  19859. }
  19860. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19861. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19862. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19863. 0x3f);
  19864. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19865. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19866. 0x8);
  19867. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19868. 0x8);
  19869. } else {
  19870. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19871. 0x1f);
  19872. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19873. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19874. 0x8);
  19875. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19876. 0x8);
  19877. }
  19878. } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) ||
  19879. (pi->pubpi.radiorev == 8)) {
  19880. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19881. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19882. 0x1b);
  19883. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x30);
  19884. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19885. 0xa);
  19886. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19887. 0xa);
  19888. } else {
  19889. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19890. 0x1f);
  19891. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19892. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19893. 0x8);
  19894. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19895. 0x8);
  19896. }
  19897. }
  19898. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19899. if (PHY_IPA(pi)) {
  19900. if (pi->pubpi.radiorev == 3)
  19901. txmix2g_tune_boost_pu = 0x6b;
  19902. if (pi->pubpi.radiorev == 5)
  19903. pad2g_tune_pus = 0x73;
  19904. } else {
  19905. if (pi->pubpi.radiorev != 5) {
  19906. pad2g_tune_pus = 0x3;
  19907. txmix2g_tune_boost_pu = 0x61;
  19908. }
  19909. }
  19910. for (coreNum = 0; coreNum <= 1; coreNum++) {
  19911. if (txmix2g_tune_boost_pu != 0)
  19912. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  19913. TXMIX2G_TUNE_BOOST_PU,
  19914. txmix2g_tune_boost_pu);
  19915. if (pad2g_tune_pus != 0)
  19916. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  19917. PAD2G_TUNE_PUS,
  19918. pad2g_tune_pus);
  19919. }
  19920. }
  19921. udelay(50);
  19922. wlc_phy_radio205x_vcocal_nphy(pi);
  19923. }
  19924. static void
  19925. wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec,
  19926. const struct nphy_sfo_cfg *ci)
  19927. {
  19928. u16 val;
  19929. val = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  19930. if (CHSPEC_IS5G(chanspec) && !val) {
  19931. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  19932. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  19933. (val | MAC_PHY_FORCE_CLK));
  19934. or_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  19935. (BBCFG_RESETCCA | BBCFG_RESETRX));
  19936. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  19937. or_phy_reg(pi, 0x09, NPHY_BandControl_currentBand);
  19938. } else if (!CHSPEC_IS5G(chanspec) && val) {
  19939. and_phy_reg(pi, 0x09, ~NPHY_BandControl_currentBand);
  19940. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  19941. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  19942. (val | MAC_PHY_FORCE_CLK));
  19943. and_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  19944. (u16) (~(BBCFG_RESETCCA | BBCFG_RESETRX)));
  19945. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  19946. }
  19947. write_phy_reg(pi, 0x1ce, ci->PHY_BW1a);
  19948. write_phy_reg(pi, 0x1cf, ci->PHY_BW2);
  19949. write_phy_reg(pi, 0x1d0, ci->PHY_BW3);
  19950. write_phy_reg(pi, 0x1d1, ci->PHY_BW4);
  19951. write_phy_reg(pi, 0x1d2, ci->PHY_BW5);
  19952. write_phy_reg(pi, 0x1d3, ci->PHY_BW6);
  19953. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  19954. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en, 0);
  19955. or_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, 0x800);
  19956. } else {
  19957. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en,
  19958. NPHY_ClassifierCtrl_ofdm_en);
  19959. if (CHSPEC_IS2G(chanspec))
  19960. and_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, ~0x840);
  19961. }
  19962. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF)
  19963. wlc_phy_txpwr_fixpower_nphy(pi);
  19964. if (NREV_LT(pi->pubpi.phy_rev, 3))
  19965. wlc_phy_adjust_lnagaintbl_nphy(pi);
  19966. wlc_phy_txlpfbw_nphy(pi);
  19967. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19968. && (pi->phy_spuravoid != SPURAVOID_DISABLE)) {
  19969. u8 spuravoid = 0;
  19970. val = CHSPEC_CHANNEL(chanspec);
  19971. if (!CHSPEC_IS40(pi->radio_chanspec)) {
  19972. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19973. if ((val == 13) || (val == 14) || (val == 153))
  19974. spuravoid = 1;
  19975. } else if (((val >= 5) && (val <= 8)) || (val == 13)
  19976. || (val == 14)) {
  19977. spuravoid = 1;
  19978. }
  19979. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19980. if (val == 54)
  19981. spuravoid = 1;
  19982. } else if (pi->nphy_aband_spurwar_en &&
  19983. ((val == 38) || (val == 102) || (val == 118))) {
  19984. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716)
  19985. && (pi->sh->chippkg == BCMA_PKG_ID_BCM4717)) {
  19986. spuravoid = 0;
  19987. } else {
  19988. spuravoid = 1;
  19989. }
  19990. }
  19991. if (pi->phy_spuravoid == SPURAVOID_FORCEON)
  19992. spuravoid = 1;
  19993. if ((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  19994. (pi->sh->chip == BCMA_CHIP_ID_BCM43225)) {
  19995. bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc,
  19996. spuravoid);
  19997. } else {
  19998. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, false);
  19999. bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc,
  20000. spuravoid);
  20001. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, true);
  20002. }
  20003. if ((pi->sh->chip == BCMA_CHIP_ID_BCM43224) ||
  20004. (pi->sh->chip == BCMA_CHIP_ID_BCM43225)) {
  20005. if (spuravoid == 1) {
  20006. bcma_write16(pi->d11core,
  20007. D11REGOFFS(tsf_clk_frac_l),
  20008. 0x5341);
  20009. bcma_write16(pi->d11core,
  20010. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20011. } else {
  20012. bcma_write16(pi->d11core,
  20013. D11REGOFFS(tsf_clk_frac_l),
  20014. 0x8889);
  20015. bcma_write16(pi->d11core,
  20016. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20017. }
  20018. }
  20019. if (!((pi->sh->chip == BCMA_CHIP_ID_BCM4716) ||
  20020. (pi->sh->chip == BCMA_CHIP_ID_BCM47162)))
  20021. wlapi_bmac_core_phypll_reset(pi->sh->physhim);
  20022. mod_phy_reg(pi, 0x01, (0x1 << 15),
  20023. ((spuravoid > 0) ? (0x1 << 15) : 0));
  20024. wlc_phy_resetcca_nphy(pi);
  20025. pi->phy_isspuravoid = (spuravoid > 0);
  20026. }
  20027. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20028. write_phy_reg(pi, 0x17e, 0x3830);
  20029. wlc_phy_spurwar_nphy(pi);
  20030. }
  20031. void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec)
  20032. {
  20033. int freq;
  20034. const struct chan_info_nphy_radio2057 *t0 = NULL;
  20035. const struct chan_info_nphy_radio205x *t1 = NULL;
  20036. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  20037. const struct chan_info_nphy_2055 *t3 = NULL;
  20038. if (!wlc_phy_chan2freq_nphy
  20039. (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
  20040. return;
  20041. wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
  20042. if (CHSPEC_BW(chanspec) != pi->bw)
  20043. wlapi_bmac_bw_set(pi->sh->physhim, CHSPEC_BW(chanspec));
  20044. if (CHSPEC_IS40(chanspec)) {
  20045. if (CHSPEC_SB_UPPER(chanspec)) {
  20046. or_phy_reg(pi, 0xa0, BPHY_BAND_SEL_UP20);
  20047. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20048. or_phy_reg(pi, 0x310, PRIM_SEL_UP20);
  20049. } else {
  20050. and_phy_reg(pi, 0xa0, ~BPHY_BAND_SEL_UP20);
  20051. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20052. and_phy_reg(pi, 0x310,
  20053. (~PRIM_SEL_UP20 & 0xffff));
  20054. }
  20055. }
  20056. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20057. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20058. if ((pi->pubpi.radiorev <= 4)
  20059. || (pi->pubpi.radiorev == 6)) {
  20060. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE0,
  20061. 0x2,
  20062. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20063. : 0));
  20064. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE1,
  20065. 0x2,
  20066. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20067. : 0));
  20068. }
  20069. wlc_phy_chanspec_radio2057_setup(pi, t0, t2);
  20070. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20071. (pi->pubpi.radiorev == 5) ?
  20072. (const struct nphy_sfo_cfg *)&(t2->PHY_BW1a) :
  20073. (const struct nphy_sfo_cfg *)&(t0->PHY_BW1a));
  20074. } else {
  20075. mod_radio_reg(pi,
  20076. RADIO_2056_SYN_COM_CTRL | RADIO_2056_SYN,
  20077. 0x4,
  20078. (CHSPEC_IS5G(chanspec) ? (0x1 << 2) : 0));
  20079. wlc_phy_chanspec_radio2056_setup(pi, t1);
  20080. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20081. (const struct nphy_sfo_cfg *) &(t1->PHY_BW1a));
  20082. }
  20083. } else {
  20084. mod_radio_reg(pi, RADIO_2055_MASTER_CNTRL1, 0x70,
  20085. (CHSPEC_IS5G(chanspec) ? (0x02 << 4)
  20086. : (0x05 << 4)));
  20087. wlc_phy_chanspec_radio2055_setup(pi, t3);
  20088. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20089. (const struct nphy_sfo_cfg *)
  20090. &(t3->PHY_BW1a));
  20091. }
  20092. }
  20093. void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
  20094. {
  20095. struct brcms_phy *pi = container_of(ppi, struct brcms_phy, pubpi_ro);
  20096. u16 mask = 0xfc00;
  20097. u32 mc = 0;
  20098. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20099. return;
  20100. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20101. u16 v0 = 0x211, v1 = 0x222, v2 = 0x144, v3 = 0x188;
  20102. if (!lut_init)
  20103. return;
  20104. if (pi->srom_fem2g.antswctrllut == 0) {
  20105. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20106. 1, 0x02, 16, &v0);
  20107. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20108. 1, 0x03, 16, &v1);
  20109. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20110. 1, 0x08, 16, &v2);
  20111. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20112. 1, 0x0C, 16, &v3);
  20113. }
  20114. if (pi->srom_fem5g.antswctrllut == 0) {
  20115. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20116. 1, 0x12, 16, &v0);
  20117. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20118. 1, 0x13, 16, &v1);
  20119. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20120. 1, 0x18, 16, &v2);
  20121. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20122. 1, 0x1C, 16, &v3);
  20123. }
  20124. } else {
  20125. write_phy_reg(pi, 0xc8, 0x0);
  20126. write_phy_reg(pi, 0xc9, 0x0);
  20127. bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, mask, mask);
  20128. mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  20129. mc &= ~MCTL_GPOUT_SEL_MASK;
  20130. bcma_write32(pi->d11core, D11REGOFFS(maccontrol), mc);
  20131. bcma_set16(pi->d11core, D11REGOFFS(psm_gpio_oe), mask);
  20132. bcma_mask16(pi->d11core, D11REGOFFS(psm_gpio_out), ~mask);
  20133. if (lut_init) {
  20134. write_phy_reg(pi, 0xf8, 0x02d8);
  20135. write_phy_reg(pi, 0xf9, 0x0301);
  20136. write_phy_reg(pi, 0xfa, 0x02d8);
  20137. write_phy_reg(pi, 0xfb, 0x0301);
  20138. }
  20139. }
  20140. }
  20141. u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val)
  20142. {
  20143. u16 curr_ctl, new_ctl;
  20144. bool suspended = false;
  20145. if (D11REV_IS(pi->sh->corerev, 16)) {
  20146. suspended = (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  20147. MCTL_EN_MAC) ? false : true;
  20148. if (!suspended)
  20149. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  20150. }
  20151. curr_ctl = read_phy_reg(pi, 0xb0) & (0x7 << 0);
  20152. new_ctl = (curr_ctl & (~mask)) | (val & mask);
  20153. mod_phy_reg(pi, 0xb0, (0x7 << 0), new_ctl);
  20154. if (D11REV_IS(pi->sh->corerev, 16) && !suspended)
  20155. wlapi_enable_mac(pi->sh->physhim);
  20156. return new_ctl;
  20157. }
  20158. void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd)
  20159. {
  20160. u16 trigger_mask, status_mask;
  20161. u16 orig_RfseqCoreActv;
  20162. switch (cmd) {
  20163. case NPHY_RFSEQ_RX2TX:
  20164. trigger_mask = NPHY_RfseqTrigger_rx2tx;
  20165. status_mask = NPHY_RfseqStatus_rx2tx;
  20166. break;
  20167. case NPHY_RFSEQ_TX2RX:
  20168. trigger_mask = NPHY_RfseqTrigger_tx2rx;
  20169. status_mask = NPHY_RfseqStatus_tx2rx;
  20170. break;
  20171. case NPHY_RFSEQ_RESET2RX:
  20172. trigger_mask = NPHY_RfseqTrigger_reset2rx;
  20173. status_mask = NPHY_RfseqStatus_reset2rx;
  20174. break;
  20175. case NPHY_RFSEQ_UPDATEGAINH:
  20176. trigger_mask = NPHY_RfseqTrigger_updategainh;
  20177. status_mask = NPHY_RfseqStatus_updategainh;
  20178. break;
  20179. case NPHY_RFSEQ_UPDATEGAINL:
  20180. trigger_mask = NPHY_RfseqTrigger_updategainl;
  20181. status_mask = NPHY_RfseqStatus_updategainl;
  20182. break;
  20183. case NPHY_RFSEQ_UPDATEGAINU:
  20184. trigger_mask = NPHY_RfseqTrigger_updategainu;
  20185. status_mask = NPHY_RfseqStatus_updategainu;
  20186. break;
  20187. default:
  20188. return;
  20189. }
  20190. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  20191. or_phy_reg(pi, 0xa1,
  20192. (NPHY_RfseqMode_CoreActv_override |
  20193. NPHY_RfseqMode_Trigger_override));
  20194. or_phy_reg(pi, 0xa3, trigger_mask);
  20195. SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000);
  20196. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  20197. WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf");
  20198. }
  20199. static void
  20200. wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value,
  20201. u8 core_mask, u8 off)
  20202. {
  20203. u16 rfmxgain = 0, lpfgain = 0;
  20204. u16 tgain = 0;
  20205. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20206. switch (cmd) {
  20207. case NPHY_REV7_RfctrlOverride_cmd_rxrf_pu:
  20208. wlc_phy_rfctrl_override_nphy_rev7(
  20209. pi, (0x1 << 5),
  20210. value, core_mask, off,
  20211. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20212. wlc_phy_rfctrl_override_nphy_rev7(
  20213. pi, (0x1 << 4), value,
  20214. core_mask, off,
  20215. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20216. wlc_phy_rfctrl_override_nphy_rev7(
  20217. pi, (0x1 << 3), value,
  20218. core_mask, off,
  20219. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20220. break;
  20221. case NPHY_REV7_RfctrlOverride_cmd_rx_pu:
  20222. wlc_phy_rfctrl_override_nphy_rev7(
  20223. pi, (0x1 << 2),
  20224. value, core_mask, off,
  20225. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20226. wlc_phy_rfctrl_override_nphy_rev7(
  20227. pi, (0x1 << 1), value,
  20228. core_mask, off,
  20229. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20230. wlc_phy_rfctrl_override_nphy_rev7(
  20231. pi, (0x1 << 0), value,
  20232. core_mask, off,
  20233. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20234. wlc_phy_rfctrl_override_nphy_rev7(
  20235. pi, (0x1 << 1), value,
  20236. core_mask, off,
  20237. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20238. wlc_phy_rfctrl_override_nphy_rev7(
  20239. pi, (0x1 << 11), 0,
  20240. core_mask, off,
  20241. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20242. break;
  20243. case NPHY_REV7_RfctrlOverride_cmd_tx_pu:
  20244. wlc_phy_rfctrl_override_nphy_rev7(
  20245. pi, (0x1 << 2),
  20246. value, core_mask, off,
  20247. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20248. wlc_phy_rfctrl_override_nphy_rev7(
  20249. pi, (0x1 << 1), value,
  20250. core_mask, off,
  20251. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20252. wlc_phy_rfctrl_override_nphy_rev7(
  20253. pi, (0x1 << 0), value,
  20254. core_mask, off,
  20255. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20256. wlc_phy_rfctrl_override_nphy_rev7(
  20257. pi, (0x1 << 2), value,
  20258. core_mask, off,
  20259. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20260. wlc_phy_rfctrl_override_nphy_rev7(
  20261. pi, (0x1 << 11), 1,
  20262. core_mask, off,
  20263. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20264. break;
  20265. case NPHY_REV7_RfctrlOverride_cmd_rxgain:
  20266. rfmxgain = value & 0x000ff;
  20267. lpfgain = value & 0x0ff00;
  20268. lpfgain = lpfgain >> 8;
  20269. wlc_phy_rfctrl_override_nphy_rev7(
  20270. pi, (0x1 << 11),
  20271. rfmxgain, core_mask,
  20272. off,
  20273. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20274. wlc_phy_rfctrl_override_nphy_rev7(
  20275. pi, (0x3 << 13),
  20276. lpfgain, core_mask,
  20277. off,
  20278. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20279. break;
  20280. case NPHY_REV7_RfctrlOverride_cmd_txgain:
  20281. tgain = value & 0x7fff;
  20282. lpfgain = value & 0x8000;
  20283. lpfgain = lpfgain >> 14;
  20284. wlc_phy_rfctrl_override_nphy_rev7(
  20285. pi, (0x1 << 12),
  20286. tgain, core_mask, off,
  20287. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20288. wlc_phy_rfctrl_override_nphy_rev7(
  20289. pi, (0x1 << 13),
  20290. lpfgain, core_mask,
  20291. off,
  20292. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20293. break;
  20294. }
  20295. }
  20296. }
  20297. static void
  20298. wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset,
  20299. u8 coresel, u8 rail, u8 rssi_type)
  20300. {
  20301. u16 valuetostuff;
  20302. offset = (offset > NPHY_RSSICAL_MAXREAD) ?
  20303. NPHY_RSSICAL_MAXREAD : offset;
  20304. offset = (offset < (-NPHY_RSSICAL_MAXREAD - 1)) ?
  20305. -NPHY_RSSICAL_MAXREAD - 1 : offset;
  20306. valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f);
  20307. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20308. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20309. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20310. write_phy_reg(pi, 0x1a6, valuetostuff);
  20311. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20312. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20313. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20314. write_phy_reg(pi, 0x1ac, valuetostuff);
  20315. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20316. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20317. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20318. write_phy_reg(pi, 0x1b2, valuetostuff);
  20319. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20320. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20321. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20322. write_phy_reg(pi, 0x1b8, valuetostuff);
  20323. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20324. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20325. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20326. write_phy_reg(pi, 0x1a4, valuetostuff);
  20327. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20328. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20329. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20330. write_phy_reg(pi, 0x1aa, valuetostuff);
  20331. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20332. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20333. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20334. write_phy_reg(pi, 0x1b0, valuetostuff);
  20335. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20336. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20337. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20338. write_phy_reg(pi, 0x1b6, valuetostuff);
  20339. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20340. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20341. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20342. write_phy_reg(pi, 0x1a5, valuetostuff);
  20343. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20344. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20345. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20346. write_phy_reg(pi, 0x1ab, valuetostuff);
  20347. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20348. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20349. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20350. write_phy_reg(pi, 0x1b1, valuetostuff);
  20351. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20352. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20353. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20354. write_phy_reg(pi, 0x1b7, valuetostuff);
  20355. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20356. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20357. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20358. write_phy_reg(pi, 0x1a7, valuetostuff);
  20359. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20360. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20361. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20362. write_phy_reg(pi, 0x1ad, valuetostuff);
  20363. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20364. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20365. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20366. write_phy_reg(pi, 0x1b3, valuetostuff);
  20367. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20368. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20369. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20370. write_phy_reg(pi, 0x1b9, valuetostuff);
  20371. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20372. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20373. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20374. write_phy_reg(pi, 0x1a8, valuetostuff);
  20375. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20376. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20377. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20378. write_phy_reg(pi, 0x1ae, valuetostuff);
  20379. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20380. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20381. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20382. write_phy_reg(pi, 0x1b4, valuetostuff);
  20383. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20384. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20385. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20386. write_phy_reg(pi, 0x1ba, valuetostuff);
  20387. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20388. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20389. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20390. write_phy_reg(pi, 0x1a9, valuetostuff);
  20391. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20392. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20393. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20394. write_phy_reg(pi, 0x1b5, valuetostuff);
  20395. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20396. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20397. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20398. write_phy_reg(pi, 0x1af, valuetostuff);
  20399. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20400. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20401. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20402. write_phy_reg(pi, 0x1bb, valuetostuff);
  20403. }
  20404. static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core)
  20405. {
  20406. if (PHY_IPA(pi)) {
  20407. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20408. write_radio_reg(pi,
  20409. ((core == PHY_CORE_0) ?
  20410. RADIO_2057_TX0_TX_SSI_MUX :
  20411. RADIO_2057_TX1_TX_SSI_MUX),
  20412. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20413. 0xc : 0xe));
  20414. else
  20415. write_radio_reg(pi,
  20416. RADIO_2056_TX_TX_SSI_MUX |
  20417. ((core == PHY_CORE_0) ?
  20418. RADIO_2056_TX0 : RADIO_2056_TX1),
  20419. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20420. 0xc : 0xe));
  20421. } else {
  20422. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20423. write_radio_reg(pi,
  20424. ((core == PHY_CORE_0) ?
  20425. RADIO_2057_TX0_TX_SSI_MUX :
  20426. RADIO_2057_TX1_TX_SSI_MUX),
  20427. 0x11);
  20428. if (pi->pubpi.radioid == BCM2057_ID)
  20429. write_radio_reg(pi,
  20430. RADIO_2057_IQTEST_SEL_PU, 0x1);
  20431. } else {
  20432. write_radio_reg(pi,
  20433. RADIO_2056_TX_TX_SSI_MUX |
  20434. ((core == PHY_CORE_0) ?
  20435. RADIO_2056_TX0 : RADIO_2056_TX1),
  20436. 0x11);
  20437. }
  20438. }
  20439. }
  20440. void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type)
  20441. {
  20442. u16 mask, val;
  20443. u16 afectrlovr_rssi_val, rfctrlcmd_rxen_val, rfctrlcmd_coresel_val,
  20444. startseq;
  20445. u16 rfctrlovr_rssi_val, rfctrlovr_rxen_val, rfctrlovr_coresel_val,
  20446. rfctrlovr_trigger_val;
  20447. u16 afectrlovr_rssi_mask, rfctrlcmd_mask, rfctrlovr_mask;
  20448. u16 rfctrlcmd_val, rfctrlovr_val;
  20449. u8 core;
  20450. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20451. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20452. mod_phy_reg(pi, 0x8f, (0x1 << 9), 0);
  20453. mod_phy_reg(pi, 0xa5, (0x1 << 9), 0);
  20454. mod_phy_reg(pi, 0xa6, (0x3 << 8), 0);
  20455. mod_phy_reg(pi, 0xa7, (0x3 << 8), 0);
  20456. mod_phy_reg(pi, 0xe5, (0x1 << 5), 0);
  20457. mod_phy_reg(pi, 0xe6, (0x1 << 5), 0);
  20458. mask = (0x1 << 2) |
  20459. (0x1 << 3) | (0x1 << 4) | (0x1 << 5);
  20460. mod_phy_reg(pi, 0xf9, mask, 0);
  20461. mod_phy_reg(pi, 0xfb, mask, 0);
  20462. } else {
  20463. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20464. if (core_code == RADIO_MIMO_CORESEL_CORE1
  20465. && core == PHY_CORE_1)
  20466. continue;
  20467. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  20468. && core == PHY_CORE_0)
  20469. continue;
  20470. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20471. 0x8f : 0xa5, (0x1 << 9), 1 << 9);
  20472. if (rssi_type == NPHY_RSSI_SEL_W1 ||
  20473. rssi_type == NPHY_RSSI_SEL_W2 ||
  20474. rssi_type == NPHY_RSSI_SEL_NB) {
  20475. mod_phy_reg(pi,
  20476. (core ==
  20477. PHY_CORE_0) ? 0xa6 : 0xa7,
  20478. (0x3 << 8), 0);
  20479. mask = (0x1 << 2) |
  20480. (0x1 << 3) |
  20481. (0x1 << 4) | (0x1 << 5);
  20482. mod_phy_reg(pi,
  20483. (core ==
  20484. PHY_CORE_0) ? 0xf9 : 0xfb,
  20485. mask, 0);
  20486. if (rssi_type == NPHY_RSSI_SEL_W1) {
  20487. if (CHSPEC_IS5G(
  20488. pi->radio_chanspec)) {
  20489. mask = (0x1 << 2);
  20490. val = 1 << 2;
  20491. } else {
  20492. mask = (0x1 << 3);
  20493. val = 1 << 3;
  20494. }
  20495. } else if (rssi_type ==
  20496. NPHY_RSSI_SEL_W2) {
  20497. mask = (0x1 << 4);
  20498. val = 1 << 4;
  20499. } else {
  20500. mask = (0x1 << 5);
  20501. val = 1 << 5;
  20502. }
  20503. mod_phy_reg(pi,
  20504. (core ==
  20505. PHY_CORE_0) ? 0xf9 : 0xfb,
  20506. mask, val);
  20507. mask = (0x1 << 5);
  20508. val = 1 << 5;
  20509. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20510. 0xe5 : 0xe6, mask, val);
  20511. } else {
  20512. if (rssi_type == NPHY_RSSI_SEL_TBD) {
  20513. mask = (0x3 << 8);
  20514. val = 1 << 8;
  20515. mod_phy_reg(pi,
  20516. (core ==
  20517. PHY_CORE_0) ? 0xa6
  20518. : 0xa7, mask, val);
  20519. mask = (0x3 << 10);
  20520. val = 1 << 10;
  20521. mod_phy_reg(pi,
  20522. (core ==
  20523. PHY_CORE_0) ? 0xa6
  20524. : 0xa7, mask, val);
  20525. } else if (rssi_type ==
  20526. NPHY_RSSI_SEL_IQ) {
  20527. mask = (0x3 << 8);
  20528. val = 2 << 8;
  20529. mod_phy_reg(pi,
  20530. (core ==
  20531. PHY_CORE_0) ? 0xa6
  20532. : 0xa7, mask, val);
  20533. mask = (0x3 << 10);
  20534. val = 2 << 10;
  20535. mod_phy_reg(pi,
  20536. (core ==
  20537. PHY_CORE_0) ? 0xa6
  20538. : 0xa7, mask, val);
  20539. } else {
  20540. mask = (0x3 << 8);
  20541. val = 3 << 8;
  20542. mod_phy_reg(pi,
  20543. (core ==
  20544. PHY_CORE_0) ? 0xa6
  20545. : 0xa7, mask, val);
  20546. mask = (0x3 << 10);
  20547. val = 3 << 10;
  20548. mod_phy_reg(pi,
  20549. (core ==
  20550. PHY_CORE_0) ? 0xa6
  20551. : 0xa7, mask, val);
  20552. brcms_phy_wr_tx_mux(pi, core);
  20553. afectrlovr_rssi_val = 1 << 9;
  20554. mod_phy_reg(pi,
  20555. (core ==
  20556. PHY_CORE_0) ? 0x8f
  20557. : 0xa5, (0x1 << 9),
  20558. afectrlovr_rssi_val);
  20559. }
  20560. }
  20561. }
  20562. }
  20563. } else {
  20564. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20565. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20566. (rssi_type == NPHY_RSSI_SEL_NB))
  20567. val = 0x0;
  20568. else if (rssi_type == NPHY_RSSI_SEL_TBD)
  20569. val = 0x1;
  20570. else if (rssi_type == NPHY_RSSI_SEL_IQ)
  20571. val = 0x2;
  20572. else
  20573. val = 0x3;
  20574. mask = ((0x3 << 12) | (0x3 << 14));
  20575. val = (val << 12) | (val << 14);
  20576. mod_phy_reg(pi, 0xa6, mask, val);
  20577. mod_phy_reg(pi, 0xa7, mask, val);
  20578. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20579. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20580. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20581. if (rssi_type == NPHY_RSSI_SEL_W1)
  20582. val = 0x1;
  20583. if (rssi_type == NPHY_RSSI_SEL_W2)
  20584. val = 0x2;
  20585. if (rssi_type == NPHY_RSSI_SEL_NB)
  20586. val = 0x3;
  20587. mask = (0x3 << 4);
  20588. val = (val << 4);
  20589. mod_phy_reg(pi, 0x7a, mask, val);
  20590. mod_phy_reg(pi, 0x7d, mask, val);
  20591. }
  20592. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20593. afectrlovr_rssi_val = 0;
  20594. rfctrlcmd_rxen_val = 0;
  20595. rfctrlcmd_coresel_val = 0;
  20596. rfctrlovr_rssi_val = 0;
  20597. rfctrlovr_rxen_val = 0;
  20598. rfctrlovr_coresel_val = 0;
  20599. rfctrlovr_trigger_val = 0;
  20600. startseq = 0;
  20601. } else {
  20602. afectrlovr_rssi_val = 1;
  20603. rfctrlcmd_rxen_val = 1;
  20604. rfctrlcmd_coresel_val = core_code;
  20605. rfctrlovr_rssi_val = 1;
  20606. rfctrlovr_rxen_val = 1;
  20607. rfctrlovr_coresel_val = 1;
  20608. rfctrlovr_trigger_val = 1;
  20609. startseq = 1;
  20610. }
  20611. afectrlovr_rssi_mask = ((0x1 << 12) | (0x1 << 13));
  20612. afectrlovr_rssi_val = (afectrlovr_rssi_val <<
  20613. 12) | (afectrlovr_rssi_val << 13);
  20614. mod_phy_reg(pi, 0xa5, afectrlovr_rssi_mask,
  20615. afectrlovr_rssi_val);
  20616. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20617. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20618. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20619. rfctrlcmd_mask = ((0x1 << 8) | (0x7 << 3));
  20620. rfctrlcmd_val = (rfctrlcmd_rxen_val << 8) |
  20621. (rfctrlcmd_coresel_val << 3);
  20622. rfctrlovr_mask = ((0x1 << 5) |
  20623. (0x1 << 12) |
  20624. (0x1 << 1) | (0x1 << 0));
  20625. rfctrlovr_val = (rfctrlovr_rssi_val <<
  20626. 5) |
  20627. (rfctrlovr_rxen_val << 12) |
  20628. (rfctrlovr_coresel_val << 1) |
  20629. (rfctrlovr_trigger_val << 0);
  20630. mod_phy_reg(pi, 0x78, rfctrlcmd_mask, rfctrlcmd_val);
  20631. mod_phy_reg(pi, 0xec, rfctrlovr_mask, rfctrlovr_val);
  20632. mod_phy_reg(pi, 0x78, (0x1 << 0), (startseq << 0));
  20633. udelay(20);
  20634. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  20635. }
  20636. }
  20637. }
  20638. int
  20639. wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf,
  20640. u8 nsamps)
  20641. {
  20642. s16 rssi0, rssi1;
  20643. u16 afectrlCore1_save = 0;
  20644. u16 afectrlCore2_save = 0;
  20645. u16 afectrlOverride1_save = 0;
  20646. u16 afectrlOverride2_save = 0;
  20647. u16 rfctrlOverrideAux0_save = 0;
  20648. u16 rfctrlOverrideAux1_save = 0;
  20649. u16 rfctrlMiscReg1_save = 0;
  20650. u16 rfctrlMiscReg2_save = 0;
  20651. u16 rfctrlcmd_save = 0;
  20652. u16 rfctrloverride_save = 0;
  20653. u16 rfctrlrssiothers1_save = 0;
  20654. u16 rfctrlrssiothers2_save = 0;
  20655. s8 tmp_buf[4];
  20656. u8 ctr = 0, samp = 0;
  20657. s32 rssi_out_val;
  20658. u16 gpiosel_orig;
  20659. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20660. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20661. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20662. rfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  20663. rfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  20664. afectrlOverride1_save = read_phy_reg(pi, 0x8f);
  20665. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20666. rfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  20667. rfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  20668. } else {
  20669. afectrlOverride1_save = read_phy_reg(pi, 0xa5);
  20670. rfctrlcmd_save = read_phy_reg(pi, 0x78);
  20671. rfctrloverride_save = read_phy_reg(pi, 0xec);
  20672. rfctrlrssiothers1_save = read_phy_reg(pi, 0x7a);
  20673. rfctrlrssiothers2_save = read_phy_reg(pi, 0x7d);
  20674. }
  20675. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  20676. gpiosel_orig = read_phy_reg(pi, 0xca);
  20677. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20678. write_phy_reg(pi, 0xca, 5);
  20679. for (ctr = 0; ctr < 4; ctr++)
  20680. rssi_buf[ctr] = 0;
  20681. for (samp = 0; samp < nsamps; samp++) {
  20682. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  20683. rssi0 = read_phy_reg(pi, 0x1c9);
  20684. rssi1 = read_phy_reg(pi, 0x1ca);
  20685. } else {
  20686. rssi0 = read_phy_reg(pi, 0x219);
  20687. rssi1 = read_phy_reg(pi, 0x21a);
  20688. }
  20689. ctr = 0;
  20690. tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2;
  20691. tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2;
  20692. tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2;
  20693. tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2;
  20694. for (ctr = 0; ctr < 4; ctr++)
  20695. rssi_buf[ctr] += tmp_buf[ctr];
  20696. }
  20697. rssi_out_val = rssi_buf[3] & 0xff;
  20698. rssi_out_val |= (rssi_buf[2] & 0xff) << 8;
  20699. rssi_out_val |= (rssi_buf[1] & 0xff) << 16;
  20700. rssi_out_val |= (rssi_buf[0] & 0xff) << 24;
  20701. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20702. write_phy_reg(pi, 0xca, gpiosel_orig);
  20703. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20704. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20705. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20706. write_phy_reg(pi, 0xf9, rfctrlMiscReg1_save);
  20707. write_phy_reg(pi, 0xfb, rfctrlMiscReg2_save);
  20708. write_phy_reg(pi, 0x8f, afectrlOverride1_save);
  20709. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20710. write_phy_reg(pi, 0xe5, rfctrlOverrideAux0_save);
  20711. write_phy_reg(pi, 0xe6, rfctrlOverrideAux1_save);
  20712. } else {
  20713. write_phy_reg(pi, 0xa5, afectrlOverride1_save);
  20714. write_phy_reg(pi, 0x78, rfctrlcmd_save);
  20715. write_phy_reg(pi, 0xec, rfctrloverride_save);
  20716. write_phy_reg(pi, 0x7a, rfctrlrssiothers1_save);
  20717. write_phy_reg(pi, 0x7d, rfctrlrssiothers2_save);
  20718. }
  20719. return rssi_out_val;
  20720. }
  20721. s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi)
  20722. {
  20723. u16 core1_txrf_iqcal1_save, core1_txrf_iqcal2_save;
  20724. u16 core2_txrf_iqcal1_save, core2_txrf_iqcal2_save;
  20725. u16 pwrdet_rxtx_core1_save;
  20726. u16 pwrdet_rxtx_core2_save;
  20727. u16 afectrlCore1_save;
  20728. u16 afectrlCore2_save;
  20729. u16 afectrlOverride_save;
  20730. u16 afectrlOverride2_save;
  20731. u16 pd_pll_ts_save;
  20732. u16 gpioSel_save;
  20733. s32 radio_temp[4];
  20734. s32 radio_temp2[4];
  20735. u16 syn_tempprocsense_save;
  20736. s16 offset = 0;
  20737. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20738. u16 auxADC_Vmid, auxADC_Av, auxADC_Vmid_save, auxADC_Av_save;
  20739. u16 auxADC_rssi_ctrlL_save, auxADC_rssi_ctrlH_save;
  20740. u16 auxADC_rssi_ctrlL, auxADC_rssi_ctrlH;
  20741. s32 auxADC_Vl;
  20742. u16 RfctrlOverride5_save, RfctrlOverride6_save;
  20743. u16 RfctrlMiscReg5_save, RfctrlMiscReg6_save;
  20744. u16 RSSIMultCoef0QPowerDet_save;
  20745. u16 tempsense_Rcal;
  20746. syn_tempprocsense_save =
  20747. read_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG);
  20748. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20749. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20750. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20751. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20752. RSSIMultCoef0QPowerDet_save = read_phy_reg(pi, 0x1ae);
  20753. RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  20754. RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  20755. RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  20756. RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  20757. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20758. &auxADC_Vmid_save);
  20759. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20760. &auxADC_Av_save);
  20761. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20762. &auxADC_rssi_ctrlL_save);
  20763. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20764. &auxADC_rssi_ctrlH_save);
  20765. write_phy_reg(pi, 0x1ae, 0x0);
  20766. auxADC_rssi_ctrlL = 0x0;
  20767. auxADC_rssi_ctrlH = 0x20;
  20768. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20769. &auxADC_rssi_ctrlL);
  20770. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20771. &auxADC_rssi_ctrlH);
  20772. tempsense_Rcal = syn_tempprocsense_save & 0x1c;
  20773. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20774. tempsense_Rcal | 0x01);
  20775. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  20776. 1, 0, 0,
  20777. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20778. mod_phy_reg(pi, 0xa6, (0x1 << 7), 0);
  20779. mod_phy_reg(pi, 0xa7, (0x1 << 7), 0);
  20780. mod_phy_reg(pi, 0x8f, (0x1 << 7), (0x1 << 7));
  20781. mod_phy_reg(pi, 0xa5, (0x1 << 7), (0x1 << 7));
  20782. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  20783. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  20784. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  20785. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  20786. udelay(5);
  20787. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  20788. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  20789. mod_phy_reg(pi, 0xa6, (0x1 << 3), 0);
  20790. mod_phy_reg(pi, 0xa7, (0x1 << 3), 0);
  20791. mod_phy_reg(pi, 0x8f, (0x1 << 3), (0x1 << 3));
  20792. mod_phy_reg(pi, 0xa5, (0x1 << 3), (0x1 << 3));
  20793. mod_phy_reg(pi, 0xa6, (0x1 << 6), 0);
  20794. mod_phy_reg(pi, 0xa7, (0x1 << 6), 0);
  20795. mod_phy_reg(pi, 0x8f, (0x1 << 6), (0x1 << 6));
  20796. mod_phy_reg(pi, 0xa5, (0x1 << 6), (0x1 << 6));
  20797. auxADC_Vmid = 0xA3;
  20798. auxADC_Av = 0x0;
  20799. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20800. &auxADC_Vmid);
  20801. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20802. &auxADC_Av);
  20803. udelay(3);
  20804. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20805. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20806. tempsense_Rcal | 0x03);
  20807. udelay(5);
  20808. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20809. auxADC_Av = 0x7;
  20810. if (radio_temp[1] + radio_temp2[1] < -30) {
  20811. auxADC_Vmid = 0x45;
  20812. auxADC_Vl = 263;
  20813. } else if (radio_temp[1] + radio_temp2[1] < -9) {
  20814. auxADC_Vmid = 0x200;
  20815. auxADC_Vl = 467;
  20816. } else if (radio_temp[1] + radio_temp2[1] < 11) {
  20817. auxADC_Vmid = 0x266;
  20818. auxADC_Vl = 634;
  20819. } else {
  20820. auxADC_Vmid = 0x2D5;
  20821. auxADC_Vl = 816;
  20822. }
  20823. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20824. &auxADC_Vmid);
  20825. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20826. &auxADC_Av);
  20827. udelay(3);
  20828. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20829. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20830. tempsense_Rcal | 0x01);
  20831. udelay(5);
  20832. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20833. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20834. syn_tempprocsense_save);
  20835. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20836. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20837. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  20838. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20839. write_phy_reg(pi, 0x1ae, RSSIMultCoef0QPowerDet_save);
  20840. write_phy_reg(pi, 0x346, RfctrlOverride5_save);
  20841. write_phy_reg(pi, 0x347, RfctrlOverride6_save);
  20842. write_phy_reg(pi, 0x344, RfctrlMiscReg5_save);
  20843. write_phy_reg(pi, 0x345, RfctrlMiscReg5_save);
  20844. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20845. &auxADC_Vmid_save);
  20846. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20847. &auxADC_Av_save);
  20848. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20849. &auxADC_rssi_ctrlL_save);
  20850. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20851. &auxADC_rssi_ctrlH_save);
  20852. if (pi->sh->chip == BCMA_CHIP_ID_BCM5357) {
  20853. radio_temp[0] = (193 * (radio_temp[1] + radio_temp2[1])
  20854. + 88 * (auxADC_Vl) - 27111 +
  20855. 128) / 256;
  20856. } else {
  20857. radio_temp[0] = (179 * (radio_temp[1] + radio_temp2[1])
  20858. + 82 * (auxADC_Vl) - 28861 +
  20859. 128) / 256;
  20860. }
  20861. offset = (s16) pi->phy_tempsense_offset;
  20862. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20863. syn_tempprocsense_save =
  20864. read_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE);
  20865. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20866. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20867. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20868. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20869. gpioSel_save = read_phy_reg(pi, 0xca);
  20870. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  20871. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20872. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20873. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x05);
  20874. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20875. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20876. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x01);
  20877. else
  20878. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  20879. radio_temp[0] =
  20880. (126 * (radio_temp[1] + radio_temp2[1]) + 3987) / 64;
  20881. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE,
  20882. syn_tempprocsense_save);
  20883. write_phy_reg(pi, 0xca, gpioSel_save);
  20884. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20885. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20886. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  20887. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20888. offset = (s16) pi->phy_tempsense_offset;
  20889. } else {
  20890. pwrdet_rxtx_core1_save =
  20891. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  20892. pwrdet_rxtx_core2_save =
  20893. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  20894. core1_txrf_iqcal1_save =
  20895. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  20896. core1_txrf_iqcal2_save =
  20897. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  20898. core2_txrf_iqcal1_save =
  20899. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  20900. core2_txrf_iqcal2_save =
  20901. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  20902. pd_pll_ts_save = read_radio_reg(pi, RADIO_2055_PD_PLL_TS);
  20903. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20904. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20905. afectrlOverride_save = read_phy_reg(pi, 0xa5);
  20906. gpioSel_save = read_phy_reg(pi, 0xca);
  20907. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x01);
  20908. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x01);
  20909. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x08);
  20910. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x08);
  20911. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  20912. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  20913. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, 0x00);
  20914. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20915. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20916. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20917. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20918. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20919. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20920. radio_temp[0] = (radio_temp[0] + radio_temp2[0]);
  20921. radio_temp[1] = (radio_temp[1] + radio_temp2[1]);
  20922. radio_temp[2] = (radio_temp[2] + radio_temp2[2]);
  20923. radio_temp[3] = (radio_temp[3] + radio_temp2[3]);
  20924. radio_temp[0] =
  20925. (radio_temp[0] + radio_temp[1] + radio_temp[2] +
  20926. radio_temp[3]);
  20927. radio_temp[0] =
  20928. (radio_temp[0] +
  20929. (8 * 32)) * (950 - 350) / 63 + (350 * 8);
  20930. radio_temp[0] = (radio_temp[0] - (8 * 420)) / 38;
  20931. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  20932. pwrdet_rxtx_core1_save);
  20933. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  20934. pwrdet_rxtx_core2_save);
  20935. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  20936. core1_txrf_iqcal1_save);
  20937. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  20938. core2_txrf_iqcal1_save);
  20939. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  20940. core1_txrf_iqcal2_save);
  20941. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  20942. core2_txrf_iqcal2_save);
  20943. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, pd_pll_ts_save);
  20944. write_phy_reg(pi, 0xca, gpioSel_save);
  20945. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20946. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20947. write_phy_reg(pi, 0xa5, afectrlOverride_save);
  20948. }
  20949. return (s16) radio_temp[0] + offset;
  20950. }
  20951. static void
  20952. wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf)
  20953. {
  20954. u8 core;
  20955. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20956. if (rssi_type == NPHY_RSSI_SEL_NB) {
  20957. if (core == PHY_CORE_0) {
  20958. mod_radio_reg(pi,
  20959. RADIO_2055_CORE1_B0_NBRSSI_VCM,
  20960. RADIO_2055_NBRSSI_VCM_I_MASK,
  20961. vcm_buf[2 *
  20962. core] <<
  20963. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  20964. mod_radio_reg(pi,
  20965. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  20966. RADIO_2055_NBRSSI_VCM_Q_MASK,
  20967. vcm_buf[2 * core +
  20968. 1] <<
  20969. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  20970. } else {
  20971. mod_radio_reg(pi,
  20972. RADIO_2055_CORE2_B0_NBRSSI_VCM,
  20973. RADIO_2055_NBRSSI_VCM_I_MASK,
  20974. vcm_buf[2 *
  20975. core] <<
  20976. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  20977. mod_radio_reg(pi,
  20978. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  20979. RADIO_2055_NBRSSI_VCM_Q_MASK,
  20980. vcm_buf[2 * core +
  20981. 1] <<
  20982. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  20983. }
  20984. } else {
  20985. if (core == PHY_CORE_0)
  20986. mod_radio_reg(pi,
  20987. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  20988. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  20989. vcm_buf[2 *
  20990. core] <<
  20991. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  20992. else
  20993. mod_radio_reg(pi,
  20994. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  20995. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  20996. vcm_buf[2 *
  20997. core] <<
  20998. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  20999. }
  21000. }
  21001. }
  21002. static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi)
  21003. {
  21004. u16 classif_state;
  21005. u16 clip_state[2];
  21006. u16 clip_off[] = { 0xffff, 0xffff };
  21007. s32 target_code;
  21008. u8 vcm, min_vcm;
  21009. u8 vcm_final = 0;
  21010. u8 result_idx;
  21011. s32 poll_results[8][4] = {
  21012. {0, 0, 0, 0},
  21013. {0, 0, 0, 0},
  21014. {0, 0, 0, 0},
  21015. {0, 0, 0, 0},
  21016. {0, 0, 0, 0},
  21017. {0, 0, 0, 0},
  21018. {0, 0, 0, 0},
  21019. {0, 0, 0, 0}
  21020. };
  21021. s32 poll_result_core[4] = { 0, 0, 0, 0 };
  21022. s32 min_d = NPHY_RSSICAL_MAXD, curr_d;
  21023. s32 fine_digital_offset[4];
  21024. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21025. s32 min_poll;
  21026. u8 vcm_level_max;
  21027. u8 core;
  21028. u8 wb_cnt;
  21029. u8 rssi_type;
  21030. u16 NPHY_Rfctrlintc1_save, NPHY_Rfctrlintc2_save;
  21031. u16 NPHY_AfectrlOverride1_save, NPHY_AfectrlOverride2_save;
  21032. u16 NPHY_AfectrlCore1_save, NPHY_AfectrlCore2_save;
  21033. u16 NPHY_RfctrlOverride0_save, NPHY_RfctrlOverride1_save;
  21034. u16 NPHY_RfctrlOverrideAux0_save, NPHY_RfctrlOverrideAux1_save;
  21035. u16 NPHY_RfctrlCmd_save;
  21036. u16 NPHY_RfctrlMiscReg1_save, NPHY_RfctrlMiscReg2_save;
  21037. u16 NPHY_RfctrlRSSIOTHERS1_save, NPHY_RfctrlRSSIOTHERS2_save;
  21038. u8 rxcore_state;
  21039. u16 NPHY_REV7_RfctrlOverride3_save, NPHY_REV7_RfctrlOverride4_save;
  21040. u16 NPHY_REV7_RfctrlOverride5_save, NPHY_REV7_RfctrlOverride6_save;
  21041. u16 NPHY_REV7_RfctrlMiscReg3_save, NPHY_REV7_RfctrlMiscReg4_save;
  21042. u16 NPHY_REV7_RfctrlMiscReg5_save, NPHY_REV7_RfctrlMiscReg6_save;
  21043. NPHY_REV7_RfctrlOverride3_save =
  21044. NPHY_REV7_RfctrlOverride4_save =
  21045. NPHY_REV7_RfctrlOverride5_save =
  21046. NPHY_REV7_RfctrlOverride6_save =
  21047. NPHY_REV7_RfctrlMiscReg3_save =
  21048. NPHY_REV7_RfctrlMiscReg4_save =
  21049. NPHY_REV7_RfctrlMiscReg5_save =
  21050. NPHY_REV7_RfctrlMiscReg6_save = 0;
  21051. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21052. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21053. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21054. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21055. NPHY_Rfctrlintc1_save = read_phy_reg(pi, 0x91);
  21056. NPHY_Rfctrlintc2_save = read_phy_reg(pi, 0x92);
  21057. NPHY_AfectrlOverride1_save = read_phy_reg(pi, 0x8f);
  21058. NPHY_AfectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21059. NPHY_AfectrlCore1_save = read_phy_reg(pi, 0xa6);
  21060. NPHY_AfectrlCore2_save = read_phy_reg(pi, 0xa7);
  21061. NPHY_RfctrlOverride0_save = read_phy_reg(pi, 0xe7);
  21062. NPHY_RfctrlOverride1_save = read_phy_reg(pi, 0xec);
  21063. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21064. NPHY_REV7_RfctrlOverride3_save = read_phy_reg(pi, 0x342);
  21065. NPHY_REV7_RfctrlOverride4_save = read_phy_reg(pi, 0x343);
  21066. NPHY_REV7_RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  21067. NPHY_REV7_RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  21068. }
  21069. NPHY_RfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  21070. NPHY_RfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  21071. NPHY_RfctrlCmd_save = read_phy_reg(pi, 0x78);
  21072. NPHY_RfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  21073. NPHY_RfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  21074. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21075. NPHY_REV7_RfctrlMiscReg3_save = read_phy_reg(pi, 0x340);
  21076. NPHY_REV7_RfctrlMiscReg4_save = read_phy_reg(pi, 0x341);
  21077. NPHY_REV7_RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  21078. NPHY_REV7_RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  21079. }
  21080. NPHY_RfctrlRSSIOTHERS1_save = read_phy_reg(pi, 0x7a);
  21081. NPHY_RfctrlRSSIOTHERS2_save = read_phy_reg(pi, 0x7d);
  21082. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_OFF, 0,
  21083. RADIO_MIMO_CORESEL_ALLRXTX);
  21084. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_TRSW, 1,
  21085. RADIO_MIMO_CORESEL_ALLRXTX);
  21086. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21087. wlc_phy_rfctrl_override_1tomany_nphy(
  21088. pi,
  21089. NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,
  21090. 0, 0, 0);
  21091. else
  21092. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0, 0);
  21093. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21094. wlc_phy_rfctrl_override_1tomany_nphy(
  21095. pi,
  21096. NPHY_REV7_RfctrlOverride_cmd_rx_pu,
  21097. 1, 0, 0);
  21098. else
  21099. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0, 0);
  21100. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21101. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  21102. 1, 0, 0,
  21103. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21104. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 6), 1, 0, 0,
  21105. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21106. } else {
  21107. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 7), 1, 0, 0);
  21108. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 6), 1, 0, 0);
  21109. }
  21110. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21111. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21112. wlc_phy_rfctrl_override_nphy_rev7(
  21113. pi, (0x1 << 5),
  21114. 0, 0, 0,
  21115. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21116. wlc_phy_rfctrl_override_nphy_rev7(
  21117. pi, (0x1 << 4), 1, 0,
  21118. 0,
  21119. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21120. } else {
  21121. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 0, 0, 0);
  21122. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 1, 0, 0);
  21123. }
  21124. } else {
  21125. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21126. wlc_phy_rfctrl_override_nphy_rev7(
  21127. pi, (0x1 << 4),
  21128. 0, 0, 0,
  21129. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21130. wlc_phy_rfctrl_override_nphy_rev7(
  21131. pi, (0x1 << 5), 1, 0,
  21132. 0,
  21133. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21134. } else {
  21135. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 0, 0, 0);
  21136. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 1, 0, 0);
  21137. }
  21138. }
  21139. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  21140. (struct brcms_phy_pub *) pi);
  21141. vcm_level_max = 8;
  21142. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21143. if ((rxcore_state & (1 << core)) == 0)
  21144. continue;
  21145. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21146. core ==
  21147. PHY_CORE_0 ?
  21148. RADIO_MIMO_CORESEL_CORE1 :
  21149. RADIO_MIMO_CORESEL_CORE2,
  21150. NPHY_RAIL_I, NPHY_RSSI_SEL_NB);
  21151. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21152. core ==
  21153. PHY_CORE_0 ?
  21154. RADIO_MIMO_CORESEL_CORE1 :
  21155. RADIO_MIMO_CORESEL_CORE2,
  21156. NPHY_RAIL_Q, NPHY_RSSI_SEL_NB);
  21157. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21158. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21159. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21160. RADIO_2057_NB_MASTER_CORE0 :
  21161. RADIO_2057_NB_MASTER_CORE1,
  21162. RADIO_2057_VCM_MASK, vcm);
  21163. else
  21164. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21165. ((core ==
  21166. PHY_CORE_0) ? RADIO_2056_RX0 :
  21167. RADIO_2056_RX1),
  21168. RADIO_2056_VCM_MASK,
  21169. vcm << RADIO_2056_RSSI_VCM_SHIFT);
  21170. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_NB,
  21171. &poll_results[vcm][0],
  21172. NPHY_RSSICAL_NPOLL);
  21173. }
  21174. for (result_idx = 0; result_idx < 4; result_idx++) {
  21175. if ((core == result_idx / 2) &&
  21176. (result_idx % 2 == 0)) {
  21177. min_d = NPHY_RSSICAL_MAXD;
  21178. min_vcm = 0;
  21179. min_poll =
  21180. NPHY_RSSICAL_MAXREAD *
  21181. NPHY_RSSICAL_NPOLL + 1;
  21182. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21183. curr_d =
  21184. poll_results[vcm][result_idx] *
  21185. poll_results[vcm][result_idx] +
  21186. poll_results[vcm][result_idx +
  21187. 1] *
  21188. poll_results[vcm][result_idx +
  21189. 1];
  21190. if (curr_d < min_d) {
  21191. min_d = curr_d;
  21192. min_vcm = vcm;
  21193. }
  21194. if (poll_results[vcm][result_idx] <
  21195. min_poll)
  21196. min_poll =
  21197. poll_results[vcm]
  21198. [result_idx];
  21199. }
  21200. vcm_final = min_vcm;
  21201. poll_results_min[result_idx] = min_poll;
  21202. }
  21203. }
  21204. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21205. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21206. RADIO_2057_NB_MASTER_CORE0 :
  21207. RADIO_2057_NB_MASTER_CORE1,
  21208. RADIO_2057_VCM_MASK, vcm_final);
  21209. else
  21210. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21211. ((core ==
  21212. PHY_CORE_0) ? RADIO_2056_RX0 :
  21213. RADIO_2056_RX1), RADIO_2056_VCM_MASK,
  21214. vcm_final << RADIO_2056_RSSI_VCM_SHIFT);
  21215. for (result_idx = 0; result_idx < 4; result_idx++) {
  21216. if (core == result_idx / 2) {
  21217. fine_digital_offset[result_idx] =
  21218. (NPHY_RSSICAL_NB_TARGET *
  21219. NPHY_RSSICAL_NPOLL) -
  21220. poll_results[vcm_final][result_idx];
  21221. if (fine_digital_offset[result_idx] < 0) {
  21222. fine_digital_offset[result_idx] =
  21223. abs(fine_digital_offset
  21224. [result_idx]);
  21225. fine_digital_offset[result_idx] +=
  21226. (NPHY_RSSICAL_NPOLL / 2);
  21227. fine_digital_offset[result_idx] /=
  21228. NPHY_RSSICAL_NPOLL;
  21229. fine_digital_offset[result_idx] =
  21230. -fine_digital_offset[
  21231. result_idx];
  21232. } else {
  21233. fine_digital_offset[result_idx] +=
  21234. (NPHY_RSSICAL_NPOLL / 2);
  21235. fine_digital_offset[result_idx] /=
  21236. NPHY_RSSICAL_NPOLL;
  21237. }
  21238. if (poll_results_min[result_idx] ==
  21239. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21240. fine_digital_offset[result_idx] =
  21241. (NPHY_RSSICAL_NB_TARGET -
  21242. NPHY_RSSICAL_MAXREAD - 1);
  21243. wlc_phy_scale_offset_rssi_nphy(
  21244. pi, 0x0,
  21245. (s8)
  21246. fine_digital_offset
  21247. [result_idx],
  21248. (result_idx / 2 == 0) ?
  21249. RADIO_MIMO_CORESEL_CORE1 :
  21250. RADIO_MIMO_CORESEL_CORE2,
  21251. (result_idx % 2 == 0) ?
  21252. NPHY_RAIL_I : NPHY_RAIL_Q,
  21253. NPHY_RSSI_SEL_NB);
  21254. }
  21255. }
  21256. }
  21257. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21258. if ((rxcore_state & (1 << core)) == 0)
  21259. continue;
  21260. for (wb_cnt = 0; wb_cnt < 2; wb_cnt++) {
  21261. if (wb_cnt == 0) {
  21262. rssi_type = NPHY_RSSI_SEL_W1;
  21263. target_code = NPHY_RSSICAL_W1_TARGET_REV3;
  21264. } else {
  21265. rssi_type = NPHY_RSSI_SEL_W2;
  21266. target_code = NPHY_RSSICAL_W2_TARGET_REV3;
  21267. }
  21268. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21269. core ==
  21270. PHY_CORE_0 ?
  21271. RADIO_MIMO_CORESEL_CORE1
  21272. :
  21273. RADIO_MIMO_CORESEL_CORE2,
  21274. NPHY_RAIL_I, rssi_type);
  21275. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21276. core ==
  21277. PHY_CORE_0 ?
  21278. RADIO_MIMO_CORESEL_CORE1
  21279. :
  21280. RADIO_MIMO_CORESEL_CORE2,
  21281. NPHY_RAIL_Q, rssi_type);
  21282. wlc_phy_poll_rssi_nphy(pi, rssi_type, poll_result_core,
  21283. NPHY_RSSICAL_NPOLL);
  21284. for (result_idx = 0; result_idx < 4; result_idx++) {
  21285. if (core == result_idx / 2) {
  21286. fine_digital_offset[result_idx] =
  21287. (target_code *
  21288. NPHY_RSSICAL_NPOLL) -
  21289. poll_result_core[result_idx];
  21290. if (fine_digital_offset[result_idx] <
  21291. 0) {
  21292. fine_digital_offset[result_idx]
  21293. = abs(
  21294. fine_digital_offset
  21295. [result_idx]);
  21296. fine_digital_offset[result_idx]
  21297. += (NPHY_RSSICAL_NPOLL
  21298. / 2);
  21299. fine_digital_offset[result_idx]
  21300. /= NPHY_RSSICAL_NPOLL;
  21301. fine_digital_offset[result_idx]
  21302. = -fine_digital_offset
  21303. [result_idx];
  21304. } else {
  21305. fine_digital_offset[result_idx]
  21306. += (NPHY_RSSICAL_NPOLL
  21307. / 2);
  21308. fine_digital_offset[result_idx]
  21309. /= NPHY_RSSICAL_NPOLL;
  21310. }
  21311. wlc_phy_scale_offset_rssi_nphy(
  21312. pi, 0x0,
  21313. (s8)
  21314. fine_digital_offset
  21315. [core *
  21316. 2],
  21317. (core == PHY_CORE_0) ?
  21318. RADIO_MIMO_CORESEL_CORE1 :
  21319. RADIO_MIMO_CORESEL_CORE2,
  21320. (result_idx % 2 == 0) ?
  21321. NPHY_RAIL_I :
  21322. NPHY_RAIL_Q,
  21323. rssi_type);
  21324. }
  21325. }
  21326. }
  21327. }
  21328. write_phy_reg(pi, 0x91, NPHY_Rfctrlintc1_save);
  21329. write_phy_reg(pi, 0x92, NPHY_Rfctrlintc2_save);
  21330. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  21331. mod_phy_reg(pi, 0xe7, (0x1 << 0), 1 << 0);
  21332. mod_phy_reg(pi, 0x78, (0x1 << 0), 1 << 0);
  21333. mod_phy_reg(pi, 0xe7, (0x1 << 0), 0);
  21334. mod_phy_reg(pi, 0xec, (0x1 << 0), 1 << 0);
  21335. mod_phy_reg(pi, 0x78, (0x1 << 1), 1 << 1);
  21336. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  21337. write_phy_reg(pi, 0x8f, NPHY_AfectrlOverride1_save);
  21338. write_phy_reg(pi, 0xa5, NPHY_AfectrlOverride2_save);
  21339. write_phy_reg(pi, 0xa6, NPHY_AfectrlCore1_save);
  21340. write_phy_reg(pi, 0xa7, NPHY_AfectrlCore2_save);
  21341. write_phy_reg(pi, 0xe7, NPHY_RfctrlOverride0_save);
  21342. write_phy_reg(pi, 0xec, NPHY_RfctrlOverride1_save);
  21343. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21344. write_phy_reg(pi, 0x342, NPHY_REV7_RfctrlOverride3_save);
  21345. write_phy_reg(pi, 0x343, NPHY_REV7_RfctrlOverride4_save);
  21346. write_phy_reg(pi, 0x346, NPHY_REV7_RfctrlOverride5_save);
  21347. write_phy_reg(pi, 0x347, NPHY_REV7_RfctrlOverride6_save);
  21348. }
  21349. write_phy_reg(pi, 0xe5, NPHY_RfctrlOverrideAux0_save);
  21350. write_phy_reg(pi, 0xe6, NPHY_RfctrlOverrideAux1_save);
  21351. write_phy_reg(pi, 0x78, NPHY_RfctrlCmd_save);
  21352. write_phy_reg(pi, 0xf9, NPHY_RfctrlMiscReg1_save);
  21353. write_phy_reg(pi, 0xfb, NPHY_RfctrlMiscReg2_save);
  21354. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21355. write_phy_reg(pi, 0x340, NPHY_REV7_RfctrlMiscReg3_save);
  21356. write_phy_reg(pi, 0x341, NPHY_REV7_RfctrlMiscReg4_save);
  21357. write_phy_reg(pi, 0x344, NPHY_REV7_RfctrlMiscReg5_save);
  21358. write_phy_reg(pi, 0x345, NPHY_REV7_RfctrlMiscReg6_save);
  21359. }
  21360. write_phy_reg(pi, 0x7a, NPHY_RfctrlRSSIOTHERS1_save);
  21361. write_phy_reg(pi, 0x7d, NPHY_RfctrlRSSIOTHERS2_save);
  21362. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  21363. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21364. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21365. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21366. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21367. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21368. } else {
  21369. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21370. read_radio_reg(pi,
  21371. RADIO_2056_RX_RSSI_MISC |
  21372. RADIO_2056_RX0);
  21373. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21374. read_radio_reg(pi,
  21375. RADIO_2056_RX_RSSI_MISC |
  21376. RADIO_2056_RX1);
  21377. }
  21378. pi->rssical_cache.rssical_phyregs_2G[0] =
  21379. read_phy_reg(pi, 0x1a6);
  21380. pi->rssical_cache.rssical_phyregs_2G[1] =
  21381. read_phy_reg(pi, 0x1ac);
  21382. pi->rssical_cache.rssical_phyregs_2G[2] =
  21383. read_phy_reg(pi, 0x1b2);
  21384. pi->rssical_cache.rssical_phyregs_2G[3] =
  21385. read_phy_reg(pi, 0x1b8);
  21386. pi->rssical_cache.rssical_phyregs_2G[4] =
  21387. read_phy_reg(pi, 0x1a4);
  21388. pi->rssical_cache.rssical_phyregs_2G[5] =
  21389. read_phy_reg(pi, 0x1aa);
  21390. pi->rssical_cache.rssical_phyregs_2G[6] =
  21391. read_phy_reg(pi, 0x1b0);
  21392. pi->rssical_cache.rssical_phyregs_2G[7] =
  21393. read_phy_reg(pi, 0x1b6);
  21394. pi->rssical_cache.rssical_phyregs_2G[8] =
  21395. read_phy_reg(pi, 0x1a5);
  21396. pi->rssical_cache.rssical_phyregs_2G[9] =
  21397. read_phy_reg(pi, 0x1ab);
  21398. pi->rssical_cache.rssical_phyregs_2G[10] =
  21399. read_phy_reg(pi, 0x1b1);
  21400. pi->rssical_cache.rssical_phyregs_2G[11] =
  21401. read_phy_reg(pi, 0x1b7);
  21402. pi->nphy_rssical_chanspec_2G = pi->radio_chanspec;
  21403. } else {
  21404. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21405. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21406. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21407. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21408. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21409. } else {
  21410. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21411. read_radio_reg(pi,
  21412. RADIO_2056_RX_RSSI_MISC |
  21413. RADIO_2056_RX0);
  21414. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21415. read_radio_reg(pi,
  21416. RADIO_2056_RX_RSSI_MISC |
  21417. RADIO_2056_RX1);
  21418. }
  21419. pi->rssical_cache.rssical_phyregs_5G[0] =
  21420. read_phy_reg(pi, 0x1a6);
  21421. pi->rssical_cache.rssical_phyregs_5G[1] =
  21422. read_phy_reg(pi, 0x1ac);
  21423. pi->rssical_cache.rssical_phyregs_5G[2] =
  21424. read_phy_reg(pi, 0x1b2);
  21425. pi->rssical_cache.rssical_phyregs_5G[3] =
  21426. read_phy_reg(pi, 0x1b8);
  21427. pi->rssical_cache.rssical_phyregs_5G[4] =
  21428. read_phy_reg(pi, 0x1a4);
  21429. pi->rssical_cache.rssical_phyregs_5G[5] =
  21430. read_phy_reg(pi, 0x1aa);
  21431. pi->rssical_cache.rssical_phyregs_5G[6] =
  21432. read_phy_reg(pi, 0x1b0);
  21433. pi->rssical_cache.rssical_phyregs_5G[7] =
  21434. read_phy_reg(pi, 0x1b6);
  21435. pi->rssical_cache.rssical_phyregs_5G[8] =
  21436. read_phy_reg(pi, 0x1a5);
  21437. pi->rssical_cache.rssical_phyregs_5G[9] =
  21438. read_phy_reg(pi, 0x1ab);
  21439. pi->rssical_cache.rssical_phyregs_5G[10] =
  21440. read_phy_reg(pi, 0x1b1);
  21441. pi->rssical_cache.rssical_phyregs_5G[11] =
  21442. read_phy_reg(pi, 0x1b7);
  21443. pi->nphy_rssical_chanspec_5G = pi->radio_chanspec;
  21444. }
  21445. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21446. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21447. }
  21448. static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
  21449. {
  21450. s32 target_code;
  21451. u16 classif_state;
  21452. u16 clip_state[2];
  21453. u16 rssi_ctrl_state[2], pd_state[2];
  21454. u16 rfctrlintc_state[2], rfpdcorerxtx_state[2];
  21455. u16 rfctrlintc_override_val;
  21456. u16 clip_off[] = { 0xffff, 0xffff };
  21457. u16 rf_pd_val, pd_mask, rssi_ctrl_mask;
  21458. u8 vcm, min_vcm, vcm_tmp[4];
  21459. u8 vcm_final[4] = { 0, 0, 0, 0 };
  21460. u8 result_idx, ctr;
  21461. s32 poll_results[4][4] = {
  21462. {0, 0, 0, 0},
  21463. {0, 0, 0, 0},
  21464. {0, 0, 0, 0},
  21465. {0, 0, 0, 0}
  21466. };
  21467. s32 poll_miniq[4][2] = {
  21468. {0, 0},
  21469. {0, 0},
  21470. {0, 0},
  21471. {0, 0}
  21472. };
  21473. s32 min_d, curr_d;
  21474. s32 fine_digital_offset[4];
  21475. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21476. s32 min_poll;
  21477. switch (rssi_type) {
  21478. case NPHY_RSSI_SEL_NB:
  21479. target_code = NPHY_RSSICAL_NB_TARGET;
  21480. break;
  21481. case NPHY_RSSI_SEL_W1:
  21482. target_code = NPHY_RSSICAL_W1_TARGET;
  21483. break;
  21484. case NPHY_RSSI_SEL_W2:
  21485. target_code = NPHY_RSSICAL_W2_TARGET;
  21486. break;
  21487. default:
  21488. return;
  21489. }
  21490. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21491. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21492. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21493. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21494. rf_pd_val = (rssi_type == NPHY_RSSI_SEL_NB) ? 0x6 : 0x4;
  21495. rfctrlintc_override_val =
  21496. CHSPEC_IS5G(pi->radio_chanspec) ? 0x140 : 0x110;
  21497. rfctrlintc_state[0] = read_phy_reg(pi, 0x91);
  21498. rfpdcorerxtx_state[0] = read_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX);
  21499. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  21500. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rf_pd_val);
  21501. rfctrlintc_state[1] = read_phy_reg(pi, 0x92);
  21502. rfpdcorerxtx_state[1] = read_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX);
  21503. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  21504. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rf_pd_val);
  21505. pd_mask = RADIO_2055_NBRSSI_PD | RADIO_2055_WBRSSI_G1_PD |
  21506. RADIO_2055_WBRSSI_G2_PD;
  21507. pd_state[0] =
  21508. read_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC) & pd_mask;
  21509. pd_state[1] =
  21510. read_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC) & pd_mask;
  21511. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, 0);
  21512. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, 0);
  21513. rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  21514. RADIO_2055_WBRSSI_G2_SEL;
  21515. rssi_ctrl_state[0] =
  21516. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE1) & rssi_ctrl_mask;
  21517. rssi_ctrl_state[1] =
  21518. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE2) & rssi_ctrl_mask;
  21519. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  21520. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21521. NPHY_RAIL_I, rssi_type);
  21522. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21523. NPHY_RAIL_Q, rssi_type);
  21524. for (vcm = 0; vcm < 4; vcm++) {
  21525. vcm_tmp[0] = vcm_tmp[1] = vcm_tmp[2] = vcm_tmp[3] = vcm;
  21526. if (rssi_type != NPHY_RSSI_SEL_W2)
  21527. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_tmp);
  21528. wlc_phy_poll_rssi_nphy(pi, rssi_type, &poll_results[vcm][0],
  21529. NPHY_RSSICAL_NPOLL);
  21530. if ((rssi_type == NPHY_RSSI_SEL_W1)
  21531. || (rssi_type == NPHY_RSSI_SEL_W2)) {
  21532. for (ctr = 0; ctr < 2; ctr++)
  21533. poll_miniq[vcm][ctr] =
  21534. min(poll_results[vcm][ctr * 2 + 0],
  21535. poll_results[vcm][ctr * 2 + 1]);
  21536. }
  21537. }
  21538. for (result_idx = 0; result_idx < 4; result_idx++) {
  21539. min_d = NPHY_RSSICAL_MAXD;
  21540. min_vcm = 0;
  21541. min_poll = NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL + 1;
  21542. for (vcm = 0; vcm < 4; vcm++) {
  21543. curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ?
  21544. poll_results[vcm][result_idx] :
  21545. poll_miniq[vcm][result_idx / 2]) -
  21546. (target_code * NPHY_RSSICAL_NPOLL));
  21547. if (curr_d < min_d) {
  21548. min_d = curr_d;
  21549. min_vcm = vcm;
  21550. }
  21551. if (poll_results[vcm][result_idx] < min_poll)
  21552. min_poll = poll_results[vcm][result_idx];
  21553. }
  21554. vcm_final[result_idx] = min_vcm;
  21555. poll_results_min[result_idx] = min_poll;
  21556. }
  21557. if (rssi_type != NPHY_RSSI_SEL_W2)
  21558. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_final);
  21559. for (result_idx = 0; result_idx < 4; result_idx++) {
  21560. fine_digital_offset[result_idx] =
  21561. (target_code * NPHY_RSSICAL_NPOLL) -
  21562. poll_results[vcm_final[result_idx]][result_idx];
  21563. if (fine_digital_offset[result_idx] < 0) {
  21564. fine_digital_offset[result_idx] =
  21565. abs(fine_digital_offset[result_idx]);
  21566. fine_digital_offset[result_idx] +=
  21567. (NPHY_RSSICAL_NPOLL / 2);
  21568. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21569. fine_digital_offset[result_idx] =
  21570. -fine_digital_offset[result_idx];
  21571. } else {
  21572. fine_digital_offset[result_idx] +=
  21573. (NPHY_RSSICAL_NPOLL / 2);
  21574. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21575. }
  21576. if (poll_results_min[result_idx] ==
  21577. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21578. fine_digital_offset[result_idx] =
  21579. (target_code - NPHY_RSSICAL_MAXREAD - 1);
  21580. wlc_phy_scale_offset_rssi_nphy(pi, 0x0,
  21581. (s8)
  21582. fine_digital_offset[result_idx],
  21583. (result_idx / 2 ==
  21584. 0) ? RADIO_MIMO_CORESEL_CORE1 :
  21585. RADIO_MIMO_CORESEL_CORE2,
  21586. (result_idx % 2 ==
  21587. 0) ? NPHY_RAIL_I : NPHY_RAIL_Q,
  21588. rssi_type);
  21589. }
  21590. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, pd_state[0]);
  21591. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, pd_state[1]);
  21592. if (rssi_ctrl_state[0] == RADIO_2055_NBRSSI_SEL)
  21593. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21594. NPHY_RSSI_SEL_NB);
  21595. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G1_SEL)
  21596. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21597. NPHY_RSSI_SEL_W1);
  21598. else /* RADIO_2055_WBRSSI_G2_SEL */
  21599. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21600. NPHY_RSSI_SEL_W2);
  21601. if (rssi_ctrl_state[1] == RADIO_2055_NBRSSI_SEL)
  21602. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21603. NPHY_RSSI_SEL_NB);
  21604. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G1_SEL)
  21605. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21606. NPHY_RSSI_SEL_W1);
  21607. else /* RADIO_2055_WBRSSI_G1_SEL */
  21608. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21609. NPHY_RSSI_SEL_W2);
  21610. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, rssi_type);
  21611. write_phy_reg(pi, 0x91, rfctrlintc_state[0]);
  21612. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rfpdcorerxtx_state[0]);
  21613. write_phy_reg(pi, 0x92, rfctrlintc_state[1]);
  21614. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rfpdcorerxtx_state[1]);
  21615. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21616. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21617. wlc_phy_resetcca_nphy(pi);
  21618. }
  21619. void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi)
  21620. {
  21621. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21622. wlc_phy_rssi_cal_nphy_rev3(pi);
  21623. } else {
  21624. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_NB);
  21625. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W1);
  21626. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W2);
  21627. }
  21628. }
  21629. int
  21630. wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh)
  21631. {
  21632. s16 rxpwr, rxpwr0, rxpwr1;
  21633. s16 phyRx0_l, phyRx2_l;
  21634. rxpwr = 0;
  21635. rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK;
  21636. rxpwr1 = (rxh->PhyRxStatus_1 & PRXS1_nphy_PWR1_MASK) >> 8;
  21637. if (rxpwr0 > 127)
  21638. rxpwr0 -= 256;
  21639. if (rxpwr1 > 127)
  21640. rxpwr1 -= 256;
  21641. phyRx0_l = rxh->PhyRxStatus_0 & 0x00ff;
  21642. phyRx2_l = rxh->PhyRxStatus_2 & 0x00ff;
  21643. if (phyRx2_l > 127)
  21644. phyRx2_l -= 256;
  21645. if (((rxpwr0 == 16) || (rxpwr0 == 32))) {
  21646. rxpwr0 = rxpwr1;
  21647. rxpwr1 = phyRx2_l;
  21648. }
  21649. if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MAX)
  21650. rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1;
  21651. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MIN)
  21652. rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1;
  21653. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_AVG)
  21654. rxpwr = (rxpwr0 + rxpwr1) >> 1;
  21655. return rxpwr;
  21656. }
  21657. static void
  21658. wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf,
  21659. u16 num_samps)
  21660. {
  21661. u16 t;
  21662. u32 *data_buf = NULL;
  21663. data_buf = kmalloc(sizeof(u32) * num_samps, GFP_ATOMIC);
  21664. if (data_buf == NULL)
  21665. return;
  21666. if (pi->phyhang_avoid)
  21667. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21668. for (t = 0; t < num_samps; t++)
  21669. data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) |
  21670. (((unsigned int)tone_buf[t].q) & 0x3ff);
  21671. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SAMPLEPLAY, num_samps, 0, 32,
  21672. data_buf);
  21673. kfree(data_buf);
  21674. if (pi->phyhang_avoid)
  21675. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21676. }
  21677. static u16
  21678. wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21679. u8 dac_test_mode)
  21680. {
  21681. u8 phy_bw, is_phybw40;
  21682. u16 num_samps, t, spur;
  21683. s32 theta = 0, rot = 0;
  21684. u32 tbl_len;
  21685. struct cordic_iq *tone_buf = NULL;
  21686. is_phybw40 = CHSPEC_IS40(pi->radio_chanspec);
  21687. phy_bw = (is_phybw40 == 1) ? 40 : 20;
  21688. tbl_len = (phy_bw << 3);
  21689. if (dac_test_mode == 1) {
  21690. spur = read_phy_reg(pi, 0x01);
  21691. spur = (spur >> 15) & 1;
  21692. phy_bw = (spur == 1) ? 82 : 80;
  21693. phy_bw = (is_phybw40 == 1) ? (phy_bw << 1) : phy_bw;
  21694. tbl_len = (phy_bw << 1);
  21695. }
  21696. tone_buf = kmalloc(sizeof(struct cordic_iq) * tbl_len, GFP_ATOMIC);
  21697. if (tone_buf == NULL)
  21698. return 0;
  21699. num_samps = (u16) tbl_len;
  21700. rot = ((f_kHz * 36) / phy_bw) / 100;
  21701. theta = 0;
  21702. for (t = 0; t < num_samps; t++) {
  21703. tone_buf[t] = cordic_calc_iq(theta);
  21704. theta += rot;
  21705. tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val);
  21706. tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val);
  21707. }
  21708. wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps);
  21709. kfree(tone_buf);
  21710. return num_samps;
  21711. }
  21712. static void
  21713. wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops,
  21714. u16 wait, u8 iqmode, u8 dac_test_mode,
  21715. bool modify_bbmult)
  21716. {
  21717. u16 bb_mult;
  21718. u8 phy_bw, sample_cmd;
  21719. u16 orig_RfseqCoreActv;
  21720. u16 lpf_bw_ctl_override3, lpf_bw_ctl_override4, lpf_bw_ctl_miscreg3,
  21721. lpf_bw_ctl_miscreg4;
  21722. if (pi->phyhang_avoid)
  21723. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21724. phy_bw = 20;
  21725. if (CHSPEC_IS40(pi->radio_chanspec))
  21726. phy_bw = 40;
  21727. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21728. lpf_bw_ctl_override3 = read_phy_reg(pi, 0x342) & (0x1 << 7);
  21729. lpf_bw_ctl_override4 = read_phy_reg(pi, 0x343) & (0x1 << 7);
  21730. if (lpf_bw_ctl_override3 | lpf_bw_ctl_override4) {
  21731. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21732. (0x7 << 8);
  21733. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21734. (0x7 << 8);
  21735. } else {
  21736. wlc_phy_rfctrl_override_nphy_rev7(
  21737. pi,
  21738. (0x1 << 7),
  21739. wlc_phy_read_lpf_bw_ctl_nphy
  21740. (pi,
  21741. 0), 0, 0,
  21742. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21743. pi->nphy_sample_play_lpf_bw_ctl_ovr = true;
  21744. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21745. (0x7 << 8);
  21746. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21747. (0x7 << 8);
  21748. }
  21749. }
  21750. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) == 0) {
  21751. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21752. &bb_mult);
  21753. pi->nphy_bb_mult_save =
  21754. BB_MULT_VALID_MASK | (bb_mult & BB_MULT_MASK);
  21755. }
  21756. if (modify_bbmult) {
  21757. bb_mult = (phy_bw == 20) ? 100 : 71;
  21758. bb_mult = (bb_mult << 8) + bb_mult;
  21759. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21760. &bb_mult);
  21761. }
  21762. if (pi->phyhang_avoid)
  21763. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21764. write_phy_reg(pi, 0xc6, num_samps - 1);
  21765. if (loops != 0xffff)
  21766. write_phy_reg(pi, 0xc4, loops - 1);
  21767. else
  21768. write_phy_reg(pi, 0xc4, loops);
  21769. write_phy_reg(pi, 0xc5, wait);
  21770. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  21771. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  21772. if (iqmode) {
  21773. and_phy_reg(pi, 0xc2, 0x7FFF);
  21774. or_phy_reg(pi, 0xc2, 0x8000);
  21775. } else {
  21776. sample_cmd = (dac_test_mode == 1) ? 0x5 : 0x1;
  21777. write_phy_reg(pi, 0xc3, sample_cmd);
  21778. }
  21779. SPINWAIT(((read_phy_reg(pi, 0xa4) & 0x1) == 1), 1000);
  21780. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  21781. }
  21782. int
  21783. wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21784. u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
  21785. {
  21786. u16 num_samps;
  21787. u16 loops = 0xffff;
  21788. u16 wait = 0;
  21789. num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val,
  21790. dac_test_mode);
  21791. if (num_samps == 0)
  21792. return -EBADE;
  21793. wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode,
  21794. dac_test_mode, modify_bbmult);
  21795. return 0;
  21796. }
  21797. void wlc_phy_stopplayback_nphy(struct brcms_phy *pi)
  21798. {
  21799. u16 playback_status;
  21800. u16 bb_mult;
  21801. if (pi->phyhang_avoid)
  21802. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21803. playback_status = read_phy_reg(pi, 0xc7);
  21804. if (playback_status & 0x1)
  21805. or_phy_reg(pi, 0xc3, NPHY_sampleCmd_STOP);
  21806. else if (playback_status & 0x2)
  21807. and_phy_reg(pi, 0xc2,
  21808. (u16) ~NPHY_iqloCalCmdGctl_IQLO_CAL_EN);
  21809. and_phy_reg(pi, 0xc3, (u16) ~(0x1 << 2));
  21810. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) != 0) {
  21811. bb_mult = pi->nphy_bb_mult_save & BB_MULT_MASK;
  21812. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21813. &bb_mult);
  21814. pi->nphy_bb_mult_save = 0;
  21815. }
  21816. if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) {
  21817. if (pi->nphy_sample_play_lpf_bw_ctl_ovr) {
  21818. wlc_phy_rfctrl_override_nphy_rev7(
  21819. pi,
  21820. (0x1 << 7),
  21821. 0, 0, 1,
  21822. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21823. pi->nphy_sample_play_lpf_bw_ctl_ovr = false;
  21824. }
  21825. }
  21826. if (pi->phyhang_avoid)
  21827. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21828. }
  21829. static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi)
  21830. {
  21831. u32 *tx_pwrctrl_tbl = NULL;
  21832. uint phyrev = pi->pubpi.phy_rev;
  21833. if (PHY_IPA(pi)) {
  21834. tx_pwrctrl_tbl =
  21835. wlc_phy_get_ipa_gaintbl_nphy(pi);
  21836. } else {
  21837. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21838. if (NREV_IS(phyrev, 3))
  21839. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev3;
  21840. else if (NREV_IS(phyrev, 4))
  21841. tx_pwrctrl_tbl =
  21842. (pi->srom_fem5g.extpagain == 3) ?
  21843. nphy_tpc_5GHz_txgain_HiPwrEPA :
  21844. nphy_tpc_5GHz_txgain_rev4;
  21845. else
  21846. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev5;
  21847. } else {
  21848. if (NREV_GE(phyrev, 7)) {
  21849. if (pi->pubpi.radiorev == 3)
  21850. tx_pwrctrl_tbl =
  21851. nphy_tpc_txgain_epa_2057rev3;
  21852. else if (pi->pubpi.radiorev == 5)
  21853. tx_pwrctrl_tbl =
  21854. nphy_tpc_txgain_epa_2057rev5;
  21855. } else {
  21856. if (NREV_GE(phyrev, 5) &&
  21857. (pi->srom_fem2g.extpagain == 3))
  21858. tx_pwrctrl_tbl =
  21859. nphy_tpc_txgain_HiPwrEPA;
  21860. else
  21861. tx_pwrctrl_tbl =
  21862. nphy_tpc_txgain_rev3;
  21863. }
  21864. }
  21865. }
  21866. return tx_pwrctrl_tbl;
  21867. }
  21868. struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi)
  21869. {
  21870. u16 base_idx[2], curr_gain[2];
  21871. u8 core_no;
  21872. struct nphy_txgains target_gain;
  21873. u32 *tx_pwrctrl_tbl = NULL;
  21874. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF) {
  21875. if (pi->phyhang_avoid)
  21876. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21877. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  21878. curr_gain);
  21879. if (pi->phyhang_avoid)
  21880. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21881. for (core_no = 0; core_no < 2; core_no++) {
  21882. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21883. target_gain.ipa[core_no] =
  21884. curr_gain[core_no] & 0x0007;
  21885. target_gain.pad[core_no] =
  21886. ((curr_gain[core_no] & 0x00F8) >> 3);
  21887. target_gain.pga[core_no] =
  21888. ((curr_gain[core_no] & 0x0F00) >> 8);
  21889. target_gain.txgm[core_no] =
  21890. ((curr_gain[core_no] & 0x7000) >> 12);
  21891. target_gain.txlpf[core_no] =
  21892. ((curr_gain[core_no] & 0x8000) >> 15);
  21893. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21894. target_gain.ipa[core_no] =
  21895. curr_gain[core_no] & 0x000F;
  21896. target_gain.pad[core_no] =
  21897. ((curr_gain[core_no] & 0x00F0) >> 4);
  21898. target_gain.pga[core_no] =
  21899. ((curr_gain[core_no] & 0x0F00) >> 8);
  21900. target_gain.txgm[core_no] =
  21901. ((curr_gain[core_no] & 0x7000) >> 12);
  21902. } else {
  21903. target_gain.ipa[core_no] =
  21904. curr_gain[core_no] & 0x0003;
  21905. target_gain.pad[core_no] =
  21906. ((curr_gain[core_no] & 0x000C) >> 2);
  21907. target_gain.pga[core_no] =
  21908. ((curr_gain[core_no] & 0x0070) >> 4);
  21909. target_gain.txgm[core_no] =
  21910. ((curr_gain[core_no] & 0x0380) >> 7);
  21911. }
  21912. }
  21913. } else {
  21914. uint phyrev = pi->pubpi.phy_rev;
  21915. base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f;
  21916. base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f;
  21917. for (core_no = 0; core_no < 2; core_no++) {
  21918. if (NREV_GE(phyrev, 3)) {
  21919. tx_pwrctrl_tbl =
  21920. brcms_phy_get_tx_pwrctrl_tbl(pi);
  21921. if (NREV_GE(phyrev, 7)) {
  21922. target_gain.ipa[core_no] =
  21923. (tx_pwrctrl_tbl
  21924. [base_idx[core_no]]
  21925. >> 16) & 0x7;
  21926. target_gain.pad[core_no] =
  21927. (tx_pwrctrl_tbl
  21928. [base_idx[core_no]]
  21929. >> 19) & 0x1f;
  21930. target_gain.pga[core_no] =
  21931. (tx_pwrctrl_tbl
  21932. [base_idx[core_no]]
  21933. >> 24) & 0xf;
  21934. target_gain.txgm[core_no] =
  21935. (tx_pwrctrl_tbl
  21936. [base_idx[core_no]]
  21937. >> 28) & 0x7;
  21938. target_gain.txlpf[core_no] =
  21939. (tx_pwrctrl_tbl
  21940. [base_idx[core_no]]
  21941. >> 31) & 0x1;
  21942. } else {
  21943. target_gain.ipa[core_no] =
  21944. (tx_pwrctrl_tbl
  21945. [base_idx[core_no]]
  21946. >> 16) & 0xf;
  21947. target_gain.pad[core_no] =
  21948. (tx_pwrctrl_tbl
  21949. [base_idx[core_no]]
  21950. >> 20) & 0xf;
  21951. target_gain.pga[core_no] =
  21952. (tx_pwrctrl_tbl
  21953. [base_idx[core_no]]
  21954. >> 24) & 0xf;
  21955. target_gain.txgm[core_no] =
  21956. (tx_pwrctrl_tbl
  21957. [base_idx[core_no]]
  21958. >> 28) & 0x7;
  21959. }
  21960. } else {
  21961. target_gain.ipa[core_no] =
  21962. (nphy_tpc_txgain[base_idx[core_no]] >>
  21963. 16) & 0x3;
  21964. target_gain.pad[core_no] =
  21965. (nphy_tpc_txgain[base_idx[core_no]] >>
  21966. 18) & 0x3;
  21967. target_gain.pga[core_no] =
  21968. (nphy_tpc_txgain[base_idx[core_no]] >>
  21969. 20) & 0x7;
  21970. target_gain.txgm[core_no] =
  21971. (nphy_tpc_txgain[base_idx[core_no]] >>
  21972. 23) & 0x7;
  21973. }
  21974. }
  21975. }
  21976. return target_gain;
  21977. }
  21978. static void
  21979. wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no,
  21980. struct nphy_txgains target_gain,
  21981. struct nphy_iqcal_params *params)
  21982. {
  21983. u8 k;
  21984. int idx;
  21985. u16 gain_index;
  21986. u8 band_idx = (CHSPEC_IS5G(pi->radio_chanspec) ? 1 : 0);
  21987. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21988. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21989. params->txlpf = target_gain.txlpf[core_no];
  21990. params->txgm = target_gain.txgm[core_no];
  21991. params->pga = target_gain.pga[core_no];
  21992. params->pad = target_gain.pad[core_no];
  21993. params->ipa = target_gain.ipa[core_no];
  21994. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21995. params->cal_gain =
  21996. ((params->txlpf << 15) | (params->txgm << 12) |
  21997. (params->pga << 8) |
  21998. (params->pad << 3) | (params->ipa));
  21999. else
  22000. params->cal_gain =
  22001. ((params->txgm << 12) | (params->pga << 8) |
  22002. (params->pad << 4) | (params->ipa));
  22003. params->ncorr[0] = 0x79;
  22004. params->ncorr[1] = 0x79;
  22005. params->ncorr[2] = 0x79;
  22006. params->ncorr[3] = 0x79;
  22007. params->ncorr[4] = 0x79;
  22008. } else {
  22009. gain_index = ((target_gain.pad[core_no] << 0) |
  22010. (target_gain.pga[core_no] << 4) |
  22011. (target_gain.txgm[core_no] << 8));
  22012. idx = -1;
  22013. for (k = 0; k < NPHY_IQCAL_NUMGAINS; k++) {
  22014. if (tbl_iqcal_gainparams_nphy[band_idx][k][0] ==
  22015. gain_index) {
  22016. idx = k;
  22017. break;
  22018. }
  22019. }
  22020. params->txgm = tbl_iqcal_gainparams_nphy[band_idx][k][1];
  22021. params->pga = tbl_iqcal_gainparams_nphy[band_idx][k][2];
  22022. params->pad = tbl_iqcal_gainparams_nphy[band_idx][k][3];
  22023. params->cal_gain = ((params->txgm << 7) | (params->pga << 4) |
  22024. (params->pad << 2));
  22025. params->ncorr[0] = tbl_iqcal_gainparams_nphy[band_idx][k][4];
  22026. params->ncorr[1] = tbl_iqcal_gainparams_nphy[band_idx][k][5];
  22027. params->ncorr[2] = tbl_iqcal_gainparams_nphy[band_idx][k][6];
  22028. params->ncorr[3] = tbl_iqcal_gainparams_nphy[band_idx][k][7];
  22029. }
  22030. }
  22031. static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi)
  22032. {
  22033. u16 jtag_core, core;
  22034. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22035. for (core = 0; core <= 1; core++) {
  22036. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22037. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22038. TX_SSI_MASTER);
  22039. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22040. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22041. IQCAL_VCM_HG);
  22042. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22043. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22044. IQCAL_IDAC);
  22045. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22046. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22047. TSSI_VCM);
  22048. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] = 0;
  22049. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22050. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22051. TX_SSI_MUX);
  22052. if (pi->pubpi.radiorev != 5)
  22053. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22054. READ_RADIO_REG3(pi, RADIO_2057, TX,
  22055. core,
  22056. TSSIA);
  22057. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22058. READ_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG);
  22059. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22060. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22061. TSSI_MISC1);
  22062. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22063. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22064. TX_SSI_MASTER, 0x0a);
  22065. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22066. IQCAL_VCM_HG, 0x43);
  22067. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22068. IQCAL_IDAC, 0x55);
  22069. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22070. TSSI_VCM, 0x00);
  22071. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22072. TSSIG, 0x00);
  22073. if (pi->use_int_tx_iqlo_cal_nphy) {
  22074. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22075. core, TX_SSI_MUX, 0x4);
  22076. if (!(pi->
  22077. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22078. WRITE_RADIO_REG3(pi, RADIO_2057,
  22079. TX, core,
  22080. TSSIA, 0x31);
  22081. else
  22082. WRITE_RADIO_REG3(pi, RADIO_2057,
  22083. TX, core,
  22084. TSSIA, 0x21);
  22085. }
  22086. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22087. TSSI_MISC1, 0x00);
  22088. } else {
  22089. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22090. TX_SSI_MASTER, 0x06);
  22091. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22092. IQCAL_VCM_HG, 0x43);
  22093. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22094. IQCAL_IDAC, 0x55);
  22095. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22096. TSSI_VCM, 0x00);
  22097. if (pi->pubpi.radiorev != 5)
  22098. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22099. core, TSSIA, 0x00);
  22100. if (pi->use_int_tx_iqlo_cal_nphy) {
  22101. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22102. core, TX_SSI_MUX,
  22103. 0x06);
  22104. if (!(pi->
  22105. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22106. WRITE_RADIO_REG3(pi, RADIO_2057,
  22107. TX, core,
  22108. TSSIG, 0x31);
  22109. else
  22110. WRITE_RADIO_REG3(pi, RADIO_2057,
  22111. TX, core,
  22112. TSSIG, 0x21);
  22113. }
  22114. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22115. TSSI_MISC1, 0x00);
  22116. }
  22117. }
  22118. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22119. for (core = 0; core <= 1; core++) {
  22120. jtag_core =
  22121. (core ==
  22122. PHY_CORE_0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  22123. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22124. read_radio_reg(pi,
  22125. RADIO_2056_TX_TX_SSI_MASTER |
  22126. jtag_core);
  22127. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22128. read_radio_reg(pi,
  22129. RADIO_2056_TX_IQCAL_VCM_HG |
  22130. jtag_core);
  22131. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22132. read_radio_reg(pi,
  22133. RADIO_2056_TX_IQCAL_IDAC |
  22134. jtag_core);
  22135. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22136. read_radio_reg(
  22137. pi,
  22138. RADIO_2056_TX_TSSI_VCM |
  22139. jtag_core);
  22140. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] =
  22141. read_radio_reg(pi,
  22142. RADIO_2056_TX_TX_AMP_DET |
  22143. jtag_core);
  22144. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22145. read_radio_reg(pi,
  22146. RADIO_2056_TX_TX_SSI_MUX |
  22147. jtag_core);
  22148. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22149. read_radio_reg(pi,
  22150. RADIO_2056_TX_TSSIA | jtag_core);
  22151. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22152. read_radio_reg(pi,
  22153. RADIO_2056_TX_TSSIG | jtag_core);
  22154. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22155. read_radio_reg(pi,
  22156. RADIO_2056_TX_TSSI_MISC1 |
  22157. jtag_core);
  22158. pi->tx_rx_cal_radio_saveregs[(core * 11) + 9] =
  22159. read_radio_reg(pi,
  22160. RADIO_2056_TX_TSSI_MISC2 |
  22161. jtag_core);
  22162. pi->tx_rx_cal_radio_saveregs[(core * 11) + 10] =
  22163. read_radio_reg(pi,
  22164. RADIO_2056_TX_TSSI_MISC3 |
  22165. jtag_core);
  22166. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22167. write_radio_reg(pi,
  22168. RADIO_2056_TX_TX_SSI_MASTER |
  22169. jtag_core, 0x0a);
  22170. write_radio_reg(pi,
  22171. RADIO_2056_TX_IQCAL_VCM_HG |
  22172. jtag_core, 0x40);
  22173. write_radio_reg(pi,
  22174. RADIO_2056_TX_IQCAL_IDAC |
  22175. jtag_core, 0x55);
  22176. write_radio_reg(pi,
  22177. RADIO_2056_TX_TSSI_VCM |
  22178. jtag_core, 0x00);
  22179. write_radio_reg(pi,
  22180. RADIO_2056_TX_TX_AMP_DET |
  22181. jtag_core, 0x00);
  22182. if (PHY_IPA(pi)) {
  22183. write_radio_reg(
  22184. pi,
  22185. RADIO_2056_TX_TX_SSI_MUX
  22186. | jtag_core, 0x4);
  22187. write_radio_reg(pi,
  22188. RADIO_2056_TX_TSSIA |
  22189. jtag_core, 0x1);
  22190. } else {
  22191. write_radio_reg(
  22192. pi,
  22193. RADIO_2056_TX_TX_SSI_MUX
  22194. | jtag_core, 0x00);
  22195. write_radio_reg(pi,
  22196. RADIO_2056_TX_TSSIA |
  22197. jtag_core, 0x2f);
  22198. }
  22199. write_radio_reg(pi,
  22200. RADIO_2056_TX_TSSIG | jtag_core,
  22201. 0x00);
  22202. write_radio_reg(pi,
  22203. RADIO_2056_TX_TSSI_MISC1 |
  22204. jtag_core, 0x00);
  22205. write_radio_reg(pi,
  22206. RADIO_2056_TX_TSSI_MISC2 |
  22207. jtag_core, 0x00);
  22208. write_radio_reg(pi,
  22209. RADIO_2056_TX_TSSI_MISC3 |
  22210. jtag_core, 0x00);
  22211. } else {
  22212. write_radio_reg(pi,
  22213. RADIO_2056_TX_TX_SSI_MASTER |
  22214. jtag_core, 0x06);
  22215. write_radio_reg(pi,
  22216. RADIO_2056_TX_IQCAL_VCM_HG |
  22217. jtag_core, 0x40);
  22218. write_radio_reg(pi,
  22219. RADIO_2056_TX_IQCAL_IDAC |
  22220. jtag_core, 0x55);
  22221. write_radio_reg(pi,
  22222. RADIO_2056_TX_TSSI_VCM |
  22223. jtag_core, 0x00);
  22224. write_radio_reg(pi,
  22225. RADIO_2056_TX_TX_AMP_DET |
  22226. jtag_core, 0x00);
  22227. write_radio_reg(pi,
  22228. RADIO_2056_TX_TSSIA | jtag_core,
  22229. 0x00);
  22230. if (PHY_IPA(pi)) {
  22231. write_radio_reg(
  22232. pi,
  22233. RADIO_2056_TX_TX_SSI_MUX
  22234. | jtag_core, 0x06);
  22235. if (NREV_LT(pi->pubpi.phy_rev, 5))
  22236. write_radio_reg(
  22237. pi,
  22238. RADIO_2056_TX_TSSIG
  22239. | jtag_core,
  22240. 0x11);
  22241. else
  22242. write_radio_reg(
  22243. pi,
  22244. RADIO_2056_TX_TSSIG
  22245. | jtag_core,
  22246. 0x1);
  22247. } else {
  22248. write_radio_reg(
  22249. pi,
  22250. RADIO_2056_TX_TX_SSI_MUX
  22251. | jtag_core, 0x00);
  22252. write_radio_reg(pi,
  22253. RADIO_2056_TX_TSSIG |
  22254. jtag_core, 0x20);
  22255. }
  22256. write_radio_reg(pi,
  22257. RADIO_2056_TX_TSSI_MISC1 |
  22258. jtag_core, 0x00);
  22259. write_radio_reg(pi,
  22260. RADIO_2056_TX_TSSI_MISC2 |
  22261. jtag_core, 0x00);
  22262. write_radio_reg(pi,
  22263. RADIO_2056_TX_TSSI_MISC3 |
  22264. jtag_core, 0x00);
  22265. }
  22266. }
  22267. } else {
  22268. pi->tx_rx_cal_radio_saveregs[0] =
  22269. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  22270. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x29);
  22271. pi->tx_rx_cal_radio_saveregs[1] =
  22272. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  22273. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x54);
  22274. pi->tx_rx_cal_radio_saveregs[2] =
  22275. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  22276. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x29);
  22277. pi->tx_rx_cal_radio_saveregs[3] =
  22278. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  22279. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x54);
  22280. pi->tx_rx_cal_radio_saveregs[4] =
  22281. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  22282. pi->tx_rx_cal_radio_saveregs[5] =
  22283. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  22284. if ((read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand) ==
  22285. 0) {
  22286. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  22287. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  22288. } else {
  22289. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x20);
  22290. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x20);
  22291. }
  22292. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  22293. or_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0x20);
  22294. or_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0x20);
  22295. } else {
  22296. and_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0xdf);
  22297. and_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0xdf);
  22298. }
  22299. }
  22300. }
  22301. static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi)
  22302. {
  22303. u16 jtag_core, core;
  22304. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22305. for (core = 0; core <= 1; core++) {
  22306. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22307. TX_SSI_MASTER,
  22308. pi->
  22309. tx_rx_cal_radio_saveregs[(core * 11) +
  22310. 0]);
  22311. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  22312. pi->
  22313. tx_rx_cal_radio_saveregs[(core * 11) +
  22314. 1]);
  22315. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  22316. pi->
  22317. tx_rx_cal_radio_saveregs[(core * 11) +
  22318. 2]);
  22319. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  22320. pi->
  22321. tx_rx_cal_radio_saveregs[(core * 11) +
  22322. 3]);
  22323. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TX_SSI_MUX,
  22324. pi->
  22325. tx_rx_cal_radio_saveregs[(core * 11) +
  22326. 5]);
  22327. if (pi->pubpi.radiorev != 5)
  22328. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22329. TSSIA,
  22330. pi->tx_rx_cal_radio_saveregs
  22331. [(core * 11) + 6]);
  22332. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG,
  22333. pi->
  22334. tx_rx_cal_radio_saveregs[(core * 11) +
  22335. 7]);
  22336. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  22337. pi->
  22338. tx_rx_cal_radio_saveregs[(core * 11) +
  22339. 8]);
  22340. }
  22341. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22342. for (core = 0; core <= 1; core++) {
  22343. jtag_core = (core == PHY_CORE_0) ?
  22344. RADIO_2056_TX0 : RADIO_2056_TX1;
  22345. write_radio_reg(pi,
  22346. RADIO_2056_TX_TX_SSI_MASTER | jtag_core,
  22347. pi->
  22348. tx_rx_cal_radio_saveregs[(core * 11) +
  22349. 0]);
  22350. write_radio_reg(pi,
  22351. RADIO_2056_TX_IQCAL_VCM_HG | jtag_core,
  22352. pi->
  22353. tx_rx_cal_radio_saveregs[(core * 11) +
  22354. 1]);
  22355. write_radio_reg(pi,
  22356. RADIO_2056_TX_IQCAL_IDAC | jtag_core,
  22357. pi->
  22358. tx_rx_cal_radio_saveregs[(core * 11) +
  22359. 2]);
  22360. write_radio_reg(pi, RADIO_2056_TX_TSSI_VCM | jtag_core,
  22361. pi->
  22362. tx_rx_cal_radio_saveregs[(core * 11) +
  22363. 3]);
  22364. write_radio_reg(pi,
  22365. RADIO_2056_TX_TX_AMP_DET | jtag_core,
  22366. pi->
  22367. tx_rx_cal_radio_saveregs[(core * 11) +
  22368. 4]);
  22369. write_radio_reg(pi,
  22370. RADIO_2056_TX_TX_SSI_MUX | jtag_core,
  22371. pi->
  22372. tx_rx_cal_radio_saveregs[(core * 11) +
  22373. 5]);
  22374. write_radio_reg(pi, RADIO_2056_TX_TSSIA | jtag_core,
  22375. pi->
  22376. tx_rx_cal_radio_saveregs[(core * 11) +
  22377. 6]);
  22378. write_radio_reg(pi, RADIO_2056_TX_TSSIG | jtag_core,
  22379. pi->
  22380. tx_rx_cal_radio_saveregs[(core * 11) +
  22381. 7]);
  22382. write_radio_reg(pi,
  22383. RADIO_2056_TX_TSSI_MISC1 | jtag_core,
  22384. pi->
  22385. tx_rx_cal_radio_saveregs[(core * 11) +
  22386. 8]);
  22387. write_radio_reg(pi,
  22388. RADIO_2056_TX_TSSI_MISC2 | jtag_core,
  22389. pi->
  22390. tx_rx_cal_radio_saveregs[(core * 11) +
  22391. 9]);
  22392. write_radio_reg(pi,
  22393. RADIO_2056_TX_TSSI_MISC3 | jtag_core,
  22394. pi->
  22395. tx_rx_cal_radio_saveregs[(core * 11) +
  22396. 10]);
  22397. }
  22398. } else {
  22399. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  22400. pi->tx_rx_cal_radio_saveregs[0]);
  22401. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  22402. pi->tx_rx_cal_radio_saveregs[1]);
  22403. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  22404. pi->tx_rx_cal_radio_saveregs[2]);
  22405. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  22406. pi->tx_rx_cal_radio_saveregs[3]);
  22407. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  22408. pi->tx_rx_cal_radio_saveregs[4]);
  22409. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  22410. pi->tx_rx_cal_radio_saveregs[5]);
  22411. }
  22412. }
  22413. static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi)
  22414. {
  22415. u16 val, mask;
  22416. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22417. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22418. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22419. mask = ((0x3 << 8) | (0x3 << 10));
  22420. val = (0x2 << 8);
  22421. val |= (0x2 << 10);
  22422. mod_phy_reg(pi, 0xa6, mask, val);
  22423. mod_phy_reg(pi, 0xa7, mask, val);
  22424. val = read_phy_reg(pi, 0x8f);
  22425. pi->tx_rx_cal_phy_saveregs[2] = val;
  22426. val |= ((0x1 << 9) | (0x1 << 10));
  22427. write_phy_reg(pi, 0x8f, val);
  22428. val = read_phy_reg(pi, 0xa5);
  22429. pi->tx_rx_cal_phy_saveregs[3] = val;
  22430. val |= ((0x1 << 9) | (0x1 << 10));
  22431. write_phy_reg(pi, 0xa5, val);
  22432. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x01);
  22433. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  22434. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22435. &val);
  22436. pi->tx_rx_cal_phy_saveregs[5] = val;
  22437. val = 0;
  22438. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22439. &val);
  22440. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22441. &val);
  22442. pi->tx_rx_cal_phy_saveregs[6] = val;
  22443. val = 0;
  22444. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22445. &val);
  22446. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0x91);
  22447. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0x92);
  22448. if (!(pi->use_int_tx_iqlo_cal_nphy))
  22449. wlc_phy_rfctrlintc_override_nphy(
  22450. pi,
  22451. NPHY_RfctrlIntc_override_PA,
  22452. 1,
  22453. RADIO_MIMO_CORESEL_CORE1
  22454. |
  22455. RADIO_MIMO_CORESEL_CORE2);
  22456. else
  22457. wlc_phy_rfctrlintc_override_nphy(
  22458. pi,
  22459. NPHY_RfctrlIntc_override_PA,
  22460. 0,
  22461. RADIO_MIMO_CORESEL_CORE1
  22462. |
  22463. RADIO_MIMO_CORESEL_CORE2);
  22464. wlc_phy_rfctrlintc_override_nphy(pi,
  22465. NPHY_RfctrlIntc_override_TRSW,
  22466. 0x2, RADIO_MIMO_CORESEL_CORE1);
  22467. wlc_phy_rfctrlintc_override_nphy(pi,
  22468. NPHY_RfctrlIntc_override_TRSW,
  22469. 0x8, RADIO_MIMO_CORESEL_CORE2);
  22470. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  22471. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  22472. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  22473. 0x29b, (0x1 << 0), (0) << 0);
  22474. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  22475. 0x29b, (0x1 << 0), (0) << 0);
  22476. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22477. || NREV_GE(pi->pubpi.phy_rev, 8))
  22478. wlc_phy_rfctrl_override_nphy_rev7(
  22479. pi, (0x1 << 7),
  22480. wlc_phy_read_lpf_bw_ctl_nphy
  22481. (pi,
  22482. 0), 0, 0,
  22483. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22484. if (pi->use_int_tx_iqlo_cal_nphy
  22485. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22486. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22487. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22488. 1 << 4);
  22489. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22490. mod_radio_reg(
  22491. pi,
  22492. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22493. 1, 0);
  22494. mod_radio_reg(
  22495. pi,
  22496. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22497. 1, 0);
  22498. } else {
  22499. mod_radio_reg(
  22500. pi,
  22501. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22502. 1, 0);
  22503. mod_radio_reg(
  22504. pi,
  22505. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22506. 1, 0);
  22507. }
  22508. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22509. wlc_phy_rfctrl_override_nphy_rev7(
  22510. pi,
  22511. (0x1 << 3), 0,
  22512. 0x3, 0,
  22513. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22514. }
  22515. }
  22516. } else {
  22517. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22518. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22519. mask = ((0x3 << 12) | (0x3 << 14));
  22520. val = (0x2 << 12);
  22521. val |= (0x2 << 14);
  22522. mod_phy_reg(pi, 0xa6, mask, val);
  22523. mod_phy_reg(pi, 0xa7, mask, val);
  22524. val = read_phy_reg(pi, 0xa5);
  22525. pi->tx_rx_cal_phy_saveregs[2] = val;
  22526. val |= ((0x1 << 12) | (0x1 << 13));
  22527. write_phy_reg(pi, 0xa5, val);
  22528. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22529. &val);
  22530. pi->tx_rx_cal_phy_saveregs[3] = val;
  22531. val |= 0x2000;
  22532. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22533. &val);
  22534. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22535. &val);
  22536. pi->tx_rx_cal_phy_saveregs[4] = val;
  22537. val |= 0x2000;
  22538. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22539. &val);
  22540. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x91);
  22541. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x92);
  22542. val = CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  22543. write_phy_reg(pi, 0x91, val);
  22544. write_phy_reg(pi, 0x92, val);
  22545. }
  22546. }
  22547. static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi)
  22548. {
  22549. u16 mask;
  22550. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22551. write_phy_reg(pi, 0xa6, pi->tx_rx_cal_phy_saveregs[0]);
  22552. write_phy_reg(pi, 0xa7, pi->tx_rx_cal_phy_saveregs[1]);
  22553. write_phy_reg(pi, 0x8f, pi->tx_rx_cal_phy_saveregs[2]);
  22554. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[3]);
  22555. write_phy_reg(pi, 0x01, pi->tx_rx_cal_phy_saveregs[4]);
  22556. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22557. &pi->tx_rx_cal_phy_saveregs[5]);
  22558. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22559. &pi->tx_rx_cal_phy_saveregs[6]);
  22560. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[7]);
  22561. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[8]);
  22562. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  22563. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  22564. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22565. || NREV_GE(pi->pubpi.phy_rev, 8))
  22566. wlc_phy_rfctrl_override_nphy_rev7(
  22567. pi, (0x1 << 7), 0, 0,
  22568. 1,
  22569. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22570. wlc_phy_resetcca_nphy(pi);
  22571. if (pi->use_int_tx_iqlo_cal_nphy
  22572. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22573. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22574. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22575. mod_radio_reg(
  22576. pi,
  22577. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22578. 1, 1);
  22579. mod_radio_reg(
  22580. pi,
  22581. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22582. 1, 1);
  22583. } else {
  22584. mod_radio_reg(
  22585. pi,
  22586. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22587. 1, 1);
  22588. mod_radio_reg(
  22589. pi,
  22590. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22591. 1, 1);
  22592. }
  22593. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22594. 0);
  22595. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22596. wlc_phy_rfctrl_override_nphy_rev7(
  22597. pi,
  22598. (0x1 << 3), 0,
  22599. 0x3, 1,
  22600. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22601. }
  22602. }
  22603. } else {
  22604. mask = ((0x3 << 12) | (0x3 << 14));
  22605. mod_phy_reg(pi, 0xa6, mask, pi->tx_rx_cal_phy_saveregs[0]);
  22606. mod_phy_reg(pi, 0xa7, mask, pi->tx_rx_cal_phy_saveregs[1]);
  22607. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[2]);
  22608. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22609. &pi->tx_rx_cal_phy_saveregs[3]);
  22610. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22611. &pi->tx_rx_cal_phy_saveregs[4]);
  22612. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[5]);
  22613. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[6]);
  22614. }
  22615. }
  22616. void
  22617. wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
  22618. {
  22619. u16 tssi_reg;
  22620. s32 temp, pwrindex[2];
  22621. s32 idle_tssi[2];
  22622. s32 rssi_buf[4];
  22623. s32 tssival[2];
  22624. u8 tssi_type;
  22625. tssi_reg = read_phy_reg(pi, 0x1e9);
  22626. temp = (s32) (tssi_reg & 0x3f);
  22627. idle_tssi[0] = (temp <= 31) ? temp : (temp - 64);
  22628. temp = (s32) ((tssi_reg >> 8) & 0x3f);
  22629. idle_tssi[1] = (temp <= 31) ? temp : (temp - 64);
  22630. tssi_type =
  22631. CHSPEC_IS5G(pi->radio_chanspec) ?
  22632. (u8)NPHY_RSSI_SEL_TSSI_5G : (u8)NPHY_RSSI_SEL_TSSI_2G;
  22633. wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
  22634. tssival[0] = rssi_buf[0] / ((s32) num_samps);
  22635. tssival[1] = rssi_buf[2] / ((s32) num_samps);
  22636. pwrindex[0] = idle_tssi[0] - tssival[0] + 64;
  22637. pwrindex[1] = idle_tssi[1] - tssival[1] + 64;
  22638. if (pwrindex[0] < 0)
  22639. pwrindex[0] = 0;
  22640. else if (pwrindex[0] > 63)
  22641. pwrindex[0] = 63;
  22642. if (pwrindex[1] < 0)
  22643. pwrindex[1] = 0;
  22644. else if (pwrindex[1] > 63)
  22645. pwrindex[1] = 63;
  22646. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 1,
  22647. (u32) pwrindex[0], 32, &qdBm_pwrbuf[0]);
  22648. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 1,
  22649. (u32) pwrindex[1], 32, &qdBm_pwrbuf[1]);
  22650. }
  22651. static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core)
  22652. {
  22653. int index;
  22654. u32 bbmult_scale;
  22655. u16 bbmult;
  22656. u16 tblentry;
  22657. static const struct nphy_txiqcal_ladder ladder_lo[] = {
  22658. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22659. {25, 0}, {25, 1}, {25, 2}, {25, 3}, {25, 4}, {25, 5},
  22660. {25, 6}, {25, 7}, {35, 7}, {50, 7}, {71, 7}, {100, 7}
  22661. };
  22662. static const struct nphy_txiqcal_ladder ladder_iq[] = {
  22663. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22664. {25, 0}, {35, 0}, {50, 0}, {71, 0}, {100, 0}, {100, 1},
  22665. {100, 2}, {100, 3}, {100, 4}, {100, 5}, {100, 6}, {100, 7}
  22666. };
  22667. bbmult = (core == PHY_CORE_0) ?
  22668. ((pi->nphy_txcal_bbmult >> 8) & 0xff) :
  22669. (pi->nphy_txcal_bbmult & 0xff);
  22670. for (index = 0; index < 18; index++) {
  22671. bbmult_scale = ladder_lo[index].percent * bbmult;
  22672. bbmult_scale /= 100;
  22673. tblentry =
  22674. ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env;
  22675. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16,
  22676. &tblentry);
  22677. bbmult_scale = ladder_iq[index].percent * bbmult;
  22678. bbmult_scale /= 100;
  22679. tblentry =
  22680. ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env;
  22681. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32,
  22682. 16, &tblentry);
  22683. }
  22684. }
  22685. static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core)
  22686. {
  22687. u16 tmp;
  22688. tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee));
  22689. tmp = (tmp & (0x7f << 8)) >> 8;
  22690. return (u8) tmp;
  22691. }
  22692. static void
  22693. wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1)
  22694. {
  22695. mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0);
  22696. if (NREV_GT(pi->pubpi.phy_rev, 1))
  22697. mod_phy_reg(pi, 0x222, (0xff << 0), idx1);
  22698. }
  22699. static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi)
  22700. {
  22701. u16 m0m1;
  22702. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  22703. return m0m1;
  22704. }
  22705. static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1)
  22706. {
  22707. u16 m0m1 = (u16) ((m0 << 8) | m1);
  22708. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m0m1);
  22709. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &m0m1);
  22710. }
  22711. static void
  22712. wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi,
  22713. struct nphy_papd_restore_state *state, u8 core)
  22714. {
  22715. s32 tone_freq;
  22716. u8 off_core;
  22717. u16 mixgain = 0;
  22718. off_core = core ^ 0x1;
  22719. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22720. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22721. || NREV_GE(pi->pubpi.phy_rev, 8))
  22722. wlc_phy_rfctrl_override_nphy_rev7(
  22723. pi, (0x1 << 7),
  22724. wlc_phy_read_lpf_bw_ctl_nphy
  22725. (pi,
  22726. 0), 0, 0,
  22727. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22728. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22729. if (pi->pubpi.radiorev == 5)
  22730. mixgain = (core == 0) ? 0x20 : 0x00;
  22731. else if ((pi->pubpi.radiorev == 7)
  22732. || (pi->pubpi.radiorev == 8))
  22733. mixgain = 0x00;
  22734. else if ((pi->pubpi.radiorev <= 4)
  22735. || (pi->pubpi.radiorev == 6))
  22736. mixgain = 0x00;
  22737. } else {
  22738. if ((pi->pubpi.radiorev == 4) ||
  22739. (pi->pubpi.radiorev == 6))
  22740. mixgain = 0x50;
  22741. else if ((pi->pubpi.radiorev == 3)
  22742. || (pi->pubpi.radiorev == 7)
  22743. || (pi->pubpi.radiorev == 8))
  22744. mixgain = 0x0;
  22745. }
  22746. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11),
  22747. mixgain, (1 << core), 0,
  22748. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22749. wlc_phy_rfctrl_override_1tomany_nphy(
  22750. pi,
  22751. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22752. 1, (1 << core), 0);
  22753. wlc_phy_rfctrl_override_1tomany_nphy(
  22754. pi,
  22755. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22756. 0, (1 << off_core), 0);
  22757. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  22758. 0, 0x3, 0,
  22759. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22760. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1,
  22761. (1 << core), 0,
  22762. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22763. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0,
  22764. (1 << core), 0,
  22765. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22766. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1,
  22767. (1 << core), 0,
  22768. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22769. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0,
  22770. (1 << core), 0,
  22771. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22772. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1,
  22773. (1 << core), 0,
  22774. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22775. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0,
  22776. (1 << core), 0,
  22777. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22778. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1,
  22779. (1 << core), 0,
  22780. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22781. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5),
  22782. 0, (1 << core), 0,
  22783. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22784. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0,
  22785. (1 << core), 0,
  22786. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22787. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22788. 0xa6 : 0xa7);
  22789. state->afeoverride[core] =
  22790. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22791. state->afectrl[off_core] =
  22792. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa7 : 0xa6);
  22793. state->afeoverride[off_core] =
  22794. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa5 : 0x8f);
  22795. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22796. (0x1 << 2), 0);
  22797. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22798. 0xa5), (0x1 << 2), (0x1 << 2));
  22799. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa7 : 0xa6),
  22800. (0x1 << 2), (0x1 << 2));
  22801. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa5 :
  22802. 0x8f), (0x1 << 2), (0x1 << 2));
  22803. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22804. state->pwrup[core] =
  22805. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22806. TXRXCOUPLE_2G_PWRUP);
  22807. state->atten[core] =
  22808. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22809. TXRXCOUPLE_2G_ATTEN);
  22810. state->pwrup[off_core] =
  22811. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22812. TXRXCOUPLE_2G_PWRUP);
  22813. state->atten[off_core] =
  22814. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22815. TXRXCOUPLE_2G_ATTEN);
  22816. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22817. TXRXCOUPLE_2G_PWRUP, 0xc);
  22818. if ((pi->pubpi.radiorev == 3) ||
  22819. (pi->pubpi.radiorev == 4) ||
  22820. (pi->pubpi.radiorev == 6))
  22821. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22822. TXRXCOUPLE_2G_ATTEN, 0xf0);
  22823. else if (pi->pubpi.radiorev == 5)
  22824. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22825. TXRXCOUPLE_2G_ATTEN,
  22826. (core == 0) ? 0xf7 : 0xf2);
  22827. else if ((pi->pubpi.radiorev == 7)
  22828. || (pi->pubpi.radiorev == 8))
  22829. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22830. TXRXCOUPLE_2G_ATTEN, 0xf0);
  22831. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22832. TXRXCOUPLE_2G_PWRUP, 0x0);
  22833. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22834. TXRXCOUPLE_2G_ATTEN, 0xff);
  22835. } else {
  22836. state->pwrup[core] =
  22837. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22838. TXRXCOUPLE_5G_PWRUP);
  22839. state->atten[core] =
  22840. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22841. TXRXCOUPLE_5G_ATTEN);
  22842. state->pwrup[off_core] =
  22843. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22844. TXRXCOUPLE_5G_PWRUP);
  22845. state->atten[off_core] =
  22846. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22847. TXRXCOUPLE_5G_ATTEN);
  22848. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22849. TXRXCOUPLE_5G_PWRUP, 0xc);
  22850. if ((pi->pubpi.radiorev == 7)
  22851. || (pi->pubpi.radiorev == 8))
  22852. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22853. TXRXCOUPLE_5G_ATTEN, 0xf4);
  22854. else
  22855. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22856. TXRXCOUPLE_5G_ATTEN, 0xf0);
  22857. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22858. TXRXCOUPLE_5G_PWRUP, 0x0);
  22859. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22860. TXRXCOUPLE_5G_ATTEN, 0xff);
  22861. }
  22862. tone_freq = 4000;
  22863. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  22864. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  22865. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  22866. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  22867. 0x2a4, (0x1 << 13), (1) << 13);
  22868. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  22869. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_OFF) << 0);
  22870. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x2a3 :
  22871. 0x2a4, (0x1 << 13), (0) << 13);
  22872. } else {
  22873. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 0);
  22874. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0, 0);
  22875. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 0);
  22876. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 1, 0x3, 0);
  22877. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0x3, 0);
  22878. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22879. 0xa6 : 0xa7);
  22880. state->afeoverride[core] =
  22881. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22882. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22883. (0x1 << 0) | (0x1 << 1) | (0x1 << 2), 0);
  22884. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22885. 0xa5),
  22886. (0x1 << 0) |
  22887. (0x1 << 1) |
  22888. (0x1 << 2), (0x1 << 0) | (0x1 << 1) | (0x1 << 2));
  22889. state->vga_master[core] =
  22890. READ_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER);
  22891. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER, 0x2b);
  22892. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22893. state->fbmix[core] =
  22894. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  22895. TXFBMIX_G);
  22896. state->intpa_master[core] =
  22897. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  22898. INTPAG_MASTER);
  22899. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_G,
  22900. 0x03);
  22901. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  22902. INTPAG_MASTER, 0x04);
  22903. } else {
  22904. state->fbmix[core] =
  22905. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  22906. TXFBMIX_A);
  22907. state->intpa_master[core] =
  22908. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  22909. INTPAA_MASTER);
  22910. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_A,
  22911. 0x03);
  22912. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  22913. INTPAA_MASTER, 0x04);
  22914. }
  22915. tone_freq = 4000;
  22916. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  22917. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  22918. 0x29b, (0x1 << 0), (1) << 0);
  22919. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  22920. 0x29b, (0x1 << 0), (0) << 0);
  22921. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  22922. }
  22923. }
  22924. static void
  22925. wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi,
  22926. struct nphy_papd_restore_state *state)
  22927. {
  22928. u8 core;
  22929. wlc_phy_stopplayback_nphy(pi);
  22930. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22931. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  22932. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22933. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22934. TXRXCOUPLE_2G_PWRUP, 0);
  22935. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22936. TXRXCOUPLE_2G_ATTEN,
  22937. state->atten[core]);
  22938. } else {
  22939. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22940. TXRXCOUPLE_5G_PWRUP, 0);
  22941. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22942. TXRXCOUPLE_5G_ATTEN,
  22943. state->atten[core]);
  22944. }
  22945. }
  22946. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  22947. wlc_phy_rfctrl_override_nphy_rev7(
  22948. pi, (0x1 << 2),
  22949. 1, 0x3, 0,
  22950. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22951. else
  22952. wlc_phy_rfctrl_override_nphy_rev7(
  22953. pi, (0x1 << 2),
  22954. 0, 0x3, 1,
  22955. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22956. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  22957. 0, 0x3, 1,
  22958. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22959. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  22960. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22961. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 0, 0x3, 1,
  22962. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22963. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 1, 0x3, 1,
  22964. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22965. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 0, 0x3, 1,
  22966. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22967. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0x3, 1,
  22968. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22969. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12), 0, 0x3, 1,
  22970. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22971. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 1,
  22972. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22973. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  22974. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22975. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0x3, 1,
  22976. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22977. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0, 0x3, 1,
  22978. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22979. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1, 0x3, 1,
  22980. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22981. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0, 0x3, 1,
  22982. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22983. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1, 0x3, 1,
  22984. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22985. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0x3, 1,
  22986. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22987. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0, 0x3, 1,
  22988. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22989. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  22990. write_phy_reg(pi, (core == PHY_CORE_0) ?
  22991. 0xa6 : 0xa7, state->afectrl[core]);
  22992. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  22993. 0xa5, state->afeoverride[core]);
  22994. }
  22995. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  22996. (state->mm & 0xff));
  22997. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22998. || NREV_GE(pi->pubpi.phy_rev, 8))
  22999. wlc_phy_rfctrl_override_nphy_rev7(
  23000. pi, (0x1 << 7), 0, 0,
  23001. 1,
  23002. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23003. } else {
  23004. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  23005. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 0x3, 1);
  23006. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 1);
  23007. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 0, 0x3, 1);
  23008. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 0, 0x3, 1);
  23009. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23010. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER,
  23011. state->vga_master[core]);
  23012. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23013. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23014. TXFBMIX_G, state->fbmix[core]);
  23015. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23016. INTPAG_MASTER,
  23017. state->intpa_master[core]);
  23018. } else {
  23019. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23020. TXFBMIX_A, state->fbmix[core]);
  23021. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23022. INTPAA_MASTER,
  23023. state->intpa_master[core]);
  23024. }
  23025. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23026. 0xa6 : 0xa7, state->afectrl[core]);
  23027. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23028. 0xa5, state->afeoverride[core]);
  23029. }
  23030. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23031. (state->mm & 0xff));
  23032. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 1);
  23033. }
  23034. }
  23035. static void
  23036. wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start,
  23037. u32 end)
  23038. {
  23039. u32 *buf, *src, *dst, sz;
  23040. sz = end - start + 1;
  23041. buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
  23042. if (NULL == buf)
  23043. return;
  23044. src = buf;
  23045. dst = buf + NPHY_PAPD_EPS_TBL_SIZE;
  23046. wlc_phy_table_read_nphy(pi,
  23047. (core ==
  23048. PHY_CORE_0 ? NPHY_TBL_ID_EPSILONTBL0 :
  23049. NPHY_TBL_ID_EPSILONTBL1),
  23050. NPHY_PAPD_EPS_TBL_SIZE, 0, 32, src);
  23051. do {
  23052. u32 phy_a1, phy_a2;
  23053. s32 phy_a3, phy_a4, phy_a5, phy_a6, phy_a7;
  23054. phy_a1 = end - min(end, (winsz >> 1));
  23055. phy_a2 = min_t(u32, NPHY_PAPD_EPS_TBL_SIZE - 1,
  23056. end + (winsz >> 1));
  23057. phy_a3 = phy_a2 - phy_a1 + 1;
  23058. phy_a6 = 0;
  23059. phy_a7 = 0;
  23060. do {
  23061. wlc_phy_papd_decode_epsilon(src[phy_a2], &phy_a4,
  23062. &phy_a5);
  23063. phy_a6 += phy_a4;
  23064. phy_a7 += phy_a5;
  23065. } while (phy_a2-- != phy_a1);
  23066. phy_a6 /= phy_a3;
  23067. phy_a7 /= phy_a3;
  23068. dst[end] = ((u32) phy_a7 << 13) | ((u32) phy_a6 & 0x1fff);
  23069. } while (end-- != start);
  23070. wlc_phy_table_write_nphy(pi,
  23071. (core ==
  23072. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0 :
  23073. NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
  23074. kfree(buf);
  23075. }
  23076. static void
  23077. wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains,
  23078. enum phy_cal_mode cal_mode, u8 core)
  23079. {
  23080. u16 phy_a1, phy_a2, phy_a3;
  23081. u16 phy_a4, phy_a5;
  23082. bool phy_a6;
  23083. u8 phy_a7, m[2];
  23084. u32 phy_a8 = 0;
  23085. struct nphy_txgains phy_a9;
  23086. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23087. return;
  23088. phy_a7 = (core == PHY_CORE_0) ? 1 : 0;
  23089. phy_a6 = ((cal_mode == CAL_GCTRL)
  23090. || (cal_mode == CAL_SOFT)) ? true : false;
  23091. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23092. phy_a9 = wlc_phy_get_tx_gain_nphy(pi);
  23093. if (CHSPEC_IS2G(pi->radio_chanspec))
  23094. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23095. (phy_a9.txgm[core] << 12) |
  23096. (phy_a9.pga[core] << 8) |
  23097. (txgains->gains.pad[core] << 3) |
  23098. (phy_a9.ipa[core]));
  23099. else
  23100. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23101. (phy_a9.txgm[core] << 12) |
  23102. (txgains->gains.pga[core] << 8) |
  23103. (phy_a9.pad[core] << 3) | (phy_a9.ipa[core]));
  23104. wlc_phy_rfctrl_override_1tomany_nphy(
  23105. pi,
  23106. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23107. phy_a5, (1 << core), 0);
  23108. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23109. if ((pi->pubpi.radiorev <= 4)
  23110. || (pi->pubpi.radiorev == 6))
  23111. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23112. 60 : 79;
  23113. else
  23114. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23115. 45 : 64;
  23116. } else {
  23117. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23118. }
  23119. m[phy_a7] = 0;
  23120. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23121. phy_a2 = 63;
  23122. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23123. if ((pi->pubpi.radiorev == 4)
  23124. || (pi->pubpi.radiorev == 6)) {
  23125. phy_a1 = 30;
  23126. phy_a3 = 30;
  23127. } else {
  23128. phy_a1 = 25;
  23129. phy_a3 = 25;
  23130. }
  23131. } else {
  23132. if ((pi->pubpi.radiorev == 5)
  23133. || (pi->pubpi.radiorev == 7)
  23134. || (pi->pubpi.radiorev == 8)) {
  23135. phy_a1 = 25;
  23136. phy_a3 = 25;
  23137. } else {
  23138. phy_a1 = 35;
  23139. phy_a3 = 35;
  23140. }
  23141. }
  23142. if (cal_mode == CAL_GCTRL) {
  23143. if ((pi->pubpi.radiorev == 5)
  23144. && (CHSPEC_IS2G(pi->radio_chanspec)))
  23145. phy_a1 = 55;
  23146. else if (((pi->pubpi.radiorev == 7) &&
  23147. (CHSPEC_IS2G(pi->radio_chanspec))) ||
  23148. ((pi->pubpi.radiorev == 8) &&
  23149. (CHSPEC_IS2G(pi->radio_chanspec))))
  23150. phy_a1 = 60;
  23151. else
  23152. phy_a1 = 63;
  23153. } else if ((cal_mode != CAL_FULL) && (cal_mode != CAL_SOFT)) {
  23154. phy_a1 = 35;
  23155. phy_a3 = 35;
  23156. }
  23157. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23158. 0x29b, (0x1 << 0), (1) << 0);
  23159. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23160. 0x29b, (0x1 << 0), (0) << 0);
  23161. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23162. 0x2a4, (0x1 << 13), (1) << 13);
  23163. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23164. 0x2a4, (0x1 << 13), (0) << 13);
  23165. write_phy_reg(pi, 0x2a1, 0x80);
  23166. write_phy_reg(pi, 0x2a2, 0x100);
  23167. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23168. 0x2a4, (0x7 << 4), (11) << 4);
  23169. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23170. 0x2a4, (0x7 << 8), (11) << 8);
  23171. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23172. 0x2a4, (0x7 << 0), (0x3) << 0);
  23173. write_phy_reg(pi, 0x2e5, 0x20);
  23174. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23175. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23176. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23177. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23178. 1, ((core == 0) ? 1 : 2), 0,
  23179. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23180. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23181. 0, ((core == 0) ? 2 : 1), 0,
  23182. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23183. write_phy_reg(pi, 0x2be, 1);
  23184. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23185. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23186. 0, 0x3, 0,
  23187. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23188. wlc_phy_table_write_nphy(pi,
  23189. (core ==
  23190. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23191. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23192. 32, &phy_a8);
  23193. if (cal_mode != CAL_GCTRL) {
  23194. if (CHSPEC_IS5G(pi->radio_chanspec))
  23195. wlc_phy_a1_nphy(pi, core, 5, 0, 35);
  23196. }
  23197. wlc_phy_rfctrl_override_1tomany_nphy(
  23198. pi,
  23199. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23200. phy_a5, (1 << core), 1);
  23201. } else {
  23202. if (txgains) {
  23203. if (txgains->useindex) {
  23204. phy_a4 = 15 - ((txgains->index) >> 3);
  23205. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23206. if (NREV_GE(pi->pubpi.phy_rev, 6) &&
  23207. pi->sh->chip == BCMA_CHIP_ID_BCM47162) {
  23208. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23209. } else if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23210. phy_a5 = 0x00f7 | (phy_a4 << 8);
  23211. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  23212. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23213. } else {
  23214. phy_a5 = 0x50f7 | (phy_a4 << 8);
  23215. }
  23216. } else {
  23217. phy_a5 = 0x70f7 | (phy_a4 << 8);
  23218. }
  23219. wlc_phy_rfctrl_override_nphy(pi,
  23220. (0x1 << 13),
  23221. phy_a5,
  23222. (1 << core), 0);
  23223. } else {
  23224. wlc_phy_rfctrl_override_nphy(pi,
  23225. (0x1 << 13),
  23226. 0x5bf7,
  23227. (1 << core), 0);
  23228. }
  23229. }
  23230. if (CHSPEC_IS2G(pi->radio_chanspec))
  23231. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
  23232. else
  23233. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23234. m[phy_a7] = 0;
  23235. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23236. phy_a2 = 63;
  23237. if (cal_mode == CAL_FULL) {
  23238. phy_a1 = 25;
  23239. phy_a3 = 25;
  23240. } else if (cal_mode == CAL_SOFT) {
  23241. phy_a1 = 25;
  23242. phy_a3 = 25;
  23243. } else if (cal_mode == CAL_GCTRL) {
  23244. phy_a1 = 63;
  23245. phy_a3 = 25;
  23246. } else {
  23247. phy_a1 = 25;
  23248. phy_a3 = 25;
  23249. }
  23250. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23251. 0x29b, (0x1 << 0), (1) << 0);
  23252. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23253. 0x29b, (0x1 << 0), (0) << 0);
  23254. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23255. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23256. 0x2a4, (0x1 << 13), (1) << 13);
  23257. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23258. 0x2a4, (0x1 << 13), (0) << 13);
  23259. write_phy_reg(pi, 0x2a1, 0x20);
  23260. write_phy_reg(pi, 0x2a2, 0x60);
  23261. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23262. 0x2a4, (0xf << 4), (9) << 4);
  23263. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23264. 0x2a4, (0xf << 8), (9) << 8);
  23265. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23266. 0x2a4, (0xf << 0), (0x2) << 0);
  23267. write_phy_reg(pi, 0x2e5, 0x20);
  23268. } else {
  23269. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23270. 0x2a4, (0x1 << 11), (1) << 11);
  23271. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23272. 0x2a4, (0x1 << 11), (0) << 11);
  23273. write_phy_reg(pi, 0x2a1, 0x80);
  23274. write_phy_reg(pi, 0x2a2, 0x600);
  23275. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23276. 0x2a4, (0x7 << 4), (0) << 4);
  23277. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23278. 0x2a4, (0x7 << 8), (0) << 8);
  23279. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23280. 0x2a4, (0x7 << 0), (0x3) << 0);
  23281. mod_phy_reg(pi, 0x2a0, (0x3f << 8), (0x20) << 8);
  23282. }
  23283. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23284. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23285. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23286. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0x3, 0);
  23287. write_phy_reg(pi, 0x2be, 1);
  23288. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23289. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23290. wlc_phy_table_write_nphy(pi,
  23291. (core ==
  23292. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23293. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23294. 32, &phy_a8);
  23295. if (cal_mode != CAL_GCTRL)
  23296. wlc_phy_a1_nphy(pi, core, 5, 0, 40);
  23297. }
  23298. }
  23299. static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core)
  23300. {
  23301. int phy_a1;
  23302. int phy_a2;
  23303. bool phy_a3;
  23304. struct nphy_ipa_txcalgains phy_a4;
  23305. bool phy_a5 = false;
  23306. bool phy_a6 = true;
  23307. s32 phy_a7, phy_a8;
  23308. u32 phy_a9;
  23309. int phy_a10;
  23310. bool phy_a11 = false;
  23311. int phy_a12;
  23312. u8 phy_a13 = 0;
  23313. u8 phy_a14;
  23314. u8 *phy_a15 = NULL;
  23315. phy_a4.useindex = true;
  23316. phy_a12 = start_gain;
  23317. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23318. phy_a2 = 20;
  23319. phy_a1 = 1;
  23320. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23321. if (pi->pubpi.radiorev == 5) {
  23322. phy_a15 = pad_gain_codes_used_2057rev5;
  23323. phy_a13 =
  23324. ARRAY_SIZE(pad_gain_codes_used_2057rev5) - 1;
  23325. } else if ((pi->pubpi.radiorev == 7)
  23326. || (pi->pubpi.radiorev == 8)) {
  23327. phy_a15 = pad_gain_codes_used_2057rev7;
  23328. phy_a13 =
  23329. ARRAY_SIZE(pad_gain_codes_used_2057rev7) - 1;
  23330. } else {
  23331. phy_a15 = pad_all_gain_codes_2057;
  23332. phy_a13 = ARRAY_SIZE(pad_all_gain_codes_2057) -
  23333. 1;
  23334. }
  23335. } else {
  23336. phy_a15 = pga_all_gain_codes_2057;
  23337. phy_a13 = ARRAY_SIZE(pga_all_gain_codes_2057) - 1;
  23338. }
  23339. phy_a14 = 0;
  23340. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23341. if (CHSPEC_IS2G(pi->radio_chanspec))
  23342. phy_a4.gains.pad[core] =
  23343. (u16) phy_a15[phy_a12];
  23344. else
  23345. phy_a4.gains.pga[core] =
  23346. (u16) phy_a15[phy_a12];
  23347. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23348. wlc_phy_table_read_nphy(pi,
  23349. (core ==
  23350. PHY_CORE_0 ?
  23351. NPHY_TBL_ID_EPSILONTBL0 :
  23352. NPHY_TBL_ID_EPSILONTBL1), 1,
  23353. 63, 32, &phy_a9);
  23354. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23355. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23356. (phy_a8 == 4095) || (phy_a8 == -4096));
  23357. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23358. if (!phy_a3)
  23359. phy_a12 -= (u8) phy_a1;
  23360. phy_a11 = true;
  23361. break;
  23362. }
  23363. if (phy_a3)
  23364. phy_a12 += (u8) phy_a1;
  23365. else
  23366. phy_a12 -= (u8) phy_a1;
  23367. if ((phy_a12 < phy_a14) || (phy_a12 > phy_a13)) {
  23368. if (phy_a12 < phy_a14)
  23369. phy_a12 = phy_a14;
  23370. else
  23371. phy_a12 = phy_a13;
  23372. phy_a11 = true;
  23373. break;
  23374. }
  23375. phy_a6 = false;
  23376. phy_a5 = phy_a3;
  23377. }
  23378. } else {
  23379. phy_a2 = 10;
  23380. phy_a1 = 8;
  23381. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23382. phy_a4.index = (u8) phy_a12;
  23383. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23384. wlc_phy_table_read_nphy(pi,
  23385. (core ==
  23386. PHY_CORE_0 ?
  23387. NPHY_TBL_ID_EPSILONTBL0 :
  23388. NPHY_TBL_ID_EPSILONTBL1), 1,
  23389. 63, 32, &phy_a9);
  23390. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23391. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23392. (phy_a8 == 4095) || (phy_a8 == -4096));
  23393. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23394. if (!phy_a3)
  23395. phy_a12 -= (u8) phy_a1;
  23396. phy_a11 = true;
  23397. break;
  23398. }
  23399. if (phy_a3)
  23400. phy_a12 += (u8) phy_a1;
  23401. else
  23402. phy_a12 -= (u8) phy_a1;
  23403. if ((phy_a12 < 0) || (phy_a12 > 127)) {
  23404. if (phy_a12 < 0)
  23405. phy_a12 = 0;
  23406. else
  23407. phy_a12 = 127;
  23408. phy_a11 = true;
  23409. break;
  23410. }
  23411. phy_a6 = false;
  23412. phy_a5 = phy_a3;
  23413. }
  23414. }
  23415. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23416. return (u8) phy_a15[phy_a12];
  23417. else
  23418. return (u8) phy_a12;
  23419. }
  23420. static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal)
  23421. {
  23422. struct nphy_ipa_txcalgains phy_b1[2];
  23423. struct nphy_papd_restore_state phy_b2;
  23424. bool phy_b3;
  23425. u8 phy_b4;
  23426. u8 phy_b5;
  23427. s16 phy_b6, phy_b7, phy_b8;
  23428. u16 phy_b9;
  23429. s16 phy_b10, phy_b11, phy_b12;
  23430. phy_b11 = 0;
  23431. phy_b12 = 0;
  23432. phy_b7 = 0;
  23433. phy_b8 = 0;
  23434. phy_b6 = 0;
  23435. if (pi->nphy_papd_skip == 1)
  23436. return;
  23437. phy_b3 = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  23438. MCTL_EN_MAC));
  23439. if (!phy_b3)
  23440. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23441. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23442. pi->nphy_force_papd_cal = false;
  23443. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++)
  23444. pi->nphy_papd_tx_gain_at_last_cal[phy_b5] =
  23445. wlc_phy_txpwr_idx_cur_get_nphy(pi, phy_b5);
  23446. pi->nphy_papd_last_cal = pi->sh->now;
  23447. pi->nphy_papd_recal_counter++;
  23448. phy_b4 = pi->nphy_txpwrctrl;
  23449. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23450. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL0, 64, 0, 32,
  23451. nphy_papd_scaltbl);
  23452. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL1, 64, 0, 32,
  23453. nphy_papd_scaltbl);
  23454. phy_b9 = read_phy_reg(pi, 0x01);
  23455. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  23456. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23457. s32 i, val = 0;
  23458. for (i = 0; i < 64; i++)
  23459. wlc_phy_table_write_nphy(pi,
  23460. ((phy_b5 ==
  23461. PHY_CORE_0) ?
  23462. NPHY_TBL_ID_EPSILONTBL0 :
  23463. NPHY_TBL_ID_EPSILONTBL1), 1,
  23464. i, 32, &val);
  23465. }
  23466. wlc_phy_ipa_restore_tx_digi_filts_nphy(pi);
  23467. phy_b2.mm = wlc_phy_ipa_get_bbmult_nphy(pi);
  23468. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23469. wlc_phy_papd_cal_setup_nphy(pi, &phy_b2, phy_b5);
  23470. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23471. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23472. if ((pi->pubpi.radiorev == 3)
  23473. || (pi->pubpi.radiorev == 4)
  23474. || (pi->pubpi.radiorev == 6)) {
  23475. pi->nphy_papd_cal_gain_index[phy_b5] =
  23476. 23;
  23477. } else if (pi->pubpi.radiorev == 5) {
  23478. pi->nphy_papd_cal_gain_index[phy_b5] =
  23479. 0;
  23480. pi->nphy_papd_cal_gain_index[phy_b5] =
  23481. wlc_phy_a3_nphy(
  23482. pi,
  23483. pi->
  23484. nphy_papd_cal_gain_index
  23485. [phy_b5],
  23486. phy_b5);
  23487. } else if ((pi->pubpi.radiorev == 7)
  23488. || (pi->pubpi.radiorev == 8)) {
  23489. pi->nphy_papd_cal_gain_index[phy_b5] =
  23490. 0;
  23491. pi->nphy_papd_cal_gain_index[phy_b5] =
  23492. wlc_phy_a3_nphy(
  23493. pi,
  23494. pi->
  23495. nphy_papd_cal_gain_index
  23496. [phy_b5],
  23497. phy_b5);
  23498. }
  23499. phy_b1[phy_b5].gains.pad[phy_b5] =
  23500. pi->nphy_papd_cal_gain_index[phy_b5];
  23501. } else {
  23502. pi->nphy_papd_cal_gain_index[phy_b5] = 0;
  23503. pi->nphy_papd_cal_gain_index[phy_b5] =
  23504. wlc_phy_a3_nphy(
  23505. pi,
  23506. pi->
  23507. nphy_papd_cal_gain_index
  23508. [phy_b5], phy_b5);
  23509. phy_b1[phy_b5].gains.pga[phy_b5] =
  23510. pi->nphy_papd_cal_gain_index[phy_b5];
  23511. }
  23512. } else {
  23513. phy_b1[phy_b5].useindex = true;
  23514. phy_b1[phy_b5].index = 16;
  23515. phy_b1[phy_b5].index =
  23516. wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index,
  23517. phy_b5);
  23518. pi->nphy_papd_cal_gain_index[phy_b5] =
  23519. 15 - ((phy_b1[phy_b5].index) >> 3);
  23520. }
  23521. switch (pi->nphy_papd_cal_type) {
  23522. case 0:
  23523. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_FULL, phy_b5);
  23524. break;
  23525. case 1:
  23526. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_SOFT, phy_b5);
  23527. break;
  23528. }
  23529. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23530. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23531. }
  23532. if (NREV_LT(pi->pubpi.phy_rev, 7))
  23533. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23534. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23535. int eps_offset = 0;
  23536. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23537. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23538. if (pi->pubpi.radiorev == 3)
  23539. eps_offset = -2;
  23540. else if (pi->pubpi.radiorev == 5)
  23541. eps_offset = 3;
  23542. else
  23543. eps_offset = -1;
  23544. } else {
  23545. eps_offset = 2;
  23546. }
  23547. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23548. phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5];
  23549. phy_b10 = 0;
  23550. if ((pi->pubpi.radiorev == 3) ||
  23551. (pi->pubpi.radiorev == 4) ||
  23552. (pi->pubpi.radiorev == 6)) {
  23553. phy_b12 = -(
  23554. nphy_papd_padgain_dlt_2g_2057rev3n4
  23555. [phy_b8] + 1) / 2;
  23556. phy_b10 = -1;
  23557. } else if (pi->pubpi.radiorev == 5) {
  23558. phy_b12 = -(
  23559. nphy_papd_padgain_dlt_2g_2057rev5
  23560. [phy_b8] + 1) / 2;
  23561. } else if ((pi->pubpi.radiorev == 7) ||
  23562. (pi->pubpi.radiorev == 8)) {
  23563. phy_b12 = -(
  23564. nphy_papd_padgain_dlt_2g_2057rev7
  23565. [phy_b8] + 1) / 2;
  23566. }
  23567. } else {
  23568. phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5];
  23569. if ((pi->pubpi.radiorev == 3) ||
  23570. (pi->pubpi.radiorev == 4) ||
  23571. (pi->pubpi.radiorev == 6))
  23572. phy_b11 =
  23573. -(nphy_papd_pgagain_dlt_5g_2057
  23574. [phy_b7]
  23575. + 1) / 2;
  23576. else if ((pi->pubpi.radiorev == 7)
  23577. || (pi->pubpi.radiorev == 8))
  23578. phy_b11 = -(
  23579. nphy_papd_pgagain_dlt_5g_2057rev7
  23580. [phy_b7] + 1) / 2;
  23581. phy_b10 = -9;
  23582. }
  23583. if (CHSPEC_IS2G(pi->radio_chanspec))
  23584. phy_b6 =
  23585. -60 + 27 + eps_offset + phy_b12 +
  23586. phy_b10;
  23587. else
  23588. phy_b6 =
  23589. -60 + 27 + eps_offset + phy_b11 +
  23590. phy_b10;
  23591. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23592. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23593. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23594. } else {
  23595. if (NREV_LT(pi->pubpi.phy_rev, 5))
  23596. eps_offset = 4;
  23597. else
  23598. eps_offset = 2;
  23599. phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3);
  23600. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23601. phy_b11 =
  23602. -(nphy_papd_pga_gain_delta_ipa_2g[
  23603. phy_b7] +
  23604. 1) / 2;
  23605. phy_b10 = 0;
  23606. } else {
  23607. phy_b11 =
  23608. -(nphy_papd_pga_gain_delta_ipa_5g[
  23609. phy_b7] +
  23610. 1) / 2;
  23611. phy_b10 = -9;
  23612. }
  23613. phy_b6 = -60 + 27 + eps_offset + phy_b11 + phy_b10;
  23614. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23615. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23616. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23617. }
  23618. }
  23619. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  23620. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23621. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  23622. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23623. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23624. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23625. 0x2a4, (0x1 << 13), (0) << 13);
  23626. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23627. 0x2a4, (0x1 << 13), (0) << 13);
  23628. } else {
  23629. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23630. 0x2a4, (0x1 << 11), (0) << 11);
  23631. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23632. 0x2a4, (0x1 << 11), (0) << 11);
  23633. }
  23634. pi->nphy_papdcomp = NPHY_PAPD_COMP_ON;
  23635. write_phy_reg(pi, 0x01, phy_b9);
  23636. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  23637. wlc_phy_txpwrctrl_enable_nphy(pi, phy_b4);
  23638. if (phy_b4 == PHY_TPC_HW_OFF) {
  23639. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23640. (s8) (pi->nphy_txpwrindex[0].
  23641. index_internal), false);
  23642. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23643. (s8) (pi->nphy_txpwrindex[1].
  23644. index_internal), false);
  23645. }
  23646. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  23647. if (!phy_b3)
  23648. wlapi_enable_mac(pi->sh->physhim);
  23649. }
  23650. void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype)
  23651. {
  23652. struct nphy_txgains target_gain;
  23653. u8 tx_pwr_ctrl_state;
  23654. bool fullcal = true;
  23655. bool restore_tx_gain = false;
  23656. bool mphase;
  23657. if (PHY_MUTED(pi))
  23658. return;
  23659. if (caltype == PHY_PERICAL_AUTO)
  23660. fullcal = (pi->radio_chanspec != pi->nphy_txiqlocal_chanspec);
  23661. else if (caltype == PHY_PERICAL_PARTIAL)
  23662. fullcal = false;
  23663. if (pi->cal_type_override != PHY_PERICAL_AUTO)
  23664. fullcal =
  23665. (pi->cal_type_override ==
  23666. PHY_PERICAL_FULL) ? true : false;
  23667. if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) {
  23668. if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec)
  23669. wlc_phy_cal_perical_mphase_restart(pi);
  23670. }
  23671. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL))
  23672. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000);
  23673. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23674. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23675. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_IDLE) ||
  23676. (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_INIT)) {
  23677. pi->nphy_cal_orig_pwr_idx[0] =
  23678. (u8) ((read_phy_reg(pi, 0x1ed) >> 8) & 0x7f);
  23679. pi->nphy_cal_orig_pwr_idx[1] =
  23680. (u8) ((read_phy_reg(pi, 0x1ee) >> 8) & 0x7f);
  23681. if (pi->nphy_txpwrctrl != PHY_TPC_HW_OFF) {
  23682. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2,
  23683. 0x110, 16,
  23684. pi->nphy_cal_orig_tx_gain);
  23685. } else {
  23686. pi->nphy_cal_orig_tx_gain[0] = 0;
  23687. pi->nphy_cal_orig_tx_gain[1] = 0;
  23688. }
  23689. }
  23690. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23691. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  23692. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23693. if (pi->antsel_type == ANTSEL_2x3)
  23694. wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
  23695. mphase = (pi->mphase_cal_phase_id != MPHASE_CAL_STATE_IDLE);
  23696. if (!mphase) {
  23697. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23698. wlc_phy_precal_txgain_nphy(pi);
  23699. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23700. restore_tx_gain = true;
  23701. target_gain = pi->nphy_cal_target_gain;
  23702. }
  23703. if (0 ==
  23704. wlc_phy_cal_txiqlo_nphy(pi, target_gain, fullcal,
  23705. mphase)) {
  23706. if (PHY_IPA(pi))
  23707. wlc_phy_a4(pi, true);
  23708. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23709. wlapi_enable_mac(pi->sh->physhim);
  23710. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION,
  23711. 10000);
  23712. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23713. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23714. if (0 == wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23715. (pi->first_cal_after_assoc ||
  23716. (pi->cal_type_override ==
  23717. PHY_PERICAL_FULL)) ? 2 : 0, false)) {
  23718. wlc_phy_savecal_nphy(pi);
  23719. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23720. pi->nphy_perical_last = pi->sh->now;
  23721. }
  23722. }
  23723. if (caltype != PHY_PERICAL_AUTO)
  23724. wlc_phy_rssi_cal_nphy(pi);
  23725. if (pi->first_cal_after_assoc
  23726. || (pi->cal_type_override == PHY_PERICAL_FULL)) {
  23727. pi->first_cal_after_assoc = false;
  23728. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23729. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23730. }
  23731. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23732. wlc_phy_radio205x_vcocal_nphy(pi);
  23733. } else {
  23734. switch (pi->mphase_cal_phase_id) {
  23735. case MPHASE_CAL_STATE_INIT:
  23736. pi->nphy_perical_last = pi->sh->now;
  23737. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  23738. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23739. wlc_phy_precal_txgain_nphy(pi);
  23740. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23741. pi->mphase_cal_phase_id++;
  23742. break;
  23743. case MPHASE_CAL_STATE_TXPHASE0:
  23744. case MPHASE_CAL_STATE_TXPHASE1:
  23745. case MPHASE_CAL_STATE_TXPHASE2:
  23746. case MPHASE_CAL_STATE_TXPHASE3:
  23747. case MPHASE_CAL_STATE_TXPHASE4:
  23748. case MPHASE_CAL_STATE_TXPHASE5:
  23749. if ((pi->radar_percal_mask & 0x10) != 0)
  23750. pi->nphy_rxcal_active = true;
  23751. if (wlc_phy_cal_txiqlo_nphy
  23752. (pi, pi->nphy_cal_target_gain, fullcal,
  23753. true) != 0) {
  23754. wlc_phy_cal_perical_mphase_reset(pi);
  23755. break;
  23756. }
  23757. if (NREV_LE(pi->pubpi.phy_rev, 2) &&
  23758. (pi->mphase_cal_phase_id ==
  23759. MPHASE_CAL_STATE_TXPHASE4))
  23760. pi->mphase_cal_phase_id += 2;
  23761. else
  23762. pi->mphase_cal_phase_id++;
  23763. break;
  23764. case MPHASE_CAL_STATE_PAPDCAL:
  23765. if ((pi->radar_percal_mask & 0x2) != 0)
  23766. pi->nphy_rxcal_active = true;
  23767. if (PHY_IPA(pi))
  23768. wlc_phy_a4(pi, true);
  23769. pi->mphase_cal_phase_id++;
  23770. break;
  23771. case MPHASE_CAL_STATE_RXCAL:
  23772. if ((pi->radar_percal_mask & 0x1) != 0)
  23773. pi->nphy_rxcal_active = true;
  23774. if (wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23775. (pi->first_cal_after_assoc ||
  23776. (pi->cal_type_override ==
  23777. PHY_PERICAL_FULL)) ? 2 : 0,
  23778. false) == 0)
  23779. wlc_phy_savecal_nphy(pi);
  23780. pi->mphase_cal_phase_id++;
  23781. break;
  23782. case MPHASE_CAL_STATE_RSSICAL:
  23783. if ((pi->radar_percal_mask & 0x4) != 0)
  23784. pi->nphy_rxcal_active = true;
  23785. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23786. wlc_phy_rssi_cal_nphy(pi);
  23787. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23788. wlc_phy_radio205x_vcocal_nphy(pi);
  23789. restore_tx_gain = true;
  23790. if (pi->first_cal_after_assoc)
  23791. pi->mphase_cal_phase_id++;
  23792. else
  23793. wlc_phy_cal_perical_mphase_reset(pi);
  23794. break;
  23795. case MPHASE_CAL_STATE_IDLETSSI:
  23796. if ((pi->radar_percal_mask & 0x8) != 0)
  23797. pi->nphy_rxcal_active = true;
  23798. if (pi->first_cal_after_assoc) {
  23799. pi->first_cal_after_assoc = false;
  23800. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23801. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23802. }
  23803. wlc_phy_cal_perical_mphase_reset(pi);
  23804. break;
  23805. default:
  23806. wlc_phy_cal_perical_mphase_reset(pi);
  23807. break;
  23808. }
  23809. }
  23810. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23811. if (restore_tx_gain) {
  23812. if (tx_pwr_ctrl_state != PHY_TPC_HW_OFF) {
  23813. wlc_phy_txpwr_index_nphy(pi, 1,
  23814. pi->
  23815. nphy_cal_orig_pwr_idx
  23816. [0], false);
  23817. wlc_phy_txpwr_index_nphy(pi, 2,
  23818. pi->
  23819. nphy_cal_orig_pwr_idx
  23820. [1], false);
  23821. pi->nphy_txpwrindex[0].index = -1;
  23822. pi->nphy_txpwrindex[1].index = -1;
  23823. } else {
  23824. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23825. (s8) (pi->
  23826. nphy_txpwrindex
  23827. [0].
  23828. index_internal),
  23829. false);
  23830. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23831. (s8) (pi->
  23832. nphy_txpwrindex
  23833. [1].
  23834. index_internal),
  23835. false);
  23836. }
  23837. }
  23838. }
  23839. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  23840. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23841. wlapi_enable_mac(pi->sh->physhim);
  23842. }
  23843. int
  23844. wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  23845. bool fullcal, bool mphase)
  23846. {
  23847. u16 val;
  23848. u16 tbl_buf[11];
  23849. u8 cal_cnt;
  23850. u16 cal_cmd;
  23851. u8 num_cals, max_cal_cmds;
  23852. u16 core_no, cal_type;
  23853. u16 diq_start = 0;
  23854. u8 phy_bw;
  23855. u16 max_val;
  23856. u16 tone_freq;
  23857. u16 gain_save[2];
  23858. u16 cal_gain[2];
  23859. struct nphy_iqcal_params cal_params[2];
  23860. u32 tbl_len;
  23861. const void *tbl_ptr;
  23862. bool ladder_updated[2];
  23863. u8 mphase_cal_lastphase = 0;
  23864. int bcmerror = 0;
  23865. bool phyhang_avoid_state = false;
  23866. static const u16 tbl_tx_iqlo_cal_loft_ladder_20[] = {
  23867. 0x0300, 0x0500, 0x0700, 0x0900, 0x0d00, 0x1100, 0x1900, 0x1901,
  23868. 0x1902,
  23869. 0x1903, 0x1904, 0x1905, 0x1906, 0x1907, 0x2407, 0x3207, 0x4607,
  23870. 0x6407
  23871. };
  23872. static const u16 tbl_tx_iqlo_cal_iqimb_ladder_20[] = {
  23873. 0x0200, 0x0300, 0x0600, 0x0900, 0x0d00, 0x1100, 0x1900, 0x2400,
  23874. 0x3200,
  23875. 0x4600, 0x6400, 0x6401, 0x6402, 0x6403, 0x6404, 0x6405, 0x6406,
  23876. 0x6407
  23877. };
  23878. static const u16 tbl_tx_iqlo_cal_loft_ladder_40[] = {
  23879. 0x0200, 0x0300, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1201,
  23880. 0x1202,
  23881. 0x1203, 0x1204, 0x1205, 0x1206, 0x1207, 0x1907, 0x2307, 0x3207,
  23882. 0x4707
  23883. };
  23884. static const u16 tbl_tx_iqlo_cal_iqimb_ladder_40[] = {
  23885. 0x0100, 0x0200, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1900,
  23886. 0x2300,
  23887. 0x3200, 0x4700, 0x4701, 0x4702, 0x4703, 0x4704, 0x4705, 0x4706,
  23888. 0x4707
  23889. };
  23890. static const u16 tbl_tx_iqlo_cal_startcoefs[] = {
  23891. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23892. 0x0000
  23893. };
  23894. static const u16 tbl_tx_iqlo_cal_cmds_fullcal[] = {
  23895. 0x8123, 0x8264, 0x8086, 0x8245, 0x8056,
  23896. 0x9123, 0x9264, 0x9086, 0x9245, 0x9056
  23897. };
  23898. static const u16 tbl_tx_iqlo_cal_cmds_recal[] = {
  23899. 0x8101, 0x8253, 0x8053, 0x8234, 0x8034,
  23900. 0x9101, 0x9253, 0x9053, 0x9234, 0x9034
  23901. };
  23902. static const u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[] = {
  23903. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23904. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23905. 0x0000
  23906. };
  23907. static const u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[] = {
  23908. 0x8434, 0x8334, 0x8084, 0x8267, 0x8056, 0x8234,
  23909. 0x9434, 0x9334, 0x9084, 0x9267, 0x9056, 0x9234
  23910. };
  23911. static const u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[] = {
  23912. 0x8423, 0x8323, 0x8073, 0x8256, 0x8045, 0x8223,
  23913. 0x9423, 0x9323, 0x9073, 0x9256, 0x9045, 0x9223
  23914. };
  23915. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23916. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  23917. phyhang_avoid_state = pi->phyhang_avoid;
  23918. pi->phyhang_avoid = false;
  23919. }
  23920. if (CHSPEC_IS40(pi->radio_chanspec))
  23921. phy_bw = 40;
  23922. else
  23923. phy_bw = 20;
  23924. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  23925. for (core_no = 0; core_no <= 1; core_no++) {
  23926. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  23927. &cal_params[core_no]);
  23928. cal_gain[core_no] = cal_params[core_no].cal_gain;
  23929. }
  23930. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  23931. wlc_phy_txcal_radio_setup_nphy(pi);
  23932. wlc_phy_txcal_physetup_nphy(pi);
  23933. ladder_updated[0] = ladder_updated[1] = false;
  23934. if (!(NREV_GE(pi->pubpi.phy_rev, 6) ||
  23935. (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi)
  23936. && (CHSPEC_IS2G(pi->radio_chanspec))))) {
  23937. if (phy_bw == 40) {
  23938. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_40;
  23939. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_40);
  23940. } else {
  23941. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_20;
  23942. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_20);
  23943. }
  23944. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 0,
  23945. 16, tbl_ptr);
  23946. if (phy_bw == 40) {
  23947. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_40;
  23948. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_40);
  23949. } else {
  23950. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_20;
  23951. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_20);
  23952. }
  23953. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 32,
  23954. 16, tbl_ptr);
  23955. }
  23956. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23957. write_phy_reg(pi, 0xc2, 0x8ad9);
  23958. else
  23959. write_phy_reg(pi, 0xc2, 0x8aa9);
  23960. max_val = 250;
  23961. tone_freq = (phy_bw == 20) ? 2500 : 5000;
  23962. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  23963. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff, 0, 1, 0, false);
  23964. bcmerror = 0;
  23965. } else {
  23966. bcmerror =
  23967. wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0,
  23968. false);
  23969. }
  23970. if (bcmerror == 0) {
  23971. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  23972. tbl_ptr = pi->mphase_txcal_bestcoeffs;
  23973. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  23974. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23975. tbl_len -= 2;
  23976. } else {
  23977. if ((!fullcal) && (pi->nphy_txiqlocal_coeffsvalid)) {
  23978. tbl_ptr = pi->nphy_txiqlocal_bestc;
  23979. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  23980. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23981. tbl_len -= 2;
  23982. } else {
  23983. fullcal = true;
  23984. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23985. tbl_ptr =
  23986. tbl_tx_iqlo_cal_startcoefs_nphyrev3;
  23987. tbl_len = ARRAY_SIZE(
  23988. tbl_tx_iqlo_cal_startcoefs_nphyrev3);
  23989. } else {
  23990. tbl_ptr = tbl_tx_iqlo_cal_startcoefs;
  23991. tbl_len = ARRAY_SIZE(
  23992. tbl_tx_iqlo_cal_startcoefs);
  23993. }
  23994. }
  23995. }
  23996. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 64,
  23997. 16, tbl_ptr);
  23998. if (fullcal) {
  23999. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24000. ARRAY_SIZE(
  24001. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3) :
  24002. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_fullcal);
  24003. } else {
  24004. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24005. ARRAY_SIZE(
  24006. tbl_tx_iqlo_cal_cmds_recal_nphyrev3) :
  24007. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_recal);
  24008. }
  24009. if (mphase) {
  24010. cal_cnt = pi->mphase_txcal_cmdidx;
  24011. if ((cal_cnt + pi->mphase_txcal_numcmds) < max_cal_cmds)
  24012. num_cals = cal_cnt + pi->mphase_txcal_numcmds;
  24013. else
  24014. num_cals = max_cal_cmds;
  24015. } else {
  24016. cal_cnt = 0;
  24017. num_cals = max_cal_cmds;
  24018. }
  24019. for (; cal_cnt < num_cals; cal_cnt++) {
  24020. if (fullcal) {
  24021. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24022. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3
  24023. [cal_cnt] :
  24024. tbl_tx_iqlo_cal_cmds_fullcal[cal_cnt];
  24025. } else {
  24026. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24027. tbl_tx_iqlo_cal_cmds_recal_nphyrev3[
  24028. cal_cnt]
  24029. : tbl_tx_iqlo_cal_cmds_recal[cal_cnt];
  24030. }
  24031. core_no = ((cal_cmd & 0x3000) >> 12);
  24032. cal_type = ((cal_cmd & 0x0F00) >> 8);
  24033. if (NREV_GE(pi->pubpi.phy_rev, 6) ||
  24034. (NREV_IS(pi->pubpi.phy_rev, 5) &&
  24035. PHY_IPA(pi)
  24036. && (CHSPEC_IS2G(pi->radio_chanspec)))) {
  24037. if (!ladder_updated[core_no]) {
  24038. wlc_phy_update_txcal_ladder_nphy(
  24039. pi,
  24040. core_no);
  24041. ladder_updated[core_no] = true;
  24042. }
  24043. }
  24044. val =
  24045. (cal_params[core_no].
  24046. ncorr[cal_type] << 8) | NPHY_N_GCTL;
  24047. write_phy_reg(pi, 0xc1, val);
  24048. if ((cal_type == 1) || (cal_type == 3)
  24049. || (cal_type == 4)) {
  24050. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24051. 1, 69 + core_no, 16,
  24052. tbl_buf);
  24053. diq_start = tbl_buf[0];
  24054. tbl_buf[0] = 0;
  24055. wlc_phy_table_write_nphy(pi,
  24056. NPHY_TBL_ID_IQLOCAL, 1,
  24057. 69 + core_no, 16,
  24058. tbl_buf);
  24059. }
  24060. write_phy_reg(pi, 0xc0, cal_cmd);
  24061. SPINWAIT(((read_phy_reg(pi, 0xc0) & 0xc000) != 0),
  24062. 20000);
  24063. if (WARN(read_phy_reg(pi, 0xc0) & 0xc000,
  24064. "HW error: txiq calib"))
  24065. return -EIO;
  24066. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24067. tbl_len, 96, 16, tbl_buf);
  24068. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24069. tbl_len, 64, 16, tbl_buf);
  24070. if ((cal_type == 1) || (cal_type == 3)
  24071. || (cal_type == 4)) {
  24072. tbl_buf[0] = diq_start;
  24073. }
  24074. }
  24075. if (mphase) {
  24076. pi->mphase_txcal_cmdidx = num_cals;
  24077. if (pi->mphase_txcal_cmdidx >= max_cal_cmds)
  24078. pi->mphase_txcal_cmdidx = 0;
  24079. }
  24080. mphase_cal_lastphase =
  24081. (NREV_LE(pi->pubpi.phy_rev, 2)) ?
  24082. MPHASE_CAL_STATE_TXPHASE4 : MPHASE_CAL_STATE_TXPHASE5;
  24083. if (!mphase
  24084. || (pi->mphase_cal_phase_id == mphase_cal_lastphase)) {
  24085. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 96,
  24086. 16, tbl_buf);
  24087. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24088. 16, tbl_buf);
  24089. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24090. tbl_buf[0] = 0;
  24091. tbl_buf[1] = 0;
  24092. tbl_buf[2] = 0;
  24093. tbl_buf[3] = 0;
  24094. }
  24095. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24096. 16, tbl_buf);
  24097. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 101,
  24098. 16, tbl_buf);
  24099. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24100. 16, tbl_buf);
  24101. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24102. 16, tbl_buf);
  24103. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24104. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24105. tbl_len -= 2;
  24106. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24107. tbl_len, 96, 16,
  24108. pi->nphy_txiqlocal_bestc);
  24109. pi->nphy_txiqlocal_coeffsvalid = true;
  24110. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  24111. } else {
  24112. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24113. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24114. tbl_len -= 2;
  24115. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24116. tbl_len, 96, 16,
  24117. pi->mphase_txcal_bestcoeffs);
  24118. }
  24119. wlc_phy_stopplayback_nphy(pi);
  24120. write_phy_reg(pi, 0xc2, 0x0000);
  24121. }
  24122. wlc_phy_txcal_phycleanup_nphy(pi);
  24123. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  24124. gain_save);
  24125. wlc_phy_txcal_radio_cleanup_nphy(pi);
  24126. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24127. if (!mphase
  24128. || (pi->mphase_cal_phase_id == mphase_cal_lastphase))
  24129. wlc_phy_tx_iq_war_nphy(pi);
  24130. }
  24131. if (NREV_GE(pi->pubpi.phy_rev, 4))
  24132. pi->phyhang_avoid = phyhang_avoid_state;
  24133. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  24134. return bcmerror;
  24135. }
  24136. static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi)
  24137. {
  24138. u16 tbl_buf[7];
  24139. if ((pi->nphy_txiqlocal_chanspec == pi->radio_chanspec) &&
  24140. (pi->nphy_txiqlocal_coeffsvalid)) {
  24141. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24142. ARRAY_SIZE(tbl_buf), 80, 16, tbl_buf);
  24143. if ((pi->nphy_txiqlocal_bestc[0] != tbl_buf[0]) ||
  24144. (pi->nphy_txiqlocal_bestc[1] != tbl_buf[1]) ||
  24145. (pi->nphy_txiqlocal_bestc[2] != tbl_buf[2]) ||
  24146. (pi->nphy_txiqlocal_bestc[3] != tbl_buf[3])) {
  24147. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24148. 16, pi->nphy_txiqlocal_bestc);
  24149. tbl_buf[0] = 0;
  24150. tbl_buf[1] = 0;
  24151. tbl_buf[2] = 0;
  24152. tbl_buf[3] = 0;
  24153. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24154. 16, tbl_buf);
  24155. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24156. 16,
  24157. &pi->nphy_txiqlocal_bestc[5]);
  24158. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24159. 16,
  24160. &pi->nphy_txiqlocal_bestc[5]);
  24161. }
  24162. }
  24163. }
  24164. void
  24165. wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write,
  24166. struct nphy_iq_comp *pcomp)
  24167. {
  24168. if (write) {
  24169. write_phy_reg(pi, 0x9a, pcomp->a0);
  24170. write_phy_reg(pi, 0x9b, pcomp->b0);
  24171. write_phy_reg(pi, 0x9c, pcomp->a1);
  24172. write_phy_reg(pi, 0x9d, pcomp->b1);
  24173. } else {
  24174. pcomp->a0 = read_phy_reg(pi, 0x9a);
  24175. pcomp->b0 = read_phy_reg(pi, 0x9b);
  24176. pcomp->a1 = read_phy_reg(pi, 0x9c);
  24177. pcomp->b1 = read_phy_reg(pi, 0x9d);
  24178. }
  24179. }
  24180. void
  24181. wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
  24182. u16 num_samps, u8 wait_time, u8 wait_for_crs)
  24183. {
  24184. u8 core;
  24185. write_phy_reg(pi, 0x12b, num_samps);
  24186. mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0));
  24187. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqMode,
  24188. (wait_for_crs) ? NPHY_IqestCmd_iqMode : 0);
  24189. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqstart, NPHY_IqestCmd_iqstart);
  24190. SPINWAIT(((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) != 0),
  24191. 10000);
  24192. if (WARN(read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart,
  24193. "HW error: rxiq est"))
  24194. return;
  24195. if ((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) == 0) {
  24196. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  24197. est[core].i_pwr =
  24198. (read_phy_reg(pi,
  24199. NPHY_IqestipwrAccHi(core)) << 16)
  24200. | read_phy_reg(pi, NPHY_IqestipwrAccLo(core));
  24201. est[core].q_pwr =
  24202. (read_phy_reg(pi,
  24203. NPHY_IqestqpwrAccHi(core)) << 16)
  24204. | read_phy_reg(pi, NPHY_IqestqpwrAccLo(core));
  24205. est[core].iq_prod =
  24206. (read_phy_reg(pi,
  24207. NPHY_IqestIqAccHi(core)) << 16) |
  24208. read_phy_reg(pi, NPHY_IqestIqAccLo(core));
  24209. }
  24210. }
  24211. }
  24212. #define CAL_RETRY_CNT 2
  24213. static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask)
  24214. {
  24215. u8 curr_core;
  24216. struct phy_iq_est est[PHY_CORE_MAX];
  24217. struct nphy_iq_comp old_comp, new_comp;
  24218. s32 iq = 0;
  24219. u32 ii = 0, qq = 0;
  24220. s16 iq_nbits, qq_nbits, brsh, arsh;
  24221. s32 a, b, temp;
  24222. int bcmerror = 0;
  24223. uint cal_retry = 0;
  24224. if (core_mask == 0x0)
  24225. return;
  24226. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &old_comp);
  24227. new_comp.a0 = new_comp.b0 = new_comp.a1 = new_comp.b1 = 0x0;
  24228. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24229. cal_try:
  24230. wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0);
  24231. new_comp = old_comp;
  24232. for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) {
  24233. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24234. iq = est[curr_core].iq_prod;
  24235. ii = est[curr_core].i_pwr;
  24236. qq = est[curr_core].q_pwr;
  24237. } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24238. iq = est[curr_core].iq_prod;
  24239. ii = est[curr_core].i_pwr;
  24240. qq = est[curr_core].q_pwr;
  24241. } else {
  24242. continue;
  24243. }
  24244. if ((ii + qq) < NPHY_MIN_RXIQ_PWR) {
  24245. bcmerror = -EBADE;
  24246. break;
  24247. }
  24248. iq_nbits = wlc_phy_nbits(iq);
  24249. qq_nbits = wlc_phy_nbits(qq);
  24250. arsh = 10 - (30 - iq_nbits);
  24251. if (arsh >= 0) {
  24252. a = (-(iq << (30 - iq_nbits)) + (ii >> (1 + arsh)));
  24253. temp = (s32) (ii >> arsh);
  24254. if (temp == 0) {
  24255. bcmerror = -EBADE;
  24256. break;
  24257. }
  24258. } else {
  24259. a = (-(iq << (30 - iq_nbits)) + (ii << (-1 - arsh)));
  24260. temp = (s32) (ii << -arsh);
  24261. if (temp == 0) {
  24262. bcmerror = -EBADE;
  24263. break;
  24264. }
  24265. }
  24266. a /= temp;
  24267. brsh = qq_nbits - 31 + 20;
  24268. if (brsh >= 0) {
  24269. b = (qq << (31 - qq_nbits));
  24270. temp = (s32) (ii >> brsh);
  24271. if (temp == 0) {
  24272. bcmerror = -EBADE;
  24273. break;
  24274. }
  24275. } else {
  24276. b = (qq << (31 - qq_nbits));
  24277. temp = (s32) (ii << -brsh);
  24278. if (temp == 0) {
  24279. bcmerror = -EBADE;
  24280. break;
  24281. }
  24282. }
  24283. b /= temp;
  24284. b -= a * a;
  24285. b = (s32) int_sqrt((unsigned long) b);
  24286. b -= (1 << 10);
  24287. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24288. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24289. new_comp.a0 = (s16) a & 0x3ff;
  24290. new_comp.b0 = (s16) b & 0x3ff;
  24291. } else {
  24292. new_comp.a0 = (s16) b & 0x3ff;
  24293. new_comp.b0 = (s16) a & 0x3ff;
  24294. }
  24295. }
  24296. if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24297. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24298. new_comp.a1 = (s16) a & 0x3ff;
  24299. new_comp.b1 = (s16) b & 0x3ff;
  24300. } else {
  24301. new_comp.a1 = (s16) b & 0x3ff;
  24302. new_comp.b1 = (s16) a & 0x3ff;
  24303. }
  24304. }
  24305. }
  24306. if (bcmerror != 0) {
  24307. pr_debug("%s: Failed, cnt = %d\n", __func__, cal_retry);
  24308. if (cal_retry < CAL_RETRY_CNT) {
  24309. cal_retry++;
  24310. goto cal_try;
  24311. }
  24312. new_comp = old_comp;
  24313. }
  24314. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24315. }
  24316. static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core)
  24317. {
  24318. u16 offtune_val;
  24319. u16 bias_g = 0;
  24320. u16 bias_a = 0;
  24321. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24322. if (rx_core == PHY_CORE_0) {
  24323. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24324. pi->tx_rx_cal_radio_saveregs[0] =
  24325. read_radio_reg(pi,
  24326. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP);
  24327. pi->tx_rx_cal_radio_saveregs[1] =
  24328. read_radio_reg(pi,
  24329. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN);
  24330. write_radio_reg(pi,
  24331. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24332. 0x3);
  24333. write_radio_reg(pi,
  24334. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24335. 0xaf);
  24336. } else {
  24337. pi->tx_rx_cal_radio_saveregs[0] =
  24338. read_radio_reg(pi,
  24339. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP);
  24340. pi->tx_rx_cal_radio_saveregs[1] =
  24341. read_radio_reg(pi,
  24342. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN);
  24343. write_radio_reg(
  24344. pi,
  24345. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24346. 0x3);
  24347. write_radio_reg(
  24348. pi,
  24349. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24350. 0x7f);
  24351. }
  24352. } else {
  24353. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24354. pi->tx_rx_cal_radio_saveregs[0] =
  24355. read_radio_reg(pi,
  24356. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP);
  24357. pi->tx_rx_cal_radio_saveregs[1] =
  24358. read_radio_reg(pi,
  24359. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN);
  24360. write_radio_reg(
  24361. pi,
  24362. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24363. 0x3);
  24364. write_radio_reg(
  24365. pi,
  24366. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24367. 0xaf);
  24368. } else {
  24369. pi->tx_rx_cal_radio_saveregs[0] =
  24370. read_radio_reg(pi,
  24371. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP);
  24372. pi->tx_rx_cal_radio_saveregs[1] =
  24373. read_radio_reg(pi,
  24374. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN);
  24375. write_radio_reg(pi,
  24376. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24377. 0x3);
  24378. write_radio_reg(pi,
  24379. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24380. 0x7f);
  24381. }
  24382. }
  24383. } else {
  24384. if (rx_core == PHY_CORE_0) {
  24385. pi->tx_rx_cal_radio_saveregs[0] =
  24386. read_radio_reg(pi,
  24387. RADIO_2056_TX_RXIQCAL_TXMUX |
  24388. RADIO_2056_TX1);
  24389. pi->tx_rx_cal_radio_saveregs[1] =
  24390. read_radio_reg(pi,
  24391. RADIO_2056_RX_RXIQCAL_RXMUX |
  24392. RADIO_2056_RX0);
  24393. if (pi->pubpi.radiorev >= 5) {
  24394. pi->tx_rx_cal_radio_saveregs[2] =
  24395. read_radio_reg(pi,
  24396. RADIO_2056_RX_RXSPARE2 |
  24397. RADIO_2056_RX0);
  24398. pi->tx_rx_cal_radio_saveregs[3] =
  24399. read_radio_reg(pi,
  24400. RADIO_2056_TX_TXSPARE2 |
  24401. RADIO_2056_TX1);
  24402. }
  24403. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24404. if (pi->pubpi.radiorev >= 5) {
  24405. pi->tx_rx_cal_radio_saveregs[4] =
  24406. read_radio_reg(pi,
  24407. RADIO_2056_RX_LNAA_MASTER
  24408. | RADIO_2056_RX0);
  24409. write_radio_reg(
  24410. pi,
  24411. RADIO_2056_RX_LNAA_MASTER
  24412. | RADIO_2056_RX0, 0x40);
  24413. write_radio_reg(pi,
  24414. RADIO_2056_TX_TXSPARE2 |
  24415. RADIO_2056_TX1, bias_a);
  24416. write_radio_reg(pi,
  24417. RADIO_2056_RX_RXSPARE2 |
  24418. RADIO_2056_RX0, bias_a);
  24419. } else {
  24420. pi->tx_rx_cal_radio_saveregs[4] =
  24421. read_radio_reg(pi,
  24422. RADIO_2056_RX_LNAA_TUNE
  24423. | RADIO_2056_RX0);
  24424. offtune_val =
  24425. (pi->tx_rx_cal_radio_saveregs
  24426. [2] & 0xF0) >> 8;
  24427. offtune_val =
  24428. (offtune_val <= 0x7) ? 0xF : 0;
  24429. mod_radio_reg(pi,
  24430. RADIO_2056_RX_LNAA_TUNE |
  24431. RADIO_2056_RX0, 0xF0,
  24432. (offtune_val << 8));
  24433. }
  24434. write_radio_reg(pi,
  24435. RADIO_2056_TX_RXIQCAL_TXMUX |
  24436. RADIO_2056_TX1, 0x9);
  24437. write_radio_reg(pi,
  24438. RADIO_2056_RX_RXIQCAL_RXMUX |
  24439. RADIO_2056_RX0, 0x9);
  24440. } else {
  24441. if (pi->pubpi.radiorev >= 5) {
  24442. pi->tx_rx_cal_radio_saveregs[4] =
  24443. read_radio_reg(
  24444. pi,
  24445. RADIO_2056_RX_LNAG_MASTER
  24446. | RADIO_2056_RX0);
  24447. write_radio_reg(
  24448. pi,
  24449. RADIO_2056_RX_LNAG_MASTER
  24450. | RADIO_2056_RX0, 0x40);
  24451. write_radio_reg(
  24452. pi,
  24453. RADIO_2056_TX_TXSPARE2
  24454. |
  24455. RADIO_2056_TX1, bias_g);
  24456. write_radio_reg(
  24457. pi,
  24458. RADIO_2056_RX_RXSPARE2
  24459. |
  24460. RADIO_2056_RX0, bias_g);
  24461. } else {
  24462. pi->tx_rx_cal_radio_saveregs[4] =
  24463. read_radio_reg(
  24464. pi,
  24465. RADIO_2056_RX_LNAG_TUNE
  24466. | RADIO_2056_RX0);
  24467. offtune_val =
  24468. (pi->
  24469. tx_rx_cal_radio_saveregs[2] &
  24470. 0xF0) >> 8;
  24471. offtune_val =
  24472. (offtune_val <= 0x7) ? 0xF : 0;
  24473. mod_radio_reg(pi,
  24474. RADIO_2056_RX_LNAG_TUNE |
  24475. RADIO_2056_RX0, 0xF0,
  24476. (offtune_val << 8));
  24477. }
  24478. write_radio_reg(pi,
  24479. RADIO_2056_TX_RXIQCAL_TXMUX |
  24480. RADIO_2056_TX1, 0x6);
  24481. write_radio_reg(pi,
  24482. RADIO_2056_RX_RXIQCAL_RXMUX |
  24483. RADIO_2056_RX0, 0x6);
  24484. }
  24485. } else {
  24486. pi->tx_rx_cal_radio_saveregs[0] =
  24487. read_radio_reg(pi,
  24488. RADIO_2056_TX_RXIQCAL_TXMUX |
  24489. RADIO_2056_TX0);
  24490. pi->tx_rx_cal_radio_saveregs[1] =
  24491. read_radio_reg(pi,
  24492. RADIO_2056_RX_RXIQCAL_RXMUX |
  24493. RADIO_2056_RX1);
  24494. if (pi->pubpi.radiorev >= 5) {
  24495. pi->tx_rx_cal_radio_saveregs[2] =
  24496. read_radio_reg(pi,
  24497. RADIO_2056_RX_RXSPARE2 |
  24498. RADIO_2056_RX1);
  24499. pi->tx_rx_cal_radio_saveregs[3] =
  24500. read_radio_reg(pi,
  24501. RADIO_2056_TX_TXSPARE2 |
  24502. RADIO_2056_TX0);
  24503. }
  24504. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24505. if (pi->pubpi.radiorev >= 5) {
  24506. pi->tx_rx_cal_radio_saveregs[4] =
  24507. read_radio_reg(
  24508. pi,
  24509. RADIO_2056_RX_LNAA_MASTER
  24510. | RADIO_2056_RX1);
  24511. write_radio_reg(
  24512. pi,
  24513. RADIO_2056_RX_LNAA_MASTER |
  24514. RADIO_2056_RX1, 0x40);
  24515. write_radio_reg(
  24516. pi,
  24517. RADIO_2056_TX_TXSPARE2
  24518. |
  24519. RADIO_2056_TX0, bias_a);
  24520. write_radio_reg(
  24521. pi,
  24522. RADIO_2056_RX_RXSPARE2
  24523. |
  24524. RADIO_2056_RX1, bias_a);
  24525. } else {
  24526. pi->tx_rx_cal_radio_saveregs[4] =
  24527. read_radio_reg(
  24528. pi,
  24529. RADIO_2056_RX_LNAA_TUNE
  24530. | RADIO_2056_RX1);
  24531. offtune_val =
  24532. (pi->
  24533. tx_rx_cal_radio_saveregs[2] &
  24534. 0xF0) >> 8;
  24535. offtune_val =
  24536. (offtune_val <= 0x7) ? 0xF : 0;
  24537. mod_radio_reg(pi,
  24538. RADIO_2056_RX_LNAA_TUNE |
  24539. RADIO_2056_RX1, 0xF0,
  24540. (offtune_val << 8));
  24541. }
  24542. write_radio_reg(pi,
  24543. RADIO_2056_TX_RXIQCAL_TXMUX |
  24544. RADIO_2056_TX0, 0x9);
  24545. write_radio_reg(pi,
  24546. RADIO_2056_RX_RXIQCAL_RXMUX |
  24547. RADIO_2056_RX1, 0x9);
  24548. } else {
  24549. if (pi->pubpi.radiorev >= 5) {
  24550. pi->tx_rx_cal_radio_saveregs[4] =
  24551. read_radio_reg(
  24552. pi,
  24553. RADIO_2056_RX_LNAG_MASTER
  24554. | RADIO_2056_RX1);
  24555. write_radio_reg(
  24556. pi,
  24557. RADIO_2056_RX_LNAG_MASTER
  24558. | RADIO_2056_RX1, 0x40);
  24559. write_radio_reg(
  24560. pi,
  24561. RADIO_2056_TX_TXSPARE2
  24562. |
  24563. RADIO_2056_TX0, bias_g);
  24564. write_radio_reg(
  24565. pi,
  24566. RADIO_2056_RX_RXSPARE2
  24567. |
  24568. RADIO_2056_RX1, bias_g);
  24569. } else {
  24570. pi->tx_rx_cal_radio_saveregs[4] =
  24571. read_radio_reg(
  24572. pi,
  24573. RADIO_2056_RX_LNAG_TUNE
  24574. | RADIO_2056_RX1);
  24575. offtune_val =
  24576. (pi->
  24577. tx_rx_cal_radio_saveregs[2] &
  24578. 0xF0) >> 8;
  24579. offtune_val =
  24580. (offtune_val <= 0x7) ? 0xF : 0;
  24581. mod_radio_reg(pi,
  24582. RADIO_2056_RX_LNAG_TUNE |
  24583. RADIO_2056_RX1, 0xF0,
  24584. (offtune_val << 8));
  24585. }
  24586. write_radio_reg(pi,
  24587. RADIO_2056_TX_RXIQCAL_TXMUX |
  24588. RADIO_2056_TX0, 0x6);
  24589. write_radio_reg(pi,
  24590. RADIO_2056_RX_RXIQCAL_RXMUX |
  24591. RADIO_2056_RX1, 0x6);
  24592. }
  24593. }
  24594. }
  24595. }
  24596. static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24597. {
  24598. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24599. if (rx_core == PHY_CORE_0) {
  24600. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24601. write_radio_reg(
  24602. pi,
  24603. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24604. pi->
  24605. tx_rx_cal_radio_saveregs[0]);
  24606. write_radio_reg(
  24607. pi,
  24608. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24609. pi->
  24610. tx_rx_cal_radio_saveregs[1]);
  24611. } else {
  24612. write_radio_reg(
  24613. pi,
  24614. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24615. pi->
  24616. tx_rx_cal_radio_saveregs[0]);
  24617. write_radio_reg(
  24618. pi,
  24619. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24620. pi->
  24621. tx_rx_cal_radio_saveregs[1]);
  24622. }
  24623. } else {
  24624. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24625. write_radio_reg(
  24626. pi,
  24627. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24628. pi->
  24629. tx_rx_cal_radio_saveregs[0]);
  24630. write_radio_reg(
  24631. pi,
  24632. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24633. pi->
  24634. tx_rx_cal_radio_saveregs[1]);
  24635. } else {
  24636. write_radio_reg(
  24637. pi,
  24638. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24639. pi->
  24640. tx_rx_cal_radio_saveregs[0]);
  24641. write_radio_reg(
  24642. pi,
  24643. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24644. pi->
  24645. tx_rx_cal_radio_saveregs[1]);
  24646. }
  24647. }
  24648. } else {
  24649. if (rx_core == PHY_CORE_0) {
  24650. write_radio_reg(pi,
  24651. RADIO_2056_TX_RXIQCAL_TXMUX |
  24652. RADIO_2056_TX1,
  24653. pi->tx_rx_cal_radio_saveregs[0]);
  24654. write_radio_reg(pi,
  24655. RADIO_2056_RX_RXIQCAL_RXMUX |
  24656. RADIO_2056_RX0,
  24657. pi->tx_rx_cal_radio_saveregs[1]);
  24658. if (pi->pubpi.radiorev >= 5) {
  24659. write_radio_reg(pi,
  24660. RADIO_2056_RX_RXSPARE2 |
  24661. RADIO_2056_RX0,
  24662. pi->
  24663. tx_rx_cal_radio_saveregs[2]);
  24664. write_radio_reg(pi,
  24665. RADIO_2056_TX_TXSPARE2 |
  24666. RADIO_2056_TX1,
  24667. pi->
  24668. tx_rx_cal_radio_saveregs[3]);
  24669. }
  24670. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24671. if (pi->pubpi.radiorev >= 5)
  24672. write_radio_reg(
  24673. pi,
  24674. RADIO_2056_RX_LNAA_MASTER
  24675. | RADIO_2056_RX0,
  24676. pi->
  24677. tx_rx_cal_radio_saveregs
  24678. [4]);
  24679. else
  24680. write_radio_reg(
  24681. pi,
  24682. RADIO_2056_RX_LNAA_TUNE
  24683. | RADIO_2056_RX0,
  24684. pi->
  24685. tx_rx_cal_radio_saveregs
  24686. [4]);
  24687. } else {
  24688. if (pi->pubpi.radiorev >= 5)
  24689. write_radio_reg(
  24690. pi,
  24691. RADIO_2056_RX_LNAG_MASTER
  24692. | RADIO_2056_RX0,
  24693. pi->
  24694. tx_rx_cal_radio_saveregs
  24695. [4]);
  24696. else
  24697. write_radio_reg(
  24698. pi,
  24699. RADIO_2056_RX_LNAG_TUNE
  24700. | RADIO_2056_RX0,
  24701. pi->
  24702. tx_rx_cal_radio_saveregs
  24703. [4]);
  24704. }
  24705. } else {
  24706. write_radio_reg(pi,
  24707. RADIO_2056_TX_RXIQCAL_TXMUX |
  24708. RADIO_2056_TX0,
  24709. pi->tx_rx_cal_radio_saveregs[0]);
  24710. write_radio_reg(pi,
  24711. RADIO_2056_RX_RXIQCAL_RXMUX |
  24712. RADIO_2056_RX1,
  24713. pi->tx_rx_cal_radio_saveregs[1]);
  24714. if (pi->pubpi.radiorev >= 5) {
  24715. write_radio_reg(pi,
  24716. RADIO_2056_RX_RXSPARE2 |
  24717. RADIO_2056_RX1,
  24718. pi->
  24719. tx_rx_cal_radio_saveregs[2]);
  24720. write_radio_reg(pi,
  24721. RADIO_2056_TX_TXSPARE2 |
  24722. RADIO_2056_TX0,
  24723. pi->
  24724. tx_rx_cal_radio_saveregs[3]);
  24725. }
  24726. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24727. if (pi->pubpi.radiorev >= 5)
  24728. write_radio_reg(
  24729. pi,
  24730. RADIO_2056_RX_LNAA_MASTER
  24731. | RADIO_2056_RX1,
  24732. pi->
  24733. tx_rx_cal_radio_saveregs
  24734. [4]);
  24735. else
  24736. write_radio_reg(
  24737. pi,
  24738. RADIO_2056_RX_LNAA_TUNE
  24739. | RADIO_2056_RX1,
  24740. pi->
  24741. tx_rx_cal_radio_saveregs
  24742. [4]);
  24743. } else {
  24744. if (pi->pubpi.radiorev >= 5)
  24745. write_radio_reg(
  24746. pi,
  24747. RADIO_2056_RX_LNAG_MASTER
  24748. | RADIO_2056_RX1,
  24749. pi->
  24750. tx_rx_cal_radio_saveregs
  24751. [4]);
  24752. else
  24753. write_radio_reg(
  24754. pi,
  24755. RADIO_2056_RX_LNAG_TUNE
  24756. | RADIO_2056_RX1,
  24757. pi->
  24758. tx_rx_cal_radio_saveregs
  24759. [4]);
  24760. }
  24761. }
  24762. }
  24763. }
  24764. static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core)
  24765. {
  24766. u8 tx_core;
  24767. u16 rx_antval, tx_antval;
  24768. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24769. tx_core = rx_core;
  24770. else
  24771. tx_core = (rx_core == PHY_CORE_0) ? 1 : 0;
  24772. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa2);
  24773. pi->tx_rx_cal_phy_saveregs[1] =
  24774. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7);
  24775. pi->tx_rx_cal_phy_saveregs[2] =
  24776. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5);
  24777. pi->tx_rx_cal_phy_saveregs[3] = read_phy_reg(pi, 0x91);
  24778. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x92);
  24779. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x7a);
  24780. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x7d);
  24781. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0xe7);
  24782. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0xec);
  24783. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24784. pi->tx_rx_cal_phy_saveregs[11] = read_phy_reg(pi, 0x342);
  24785. pi->tx_rx_cal_phy_saveregs[12] = read_phy_reg(pi, 0x343);
  24786. pi->tx_rx_cal_phy_saveregs[13] = read_phy_reg(pi, 0x346);
  24787. pi->tx_rx_cal_phy_saveregs[14] = read_phy_reg(pi, 0x347);
  24788. }
  24789. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  24790. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  24791. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  24792. 0x29b, (0x1 << 0), (0) << 0);
  24793. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  24794. 0x29b, (0x1 << 0), (0) << 0);
  24795. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24796. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24797. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << (1 - rx_core)) << 12);
  24798. } else {
  24799. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  24800. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24801. mod_phy_reg(pi, 0xa2, (0xf << 4), (1 << rx_core) << 4);
  24802. mod_phy_reg(pi, 0xa2, (0xf << 8), (1 << rx_core) << 8);
  24803. }
  24804. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7), (0x1 << 2), 0);
  24805. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24806. (0x1 << 2), (0x1 << 2));
  24807. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  24808. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  24809. (0x1 << 0) | (0x1 << 1), 0);
  24810. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  24811. 0x8f : 0xa5,
  24812. (0x1 << 0) | (0x1 << 1), (0x1 << 0) | (0x1 << 1));
  24813. }
  24814. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 0,
  24815. RADIO_MIMO_CORESEL_CORE1 |
  24816. RADIO_MIMO_CORESEL_CORE2);
  24817. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24818. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  24819. 0, 0, 0,
  24820. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  24821. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 0, 0, 0,
  24822. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24823. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 1, 0, 0,
  24824. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24825. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 1, 0, 0,
  24826. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24827. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0, 0,
  24828. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  24829. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0, 0,
  24830. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24831. if (CHSPEC_IS40(pi->radio_chanspec))
  24832. wlc_phy_rfctrl_override_nphy_rev7(
  24833. pi,
  24834. (0x1 << 7),
  24835. 2, 0, 0,
  24836. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24837. else
  24838. wlc_phy_rfctrl_override_nphy_rev7(
  24839. pi,
  24840. (0x1 << 7),
  24841. 0, 0, 0,
  24842. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24843. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  24844. 0, 0, 0,
  24845. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24846. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0, 0,
  24847. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24848. } else {
  24849. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 3, 0);
  24850. }
  24851. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  24852. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24853. wlc_phy_rfctrlintc_override_nphy(pi,
  24854. NPHY_RfctrlIntc_override_TRSW,
  24855. 0x1, rx_core + 1);
  24856. } else {
  24857. if (rx_core == PHY_CORE_0) {
  24858. rx_antval = 0x1;
  24859. tx_antval = 0x8;
  24860. } else {
  24861. rx_antval = 0x4;
  24862. tx_antval = 0x2;
  24863. }
  24864. wlc_phy_rfctrlintc_override_nphy(pi,
  24865. NPHY_RfctrlIntc_override_TRSW,
  24866. rx_antval, rx_core + 1);
  24867. wlc_phy_rfctrlintc_override_nphy(pi,
  24868. NPHY_RfctrlIntc_override_TRSW,
  24869. tx_antval, tx_core + 1);
  24870. }
  24871. }
  24872. static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24873. {
  24874. write_phy_reg(pi, 0xa2, pi->tx_rx_cal_phy_saveregs[0]);
  24875. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7,
  24876. pi->tx_rx_cal_phy_saveregs[1]);
  24877. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24878. pi->tx_rx_cal_phy_saveregs[2]);
  24879. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[3]);
  24880. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[4]);
  24881. write_phy_reg(pi, 0x7a, pi->tx_rx_cal_phy_saveregs[5]);
  24882. write_phy_reg(pi, 0x7d, pi->tx_rx_cal_phy_saveregs[6]);
  24883. write_phy_reg(pi, 0xe7, pi->tx_rx_cal_phy_saveregs[7]);
  24884. write_phy_reg(pi, 0xec, pi->tx_rx_cal_phy_saveregs[8]);
  24885. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24886. write_phy_reg(pi, 0x342, pi->tx_rx_cal_phy_saveregs[11]);
  24887. write_phy_reg(pi, 0x343, pi->tx_rx_cal_phy_saveregs[12]);
  24888. write_phy_reg(pi, 0x346, pi->tx_rx_cal_phy_saveregs[13]);
  24889. write_phy_reg(pi, 0x347, pi->tx_rx_cal_phy_saveregs[14]);
  24890. }
  24891. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  24892. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  24893. }
  24894. static void
  24895. wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
  24896. u16 *rxgain, u8 cal_type)
  24897. {
  24898. u16 num_samps;
  24899. struct phy_iq_est est[PHY_CORE_MAX];
  24900. u8 tx_core;
  24901. struct nphy_iq_comp save_comp, zero_comp;
  24902. u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0,
  24903. thresh_pwr = 10000;
  24904. s16 desired_log2_pwr, actual_log2_pwr, delta_pwr;
  24905. bool gainctrl_done = false;
  24906. u8 mix_tia_gain = 3;
  24907. s8 optim_gaintbl_index = 0, prev_gaintbl_index = 0;
  24908. s8 curr_gaintbl_index = 3;
  24909. u8 gainctrl_dirn = NPHY_RXCAL_GAIN_INIT;
  24910. const struct nphy_ipa_txrxgain *nphy_rxcal_gaintbl;
  24911. u16 hpvga, lpf_biq1, lpf_biq0, lna2, lna1;
  24912. int fine_gain_idx;
  24913. s8 txpwrindex;
  24914. u16 nphy_rxcal_txgain[2];
  24915. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24916. tx_core = rx_core;
  24917. else
  24918. tx_core = 1 - rx_core;
  24919. num_samps = 1024;
  24920. desired_log2_pwr = 13;
  24921. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
  24922. zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;
  24923. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &zero_comp);
  24924. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24925. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24926. mix_tia_gain = 3;
  24927. else if (NREV_GE(pi->pubpi.phy_rev, 4))
  24928. mix_tia_gain = 4;
  24929. else
  24930. mix_tia_gain = 6;
  24931. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24932. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz_rev7;
  24933. else
  24934. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz;
  24935. } else {
  24936. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24937. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz_rev7;
  24938. else
  24939. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz;
  24940. }
  24941. do {
  24942. hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ?
  24943. 0 : nphy_rxcal_gaintbl[curr_gaintbl_index].hpvga;
  24944. lpf_biq1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq1;
  24945. lpf_biq0 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq0;
  24946. lna2 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna2;
  24947. lna1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna1;
  24948. txpwrindex = nphy_rxcal_gaintbl[curr_gaintbl_index].txpwrindex;
  24949. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24950. wlc_phy_rfctrl_override_1tomany_nphy(
  24951. pi,
  24952. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  24953. ((lpf_biq1 << 12) |
  24954. (lpf_biq0 << 8) |
  24955. (mix_tia_gain << 4) | (lna2 << 2)
  24956. | lna1), 0x3, 0);
  24957. else
  24958. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  24959. ((hpvga << 12) |
  24960. (lpf_biq1 << 10) |
  24961. (lpf_biq0 << 8) |
  24962. (mix_tia_gain << 4) |
  24963. (lna2 << 2) | lna1), 0x3,
  24964. 0);
  24965. pi->nphy_rxcal_pwr_idx[tx_core] = txpwrindex;
  24966. if (txpwrindex == -1) {
  24967. nphy_rxcal_txgain[0] = 0x8ff0 | pi->nphy_gmval;
  24968. nphy_rxcal_txgain[1] = 0x8ff0 | pi->nphy_gmval;
  24969. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  24970. 2, 0x110, 16,
  24971. nphy_rxcal_txgain);
  24972. } else {
  24973. wlc_phy_txpwr_index_nphy(pi, tx_core + 1, txpwrindex,
  24974. false);
  24975. }
  24976. wlc_phy_tx_tone_nphy(pi, (CHSPEC_IS40(pi->radio_chanspec)) ?
  24977. NPHY_RXCAL_TONEFREQ_40MHz :
  24978. NPHY_RXCAL_TONEFREQ_20MHz,
  24979. NPHY_RXCAL_TONEAMP, 0, cal_type, false);
  24980. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  24981. i_pwr = (est[rx_core].i_pwr + num_samps / 2) / num_samps;
  24982. q_pwr = (est[rx_core].q_pwr + num_samps / 2) / num_samps;
  24983. curr_pwr = i_pwr + q_pwr;
  24984. switch (gainctrl_dirn) {
  24985. case NPHY_RXCAL_GAIN_INIT:
  24986. if (curr_pwr > thresh_pwr) {
  24987. gainctrl_dirn = NPHY_RXCAL_GAIN_DOWN;
  24988. prev_gaintbl_index = curr_gaintbl_index;
  24989. curr_gaintbl_index--;
  24990. } else {
  24991. gainctrl_dirn = NPHY_RXCAL_GAIN_UP;
  24992. prev_gaintbl_index = curr_gaintbl_index;
  24993. curr_gaintbl_index++;
  24994. }
  24995. break;
  24996. case NPHY_RXCAL_GAIN_UP:
  24997. if (curr_pwr > thresh_pwr) {
  24998. gainctrl_done = true;
  24999. optim_pwr = prev_pwr;
  25000. optim_gaintbl_index = prev_gaintbl_index;
  25001. } else {
  25002. prev_gaintbl_index = curr_gaintbl_index;
  25003. curr_gaintbl_index++;
  25004. }
  25005. break;
  25006. case NPHY_RXCAL_GAIN_DOWN:
  25007. if (curr_pwr > thresh_pwr) {
  25008. prev_gaintbl_index = curr_gaintbl_index;
  25009. curr_gaintbl_index--;
  25010. } else {
  25011. gainctrl_done = true;
  25012. optim_pwr = curr_pwr;
  25013. optim_gaintbl_index = curr_gaintbl_index;
  25014. }
  25015. break;
  25016. default:
  25017. break;
  25018. }
  25019. if ((curr_gaintbl_index < 0) ||
  25020. (curr_gaintbl_index > NPHY_IPA_RXCAL_MAXGAININDEX)) {
  25021. gainctrl_done = true;
  25022. optim_pwr = curr_pwr;
  25023. optim_gaintbl_index = prev_gaintbl_index;
  25024. } else {
  25025. prev_pwr = curr_pwr;
  25026. }
  25027. wlc_phy_stopplayback_nphy(pi);
  25028. } while (!gainctrl_done);
  25029. hpvga = nphy_rxcal_gaintbl[optim_gaintbl_index].hpvga;
  25030. lpf_biq1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq1;
  25031. lpf_biq0 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq0;
  25032. lna2 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna2;
  25033. lna1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna1;
  25034. txpwrindex = nphy_rxcal_gaintbl[optim_gaintbl_index].txpwrindex;
  25035. actual_log2_pwr = wlc_phy_nbits(optim_pwr);
  25036. delta_pwr = desired_log2_pwr - actual_log2_pwr;
  25037. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25038. fine_gain_idx = (int)lpf_biq1 + delta_pwr;
  25039. if (fine_gain_idx + (int)lpf_biq0 > 10)
  25040. lpf_biq1 = 10 - lpf_biq0;
  25041. else
  25042. lpf_biq1 = (u16) max(fine_gain_idx, 0);
  25043. wlc_phy_rfctrl_override_1tomany_nphy(
  25044. pi,
  25045. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25046. ((lpf_biq1 << 12) |
  25047. (lpf_biq0 << 8) |
  25048. (mix_tia_gain << 4) |
  25049. (lna2 << 2) | lna1), 0x3,
  25050. 0);
  25051. } else {
  25052. hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
  25053. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25054. ((hpvga << 12) |
  25055. (lpf_biq1 << 10) |
  25056. (lpf_biq0 << 8) |
  25057. (mix_tia_gain << 4) |
  25058. (lna2 << 2) |
  25059. lna1), 0x3, 0);
  25060. }
  25061. if (rxgain != NULL) {
  25062. *rxgain++ = lna1;
  25063. *rxgain++ = lna2;
  25064. *rxgain++ = mix_tia_gain;
  25065. *rxgain++ = lpf_biq0;
  25066. *rxgain++ = lpf_biq1;
  25067. *rxgain = hpvga;
  25068. }
  25069. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &save_comp);
  25070. }
  25071. static void
  25072. wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain,
  25073. u8 cal_type)
  25074. {
  25075. wlc_phy_rxcal_gainctrl_nphy_rev5(pi, rx_core, rxgain, cal_type);
  25076. }
  25077. static u8
  25078. wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type)
  25079. {
  25080. u32 target_bws[2] = { 9500, 21000 };
  25081. u32 ref_tones[2] = { 3000, 6000 };
  25082. u32 target_bw, ref_tone;
  25083. u32 target_pwr_ratios[2] = { 28606, 18468 };
  25084. u32 target_pwr_ratio, pwr_ratio, last_pwr_ratio = 0;
  25085. u16 start_rccal_ovr_val = 128;
  25086. u16 txlpf_rccal_lpc_ovr_val = 128;
  25087. u16 rxlpf_rccal_hpc_ovr_val = 159;
  25088. u16 orig_txlpf_rccal_lpc_ovr_val;
  25089. u16 orig_rxlpf_rccal_hpc_ovr_val;
  25090. u16 radio_addr_offset_rx;
  25091. u16 radio_addr_offset_tx;
  25092. u16 orig_dcBypass;
  25093. u16 orig_RxStrnFilt40Num[6];
  25094. u16 orig_RxStrnFilt40Den[4];
  25095. u16 orig_rfctrloverride[2];
  25096. u16 orig_rfctrlauxreg[2];
  25097. u16 orig_rfctrlrssiothers;
  25098. u16 tx_lpf_bw = 4;
  25099. u16 rx_lpf_bw, rx_lpf_bws[2] = { 2, 4 };
  25100. u16 lpf_hpc = 7, hpvga_hpc = 7;
  25101. s8 rccal_stepsize;
  25102. u16 rccal_val, last_rccal_val = 0, best_rccal_val = 0;
  25103. u32 ref_iq_vals = 0, target_iq_vals = 0;
  25104. u16 num_samps, log_num_samps = 10;
  25105. struct phy_iq_est est[PHY_CORE_MAX];
  25106. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25107. return 0;
  25108. num_samps = (1 << log_num_samps);
  25109. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25110. target_bw = target_bws[1];
  25111. target_pwr_ratio = target_pwr_ratios[1];
  25112. ref_tone = ref_tones[1];
  25113. rx_lpf_bw = rx_lpf_bws[1];
  25114. } else {
  25115. target_bw = target_bws[0];
  25116. target_pwr_ratio = target_pwr_ratios[0];
  25117. ref_tone = ref_tones[0];
  25118. rx_lpf_bw = rx_lpf_bws[0];
  25119. }
  25120. if (core_idx == 0) {
  25121. radio_addr_offset_rx = RADIO_2056_RX0;
  25122. radio_addr_offset_tx =
  25123. (loopback_type == 0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  25124. } else {
  25125. radio_addr_offset_rx = RADIO_2056_RX1;
  25126. radio_addr_offset_tx =
  25127. (loopback_type == 0) ? RADIO_2056_TX1 : RADIO_2056_TX0;
  25128. }
  25129. orig_txlpf_rccal_lpc_ovr_val =
  25130. read_radio_reg(pi,
  25131. (RADIO_2056_TX_TXLPF_RCCAL |
  25132. radio_addr_offset_tx));
  25133. orig_rxlpf_rccal_hpc_ovr_val =
  25134. read_radio_reg(pi,
  25135. (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25136. radio_addr_offset_rx));
  25137. orig_dcBypass = ((read_phy_reg(pi, 0x48) >> 8) & 1);
  25138. orig_RxStrnFilt40Num[0] = read_phy_reg(pi, 0x267);
  25139. orig_RxStrnFilt40Num[1] = read_phy_reg(pi, 0x268);
  25140. orig_RxStrnFilt40Num[2] = read_phy_reg(pi, 0x269);
  25141. orig_RxStrnFilt40Den[0] = read_phy_reg(pi, 0x26a);
  25142. orig_RxStrnFilt40Den[1] = read_phy_reg(pi, 0x26b);
  25143. orig_RxStrnFilt40Num[3] = read_phy_reg(pi, 0x26c);
  25144. orig_RxStrnFilt40Num[4] = read_phy_reg(pi, 0x26d);
  25145. orig_RxStrnFilt40Num[5] = read_phy_reg(pi, 0x26e);
  25146. orig_RxStrnFilt40Den[2] = read_phy_reg(pi, 0x26f);
  25147. orig_RxStrnFilt40Den[3] = read_phy_reg(pi, 0x270);
  25148. orig_rfctrloverride[0] = read_phy_reg(pi, 0xe7);
  25149. orig_rfctrloverride[1] = read_phy_reg(pi, 0xec);
  25150. orig_rfctrlauxreg[0] = read_phy_reg(pi, 0xf8);
  25151. orig_rfctrlauxreg[1] = read_phy_reg(pi, 0xfa);
  25152. orig_rfctrlrssiothers = read_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d);
  25153. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25154. txlpf_rccal_lpc_ovr_val);
  25155. write_radio_reg(pi,
  25156. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25157. rxlpf_rccal_hpc_ovr_val);
  25158. mod_phy_reg(pi, 0x48, (0x1 << 8), (0x1 << 8));
  25159. write_phy_reg(pi, 0x267, 0x02d4);
  25160. write_phy_reg(pi, 0x268, 0x0000);
  25161. write_phy_reg(pi, 0x269, 0x0000);
  25162. write_phy_reg(pi, 0x26a, 0x0000);
  25163. write_phy_reg(pi, 0x26b, 0x0000);
  25164. write_phy_reg(pi, 0x26c, 0x02d4);
  25165. write_phy_reg(pi, 0x26d, 0x0000);
  25166. write_phy_reg(pi, 0x26e, 0x0000);
  25167. write_phy_reg(pi, 0x26f, 0x0000);
  25168. write_phy_reg(pi, 0x270, 0x0000);
  25169. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 8));
  25170. or_phy_reg(pi, (core_idx == 0) ? 0xec : 0xe7, (0x1 << 15));
  25171. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 9));
  25172. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 10));
  25173. mod_phy_reg(pi, (core_idx == 0) ? 0xfa : 0xf8,
  25174. (0x7 << 10), (tx_lpf_bw << 10));
  25175. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25176. (0x7 << 0), (hpvga_hpc << 0));
  25177. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25178. (0x7 << 4), (lpf_hpc << 4));
  25179. mod_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d,
  25180. (0x7 << 8), (rx_lpf_bw << 8));
  25181. rccal_stepsize = 16;
  25182. rccal_val = start_rccal_ovr_val + rccal_stepsize;
  25183. while (rccal_stepsize >= 0) {
  25184. write_radio_reg(pi,
  25185. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25186. radio_addr_offset_rx), rccal_val);
  25187. if (rccal_stepsize == 16) {
  25188. wlc_phy_tx_tone_nphy(pi, ref_tone, NPHY_RXCAL_TONEAMP,
  25189. 0, 1, false);
  25190. udelay(2);
  25191. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25192. if (core_idx == 0)
  25193. ref_iq_vals =
  25194. max_t(u32, (est[0].i_pwr +
  25195. est[0].q_pwr) >>
  25196. (log_num_samps + 1),
  25197. 1);
  25198. else
  25199. ref_iq_vals =
  25200. max_t(u32, (est[1].i_pwr +
  25201. est[1].q_pwr) >>
  25202. (log_num_samps + 1),
  25203. 1);
  25204. wlc_phy_tx_tone_nphy(pi, target_bw, NPHY_RXCAL_TONEAMP,
  25205. 0, 1, false);
  25206. udelay(2);
  25207. }
  25208. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25209. if (core_idx == 0)
  25210. target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >>
  25211. (log_num_samps + 1);
  25212. else
  25213. target_iq_vals =
  25214. (est[1].i_pwr +
  25215. est[1].q_pwr) >> (log_num_samps + 1);
  25216. pwr_ratio = (uint) ((target_iq_vals << 16) / ref_iq_vals);
  25217. if (rccal_stepsize == 0)
  25218. rccal_stepsize--;
  25219. else if (rccal_stepsize == 1) {
  25220. last_rccal_val = rccal_val;
  25221. rccal_val += (pwr_ratio > target_pwr_ratio) ? 1 : -1;
  25222. last_pwr_ratio = pwr_ratio;
  25223. rccal_stepsize--;
  25224. } else {
  25225. rccal_stepsize = (rccal_stepsize >> 1);
  25226. rccal_val += ((pwr_ratio > target_pwr_ratio) ?
  25227. rccal_stepsize : (-rccal_stepsize));
  25228. }
  25229. if (rccal_stepsize == -1) {
  25230. best_rccal_val =
  25231. (abs((int)last_pwr_ratio -
  25232. (int)target_pwr_ratio) <
  25233. abs((int)pwr_ratio -
  25234. (int)target_pwr_ratio)) ? last_rccal_val :
  25235. rccal_val;
  25236. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25237. if ((best_rccal_val > 140)
  25238. || (best_rccal_val < 135))
  25239. best_rccal_val = 138;
  25240. } else {
  25241. if ((best_rccal_val > 142)
  25242. || (best_rccal_val < 137))
  25243. best_rccal_val = 140;
  25244. }
  25245. write_radio_reg(pi,
  25246. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25247. radio_addr_offset_rx), best_rccal_val);
  25248. }
  25249. }
  25250. wlc_phy_stopplayback_nphy(pi);
  25251. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25252. orig_txlpf_rccal_lpc_ovr_val);
  25253. write_radio_reg(pi,
  25254. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25255. orig_rxlpf_rccal_hpc_ovr_val);
  25256. mod_phy_reg(pi, 0x48, (0x1 << 8), (orig_dcBypass << 8));
  25257. write_phy_reg(pi, 0x267, orig_RxStrnFilt40Num[0]);
  25258. write_phy_reg(pi, 0x268, orig_RxStrnFilt40Num[1]);
  25259. write_phy_reg(pi, 0x269, orig_RxStrnFilt40Num[2]);
  25260. write_phy_reg(pi, 0x26a, orig_RxStrnFilt40Den[0]);
  25261. write_phy_reg(pi, 0x26b, orig_RxStrnFilt40Den[1]);
  25262. write_phy_reg(pi, 0x26c, orig_RxStrnFilt40Num[3]);
  25263. write_phy_reg(pi, 0x26d, orig_RxStrnFilt40Num[4]);
  25264. write_phy_reg(pi, 0x26e, orig_RxStrnFilt40Num[5]);
  25265. write_phy_reg(pi, 0x26f, orig_RxStrnFilt40Den[2]);
  25266. write_phy_reg(pi, 0x270, orig_RxStrnFilt40Den[3]);
  25267. write_phy_reg(pi, 0xe7, orig_rfctrloverride[0]);
  25268. write_phy_reg(pi, 0xec, orig_rfctrloverride[1]);
  25269. write_phy_reg(pi, 0xf8, orig_rfctrlauxreg[0]);
  25270. write_phy_reg(pi, 0xfa, orig_rfctrlauxreg[1]);
  25271. write_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d, orig_rfctrlrssiothers);
  25272. pi->nphy_anarxlpf_adjusted = false;
  25273. return best_rccal_val - 0x80;
  25274. }
  25275. #define WAIT_FOR_SCOPE 4000
  25276. static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi,
  25277. struct nphy_txgains target_gain,
  25278. u8 cal_type, bool debug)
  25279. {
  25280. u16 orig_BBConfig;
  25281. u8 core_no, rx_core;
  25282. u8 best_rccal[2];
  25283. u16 gain_save[2];
  25284. u16 cal_gain[2];
  25285. struct nphy_iqcal_params cal_params[2];
  25286. u8 rxcore_state;
  25287. s8 rxlpf_rccal_hpc, txlpf_rccal_lpc;
  25288. s8 txlpf_idac;
  25289. bool phyhang_avoid_state = false;
  25290. bool skip_rxiqcal = false;
  25291. orig_BBConfig = read_phy_reg(pi, 0x01);
  25292. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  25293. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25294. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  25295. phyhang_avoid_state = pi->phyhang_avoid;
  25296. pi->phyhang_avoid = false;
  25297. }
  25298. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25299. for (core_no = 0; core_no <= 1; core_no++) {
  25300. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25301. &cal_params[core_no]);
  25302. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25303. }
  25304. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25305. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  25306. (struct brcms_phy_pub *) pi);
  25307. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25308. skip_rxiqcal =
  25309. ((rxcore_state & (1 << rx_core)) == 0) ? true : false;
  25310. wlc_phy_rxcal_physetup_nphy(pi, rx_core);
  25311. wlc_phy_rxcal_radio_setup_nphy(pi, rx_core);
  25312. if ((!skip_rxiqcal) && ((cal_type == 0) || (cal_type == 2))) {
  25313. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL, 0);
  25314. wlc_phy_tx_tone_nphy(pi,
  25315. (CHSPEC_IS40(
  25316. pi->radio_chanspec)) ?
  25317. NPHY_RXCAL_TONEFREQ_40MHz :
  25318. NPHY_RXCAL_TONEFREQ_20MHz,
  25319. NPHY_RXCAL_TONEAMP, 0, cal_type,
  25320. false);
  25321. if (debug)
  25322. mdelay(WAIT_FOR_SCOPE);
  25323. wlc_phy_calc_rx_iq_comp_nphy(pi, rx_core + 1);
  25324. wlc_phy_stopplayback_nphy(pi);
  25325. }
  25326. if (((cal_type == 1) || (cal_type == 2))
  25327. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  25328. if (rx_core == PHY_CORE_1) {
  25329. if (rxcore_state == 1)
  25330. wlc_phy_rxcore_setstate_nphy(
  25331. (struct brcms_phy_pub *) pi, 3);
  25332. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL,
  25333. 1);
  25334. best_rccal[rx_core] =
  25335. wlc_phy_rc_sweep_nphy(pi, rx_core, 1);
  25336. pi->nphy_rccal_value = best_rccal[rx_core];
  25337. if (rxcore_state == 1)
  25338. wlc_phy_rxcore_setstate_nphy(
  25339. (struct brcms_phy_pub *) pi,
  25340. rxcore_state);
  25341. }
  25342. }
  25343. wlc_phy_rxcal_radio_cleanup_nphy(pi, rx_core);
  25344. wlc_phy_rxcal_phycleanup_nphy(pi, rx_core);
  25345. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25346. }
  25347. if ((cal_type == 1) || (cal_type == 2)) {
  25348. best_rccal[0] = best_rccal[1];
  25349. write_radio_reg(pi,
  25350. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25351. RADIO_2056_RX0), (best_rccal[0] | 0x80));
  25352. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25353. rxlpf_rccal_hpc =
  25354. (((int)best_rccal[rx_core] - 12) >> 1) + 10;
  25355. txlpf_rccal_lpc = ((int)best_rccal[rx_core] - 12) + 10;
  25356. if (PHY_IPA(pi)) {
  25357. txlpf_rccal_lpc +=
  25358. (pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
  25359. txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
  25360. 0x0e : 0x13;
  25361. WRITE_RADIO_REG2(pi, RADIO_2056, TX, rx_core,
  25362. TXLPF_IDAC_4, txlpf_idac);
  25363. }
  25364. rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
  25365. 0);
  25366. txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
  25367. 0);
  25368. write_radio_reg(pi, (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25369. ((rx_core ==
  25370. PHY_CORE_0) ? RADIO_2056_RX0 :
  25371. RADIO_2056_RX1)),
  25372. (rxlpf_rccal_hpc | 0x80));
  25373. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL |
  25374. ((rx_core ==
  25375. PHY_CORE_0) ? RADIO_2056_TX0 :
  25376. RADIO_2056_TX1)),
  25377. (txlpf_rccal_lpc | 0x80));
  25378. }
  25379. }
  25380. write_phy_reg(pi, 0x01, orig_BBConfig);
  25381. wlc_phy_resetcca_nphy(pi);
  25382. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25383. wlc_phy_rfctrl_override_1tomany_nphy(
  25384. pi,
  25385. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25386. 0, 0x3, 1);
  25387. else
  25388. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  25389. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25390. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25391. gain_save);
  25392. if (NREV_GE(pi->pubpi.phy_rev, 4))
  25393. pi->phyhang_avoid = phyhang_avoid_state;
  25394. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25395. return 0;
  25396. }
  25397. static int
  25398. wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi,
  25399. struct nphy_txgains target_gain, bool debug)
  25400. {
  25401. struct phy_iq_est est[PHY_CORE_MAX];
  25402. u8 core_num, rx_core, tx_core;
  25403. u16 lna_vals[] = { 0x3, 0x3, 0x1 };
  25404. u16 hpf1_vals[] = { 0x7, 0x2, 0x0 };
  25405. u16 hpf2_vals[] = { 0x2, 0x0, 0x0 };
  25406. s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna;
  25407. s16 desired_log2_pwr, actual_log2_pwr, hpf_change;
  25408. u16 orig_RfseqCoreActv, orig_AfectrlCore, orig_AfectrlOverride;
  25409. u16 orig_RfctrlIntcRx, orig_RfctrlIntcTx;
  25410. u16 num_samps;
  25411. u32 i_pwr, q_pwr, tot_pwr[3];
  25412. u8 gain_pass, use_hpf_num;
  25413. u16 mask, val1, val2;
  25414. u16 core_no;
  25415. u16 gain_save[2];
  25416. u16 cal_gain[2];
  25417. struct nphy_iqcal_params cal_params[2];
  25418. u8 phy_bw;
  25419. int bcmerror = 0;
  25420. bool first_playtone = true;
  25421. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25422. if (NREV_LT(pi->pubpi.phy_rev, 2))
  25423. wlc_phy_reapply_txcal_coeffs_nphy(pi);
  25424. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25425. for (core_no = 0; core_no <= 1; core_no++) {
  25426. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25427. &cal_params[core_no]);
  25428. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25429. }
  25430. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25431. num_samps = 1024;
  25432. desired_log2_pwr = 13;
  25433. for (core_num = 0; core_num < 2; core_num++) {
  25434. rx_core = core_num;
  25435. tx_core = 1 - core_num;
  25436. orig_RfseqCoreActv = read_phy_reg(pi, 0xa2);
  25437. orig_AfectrlCore = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25438. 0xa6 : 0xa7);
  25439. orig_AfectrlOverride = read_phy_reg(pi, 0xa5);
  25440. orig_RfctrlIntcRx = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25441. 0x91 : 0x92);
  25442. orig_RfctrlIntcTx = read_phy_reg(pi, (tx_core == PHY_CORE_0) ?
  25443. 0x91 : 0x92);
  25444. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25445. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25446. or_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25447. ((0x1 << 1) | (0x1 << 2)));
  25448. or_phy_reg(pi, 0xa5, ((0x1 << 1) | (0x1 << 2)));
  25449. if (((pi->nphy_rxcalparams) & 0xff000000))
  25450. write_phy_reg(pi,
  25451. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25452. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25453. 0x140 : 0x110));
  25454. else
  25455. write_phy_reg(pi,
  25456. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25457. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25458. 0x180 : 0x120));
  25459. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25460. (CHSPEC_IS5G(pi->radio_chanspec) ? 0x148 :
  25461. 0x114));
  25462. mask = RADIO_2055_COUPLE_RX_MASK | RADIO_2055_COUPLE_TX_MASK;
  25463. if (rx_core == PHY_CORE_0) {
  25464. val1 = RADIO_2055_COUPLE_RX_MASK;
  25465. val2 = RADIO_2055_COUPLE_TX_MASK;
  25466. } else {
  25467. val1 = RADIO_2055_COUPLE_TX_MASK;
  25468. val2 = RADIO_2055_COUPLE_RX_MASK;
  25469. }
  25470. if ((pi->nphy_rxcalparams & 0x10000)) {
  25471. mod_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, mask,
  25472. val1);
  25473. mod_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, mask,
  25474. val2);
  25475. }
  25476. for (gain_pass = 0; gain_pass < 4; gain_pass++) {
  25477. if (debug)
  25478. mdelay(WAIT_FOR_SCOPE);
  25479. if (gain_pass < 3) {
  25480. curr_lna = lna_vals[gain_pass];
  25481. curr_hpf1 = hpf1_vals[gain_pass];
  25482. curr_hpf2 = hpf2_vals[gain_pass];
  25483. } else {
  25484. if (tot_pwr[1] > 10000) {
  25485. curr_lna = lna_vals[2];
  25486. curr_hpf1 = hpf1_vals[2];
  25487. curr_hpf2 = hpf2_vals[2];
  25488. use_hpf_num = 1;
  25489. curr_hpf = curr_hpf1;
  25490. actual_log2_pwr =
  25491. wlc_phy_nbits(tot_pwr[2]);
  25492. } else {
  25493. if (tot_pwr[0] > 10000) {
  25494. curr_lna = lna_vals[1];
  25495. curr_hpf1 = hpf1_vals[1];
  25496. curr_hpf2 = hpf2_vals[1];
  25497. use_hpf_num = 1;
  25498. curr_hpf = curr_hpf1;
  25499. actual_log2_pwr =
  25500. wlc_phy_nbits(
  25501. tot_pwr[1]);
  25502. } else {
  25503. curr_lna = lna_vals[0];
  25504. curr_hpf1 = hpf1_vals[0];
  25505. curr_hpf2 = hpf2_vals[0];
  25506. use_hpf_num = 2;
  25507. curr_hpf = curr_hpf2;
  25508. actual_log2_pwr =
  25509. wlc_phy_nbits(
  25510. tot_pwr[0]);
  25511. }
  25512. }
  25513. hpf_change = desired_log2_pwr - actual_log2_pwr;
  25514. curr_hpf += hpf_change;
  25515. curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
  25516. if (use_hpf_num == 1)
  25517. curr_hpf1 = curr_hpf;
  25518. else
  25519. curr_hpf2 = curr_hpf;
  25520. }
  25521. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10),
  25522. ((curr_hpf2 << 8) |
  25523. (curr_hpf1 << 4) |
  25524. (curr_lna << 2)), 0x3, 0);
  25525. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25526. wlc_phy_stopplayback_nphy(pi);
  25527. if (first_playtone) {
  25528. bcmerror = wlc_phy_tx_tone_nphy(pi, 4000,
  25529. (u16) (pi->nphy_rxcalparams &
  25530. 0xffff), 0, 0, true);
  25531. first_playtone = false;
  25532. } else {
  25533. phy_bw = (CHSPEC_IS40(pi->radio_chanspec)) ?
  25534. 40 : 20;
  25535. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff,
  25536. 0, 0, 0, true);
  25537. }
  25538. if (bcmerror == 0) {
  25539. if (gain_pass < 3) {
  25540. wlc_phy_rx_iq_est_nphy(pi, est,
  25541. num_samps, 32,
  25542. 0);
  25543. i_pwr = (est[rx_core].i_pwr +
  25544. num_samps / 2) / num_samps;
  25545. q_pwr = (est[rx_core].q_pwr +
  25546. num_samps / 2) / num_samps;
  25547. tot_pwr[gain_pass] = i_pwr + q_pwr;
  25548. } else {
  25549. wlc_phy_calc_rx_iq_comp_nphy(pi,
  25550. (1 <<
  25551. rx_core));
  25552. }
  25553. wlc_phy_stopplayback_nphy(pi);
  25554. }
  25555. if (bcmerror != 0)
  25556. break;
  25557. }
  25558. and_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, ~mask);
  25559. and_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, ~mask);
  25560. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 :
  25561. 0x92, orig_RfctrlIntcTx);
  25562. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x91 :
  25563. 0x92, orig_RfctrlIntcRx);
  25564. write_phy_reg(pi, 0xa5, orig_AfectrlOverride);
  25565. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 :
  25566. 0xa7, orig_AfectrlCore);
  25567. write_phy_reg(pi, 0xa2, orig_RfseqCoreActv);
  25568. if (bcmerror != 0)
  25569. break;
  25570. }
  25571. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10), 0, 0x3, 1);
  25572. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25573. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25574. gain_save);
  25575. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25576. return bcmerror;
  25577. }
  25578. int
  25579. wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  25580. u8 cal_type, bool debug)
  25581. {
  25582. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25583. cal_type = 0;
  25584. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25585. return wlc_phy_cal_rxiq_nphy_rev3(pi, target_gain, cal_type,
  25586. debug);
  25587. else
  25588. return wlc_phy_cal_rxiq_nphy_rev2(pi, target_gain, debug);
  25589. }
  25590. void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi)
  25591. {
  25592. uint core;
  25593. u32 txgain;
  25594. u16 rad_gain, dac_gain, bbmult, m1m2;
  25595. u8 txpi[2], chan_freq_range;
  25596. s32 rfpwr_offset;
  25597. if (pi->phyhang_avoid)
  25598. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25599. if (pi->sh->sromrev < 4) {
  25600. txpi[0] = txpi[1] = 72;
  25601. } else {
  25602. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  25603. switch (chan_freq_range) {
  25604. case WL_CHAN_FREQ_RANGE_2G:
  25605. case WL_CHAN_FREQ_RANGE_5GL:
  25606. case WL_CHAN_FREQ_RANGE_5GM:
  25607. case WL_CHAN_FREQ_RANGE_5GH:
  25608. txpi[0] = 0;
  25609. txpi[1] = 0;
  25610. break;
  25611. default:
  25612. txpi[0] = txpi[1] = 91;
  25613. break;
  25614. }
  25615. }
  25616. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25617. txpi[0] = txpi[1] = 30;
  25618. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  25619. txpi[0] = txpi[1] = 40;
  25620. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25621. if ((txpi[0] < 40) || (txpi[0] > 100) ||
  25622. (txpi[1] < 40) || (txpi[1] > 100))
  25623. txpi[0] = txpi[1] = 91;
  25624. }
  25625. pi->nphy_txpwrindex[PHY_CORE_0].index_internal = txpi[0];
  25626. pi->nphy_txpwrindex[PHY_CORE_1].index_internal = txpi[1];
  25627. pi->nphy_txpwrindex[PHY_CORE_0].index_internal_save = txpi[0];
  25628. pi->nphy_txpwrindex[PHY_CORE_1].index_internal_save = txpi[1];
  25629. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  25630. uint phyrev = pi->pubpi.phy_rev;
  25631. if (NREV_GE(phyrev, 3)) {
  25632. if (PHY_IPA(pi)) {
  25633. u32 *tx_gaintbl =
  25634. wlc_phy_get_ipa_gaintbl_nphy(pi);
  25635. txgain = tx_gaintbl[txpi[core]];
  25636. } else {
  25637. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25638. if (NREV_IS(phyrev, 3)) {
  25639. txgain =
  25640. nphy_tpc_5GHz_txgain_rev3
  25641. [txpi[core]];
  25642. } else if (NREV_IS(phyrev, 4)) {
  25643. txgain = (
  25644. pi->srom_fem5g.extpagain ==
  25645. 3) ?
  25646. nphy_tpc_5GHz_txgain_HiPwrEPA
  25647. [txpi[core]] :
  25648. nphy_tpc_5GHz_txgain_rev4
  25649. [txpi[core]];
  25650. } else {
  25651. txgain =
  25652. nphy_tpc_5GHz_txgain_rev5
  25653. [txpi[core]];
  25654. }
  25655. } else {
  25656. if (NREV_GE(phyrev, 5) &&
  25657. (pi->srom_fem2g.extpagain == 3)) {
  25658. txgain =
  25659. nphy_tpc_txgain_HiPwrEPA
  25660. [txpi[core]];
  25661. } else {
  25662. txgain = nphy_tpc_txgain_rev3
  25663. [txpi[core]];
  25664. }
  25665. }
  25666. }
  25667. } else {
  25668. txgain = nphy_tpc_txgain[txpi[core]];
  25669. }
  25670. if (NREV_GE(phyrev, 3))
  25671. rad_gain = (txgain >> 16) & ((1 << (32 - 16 + 1)) - 1);
  25672. else
  25673. rad_gain = (txgain >> 16) & ((1 << (28 - 16 + 1)) - 1);
  25674. if (NREV_GE(phyrev, 7))
  25675. dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1);
  25676. else
  25677. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  25678. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  25679. if (NREV_GE(phyrev, 3))
  25680. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  25681. 0xa5), (0x1 << 8), (0x1 << 8));
  25682. else
  25683. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  25684. write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain);
  25685. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  25686. &rad_gain);
  25687. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  25688. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  25689. m1m2 |= ((core == PHY_CORE_0) ? (bbmult << 8) : (bbmult << 0));
  25690. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  25691. if (PHY_IPA(pi)) {
  25692. wlc_phy_table_read_nphy(pi,
  25693. (core ==
  25694. PHY_CORE_0 ?
  25695. NPHY_TBL_ID_CORE1TXPWRCTL :
  25696. NPHY_TBL_ID_CORE2TXPWRCTL), 1,
  25697. 576 + txpi[core], 32,
  25698. &rfpwr_offset);
  25699. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25700. 0x29b, (0x1ff << 4),
  25701. ((s16) rfpwr_offset) << 4);
  25702. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25703. 0x29b, (0x1 << 2), (1) << 2);
  25704. }
  25705. }
  25706. and_phy_reg(pi, 0xbf, (u16) (~(0x1f << 0)));
  25707. if (pi->phyhang_avoid)
  25708. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25709. }
  25710. static void
  25711. wlc_phy_txpwr_nphy_srom_convert(u8 *srom_max, u16 *pwr_offset,
  25712. u8 tmp_max_pwr, u8 rate_start,
  25713. u8 rate_end)
  25714. {
  25715. u8 rate;
  25716. u8 word_num, nibble_num;
  25717. u8 tmp_nibble;
  25718. for (rate = rate_start; rate <= rate_end; rate++) {
  25719. word_num = (rate - rate_start) >> 2;
  25720. nibble_num = (rate - rate_start) & 0x3;
  25721. tmp_nibble = (pwr_offset[word_num] >> 4 * nibble_num) & 0xf;
  25722. srom_max[rate] = tmp_max_pwr - 2 * tmp_nibble;
  25723. }
  25724. }
  25725. static void
  25726. wlc_phy_txpwr_nphy_po_apply(u8 *srom_max, u8 pwr_offset,
  25727. u8 rate_start, u8 rate_end)
  25728. {
  25729. u8 rate;
  25730. for (rate = rate_start; rate <= rate_end; rate++)
  25731. srom_max[rate] -= 2 * pwr_offset;
  25732. }
  25733. void
  25734. wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start,
  25735. u8 rate_mcs_end, u8 rate_ofdm_start)
  25736. {
  25737. u8 rate1, rate2;
  25738. rate2 = rate_ofdm_start;
  25739. for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) {
  25740. power[rate1] = power[rate2];
  25741. rate2 += (rate1 == rate_mcs_start) ? 2 : 1;
  25742. }
  25743. power[rate_mcs_end] = power[rate_mcs_end - 1];
  25744. }
  25745. void
  25746. wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start,
  25747. u8 rate_ofdm_end, u8 rate_mcs_start)
  25748. {
  25749. u8 rate1, rate2;
  25750. for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start;
  25751. rate1 <= rate_ofdm_end; rate1++, rate2++) {
  25752. power[rate1] = power[rate2];
  25753. if (rate1 == rate_ofdm_start)
  25754. power[++rate1] = power[rate2];
  25755. }
  25756. }
  25757. void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi)
  25758. {
  25759. uint rate1, rate2, band_num;
  25760. u8 tmp_bw40po = 0, tmp_cddpo = 0, tmp_stbcpo = 0;
  25761. u8 tmp_max_pwr = 0;
  25762. u16 pwr_offsets1[2], *pwr_offsets2 = NULL;
  25763. u8 *tx_srom_max_rate = NULL;
  25764. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  25765. band_num++) {
  25766. switch (band_num) {
  25767. case 0:
  25768. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g,
  25769. pi->nphy_pwrctrl_info[1].max_pwr_2g);
  25770. pwr_offsets1[0] = pi->cck2gpo;
  25771. wlc_phy_txpwr_nphy_srom_convert(pi->tx_srom_max_rate_2g,
  25772. pwr_offsets1,
  25773. tmp_max_pwr,
  25774. TXP_FIRST_CCK,
  25775. TXP_LAST_CCK);
  25776. pwr_offsets1[0] = (u16) (pi->ofdm2gpo & 0xffff);
  25777. pwr_offsets1[1] =
  25778. (u16) (pi->ofdm2gpo >> 16) & 0xffff;
  25779. pwr_offsets2 = pi->mcs2gpo;
  25780. tmp_cddpo = pi->cdd2gpo;
  25781. tmp_stbcpo = pi->stbc2gpo;
  25782. tmp_bw40po = pi->bw402gpo;
  25783. tx_srom_max_rate = pi->tx_srom_max_rate_2g;
  25784. break;
  25785. case 1:
  25786. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm,
  25787. pi->nphy_pwrctrl_info[1].max_pwr_5gm);
  25788. pwr_offsets1[0] = (u16) (pi->ofdm5gpo & 0xffff);
  25789. pwr_offsets1[1] =
  25790. (u16) (pi->ofdm5gpo >> 16) & 0xffff;
  25791. pwr_offsets2 = pi->mcs5gpo;
  25792. tmp_cddpo = pi->cdd5gpo;
  25793. tmp_stbcpo = pi->stbc5gpo;
  25794. tmp_bw40po = pi->bw405gpo;
  25795. tx_srom_max_rate = pi->tx_srom_max_rate_5g_mid;
  25796. break;
  25797. case 2:
  25798. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl,
  25799. pi->nphy_pwrctrl_info[1].max_pwr_5gl);
  25800. pwr_offsets1[0] = (u16) (pi->ofdm5glpo & 0xffff);
  25801. pwr_offsets1[1] =
  25802. (u16) (pi->ofdm5glpo >> 16) & 0xffff;
  25803. pwr_offsets2 = pi->mcs5glpo;
  25804. tmp_cddpo = pi->cdd5glpo;
  25805. tmp_stbcpo = pi->stbc5glpo;
  25806. tmp_bw40po = pi->bw405glpo;
  25807. tx_srom_max_rate = pi->tx_srom_max_rate_5g_low;
  25808. break;
  25809. case 3:
  25810. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh,
  25811. pi->nphy_pwrctrl_info[1].max_pwr_5gh);
  25812. pwr_offsets1[0] = (u16) (pi->ofdm5ghpo & 0xffff);
  25813. pwr_offsets1[1] =
  25814. (u16) (pi->ofdm5ghpo >> 16) & 0xffff;
  25815. pwr_offsets2 = pi->mcs5ghpo;
  25816. tmp_cddpo = pi->cdd5ghpo;
  25817. tmp_stbcpo = pi->stbc5ghpo;
  25818. tmp_bw40po = pi->bw405ghpo;
  25819. tx_srom_max_rate = pi->tx_srom_max_rate_5g_hi;
  25820. break;
  25821. }
  25822. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets1,
  25823. tmp_max_pwr, TXP_FIRST_OFDM,
  25824. TXP_LAST_OFDM);
  25825. wlc_phy_ofdm_to_mcs_powers_nphy(tx_srom_max_rate,
  25826. TXP_FIRST_MCS_20_SISO,
  25827. TXP_LAST_MCS_20_SISO,
  25828. TXP_FIRST_OFDM);
  25829. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  25830. tmp_max_pwr,
  25831. TXP_FIRST_MCS_20_CDD,
  25832. TXP_LAST_MCS_20_CDD);
  25833. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25834. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  25835. TXP_FIRST_MCS_20_CDD,
  25836. TXP_LAST_MCS_20_CDD);
  25837. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25838. TXP_FIRST_OFDM_20_CDD,
  25839. TXP_LAST_OFDM_20_CDD,
  25840. TXP_FIRST_MCS_20_CDD);
  25841. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  25842. tmp_max_pwr,
  25843. TXP_FIRST_MCS_20_STBC,
  25844. TXP_LAST_MCS_20_STBC);
  25845. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25846. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25847. tmp_stbcpo,
  25848. TXP_FIRST_MCS_20_STBC,
  25849. TXP_LAST_MCS_20_STBC);
  25850. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25851. &pwr_offsets2[2], tmp_max_pwr,
  25852. TXP_FIRST_MCS_20_SDM,
  25853. TXP_LAST_MCS_20_SDM);
  25854. if (NPHY_IS_SROM_REINTERPRET) {
  25855. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25856. &pwr_offsets2[4],
  25857. tmp_max_pwr,
  25858. TXP_FIRST_MCS_40_SISO,
  25859. TXP_LAST_MCS_40_SISO);
  25860. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25861. TXP_FIRST_OFDM_40_SISO,
  25862. TXP_LAST_OFDM_40_SISO,
  25863. TXP_FIRST_MCS_40_SISO);
  25864. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25865. &pwr_offsets2[4],
  25866. tmp_max_pwr,
  25867. TXP_FIRST_MCS_40_CDD,
  25868. TXP_LAST_MCS_40_CDD);
  25869. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  25870. TXP_FIRST_MCS_40_CDD,
  25871. TXP_LAST_MCS_40_CDD);
  25872. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25873. TXP_FIRST_OFDM_40_CDD,
  25874. TXP_LAST_OFDM_40_CDD,
  25875. TXP_FIRST_MCS_40_CDD);
  25876. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25877. &pwr_offsets2[4],
  25878. tmp_max_pwr,
  25879. TXP_FIRST_MCS_40_STBC,
  25880. TXP_LAST_MCS_40_STBC);
  25881. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25882. tmp_stbcpo,
  25883. TXP_FIRST_MCS_40_STBC,
  25884. TXP_LAST_MCS_40_STBC);
  25885. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25886. &pwr_offsets2[6],
  25887. tmp_max_pwr,
  25888. TXP_FIRST_MCS_40_SDM,
  25889. TXP_LAST_MCS_40_SDM);
  25890. } else {
  25891. for (rate1 = TXP_FIRST_OFDM_40_SISO, rate2 =
  25892. TXP_FIRST_OFDM;
  25893. rate1 <= TXP_LAST_MCS_40_SDM;
  25894. rate1++, rate2++)
  25895. tx_srom_max_rate[rate1] =
  25896. tx_srom_max_rate[rate2];
  25897. }
  25898. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25899. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25900. tmp_bw40po,
  25901. TXP_FIRST_OFDM_40_SISO,
  25902. TXP_LAST_MCS_40_SDM);
  25903. tx_srom_max_rate[TXP_MCS_32] =
  25904. tx_srom_max_rate[TXP_FIRST_MCS_40_CDD];
  25905. }
  25906. return;
  25907. }
  25908. void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi)
  25909. {
  25910. u8 tx_pwr_ctrl_state;
  25911. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  25912. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  25913. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  25914. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  25915. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  25916. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  25917. udelay(1);
  25918. }
  25919. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  25920. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  25921. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  25922. }
  25923. static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi)
  25924. {
  25925. return read_phy_reg((pi), 0x1e7) & ((0x1 << 15) |
  25926. (0x1 << 14) | (0x1 << 13));
  25927. }
  25928. u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi)
  25929. {
  25930. u16 tmp;
  25931. u16 pwr_idx[2];
  25932. if (wlc_phy_txpwr_ison_nphy(pi)) {
  25933. pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0);
  25934. pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1);
  25935. tmp = (pwr_idx[0] << 8) | pwr_idx[1];
  25936. } else {
  25937. tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff)
  25938. << 8) |
  25939. (pi->nphy_txpwrindex[PHY_CORE_1].index_internal & 0xff);
  25940. }
  25941. return tmp;
  25942. }
  25943. void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi)
  25944. {
  25945. if (PHY_IPA(pi)
  25946. && (pi->nphy_force_papd_cal
  25947. || (wlc_phy_txpwr_ison_nphy(pi)
  25948. &&
  25949. (((u32)
  25950. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) -
  25951. pi->nphy_papd_tx_gain_at_last_cal[0]) >= 4)
  25952. || ((u32)
  25953. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) -
  25954. pi->nphy_papd_tx_gain_at_last_cal[1]) >= 4)))))
  25955. wlc_phy_a4(pi, true);
  25956. }
  25957. void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type)
  25958. {
  25959. u16 mask = 0, val = 0, ishw = 0;
  25960. u8 ctr;
  25961. uint core;
  25962. u32 tbl_offset;
  25963. u32 tbl_len;
  25964. u16 regval[84];
  25965. if (pi->phyhang_avoid)
  25966. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25967. switch (ctrl_type) {
  25968. case PHY_TPC_HW_OFF:
  25969. case PHY_TPC_HW_ON:
  25970. pi->nphy_txpwrctrl = ctrl_type;
  25971. break;
  25972. default:
  25973. break;
  25974. }
  25975. if (ctrl_type == PHY_TPC_HW_OFF) {
  25976. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  25977. if (wlc_phy_txpwr_ison_nphy(pi)) {
  25978. for (core = 0; core < pi->pubpi.phy_corenum;
  25979. core++)
  25980. pi->nphy_txpwr_idx[core] =
  25981. wlc_phy_txpwr_idx_cur_get_nphy(
  25982. pi,
  25983. (u8) core);
  25984. }
  25985. }
  25986. tbl_len = 84;
  25987. tbl_offset = 64;
  25988. for (ctr = 0; ctr < tbl_len; ctr++)
  25989. regval[ctr] = 0;
  25990. wlc_phy_table_write_nphy(pi, 26, tbl_len, tbl_offset, 16,
  25991. regval);
  25992. wlc_phy_table_write_nphy(pi, 27, tbl_len, tbl_offset, 16,
  25993. regval);
  25994. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25995. and_phy_reg(pi, 0x1e7,
  25996. (u16) (~((0x1 << 15) |
  25997. (0x1 << 14) | (0x1 << 13))));
  25998. else
  25999. and_phy_reg(pi, 0x1e7,
  26000. (u16) (~((0x1 << 14) | (0x1 << 13))));
  26001. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26002. or_phy_reg(pi, 0x8f, (0x1 << 8));
  26003. or_phy_reg(pi, 0xa5, (0x1 << 8));
  26004. } else {
  26005. or_phy_reg(pi, 0xa5, (0x1 << 14));
  26006. }
  26007. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26008. mod_phy_reg(pi, 0xdc, 0x00ff, 0x53);
  26009. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26010. mod_phy_reg(pi, 0xdc, 0x00ff, 0x5a);
  26011. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26012. pi->bw == WL_CHANSPEC_BW_40)
  26013. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26014. MHF1_IQSWAP_WAR, BRCM_BAND_ALL);
  26015. } else {
  26016. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64,
  26017. 8, pi->adj_pwr_tbl_nphy);
  26018. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64,
  26019. 8, pi->adj_pwr_tbl_nphy);
  26020. ishw = (ctrl_type == PHY_TPC_HW_ON) ? 0x1 : 0x0;
  26021. mask = (0x1 << 14) | (0x1 << 13);
  26022. val = (ishw << 14) | (ishw << 13);
  26023. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26024. mask |= (0x1 << 15);
  26025. val |= (ishw << 15);
  26026. }
  26027. mod_phy_reg(pi, 0x1e7, mask, val);
  26028. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  26029. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  26030. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x32);
  26031. mod_phy_reg(pi, 0x222, (0xff << 0), 0x32);
  26032. } else {
  26033. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x64);
  26034. if (NREV_GT(pi->pubpi.phy_rev, 1))
  26035. mod_phy_reg(pi, 0x222,
  26036. (0xff << 0), 0x64);
  26037. }
  26038. }
  26039. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26040. if ((pi->nphy_txpwr_idx[0] != 128)
  26041. && (pi->nphy_txpwr_idx[1] != 128))
  26042. wlc_phy_txpwr_idx_cur_set_nphy(pi,
  26043. pi->
  26044. nphy_txpwr_idx
  26045. [0],
  26046. pi->
  26047. nphy_txpwr_idx
  26048. [1]);
  26049. }
  26050. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26051. and_phy_reg(pi, 0x8f, ~(0x1 << 8));
  26052. and_phy_reg(pi, 0xa5, ~(0x1 << 8));
  26053. } else {
  26054. and_phy_reg(pi, 0xa5, ~(0x1 << 14));
  26055. }
  26056. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26057. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  26058. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26059. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  26060. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26061. pi->bw == WL_CHANSPEC_BW_40)
  26062. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26063. 0x0, BRCM_BAND_ALL);
  26064. if (PHY_IPA(pi)) {
  26065. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  26066. 0x29b, (0x1 << 2), (0) << 2);
  26067. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  26068. 0x29b, (0x1 << 2), (0) << 2);
  26069. }
  26070. }
  26071. if (pi->phyhang_avoid)
  26072. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26073. }
  26074. void
  26075. wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex,
  26076. bool restore_cals)
  26077. {
  26078. u8 core, txpwrctl_tbl;
  26079. u16 tx_ind0, iq_ind0, lo_ind0;
  26080. u16 m1m2;
  26081. u32 txgain;
  26082. u16 rad_gain, dac_gain;
  26083. u8 bbmult;
  26084. u32 iqcomp;
  26085. u16 iqcomp_a, iqcomp_b;
  26086. u32 locomp;
  26087. u16 tmpval;
  26088. u8 tx_pwr_ctrl_state;
  26089. s32 rfpwr_offset;
  26090. u16 regval[2];
  26091. if (pi->phyhang_avoid)
  26092. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26093. tx_ind0 = 192;
  26094. iq_ind0 = 320;
  26095. lo_ind0 = 448;
  26096. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  26097. if ((core_mask & (1 << core)) == 0)
  26098. continue;
  26099. txpwrctl_tbl = (core == PHY_CORE_0) ? 26 : 27;
  26100. if (txpwrindex < 0) {
  26101. if (pi->nphy_txpwrindex[core].index < 0)
  26102. continue;
  26103. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26104. mod_phy_reg(pi, 0x8f,
  26105. (0x1 << 8),
  26106. pi->nphy_txpwrindex[core].
  26107. AfectrlOverride);
  26108. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26109. pi->nphy_txpwrindex[core].
  26110. AfectrlOverride);
  26111. } else {
  26112. mod_phy_reg(pi, 0xa5,
  26113. (0x1 << 14),
  26114. pi->nphy_txpwrindex[core].
  26115. AfectrlOverride);
  26116. }
  26117. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26118. 0xaa : 0xab,
  26119. pi->nphy_txpwrindex[core].AfeCtrlDacGain);
  26120. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26121. &pi->nphy_txpwrindex[core].
  26122. rad_gain);
  26123. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26124. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26125. m1m2 |= ((core == PHY_CORE_0) ?
  26126. (pi->nphy_txpwrindex[core].bbmult << 8) :
  26127. (pi->nphy_txpwrindex[core].bbmult << 0));
  26128. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26129. if (restore_cals) {
  26130. wlc_phy_table_write_nphy(
  26131. pi, 15, 2, (80 + 2 * core), 16,
  26132. &pi->nphy_txpwrindex[core].iqcomp_a);
  26133. wlc_phy_table_write_nphy(
  26134. pi, 15, 1, (85 + core), 16,
  26135. &pi->nphy_txpwrindex[core].locomp);
  26136. wlc_phy_table_write_nphy(
  26137. pi, 15, 1, (93 + core), 16,
  26138. &pi->nphy_txpwrindex[core].locomp);
  26139. }
  26140. wlc_phy_txpwrctrl_enable_nphy(pi, pi->nphy_txpwrctrl);
  26141. pi->nphy_txpwrindex[core].index_internal =
  26142. pi->nphy_txpwrindex[core].index_internal_save;
  26143. } else {
  26144. if (pi->nphy_txpwrindex[core].index < 0) {
  26145. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26146. mod_phy_reg(pi, 0x8f,
  26147. (0x1 << 8),
  26148. pi->nphy_txpwrindex[core].
  26149. AfectrlOverride);
  26150. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26151. pi->nphy_txpwrindex[core].
  26152. AfectrlOverride);
  26153. } else {
  26154. pi->nphy_txpwrindex[core].
  26155. AfectrlOverride =
  26156. read_phy_reg(pi, 0xa5);
  26157. }
  26158. pi->nphy_txpwrindex[core].AfeCtrlDacGain =
  26159. read_phy_reg(pi, (core == PHY_CORE_0) ?
  26160. 0xaa : 0xab);
  26161. wlc_phy_table_read_nphy(pi, 7, 1,
  26162. (0x110 + core), 16,
  26163. &pi->
  26164. nphy_txpwrindex[core].
  26165. rad_gain);
  26166. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  26167. &tmpval);
  26168. tmpval >>= ((core == PHY_CORE_0) ? 8 : 0);
  26169. tmpval &= 0xff;
  26170. pi->nphy_txpwrindex[core].bbmult = (u8) tmpval;
  26171. wlc_phy_table_read_nphy(pi, 15, 2,
  26172. (80 + 2 * core), 16,
  26173. &pi->
  26174. nphy_txpwrindex[core].
  26175. iqcomp_a);
  26176. wlc_phy_table_read_nphy(pi, 15, 1, (85 + core),
  26177. 16,
  26178. &pi->
  26179. nphy_txpwrindex[core].
  26180. locomp);
  26181. pi->nphy_txpwrindex[core].index_internal_save =
  26182. pi->nphy_txpwrindex[core].
  26183. index_internal;
  26184. }
  26185. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26186. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  26187. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26188. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  26189. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26190. (tx_ind0 + txpwrindex), 32,
  26191. &txgain);
  26192. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26193. rad_gain = (txgain >> 16) &
  26194. ((1 << (32 - 16 + 1)) - 1);
  26195. else
  26196. rad_gain = (txgain >> 16) &
  26197. ((1 << (28 - 16 + 1)) - 1);
  26198. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  26199. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  26200. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26201. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  26202. 0xa5), (0x1 << 8), (0x1 << 8));
  26203. else
  26204. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  26205. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26206. 0xaa : 0xab, dac_gain);
  26207. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26208. &rad_gain);
  26209. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26210. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26211. m1m2 |= ((core == PHY_CORE_0) ?
  26212. (bbmult << 8) : (bbmult << 0));
  26213. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26214. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26215. (iq_ind0 + txpwrindex), 32,
  26216. &iqcomp);
  26217. iqcomp_a = (iqcomp >> 10) & ((1 << (19 - 10 + 1)) - 1);
  26218. iqcomp_b = (iqcomp >> 0) & ((1 << (9 - 0 + 1)) - 1);
  26219. if (restore_cals) {
  26220. regval[0] = (u16) iqcomp_a;
  26221. regval[1] = (u16) iqcomp_b;
  26222. wlc_phy_table_write_nphy(pi, 15, 2,
  26223. (80 + 2 * core), 16,
  26224. regval);
  26225. }
  26226. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26227. (lo_ind0 + txpwrindex), 32,
  26228. &locomp);
  26229. if (restore_cals)
  26230. wlc_phy_table_write_nphy(pi, 15, 1, (85 + core),
  26231. 16, &locomp);
  26232. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26233. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  26234. if (PHY_IPA(pi)) {
  26235. wlc_phy_table_read_nphy(pi,
  26236. (core == PHY_CORE_0 ?
  26237. NPHY_TBL_ID_CORE1TXPWRCTL :
  26238. NPHY_TBL_ID_CORE2TXPWRCTL),
  26239. 1, 576 + txpwrindex, 32,
  26240. &rfpwr_offset);
  26241. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26242. 0x29b, (0x1ff << 4),
  26243. ((s16) rfpwr_offset) << 4);
  26244. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26245. 0x29b, (0x1 << 2), (1) << 2);
  26246. }
  26247. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26248. }
  26249. pi->nphy_txpwrindex[core].index = txpwrindex;
  26250. }
  26251. if (pi->phyhang_avoid)
  26252. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26253. }
  26254. void
  26255. wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr,
  26256. u8 txp_rate_idx)
  26257. {
  26258. u8 chan_freq_range;
  26259. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, chan);
  26260. switch (chan_freq_range) {
  26261. case WL_CHAN_FREQ_RANGE_2G:
  26262. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26263. break;
  26264. case WL_CHAN_FREQ_RANGE_5GM:
  26265. *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
  26266. break;
  26267. case WL_CHAN_FREQ_RANGE_5GL:
  26268. *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
  26269. break;
  26270. case WL_CHAN_FREQ_RANGE_5GH:
  26271. *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
  26272. break;
  26273. default:
  26274. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26275. break;
  26276. }
  26277. return;
  26278. }
  26279. void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable)
  26280. {
  26281. u16 clip_off[] = { 0xffff, 0xffff };
  26282. if (enable) {
  26283. if (pi->nphy_deaf_count == 0) {
  26284. pi->classifier_state =
  26285. wlc_phy_classifier_nphy(pi, 0, 0);
  26286. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  26287. wlc_phy_clip_det_nphy(pi, 0, pi->clip_state);
  26288. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  26289. }
  26290. pi->nphy_deaf_count++;
  26291. wlc_phy_resetcca_nphy(pi);
  26292. } else {
  26293. pi->nphy_deaf_count--;
  26294. if (pi->nphy_deaf_count == 0) {
  26295. wlc_phy_classifier_nphy(pi, (0x7 << 0),
  26296. pi->classifier_state);
  26297. wlc_phy_clip_det_nphy(pi, 1, pi->clip_state);
  26298. }
  26299. }
  26300. }
  26301. void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode)
  26302. {
  26303. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  26304. if (mode) {
  26305. if (pi->nphy_deaf_count == 0)
  26306. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26307. } else if (pi->nphy_deaf_count > 0) {
  26308. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26309. }
  26310. wlapi_enable_mac(pi->sh->physhim);
  26311. }