phy_n.c 914 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683
  1. /*
  2. * Copyright (c) 2010 Broadcom Corporation
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  11. * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  13. * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  14. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  17. #include <linux/kernel.h>
  18. #include <linux/delay.h>
  19. #include <linux/cordic.h>
  20. #include <brcm_hw_ids.h>
  21. #include <aiutils.h>
  22. #include <chipcommon.h>
  23. #include <pmu.h>
  24. #include <d11.h>
  25. #include <phy_shim.h>
  26. #include "phy_int.h"
  27. #include "phy_hal.h"
  28. #include "phy_radio.h"
  29. #include "phyreg_n.h"
  30. #include "phytbl_n.h"
  31. #include "soc.h"
  32. #define READ_RADIO_REG2(pi, radio_type, jspace, core, reg_name) \
  33. read_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  34. ((core == PHY_CORE_0) ? \
  35. radio_type##_##jspace##0 : \
  36. radio_type##_##jspace##1))
  37. #define WRITE_RADIO_REG2(pi, radio_type, jspace, core, reg_name, value) \
  38. write_radio_reg(pi, radio_type##_##jspace##_##reg_name | \
  39. ((core == PHY_CORE_0) ? \
  40. radio_type##_##jspace##0 : \
  41. radio_type##_##jspace##1), value)
  42. #define WRITE_RADIO_SYN(pi, radio_type, reg_name, value) \
  43. write_radio_reg(pi, radio_type##_##SYN##_##reg_name, value)
  44. #define READ_RADIO_REG3(pi, radio_type, jspace, core, reg_name) \
  45. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  46. radio_type##_##jspace##0##_##reg_name : \
  47. radio_type##_##jspace##1##_##reg_name))
  48. #define WRITE_RADIO_REG3(pi, radio_type, jspace, core, reg_name, value) \
  49. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  50. radio_type##_##jspace##0##_##reg_name : \
  51. radio_type##_##jspace##1##_##reg_name), \
  52. value)
  53. #define READ_RADIO_REG4(pi, radio_type, jspace, core, reg_name) \
  54. read_radio_reg(pi, ((core == PHY_CORE_0) ? \
  55. radio_type##_##reg_name##_##jspace##0 : \
  56. radio_type##_##reg_name##_##jspace##1))
  57. #define WRITE_RADIO_REG4(pi, radio_type, jspace, core, reg_name, value) \
  58. write_radio_reg(pi, ((core == PHY_CORE_0) ? \
  59. radio_type##_##reg_name##_##jspace##0 : \
  60. radio_type##_##reg_name##_##jspace##1), \
  61. value)
  62. #define NPHY_ACI_MAX_UNDETECT_WINDOW_SZ 40
  63. #define NPHY_ACI_CHANNEL_DELTA 5
  64. #define NPHY_ACI_CHANNEL_SKIP 4
  65. #define NPHY_ACI_40MHZ_CHANNEL_DELTA 6
  66. #define NPHY_ACI_40MHZ_CHANNEL_SKIP 5
  67. #define NPHY_ACI_40MHZ_CHANNEL_DELTA_GE_REV3 6
  68. #define NPHY_ACI_40MHZ_CHANNEL_SKIP_GE_REV3 5
  69. #define NPHY_ACI_CHANNEL_DELTA_GE_REV3 4
  70. #define NPHY_ACI_CHANNEL_SKIP_GE_REV3 3
  71. #define NPHY_NOISE_NOASSOC_GLITCH_TH_UP 2
  72. #define NPHY_NOISE_NOASSOC_GLITCH_TH_DN 8
  73. #define NPHY_NOISE_ASSOC_GLITCH_TH_UP 2
  74. #define NPHY_NOISE_ASSOC_GLITCH_TH_DN 8
  75. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_UP 2
  76. #define NPHY_NOISE_ASSOC_ACI_GLITCH_TH_DN 8
  77. #define NPHY_NOISE_NOASSOC_ENTER_TH 400
  78. #define NPHY_NOISE_ASSOC_ENTER_TH 400
  79. #define NPHY_NOISE_ASSOC_RX_GLITCH_BADPLCP_ENTER_TH 400
  80. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX 44
  81. #define NPHY_NOISE_CRSMINPWR_ARRAY_MAX_INDEX_REV_7 56
  82. #define NPHY_NOISE_NOASSOC_CRSIDX_INCR 16
  83. #define NPHY_NOISE_ASSOC_CRSIDX_INCR 8
  84. #define NPHY_IS_SROM_REINTERPRET NREV_GE(pi->pubpi.phy_rev, 5)
  85. #define NPHY_RSSICAL_MAXREAD 31
  86. #define NPHY_RSSICAL_NPOLL 8
  87. #define NPHY_RSSICAL_MAXD (1<<20)
  88. #define NPHY_MIN_RXIQ_PWR 2
  89. #define NPHY_RSSICAL_W1_TARGET 25
  90. #define NPHY_RSSICAL_W2_TARGET NPHY_RSSICAL_W1_TARGET
  91. #define NPHY_RSSICAL_NB_TARGET 0
  92. #define NPHY_RSSICAL_W1_TARGET_REV3 29
  93. #define NPHY_RSSICAL_W2_TARGET_REV3 NPHY_RSSICAL_W1_TARGET_REV3
  94. #define NPHY_CALSANITY_RSSI_NB_MAX_POS 9
  95. #define NPHY_CALSANITY_RSSI_NB_MAX_NEG -9
  96. #define NPHY_CALSANITY_RSSI_W1_MAX_POS 12
  97. #define NPHY_CALSANITY_RSSI_W1_MAX_NEG (NPHY_RSSICAL_W1_TARGET - \
  98. NPHY_RSSICAL_MAXREAD)
  99. #define NPHY_CALSANITY_RSSI_W2_MAX_POS NPHY_CALSANITY_RSSI_W1_MAX_POS
  100. #define NPHY_CALSANITY_RSSI_W2_MAX_NEG (NPHY_RSSICAL_W2_TARGET - \
  101. NPHY_RSSICAL_MAXREAD)
  102. #define NPHY_RSSI_SXT(x) ((s8) (-((x) & 0x20) + ((x) & 0x1f)))
  103. #define NPHY_RSSI_NB_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_NB_MAX_POS) || \
  104. ((x) < NPHY_CALSANITY_RSSI_NB_MAX_NEG))
  105. #define NPHY_RSSI_W1_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W1_MAX_POS) || \
  106. ((x) < NPHY_CALSANITY_RSSI_W1_MAX_NEG))
  107. #define NPHY_RSSI_W2_VIOL(x) (((x) > NPHY_CALSANITY_RSSI_W2_MAX_POS) || \
  108. ((x) < NPHY_CALSANITY_RSSI_W2_MAX_NEG))
  109. #define NPHY_IQCAL_NUMGAINS 9
  110. #define NPHY_N_GCTL 0x66
  111. #define NPHY_PAPD_EPS_TBL_SIZE 64
  112. #define NPHY_PAPD_SCL_TBL_SIZE 64
  113. #define NPHY_NUM_DIG_FILT_COEFFS 15
  114. #define NPHY_PAPD_COMP_OFF 0
  115. #define NPHY_PAPD_COMP_ON 1
  116. #define NPHY_SROM_TEMPSHIFT 32
  117. #define NPHY_SROM_MAXTEMPOFFSET 16
  118. #define NPHY_SROM_MINTEMPOFFSET -16
  119. #define NPHY_CAL_MAXTEMPDELTA 64
  120. #define NPHY_NOISEVAR_TBLLEN40 256
  121. #define NPHY_NOISEVAR_TBLLEN20 128
  122. #define NPHY_ANARXLPFBW_REDUCTIONFACT 7
  123. #define NPHY_ADJUSTED_MINCRSPOWER 0x1e
  124. /* 5357 Chip specific ChipControl register bits */
  125. #define CCTRL5357_EXTPA (1<<14) /* extPA in ChipControl 1, bit 14 */
  126. #define CCTRL5357_ANT_MUX_2o3 (1<<15) /* 2o3 in ChipControl 1, bit 15 */
  127. #define NPHY_CAL_TSSISAMPS 64
  128. #define NPHY_TEST_TONE_FREQ_40MHz 4000
  129. #define NPHY_TEST_TONE_FREQ_20MHz 2500
  130. #define MAX_205x_RCAL_WAITLOOPS 10000
  131. #define NPHY_RXCAL_TONEAMP 181
  132. #define NPHY_RXCAL_TONEFREQ_40MHz 4000
  133. #define NPHY_RXCAL_TONEFREQ_20MHz 2000
  134. #define TXFILT_SHAPING_OFDM20 0
  135. #define TXFILT_SHAPING_OFDM40 1
  136. #define TXFILT_SHAPING_CCK 2
  137. #define TXFILT_DEFAULT_OFDM20 3
  138. #define TXFILT_DEFAULT_OFDM40 4
  139. struct nphy_iqcal_params {
  140. u16 txlpf;
  141. u16 txgm;
  142. u16 pga;
  143. u16 pad;
  144. u16 ipa;
  145. u16 cal_gain;
  146. u16 ncorr[5];
  147. };
  148. struct nphy_txiqcal_ladder {
  149. u8 percent;
  150. u8 g_env;
  151. };
  152. struct nphy_ipa_txcalgains {
  153. struct nphy_txgains gains;
  154. bool useindex;
  155. u8 index;
  156. };
  157. struct nphy_papd_restore_state {
  158. u16 fbmix[2];
  159. u16 vga_master[2];
  160. u16 intpa_master[2];
  161. u16 afectrl[2];
  162. u16 afeoverride[2];
  163. u16 pwrup[2];
  164. u16 atten[2];
  165. u16 mm;
  166. };
  167. struct nphy_ipa_txrxgain {
  168. u16 hpvga;
  169. u16 lpf_biq1;
  170. u16 lpf_biq0;
  171. u16 lna2;
  172. u16 lna1;
  173. s8 txpwrindex;
  174. };
  175. #define NPHY_IPA_RXCAL_MAXGAININDEX (6 - 1)
  176. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz[] = {
  177. {0, 0, 0, 0, 0, 100},
  178. {0, 0, 0, 0, 0, 50},
  179. {0, 0, 0, 0, 0, -1},
  180. {0, 0, 0, 3, 0, -1},
  181. {0, 0, 3, 3, 0, -1},
  182. {0, 2, 3, 3, 0, -1}
  183. };
  184. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz[] = {
  185. {0, 0, 0, 0, 0, 128},
  186. {0, 0, 0, 0, 0, 70},
  187. {0, 0, 0, 0, 0, 20},
  188. {0, 0, 0, 3, 0, 20},
  189. {0, 0, 3, 3, 0, 20},
  190. {0, 2, 3, 3, 0, 20}
  191. };
  192. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_5GHz_rev7[] = {
  193. {0, 0, 0, 0, 0, 100},
  194. {0, 0, 0, 0, 0, 50},
  195. {0, 0, 0, 0, 0, -1},
  196. {0, 0, 0, 3, 0, -1},
  197. {0, 0, 3, 3, 0, -1},
  198. {0, 0, 5, 3, 0, -1}
  199. };
  200. static const struct nphy_ipa_txrxgain nphy_ipa_rxcal_gaintbl_2GHz_rev7[] = {
  201. {0, 0, 0, 0, 0, 10},
  202. {0, 0, 0, 1, 0, 10},
  203. {0, 0, 1, 2, 0, 10},
  204. {0, 0, 1, 3, 0, 10},
  205. {0, 0, 4, 3, 0, 10},
  206. {0, 0, 6, 3, 0, 10}
  207. };
  208. enum {
  209. NPHY_RXCAL_GAIN_INIT = 0,
  210. NPHY_RXCAL_GAIN_UP,
  211. NPHY_RXCAL_GAIN_DOWN
  212. };
  213. #define wlc_phy_get_papd_nphy(pi) \
  214. (read_phy_reg((pi), 0x1e7) & \
  215. ((0x1 << 15) | \
  216. (0x1 << 14) | \
  217. (0x1 << 13)))
  218. static const u16 NPHY_IPA_REV4_txdigi_filtcoeffs[][NPHY_NUM_DIG_FILT_COEFFS] = {
  219. {-377, 137, -407, 208, -1527, 956, 93, 186, 93,
  220. 230, -44, 230, 201, -191, 201},
  221. {-77, 20, -98, 49, -93, 60, 56, 111, 56, 26, -5,
  222. 26, 34, -32, 34},
  223. {-360, 164, -376, 164, -1533, 576, 308, -314, 308,
  224. 121, -73, 121, 91, 124, 91},
  225. {-295, 200, -363, 142, -1391, 826, 151, 301, 151,
  226. 151, 301, 151, 602, -752, 602},
  227. {-92, 58, -96, 49, -104, 44, 17, 35, 17,
  228. 12, 25, 12, 13, 27, 13},
  229. {-375, 136, -399, 209, -1479, 949, 130, 260, 130,
  230. 230, -44, 230, 201, -191, 201},
  231. {0xed9, 0xc8, 0xe95, 0x8e, 0xa91, 0x33a, 0x97, 0x12d, 0x97,
  232. 0x97, 0x12d, 0x97, 0x25a, 0xd10, 0x25a}
  233. };
  234. struct chan_info_nphy_2055 {
  235. u16 chan;
  236. u16 freq;
  237. uint unknown;
  238. u8 RF_pll_ref;
  239. u8 RF_rf_pll_mod1;
  240. u8 RF_rf_pll_mod0;
  241. u8 RF_vco_cap_tail;
  242. u8 RF_vco_cal1;
  243. u8 RF_vco_cal2;
  244. u8 RF_pll_lf_c1;
  245. u8 RF_pll_lf_r1;
  246. u8 RF_pll_lf_c2;
  247. u8 RF_lgbuf_cen_buf;
  248. u8 RF_lgen_tune1;
  249. u8 RF_lgen_tune2;
  250. u8 RF_core1_lgbuf_a_tune;
  251. u8 RF_core1_lgbuf_g_tune;
  252. u8 RF_core1_rxrf_reg1;
  253. u8 RF_core1_tx_pga_pad_tn;
  254. u8 RF_core1_tx_mx_bgtrim;
  255. u8 RF_core2_lgbuf_a_tune;
  256. u8 RF_core2_lgbuf_g_tune;
  257. u8 RF_core2_rxrf_reg1;
  258. u8 RF_core2_tx_pga_pad_tn;
  259. u8 RF_core2_tx_mx_bgtrim;
  260. u16 PHY_BW1a;
  261. u16 PHY_BW2;
  262. u16 PHY_BW3;
  263. u16 PHY_BW4;
  264. u16 PHY_BW5;
  265. u16 PHY_BW6;
  266. };
  267. struct chan_info_nphy_radio205x {
  268. u16 chan;
  269. u16 freq;
  270. u8 RF_SYN_pll_vcocal1;
  271. u8 RF_SYN_pll_vcocal2;
  272. u8 RF_SYN_pll_refdiv;
  273. u8 RF_SYN_pll_mmd2;
  274. u8 RF_SYN_pll_mmd1;
  275. u8 RF_SYN_pll_loopfilter1;
  276. u8 RF_SYN_pll_loopfilter2;
  277. u8 RF_SYN_pll_loopfilter3;
  278. u8 RF_SYN_pll_loopfilter4;
  279. u8 RF_SYN_pll_loopfilter5;
  280. u8 RF_SYN_reserved_addr27;
  281. u8 RF_SYN_reserved_addr28;
  282. u8 RF_SYN_reserved_addr29;
  283. u8 RF_SYN_logen_VCOBUF1;
  284. u8 RF_SYN_logen_MIXER2;
  285. u8 RF_SYN_logen_BUF3;
  286. u8 RF_SYN_logen_BUF4;
  287. u8 RF_RX0_lnaa_tune;
  288. u8 RF_RX0_lnag_tune;
  289. u8 RF_TX0_intpaa_boost_tune;
  290. u8 RF_TX0_intpag_boost_tune;
  291. u8 RF_TX0_pada_boost_tune;
  292. u8 RF_TX0_padg_boost_tune;
  293. u8 RF_TX0_pgaa_boost_tune;
  294. u8 RF_TX0_pgag_boost_tune;
  295. u8 RF_TX0_mixa_boost_tune;
  296. u8 RF_TX0_mixg_boost_tune;
  297. u8 RF_RX1_lnaa_tune;
  298. u8 RF_RX1_lnag_tune;
  299. u8 RF_TX1_intpaa_boost_tune;
  300. u8 RF_TX1_intpag_boost_tune;
  301. u8 RF_TX1_pada_boost_tune;
  302. u8 RF_TX1_padg_boost_tune;
  303. u8 RF_TX1_pgaa_boost_tune;
  304. u8 RF_TX1_pgag_boost_tune;
  305. u8 RF_TX1_mixa_boost_tune;
  306. u8 RF_TX1_mixg_boost_tune;
  307. u16 PHY_BW1a;
  308. u16 PHY_BW2;
  309. u16 PHY_BW3;
  310. u16 PHY_BW4;
  311. u16 PHY_BW5;
  312. u16 PHY_BW6;
  313. };
  314. struct chan_info_nphy_radio2057 {
  315. u16 chan;
  316. u16 freq;
  317. u8 RF_vcocal_countval0;
  318. u8 RF_vcocal_countval1;
  319. u8 RF_rfpll_refmaster_sparextalsize;
  320. u8 RF_rfpll_loopfilter_r1;
  321. u8 RF_rfpll_loopfilter_c2;
  322. u8 RF_rfpll_loopfilter_c1;
  323. u8 RF_cp_kpd_idac;
  324. u8 RF_rfpll_mmd0;
  325. u8 RF_rfpll_mmd1;
  326. u8 RF_vcobuf_tune;
  327. u8 RF_logen_mx2g_tune;
  328. u8 RF_logen_mx5g_tune;
  329. u8 RF_logen_indbuf2g_tune;
  330. u8 RF_logen_indbuf5g_tune;
  331. u8 RF_txmix2g_tune_boost_pu_core0;
  332. u8 RF_pad2g_tune_pus_core0;
  333. u8 RF_pga_boost_tune_core0;
  334. u8 RF_txmix5g_boost_tune_core0;
  335. u8 RF_pad5g_tune_misc_pus_core0;
  336. u8 RF_lna2g_tune_core0;
  337. u8 RF_lna5g_tune_core0;
  338. u8 RF_txmix2g_tune_boost_pu_core1;
  339. u8 RF_pad2g_tune_pus_core1;
  340. u8 RF_pga_boost_tune_core1;
  341. u8 RF_txmix5g_boost_tune_core1;
  342. u8 RF_pad5g_tune_misc_pus_core1;
  343. u8 RF_lna2g_tune_core1;
  344. u8 RF_lna5g_tune_core1;
  345. u16 PHY_BW1a;
  346. u16 PHY_BW2;
  347. u16 PHY_BW3;
  348. u16 PHY_BW4;
  349. u16 PHY_BW5;
  350. u16 PHY_BW6;
  351. };
  352. struct chan_info_nphy_radio2057_rev5 {
  353. u16 chan;
  354. u16 freq;
  355. u8 RF_vcocal_countval0;
  356. u8 RF_vcocal_countval1;
  357. u8 RF_rfpll_refmaster_sparextalsize;
  358. u8 RF_rfpll_loopfilter_r1;
  359. u8 RF_rfpll_loopfilter_c2;
  360. u8 RF_rfpll_loopfilter_c1;
  361. u8 RF_cp_kpd_idac;
  362. u8 RF_rfpll_mmd0;
  363. u8 RF_rfpll_mmd1;
  364. u8 RF_vcobuf_tune;
  365. u8 RF_logen_mx2g_tune;
  366. u8 RF_logen_indbuf2g_tune;
  367. u8 RF_txmix2g_tune_boost_pu_core0;
  368. u8 RF_pad2g_tune_pus_core0;
  369. u8 RF_lna2g_tune_core0;
  370. u8 RF_txmix2g_tune_boost_pu_core1;
  371. u8 RF_pad2g_tune_pus_core1;
  372. u8 RF_lna2g_tune_core1;
  373. u16 PHY_BW1a;
  374. u16 PHY_BW2;
  375. u16 PHY_BW3;
  376. u16 PHY_BW4;
  377. u16 PHY_BW5;
  378. u16 PHY_BW6;
  379. };
  380. struct nphy_sfo_cfg {
  381. u16 PHY_BW1a;
  382. u16 PHY_BW2;
  383. u16 PHY_BW3;
  384. u16 PHY_BW4;
  385. u16 PHY_BW5;
  386. u16 PHY_BW6;
  387. };
  388. static const struct chan_info_nphy_2055 chan_info_nphy_2055[] = {
  389. {
  390. 184, 4920, 3280, 0x71, 0x01, 0xEC, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  391. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  392. 0x0F, 0x8F, 0x7B4, 0x7B0, 0x7AC, 0x214, 0x215, 0x216},
  393. {
  394. 186, 4930, 3287, 0x71, 0x01, 0xED, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  395. 0x00, 0x8F, 0xFF, 0xFF, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  396. 0x0F, 0x8F, 0x7B8, 0x7B4, 0x7B0, 0x213, 0x214, 0x215},
  397. {
  398. 188, 4940, 3293, 0x71, 0x01, 0xEE, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  399. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  400. 0x0F, 0x8F, 0x7BC, 0x7B8, 0x7B4, 0x212, 0x213, 0x214},
  401. {
  402. 190, 4950, 3300, 0x71, 0x01, 0xEF, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  403. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  404. 0x0F, 0x8F, 0x7C0, 0x7BC, 0x7B8, 0x211, 0x212, 0x213},
  405. {
  406. 192, 4960, 3307, 0x71, 0x01, 0xF0, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  407. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  408. 0x0F, 0x8F, 0x7C4, 0x7C0, 0x7BC, 0x20F, 0x211, 0x212},
  409. {
  410. 194, 4970, 3313, 0x71, 0x01, 0xF1, 0x0F, 0xFF, 0x01, 0x04, 0x0A,
  411. 0x00, 0x8F, 0xEE, 0xEE, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  412. 0x0F, 0x8F, 0x7C8, 0x7C4, 0x7C0, 0x20E, 0x20F, 0x211},
  413. {
  414. 196, 4980, 3320, 0x71, 0x01, 0xF2, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  415. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  416. 0x0F, 0x8F, 0x7CC, 0x7C8, 0x7C4, 0x20D, 0x20E, 0x20F},
  417. {
  418. 198, 4990, 3327, 0x71, 0x01, 0xF3, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  419. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  420. 0x0F, 0x8F, 0x7D0, 0x7CC, 0x7C8, 0x20C, 0x20D, 0x20E},
  421. {
  422. 200, 5000, 3333, 0x71, 0x01, 0xF4, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  423. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  424. 0x0F, 0x8F, 0x7D4, 0x7D0, 0x7CC, 0x20B, 0x20C, 0x20D},
  425. {
  426. 202, 5010, 3340, 0x71, 0x01, 0xF5, 0x0E, 0xFF, 0x01, 0x04, 0x0A,
  427. 0x00, 0x8F, 0xDD, 0xDD, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  428. 0x0F, 0x8F, 0x7D8, 0x7D4, 0x7D0, 0x20A, 0x20B, 0x20C},
  429. {
  430. 204, 5020, 3347, 0x71, 0x01, 0xF6, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  431. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  432. 0x0F, 0x8F, 0x7DC, 0x7D8, 0x7D4, 0x209, 0x20A, 0x20B},
  433. {
  434. 206, 5030, 3353, 0x71, 0x01, 0xF7, 0x0E, 0xF7, 0x01, 0x04, 0x0A,
  435. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  436. 0x0F, 0x8F, 0x7E0, 0x7DC, 0x7D8, 0x208, 0x209, 0x20A},
  437. {
  438. 208, 5040, 3360, 0x71, 0x01, 0xF8, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  439. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  440. 0x0F, 0x8F, 0x7E4, 0x7E0, 0x7DC, 0x207, 0x208, 0x209},
  441. {
  442. 210, 5050, 3367, 0x71, 0x01, 0xF9, 0x0D, 0xEF, 0x01, 0x04, 0x0A,
  443. 0x00, 0x8F, 0xCC, 0xCC, 0xFF, 0x00, 0x0F, 0x0F, 0x8F, 0xFF, 0x00, 0x0F,
  444. 0x0F, 0x8F, 0x7E8, 0x7E4, 0x7E0, 0x206, 0x207, 0x208},
  445. {
  446. 212, 5060, 3373, 0x71, 0x01, 0xFA, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  447. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  448. 0x0F, 0x8E, 0x7EC, 0x7E8, 0x7E4, 0x205, 0x206, 0x207},
  449. {
  450. 214, 5070, 3380, 0x71, 0x01, 0xFB, 0x0D, 0xE6, 0x01, 0x04, 0x0A,
  451. 0x00, 0x8F, 0xBB, 0xBB, 0xFF, 0x00, 0x0E, 0x0F, 0x8E, 0xFF, 0x00, 0x0E,
  452. 0x0F, 0x8E, 0x7F0, 0x7EC, 0x7E8, 0x204, 0x205, 0x206},
  453. {
  454. 216, 5080, 3387, 0x71, 0x01, 0xFC, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  455. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  456. 0x0F, 0x8D, 0x7F4, 0x7F0, 0x7EC, 0x203, 0x204, 0x205},
  457. {
  458. 218, 5090, 3393, 0x71, 0x01, 0xFD, 0x0D, 0xDE, 0x01, 0x04, 0x0A,
  459. 0x00, 0x8E, 0xBB, 0xBB, 0xEE, 0x00, 0x0E, 0x0F, 0x8D, 0xEE, 0x00, 0x0E,
  460. 0x0F, 0x8D, 0x7F8, 0x7F4, 0x7F0, 0x202, 0x203, 0x204},
  461. {
  462. 220, 5100, 3400, 0x71, 0x01, 0xFE, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  463. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  464. 0x0F, 0x8D, 0x7FC, 0x7F8, 0x7F4, 0x201, 0x202, 0x203},
  465. {
  466. 222, 5110, 3407, 0x71, 0x01, 0xFF, 0x0C, 0xD6, 0x01, 0x04, 0x0A,
  467. 0x00, 0x8E, 0xAA, 0xAA, 0xEE, 0x00, 0x0D, 0x0F, 0x8D, 0xEE, 0x00, 0x0D,
  468. 0x0F, 0x8D, 0x800, 0x7FC, 0x7F8, 0x200, 0x201, 0x202},
  469. {
  470. 224, 5120, 3413, 0x71, 0x02, 0x00, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  471. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  472. 0x0F, 0x8C, 0x804, 0x800, 0x7FC, 0x1FF, 0x200, 0x201},
  473. {
  474. 226, 5130, 3420, 0x71, 0x02, 0x01, 0x0C, 0xCE, 0x01, 0x04, 0x0A,
  475. 0x00, 0x8D, 0xAA, 0xAA, 0xDD, 0x00, 0x0D, 0x0F, 0x8C, 0xDD, 0x00, 0x0D,
  476. 0x0F, 0x8C, 0x808, 0x804, 0x800, 0x1FE, 0x1FF, 0x200},
  477. {
  478. 228, 5140, 3427, 0x71, 0x02, 0x02, 0x0C, 0xC6, 0x01, 0x04, 0x0A,
  479. 0x00, 0x8D, 0x99, 0x99, 0xDD, 0x00, 0x0C, 0x0E, 0x8B, 0xDD, 0x00, 0x0C,
  480. 0x0E, 0x8B, 0x80C, 0x808, 0x804, 0x1FD, 0x1FE, 0x1FF},
  481. {
  482. 32, 5160, 3440, 0x71, 0x02, 0x04, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  483. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  484. 0x0D, 0x8A, 0x814, 0x810, 0x80C, 0x1FB, 0x1FC, 0x1FD},
  485. {
  486. 34, 5170, 3447, 0x71, 0x02, 0x05, 0x0B, 0xBE, 0x01, 0x04, 0x0A,
  487. 0x00, 0x8C, 0x99, 0x99, 0xCC, 0x00, 0x0B, 0x0D, 0x8A, 0xCC, 0x00, 0x0B,
  488. 0x0D, 0x8A, 0x818, 0x814, 0x810, 0x1FA, 0x1FB, 0x1FC},
  489. {
  490. 36, 5180, 3453, 0x71, 0x02, 0x06, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  491. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  492. 0x0C, 0x89, 0x81C, 0x818, 0x814, 0x1F9, 0x1FA, 0x1FB},
  493. {
  494. 38, 5190, 3460, 0x71, 0x02, 0x07, 0x0B, 0xB6, 0x01, 0x04, 0x0A,
  495. 0x00, 0x8C, 0x88, 0x88, 0xCC, 0x00, 0x0B, 0x0C, 0x89, 0xCC, 0x00, 0x0B,
  496. 0x0C, 0x89, 0x820, 0x81C, 0x818, 0x1F8, 0x1F9, 0x1FA},
  497. {
  498. 40, 5200, 3467, 0x71, 0x02, 0x08, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  499. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  500. 0x0B, 0x89, 0x824, 0x820, 0x81C, 0x1F7, 0x1F8, 0x1F9},
  501. {
  502. 42, 5210, 3473, 0x71, 0x02, 0x09, 0x0B, 0xAF, 0x01, 0x04, 0x0A,
  503. 0x00, 0x8B, 0x88, 0x88, 0xBB, 0x00, 0x0A, 0x0B, 0x89, 0xBB, 0x00, 0x0A,
  504. 0x0B, 0x89, 0x828, 0x824, 0x820, 0x1F6, 0x1F7, 0x1F8},
  505. {
  506. 44, 5220, 3480, 0x71, 0x02, 0x0A, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  507. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  508. 0x0A, 0x88, 0x82C, 0x828, 0x824, 0x1F5, 0x1F6, 0x1F7},
  509. {
  510. 46, 5230, 3487, 0x71, 0x02, 0x0B, 0x0A, 0xA7, 0x01, 0x04, 0x0A,
  511. 0x00, 0x8B, 0x77, 0x77, 0xBB, 0x00, 0x09, 0x0A, 0x88, 0xBB, 0x00, 0x09,
  512. 0x0A, 0x88, 0x830, 0x82C, 0x828, 0x1F4, 0x1F5, 0x1F6},
  513. {
  514. 48, 5240, 3493, 0x71, 0x02, 0x0C, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  515. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  516. 0x0A, 0x87, 0x834, 0x830, 0x82C, 0x1F3, 0x1F4, 0x1F5},
  517. {
  518. 50, 5250, 3500, 0x71, 0x02, 0x0D, 0x0A, 0xA0, 0x01, 0x04, 0x0A,
  519. 0x00, 0x8A, 0x77, 0x77, 0xAA, 0x00, 0x09, 0x0A, 0x87, 0xAA, 0x00, 0x09,
  520. 0x0A, 0x87, 0x838, 0x834, 0x830, 0x1F2, 0x1F3, 0x1F4},
  521. {
  522. 52, 5260, 3507, 0x71, 0x02, 0x0E, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  523. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  524. 0x09, 0x87, 0x83C, 0x838, 0x834, 0x1F1, 0x1F2, 0x1F3},
  525. {
  526. 54, 5270, 3513, 0x71, 0x02, 0x0F, 0x0A, 0x98, 0x01, 0x04, 0x0A,
  527. 0x00, 0x8A, 0x66, 0x66, 0xAA, 0x00, 0x08, 0x09, 0x87, 0xAA, 0x00, 0x08,
  528. 0x09, 0x87, 0x840, 0x83C, 0x838, 0x1F0, 0x1F1, 0x1F2},
  529. {
  530. 56, 5280, 3520, 0x71, 0x02, 0x10, 0x09, 0x91, 0x01, 0x04, 0x0A,
  531. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  532. 0x08, 0x86, 0x844, 0x840, 0x83C, 0x1F0, 0x1F0, 0x1F1},
  533. {
  534. 58, 5290, 3527, 0x71, 0x02, 0x11, 0x09, 0x91, 0x01, 0x04, 0x0A,
  535. 0x00, 0x89, 0x66, 0x66, 0x99, 0x00, 0x08, 0x08, 0x86, 0x99, 0x00, 0x08,
  536. 0x08, 0x86, 0x848, 0x844, 0x840, 0x1EF, 0x1F0, 0x1F0},
  537. {
  538. 60, 5300, 3533, 0x71, 0x02, 0x12, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  539. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  540. 0x07, 0x85, 0x84C, 0x848, 0x844, 0x1EE, 0x1EF, 0x1F0},
  541. {
  542. 62, 5310, 3540, 0x71, 0x02, 0x13, 0x09, 0x8A, 0x01, 0x04, 0x0A,
  543. 0x00, 0x89, 0x55, 0x55, 0x99, 0x00, 0x08, 0x07, 0x85, 0x99, 0x00, 0x08,
  544. 0x07, 0x85, 0x850, 0x84C, 0x848, 0x1ED, 0x1EE, 0x1EF},
  545. {
  546. 64, 5320, 3547, 0x71, 0x02, 0x14, 0x09, 0x83, 0x01, 0x04, 0x0A,
  547. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  548. 0x07, 0x84, 0x854, 0x850, 0x84C, 0x1EC, 0x1ED, 0x1EE},
  549. {
  550. 66, 5330, 3553, 0x71, 0x02, 0x15, 0x09, 0x83, 0x01, 0x04, 0x0A,
  551. 0x00, 0x88, 0x55, 0x55, 0x88, 0x00, 0x07, 0x07, 0x84, 0x88, 0x00, 0x07,
  552. 0x07, 0x84, 0x858, 0x854, 0x850, 0x1EB, 0x1EC, 0x1ED},
  553. {
  554. 68, 5340, 3560, 0x71, 0x02, 0x16, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  555. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  556. 0x06, 0x84, 0x85C, 0x858, 0x854, 0x1EA, 0x1EB, 0x1EC},
  557. {
  558. 70, 5350, 3567, 0x71, 0x02, 0x17, 0x08, 0x7C, 0x01, 0x04, 0x0A,
  559. 0x00, 0x88, 0x44, 0x44, 0x88, 0x00, 0x07, 0x06, 0x84, 0x88, 0x00, 0x07,
  560. 0x06, 0x84, 0x860, 0x85C, 0x858, 0x1E9, 0x1EA, 0x1EB},
  561. {
  562. 72, 5360, 3573, 0x71, 0x02, 0x18, 0x08, 0x75, 0x01, 0x04, 0x0A,
  563. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  564. 0x05, 0x83, 0x864, 0x860, 0x85C, 0x1E8, 0x1E9, 0x1EA},
  565. {
  566. 74, 5370, 3580, 0x71, 0x02, 0x19, 0x08, 0x75, 0x01, 0x04, 0x0A,
  567. 0x00, 0x87, 0x44, 0x44, 0x77, 0x00, 0x06, 0x05, 0x83, 0x77, 0x00, 0x06,
  568. 0x05, 0x83, 0x868, 0x864, 0x860, 0x1E7, 0x1E8, 0x1E9},
  569. {
  570. 76, 5380, 3587, 0x71, 0x02, 0x1A, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  571. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  572. 0x04, 0x82, 0x86C, 0x868, 0x864, 0x1E6, 0x1E7, 0x1E8},
  573. {
  574. 78, 5390, 3593, 0x71, 0x02, 0x1B, 0x08, 0x6E, 0x01, 0x04, 0x0A,
  575. 0x00, 0x87, 0x33, 0x33, 0x77, 0x00, 0x06, 0x04, 0x82, 0x77, 0x00, 0x06,
  576. 0x04, 0x82, 0x870, 0x86C, 0x868, 0x1E5, 0x1E6, 0x1E7},
  577. {
  578. 80, 5400, 3600, 0x71, 0x02, 0x1C, 0x07, 0x67, 0x01, 0x04, 0x0A,
  579. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  580. 0x04, 0x81, 0x874, 0x870, 0x86C, 0x1E5, 0x1E5, 0x1E6},
  581. {
  582. 82, 5410, 3607, 0x71, 0x02, 0x1D, 0x07, 0x67, 0x01, 0x04, 0x0A,
  583. 0x00, 0x86, 0x33, 0x33, 0x66, 0x00, 0x05, 0x04, 0x81, 0x66, 0x00, 0x05,
  584. 0x04, 0x81, 0x878, 0x874, 0x870, 0x1E4, 0x1E5, 0x1E5},
  585. {
  586. 84, 5420, 3613, 0x71, 0x02, 0x1E, 0x07, 0x61, 0x01, 0x04, 0x0A,
  587. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  588. 0x03, 0x80, 0x87C, 0x878, 0x874, 0x1E3, 0x1E4, 0x1E5},
  589. {
  590. 86, 5430, 3620, 0x71, 0x02, 0x1F, 0x07, 0x61, 0x01, 0x04, 0x0A,
  591. 0x00, 0x86, 0x22, 0x22, 0x66, 0x00, 0x05, 0x03, 0x80, 0x66, 0x00, 0x05,
  592. 0x03, 0x80, 0x880, 0x87C, 0x878, 0x1E2, 0x1E3, 0x1E4},
  593. {
  594. 88, 5440, 3627, 0x71, 0x02, 0x20, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  595. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  596. 0x02, 0x80, 0x884, 0x880, 0x87C, 0x1E1, 0x1E2, 0x1E3},
  597. {
  598. 90, 5450, 3633, 0x71, 0x02, 0x21, 0x07, 0x5A, 0x01, 0x04, 0x0A,
  599. 0x00, 0x85, 0x22, 0x22, 0x55, 0x00, 0x04, 0x02, 0x80, 0x55, 0x00, 0x04,
  600. 0x02, 0x80, 0x888, 0x884, 0x880, 0x1E0, 0x1E1, 0x1E2},
  601. {
  602. 92, 5460, 3640, 0x71, 0x02, 0x22, 0x06, 0x53, 0x01, 0x04, 0x0A,
  603. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  604. 0x01, 0x80, 0x88C, 0x888, 0x884, 0x1DF, 0x1E0, 0x1E1},
  605. {
  606. 94, 5470, 3647, 0x71, 0x02, 0x23, 0x06, 0x53, 0x01, 0x04, 0x0A,
  607. 0x00, 0x85, 0x11, 0x11, 0x55, 0x00, 0x04, 0x01, 0x80, 0x55, 0x00, 0x04,
  608. 0x01, 0x80, 0x890, 0x88C, 0x888, 0x1DE, 0x1DF, 0x1E0},
  609. {
  610. 96, 5480, 3653, 0x71, 0x02, 0x24, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  611. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  612. 0x00, 0x80, 0x894, 0x890, 0x88C, 0x1DD, 0x1DE, 0x1DF},
  613. {
  614. 98, 5490, 3660, 0x71, 0x02, 0x25, 0x06, 0x4D, 0x01, 0x04, 0x0A,
  615. 0x00, 0x84, 0x11, 0x11, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  616. 0x00, 0x80, 0x898, 0x894, 0x890, 0x1DD, 0x1DD, 0x1DE},
  617. {
  618. 100, 5500, 3667, 0x71, 0x02, 0x26, 0x06, 0x47, 0x01, 0x04, 0x0A,
  619. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  620. 0x00, 0x80, 0x89C, 0x898, 0x894, 0x1DC, 0x1DD, 0x1DD},
  621. {
  622. 102, 5510, 3673, 0x71, 0x02, 0x27, 0x06, 0x47, 0x01, 0x04, 0x0A,
  623. 0x00, 0x84, 0x00, 0x00, 0x44, 0x00, 0x03, 0x00, 0x80, 0x44, 0x00, 0x03,
  624. 0x00, 0x80, 0x8A0, 0x89C, 0x898, 0x1DB, 0x1DC, 0x1DD},
  625. {
  626. 104, 5520, 3680, 0x71, 0x02, 0x28, 0x05, 0x40, 0x01, 0x04, 0x0A,
  627. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  628. 0x00, 0x80, 0x8A4, 0x8A0, 0x89C, 0x1DA, 0x1DB, 0x1DC},
  629. {
  630. 106, 5530, 3687, 0x71, 0x02, 0x29, 0x05, 0x40, 0x01, 0x04, 0x0A,
  631. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  632. 0x00, 0x80, 0x8A8, 0x8A4, 0x8A0, 0x1D9, 0x1DA, 0x1DB},
  633. {
  634. 108, 5540, 3693, 0x71, 0x02, 0x2A, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  635. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  636. 0x00, 0x80, 0x8AC, 0x8A8, 0x8A4, 0x1D8, 0x1D9, 0x1DA},
  637. {
  638. 110, 5550, 3700, 0x71, 0x02, 0x2B, 0x05, 0x3A, 0x01, 0x04, 0x0A,
  639. 0x00, 0x83, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00, 0x80, 0x33, 0x00, 0x02,
  640. 0x00, 0x80, 0x8B0, 0x8AC, 0x8A8, 0x1D7, 0x1D8, 0x1D9},
  641. {
  642. 112, 5560, 3707, 0x71, 0x02, 0x2C, 0x05, 0x34, 0x01, 0x04, 0x0A,
  643. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  644. 0x00, 0x80, 0x8B4, 0x8B0, 0x8AC, 0x1D7, 0x1D7, 0x1D8},
  645. {
  646. 114, 5570, 3713, 0x71, 0x02, 0x2D, 0x05, 0x34, 0x01, 0x04, 0x0A,
  647. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  648. 0x00, 0x80, 0x8B8, 0x8B4, 0x8B0, 0x1D6, 0x1D7, 0x1D7},
  649. {
  650. 116, 5580, 3720, 0x71, 0x02, 0x2E, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  651. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  652. 0x00, 0x80, 0x8BC, 0x8B8, 0x8B4, 0x1D5, 0x1D6, 0x1D7},
  653. {
  654. 118, 5590, 3727, 0x71, 0x02, 0x2F, 0x04, 0x2E, 0x01, 0x04, 0x0A,
  655. 0x00, 0x82, 0x00, 0x00, 0x22, 0x00, 0x01, 0x00, 0x80, 0x22, 0x00, 0x01,
  656. 0x00, 0x80, 0x8C0, 0x8BC, 0x8B8, 0x1D4, 0x1D5, 0x1D6},
  657. {
  658. 120, 5600, 3733, 0x71, 0x02, 0x30, 0x04, 0x28, 0x01, 0x04, 0x0A,
  659. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  660. 0x00, 0x80, 0x8C4, 0x8C0, 0x8BC, 0x1D3, 0x1D4, 0x1D5},
  661. {
  662. 122, 5610, 3740, 0x71, 0x02, 0x31, 0x04, 0x28, 0x01, 0x04, 0x0A,
  663. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00, 0x80, 0x11, 0x00, 0x01,
  664. 0x00, 0x80, 0x8C8, 0x8C4, 0x8C0, 0x1D2, 0x1D3, 0x1D4},
  665. {
  666. 124, 5620, 3747, 0x71, 0x02, 0x32, 0x04, 0x21, 0x01, 0x04, 0x0A,
  667. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  668. 0x00, 0x80, 0x8CC, 0x8C8, 0x8C4, 0x1D2, 0x1D2, 0x1D3},
  669. {
  670. 126, 5630, 3753, 0x71, 0x02, 0x33, 0x04, 0x21, 0x01, 0x04, 0x0A,
  671. 0x00, 0x81, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00,
  672. 0x00, 0x80, 0x8D0, 0x8CC, 0x8C8, 0x1D1, 0x1D2, 0x1D2},
  673. {
  674. 128, 5640, 3760, 0x71, 0x02, 0x34, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  675. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  676. 0x00, 0x80, 0x8D4, 0x8D0, 0x8CC, 0x1D0, 0x1D1, 0x1D2},
  677. {
  678. 130, 5650, 3767, 0x71, 0x02, 0x35, 0x03, 0x1C, 0x01, 0x04, 0x0A,
  679. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  680. 0x00, 0x80, 0x8D8, 0x8D4, 0x8D0, 0x1CF, 0x1D0, 0x1D1},
  681. {
  682. 132, 5660, 3773, 0x71, 0x02, 0x36, 0x03, 0x16, 0x01, 0x04, 0x0A,
  683. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  684. 0x00, 0x80, 0x8DC, 0x8D8, 0x8D4, 0x1CE, 0x1CF, 0x1D0},
  685. {
  686. 134, 5670, 3780, 0x71, 0x02, 0x37, 0x03, 0x16, 0x01, 0x04, 0x0A,
  687. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  688. 0x00, 0x80, 0x8E0, 0x8DC, 0x8D8, 0x1CE, 0x1CE, 0x1CF},
  689. {
  690. 136, 5680, 3787, 0x71, 0x02, 0x38, 0x03, 0x10, 0x01, 0x04, 0x0A,
  691. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  692. 0x00, 0x80, 0x8E4, 0x8E0, 0x8DC, 0x1CD, 0x1CE, 0x1CE},
  693. {
  694. 138, 5690, 3793, 0x71, 0x02, 0x39, 0x03, 0x10, 0x01, 0x04, 0x0A,
  695. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  696. 0x00, 0x80, 0x8E8, 0x8E4, 0x8E0, 0x1CC, 0x1CD, 0x1CE},
  697. {
  698. 140, 5700, 3800, 0x71, 0x02, 0x3A, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  699. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  700. 0x00, 0x80, 0x8EC, 0x8E8, 0x8E4, 0x1CB, 0x1CC, 0x1CD},
  701. {
  702. 142, 5710, 3807, 0x71, 0x02, 0x3B, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  703. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  704. 0x00, 0x80, 0x8F0, 0x8EC, 0x8E8, 0x1CA, 0x1CB, 0x1CC},
  705. {
  706. 144, 5720, 3813, 0x71, 0x02, 0x3C, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  707. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  708. 0x00, 0x80, 0x8F4, 0x8F0, 0x8EC, 0x1C9, 0x1CA, 0x1CB},
  709. {
  710. 145, 5725, 3817, 0x72, 0x04, 0x79, 0x02, 0x03, 0x01, 0x03, 0x14,
  711. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  712. 0x00, 0x80, 0x8F6, 0x8F2, 0x8EE, 0x1C9, 0x1CA, 0x1CB},
  713. {
  714. 146, 5730, 3820, 0x71, 0x02, 0x3D, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  715. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  716. 0x00, 0x80, 0x8F8, 0x8F4, 0x8F0, 0x1C9, 0x1C9, 0x1CA},
  717. {
  718. 147, 5735, 3823, 0x72, 0x04, 0x7B, 0x02, 0x03, 0x01, 0x03, 0x14,
  719. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  720. 0x00, 0x80, 0x8FA, 0x8F6, 0x8F2, 0x1C8, 0x1C9, 0x1CA},
  721. {
  722. 148, 5740, 3827, 0x71, 0x02, 0x3E, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  723. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  724. 0x00, 0x80, 0x8FC, 0x8F8, 0x8F4, 0x1C8, 0x1C9, 0x1C9},
  725. {
  726. 149, 5745, 3830, 0x72, 0x04, 0x7D, 0x02, 0xFE, 0x00, 0x03, 0x14,
  727. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  728. 0x00, 0x80, 0x8FE, 0x8FA, 0x8F6, 0x1C8, 0x1C8, 0x1C9},
  729. {
  730. 150, 5750, 3833, 0x71, 0x02, 0x3F, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  731. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  732. 0x00, 0x80, 0x900, 0x8FC, 0x8F8, 0x1C7, 0x1C8, 0x1C9},
  733. {
  734. 151, 5755, 3837, 0x72, 0x04, 0x7F, 0x02, 0xFE, 0x00, 0x03, 0x14,
  735. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  736. 0x00, 0x80, 0x902, 0x8FE, 0x8FA, 0x1C7, 0x1C8, 0x1C8},
  737. {
  738. 152, 5760, 3840, 0x71, 0x02, 0x40, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  739. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  740. 0x00, 0x80, 0x904, 0x900, 0x8FC, 0x1C6, 0x1C7, 0x1C8},
  741. {
  742. 153, 5765, 3843, 0x72, 0x04, 0x81, 0x02, 0xF8, 0x00, 0x03, 0x14,
  743. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  744. 0x00, 0x80, 0x906, 0x902, 0x8FE, 0x1C6, 0x1C7, 0x1C8},
  745. {
  746. 154, 5770, 3847, 0x71, 0x02, 0x41, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  747. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  748. 0x00, 0x80, 0x908, 0x904, 0x900, 0x1C6, 0x1C6, 0x1C7},
  749. {
  750. 155, 5775, 3850, 0x72, 0x04, 0x83, 0x02, 0xF8, 0x00, 0x03, 0x14,
  751. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  752. 0x00, 0x80, 0x90A, 0x906, 0x902, 0x1C5, 0x1C6, 0x1C7},
  753. {
  754. 156, 5780, 3853, 0x71, 0x02, 0x42, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  755. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  756. 0x00, 0x80, 0x90C, 0x908, 0x904, 0x1C5, 0x1C6, 0x1C6},
  757. {
  758. 157, 5785, 3857, 0x72, 0x04, 0x85, 0x02, 0xF2, 0x00, 0x03, 0x14,
  759. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  760. 0x00, 0x80, 0x90E, 0x90A, 0x906, 0x1C4, 0x1C5, 0x1C6},
  761. {
  762. 158, 5790, 3860, 0x71, 0x02, 0x43, 0x02, 0x0A, 0x01, 0x04, 0x0A,
  763. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  764. 0x00, 0x80, 0x910, 0x90C, 0x908, 0x1C4, 0x1C5, 0x1C6},
  765. {
  766. 159, 5795, 3863, 0x72, 0x04, 0x87, 0x02, 0xF2, 0x00, 0x03, 0x14,
  767. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  768. 0x00, 0x80, 0x912, 0x90E, 0x90A, 0x1C4, 0x1C4, 0x1C5},
  769. {
  770. 160, 5800, 3867, 0x71, 0x02, 0x44, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  771. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  772. 0x00, 0x80, 0x914, 0x910, 0x90C, 0x1C3, 0x1C4, 0x1C5},
  773. {
  774. 161, 5805, 3870, 0x72, 0x04, 0x89, 0x01, 0xED, 0x00, 0x03, 0x14,
  775. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  776. 0x00, 0x80, 0x916, 0x912, 0x90E, 0x1C3, 0x1C4, 0x1C4},
  777. {
  778. 162, 5810, 3873, 0x71, 0x02, 0x45, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  779. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  780. 0x00, 0x80, 0x918, 0x914, 0x910, 0x1C2, 0x1C3, 0x1C4},
  781. {
  782. 163, 5815, 3877, 0x72, 0x04, 0x8B, 0x01, 0xED, 0x00, 0x03, 0x14,
  783. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  784. 0x00, 0x80, 0x91A, 0x916, 0x912, 0x1C2, 0x1C3, 0x1C4},
  785. {
  786. 164, 5820, 3880, 0x71, 0x02, 0x46, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  787. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  788. 0x00, 0x80, 0x91C, 0x918, 0x914, 0x1C2, 0x1C2, 0x1C3},
  789. {
  790. 165, 5825, 3883, 0x72, 0x04, 0x8D, 0x01, 0xED, 0x00, 0x03, 0x14,
  791. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  792. 0x00, 0x80, 0x91E, 0x91A, 0x916, 0x1C1, 0x1C2, 0x1C3},
  793. {
  794. 166, 5830, 3887, 0x71, 0x02, 0x47, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  795. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  796. 0x00, 0x80, 0x920, 0x91C, 0x918, 0x1C1, 0x1C2, 0x1C2},
  797. {
  798. 168, 5840, 3893, 0x71, 0x02, 0x48, 0x01, 0x0A, 0x01, 0x04, 0x0A,
  799. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  800. 0x00, 0x80, 0x924, 0x920, 0x91C, 0x1C0, 0x1C1, 0x1C2},
  801. {
  802. 170, 5850, 3900, 0x71, 0x02, 0x49, 0x01, 0xE0, 0x00, 0x04, 0x0A,
  803. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  804. 0x00, 0x80, 0x928, 0x924, 0x920, 0x1BF, 0x1C0, 0x1C1},
  805. {
  806. 172, 5860, 3907, 0x71, 0x02, 0x4A, 0x01, 0xDE, 0x00, 0x04, 0x0A,
  807. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  808. 0x00, 0x80, 0x92C, 0x928, 0x924, 0x1BF, 0x1BF, 0x1C0},
  809. {
  810. 174, 5870, 3913, 0x71, 0x02, 0x4B, 0x00, 0xDB, 0x00, 0x04, 0x0A,
  811. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  812. 0x00, 0x80, 0x930, 0x92C, 0x928, 0x1BE, 0x1BF, 0x1BF},
  813. {
  814. 176, 5880, 3920, 0x71, 0x02, 0x4C, 0x00, 0xD8, 0x00, 0x04, 0x0A,
  815. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  816. 0x00, 0x80, 0x934, 0x930, 0x92C, 0x1BD, 0x1BE, 0x1BF},
  817. {
  818. 178, 5890, 3927, 0x71, 0x02, 0x4D, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  819. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  820. 0x00, 0x80, 0x938, 0x934, 0x930, 0x1BC, 0x1BD, 0x1BE},
  821. {
  822. 180, 5900, 3933, 0x71, 0x02, 0x4E, 0x00, 0xD3, 0x00, 0x04, 0x0A,
  823. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  824. 0x00, 0x80, 0x93C, 0x938, 0x934, 0x1BC, 0x1BC, 0x1BD},
  825. {
  826. 182, 5910, 3940, 0x71, 0x02, 0x4F, 0x00, 0xD6, 0x00, 0x04, 0x0A,
  827. 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  828. 0x00, 0x80, 0x940, 0x93C, 0x938, 0x1BB, 0x1BC, 0x1BC},
  829. {
  830. 1, 2412, 3216, 0x73, 0x09, 0x6C, 0x0F, 0x00, 0x01, 0x07, 0x15,
  831. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0D, 0x0C, 0x80, 0xFF, 0x88, 0x0D,
  832. 0x0C, 0x80, 0x3C9, 0x3C5, 0x3C1, 0x43A, 0x43F, 0x443},
  833. {
  834. 2, 2417, 3223, 0x73, 0x09, 0x71, 0x0F, 0x00, 0x01, 0x07, 0x15,
  835. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0B, 0x80, 0xFF, 0x88, 0x0C,
  836. 0x0B, 0x80, 0x3CB, 0x3C7, 0x3C3, 0x438, 0x43D, 0x441},
  837. {
  838. 3, 2422, 3229, 0x73, 0x09, 0x76, 0x0F, 0x00, 0x01, 0x07, 0x15,
  839. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  840. 0x0A, 0x80, 0x3CD, 0x3C9, 0x3C5, 0x436, 0x43A, 0x43F},
  841. {
  842. 4, 2427, 3236, 0x73, 0x09, 0x7B, 0x0F, 0x00, 0x01, 0x07, 0x15,
  843. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x0A, 0x80, 0xFF, 0x88, 0x0C,
  844. 0x0A, 0x80, 0x3CF, 0x3CB, 0x3C7, 0x434, 0x438, 0x43D},
  845. {
  846. 5, 2432, 3243, 0x73, 0x09, 0x80, 0x0F, 0x00, 0x01, 0x07, 0x15,
  847. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0C, 0x09, 0x80, 0xFF, 0x88, 0x0C,
  848. 0x09, 0x80, 0x3D1, 0x3CD, 0x3C9, 0x431, 0x436, 0x43A},
  849. {
  850. 6, 2437, 3249, 0x73, 0x09, 0x85, 0x0F, 0x00, 0x01, 0x07, 0x15,
  851. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0B, 0x08, 0x80, 0xFF, 0x88, 0x0B,
  852. 0x08, 0x80, 0x3D3, 0x3CF, 0x3CB, 0x42F, 0x434, 0x438},
  853. {
  854. 7, 2442, 3256, 0x73, 0x09, 0x8A, 0x0F, 0x00, 0x01, 0x07, 0x15,
  855. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x07, 0x80, 0xFF, 0x88, 0x0A,
  856. 0x07, 0x80, 0x3D5, 0x3D1, 0x3CD, 0x42D, 0x431, 0x436},
  857. {
  858. 8, 2447, 3263, 0x73, 0x09, 0x8F, 0x0F, 0x00, 0x01, 0x07, 0x15,
  859. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x0A, 0x06, 0x80, 0xFF, 0x88, 0x0A,
  860. 0x06, 0x80, 0x3D7, 0x3D3, 0x3CF, 0x42B, 0x42F, 0x434},
  861. {
  862. 9, 2452, 3269, 0x73, 0x09, 0x94, 0x0F, 0x00, 0x01, 0x07, 0x15,
  863. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x09, 0x06, 0x80, 0xFF, 0x88, 0x09,
  864. 0x06, 0x80, 0x3D9, 0x3D5, 0x3D1, 0x429, 0x42D, 0x431},
  865. {
  866. 10, 2457, 3276, 0x73, 0x09, 0x99, 0x0F, 0x00, 0x01, 0x07, 0x15,
  867. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x05, 0x80, 0xFF, 0x88, 0x08,
  868. 0x05, 0x80, 0x3DB, 0x3D7, 0x3D3, 0x427, 0x42B, 0x42F},
  869. {
  870. 11, 2462, 3283, 0x73, 0x09, 0x9E, 0x0F, 0x00, 0x01, 0x07, 0x15,
  871. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x04, 0x80, 0xFF, 0x88, 0x08,
  872. 0x04, 0x80, 0x3DD, 0x3D9, 0x3D5, 0x424, 0x429, 0x42D},
  873. {
  874. 12, 2467, 3289, 0x73, 0x09, 0xA3, 0x0F, 0x00, 0x01, 0x07, 0x15,
  875. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x08, 0x03, 0x80, 0xFF, 0x88, 0x08,
  876. 0x03, 0x80, 0x3DF, 0x3DB, 0x3D7, 0x422, 0x427, 0x42B},
  877. {
  878. 13, 2472, 3296, 0x73, 0x09, 0xA8, 0x0F, 0x00, 0x01, 0x07, 0x15,
  879. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x03, 0x80, 0xFF, 0x88, 0x07,
  880. 0x03, 0x80, 0x3E1, 0x3DD, 0x3D9, 0x420, 0x424, 0x429},
  881. {
  882. 14, 2484, 3312, 0x73, 0x09, 0xB4, 0x0F, 0xFF, 0x01, 0x07, 0x15,
  883. 0x01, 0x8F, 0xFF, 0xFF, 0xFF, 0x88, 0x07, 0x01, 0x80, 0xFF, 0x88, 0x07,
  884. 0x01, 0x80, 0x3E6, 0x3E2, 0x3DE, 0x41B, 0x41F, 0x424}
  885. };
  886. static const struct chan_info_nphy_radio205x chan_info_nphyrev3_2056[] = {
  887. {
  888. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  889. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  890. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  891. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  892. {
  893. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  894. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  895. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  896. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  897. {
  898. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  899. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  900. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  901. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  902. {
  903. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  904. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  905. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  906. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  907. {
  908. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  909. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  910. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  911. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  912. {
  913. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  914. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  915. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  916. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  917. {
  918. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  919. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  920. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  921. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  922. {
  923. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  924. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x08, 0x00, 0x7f,
  925. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0b,
  926. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  927. {
  928. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  929. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  930. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  931. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  932. {
  933. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  934. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  935. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  936. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  937. {
  938. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  939. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  940. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  941. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  942. {
  943. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  944. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  945. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  946. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  947. {
  948. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  949. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  950. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  951. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  952. {
  953. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  954. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  955. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  956. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  957. {
  958. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  959. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  960. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  961. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  962. {
  963. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  964. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  965. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  966. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  967. {
  968. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  969. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  970. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  971. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  972. {
  973. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  974. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  975. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  976. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  977. {
  978. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  979. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  980. 0x00, 0x0b, 0x00, 0xff, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  981. 0x00, 0xff, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  982. {
  983. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  984. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  985. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  986. 0x00, 0xfc, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  987. {
  988. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  989. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  990. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  991. 0x00, 0xfc, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  992. {
  993. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  994. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  995. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  996. 0x00, 0xfc, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  997. {
  998. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  999. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1000. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1001. 0x00, 0xfc, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1002. {
  1003. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1004. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1005. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1006. 0x00, 0xfc, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1007. {
  1008. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1009. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x07, 0x00, 0x7f,
  1010. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xff, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1011. 0x00, 0xfc, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1012. {
  1013. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1014. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1015. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1016. 0x00, 0xfc, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1017. {
  1018. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1019. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x07, 0x00, 0x7f,
  1020. 0x00, 0x0b, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0b,
  1021. 0x00, 0xfc, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1022. {
  1023. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1024. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x06, 0x00, 0x7f,
  1025. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1026. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1027. {
  1028. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1029. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1030. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1031. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1032. {
  1033. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1034. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1035. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1036. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1037. {
  1038. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1039. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x06, 0x00, 0x7f,
  1040. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1041. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1042. {
  1043. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1044. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1045. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1046. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1047. {
  1048. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1049. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1050. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1051. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1052. {
  1053. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1054. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1055. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1056. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1057. {
  1058. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1059. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x06, 0x00, 0x7f,
  1060. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1061. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1062. {
  1063. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1064. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1065. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1066. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1067. {
  1068. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1069. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x06, 0x00, 0x7f,
  1070. 0x00, 0x0a, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0a,
  1071. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1072. {
  1073. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1074. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1075. 0x00, 0x09, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1076. 0x00, 0xfc, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1077. {
  1078. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1079. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1080. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1081. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1082. {
  1083. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1084. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x05, 0x00, 0x7f,
  1085. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1086. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1087. {
  1088. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1089. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1090. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1091. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1092. {
  1093. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1094. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x05, 0x00, 0x7f,
  1095. 0x00, 0x09, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1096. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1097. {
  1098. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1099. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1100. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1101. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1102. {
  1103. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1104. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1105. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1106. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1107. {
  1108. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1109. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1110. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1111. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1112. {
  1113. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1114. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x05, 0x00, 0x7f,
  1115. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1116. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1117. {
  1118. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1119. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x05, 0x00, 0x7f,
  1120. 0x00, 0x09, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x05, 0x00, 0x7f, 0x00, 0x09,
  1121. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1122. {
  1123. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1124. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1125. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1126. 0x00, 0xfa, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1127. {
  1128. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1129. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x04, 0x00, 0x7f,
  1130. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1131. 0x00, 0xfa, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1132. {
  1133. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1134. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1135. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1136. 0x00, 0xfa, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1137. {
  1138. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1139. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x04, 0x00, 0x7f,
  1140. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x8e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1141. 0x00, 0xfa, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1142. {
  1143. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1144. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x04, 0x00, 0x7f,
  1145. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7e, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1146. 0x00, 0xfa, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1147. {
  1148. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1149. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x04, 0x00, 0x7f,
  1150. 0x00, 0x08, 0x00, 0xfa, 0x00, 0x7d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1151. 0x00, 0xfa, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1152. {
  1153. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1154. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1155. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1156. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1157. {
  1158. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1159. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x04, 0x00, 0x7f,
  1160. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1161. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1162. {
  1163. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1164. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x04, 0x00, 0x7f,
  1165. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1166. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1167. {
  1168. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1169. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x04, 0x00, 0x7f,
  1170. 0x00, 0x08, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x08,
  1171. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1172. {
  1173. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1174. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x03, 0x00, 0x7f,
  1175. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1176. 0x00, 0xf8, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1177. {
  1178. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1179. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1180. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1181. 0x00, 0xf8, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1182. {
  1183. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1184. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x03, 0x00, 0x7f,
  1185. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x4c, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1186. 0x00, 0xf8, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1187. {
  1188. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1189. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1190. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1191. 0x00, 0xf8, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1192. {
  1193. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1194. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1195. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1196. 0x00, 0xf8, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1197. {
  1198. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1199. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x03, 0x00, 0x7f,
  1200. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x3b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1201. 0x00, 0xf8, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1202. {
  1203. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1204. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x03, 0x00, 0x7f,
  1205. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2b, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1206. 0x00, 0xf8, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1207. {
  1208. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1209. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x03, 0x00, 0x7f,
  1210. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x2a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1211. 0x00, 0xf8, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1212. {
  1213. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1214. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1215. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1216. 0x00, 0xf8, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1217. {
  1218. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1219. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1220. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1221. 0x00, 0xf8, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1222. {
  1223. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1224. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x03, 0x00, 0x7f,
  1225. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x1a, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1226. 0x00, 0xf8, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1227. {
  1228. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1229. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1230. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1231. 0x00, 0xf8, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1232. {
  1233. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1234. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x03, 0x00, 0x7f,
  1235. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x19, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1236. 0x00, 0xf8, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1237. {
  1238. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1239. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1240. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1241. 0x00, 0xf8, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1242. {
  1243. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1244. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x03, 0x00, 0x7f,
  1245. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x09, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1246. 0x00, 0xf8, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1247. {
  1248. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1249. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1250. 0x00, 0x07, 0x00, 0xf8, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1251. 0x00, 0xf8, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1252. {
  1253. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1254. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1255. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1256. 0x00, 0xf6, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1257. {
  1258. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1259. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1260. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1261. 0x00, 0xf6, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1262. {
  1263. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1264. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x03, 0x00, 0x7f,
  1265. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x08, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1266. 0x00, 0xf6, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1267. {
  1268. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1269. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1270. 0x00, 0x07, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x07,
  1271. 0x00, 0xf6, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1272. {
  1273. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1274. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1275. 0x00, 0x06, 0x00, 0xf6, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1276. 0x00, 0xf6, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1277. {
  1278. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1279. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1280. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1281. 0x00, 0xf4, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1282. {
  1283. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1284. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x02, 0x00, 0x7f,
  1285. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1286. 0x00, 0xf4, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1287. {
  1288. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1289. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1290. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1291. 0x00, 0xf4, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1292. {
  1293. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1294. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1295. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1296. 0x00, 0xf4, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1297. {
  1298. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1299. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1300. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1301. 0x00, 0xf4, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1302. {
  1303. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1304. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1305. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1306. 0x00, 0xf4, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1307. {
  1308. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1309. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1310. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1311. 0x00, 0xf4, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1312. {
  1313. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1314. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x02, 0x00, 0x7f,
  1315. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x06, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1316. 0x00, 0xf4, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1317. {
  1318. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1319. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1320. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1321. 0x00, 0xf4, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1322. {
  1323. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1324. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1325. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1326. 0x00, 0xf4, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1327. {
  1328. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1329. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1330. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1331. 0x00, 0xf4, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1332. {
  1333. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1334. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1335. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1336. 0x00, 0xf4, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1337. {
  1338. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1339. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1340. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1341. 0x00, 0xf4, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1342. {
  1343. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1344. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x02, 0x00, 0x7f,
  1345. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1346. 0x00, 0xf4, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1347. {
  1348. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1349. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1350. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1351. 0x00, 0xf4, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1352. {
  1353. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1354. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1355. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1356. 0x00, 0xf4, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1357. {
  1358. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1359. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1360. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x06,
  1361. 0x00, 0xf4, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1362. {
  1363. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1364. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1365. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1366. 0x00, 0xf4, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1367. {
  1368. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1369. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1370. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1371. 0x00, 0xf4, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1372. {
  1373. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1374. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1375. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1376. 0x00, 0xf4, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1377. {
  1378. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1379. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x7f,
  1380. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1381. 0x00, 0xf4, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  1382. {
  1383. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1384. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1385. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1386. 0x00, 0xf4, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  1387. {
  1388. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1389. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1390. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1391. 0x00, 0xf4, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  1392. {
  1393. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1394. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1395. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1396. 0x00, 0xf4, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  1397. {
  1398. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1399. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1400. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1401. 0x00, 0xf4, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  1402. {
  1403. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1404. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1405. 0x00, 0x06, 0x00, 0xf4, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1406. 0x00, 0xf4, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  1407. {
  1408. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1409. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x00, 0x00, 0x7f,
  1410. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1411. 0x00, 0xf2, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  1412. {
  1413. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1414. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1415. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1416. 0x00, 0xf2, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  1417. {
  1418. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1419. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1420. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1421. 0x00, 0xf2, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  1422. {
  1423. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1424. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1425. 0x00, 0x06, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x06,
  1426. 0x00, 0xf2, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  1427. {
  1428. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1429. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  1430. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1431. 0x00, 0xf2, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  1432. {
  1433. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1434. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  1435. 0x00, 0x05, 0x00, 0xf2, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x05,
  1436. 0x00, 0xf2, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  1437. {
  1438. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  1439. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1440. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1441. 0x0f, 0x00, 0x0f, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  1442. {
  1443. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  1444. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1445. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1446. 0x0f, 0x00, 0x0f, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  1447. {
  1448. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  1449. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x05, 0x00,
  1450. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xff, 0x00, 0x05, 0x00, 0x70, 0x00,
  1451. 0x0f, 0x00, 0x0f, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  1452. {
  1453. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  1454. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x05, 0x00,
  1455. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfd, 0x00, 0x05, 0x00, 0x70, 0x00,
  1456. 0x0f, 0x00, 0x0f, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  1457. {
  1458. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  1459. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x05, 0x00,
  1460. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfb, 0x00, 0x05, 0x00, 0x70, 0x00,
  1461. 0x0f, 0x00, 0x0f, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  1462. {
  1463. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  1464. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x05, 0x00,
  1465. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x05, 0x00, 0x70, 0x00,
  1466. 0x0f, 0x00, 0x0f, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  1467. {
  1468. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  1469. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x05, 0x00,
  1470. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x05, 0x00, 0x70, 0x00,
  1471. 0x0f, 0x00, 0x0f, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  1472. {
  1473. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  1474. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x05, 0x00,
  1475. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf7, 0x00, 0x05, 0x00, 0x70, 0x00,
  1476. 0x0f, 0x00, 0x0f, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  1477. {
  1478. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  1479. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x05, 0x00,
  1480. 0x70, 0x00, 0x0f, 0x00, 0x0f, 0x00, 0xf6, 0x00, 0x05, 0x00, 0x70, 0x00,
  1481. 0x0f, 0x00, 0x0f, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  1482. {
  1483. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  1484. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x05, 0x00,
  1485. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf5, 0x00, 0x05, 0x00, 0x70, 0x00,
  1486. 0x0f, 0x00, 0x0d, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  1487. {
  1488. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  1489. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x05, 0x00,
  1490. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf4, 0x00, 0x05, 0x00, 0x70, 0x00,
  1491. 0x0f, 0x00, 0x0d, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  1492. {
  1493. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  1494. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x05, 0x00,
  1495. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf3, 0x00, 0x05, 0x00, 0x70, 0x00,
  1496. 0x0f, 0x00, 0x0d, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  1497. {
  1498. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  1499. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x05, 0x00,
  1500. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x70, 0x00,
  1501. 0x0f, 0x00, 0x0d, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  1502. {
  1503. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  1504. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x05, 0x00,
  1505. 0x70, 0x00, 0x0f, 0x00, 0x0d, 0x00, 0xf0, 0x00, 0x05, 0x00, 0x70, 0x00,
  1506. 0x0f, 0x00, 0x0d, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  1507. };
  1508. static const struct chan_info_nphy_radio205x chan_info_nphyrev4_2056_A1[] = {
  1509. {
  1510. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1511. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1512. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1513. 0x00, 0xff, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  1514. {
  1515. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1516. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1517. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1518. 0x00, 0xff, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  1519. {
  1520. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1521. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1522. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1523. 0x00, 0xff, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  1524. {
  1525. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1526. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1527. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1528. 0x00, 0xff, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  1529. {
  1530. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1531. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1532. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1533. 0x00, 0xff, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  1534. {
  1535. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1536. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1537. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1538. 0x00, 0xff, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  1539. {
  1540. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1541. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1542. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1543. 0x00, 0xff, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  1544. {
  1545. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1546. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0e, 0x00, 0x7f,
  1547. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0e, 0x00, 0x7f, 0x00, 0x0f,
  1548. 0x00, 0xff, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  1549. {
  1550. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1551. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1552. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1553. 0x00, 0xff, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  1554. {
  1555. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1556. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1557. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1558. 0x00, 0xff, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  1559. {
  1560. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1561. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1562. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1563. 0x00, 0xff, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  1564. {
  1565. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1566. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1567. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1568. 0x00, 0xff, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  1569. {
  1570. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1571. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1572. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1573. 0x00, 0xff, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  1574. {
  1575. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1576. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1577. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1578. 0x00, 0xff, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  1579. {
  1580. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1581. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1582. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1583. 0x00, 0xff, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  1584. {
  1585. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1586. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1587. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1588. 0x00, 0xff, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  1589. {
  1590. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1591. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1592. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1593. 0x00, 0xff, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  1594. {
  1595. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1596. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0d, 0x00, 0x7f,
  1597. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xff, 0x00, 0x0d, 0x00, 0x7f, 0x00, 0x0f,
  1598. 0x00, 0xff, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  1599. {
  1600. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1601. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1602. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1603. 0x00, 0xfe, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  1604. {
  1605. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1606. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1607. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1608. 0x00, 0xfe, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  1609. {
  1610. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1611. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1612. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1613. 0x00, 0xfe, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  1614. {
  1615. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1616. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1617. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1618. 0x00, 0xfe, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  1619. {
  1620. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1621. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1622. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1623. 0x00, 0xfe, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  1624. {
  1625. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1626. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1627. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1628. 0x00, 0xfe, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  1629. {
  1630. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1631. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0c, 0x00, 0x7f,
  1632. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xff, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1633. 0x00, 0xfe, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  1634. {
  1635. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1636. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1637. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1638. 0x00, 0xfe, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  1639. {
  1640. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1641. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0c, 0x00, 0x7f,
  1642. 0x00, 0x0f, 0x00, 0xfe, 0x00, 0xef, 0x00, 0x0c, 0x00, 0x7f, 0x00, 0x0f,
  1643. 0x00, 0xfe, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  1644. {
  1645. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1646. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xef, 0x00, 0x0a, 0x00, 0x7f,
  1647. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xef, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1648. 0x00, 0xfc, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  1649. {
  1650. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1651. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1652. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1653. 0x00, 0xfc, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  1654. {
  1655. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1656. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1657. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1658. 0x00, 0xfc, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  1659. {
  1660. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1661. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xdf, 0x00, 0x0a, 0x00, 0x7f,
  1662. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xdf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1663. 0x00, 0xfc, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  1664. {
  1665. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1666. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1667. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1668. 0x00, 0xfc, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  1669. {
  1670. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1671. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1672. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1673. 0x00, 0xfc, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  1674. {
  1675. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1676. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1677. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1678. 0x00, 0xfc, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  1679. {
  1680. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1681. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xcf, 0x00, 0x0a, 0x00, 0x7f,
  1682. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xcf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1683. 0x00, 0xfc, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  1684. {
  1685. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1686. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1687. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1688. 0x00, 0xfc, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  1689. {
  1690. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1691. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xbf, 0x00, 0x0a, 0x00, 0x7f,
  1692. 0x00, 0x0f, 0x00, 0xfc, 0x00, 0xbf, 0x00, 0x0a, 0x00, 0x7f, 0x00, 0x0f,
  1693. 0x00, 0xfc, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  1694. {
  1695. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1696. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1697. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1698. 0x00, 0xfa, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  1699. {
  1700. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1701. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1702. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1703. 0x00, 0xfa, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  1704. {
  1705. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1706. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xbf, 0x00, 0x08, 0x00, 0x7f,
  1707. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xbf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1708. 0x00, 0xfa, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  1709. {
  1710. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1711. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1712. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1713. 0x00, 0xfa, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  1714. {
  1715. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1716. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xaf, 0x00, 0x08, 0x00, 0x7f,
  1717. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0xaf, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1718. 0x00, 0xfa, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  1719. {
  1720. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1721. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1722. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1723. 0x00, 0xfa, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  1724. {
  1725. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1726. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1727. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1728. 0x00, 0xfa, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  1729. {
  1730. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1731. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1732. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1733. 0x00, 0xfa, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  1734. {
  1735. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1736. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x9f, 0x00, 0x08, 0x00, 0x7f,
  1737. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x9f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1738. 0x00, 0xfa, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  1739. {
  1740. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1741. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x8f, 0x00, 0x08, 0x00, 0x7f,
  1742. 0x00, 0x0f, 0x00, 0xfa, 0x00, 0x8f, 0x00, 0x08, 0x00, 0x7f, 0x00, 0x0f,
  1743. 0x00, 0xfa, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  1744. {
  1745. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1746. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1747. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1748. 0x00, 0xf8, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  1749. {
  1750. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1751. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8f, 0x00, 0x07, 0x00, 0x7f,
  1752. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8f, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1753. 0x00, 0xf8, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  1754. {
  1755. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1756. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1757. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1758. 0x00, 0xf8, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  1759. {
  1760. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1761. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x8e, 0x00, 0x07, 0x00, 0x7f,
  1762. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x8e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1763. 0x00, 0xf8, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  1764. {
  1765. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1766. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7e, 0x00, 0x07, 0x00, 0x7f,
  1767. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7e, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1768. 0x00, 0xf8, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  1769. {
  1770. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1771. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x7d, 0x00, 0x07, 0x00, 0x7f,
  1772. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x7d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1773. 0x00, 0xf8, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  1774. {
  1775. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1776. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1777. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1778. 0x00, 0xf8, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  1779. {
  1780. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1781. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x6d, 0x00, 0x07, 0x00, 0x7f,
  1782. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x6d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1783. 0x00, 0xf8, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  1784. {
  1785. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1786. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5d, 0x00, 0x07, 0x00, 0x7f,
  1787. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5d, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1788. 0x00, 0xf8, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  1789. {
  1790. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1791. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x5c, 0x00, 0x07, 0x00, 0x7f,
  1792. 0x00, 0x0f, 0x00, 0xf8, 0x00, 0x5c, 0x00, 0x07, 0x00, 0x7f, 0x00, 0x0f,
  1793. 0x00, 0xf8, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  1794. {
  1795. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1796. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x5c, 0x00, 0x06, 0x00, 0x7f,
  1797. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x5c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1798. 0x00, 0xf6, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  1799. {
  1800. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1801. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1802. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1803. 0x00, 0xf6, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  1804. {
  1805. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1806. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x4c, 0x00, 0x06, 0x00, 0x7f,
  1807. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x4c, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1808. 0x00, 0xf6, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  1809. {
  1810. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1811. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1812. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1813. 0x00, 0xf6, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  1814. {
  1815. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1816. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1817. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1818. 0x00, 0xf6, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  1819. {
  1820. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1821. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x3b, 0x00, 0x06, 0x00, 0x7f,
  1822. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x3b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1823. 0x00, 0xf6, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  1824. {
  1825. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1826. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2b, 0x00, 0x06, 0x00, 0x7f,
  1827. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2b, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1828. 0x00, 0xf6, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  1829. {
  1830. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1831. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x2a, 0x00, 0x06, 0x00, 0x7f,
  1832. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x2a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1833. 0x00, 0xf6, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  1834. {
  1835. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1836. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1837. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1838. 0x00, 0xf6, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  1839. {
  1840. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1841. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x1a, 0x00, 0x06, 0x00, 0x7f,
  1842. 0x00, 0x0d, 0x00, 0xf6, 0x00, 0x1a, 0x00, 0x06, 0x00, 0x7f, 0x00, 0x0d,
  1843. 0x00, 0xf6, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  1844. {
  1845. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1846. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x1a, 0x00, 0x04, 0x00, 0x7f,
  1847. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x1a, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1848. 0x00, 0xf4, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  1849. {
  1850. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1851. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1852. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1853. 0x00, 0xf4, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  1854. {
  1855. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1856. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x19, 0x00, 0x04, 0x00, 0x7f,
  1857. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x19, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1858. 0x00, 0xf4, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  1859. {
  1860. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1861. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1862. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1863. 0x00, 0xf4, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  1864. {
  1865. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1866. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x09, 0x00, 0x04, 0x00, 0x7f,
  1867. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x09, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1868. 0x00, 0xf4, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  1869. {
  1870. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1871. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1872. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1873. 0x00, 0xf4, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  1874. {
  1875. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1876. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1877. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1878. 0x00, 0xf4, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  1879. {
  1880. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1881. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1882. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1883. 0x00, 0xf4, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  1884. {
  1885. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1886. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x08, 0x00, 0x04, 0x00, 0x7f,
  1887. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x08, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1888. 0x00, 0xf4, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  1889. {
  1890. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1891. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x07, 0x00, 0x04, 0x00, 0x7f,
  1892. 0x00, 0x0b, 0x00, 0xf4, 0x00, 0x07, 0x00, 0x04, 0x00, 0x7f, 0x00, 0x0b,
  1893. 0x00, 0xf4, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  1894. {
  1895. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1896. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1897. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1898. 0x00, 0xf2, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  1899. {
  1900. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1901. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1902. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1903. 0x00, 0xf2, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  1904. {
  1905. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1906. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x07, 0x00, 0x03, 0x00, 0x7f,
  1907. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x07, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1908. 0x00, 0xf2, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  1909. {
  1910. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  1911. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1912. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1913. 0x00, 0xf2, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  1914. {
  1915. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1916. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1917. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1918. 0x00, 0xf2, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  1919. {
  1920. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  1921. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1922. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1923. 0x00, 0xf2, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  1924. {
  1925. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1926. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1927. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1928. 0x00, 0xf2, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  1929. {
  1930. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  1931. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1932. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1933. 0x00, 0xf2, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  1934. {
  1935. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1936. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x06, 0x00, 0x03, 0x00, 0x7f,
  1937. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x06, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1938. 0x00, 0xf2, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  1939. {
  1940. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  1941. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1942. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1943. 0x00, 0xf2, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  1944. {
  1945. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1946. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1947. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1948. 0x00, 0xf2, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  1949. {
  1950. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  1951. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1952. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1953. 0x00, 0xf2, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  1954. {
  1955. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1956. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1957. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1958. 0x00, 0xf2, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  1959. {
  1960. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  1961. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1962. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1963. 0x00, 0xf2, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  1964. {
  1965. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1966. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x05, 0x00, 0x03, 0x00, 0x7f,
  1967. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x05, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1968. 0x00, 0xf2, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  1969. {
  1970. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  1971. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1972. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1973. 0x00, 0xf2, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  1974. {
  1975. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1976. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1977. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1978. 0x00, 0xf2, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  1979. {
  1980. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  1981. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x04, 0x00, 0x03, 0x00, 0x7f,
  1982. 0x00, 0x0a, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x03, 0x00, 0x7f, 0x00, 0x0a,
  1983. 0x00, 0xf2, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  1984. {
  1985. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1986. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1987. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1988. 0x00, 0xf0, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  1989. {
  1990. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  1991. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1992. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1993. 0x00, 0xf0, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  1994. {
  1995. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  1996. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  1997. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  1998. 0x00, 0xf0, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  1999. {
  2000. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2001. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x04, 0x00, 0x02, 0x00, 0x7f,
  2002. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2003. 0x00, 0xf0, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2004. {
  2005. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2006. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2007. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2008. 0x00, 0xf0, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2009. {
  2010. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2011. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2012. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2013. 0x00, 0xf0, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2014. {
  2015. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2016. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2017. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2018. 0x00, 0xf0, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2019. {
  2020. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2021. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2022. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2023. 0x00, 0xf0, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2024. {
  2025. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2026. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2027. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2028. 0x00, 0xf0, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2029. {
  2030. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2031. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x03, 0x00, 0x02, 0x00, 0x7f,
  2032. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x03, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2033. 0x00, 0xf0, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2034. {
  2035. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2036. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2037. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2038. 0x00, 0xf0, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2039. {
  2040. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2041. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2042. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2043. 0x00, 0xf0, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2044. {
  2045. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2046. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x02, 0x00, 0x02, 0x00, 0x7f,
  2047. 0x00, 0x09, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x02, 0x00, 0x7f, 0x00, 0x09,
  2048. 0x00, 0xf0, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2049. {
  2050. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2051. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f,
  2052. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x02, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2053. 0x00, 0xf0, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2054. {
  2055. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2056. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f,
  2057. 0x00, 0x07, 0x00, 0xf0, 0x00, 0x01, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x07,
  2058. 0x00, 0xf0, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2059. {
  2060. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2061. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2062. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2063. 0x0f, 0x00, 0x0e, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2064. {
  2065. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2066. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2067. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2068. 0x0f, 0x00, 0x0e, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2069. {
  2070. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2071. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xff, 0x00, 0x04, 0x00,
  2072. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xff, 0x00, 0x04, 0x00, 0x70, 0x00,
  2073. 0x0f, 0x00, 0x0e, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2074. {
  2075. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2076. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x04, 0x00,
  2077. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfd, 0x00, 0x04, 0x00, 0x70, 0x00,
  2078. 0x0f, 0x00, 0x0e, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2079. {
  2080. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2081. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfb, 0x00, 0x04, 0x00,
  2082. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfb, 0x00, 0x04, 0x00, 0x70, 0x00,
  2083. 0x0f, 0x00, 0x0e, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2084. {
  2085. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2086. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xfa, 0x00, 0x04, 0x00,
  2087. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xfa, 0x00, 0x04, 0x00, 0x70, 0x00,
  2088. 0x0f, 0x00, 0x0e, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2089. {
  2090. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2091. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x04, 0x00,
  2092. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf8, 0x00, 0x04, 0x00, 0x70, 0x00,
  2093. 0x0f, 0x00, 0x0e, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2094. {
  2095. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2096. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf7, 0x00, 0x04, 0x00,
  2097. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf7, 0x00, 0x04, 0x00, 0x70, 0x00,
  2098. 0x0f, 0x00, 0x0e, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2099. {
  2100. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2101. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf6, 0x00, 0x04, 0x00,
  2102. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf6, 0x00, 0x04, 0x00, 0x70, 0x00,
  2103. 0x0f, 0x00, 0x0e, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2104. {
  2105. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2106. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf5, 0x00, 0x04, 0x00,
  2107. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf5, 0x00, 0x04, 0x00, 0x70, 0x00,
  2108. 0x0f, 0x00, 0x0e, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2109. {
  2110. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2111. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf4, 0x00, 0x04, 0x00,
  2112. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf4, 0x00, 0x04, 0x00, 0x70, 0x00,
  2113. 0x0f, 0x00, 0x0e, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2114. {
  2115. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2116. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf3, 0x00, 0x04, 0x00,
  2117. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf3, 0x00, 0x04, 0x00, 0x70, 0x00,
  2118. 0x0f, 0x00, 0x0e, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2119. {
  2120. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2121. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf2, 0x00, 0x04, 0x00,
  2122. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf2, 0x00, 0x04, 0x00, 0x70, 0x00,
  2123. 0x0f, 0x00, 0x0e, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2124. {
  2125. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2126. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x04, 0x00,
  2127. 0x70, 0x00, 0x0f, 0x00, 0x0e, 0x00, 0xf0, 0x00, 0x04, 0x00, 0x70, 0x00,
  2128. 0x0f, 0x00, 0x0e, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2129. };
  2130. static const struct chan_info_nphy_radio205x chan_info_nphyrev5_2056v5[] = {
  2131. {
  2132. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2133. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2134. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  2135. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2136. {
  2137. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2138. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2139. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2140. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2141. {
  2142. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2143. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2144. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2145. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2146. {
  2147. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2148. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  2149. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  2150. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2151. {
  2152. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2153. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2154. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  2155. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2156. {
  2157. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2158. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2159. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2160. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2161. {
  2162. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2163. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2164. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2165. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2166. {
  2167. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2168. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2169. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2170. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2171. {
  2172. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2173. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2174. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2175. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2176. {
  2177. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2178. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  2179. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  2180. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2181. {
  2182. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2183. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2184. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  2185. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2186. {
  2187. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2188. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  2189. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2190. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2191. {
  2192. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2193. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2194. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2195. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2196. {
  2197. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2198. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  2199. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2200. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2201. {
  2202. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2203. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  2204. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  2205. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2206. {
  2207. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2208. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  2209. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2210. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2211. {
  2212. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2213. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2214. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2215. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2216. {
  2217. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2218. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2219. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2220. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2221. {
  2222. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2223. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2224. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2225. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2226. {
  2227. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2228. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2229. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2230. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2231. {
  2232. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2233. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  2234. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  2235. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2236. {
  2237. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2238. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  2239. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  2240. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2241. {
  2242. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2243. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2244. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  2245. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2246. {
  2247. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2248. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  2249. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  2250. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2251. {
  2252. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2253. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  2254. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2255. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2256. {
  2257. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2258. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2259. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2260. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2261. {
  2262. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2263. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2264. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2265. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2266. {
  2267. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2268. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2269. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2270. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2271. {
  2272. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2273. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2274. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2275. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2276. {
  2277. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2278. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  2279. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  2280. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2281. {
  2282. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2283. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xea, 0x00, 0x06, 0x00, 0x70,
  2284. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  2285. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2286. {
  2287. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2288. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2289. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2290. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2291. {
  2292. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2293. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xe9, 0x00, 0x05, 0x00, 0x70,
  2294. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2295. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2296. {
  2297. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2298. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xd9, 0x00, 0x05, 0x00, 0x70,
  2299. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  2300. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2301. {
  2302. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2303. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xd8, 0x00, 0x04, 0x00, 0x70,
  2304. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2305. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2306. {
  2307. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2308. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2309. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2310. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2311. {
  2312. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2313. 0x03, 0x03, 0x03, 0x8f, 0x0f, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2314. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2315. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2316. {
  2317. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2318. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2319. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2320. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2321. {
  2322. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2323. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xc8, 0x00, 0x04, 0x00, 0x70,
  2324. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2325. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2326. {
  2327. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2328. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb8, 0x00, 0x04, 0x00, 0x70,
  2329. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2330. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2331. {
  2332. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2333. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x04, 0x00, 0x70,
  2334. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  2335. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2336. {
  2337. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2338. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xb7, 0x00, 0x03, 0x00, 0x70,
  2339. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  2340. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2341. {
  2342. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2343. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa7, 0x00, 0x03, 0x00, 0x70,
  2344. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2345. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2346. {
  2347. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2348. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2349. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2350. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2351. {
  2352. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2353. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0xa6, 0x00, 0x03, 0x00, 0x70,
  2354. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2355. 0x00, 0x5b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2356. {
  2357. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2358. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x96, 0x00, 0x03, 0x00, 0x70,
  2359. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2360. 0x00, 0x5a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2361. {
  2362. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2363. 0x03, 0x03, 0x03, 0x8f, 0x0e, 0x00, 0xff, 0x95, 0x00, 0x03, 0x00, 0x70,
  2364. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2365. 0x00, 0x5a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2366. {
  2367. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2368. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2369. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  2370. 0x00, 0x5a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2371. {
  2372. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2373. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2374. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2375. 0x00, 0x5a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2376. {
  2377. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2378. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x95, 0x00, 0x03, 0x00, 0x70,
  2379. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  2380. 0x00, 0x5a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  2381. {
  2382. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2383. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xc8, 0x85, 0x00, 0x02, 0x00, 0x70,
  2384. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2385. 0x00, 0x59, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  2386. {
  2387. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2388. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2389. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2390. 0x00, 0x59, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  2391. {
  2392. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2393. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2394. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  2395. 0x00, 0x59, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  2396. {
  2397. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2398. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x84, 0x00, 0x02, 0x00, 0x70,
  2399. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  2400. 0x00, 0x69, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  2401. {
  2402. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2403. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x74, 0x00, 0x01, 0x00, 0x70,
  2404. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2405. 0x00, 0x69, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  2406. {
  2407. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2408. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2409. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2410. 0x00, 0x68, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  2411. {
  2412. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2413. 0x04, 0x04, 0x04, 0x8d, 0x0d, 0x00, 0xc8, 0x73, 0x00, 0x01, 0x00, 0x70,
  2414. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2415. 0x00, 0x68, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  2416. {
  2417. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2418. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2419. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2420. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  2421. {
  2422. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2423. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2424. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2425. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  2426. {
  2427. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2428. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  2429. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  2430. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  2431. {
  2432. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2433. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x63, 0x00, 0x01, 0x00, 0x70,
  2434. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  2435. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  2436. {
  2437. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2438. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2439. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2440. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  2441. {
  2442. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2443. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2444. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2445. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  2446. {
  2447. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2448. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x62, 0x00, 0x00, 0x00, 0x70,
  2449. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  2450. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  2451. {
  2452. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2453. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2454. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2455. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  2456. {
  2457. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2458. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x52, 0x00, 0x00, 0x00, 0x70,
  2459. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2460. 0x00, 0x76, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  2461. {
  2462. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2463. 0x04, 0x04, 0x04, 0x8d, 0x0b, 0x00, 0x84, 0x51, 0x00, 0x00, 0x00, 0x70,
  2464. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2465. 0x00, 0x76, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  2466. {
  2467. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2468. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2469. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2470. 0x00, 0x76, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  2471. {
  2472. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2473. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2474. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2475. 0x00, 0x76, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  2476. {
  2477. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2478. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2479. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2480. 0x00, 0x76, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  2481. {
  2482. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2483. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2484. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2485. 0x00, 0x76, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  2486. {
  2487. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2488. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x51, 0x00, 0x00, 0x00, 0x70,
  2489. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  2490. 0x00, 0x75, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  2491. {
  2492. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2493. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2494. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2495. 0x00, 0x75, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  2496. {
  2497. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2498. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x50, 0x00, 0x00, 0x00, 0x70,
  2499. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2500. 0x00, 0x75, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  2501. {
  2502. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2503. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2504. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2505. 0x00, 0x74, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  2506. {
  2507. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2508. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2509. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2510. 0x00, 0x74, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  2511. {
  2512. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2513. 0x05, 0x05, 0x05, 0x8b, 0x09, 0x00, 0x70, 0x40, 0x00, 0x00, 0x00, 0x70,
  2514. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2515. 0x00, 0x74, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  2516. {
  2517. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2518. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2519. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2520. 0x00, 0x74, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  2521. {
  2522. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2523. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2524. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2525. 0x00, 0x74, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  2526. {
  2527. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2528. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2529. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2530. 0x00, 0x74, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  2531. {
  2532. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  2533. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  2534. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2535. 0x00, 0x74, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  2536. {
  2537. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2538. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2539. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  2540. 0x00, 0x84, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  2541. {
  2542. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2543. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2544. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2545. 0x00, 0x83, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  2546. {
  2547. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2548. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2549. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2550. 0x00, 0x83, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  2551. {
  2552. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2553. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2554. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2555. 0x00, 0x83, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  2556. {
  2557. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2558. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2559. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2560. 0x00, 0x83, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  2561. {
  2562. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  2563. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x70,
  2564. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2565. 0x00, 0x83, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  2566. {
  2567. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2568. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2569. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2570. 0x00, 0x83, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  2571. {
  2572. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  2573. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2574. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2575. 0x00, 0x82, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  2576. {
  2577. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2578. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2579. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2580. 0x00, 0x82, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  2581. {
  2582. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  2583. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x70,
  2584. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2585. 0x00, 0x82, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  2586. {
  2587. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2588. 0x05, 0x05, 0x05, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2589. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2590. 0x00, 0x82, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  2591. {
  2592. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  2593. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2594. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2595. 0x00, 0x82, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  2596. {
  2597. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2598. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2599. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2600. 0x00, 0x82, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  2601. {
  2602. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  2603. 0x06, 0x06, 0x06, 0x8a, 0x06, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x70,
  2604. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2605. 0x00, 0x82, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  2606. {
  2607. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2608. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2609. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2610. 0x00, 0x82, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  2611. {
  2612. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  2613. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2614. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2615. 0x00, 0x82, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  2616. {
  2617. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2618. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2619. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2620. 0x00, 0x82, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  2621. {
  2622. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  2623. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2624. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2625. 0x00, 0x82, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  2626. {
  2627. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2628. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2629. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2630. 0x00, 0x82, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  2631. {
  2632. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  2633. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2634. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2635. 0x00, 0x82, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  2636. {
  2637. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2638. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2639. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2640. 0x00, 0x72, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  2641. {
  2642. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2643. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x10, 0x00, 0x00, 0x00, 0x70,
  2644. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2645. 0x00, 0x72, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  2646. {
  2647. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2648. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2649. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2650. 0x00, 0x72, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  2651. {
  2652. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2653. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2654. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2655. 0x00, 0x72, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  2656. {
  2657. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2658. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2659. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2660. 0x00, 0x71, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  2661. {
  2662. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2663. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2664. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2665. 0x00, 0x71, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  2666. {
  2667. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2668. 0x06, 0x06, 0x06, 0x88, 0x04, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x70,
  2669. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2670. 0x00, 0x71, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  2671. {
  2672. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2673. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2674. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2675. 0x00, 0x71, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  2676. {
  2677. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2678. 0x06, 0x06, 0x06, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  2679. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  2680. 0x00, 0x71, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  2681. {
  2682. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  2683. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2684. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2685. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  2686. {
  2687. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  2688. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x03, 0x00,
  2689. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x1f, 0x00, 0x03, 0x00, 0x70, 0x00,
  2690. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  2691. {
  2692. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  2693. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x03, 0x00,
  2694. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x0e, 0x00, 0x03, 0x00, 0x70, 0x00,
  2695. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  2696. {
  2697. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  2698. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x03, 0x00,
  2699. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0d, 0x00, 0x03, 0x00, 0x70, 0x00,
  2700. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  2701. {
  2702. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  2703. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00,
  2704. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x70, 0x00,
  2705. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  2706. {
  2707. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  2708. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x03, 0x00,
  2709. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x03, 0x00, 0x70, 0x00,
  2710. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  2711. {
  2712. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  2713. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x09, 0x00, 0x03, 0x00,
  2714. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x03, 0x00, 0x70, 0x00,
  2715. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  2716. {
  2717. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  2718. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x08, 0x00, 0x02, 0x00,
  2719. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x08, 0x00, 0x02, 0x00, 0x70, 0x00,
  2720. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  2721. {
  2722. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  2723. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x07, 0x00, 0x02, 0x00,
  2724. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x07, 0x00, 0x02, 0x00, 0x70, 0x00,
  2725. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  2726. {
  2727. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  2728. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x06, 0x00, 0x02, 0x00,
  2729. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x06, 0x00, 0x02, 0x00, 0x70, 0x00,
  2730. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  2731. {
  2732. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  2733. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02, 0x00,
  2734. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x05, 0x00, 0x02, 0x00, 0x70, 0x00,
  2735. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  2736. {
  2737. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  2738. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00,
  2739. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x70, 0x00,
  2740. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  2741. {
  2742. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  2743. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x02, 0x00,
  2744. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x03, 0x00, 0x02, 0x00, 0x70, 0x00,
  2745. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  2746. {
  2747. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  2748. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  2749. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  2750. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  2751. };
  2752. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v6[] = {
  2753. {
  2754. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2755. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2756. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2757. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  2758. {
  2759. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2760. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2761. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2762. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  2763. {
  2764. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2765. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2766. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2767. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  2768. {
  2769. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2770. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2771. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2772. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  2773. {
  2774. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2775. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2776. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2777. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  2778. {
  2779. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2780. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2781. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2782. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  2783. {
  2784. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2785. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2786. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2787. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  2788. {
  2789. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2790. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2791. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2792. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  2793. {
  2794. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2795. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2796. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2797. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  2798. {
  2799. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2800. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2801. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2802. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  2803. {
  2804. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2805. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2806. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2807. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  2808. {
  2809. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2810. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2811. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2812. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  2813. {
  2814. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2815. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2816. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2817. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  2818. {
  2819. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2820. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2821. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2822. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  2823. {
  2824. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2825. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  2826. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2827. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  2828. {
  2829. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2830. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2831. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2832. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  2833. {
  2834. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2835. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2836. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2837. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  2838. {
  2839. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2840. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  2841. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  2842. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  2843. {
  2844. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2845. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  2846. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2847. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  2848. {
  2849. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2850. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2851. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2852. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  2853. {
  2854. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2855. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2856. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2857. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  2858. {
  2859. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2860. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  2861. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2862. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  2863. {
  2864. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2865. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  2866. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  2867. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  2868. {
  2869. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2870. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2871. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2872. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  2873. {
  2874. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2875. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  2876. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  2877. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  2878. {
  2879. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2880. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2881. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  2882. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  2883. {
  2884. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2885. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  2886. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  2887. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  2888. {
  2889. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2890. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2891. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2892. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  2893. {
  2894. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2895. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  2896. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2897. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  2898. {
  2899. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2900. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2901. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2902. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  2903. {
  2904. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2905. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  2906. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2907. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  2908. {
  2909. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2910. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  2911. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2912. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  2913. {
  2914. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2915. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  2916. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  2917. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  2918. {
  2919. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2920. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2921. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  2922. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  2923. {
  2924. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2925. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  2926. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  2927. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  2928. {
  2929. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2930. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2931. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2932. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  2933. {
  2934. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2935. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2936. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2937. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  2938. {
  2939. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2940. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2941. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2942. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  2943. {
  2944. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2945. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2946. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2947. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  2948. {
  2949. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2950. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  2951. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  2952. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  2953. {
  2954. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2955. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2956. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2957. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  2958. {
  2959. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2960. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2961. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2962. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  2963. {
  2964. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2965. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  2966. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  2967. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  2968. {
  2969. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2970. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2971. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2972. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  2973. {
  2974. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2975. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  2976. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2977. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  2978. {
  2979. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2980. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  2981. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2982. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  2983. {
  2984. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2985. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2986. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2987. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  2988. {
  2989. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2990. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  2991. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  2992. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  2993. {
  2994. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  2995. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  2996. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  2997. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  2998. {
  2999. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3000. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  3001. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3002. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3003. {
  3004. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3005. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3006. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  3007. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3008. {
  3009. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3010. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  3011. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  3012. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3013. {
  3014. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3015. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3016. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3017. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3018. {
  3019. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3020. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  3021. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3022. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3023. {
  3024. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3025. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  3026. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  3027. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3028. {
  3029. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3030. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  3031. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3032. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3033. {
  3034. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3035. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  3036. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3037. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3038. {
  3039. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3040. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3041. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3042. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3043. {
  3044. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3045. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  3046. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3047. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3048. {
  3049. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3050. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3051. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3052. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3053. {
  3054. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3055. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  3056. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3057. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3058. {
  3059. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3060. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  3061. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3062. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3063. {
  3064. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3065. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3066. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3067. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3068. {
  3069. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3070. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  3071. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3072. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3073. {
  3074. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3075. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  3076. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  3077. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3078. {
  3079. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3080. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  3081. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3082. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3083. {
  3084. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3085. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  3086. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3087. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3088. {
  3089. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3090. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3091. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3092. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3093. {
  3094. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3095. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  3096. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  3097. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3098. {
  3099. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3100. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3101. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3102. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3103. {
  3104. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3105. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  3106. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3107. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3108. {
  3109. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3110. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  3111. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3112. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3113. {
  3114. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3115. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3116. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  3117. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3118. {
  3119. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3120. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  3121. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3122. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3123. {
  3124. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3125. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  3126. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3127. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3128. {
  3129. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3130. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3131. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3132. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3133. {
  3134. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3135. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3136. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3137. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3138. {
  3139. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3140. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3141. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3142. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3143. {
  3144. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3145. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3146. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3147. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3148. {
  3149. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3150. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3151. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3152. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3153. {
  3154. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3155. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  3156. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3157. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3158. {
  3159. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3160. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3161. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3162. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3163. {
  3164. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3165. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3166. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3167. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3168. {
  3169. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3170. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3171. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3172. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3173. {
  3174. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3175. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  3176. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  3177. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3178. {
  3179. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3180. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  3181. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3182. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3183. {
  3184. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3185. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3186. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3187. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3188. {
  3189. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3190. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  3191. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3192. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3193. {
  3194. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3195. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3196. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3197. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3198. {
  3199. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3200. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3201. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3202. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3203. {
  3204. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3205. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3206. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3207. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3208. {
  3209. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3210. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  3211. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3212. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3213. {
  3214. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3215. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3216. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3217. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3218. {
  3219. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3220. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  3221. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3222. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3223. {
  3224. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3225. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3226. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3227. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3228. {
  3229. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3230. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3231. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3232. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3233. {
  3234. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3235. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3236. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3237. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3238. {
  3239. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3240. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3241. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3242. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3243. {
  3244. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3245. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3246. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3247. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3248. {
  3249. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3250. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3251. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3252. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3253. {
  3254. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3255. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3256. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3257. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3258. {
  3259. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3260. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3261. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  3262. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3263. {
  3264. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3265. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3266. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3267. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3268. {
  3269. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3270. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3271. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3272. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3273. {
  3274. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3275. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3276. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3277. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3278. {
  3279. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3280. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3281. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3282. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3283. {
  3284. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3285. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3286. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3287. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3288. {
  3289. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3290. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3291. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3292. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3293. {
  3294. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3295. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3296. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3297. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3298. {
  3299. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3300. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  3301. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  3302. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3303. {
  3304. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3305. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3306. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3307. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3308. {
  3309. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3310. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3311. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3312. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3313. {
  3314. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3315. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  3316. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x67, 0x00, 0x03, 0x00, 0x70, 0x00,
  3317. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3318. {
  3319. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3320. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  3321. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x57, 0x00, 0x03, 0x00, 0x70, 0x00,
  3322. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3323. {
  3324. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3325. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  3326. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x56, 0x00, 0x03, 0x00, 0x70, 0x00,
  3327. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3328. {
  3329. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3330. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  3331. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x46, 0x00, 0x03, 0x00, 0x70, 0x00,
  3332. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3333. {
  3334. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3335. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3336. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3337. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3338. {
  3339. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3340. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3341. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3342. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3343. {
  3344. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3345. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  3346. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x23, 0x00, 0x02, 0x00, 0x70, 0x00,
  3347. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3348. {
  3349. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3350. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  3351. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x12, 0x00, 0x02, 0x00, 0x70, 0x00,
  3352. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3353. {
  3354. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3355. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  3356. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x02, 0x00, 0x02, 0x00, 0x70, 0x00,
  3357. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3358. {
  3359. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3360. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3361. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3362. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3363. {
  3364. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3365. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  3366. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x01, 0x00, 0x02, 0x00, 0x70, 0x00,
  3367. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3368. {
  3369. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3370. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3371. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3372. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3373. };
  3374. static const struct chan_info_nphy_radio205x chan_info_nphyrev5n6_2056v7[] = {
  3375. {
  3376. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3377. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3378. 0x00, 0x0f, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0f,
  3379. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  3380. {
  3381. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3382. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3383. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3384. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  3385. {
  3386. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3387. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3388. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3389. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  3390. {
  3391. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3392. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0b, 0x00, 0x70,
  3393. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0b, 0x00, 0x70, 0x00, 0x0e,
  3394. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  3395. {
  3396. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3397. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3398. 0x00, 0x0e, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0e,
  3399. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  3400. {
  3401. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3402. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3403. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3404. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  3405. {
  3406. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3407. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3408. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3409. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  3410. {
  3411. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3412. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3413. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3414. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  3415. {
  3416. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3417. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3418. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3419. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  3420. {
  3421. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3422. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x0a, 0x00, 0x70,
  3423. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x0a, 0x00, 0x70, 0x00, 0x0d,
  3424. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  3425. {
  3426. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3427. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3428. 0x00, 0x0d, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0d,
  3429. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  3430. {
  3431. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3432. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xff, 0x00, 0x09, 0x00, 0x70,
  3433. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xff, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3434. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  3435. {
  3436. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3437. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3438. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3439. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  3440. {
  3441. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3442. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x70,
  3443. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3444. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  3445. {
  3446. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3447. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x70,
  3448. 0x00, 0x0c, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x70, 0x00, 0x0c,
  3449. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  3450. {
  3451. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3452. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x70,
  3453. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3454. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  3455. {
  3456. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3457. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3458. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3459. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  3460. {
  3461. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3462. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3463. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3464. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  3465. {
  3466. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3467. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3468. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3469. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  3470. {
  3471. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3472. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3473. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3474. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  3475. {
  3476. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3477. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x70,
  3478. 0x00, 0x0b, 0x00, 0x9f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0b,
  3479. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  3480. {
  3481. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3482. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x70,
  3483. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x70, 0x00, 0x0a,
  3484. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  3485. {
  3486. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3487. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3488. 0x00, 0x0a, 0x00, 0x9f, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x0a,
  3489. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  3490. {
  3491. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3492. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x07, 0x00, 0x70,
  3493. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x07, 0x00, 0x70, 0x00, 0x09,
  3494. 0x00, 0x6e, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  3495. {
  3496. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3497. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x06, 0x00, 0x70,
  3498. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfb, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3499. 0x00, 0x6e, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  3500. {
  3501. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3502. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3503. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3504. 0x00, 0x6e, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  3505. {
  3506. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3507. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3508. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3509. 0x00, 0x6e, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  3510. {
  3511. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3512. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3513. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3514. 0x00, 0x6e, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  3515. {
  3516. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3517. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3518. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3519. 0x00, 0x6e, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  3520. {
  3521. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3522. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xfa, 0x00, 0x06, 0x00, 0x70,
  3523. 0x00, 0x09, 0x00, 0x9e, 0x00, 0xfa, 0x00, 0x06, 0x00, 0x70, 0x00, 0x09,
  3524. 0x00, 0x6e, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  3525. {
  3526. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3527. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xea, 0x00, 0x06, 0x00, 0x70,
  3528. 0x00, 0x08, 0x00, 0x9e, 0x00, 0xea, 0x00, 0x06, 0x00, 0x70, 0x00, 0x08,
  3529. 0x00, 0x6e, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  3530. {
  3531. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3532. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3533. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3534. 0x00, 0x6d, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  3535. {
  3536. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3537. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xe9, 0x00, 0x05, 0x00, 0x70,
  3538. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xe9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3539. 0x00, 0x6d, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  3540. {
  3541. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3542. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xd9, 0x00, 0x05, 0x00, 0x70,
  3543. 0x00, 0x08, 0x00, 0x9d, 0x00, 0xd9, 0x00, 0x05, 0x00, 0x70, 0x00, 0x08,
  3544. 0x00, 0x6d, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  3545. {
  3546. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3547. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xd8, 0x00, 0x04, 0x00, 0x70,
  3548. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xd8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3549. 0x00, 0x6c, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  3550. {
  3551. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3552. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3553. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3554. 0x00, 0x6c, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  3555. {
  3556. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3557. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3558. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3559. 0x00, 0x6c, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  3560. {
  3561. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3562. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3563. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3564. 0x00, 0x6c, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  3565. {
  3566. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3567. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xc8, 0x00, 0x04, 0x00, 0x70,
  3568. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xc8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3569. 0x00, 0x6c, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  3570. {
  3571. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3572. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb8, 0x00, 0x04, 0x00, 0x70,
  3573. 0x00, 0x07, 0x00, 0x9c, 0x00, 0xb8, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3574. 0x00, 0x6c, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  3575. {
  3576. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3577. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xb7, 0x00, 0x04, 0x00, 0x70,
  3578. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x04, 0x00, 0x70, 0x00, 0x07,
  3579. 0x00, 0x6b, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  3580. {
  3581. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3582. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xb7, 0x00, 0x03, 0x00, 0x70,
  3583. 0x00, 0x07, 0x00, 0x9b, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x07,
  3584. 0x00, 0x6b, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  3585. {
  3586. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3587. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa7, 0x00, 0x03, 0x00, 0x70,
  3588. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa7, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3589. 0x00, 0x6b, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  3590. {
  3591. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3592. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3593. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3594. 0x00, 0x6b, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  3595. {
  3596. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3597. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0xa6, 0x00, 0x03, 0x00, 0x70,
  3598. 0x00, 0x06, 0x00, 0x9b, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3599. 0x00, 0x7b, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  3600. {
  3601. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3602. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x96, 0x00, 0x03, 0x00, 0x70,
  3603. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x96, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3604. 0x00, 0x7a, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  3605. {
  3606. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3607. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3608. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3609. 0x00, 0x7a, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  3610. {
  3611. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3612. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x70,
  3613. 0x00, 0x06, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x06,
  3614. 0x00, 0x7a, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  3615. {
  3616. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3617. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3618. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3619. 0x00, 0x7a, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  3620. {
  3621. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3622. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x95, 0x00, 0x03, 0x00, 0x70,
  3623. 0x00, 0x05, 0x00, 0x9a, 0x00, 0x95, 0x00, 0x03, 0x00, 0x70, 0x00, 0x05,
  3624. 0x00, 0x7a, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  3625. {
  3626. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3627. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x85, 0x00, 0x02, 0x00, 0x70,
  3628. 0x00, 0x05, 0x00, 0x99, 0x00, 0x85, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3629. 0x00, 0x79, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  3630. {
  3631. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3632. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x70,
  3633. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3634. 0x00, 0x79, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  3635. {
  3636. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3637. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3638. 0x00, 0x05, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x05,
  3639. 0x00, 0x79, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  3640. {
  3641. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3642. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x02, 0x00, 0x70,
  3643. 0x00, 0x04, 0x00, 0x99, 0x00, 0x84, 0x00, 0x02, 0x00, 0x70, 0x00, 0x04,
  3644. 0x00, 0x79, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  3645. {
  3646. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3647. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x74, 0x00, 0x01, 0x00, 0x70,
  3648. 0x00, 0x04, 0x00, 0x99, 0x00, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3649. 0x00, 0x79, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  3650. {
  3651. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3652. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x01, 0x00, 0x70,
  3653. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3654. 0x00, 0x78, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  3655. {
  3656. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3657. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x01, 0x00, 0x70,
  3658. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3659. 0x00, 0x78, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  3660. {
  3661. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3662. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3663. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3664. 0x00, 0x78, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  3665. {
  3666. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3667. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x01, 0x00, 0x70,
  3668. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3669. 0x00, 0x78, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  3670. {
  3671. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3672. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x01, 0x00, 0x70,
  3673. 0x00, 0x04, 0x00, 0x98, 0x00, 0x73, 0x00, 0x01, 0x00, 0x70, 0x00, 0x04,
  3674. 0x00, 0x78, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  3675. {
  3676. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3677. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x63, 0x00, 0x01, 0x00, 0x70,
  3678. 0x00, 0x03, 0x00, 0x98, 0x00, 0x63, 0x00, 0x01, 0x00, 0x70, 0x00, 0x03,
  3679. 0x00, 0x78, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  3680. {
  3681. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3682. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x62, 0x00, 0x00, 0x00, 0x70,
  3683. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3684. 0x00, 0x77, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  3685. {
  3686. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3687. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3688. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3689. 0x00, 0x77, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  3690. {
  3691. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3692. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x70,
  3693. 0x00, 0x03, 0x00, 0x97, 0x00, 0x62, 0x00, 0x00, 0x00, 0x70, 0x00, 0x03,
  3694. 0x00, 0x77, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  3695. {
  3696. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3697. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x52, 0x00, 0x00, 0x00, 0x70,
  3698. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3699. 0x00, 0x76, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  3700. {
  3701. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3702. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x52, 0x00, 0x00, 0x00, 0x70,
  3703. 0x00, 0x02, 0x00, 0x96, 0x00, 0x52, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3704. 0x00, 0x86, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  3705. {
  3706. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3707. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3708. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3709. 0x00, 0x86, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  3710. {
  3711. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3712. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3713. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3714. 0x00, 0x86, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  3715. {
  3716. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3717. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3718. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3719. 0x00, 0x86, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  3720. {
  3721. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3722. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3723. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3724. 0x00, 0x86, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  3725. {
  3726. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3727. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x70,
  3728. 0x00, 0x02, 0x00, 0x96, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3729. 0x00, 0x86, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  3730. {
  3731. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3732. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x51, 0x00, 0x00, 0x00, 0x70,
  3733. 0x00, 0x02, 0x00, 0x95, 0x00, 0x51, 0x00, 0x00, 0x00, 0x70, 0x00, 0x02,
  3734. 0x00, 0x85, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  3735. {
  3736. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3737. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3738. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3739. 0x00, 0x85, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  3740. {
  3741. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3742. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x70,
  3743. 0x00, 0x01, 0x00, 0x95, 0x00, 0x50, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3744. 0x00, 0x85, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  3745. {
  3746. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3747. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x70,
  3748. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3749. 0x00, 0x84, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  3750. {
  3751. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3752. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3753. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3754. 0x00, 0x84, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  3755. {
  3756. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3757. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3758. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3759. 0x00, 0x94, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  3760. {
  3761. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3762. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3763. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3764. 0x00, 0x94, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  3765. {
  3766. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3767. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3768. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3769. 0x00, 0x94, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  3770. {
  3771. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3772. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3773. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3774. 0x00, 0x94, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  3775. {
  3776. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  3777. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x40, 0x00, 0x00, 0x00, 0x70,
  3778. 0x00, 0x01, 0x00, 0x94, 0x00, 0x40, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3779. 0x00, 0x94, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  3780. {
  3781. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3782. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3783. 0x00, 0x01, 0x00, 0x94, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01,
  3784. 0x00, 0x94, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  3785. {
  3786. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3787. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3788. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3789. 0x00, 0x93, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  3790. {
  3791. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3792. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3793. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3794. 0x00, 0x93, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  3795. {
  3796. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3797. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3798. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3799. 0x00, 0x93, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  3800. {
  3801. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3802. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x70,
  3803. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3804. 0x00, 0x93, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  3805. {
  3806. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  3807. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x30, 0x00, 0x00, 0x00, 0x70,
  3808. 0x00, 0x00, 0x00, 0x93, 0x00, 0x30, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3809. 0x00, 0x93, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  3810. {
  3811. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3812. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3813. 0x00, 0x00, 0x00, 0x93, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3814. 0x00, 0x93, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  3815. {
  3816. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  3817. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3818. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3819. 0x00, 0x92, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  3820. {
  3821. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3822. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3823. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3824. 0x00, 0x92, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  3825. {
  3826. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  3827. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x70,
  3828. 0x00, 0x00, 0x00, 0x92, 0x00, 0x20, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3829. 0x00, 0x92, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  3830. {
  3831. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3832. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x70,
  3833. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3834. 0x00, 0x92, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  3835. {
  3836. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  3837. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3838. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3839. 0x00, 0x92, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  3840. {
  3841. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3842. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3843. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3844. 0x00, 0x92, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  3845. {
  3846. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  3847. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3848. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3849. 0x00, 0x92, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  3850. {
  3851. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3852. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3853. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3854. 0x00, 0x92, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  3855. {
  3856. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  3857. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3858. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3859. 0x00, 0x92, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  3860. {
  3861. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3862. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3863. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3864. 0x00, 0x92, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  3865. {
  3866. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  3867. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3868. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3869. 0x00, 0x92, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  3870. {
  3871. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3872. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3873. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3874. 0x00, 0x92, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  3875. {
  3876. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  3877. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3878. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3879. 0x00, 0x92, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  3880. {
  3881. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3882. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3883. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3884. 0x00, 0x92, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  3885. {
  3886. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3887. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70,
  3888. 0x00, 0x00, 0x00, 0x92, 0x00, 0x10, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3889. 0x00, 0x92, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  3890. {
  3891. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3892. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3893. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3894. 0x00, 0x92, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  3895. {
  3896. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3897. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3898. 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3899. 0x00, 0x92, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  3900. {
  3901. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3902. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3903. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3904. 0x00, 0x91, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  3905. {
  3906. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3907. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3908. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3909. 0x00, 0x91, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  3910. {
  3911. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3912. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3913. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3914. 0x00, 0x91, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  3915. {
  3916. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3917. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3918. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3919. 0x00, 0x91, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  3920. {
  3921. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3922. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70,
  3923. 0x00, 0x00, 0x00, 0x91, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00,
  3924. 0x00, 0x91, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  3925. {
  3926. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  3927. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3928. 0x70, 0x00, 0x0f, 0x00, 0x0b, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3929. 0x0f, 0x00, 0x0b, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  3930. {
  3931. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  3932. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3933. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3934. 0x0f, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  3935. {
  3936. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  3937. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x89, 0x00, 0x03, 0x00,
  3938. 0x70, 0x00, 0x0f, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  3939. 0x0f, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  3940. {
  3941. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  3942. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  3943. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  3944. 0x0e, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  3945. {
  3946. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  3947. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x03, 0x00,
  3948. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  3949. 0x0e, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  3950. {
  3951. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  3952. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x76, 0x00, 0x03, 0x00,
  3953. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  3954. 0x0e, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  3955. {
  3956. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  3957. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x66, 0x00, 0x03, 0x00,
  3958. 0x70, 0x00, 0x0e, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x03, 0x00, 0x70, 0x00,
  3959. 0x0e, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  3960. {
  3961. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  3962. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x55, 0x00, 0x02, 0x00,
  3963. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  3964. 0x0e, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  3965. {
  3966. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  3967. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  3968. 0x70, 0x00, 0x0e, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  3969. 0x0e, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  3970. {
  3971. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  3972. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  3973. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  3974. 0x0d, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  3975. {
  3976. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  3977. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x33, 0x00, 0x02, 0x00,
  3978. 0x70, 0x00, 0x0d, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  3979. 0x0d, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  3980. {
  3981. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  3982. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x22, 0x00, 0x02, 0x00,
  3983. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  3984. 0x0d, 0x00, 0x08, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  3985. {
  3986. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  3987. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
  3988. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  3989. 0x0d, 0x00, 0x08, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  3990. {
  3991. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  3992. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  3993. 0x70, 0x00, 0x0d, 0x00, 0x08, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  3994. 0x0d, 0x00, 0x08, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  3995. };
  3996. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v8[] = {
  3997. {
  3998. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x04, 0x0c, 0x01,
  3999. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4000. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4001. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4002. {
  4003. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4004. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4005. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4006. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4007. {
  4008. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4009. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4010. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4011. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4012. {
  4013. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4014. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4015. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4016. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4017. {
  4018. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4019. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4020. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4021. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4022. {
  4023. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4024. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4025. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4026. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4027. {
  4028. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4029. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4030. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4031. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4032. {
  4033. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4034. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4035. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4036. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4037. {
  4038. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4039. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4040. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4041. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4042. {
  4043. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4044. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4045. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4046. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4047. {
  4048. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4049. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4050. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4051. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4052. {
  4053. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4054. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4055. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4056. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4057. {
  4058. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4059. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4060. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4061. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4062. {
  4063. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4064. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4065. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4066. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4067. {
  4068. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4069. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4070. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4071. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4072. {
  4073. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4074. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4075. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4076. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4077. {
  4078. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4079. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4080. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4081. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4082. {
  4083. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4084. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4085. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4086. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4087. {
  4088. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4089. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4090. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4091. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4092. {
  4093. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4094. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4095. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4096. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4097. {
  4098. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4099. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4100. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4101. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4102. {
  4103. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4104. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4105. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4106. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4107. {
  4108. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4109. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4110. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4111. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4112. {
  4113. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4114. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4115. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4116. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4117. {
  4118. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4119. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4120. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4121. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4122. {
  4123. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4124. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4125. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4126. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4127. {
  4128. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4129. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4130. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4131. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4132. {
  4133. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4134. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4135. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4136. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4137. {
  4138. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4139. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4140. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4141. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4142. {
  4143. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4144. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4145. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4146. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4147. {
  4148. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4149. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4150. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4151. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4152. {
  4153. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4154. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4155. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4156. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4157. {
  4158. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4159. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4160. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4161. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4162. {
  4163. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4164. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4165. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4166. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4167. {
  4168. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4169. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4170. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4171. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4172. {
  4173. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4174. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4175. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4176. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4177. {
  4178. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4179. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4180. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4181. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4182. {
  4183. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4184. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4185. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4186. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4187. {
  4188. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4189. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4190. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4191. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4192. {
  4193. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4194. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4195. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4196. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4197. {
  4198. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4199. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4200. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4201. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4202. {
  4203. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4204. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4205. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4206. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4207. {
  4208. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4209. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4210. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4211. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4212. {
  4213. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4214. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4215. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4216. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4217. {
  4218. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4219. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4220. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4221. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4222. {
  4223. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4224. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4225. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4226. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4227. {
  4228. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4229. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4230. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4231. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4232. {
  4233. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4234. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4235. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4236. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4237. {
  4238. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4239. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4240. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4241. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4242. {
  4243. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4244. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4245. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4246. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4247. {
  4248. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4249. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4250. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4251. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4252. {
  4253. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4254. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4255. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4256. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4257. {
  4258. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4259. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4260. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4261. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4262. {
  4263. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4264. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4265. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4266. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4267. {
  4268. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4269. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4270. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4271. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4272. {
  4273. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4274. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4275. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4276. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4277. {
  4278. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4279. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4280. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4281. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4282. {
  4283. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4284. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4285. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4286. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4287. {
  4288. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4289. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4290. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4291. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4292. {
  4293. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4294. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4295. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4296. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4297. {
  4298. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4299. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4300. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4301. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4302. {
  4303. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4304. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4305. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4306. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4307. {
  4308. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4309. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4310. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4311. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4312. {
  4313. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4314. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4315. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4316. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4317. {
  4318. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4319. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4320. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4321. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4322. {
  4323. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4324. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4325. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4326. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4327. {
  4328. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4329. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4330. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4331. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4332. {
  4333. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4334. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4335. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4336. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4337. {
  4338. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4339. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4340. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4341. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4342. {
  4343. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4344. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4345. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4346. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4347. {
  4348. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4349. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4350. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4351. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4352. {
  4353. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4354. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4355. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4356. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4357. {
  4358. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4359. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4360. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4361. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4362. {
  4363. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4364. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4365. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4366. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4367. {
  4368. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4369. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4370. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4371. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4372. {
  4373. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4374. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4375. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4376. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4377. {
  4378. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4379. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4380. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4381. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  4382. {
  4383. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4384. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4385. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4386. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  4387. {
  4388. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4389. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4390. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4391. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  4392. {
  4393. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4394. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4395. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4396. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  4397. {
  4398. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x07, 0x07, 0x04, 0x10, 0x01,
  4399. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4400. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4401. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  4402. {
  4403. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4404. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4405. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4406. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  4407. {
  4408. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4409. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4410. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4411. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  4412. {
  4413. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4414. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4415. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4416. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  4417. {
  4418. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4419. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  4420. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4421. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  4422. {
  4423. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4424. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  4425. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4426. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  4427. {
  4428. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x07, 0x07, 0x04, 0x10, 0x01,
  4429. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4430. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4431. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  4432. {
  4433. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4434. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  4435. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4436. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  4437. {
  4438. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x07, 0x07, 0x04, 0x10, 0x01,
  4439. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4440. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4441. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  4442. {
  4443. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4444. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4445. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4446. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  4447. {
  4448. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x07, 0x07, 0x04, 0x10, 0x01,
  4449. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4450. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4451. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  4452. {
  4453. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4454. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  4455. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4456. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  4457. {
  4458. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x07, 0x07, 0x04, 0x10, 0x01,
  4459. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4460. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4461. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  4462. {
  4463. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4464. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  4465. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4466. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  4467. {
  4468. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x07, 0x07, 0x04, 0x10, 0x01,
  4469. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4470. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4471. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  4472. {
  4473. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4474. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4475. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4476. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  4477. {
  4478. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x07, 0x07, 0x04, 0x10, 0x01,
  4479. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4480. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4481. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  4482. {
  4483. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4484. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4485. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4486. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  4487. {
  4488. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x07, 0x07, 0x04, 0x10, 0x01,
  4489. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4490. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4491. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  4492. {
  4493. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4494. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4495. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4496. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  4497. {
  4498. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x07, 0x07, 0x04, 0x10, 0x01,
  4499. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4500. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4501. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  4502. {
  4503. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4504. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4505. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  4506. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  4507. {
  4508. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4509. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4510. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4511. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  4512. {
  4513. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4514. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4515. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4516. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  4517. {
  4518. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4519. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4520. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4521. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  4522. {
  4523. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4524. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4525. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4526. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  4527. {
  4528. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4529. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4530. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4531. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  4532. {
  4533. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4534. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4535. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4536. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  4537. {
  4538. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4539. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4540. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4541. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  4542. {
  4543. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x04, 0x0c, 0x01,
  4544. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  4545. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  4546. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  4547. {
  4548. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x08, 0x08, 0x04, 0x16, 0x01,
  4549. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4550. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4551. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  4552. {
  4553. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x08, 0x08, 0x04, 0x16, 0x01,
  4554. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  4555. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4556. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  4557. {
  4558. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x08, 0x08, 0x04, 0x16, 0x01,
  4559. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  4560. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  4561. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  4562. {
  4563. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x08, 0x08, 0x04, 0x16, 0x01,
  4564. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  4565. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  4566. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  4567. {
  4568. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x08, 0x08, 0x04, 0x16, 0x01,
  4569. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  4570. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  4571. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  4572. {
  4573. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x08, 0x08, 0x04, 0x16, 0x01,
  4574. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  4575. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  4576. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  4577. {
  4578. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x08, 0x08, 0x04, 0x16, 0x01,
  4579. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  4580. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  4581. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  4582. {
  4583. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x08, 0x08, 0x04, 0x16, 0x01,
  4584. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  4585. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  4586. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  4587. {
  4588. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x08, 0x08, 0x04, 0x16, 0x01,
  4589. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  4590. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  4591. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  4592. {
  4593. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x08, 0x08, 0x04, 0x16, 0x01,
  4594. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  4595. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  4596. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  4597. {
  4598. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x08, 0x08, 0x04, 0x16, 0x01,
  4599. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  4600. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  4601. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  4602. {
  4603. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x08, 0x08, 0x04, 0x16, 0x01,
  4604. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4605. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  4606. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  4607. {
  4608. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x08, 0x08, 0x04, 0x16, 0x01,
  4609. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  4610. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  4611. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  4612. {
  4613. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x08, 0x08, 0x04, 0x16, 0x01,
  4614. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  4615. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  4616. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  4617. };
  4618. static const struct chan_info_nphy_radio205x chan_info_nphyrev6_2056v11[] = {
  4619. {
  4620. 184, 4920, 0xff, 0x01, 0x01, 0x01, 0xec, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4621. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4622. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4623. 0x00, 0x6f, 0x00, 0x07b4, 0x07b0, 0x07ac, 0x0214, 0x0215, 0x0216},
  4624. {
  4625. 186, 4930, 0xff, 0x01, 0x01, 0x01, 0xed, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4626. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4627. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4628. 0x00, 0x6f, 0x00, 0x07b8, 0x07b4, 0x07b0, 0x0213, 0x0214, 0x0215},
  4629. {
  4630. 188, 4940, 0xff, 0x01, 0x01, 0x01, 0xee, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4631. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4632. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4633. 0x00, 0x6f, 0x00, 0x07bc, 0x07b8, 0x07b4, 0x0212, 0x0213, 0x0214},
  4634. {
  4635. 190, 4950, 0xff, 0x01, 0x01, 0x01, 0xef, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4636. 0x00, 0x00, 0x00, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4637. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4638. 0x00, 0x6f, 0x00, 0x07c0, 0x07bc, 0x07b8, 0x0211, 0x0212, 0x0213},
  4639. {
  4640. 192, 4960, 0xff, 0x01, 0x01, 0x01, 0xf0, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4641. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4642. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4643. 0x00, 0x6f, 0x00, 0x07c4, 0x07c0, 0x07bc, 0x020f, 0x0211, 0x0212},
  4644. {
  4645. 194, 4970, 0xff, 0x01, 0x01, 0x01, 0xf1, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4646. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4647. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4648. 0x00, 0x6f, 0x00, 0x07c8, 0x07c4, 0x07c0, 0x020e, 0x020f, 0x0211},
  4649. {
  4650. 196, 4980, 0xff, 0x01, 0x01, 0x01, 0xf2, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4651. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4652. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4653. 0x00, 0x6f, 0x00, 0x07cc, 0x07c8, 0x07c4, 0x020d, 0x020e, 0x020f},
  4654. {
  4655. 198, 4990, 0xff, 0x01, 0x01, 0x01, 0xf3, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4656. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4657. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4658. 0x00, 0x6f, 0x00, 0x07d0, 0x07cc, 0x07c8, 0x020c, 0x020d, 0x020e},
  4659. {
  4660. 200, 5000, 0xff, 0x01, 0x01, 0x01, 0xf4, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4661. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4662. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4663. 0x00, 0x6f, 0x00, 0x07d4, 0x07d0, 0x07cc, 0x020b, 0x020c, 0x020d},
  4664. {
  4665. 202, 5010, 0xff, 0x01, 0x01, 0x01, 0xf5, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4666. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4667. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4668. 0x00, 0x6f, 0x00, 0x07d8, 0x07d4, 0x07d0, 0x020a, 0x020b, 0x020c},
  4669. {
  4670. 204, 5020, 0xf7, 0x01, 0x01, 0x01, 0xf6, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4671. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4672. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4673. 0x00, 0x6f, 0x00, 0x07dc, 0x07d8, 0x07d4, 0x0209, 0x020a, 0x020b},
  4674. {
  4675. 206, 5030, 0xf7, 0x01, 0x01, 0x01, 0xf7, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4676. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4677. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4678. 0x00, 0x6f, 0x00, 0x07e0, 0x07dc, 0x07d8, 0x0208, 0x0209, 0x020a},
  4679. {
  4680. 208, 5040, 0xef, 0x01, 0x01, 0x01, 0xf8, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4681. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4682. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4683. 0x00, 0x6f, 0x00, 0x07e4, 0x07e0, 0x07dc, 0x0207, 0x0208, 0x0209},
  4684. {
  4685. 210, 5050, 0xef, 0x01, 0x01, 0x01, 0xf9, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4686. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4687. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4688. 0x00, 0x6f, 0x00, 0x07e8, 0x07e4, 0x07e0, 0x0206, 0x0207, 0x0208},
  4689. {
  4690. 212, 5060, 0xe6, 0x01, 0x01, 0x01, 0xfa, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4691. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfe, 0x00, 0x09, 0x00, 0x77,
  4692. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfe, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4693. 0x00, 0x6f, 0x00, 0x07ec, 0x07e8, 0x07e4, 0x0205, 0x0206, 0x0207},
  4694. {
  4695. 214, 5070, 0xe6, 0x01, 0x01, 0x01, 0xfb, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4696. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4697. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4698. 0x00, 0x6f, 0x00, 0x07f0, 0x07ec, 0x07e8, 0x0204, 0x0205, 0x0206},
  4699. {
  4700. 216, 5080, 0xde, 0x01, 0x01, 0x01, 0xfc, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4701. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4702. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4703. 0x00, 0x6f, 0x00, 0x07f4, 0x07f0, 0x07ec, 0x0203, 0x0204, 0x0205},
  4704. {
  4705. 218, 5090, 0xde, 0x01, 0x01, 0x01, 0xfd, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4706. 0x01, 0x01, 0x01, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x09, 0x00, 0x77,
  4707. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x09, 0x00, 0x77, 0x00, 0x0f,
  4708. 0x00, 0x6f, 0x00, 0x07f8, 0x07f4, 0x07f0, 0x0202, 0x0203, 0x0204},
  4709. {
  4710. 220, 5100, 0xd6, 0x01, 0x01, 0x01, 0xfe, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4711. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfd, 0x00, 0x08, 0x00, 0x77,
  4712. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfd, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4713. 0x00, 0x6f, 0x00, 0x07fc, 0x07f8, 0x07f4, 0x0201, 0x0202, 0x0203},
  4714. {
  4715. 222, 5110, 0xd6, 0x01, 0x01, 0x01, 0xff, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4716. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4717. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4718. 0x00, 0x6f, 0x00, 0x0800, 0x07fc, 0x07f8, 0x0200, 0x0201, 0x0202},
  4719. {
  4720. 224, 5120, 0xce, 0x01, 0x01, 0x02, 0x00, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4721. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4722. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4723. 0x00, 0x6f, 0x00, 0x0804, 0x0800, 0x07fc, 0x01ff, 0x0200, 0x0201},
  4724. {
  4725. 226, 5130, 0xce, 0x01, 0x01, 0x02, 0x01, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4726. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfc, 0x00, 0x08, 0x00, 0x77,
  4727. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfc, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4728. 0x00, 0x6f, 0x00, 0x0808, 0x0804, 0x0800, 0x01fe, 0x01ff, 0x0200},
  4729. {
  4730. 228, 5140, 0xc6, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4731. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfb, 0x00, 0x08, 0x00, 0x77,
  4732. 0x00, 0x0f, 0x00, 0x6f, 0x00, 0xfb, 0x00, 0x08, 0x00, 0x77, 0x00, 0x0f,
  4733. 0x00, 0x6f, 0x00, 0x080c, 0x0808, 0x0804, 0x01fd, 0x01fe, 0x01ff},
  4734. {
  4735. 32, 5160, 0xbe, 0x01, 0x01, 0x02, 0x04, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4736. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4737. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4738. 0x00, 0x6f, 0x00, 0x0814, 0x0810, 0x080c, 0x01fb, 0x01fc, 0x01fd},
  4739. {
  4740. 34, 5170, 0xbe, 0x01, 0x01, 0x02, 0x05, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4741. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xfa, 0x00, 0x07, 0x00, 0x77,
  4742. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xfa, 0x00, 0x07, 0x00, 0x77, 0x00, 0x0e,
  4743. 0x00, 0x6f, 0x00, 0x0818, 0x0814, 0x0810, 0x01fa, 0x01fb, 0x01fc},
  4744. {
  4745. 36, 5180, 0xb6, 0x01, 0x01, 0x02, 0x06, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4746. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4747. 0x00, 0x0e, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0e,
  4748. 0x00, 0x6f, 0x00, 0x081c, 0x0818, 0x0814, 0x01f9, 0x01fa, 0x01fb},
  4749. {
  4750. 38, 5190, 0xb6, 0x01, 0x01, 0x02, 0x07, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4751. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x06, 0x00, 0x77,
  4752. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x06, 0x00, 0x77, 0x00, 0x0d,
  4753. 0x00, 0x6f, 0x00, 0x0820, 0x081c, 0x0818, 0x01f8, 0x01f9, 0x01fa},
  4754. {
  4755. 40, 5200, 0xaf, 0x01, 0x01, 0x02, 0x08, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4756. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4757. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4758. 0x00, 0x6f, 0x00, 0x0824, 0x0820, 0x081c, 0x01f7, 0x01f8, 0x01f9},
  4759. {
  4760. 42, 5210, 0xaf, 0x01, 0x01, 0x02, 0x09, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4761. 0x02, 0x02, 0x02, 0x8f, 0x0f, 0x00, 0xff, 0xf9, 0x00, 0x05, 0x00, 0x77,
  4762. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xf9, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4763. 0x00, 0x6f, 0x00, 0x0828, 0x0824, 0x0820, 0x01f6, 0x01f7, 0x01f8},
  4764. {
  4765. 44, 5220, 0xa7, 0x01, 0x01, 0x02, 0x0a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4766. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xfe, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4767. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4768. 0x00, 0x6f, 0x00, 0x082c, 0x0828, 0x0824, 0x01f5, 0x01f6, 0x01f7},
  4769. {
  4770. 46, 5230, 0xa7, 0x01, 0x01, 0x02, 0x0b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4771. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xd8, 0x00, 0x05, 0x00, 0x77,
  4772. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xd8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4773. 0x00, 0x6f, 0x00, 0x0830, 0x082c, 0x0828, 0x01f4, 0x01f5, 0x01f6},
  4774. {
  4775. 48, 5240, 0xa0, 0x01, 0x01, 0x02, 0x0c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4776. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xee, 0xc8, 0x00, 0x05, 0x00, 0x77,
  4777. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc8, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4778. 0x00, 0x6f, 0x00, 0x0834, 0x0830, 0x082c, 0x01f3, 0x01f4, 0x01f5},
  4779. {
  4780. 50, 5250, 0xa0, 0x01, 0x01, 0x02, 0x0d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4781. 0x02, 0x02, 0x02, 0x8e, 0x0f, 0x00, 0xed, 0xc7, 0x00, 0x05, 0x00, 0x77,
  4782. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x05, 0x00, 0x77, 0x00, 0x0d,
  4783. 0x00, 0x6f, 0x00, 0x0838, 0x0834, 0x0830, 0x01f2, 0x01f3, 0x01f4},
  4784. {
  4785. 52, 5260, 0x98, 0x01, 0x01, 0x02, 0x0e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4786. 0x02, 0x02, 0x02, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4787. 0x00, 0x0d, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0d,
  4788. 0x00, 0x6f, 0x00, 0x083c, 0x0838, 0x0834, 0x01f1, 0x01f2, 0x01f3},
  4789. {
  4790. 54, 5270, 0x98, 0x01, 0x01, 0x02, 0x0f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4791. 0x03, 0x03, 0x03, 0x8e, 0x0e, 0x00, 0xed, 0xc7, 0x00, 0x04, 0x00, 0x77,
  4792. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xc7, 0x00, 0x04, 0x00, 0x77, 0x00, 0x0c,
  4793. 0x00, 0x6f, 0x00, 0x0840, 0x083c, 0x0838, 0x01f0, 0x01f1, 0x01f2},
  4794. {
  4795. 56, 5280, 0x91, 0x01, 0x01, 0x02, 0x10, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4796. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4797. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4798. 0x00, 0x6f, 0x00, 0x0844, 0x0840, 0x083c, 0x01f0, 0x01f0, 0x01f1},
  4799. {
  4800. 58, 5290, 0x91, 0x01, 0x01, 0x02, 0x11, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4801. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4802. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4803. 0x00, 0x6f, 0x00, 0x0848, 0x0844, 0x0840, 0x01ef, 0x01f0, 0x01f0},
  4804. {
  4805. 60, 5300, 0x8a, 0x01, 0x01, 0x02, 0x12, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4806. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4807. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4808. 0x00, 0x6f, 0x00, 0x084c, 0x0848, 0x0844, 0x01ee, 0x01ef, 0x01f0},
  4809. {
  4810. 62, 5310, 0x8a, 0x01, 0x01, 0x02, 0x13, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4811. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdc, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4812. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4813. 0x00, 0x6f, 0x00, 0x0850, 0x084c, 0x0848, 0x01ed, 0x01ee, 0x01ef},
  4814. {
  4815. 64, 5320, 0x83, 0x01, 0x01, 0x02, 0x14, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4816. 0x03, 0x03, 0x03, 0x8d, 0x0e, 0x00, 0xdb, 0xb7, 0x00, 0x03, 0x00, 0x77,
  4817. 0x00, 0x0c, 0x00, 0x6f, 0x00, 0xb7, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0c,
  4818. 0x00, 0x6f, 0x00, 0x0854, 0x0850, 0x084c, 0x01ec, 0x01ed, 0x01ee},
  4819. {
  4820. 66, 5330, 0x83, 0x01, 0x01, 0x02, 0x15, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4821. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xcb, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4822. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4823. 0x00, 0x6f, 0x00, 0x0858, 0x0854, 0x0850, 0x01eb, 0x01ec, 0x01ed},
  4824. {
  4825. 68, 5340, 0x7c, 0x01, 0x01, 0x02, 0x16, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4826. 0x03, 0x03, 0x03, 0x8d, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4827. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4828. 0x00, 0x6f, 0x00, 0x085c, 0x0858, 0x0854, 0x01ea, 0x01eb, 0x01ec},
  4829. {
  4830. 70, 5350, 0x7c, 0x01, 0x01, 0x02, 0x17, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4831. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xca, 0xa6, 0x00, 0x03, 0x00, 0x77,
  4832. 0x00, 0x0b, 0x00, 0x6f, 0x00, 0xa6, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0b,
  4833. 0x00, 0x6f, 0x00, 0x0860, 0x085c, 0x0858, 0x01e9, 0x01ea, 0x01eb},
  4834. {
  4835. 72, 5360, 0x75, 0x01, 0x01, 0x02, 0x18, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4836. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4837. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4838. 0x00, 0x6f, 0x00, 0x0864, 0x0860, 0x085c, 0x01e8, 0x01e9, 0x01ea},
  4839. {
  4840. 74, 5370, 0x75, 0x01, 0x01, 0x02, 0x19, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4841. 0x03, 0x03, 0x03, 0x8c, 0x0d, 0x00, 0xc9, 0x95, 0x00, 0x03, 0x00, 0x77,
  4842. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4843. 0x00, 0x6f, 0x00, 0x0868, 0x0864, 0x0860, 0x01e7, 0x01e8, 0x01e9},
  4844. {
  4845. 76, 5380, 0x6e, 0x01, 0x01, 0x02, 0x1a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4846. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x95, 0x00, 0x03, 0x00, 0x77,
  4847. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x95, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4848. 0x00, 0x6f, 0x00, 0x086c, 0x0868, 0x0864, 0x01e6, 0x01e7, 0x01e8},
  4849. {
  4850. 78, 5390, 0x6e, 0x01, 0x01, 0x02, 0x1b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4851. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4852. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4853. 0x00, 0x6f, 0x00, 0x0870, 0x086c, 0x0868, 0x01e5, 0x01e6, 0x01e7},
  4854. {
  4855. 80, 5400, 0x67, 0x01, 0x01, 0x02, 0x1c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4856. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb8, 0x84, 0x00, 0x03, 0x00, 0x77,
  4857. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x03, 0x00, 0x77, 0x00, 0x0a,
  4858. 0x00, 0x6f, 0x00, 0x0874, 0x0870, 0x086c, 0x01e5, 0x01e5, 0x01e6},
  4859. {
  4860. 82, 5410, 0x67, 0x01, 0x01, 0x02, 0x1d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4861. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xb7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4862. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4863. 0x00, 0x6f, 0x00, 0x0878, 0x0874, 0x0870, 0x01e4, 0x01e5, 0x01e5},
  4864. {
  4865. 84, 5420, 0x61, 0x01, 0x01, 0x02, 0x1e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4866. 0x03, 0x03, 0x03, 0x8c, 0x0c, 0x00, 0xa7, 0x84, 0x00, 0x02, 0x00, 0x77,
  4867. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4868. 0x00, 0x6f, 0x00, 0x087c, 0x0878, 0x0874, 0x01e3, 0x01e4, 0x01e5},
  4869. {
  4870. 86, 5430, 0x61, 0x01, 0x01, 0x02, 0x1f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4871. 0x03, 0x03, 0x03, 0x8c, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4872. 0x00, 0x0a, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x0a,
  4873. 0x00, 0x6f, 0x00, 0x0880, 0x087c, 0x0878, 0x01e2, 0x01e3, 0x01e4},
  4874. {
  4875. 88, 5440, 0x5a, 0x01, 0x01, 0x02, 0x20, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4876. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0xa6, 0x84, 0x00, 0x02, 0x00, 0x77,
  4877. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x02, 0x00, 0x77, 0x00, 0x09,
  4878. 0x00, 0x6f, 0x00, 0x0884, 0x0880, 0x087c, 0x01e1, 0x01e2, 0x01e3},
  4879. {
  4880. 90, 5450, 0x5a, 0x01, 0x01, 0x02, 0x21, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4881. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4882. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4883. 0x00, 0x6f, 0x00, 0x0888, 0x0884, 0x0880, 0x01e0, 0x01e1, 0x01e2},
  4884. {
  4885. 92, 5460, 0x53, 0x01, 0x01, 0x02, 0x22, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4886. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x95, 0x84, 0x00, 0x01, 0x00, 0x77,
  4887. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x84, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4888. 0x00, 0x6f, 0x00, 0x088c, 0x0888, 0x0884, 0x01df, 0x01e0, 0x01e1},
  4889. {
  4890. 94, 5470, 0x53, 0x01, 0x01, 0x02, 0x23, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4891. 0x04, 0x04, 0x04, 0x8b, 0x0b, 0x00, 0x94, 0x73, 0x00, 0x01, 0x00, 0x77,
  4892. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x01, 0x00, 0x77, 0x00, 0x09,
  4893. 0x00, 0x6f, 0x00, 0x0890, 0x088c, 0x0888, 0x01de, 0x01df, 0x01e0},
  4894. {
  4895. 96, 5480, 0x4d, 0x01, 0x01, 0x02, 0x24, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4896. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x84, 0x73, 0x00, 0x00, 0x00, 0x77,
  4897. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4898. 0x00, 0x6f, 0x00, 0x0894, 0x0890, 0x088c, 0x01dd, 0x01de, 0x01df},
  4899. {
  4900. 98, 5490, 0x4d, 0x01, 0x01, 0x02, 0x25, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4901. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x83, 0x73, 0x00, 0x00, 0x00, 0x77,
  4902. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4903. 0x00, 0x6f, 0x00, 0x0898, 0x0894, 0x0890, 0x01dd, 0x01dd, 0x01de},
  4904. {
  4905. 100, 5500, 0x47, 0x01, 0x01, 0x02, 0x26, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4906. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4907. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4908. 0x00, 0x6f, 0x00, 0x089c, 0x0898, 0x0894, 0x01dc, 0x01dd, 0x01dd},
  4909. {
  4910. 102, 5510, 0x47, 0x01, 0x01, 0x02, 0x27, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4911. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x82, 0x73, 0x00, 0x00, 0x00, 0x77,
  4912. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4913. 0x00, 0x6f, 0x00, 0x08a0, 0x089c, 0x0898, 0x01db, 0x01dc, 0x01dd},
  4914. {
  4915. 104, 5520, 0x40, 0x01, 0x01, 0x02, 0x28, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4916. 0x04, 0x04, 0x04, 0x8a, 0x0a, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4917. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4918. 0x00, 0x6f, 0x00, 0x08a4, 0x08a0, 0x089c, 0x01da, 0x01db, 0x01dc},
  4919. {
  4920. 106, 5530, 0x40, 0x01, 0x01, 0x02, 0x29, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4921. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x72, 0x73, 0x00, 0x00, 0x00, 0x77,
  4922. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4923. 0x00, 0x6f, 0x00, 0x08a8, 0x08a4, 0x08a0, 0x01d9, 0x01da, 0x01db},
  4924. {
  4925. 108, 5540, 0x3a, 0x01, 0x01, 0x02, 0x2a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4926. 0x04, 0x04, 0x04, 0x8a, 0x09, 0x00, 0x71, 0x73, 0x00, 0x00, 0x00, 0x77,
  4927. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4928. 0x00, 0x6f, 0x00, 0x08ac, 0x08a8, 0x08a4, 0x01d8, 0x01d9, 0x01da},
  4929. {
  4930. 110, 5550, 0x3a, 0x01, 0x01, 0x02, 0x2b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4931. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4932. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4933. 0x00, 0x6f, 0x00, 0x08b0, 0x08ac, 0x08a8, 0x01d7, 0x01d8, 0x01d9},
  4934. {
  4935. 112, 5560, 0x34, 0x01, 0x01, 0x02, 0x2c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4936. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0x77,
  4937. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4938. 0x00, 0x6f, 0x00, 0x08b4, 0x08b0, 0x08ac, 0x01d7, 0x01d7, 0x01d8},
  4939. {
  4940. 114, 5570, 0x34, 0x01, 0x01, 0x02, 0x2d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4941. 0x04, 0x04, 0x04, 0x89, 0x09, 0x00, 0x61, 0x62, 0x00, 0x00, 0x00, 0x77,
  4942. 0x00, 0x09, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x09,
  4943. 0x00, 0x6f, 0x00, 0x08b8, 0x08b4, 0x08b0, 0x01d6, 0x01d7, 0x01d7},
  4944. {
  4945. 116, 5580, 0x2e, 0x01, 0x01, 0x02, 0x2e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4946. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x60, 0x62, 0x00, 0x00, 0x00, 0x77,
  4947. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x62, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4948. 0x00, 0x6f, 0x00, 0x08bc, 0x08b8, 0x08b4, 0x01d5, 0x01d6, 0x01d7},
  4949. {
  4950. 118, 5590, 0x2e, 0x01, 0x01, 0x02, 0x2f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4951. 0x04, 0x04, 0x04, 0x89, 0x08, 0x00, 0x50, 0x61, 0x00, 0x00, 0x00, 0x77,
  4952. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x61, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4953. 0x00, 0x6f, 0x00, 0x08c0, 0x08bc, 0x08b8, 0x01d4, 0x01d5, 0x01d6},
  4954. {
  4955. 120, 5600, 0x28, 0x01, 0x01, 0x02, 0x30, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4956. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4957. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4958. 0x00, 0x6f, 0x00, 0x08c4, 0x08c0, 0x08bc, 0x01d3, 0x01d4, 0x01d5},
  4959. {
  4960. 122, 5610, 0x28, 0x01, 0x01, 0x02, 0x31, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4961. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x51, 0x00, 0x00, 0x00, 0x77,
  4962. 0x00, 0x08, 0x00, 0x6f, 0x00, 0x51, 0x00, 0x00, 0x00, 0x77, 0x00, 0x08,
  4963. 0x00, 0x6f, 0x00, 0x08c8, 0x08c4, 0x08c0, 0x01d2, 0x01d3, 0x01d4},
  4964. {
  4965. 124, 5620, 0x21, 0x01, 0x01, 0x02, 0x32, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4966. 0x05, 0x05, 0x05, 0x89, 0x08, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4967. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4968. 0x00, 0x6f, 0x00, 0x08cc, 0x08c8, 0x08c4, 0x01d2, 0x01d2, 0x01d3},
  4969. {
  4970. 126, 5630, 0x21, 0x01, 0x01, 0x02, 0x33, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4971. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x50, 0x50, 0x00, 0x00, 0x00, 0x77,
  4972. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4973. 0x00, 0x6f, 0x00, 0x08d0, 0x08cc, 0x08c8, 0x01d1, 0x01d2, 0x01d2},
  4974. {
  4975. 128, 5640, 0x1c, 0x01, 0x01, 0x02, 0x34, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4976. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x50, 0x00, 0x00, 0x00, 0x77,
  4977. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x50, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4978. 0x00, 0x6f, 0x00, 0x08d4, 0x08d0, 0x08cc, 0x01d0, 0x01d1, 0x01d2},
  4979. {
  4980. 130, 5650, 0x1c, 0x01, 0x01, 0x02, 0x35, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4981. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4982. 0x00, 0x07, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x07,
  4983. 0x00, 0x6f, 0x00, 0x08d8, 0x08d4, 0x08d0, 0x01cf, 0x01d0, 0x01d1},
  4984. {
  4985. 132, 5660, 0x16, 0x01, 0x01, 0x02, 0x36, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4986. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x77,
  4987. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x40, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4988. 0x00, 0x6f, 0x00, 0x08dc, 0x08d8, 0x08d4, 0x01ce, 0x01cf, 0x01d0},
  4989. {
  4990. 134, 5670, 0x16, 0x01, 0x01, 0x02, 0x37, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4991. 0x05, 0x05, 0x05, 0x88, 0x07, 0x00, 0x40, 0x30, 0x00, 0x00, 0x00, 0x77,
  4992. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4993. 0x00, 0x6f, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce, 0x01ce, 0x01cf},
  4994. {
  4995. 136, 5680, 0x10, 0x01, 0x01, 0x02, 0x38, 0x05, 0x05, 0x02, 0x0c, 0x01,
  4996. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  4997. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  4998. 0x00, 0x6f, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd, 0x01ce, 0x01ce},
  4999. {
  5000. 138, 5690, 0x10, 0x01, 0x01, 0x02, 0x39, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5001. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5002. 0x00, 0x06, 0x00, 0x6f, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5003. 0x00, 0x6f, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc, 0x01cd, 0x01ce},
  5004. {
  5005. 140, 5700, 0x0a, 0x01, 0x01, 0x02, 0x3a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5006. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5007. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5008. 0x00, 0x6e, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb, 0x01cc, 0x01cd},
  5009. {
  5010. 142, 5710, 0x0a, 0x01, 0x01, 0x02, 0x3b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5011. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5012. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5013. 0x00, 0x6e, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca, 0x01cb, 0x01cc},
  5014. {
  5015. 144, 5720, 0x0a, 0x01, 0x01, 0x02, 0x3c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5016. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5017. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5018. 0x00, 0x6e, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9, 0x01ca, 0x01cb},
  5019. {
  5020. 145, 5725, 0x03, 0x01, 0x02, 0x04, 0x79, 0x05, 0x05, 0x02, 0x15, 0x01,
  5021. 0x05, 0x05, 0x05, 0x87, 0x06, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x77,
  5022. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5023. 0x00, 0x6e, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9, 0x01ca, 0x01cb},
  5024. {
  5025. 146, 5730, 0x0a, 0x01, 0x01, 0x02, 0x3d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5026. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5027. 0x00, 0x06, 0x00, 0x6e, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5028. 0x00, 0x6e, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9, 0x01c9, 0x01ca},
  5029. {
  5030. 147, 5735, 0x03, 0x01, 0x02, 0x04, 0x7b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5031. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5032. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5033. 0x00, 0x6d, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8, 0x01c9, 0x01ca},
  5034. {
  5035. 148, 5740, 0x0a, 0x01, 0x01, 0x02, 0x3e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5036. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5037. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5038. 0x00, 0x6d, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8, 0x01c9, 0x01c9},
  5039. {
  5040. 149, 5745, 0xfe, 0x00, 0x02, 0x04, 0x7d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5041. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x77,
  5042. 0x00, 0x06, 0x00, 0x6d, 0x00, 0x30, 0x00, 0x00, 0x00, 0x77, 0x00, 0x06,
  5043. 0x00, 0x6d, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8, 0x01c8, 0x01c9},
  5044. {
  5045. 150, 5750, 0x0a, 0x01, 0x01, 0x02, 0x3f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5046. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00, 0x77,
  5047. 0x00, 0x05, 0x00, 0x6d, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5048. 0x00, 0x6d, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7, 0x01c8, 0x01c9},
  5049. {
  5050. 151, 5755, 0xfe, 0x00, 0x02, 0x04, 0x7f, 0x05, 0x05, 0x02, 0x15, 0x01,
  5051. 0x05, 0x05, 0x05, 0x87, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5052. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5053. 0x00, 0x6c, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7, 0x01c8, 0x01c8},
  5054. {
  5055. 152, 5760, 0x0a, 0x01, 0x01, 0x02, 0x40, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5056. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x20, 0x00, 0x00, 0x00, 0x77,
  5057. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5058. 0x00, 0x6c, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6, 0x01c7, 0x01c8},
  5059. {
  5060. 153, 5765, 0xf8, 0x00, 0x02, 0x04, 0x81, 0x05, 0x05, 0x02, 0x15, 0x01,
  5061. 0x05, 0x05, 0x05, 0x86, 0x05, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5062. 0x00, 0x05, 0x00, 0x6c, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5063. 0x00, 0x6c, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6, 0x01c7, 0x01c8},
  5064. {
  5065. 154, 5770, 0x0a, 0x01, 0x01, 0x02, 0x41, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5066. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5067. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5068. 0x00, 0x6b, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6, 0x01c6, 0x01c7},
  5069. {
  5070. 155, 5775, 0xf8, 0x00, 0x02, 0x04, 0x83, 0x05, 0x05, 0x02, 0x15, 0x01,
  5071. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5072. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5073. 0x00, 0x6b, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5, 0x01c6, 0x01c7},
  5074. {
  5075. 156, 5780, 0x0a, 0x01, 0x01, 0x02, 0x42, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5076. 0x05, 0x05, 0x05, 0x86, 0x04, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x77,
  5077. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5078. 0x00, 0x6b, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5, 0x01c6, 0x01c6},
  5079. {
  5080. 157, 5785, 0xf2, 0x00, 0x02, 0x04, 0x85, 0x05, 0x05, 0x02, 0x15, 0x01,
  5081. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5082. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5083. 0x00, 0x6b, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4, 0x01c5, 0x01c6},
  5084. {
  5085. 158, 5790, 0x0a, 0x01, 0x01, 0x02, 0x43, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5086. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77,
  5087. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x10, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5088. 0x00, 0x6b, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4, 0x01c5, 0x01c6},
  5089. {
  5090. 159, 5795, 0xf2, 0x00, 0x02, 0x04, 0x87, 0x05, 0x05, 0x02, 0x15, 0x01,
  5091. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5092. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5093. 0x00, 0x6b, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4, 0x01c4, 0x01c5},
  5094. {
  5095. 160, 5800, 0x0a, 0x01, 0x01, 0x02, 0x44, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5096. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5097. 0x00, 0x05, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5098. 0x00, 0x6b, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3, 0x01c4, 0x01c5},
  5099. {
  5100. 161, 5805, 0xed, 0x00, 0x02, 0x04, 0x89, 0x05, 0x05, 0x02, 0x15, 0x01,
  5101. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5102. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5103. 0x00, 0x6a, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3, 0x01c4, 0x01c4},
  5104. {
  5105. 162, 5810, 0x0a, 0x01, 0x01, 0x02, 0x45, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5106. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5107. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5108. 0x00, 0x6a, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2, 0x01c3, 0x01c4},
  5109. {
  5110. 163, 5815, 0xed, 0x00, 0x02, 0x04, 0x8b, 0x05, 0x05, 0x02, 0x15, 0x01,
  5111. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5112. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5113. 0x00, 0x6a, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2, 0x01c3, 0x01c4},
  5114. {
  5115. 164, 5820, 0x0a, 0x01, 0x01, 0x02, 0x46, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5116. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5117. 0x00, 0x05, 0x00, 0x6a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5118. 0x00, 0x6a, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2, 0x01c2, 0x01c3},
  5119. {
  5120. 165, 5825, 0xed, 0x00, 0x02, 0x04, 0x8d, 0x05, 0x05, 0x02, 0x15, 0x01,
  5121. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5122. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5123. 0x00, 0x69, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1, 0x01c2, 0x01c3},
  5124. {
  5125. 166, 5830, 0x0a, 0x01, 0x01, 0x02, 0x47, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5126. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5127. 0x00, 0x05, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x05,
  5128. 0x00, 0x69, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1, 0x01c2, 0x01c2},
  5129. {
  5130. 168, 5840, 0x0a, 0x01, 0x01, 0x02, 0x48, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5131. 0x06, 0x06, 0x06, 0x86, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5132. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5133. 0x00, 0x69, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0, 0x01c1, 0x01c2},
  5134. {
  5135. 170, 5850, 0xe0, 0x00, 0x01, 0x02, 0x49, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5136. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5137. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5138. 0x00, 0x69, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf, 0x01c0, 0x01c1},
  5139. {
  5140. 172, 5860, 0xde, 0x00, 0x01, 0x02, 0x4a, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5141. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5142. 0x00, 0x04, 0x00, 0x69, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5143. 0x00, 0x69, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf, 0x01bf, 0x01c0},
  5144. {
  5145. 174, 5870, 0xdb, 0x00, 0x01, 0x02, 0x4b, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5146. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5147. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5148. 0x00, 0x68, 0x00, 0x0930, 0x092c, 0x0928, 0x01be, 0x01bf, 0x01bf},
  5149. {
  5150. 176, 5880, 0xd8, 0x00, 0x01, 0x02, 0x4c, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5151. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5152. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5153. 0x00, 0x68, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd, 0x01be, 0x01bf},
  5154. {
  5155. 178, 5890, 0xd6, 0x00, 0x01, 0x02, 0x4d, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5156. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5157. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5158. 0x00, 0x68, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc, 0x01bd, 0x01be},
  5159. {
  5160. 180, 5900, 0xd3, 0x00, 0x01, 0x02, 0x4e, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5161. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5162. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5163. 0x00, 0x68, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc, 0x01bc, 0x01bd},
  5164. {
  5165. 182, 5910, 0xd6, 0x00, 0x01, 0x02, 0x4f, 0x05, 0x05, 0x02, 0x0c, 0x01,
  5166. 0x06, 0x06, 0x06, 0x85, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77,
  5167. 0x00, 0x04, 0x00, 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x77, 0x00, 0x04,
  5168. 0x00, 0x68, 0x00, 0x0940, 0x093c, 0x0938, 0x01bb, 0x01bc, 0x01bc},
  5169. {
  5170. 1, 2412, 0x00, 0x01, 0x03, 0x09, 0x6c, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5171. 0x04, 0x04, 0x04, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5172. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5173. 0x0b, 0x00, 0x0a, 0x03c9, 0x03c5, 0x03c1, 0x043a, 0x043f, 0x0443},
  5174. {
  5175. 2, 2417, 0x00, 0x01, 0x03, 0x09, 0x71, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5176. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x78, 0x00, 0x03, 0x00,
  5177. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5178. 0x0b, 0x00, 0x0a, 0x03cb, 0x03c7, 0x03c3, 0x0438, 0x043d, 0x0441},
  5179. {
  5180. 3, 2422, 0x00, 0x01, 0x03, 0x09, 0x76, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5181. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x67, 0x00, 0x03, 0x00,
  5182. 0x70, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x89, 0x00, 0x03, 0x00, 0x70, 0x00,
  5183. 0x0b, 0x00, 0x0a, 0x03cd, 0x03c9, 0x03c5, 0x0436, 0x043a, 0x043f},
  5184. {
  5185. 4, 2427, 0x00, 0x01, 0x03, 0x09, 0x7b, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5186. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x57, 0x00, 0x03, 0x00,
  5187. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x78, 0x00, 0x03, 0x00, 0x70, 0x00,
  5188. 0x0a, 0x00, 0x0a, 0x03cf, 0x03cb, 0x03c7, 0x0434, 0x0438, 0x043d},
  5189. {
  5190. 5, 2432, 0x00, 0x01, 0x03, 0x09, 0x80, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5191. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x56, 0x00, 0x03, 0x00,
  5192. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x77, 0x00, 0x03, 0x00, 0x70, 0x00,
  5193. 0x0a, 0x00, 0x0a, 0x03d1, 0x03cd, 0x03c9, 0x0431, 0x0436, 0x043a},
  5194. {
  5195. 6, 2437, 0x00, 0x01, 0x03, 0x09, 0x85, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5196. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x46, 0x00, 0x03, 0x00,
  5197. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x76, 0x00, 0x03, 0x00, 0x70, 0x00,
  5198. 0x0a, 0x00, 0x0a, 0x03d3, 0x03cf, 0x03cb, 0x042f, 0x0434, 0x0438},
  5199. {
  5200. 7, 2442, 0x00, 0x01, 0x03, 0x09, 0x8a, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5201. 0x05, 0x05, 0x05, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x45, 0x00, 0x02, 0x00,
  5202. 0x70, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x66, 0x00, 0x02, 0x00, 0x70, 0x00,
  5203. 0x0a, 0x00, 0x0a, 0x03d5, 0x03d1, 0x03cd, 0x042d, 0x0431, 0x0436},
  5204. {
  5205. 8, 2447, 0x00, 0x01, 0x03, 0x09, 0x8f, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5206. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x34, 0x00, 0x02, 0x00,
  5207. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x55, 0x00, 0x02, 0x00, 0x70, 0x00,
  5208. 0x0a, 0x00, 0x09, 0x03d7, 0x03d3, 0x03cf, 0x042b, 0x042f, 0x0434},
  5209. {
  5210. 9, 2452, 0x00, 0x01, 0x03, 0x09, 0x94, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5211. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x23, 0x00, 0x02, 0x00,
  5212. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x45, 0x00, 0x02, 0x00, 0x70, 0x00,
  5213. 0x0a, 0x00, 0x09, 0x03d9, 0x03d5, 0x03d1, 0x0429, 0x042d, 0x0431},
  5214. {
  5215. 10, 2457, 0x00, 0x01, 0x03, 0x09, 0x99, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5216. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x12, 0x00, 0x02, 0x00,
  5217. 0x70, 0x00, 0x0a, 0x00, 0x09, 0x00, 0x34, 0x00, 0x02, 0x00, 0x70, 0x00,
  5218. 0x0a, 0x00, 0x09, 0x03db, 0x03d7, 0x03d3, 0x0427, 0x042b, 0x042f},
  5219. {
  5220. 11, 2462, 0x00, 0x01, 0x03, 0x09, 0x9e, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5221. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00,
  5222. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x33, 0x00, 0x02, 0x00, 0x70, 0x00,
  5223. 0x09, 0x00, 0x09, 0x03dd, 0x03d9, 0x03d5, 0x0424, 0x0429, 0x042d},
  5224. {
  5225. 12, 2467, 0x00, 0x01, 0x03, 0x09, 0xa3, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5226. 0x06, 0x06, 0x06, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5227. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x22, 0x00, 0x02, 0x00, 0x70, 0x00,
  5228. 0x09, 0x00, 0x09, 0x03df, 0x03db, 0x03d7, 0x0422, 0x0427, 0x042b},
  5229. {
  5230. 13, 2472, 0x00, 0x01, 0x03, 0x09, 0xa8, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5231. 0x07, 0x07, 0x07, 0x8f, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00,
  5232. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x11, 0x00, 0x02, 0x00, 0x70, 0x00,
  5233. 0x09, 0x00, 0x09, 0x03e1, 0x03dd, 0x03d9, 0x0420, 0x0424, 0x0429},
  5234. {
  5235. 14, 2484, 0xff, 0x01, 0x03, 0x09, 0xb4, 0x06, 0x06, 0x04, 0x2b, 0x01,
  5236. 0x07, 0x07, 0x07, 0x8f, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
  5237. 0x70, 0x00, 0x09, 0x00, 0x09, 0x00, 0x00, 0x00, 0x02, 0x00, 0x70, 0x00,
  5238. 0x09, 0x00, 0x09, 0x03e6, 0x03e2, 0x03de, 0x041b, 0x041f, 0x0424}
  5239. };
  5240. static const struct chan_info_nphy_radio2057 chan_info_nphyrev7_2057_rev4[] = {
  5241. {
  5242. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  5243. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5244. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  5245. 0x0215,
  5246. 0x0216,
  5247. },
  5248. {
  5249. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  5250. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5251. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  5252. 0x0214,
  5253. 0x0215,
  5254. },
  5255. {
  5256. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  5257. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5258. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  5259. 0x0213,
  5260. 0x0214,
  5261. },
  5262. {
  5263. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  5264. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5265. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  5266. 0x0212,
  5267. 0x0213,
  5268. },
  5269. {
  5270. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  5271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5272. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  5273. 0x0211,
  5274. 0x0212,
  5275. },
  5276. {
  5277. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  5278. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5279. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  5280. 0x020f,
  5281. 0x0211,
  5282. },
  5283. {
  5284. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  5285. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5286. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  5287. 0x020e,
  5288. 0x020f,
  5289. },
  5290. {
  5291. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  5292. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5293. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  5294. 0x020d,
  5295. 0x020e,
  5296. },
  5297. {
  5298. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  5299. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5300. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  5301. 0x020c,
  5302. 0x020d,
  5303. },
  5304. {
  5305. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  5306. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5307. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  5308. 0x020b,
  5309. 0x020c,
  5310. },
  5311. {
  5312. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  5313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5314. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  5315. 0x020a,
  5316. 0x020b,
  5317. },
  5318. {
  5319. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  5320. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5321. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  5322. 0x0209,
  5323. 0x020a,
  5324. },
  5325. {
  5326. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  5327. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5328. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  5329. 0x0208,
  5330. 0x0209,
  5331. },
  5332. {
  5333. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  5334. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x00,
  5335. 0x00, 0x0f, 0x0f, 0xf3, 0x00, 0xef, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  5336. 0x0207,
  5337. 0x0208,
  5338. },
  5339. {
  5340. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  5341. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5342. 0x00, 0x0f, 0x0f, 0xe3, 0x00, 0xef, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  5343. 0x0206,
  5344. 0x0207,
  5345. },
  5346. {
  5347. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  5348. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5349. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  5350. 0x0205,
  5351. 0x0206,
  5352. },
  5353. {
  5354. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  5355. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x00,
  5356. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xef, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  5357. 0x0204,
  5358. 0x0205,
  5359. },
  5360. {
  5361. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  5362. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5363. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  5364. 0x0203,
  5365. 0x0204,
  5366. },
  5367. {
  5368. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  5369. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5370. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  5371. 0x0202,
  5372. 0x0203,
  5373. },
  5374. {
  5375. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  5376. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5377. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0800, 0x07fc, 0x07f8, 0x0200,
  5378. 0x0201,
  5379. 0x0202,
  5380. },
  5381. {
  5382. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  5383. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5384. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0804, 0x0800, 0x07fc, 0x01ff,
  5385. 0x0200,
  5386. 0x0201,
  5387. },
  5388. {
  5389. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  5390. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x00,
  5391. 0x00, 0x0e, 0x0f, 0xe3, 0x00, 0xd6, 0x0808, 0x0804, 0x0800, 0x01fe,
  5392. 0x01ff,
  5393. 0x0200,
  5394. },
  5395. {
  5396. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  5397. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5398. 0x00, 0x0e, 0x0e, 0xe3, 0x00, 0xd6, 0x080c, 0x0808, 0x0804, 0x01fd,
  5399. 0x01fe,
  5400. 0x01ff,
  5401. },
  5402. {
  5403. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  5404. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5405. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0814, 0x0810, 0x080c, 0x01fb,
  5406. 0x01fc,
  5407. 0x01fd,
  5408. },
  5409. {
  5410. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  5411. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x00,
  5412. 0x00, 0x0d, 0x0e, 0xe3, 0x00, 0xd6, 0x0818, 0x0814, 0x0810, 0x01fa,
  5413. 0x01fb,
  5414. 0x01fc,
  5415. },
  5416. {
  5417. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  5418. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5419. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x081c, 0x0818, 0x0814, 0x01f9,
  5420. 0x01fa,
  5421. 0x01fb,
  5422. },
  5423. {
  5424. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  5425. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5426. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0820, 0x081c, 0x0818, 0x01f8,
  5427. 0x01f9,
  5428. 0x01fa,
  5429. },
  5430. {
  5431. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  5432. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5433. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0824, 0x0820, 0x081c, 0x01f7,
  5434. 0x01f8,
  5435. 0x01f9,
  5436. },
  5437. {
  5438. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  5439. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5440. 0x00, 0x0d, 0x0e, 0xd3, 0x00, 0xd6, 0x0828, 0x0824, 0x0820, 0x01f6,
  5441. 0x01f7,
  5442. 0x01f8,
  5443. },
  5444. {
  5445. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  5446. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5447. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x082c, 0x0828, 0x0824, 0x01f5,
  5448. 0x01f6,
  5449. 0x01f7,
  5450. },
  5451. {
  5452. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  5453. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5454. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0830, 0x082c, 0x0828, 0x01f4,
  5455. 0x01f5,
  5456. 0x01f6,
  5457. },
  5458. {
  5459. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  5460. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5461. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0834, 0x0830, 0x082c, 0x01f3,
  5462. 0x01f4,
  5463. 0x01f5,
  5464. },
  5465. {
  5466. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  5467. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x00,
  5468. 0x00, 0x0c, 0x0e, 0xd3, 0x00, 0xd6, 0x0838, 0x0834, 0x0830, 0x01f2,
  5469. 0x01f3,
  5470. 0x01f4,
  5471. },
  5472. {
  5473. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  5474. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5475. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x083c, 0x0838, 0x0834, 0x01f1,
  5476. 0x01f2,
  5477. 0x01f3,
  5478. },
  5479. {
  5480. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  5481. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x00,
  5482. 0x00, 0x0c, 0x0d, 0xd3, 0x00, 0xd6, 0x0840, 0x083c, 0x0838, 0x01f0,
  5483. 0x01f1,
  5484. 0x01f2,
  5485. },
  5486. {
  5487. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  5488. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5489. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0844, 0x0840, 0x083c, 0x01f0,
  5490. 0x01f0,
  5491. 0x01f1,
  5492. },
  5493. {
  5494. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  5495. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5496. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x0848, 0x0844, 0x0840, 0x01ef,
  5497. 0x01f0,
  5498. 0x01f0,
  5499. },
  5500. {
  5501. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  5502. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5503. 0x00, 0x0c, 0x0c, 0xc3, 0x00, 0xd4, 0x084c, 0x0848, 0x0844, 0x01ee,
  5504. 0x01ef,
  5505. 0x01f0,
  5506. },
  5507. {
  5508. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  5509. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5510. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0850, 0x084c, 0x0848, 0x01ed,
  5511. 0x01ee,
  5512. 0x01ef,
  5513. },
  5514. {
  5515. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  5516. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5517. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0854, 0x0850, 0x084c, 0x01ec,
  5518. 0x01ed,
  5519. 0x01ee,
  5520. },
  5521. {
  5522. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  5523. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x00,
  5524. 0x00, 0x0b, 0x0c, 0xc3, 0x00, 0xd4, 0x0858, 0x0854, 0x0850, 0x01eb,
  5525. 0x01ec,
  5526. 0x01ed,
  5527. },
  5528. {
  5529. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  5530. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x00,
  5531. 0x00, 0x0a, 0x0c, 0xc3, 0x00, 0xa1, 0x085c, 0x0858, 0x0854, 0x01ea,
  5532. 0x01eb,
  5533. 0x01ec,
  5534. },
  5535. {
  5536. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  5537. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5538. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0860, 0x085c, 0x0858, 0x01e9,
  5539. 0x01ea,
  5540. 0x01eb,
  5541. },
  5542. {
  5543. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  5544. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5545. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0864, 0x0860, 0x085c, 0x01e8,
  5546. 0x01e9,
  5547. 0x01ea,
  5548. },
  5549. {
  5550. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  5551. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5552. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x0868, 0x0864, 0x0860, 0x01e7,
  5553. 0x01e8,
  5554. 0x01e9,
  5555. },
  5556. {
  5557. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  5558. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x00,
  5559. 0x00, 0x0a, 0x0b, 0xb3, 0x00, 0xa1, 0x086c, 0x0868, 0x0864, 0x01e6,
  5560. 0x01e7,
  5561. 0x01e8,
  5562. },
  5563. {
  5564. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  5565. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x00,
  5566. 0x00, 0x0a, 0x0a, 0xa3, 0x00, 0xa1, 0x0870, 0x086c, 0x0868, 0x01e5,
  5567. 0x01e6,
  5568. 0x01e7,
  5569. },
  5570. {
  5571. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  5572. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5573. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0874, 0x0870, 0x086c, 0x01e5,
  5574. 0x01e5,
  5575. 0x01e6,
  5576. },
  5577. {
  5578. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  5579. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x00,
  5580. 0x00, 0x09, 0x0a, 0xa3, 0x00, 0x90, 0x0878, 0x0874, 0x0870, 0x01e4,
  5581. 0x01e5,
  5582. 0x01e5,
  5583. },
  5584. {
  5585. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  5586. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x00,
  5587. 0x00, 0x09, 0x09, 0xa3, 0x00, 0x90, 0x087c, 0x0878, 0x0874, 0x01e3,
  5588. 0x01e4,
  5589. 0x01e5,
  5590. },
  5591. {
  5592. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  5593. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5594. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0880, 0x087c, 0x0878, 0x01e2,
  5595. 0x01e3,
  5596. 0x01e4,
  5597. },
  5598. {
  5599. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  5600. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5601. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0884, 0x0880, 0x087c, 0x01e1,
  5602. 0x01e2,
  5603. 0x01e3,
  5604. },
  5605. {
  5606. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  5607. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x00,
  5608. 0x00, 0x09, 0x09, 0x93, 0x00, 0x90, 0x0888, 0x0884, 0x0880, 0x01e0,
  5609. 0x01e1,
  5610. 0x01e2,
  5611. },
  5612. {
  5613. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  5614. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x00,
  5615. 0x00, 0x08, 0x08, 0x93, 0x00, 0x90, 0x088c, 0x0888, 0x0884, 0x01df,
  5616. 0x01e0,
  5617. 0x01e1,
  5618. },
  5619. {
  5620. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  5621. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x00,
  5622. 0x00, 0x08, 0x08, 0x93, 0x00, 0x60, 0x0890, 0x088c, 0x0888, 0x01de,
  5623. 0x01df,
  5624. 0x01e0,
  5625. },
  5626. {
  5627. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  5628. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5629. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0894, 0x0890, 0x088c, 0x01dd,
  5630. 0x01de,
  5631. 0x01df,
  5632. },
  5633. {
  5634. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  5635. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5636. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x0898, 0x0894, 0x0890, 0x01dd,
  5637. 0x01dd,
  5638. 0x01de,
  5639. },
  5640. {
  5641. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  5642. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5643. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x089c, 0x0898, 0x0894, 0x01dc,
  5644. 0x01dd,
  5645. 0x01dd,
  5646. },
  5647. {
  5648. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  5649. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x00,
  5650. 0x00, 0x08, 0x07, 0x93, 0x00, 0x60, 0x08a0, 0x089c, 0x0898, 0x01db,
  5651. 0x01dc,
  5652. 0x01dd,
  5653. },
  5654. {
  5655. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  5656. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5657. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a4, 0x08a0, 0x089c, 0x01da,
  5658. 0x01db,
  5659. 0x01dc,
  5660. },
  5661. {
  5662. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  5663. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5664. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  5665. 0x01da,
  5666. 0x01db,
  5667. },
  5668. {
  5669. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  5670. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x00,
  5671. 0x00, 0x08, 0x06, 0x93, 0x00, 0x60, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  5672. 0x01d9,
  5673. 0x01da,
  5674. },
  5675. {
  5676. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  5677. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5678. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  5679. 0x01d8,
  5680. 0x01d9,
  5681. },
  5682. {
  5683. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  5684. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5685. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  5686. 0x01d7,
  5687. 0x01d8,
  5688. },
  5689. {
  5690. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  5691. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x00,
  5692. 0x00, 0x08, 0x05, 0x83, 0x00, 0x60, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  5693. 0x01d7,
  5694. 0x01d7,
  5695. },
  5696. {
  5697. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  5698. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x00,
  5699. 0x00, 0x07, 0x05, 0x83, 0x00, 0x60, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  5700. 0x01d6,
  5701. 0x01d7,
  5702. },
  5703. {
  5704. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  5705. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x00,
  5706. 0x00, 0x07, 0x04, 0x83, 0x00, 0x60, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  5707. 0x01d5,
  5708. 0x01d6,
  5709. },
  5710. {
  5711. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  5712. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x00,
  5713. 0x00, 0x07, 0x04, 0x73, 0x00, 0x30, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  5714. 0x01d4,
  5715. 0x01d5,
  5716. },
  5717. {
  5718. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  5719. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5720. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  5721. 0x01d3,
  5722. 0x01d4,
  5723. },
  5724. {
  5725. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  5726. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5727. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  5728. 0x01d2,
  5729. 0x01d3,
  5730. },
  5731. {
  5732. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  5733. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5734. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  5735. 0x01d2,
  5736. 0x01d2,
  5737. },
  5738. {
  5739. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  5740. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x00,
  5741. 0x00, 0x06, 0x04, 0x73, 0x00, 0x30, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  5742. 0x01d1,
  5743. 0x01d2,
  5744. },
  5745. {
  5746. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  5747. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5748. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  5749. 0x01d0,
  5750. 0x01d1,
  5751. },
  5752. {
  5753. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  5754. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x00,
  5755. 0x00, 0x06, 0x03, 0x63, 0x00, 0x30, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  5756. 0x01cf,
  5757. 0x01d0,
  5758. },
  5759. {
  5760. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  5761. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x00,
  5762. 0x00, 0x05, 0x03, 0x63, 0x00, 0x00, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  5763. 0x01ce,
  5764. 0x01cf,
  5765. },
  5766. {
  5767. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  5768. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5769. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  5770. 0x01ce,
  5771. 0x01ce,
  5772. },
  5773. {
  5774. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  5775. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5776. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  5777. 0x01cd,
  5778. 0x01ce,
  5779. },
  5780. {
  5781. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  5782. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5783. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  5784. 0x01cc,
  5785. 0x01cd,
  5786. },
  5787. {
  5788. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  5789. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5790. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  5791. 0x01cb,
  5792. 0x01cc,
  5793. },
  5794. {
  5795. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  5796. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x00,
  5797. 0x00, 0x05, 0x02, 0x53, 0x00, 0x00, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  5798. 0x01ca,
  5799. 0x01cb,
  5800. },
  5801. {
  5802. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  5803. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x00,
  5804. 0x00, 0x05, 0x01, 0x53, 0x00, 0x00, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  5805. 0x01ca,
  5806. 0x01cb,
  5807. },
  5808. {
  5809. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  5810. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5811. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  5812. 0x01c9,
  5813. 0x01ca,
  5814. },
  5815. {
  5816. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  5817. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5818. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  5819. 0x01c9,
  5820. 0x01ca,
  5821. },
  5822. {
  5823. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  5824. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5825. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  5826. 0x01c9,
  5827. 0x01c9,
  5828. },
  5829. {
  5830. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  5831. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5832. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  5833. 0x01c8,
  5834. 0x01c9,
  5835. },
  5836. {
  5837. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  5838. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5839. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  5840. 0x01c8,
  5841. 0x01c9,
  5842. },
  5843. {
  5844. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  5845. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x00,
  5846. 0x00, 0x04, 0x01, 0x53, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  5847. 0x01c8,
  5848. 0x01c8,
  5849. },
  5850. {
  5851. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  5852. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5853. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  5854. 0x01c7,
  5855. 0x01c8,
  5856. },
  5857. {
  5858. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  5859. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5860. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  5861. 0x01c7,
  5862. 0x01c8,
  5863. },
  5864. {
  5865. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  5866. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5867. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  5868. 0x01c6,
  5869. 0x01c7,
  5870. },
  5871. {
  5872. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  5873. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x00,
  5874. 0x00, 0x04, 0x01, 0x43, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  5875. 0x01c6,
  5876. 0x01c7,
  5877. },
  5878. {
  5879. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  5880. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x00,
  5881. 0x00, 0x03, 0x01, 0x43, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  5882. 0x01c6,
  5883. 0x01c6,
  5884. },
  5885. {
  5886. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  5887. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5888. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  5889. 0x01c5,
  5890. 0x01c6,
  5891. },
  5892. {
  5893. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  5894. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5895. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  5896. 0x01c5,
  5897. 0x01c6,
  5898. },
  5899. {
  5900. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  5901. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5902. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  5903. 0x01c4,
  5904. 0x01c5,
  5905. },
  5906. {
  5907. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  5908. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5909. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  5910. 0x01c4,
  5911. 0x01c5,
  5912. },
  5913. {
  5914. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  5915. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5916. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  5917. 0x01c4,
  5918. 0x01c4,
  5919. },
  5920. {
  5921. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  5922. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5923. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  5924. 0x01c3,
  5925. 0x01c4,
  5926. },
  5927. {
  5928. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  5929. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5930. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  5931. 0x01c3,
  5932. 0x01c4,
  5933. },
  5934. {
  5935. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  5936. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5937. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  5938. 0x01c2,
  5939. 0x01c3,
  5940. },
  5941. {
  5942. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  5943. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5944. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  5945. 0x01c2,
  5946. 0x01c3,
  5947. },
  5948. {
  5949. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  5950. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5951. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  5952. 0x01c2,
  5953. 0x01c2,
  5954. },
  5955. {
  5956. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  5957. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5958. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  5959. 0x01c1,
  5960. 0x01c2,
  5961. },
  5962. {
  5963. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  5964. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5965. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  5966. 0x01c0,
  5967. 0x01c1,
  5968. },
  5969. {
  5970. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  5971. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5972. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  5973. 0x01bf,
  5974. 0x01c0,
  5975. },
  5976. {
  5977. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  5978. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5979. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  5980. 0x01bf,
  5981. 0x01bf,
  5982. },
  5983. {
  5984. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  5985. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5986. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  5987. 0x01be,
  5988. 0x01bf,
  5989. },
  5990. {
  5991. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  5992. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  5993. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  5994. 0x01bd,
  5995. 0x01be,
  5996. },
  5997. {
  5998. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  5999. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x00,
  6000. 0x00, 0x03, 0x00, 0x43, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6001. 0x01bc,
  6002. 0x01bd,
  6003. },
  6004. {
  6005. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6006. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6007. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6008. 0x043f,
  6009. 0x0443,
  6010. },
  6011. {
  6012. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6013. 0x0a, 0x00, 0x0a, 0x00, 0x71, 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6014. 0xa3, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6015. 0x043d,
  6016. 0x0441,
  6017. },
  6018. {
  6019. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6020. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6021. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6022. 0x043a,
  6023. 0x043f,
  6024. },
  6025. {
  6026. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6027. 0x09, 0x00, 0x09, 0x00, 0x71, 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x71,
  6028. 0x93, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6029. 0x0438,
  6030. 0x043d,
  6031. },
  6032. {
  6033. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6034. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6035. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6036. 0x0436,
  6037. 0x043a,
  6038. },
  6039. {
  6040. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6041. 0x08, 0x00, 0x08, 0x00, 0x51, 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6042. 0x83, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6043. 0x0434,
  6044. 0x0438,
  6045. },
  6046. {
  6047. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6048. 0x07, 0x00, 0x07, 0x00, 0x51, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x51,
  6049. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6050. 0x0431,
  6051. 0x0436,
  6052. },
  6053. {
  6054. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6055. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6056. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6057. 0x042f,
  6058. 0x0434,
  6059. },
  6060. {
  6061. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6062. 0x07, 0x00, 0x07, 0x00, 0x31, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6063. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6064. 0x042d,
  6065. 0x0431,
  6066. },
  6067. {
  6068. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6069. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6070. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6071. 0x042b,
  6072. 0x042f,
  6073. },
  6074. {
  6075. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6076. 0x06, 0x00, 0x06, 0x00, 0x31, 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x31,
  6077. 0x63, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6078. 0x0429,
  6079. 0x042d,
  6080. },
  6081. {
  6082. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6083. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6084. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6085. 0x0427,
  6086. 0x042b,
  6087. },
  6088. {
  6089. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6090. 0x05, 0x00, 0x05, 0x00, 0x11, 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x11,
  6091. 0x53, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6092. 0x0424,
  6093. 0x0429,
  6094. },
  6095. {
  6096. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6097. 0x04, 0x00, 0x04, 0x00, 0x11, 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x11,
  6098. 0x43, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6099. 0x041f,
  6100. 0x0424}
  6101. };
  6102. static const struct chan_info_nphy_radio2057_rev5
  6103. chan_info_nphyrev8_2057_rev5[] = {
  6104. {
  6105. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6106. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6107. 0x043a, 0x043f, 0x0443},
  6108. {
  6109. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6110. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6111. 0x0438, 0x043d, 0x0441},
  6112. {
  6113. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6114. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6115. 0x0436, 0x043a, 0x043f},
  6116. {
  6117. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6118. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6119. 0x0434, 0x0438, 0x043d},
  6120. {
  6121. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6122. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6123. 0x0431, 0x0436, 0x043a},
  6124. {
  6125. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6126. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6127. 0x042f, 0x0434, 0x0438},
  6128. {
  6129. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6130. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6131. 0x042d, 0x0431, 0x0436},
  6132. {
  6133. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6134. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6135. 0x042b, 0x042f, 0x0434},
  6136. {
  6137. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6138. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6139. 0x0429, 0x042d, 0x0431},
  6140. {
  6141. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6142. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6143. 0x0427, 0x042b, 0x042f},
  6144. {
  6145. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6146. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6147. 0x0424, 0x0429, 0x042d},
  6148. {
  6149. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6150. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6151. 0x0422, 0x0427, 0x042b},
  6152. {
  6153. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6154. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6155. 0x0420, 0x0424, 0x0429},
  6156. {
  6157. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6158. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6159. 0x041b, 0x041f, 0x0424}
  6160. };
  6161. static const struct chan_info_nphy_radio2057_rev5
  6162. chan_info_nphyrev9_2057_rev5v1[] = {
  6163. {
  6164. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0d,
  6165. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03c9, 0x03c5, 0x03c1,
  6166. 0x043a, 0x043f, 0x0443},
  6167. {
  6168. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0d,
  6169. 0x08, 0x0e, 0x61, 0x03, 0xff, 0x61, 0x03, 0xff, 0x03cb, 0x03c7, 0x03c3,
  6170. 0x0438, 0x043d, 0x0441},
  6171. {
  6172. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0d,
  6173. 0x08, 0x0e, 0x61, 0x03, 0xef, 0x61, 0x03, 0xef, 0x03cd, 0x03c9, 0x03c5,
  6174. 0x0436, 0x043a, 0x043f},
  6175. {
  6176. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0c,
  6177. 0x08, 0x0e, 0x61, 0x03, 0xdf, 0x61, 0x03, 0xdf, 0x03cf, 0x03cb, 0x03c7,
  6178. 0x0434, 0x0438, 0x043d},
  6179. {
  6180. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0c,
  6181. 0x07, 0x0d, 0x61, 0x03, 0xcf, 0x61, 0x03, 0xcf, 0x03d1, 0x03cd, 0x03c9,
  6182. 0x0431, 0x0436, 0x043a},
  6183. {
  6184. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0c,
  6185. 0x07, 0x0d, 0x61, 0x03, 0xbf, 0x61, 0x03, 0xbf, 0x03d3, 0x03cf, 0x03cb,
  6186. 0x042f, 0x0434, 0x0438},
  6187. {
  6188. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0b,
  6189. 0x07, 0x0d, 0x61, 0x03, 0xaf, 0x61, 0x03, 0xaf, 0x03d5, 0x03d1, 0x03cd,
  6190. 0x042d, 0x0431, 0x0436},
  6191. {
  6192. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0b,
  6193. 0x07, 0x0d, 0x61, 0x03, 0x9f, 0x61, 0x03, 0x9f, 0x03d7, 0x03d3, 0x03cf,
  6194. 0x042b, 0x042f, 0x0434},
  6195. {
  6196. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0b,
  6197. 0x07, 0x0d, 0x61, 0x03, 0x8f, 0x61, 0x03, 0x8f, 0x03d9, 0x03d5, 0x03d1,
  6198. 0x0429, 0x042d, 0x0431},
  6199. {
  6200. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0b,
  6201. 0x07, 0x0c, 0x61, 0x03, 0x7f, 0x61, 0x03, 0x7f, 0x03db, 0x03d7, 0x03d3,
  6202. 0x0427, 0x042b, 0x042f},
  6203. {
  6204. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0b,
  6205. 0x07, 0x0c, 0x61, 0x03, 0x6f, 0x61, 0x03, 0x6f, 0x03dd, 0x03d9, 0x03d5,
  6206. 0x0424, 0x0429, 0x042d},
  6207. {
  6208. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0b,
  6209. 0x06, 0x0c, 0x61, 0x03, 0x5f, 0x61, 0x03, 0x5f, 0x03df, 0x03db, 0x03d7,
  6210. 0x0422, 0x0427, 0x042b},
  6211. {
  6212. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0a,
  6213. 0x06, 0x0b, 0x61, 0x03, 0x4f, 0x61, 0x03, 0x4f, 0x03e1, 0x03dd, 0x03d9,
  6214. 0x0420, 0x0424, 0x0429},
  6215. {
  6216. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0a,
  6217. 0x06, 0x0b, 0x61, 0x03, 0x3f, 0x61, 0x03, 0x3f, 0x03e6, 0x03e2, 0x03de,
  6218. 0x041b, 0x041f, 0x0424}
  6219. };
  6220. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev7[] = {
  6221. {
  6222. 184, 4920, 0x68, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xec, 0x01, 0x0f,
  6223. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6224. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b4, 0x07b0, 0x07ac, 0x0214,
  6225. 0x0215,
  6226. 0x0216},
  6227. {
  6228. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6229. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6230. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6231. 0x0214,
  6232. 0x0215},
  6233. {
  6234. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6235. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6236. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6237. 0x0213,
  6238. 0x0214},
  6239. {
  6240. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6241. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6242. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6243. 0x0212,
  6244. 0x0213},
  6245. {
  6246. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6247. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6248. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6249. 0x0211,
  6250. 0x0212},
  6251. {
  6252. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6253. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6254. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6255. 0x020f,
  6256. 0x0211},
  6257. {
  6258. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6259. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6260. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6261. 0x020e,
  6262. 0x020f},
  6263. {
  6264. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6265. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6266. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  6267. 0x020d,
  6268. 0x020e},
  6269. {
  6270. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  6271. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6272. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  6273. 0x020c,
  6274. 0x020d},
  6275. {
  6276. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  6277. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6278. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  6279. 0x020b,
  6280. 0x020c},
  6281. {
  6282. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  6283. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6284. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  6285. 0x020a,
  6286. 0x020b},
  6287. {
  6288. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  6289. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6290. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  6291. 0x0209,
  6292. 0x020a},
  6293. {
  6294. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  6295. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6296. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  6297. 0x0208,
  6298. 0x0209},
  6299. {
  6300. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  6301. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6302. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  6303. 0x0207,
  6304. 0x0208},
  6305. {
  6306. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  6307. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6308. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  6309. 0x0206,
  6310. 0x0207},
  6311. {
  6312. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  6313. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6314. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  6315. 0x0205,
  6316. 0x0206},
  6317. {
  6318. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  6319. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6320. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  6321. 0x0204,
  6322. 0x0205},
  6323. {
  6324. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  6325. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  6326. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  6327. 0x0203,
  6328. 0x0204},
  6329. {
  6330. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  6331. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6332. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  6333. 0x0202,
  6334. 0x0203},
  6335. {
  6336. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  6337. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6338. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  6339. 0x0201,
  6340. 0x0202},
  6341. {
  6342. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  6343. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6344. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  6345. 0x0200,
  6346. 0x0201},
  6347. {
  6348. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  6349. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6350. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  6351. 0x01ff,
  6352. 0x0200},
  6353. {
  6354. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  6355. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6356. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  6357. 0x01fe,
  6358. 0x01ff},
  6359. {
  6360. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  6361. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6362. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  6363. 0x01fc,
  6364. 0x01fd},
  6365. {
  6366. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  6367. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6368. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  6369. 0x01fb,
  6370. 0x01fc},
  6371. {
  6372. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  6373. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6374. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  6375. 0x01fa,
  6376. 0x01fb},
  6377. {
  6378. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  6379. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  6380. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  6381. 0x01f9,
  6382. 0x01fa},
  6383. {
  6384. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  6385. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6386. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  6387. 0x01f8,
  6388. 0x01f9},
  6389. {
  6390. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  6391. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6392. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  6393. 0x01f7,
  6394. 0x01f8},
  6395. {
  6396. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  6397. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6398. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  6399. 0x01f6,
  6400. 0x01f7},
  6401. {
  6402. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  6403. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6404. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  6405. 0x01f5,
  6406. 0x01f6},
  6407. {
  6408. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  6409. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6410. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  6411. 0x01f4,
  6412. 0x01f5},
  6413. {
  6414. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  6415. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6416. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  6417. 0x01f3,
  6418. 0x01f4},
  6419. {
  6420. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  6421. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6422. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  6423. 0x01f2,
  6424. 0x01f3},
  6425. {
  6426. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  6427. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6428. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  6429. 0x01f1,
  6430. 0x01f2},
  6431. {
  6432. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  6433. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6434. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  6435. 0x01f0,
  6436. 0x01f1},
  6437. {
  6438. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  6439. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  6440. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  6441. 0x01f0,
  6442. 0x01f0},
  6443. {
  6444. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  6445. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6446. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  6447. 0x01ef,
  6448. 0x01f0},
  6449. {
  6450. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  6451. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6452. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  6453. 0x01ee,
  6454. 0x01ef},
  6455. {
  6456. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  6457. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6458. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  6459. 0x01ed,
  6460. 0x01ee},
  6461. {
  6462. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  6463. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6464. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  6465. 0x01ec,
  6466. 0x01ed},
  6467. {
  6468. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  6469. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6470. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  6471. 0x01eb,
  6472. 0x01ec},
  6473. {
  6474. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  6475. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6476. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  6477. 0x01ea,
  6478. 0x01eb},
  6479. {
  6480. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  6481. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6482. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  6483. 0x01e9,
  6484. 0x01ea},
  6485. {
  6486. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  6487. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6488. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  6489. 0x01e8,
  6490. 0x01e9},
  6491. {
  6492. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  6493. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6494. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  6495. 0x01e7,
  6496. 0x01e8},
  6497. {
  6498. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  6499. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  6500. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  6501. 0x01e6,
  6502. 0x01e7},
  6503. {
  6504. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  6505. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6506. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  6507. 0x01e5,
  6508. 0x01e6},
  6509. {
  6510. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  6511. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6512. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  6513. 0x01e5,
  6514. 0x01e5},
  6515. {
  6516. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  6517. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6518. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  6519. 0x01e4,
  6520. 0x01e5},
  6521. {
  6522. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  6523. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6524. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  6525. 0x01e3,
  6526. 0x01e4},
  6527. {
  6528. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  6529. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6530. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  6531. 0x01e2,
  6532. 0x01e3},
  6533. {
  6534. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  6535. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6536. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  6537. 0x01e1,
  6538. 0x01e2},
  6539. {
  6540. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  6541. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6542. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  6543. 0x01e0,
  6544. 0x01e1},
  6545. {
  6546. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  6547. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6548. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  6549. 0x01df,
  6550. 0x01e0},
  6551. {
  6552. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  6553. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6554. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  6555. 0x01de,
  6556. 0x01df},
  6557. {
  6558. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  6559. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  6560. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  6561. 0x01dd,
  6562. 0x01de},
  6563. {
  6564. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  6565. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6566. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  6567. 0x01dd,
  6568. 0x01dd},
  6569. {
  6570. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  6571. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6572. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  6573. 0x01dc,
  6574. 0x01dd},
  6575. {
  6576. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  6577. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6578. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  6579. 0x01db,
  6580. 0x01dc},
  6581. {
  6582. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  6583. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6584. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  6585. 0x01da,
  6586. 0x01db},
  6587. {
  6588. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  6589. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6590. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  6591. 0x01d9,
  6592. 0x01da},
  6593. {
  6594. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  6595. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6596. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  6597. 0x01d8,
  6598. 0x01d9},
  6599. {
  6600. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  6601. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6602. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  6603. 0x01d7,
  6604. 0x01d8},
  6605. {
  6606. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  6607. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6608. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  6609. 0x01d7,
  6610. 0x01d7},
  6611. {
  6612. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  6613. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6614. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  6615. 0x01d6,
  6616. 0x01d7},
  6617. {
  6618. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  6619. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  6620. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  6621. 0x01d5,
  6622. 0x01d6},
  6623. {
  6624. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  6625. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6626. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  6627. 0x01d4,
  6628. 0x01d5},
  6629. {
  6630. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  6631. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6632. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  6633. 0x01d3,
  6634. 0x01d4},
  6635. {
  6636. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  6637. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6638. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  6639. 0x01d2,
  6640. 0x01d3},
  6641. {
  6642. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  6643. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6644. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  6645. 0x01d2,
  6646. 0x01d2},
  6647. {
  6648. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  6649. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  6650. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  6651. 0x01d1,
  6652. 0x01d2},
  6653. {
  6654. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  6655. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6656. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  6657. 0x01d0,
  6658. 0x01d1},
  6659. {
  6660. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  6661. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6662. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  6663. 0x01cf,
  6664. 0x01d0},
  6665. {
  6666. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  6667. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  6668. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  6669. 0x01ce,
  6670. 0x01cf},
  6671. {
  6672. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  6673. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6674. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  6675. 0x01ce,
  6676. 0x01ce},
  6677. {
  6678. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  6679. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  6680. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  6681. 0x01cd,
  6682. 0x01ce},
  6683. {
  6684. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  6685. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6686. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  6687. 0x01cc,
  6688. 0x01cd},
  6689. {
  6690. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  6691. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6692. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  6693. 0x01cb,
  6694. 0x01cc},
  6695. {
  6696. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  6697. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6698. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  6699. 0x01ca,
  6700. 0x01cb},
  6701. {
  6702. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  6703. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6704. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  6705. 0x01ca,
  6706. 0x01cb},
  6707. {
  6708. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  6709. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6710. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  6711. 0x01c9,
  6712. 0x01ca},
  6713. {
  6714. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  6715. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6716. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  6717. 0x01c9,
  6718. 0x01ca},
  6719. {
  6720. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  6721. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6722. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  6723. 0x01c9,
  6724. 0x01c9},
  6725. {
  6726. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  6727. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  6728. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  6729. 0x01c8,
  6730. 0x01c9},
  6731. {
  6732. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  6733. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6734. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  6735. 0x01c8,
  6736. 0x01c9},
  6737. {
  6738. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  6739. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6740. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  6741. 0x01c8,
  6742. 0x01c8},
  6743. {
  6744. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  6745. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6746. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  6747. 0x01c7,
  6748. 0x01c8},
  6749. {
  6750. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  6751. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6752. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  6753. 0x01c7,
  6754. 0x01c8},
  6755. {
  6756. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  6757. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6758. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  6759. 0x01c6,
  6760. 0x01c7},
  6761. {
  6762. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  6763. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6764. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  6765. 0x01c6,
  6766. 0x01c7},
  6767. {
  6768. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  6769. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6770. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  6771. 0x01c6,
  6772. 0x01c6},
  6773. {
  6774. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  6775. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6776. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  6777. 0x01c5,
  6778. 0x01c6},
  6779. {
  6780. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  6781. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6782. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  6783. 0x01c5,
  6784. 0x01c6},
  6785. {
  6786. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  6787. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  6788. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  6789. 0x01c4,
  6790. 0x01c5},
  6791. {
  6792. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  6793. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  6794. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  6795. 0x01c4,
  6796. 0x01c5},
  6797. {
  6798. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  6799. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6800. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  6801. 0x01c4,
  6802. 0x01c4},
  6803. {
  6804. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  6805. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6806. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  6807. 0x01c3,
  6808. 0x01c4},
  6809. {
  6810. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  6811. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6812. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  6813. 0x01c3,
  6814. 0x01c4},
  6815. {
  6816. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  6817. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6818. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  6819. 0x01c2,
  6820. 0x01c3},
  6821. {
  6822. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  6823. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6824. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  6825. 0x01c2,
  6826. 0x01c3},
  6827. {
  6828. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  6829. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6830. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  6831. 0x01c2,
  6832. 0x01c2},
  6833. {
  6834. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  6835. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6836. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  6837. 0x01c1,
  6838. 0x01c2},
  6839. {
  6840. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  6841. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6842. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  6843. 0x01c0,
  6844. 0x01c1},
  6845. {
  6846. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  6847. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6848. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  6849. 0x01bf,
  6850. 0x01c0},
  6851. {
  6852. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  6853. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6854. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  6855. 0x01bf,
  6856. 0x01bf},
  6857. {
  6858. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  6859. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6860. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  6861. 0x01be,
  6862. 0x01bf},
  6863. {
  6864. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  6865. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6866. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  6867. 0x01bd,
  6868. 0x01be},
  6869. {
  6870. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  6871. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  6872. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  6873. 0x01bc,
  6874. 0x01bd},
  6875. {
  6876. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  6877. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6878. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  6879. 0x043f,
  6880. 0x0443},
  6881. {
  6882. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  6883. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6884. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  6885. 0x043d,
  6886. 0x0441},
  6887. {
  6888. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  6889. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6890. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  6891. 0x043a,
  6892. 0x043f},
  6893. {
  6894. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  6895. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6896. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  6897. 0x0438,
  6898. 0x043d},
  6899. {
  6900. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  6901. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6902. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  6903. 0x0436,
  6904. 0x043a},
  6905. {
  6906. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  6907. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6908. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  6909. 0x0434,
  6910. 0x0438},
  6911. {
  6912. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  6913. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6914. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  6915. 0x0431,
  6916. 0x0436},
  6917. {
  6918. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  6919. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6920. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  6921. 0x042f,
  6922. 0x0434},
  6923. {
  6924. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  6925. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6926. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  6927. 0x042d,
  6928. 0x0431},
  6929. {
  6930. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  6931. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6932. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  6933. 0x042b,
  6934. 0x042f},
  6935. {
  6936. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  6937. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6938. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  6939. 0x0429,
  6940. 0x042d},
  6941. {
  6942. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  6943. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6944. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  6945. 0x0427,
  6946. 0x042b},
  6947. {
  6948. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  6949. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  6950. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  6951. 0x0424,
  6952. 0x0429},
  6953. {
  6954. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  6955. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  6956. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  6957. 0x041f,
  6958. 0x0424}
  6959. };
  6960. static const struct chan_info_nphy_radio2057 chan_info_nphyrev8_2057_rev8[] = {
  6961. {
  6962. 186, 4930, 0x6b, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xed, 0x01, 0x0f,
  6963. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6964. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07b8, 0x07b4, 0x07b0, 0x0213,
  6965. 0x0214,
  6966. 0x0215},
  6967. {
  6968. 188, 4940, 0x6e, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xee, 0x01, 0x0f,
  6969. 0x00, 0x0f, 0x00, 0xff, 0x00, 0xd3, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6970. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07bc, 0x07b8, 0x07b4, 0x0212,
  6971. 0x0213,
  6972. 0x0214},
  6973. {
  6974. 190, 4950, 0x72, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xef, 0x01, 0x0f,
  6975. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6976. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c0, 0x07bc, 0x07b8, 0x0211,
  6977. 0x0212,
  6978. 0x0213},
  6979. {
  6980. 192, 4960, 0x75, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf0, 0x01, 0x0f,
  6981. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6982. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c4, 0x07c0, 0x07bc, 0x020f,
  6983. 0x0211,
  6984. 0x0212},
  6985. {
  6986. 194, 4970, 0x78, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf1, 0x01, 0x0f,
  6987. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6988. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07c8, 0x07c4, 0x07c0, 0x020e,
  6989. 0x020f,
  6990. 0x0211},
  6991. {
  6992. 196, 4980, 0x7c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf2, 0x01, 0x0f,
  6993. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  6994. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07cc, 0x07c8, 0x07c4, 0x020d,
  6995. 0x020e,
  6996. 0x020f},
  6997. {
  6998. 198, 4990, 0x7f, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf3, 0x01, 0x0f,
  6999. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x00,
  7000. 0x00, 0x0f, 0x0f, 0xd3, 0x00, 0xff, 0x07d0, 0x07cc, 0x07c8, 0x020c,
  7001. 0x020d,
  7002. 0x020e},
  7003. {
  7004. 200, 5000, 0x82, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf4, 0x01, 0x0f,
  7005. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7006. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d4, 0x07d0, 0x07cc, 0x020b,
  7007. 0x020c,
  7008. 0x020d},
  7009. {
  7010. 202, 5010, 0x86, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf5, 0x01, 0x0f,
  7011. 0x00, 0x0f, 0x00, 0xff, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7012. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07d8, 0x07d4, 0x07d0, 0x020a,
  7013. 0x020b,
  7014. 0x020c},
  7015. {
  7016. 204, 5020, 0x89, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf6, 0x01, 0x0e,
  7017. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7018. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07dc, 0x07d8, 0x07d4, 0x0209,
  7019. 0x020a,
  7020. 0x020b},
  7021. {
  7022. 206, 5030, 0x8c, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf7, 0x01, 0x0e,
  7023. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7024. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e0, 0x07dc, 0x07d8, 0x0208,
  7025. 0x0209,
  7026. 0x020a},
  7027. {
  7028. 208, 5040, 0x90, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf8, 0x01, 0x0e,
  7029. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7030. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e4, 0x07e0, 0x07dc, 0x0207,
  7031. 0x0208,
  7032. 0x0209},
  7033. {
  7034. 210, 5050, 0x93, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xf9, 0x01, 0x0e,
  7035. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7036. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07e8, 0x07e4, 0x07e0, 0x0206,
  7037. 0x0207,
  7038. 0x0208},
  7039. {
  7040. 212, 5060, 0x96, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfa, 0x01, 0x0e,
  7041. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7042. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07ec, 0x07e8, 0x07e4, 0x0205,
  7043. 0x0206,
  7044. 0x0207},
  7045. {
  7046. 214, 5070, 0x9a, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfb, 0x01, 0x0e,
  7047. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7048. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f0, 0x07ec, 0x07e8, 0x0204,
  7049. 0x0205,
  7050. 0x0206},
  7051. {
  7052. 216, 5080, 0x9d, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfc, 0x01, 0x0e,
  7053. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7054. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f4, 0x07f0, 0x07ec, 0x0203,
  7055. 0x0204,
  7056. 0x0205},
  7057. {
  7058. 218, 5090, 0xa0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfd, 0x01, 0x0e,
  7059. 0x00, 0x0e, 0x00, 0xee, 0x00, 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x00,
  7060. 0x00, 0x0f, 0x0f, 0xb3, 0x00, 0xff, 0x07f8, 0x07f4, 0x07f0, 0x0202,
  7061. 0x0203,
  7062. 0x0204},
  7063. {
  7064. 220, 5100, 0xa4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xfe, 0x01, 0x0d,
  7065. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7066. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x07fc, 0x07f8, 0x07f4, 0x0201,
  7067. 0x0202,
  7068. 0x0203},
  7069. {
  7070. 222, 5110, 0xa7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0xff, 0x01, 0x0d,
  7071. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7072. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0800, 0x07fc, 0x07f8, 0x0200,
  7073. 0x0201,
  7074. 0x0202},
  7075. {
  7076. 224, 5120, 0xaa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x00, 0x02, 0x0d,
  7077. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7078. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0804, 0x0800, 0x07fc, 0x01ff,
  7079. 0x0200,
  7080. 0x0201},
  7081. {
  7082. 226, 5130, 0xae, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x01, 0x02, 0x0d,
  7083. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7084. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0808, 0x0804, 0x0800, 0x01fe,
  7085. 0x01ff,
  7086. 0x0200},
  7087. {
  7088. 228, 5140, 0xb1, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x02, 0x02, 0x0d,
  7089. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7090. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x080c, 0x0808, 0x0804, 0x01fd,
  7091. 0x01fe,
  7092. 0x01ff},
  7093. {
  7094. 32, 5160, 0xb8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x04, 0x02, 0x0d,
  7095. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7096. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0814, 0x0810, 0x080c, 0x01fb,
  7097. 0x01fc,
  7098. 0x01fd},
  7099. {
  7100. 34, 5170, 0xbb, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x05, 0x02, 0x0d,
  7101. 0x00, 0x0d, 0x00, 0xdd, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7102. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0818, 0x0814, 0x0810, 0x01fa,
  7103. 0x01fb,
  7104. 0x01fc},
  7105. {
  7106. 36, 5180, 0xbe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x06, 0x02, 0x0c,
  7107. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7108. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x081c, 0x0818, 0x0814, 0x01f9,
  7109. 0x01fa,
  7110. 0x01fb},
  7111. {
  7112. 38, 5190, 0xc2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x07, 0x02, 0x0c,
  7113. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x00,
  7114. 0x00, 0x0f, 0x0f, 0xa3, 0x00, 0xfc, 0x0820, 0x081c, 0x0818, 0x01f8,
  7115. 0x01f9,
  7116. 0x01fa},
  7117. {
  7118. 40, 5200, 0xc5, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x08, 0x02, 0x0c,
  7119. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7120. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0824, 0x0820, 0x081c, 0x01f7,
  7121. 0x01f8,
  7122. 0x01f9},
  7123. {
  7124. 42, 5210, 0xc8, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x09, 0x02, 0x0c,
  7125. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7126. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0828, 0x0824, 0x0820, 0x01f6,
  7127. 0x01f7,
  7128. 0x01f8},
  7129. {
  7130. 44, 5220, 0xcc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0a, 0x02, 0x0c,
  7131. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7132. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x082c, 0x0828, 0x0824, 0x01f5,
  7133. 0x01f6,
  7134. 0x01f7},
  7135. {
  7136. 46, 5230, 0xcf, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0b, 0x02, 0x0c,
  7137. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7138. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0830, 0x082c, 0x0828, 0x01f4,
  7139. 0x01f5,
  7140. 0x01f6},
  7141. {
  7142. 48, 5240, 0xd2, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0c, 0x02, 0x0c,
  7143. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7144. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0834, 0x0830, 0x082c, 0x01f3,
  7145. 0x01f4,
  7146. 0x01f5},
  7147. {
  7148. 50, 5250, 0xd6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0d, 0x02, 0x0c,
  7149. 0x00, 0x0c, 0x00, 0xcc, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7150. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0838, 0x0834, 0x0830, 0x01f2,
  7151. 0x01f3,
  7152. 0x01f4},
  7153. {
  7154. 52, 5260, 0xd9, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0e, 0x02, 0x0b,
  7155. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7156. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x083c, 0x0838, 0x0834, 0x01f1,
  7157. 0x01f2,
  7158. 0x01f3},
  7159. {
  7160. 54, 5270, 0xdc, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x0f, 0x02, 0x0b,
  7161. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7162. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0840, 0x083c, 0x0838, 0x01f0,
  7163. 0x01f1,
  7164. 0x01f2},
  7165. {
  7166. 56, 5280, 0xe0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x10, 0x02, 0x0b,
  7167. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7168. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0844, 0x0840, 0x083c, 0x01f0,
  7169. 0x01f0,
  7170. 0x01f1},
  7171. {
  7172. 58, 5290, 0xe3, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x11, 0x02, 0x0b,
  7173. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x00,
  7174. 0x00, 0x0f, 0x0f, 0x93, 0x00, 0xf8, 0x0848, 0x0844, 0x0840, 0x01ef,
  7175. 0x01f0,
  7176. 0x01f0},
  7177. {
  7178. 60, 5300, 0xe6, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x12, 0x02, 0x0b,
  7179. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7180. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x084c, 0x0848, 0x0844, 0x01ee,
  7181. 0x01ef,
  7182. 0x01f0},
  7183. {
  7184. 62, 5310, 0xea, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x13, 0x02, 0x0b,
  7185. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7186. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0850, 0x084c, 0x0848, 0x01ed,
  7187. 0x01ee,
  7188. 0x01ef},
  7189. {
  7190. 64, 5320, 0xed, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x14, 0x02, 0x0b,
  7191. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7192. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0854, 0x0850, 0x084c, 0x01ec,
  7193. 0x01ed,
  7194. 0x01ee},
  7195. {
  7196. 66, 5330, 0xf0, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x15, 0x02, 0x0b,
  7197. 0x00, 0x0b, 0x00, 0xbb, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7198. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0858, 0x0854, 0x0850, 0x01eb,
  7199. 0x01ec,
  7200. 0x01ed},
  7201. {
  7202. 68, 5340, 0xf4, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x16, 0x02, 0x0a,
  7203. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7204. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x085c, 0x0858, 0x0854, 0x01ea,
  7205. 0x01eb,
  7206. 0x01ec},
  7207. {
  7208. 70, 5350, 0xf7, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x17, 0x02, 0x0a,
  7209. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7210. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0860, 0x085c, 0x0858, 0x01e9,
  7211. 0x01ea,
  7212. 0x01eb},
  7213. {
  7214. 72, 5360, 0xfa, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x18, 0x02, 0x0a,
  7215. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7216. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0864, 0x0860, 0x085c, 0x01e8,
  7217. 0x01e9,
  7218. 0x01ea},
  7219. {
  7220. 74, 5370, 0xfe, 0x16, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x19, 0x02, 0x0a,
  7221. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7222. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0868, 0x0864, 0x0860, 0x01e7,
  7223. 0x01e8,
  7224. 0x01e9},
  7225. {
  7226. 76, 5380, 0x01, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1a, 0x02, 0x0a,
  7227. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7228. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x086c, 0x0868, 0x0864, 0x01e6,
  7229. 0x01e7,
  7230. 0x01e8},
  7231. {
  7232. 78, 5390, 0x04, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1b, 0x02, 0x0a,
  7233. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x00,
  7234. 0x00, 0x0f, 0x0c, 0x83, 0x00, 0xf5, 0x0870, 0x086c, 0x0868, 0x01e5,
  7235. 0x01e6,
  7236. 0x01e7},
  7237. {
  7238. 80, 5400, 0x08, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1c, 0x02, 0x0a,
  7239. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7240. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0874, 0x0870, 0x086c, 0x01e5,
  7241. 0x01e5,
  7242. 0x01e6},
  7243. {
  7244. 82, 5410, 0x0b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1d, 0x02, 0x0a,
  7245. 0x00, 0x0a, 0x00, 0xaa, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7246. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0878, 0x0874, 0x0870, 0x01e4,
  7247. 0x01e5,
  7248. 0x01e5},
  7249. {
  7250. 84, 5420, 0x0e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1e, 0x02, 0x09,
  7251. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7252. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x087c, 0x0878, 0x0874, 0x01e3,
  7253. 0x01e4,
  7254. 0x01e5},
  7255. {
  7256. 86, 5430, 0x12, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x1f, 0x02, 0x09,
  7257. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7258. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0880, 0x087c, 0x0878, 0x01e2,
  7259. 0x01e3,
  7260. 0x01e4},
  7261. {
  7262. 88, 5440, 0x15, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x20, 0x02, 0x09,
  7263. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7264. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0884, 0x0880, 0x087c, 0x01e1,
  7265. 0x01e2,
  7266. 0x01e3},
  7267. {
  7268. 90, 5450, 0x18, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x21, 0x02, 0x09,
  7269. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7270. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0888, 0x0884, 0x0880, 0x01e0,
  7271. 0x01e1,
  7272. 0x01e2},
  7273. {
  7274. 92, 5460, 0x1c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x22, 0x02, 0x09,
  7275. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7276. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x088c, 0x0888, 0x0884, 0x01df,
  7277. 0x01e0,
  7278. 0x01e1},
  7279. {
  7280. 94, 5470, 0x1f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x23, 0x02, 0x09,
  7281. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7282. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0890, 0x088c, 0x0888, 0x01de,
  7283. 0x01df,
  7284. 0x01e0},
  7285. {
  7286. 96, 5480, 0x22, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x24, 0x02, 0x09,
  7287. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7288. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0894, 0x0890, 0x088c, 0x01dd,
  7289. 0x01de,
  7290. 0x01df},
  7291. {
  7292. 98, 5490, 0x26, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x25, 0x02, 0x09,
  7293. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x00,
  7294. 0x00, 0x0d, 0x09, 0x53, 0x00, 0xb1, 0x0898, 0x0894, 0x0890, 0x01dd,
  7295. 0x01dd,
  7296. 0x01de},
  7297. {
  7298. 100, 5500, 0x29, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x26, 0x02, 0x09,
  7299. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7300. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x089c, 0x0898, 0x0894, 0x01dc,
  7301. 0x01dd,
  7302. 0x01dd},
  7303. {
  7304. 102, 5510, 0x2c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x27, 0x02, 0x09,
  7305. 0x00, 0x09, 0x00, 0x99, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7306. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a0, 0x089c, 0x0898, 0x01db,
  7307. 0x01dc,
  7308. 0x01dd},
  7309. {
  7310. 104, 5520, 0x30, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x28, 0x02, 0x08,
  7311. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7312. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a4, 0x08a0, 0x089c, 0x01da,
  7313. 0x01db,
  7314. 0x01dc},
  7315. {
  7316. 106, 5530, 0x33, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x29, 0x02, 0x08,
  7317. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7318. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08a8, 0x08a4, 0x08a0, 0x01d9,
  7319. 0x01da,
  7320. 0x01db},
  7321. {
  7322. 108, 5540, 0x36, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2a, 0x02, 0x08,
  7323. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7324. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08ac, 0x08a8, 0x08a4, 0x01d8,
  7325. 0x01d9,
  7326. 0x01da},
  7327. {
  7328. 110, 5550, 0x3a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2b, 0x02, 0x08,
  7329. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7330. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b0, 0x08ac, 0x08a8, 0x01d7,
  7331. 0x01d8,
  7332. 0x01d9},
  7333. {
  7334. 112, 5560, 0x3d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2c, 0x02, 0x08,
  7335. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7336. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b4, 0x08b0, 0x08ac, 0x01d7,
  7337. 0x01d7,
  7338. 0x01d8},
  7339. {
  7340. 114, 5570, 0x40, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2d, 0x02, 0x08,
  7341. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7342. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08b8, 0x08b4, 0x08b0, 0x01d6,
  7343. 0x01d7,
  7344. 0x01d7},
  7345. {
  7346. 116, 5580, 0x44, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2e, 0x02, 0x08,
  7347. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7348. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08bc, 0x08b8, 0x08b4, 0x01d5,
  7349. 0x01d6,
  7350. 0x01d7},
  7351. {
  7352. 118, 5590, 0x47, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x2f, 0x02, 0x08,
  7353. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x00,
  7354. 0x00, 0x0a, 0x06, 0x43, 0x00, 0x80, 0x08c0, 0x08bc, 0x08b8, 0x01d4,
  7355. 0x01d5,
  7356. 0x01d6},
  7357. {
  7358. 120, 5600, 0x4a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x30, 0x02, 0x08,
  7359. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7360. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c4, 0x08c0, 0x08bc, 0x01d3,
  7361. 0x01d4,
  7362. 0x01d5},
  7363. {
  7364. 122, 5610, 0x4e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x31, 0x02, 0x08,
  7365. 0x00, 0x08, 0x00, 0x88, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7366. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08c8, 0x08c4, 0x08c0, 0x01d2,
  7367. 0x01d3,
  7368. 0x01d4},
  7369. {
  7370. 124, 5620, 0x51, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x32, 0x02, 0x07,
  7371. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7372. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08cc, 0x08c8, 0x08c4, 0x01d2,
  7373. 0x01d2,
  7374. 0x01d3},
  7375. {
  7376. 126, 5630, 0x54, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x33, 0x02, 0x07,
  7377. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7378. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d0, 0x08cc, 0x08c8, 0x01d1,
  7379. 0x01d2,
  7380. 0x01d2},
  7381. {
  7382. 128, 5640, 0x58, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x34, 0x02, 0x07,
  7383. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x00,
  7384. 0x00, 0x09, 0x04, 0x23, 0x00, 0x60, 0x08d4, 0x08d0, 0x08cc, 0x01d0,
  7385. 0x01d1,
  7386. 0x01d2},
  7387. {
  7388. 130, 5650, 0x5b, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x35, 0x02, 0x07,
  7389. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7390. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08d8, 0x08d4, 0x08d0, 0x01cf,
  7391. 0x01d0,
  7392. 0x01d1},
  7393. {
  7394. 132, 5660, 0x5e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x36, 0x02, 0x07,
  7395. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7396. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08dc, 0x08d8, 0x08d4, 0x01ce,
  7397. 0x01cf,
  7398. 0x01d0},
  7399. {
  7400. 134, 5670, 0x62, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x37, 0x02, 0x07,
  7401. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x00,
  7402. 0x00, 0x09, 0x03, 0x23, 0x00, 0x60, 0x08e0, 0x08dc, 0x08d8, 0x01ce,
  7403. 0x01ce,
  7404. 0x01cf},
  7405. {
  7406. 136, 5680, 0x65, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x38, 0x02, 0x07,
  7407. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7408. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e4, 0x08e0, 0x08dc, 0x01cd,
  7409. 0x01ce,
  7410. 0x01ce},
  7411. {
  7412. 138, 5690, 0x68, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x39, 0x02, 0x07,
  7413. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x00,
  7414. 0x00, 0x09, 0x02, 0x23, 0x00, 0x60, 0x08e8, 0x08e4, 0x08e0, 0x01cc,
  7415. 0x01cd,
  7416. 0x01ce},
  7417. {
  7418. 140, 5700, 0x6c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3a, 0x02, 0x07,
  7419. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7420. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08ec, 0x08e8, 0x08e4, 0x01cb,
  7421. 0x01cc,
  7422. 0x01cd},
  7423. {
  7424. 142, 5710, 0x6f, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3b, 0x02, 0x07,
  7425. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7426. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f0, 0x08ec, 0x08e8, 0x01ca,
  7427. 0x01cb,
  7428. 0x01cc},
  7429. {
  7430. 144, 5720, 0x72, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3c, 0x02, 0x07,
  7431. 0x00, 0x07, 0x00, 0x77, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7432. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f4, 0x08f0, 0x08ec, 0x01c9,
  7433. 0x01ca,
  7434. 0x01cb},
  7435. {
  7436. 145, 5725, 0x74, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x79, 0x04, 0x06,
  7437. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7438. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f6, 0x08f2, 0x08ee, 0x01c9,
  7439. 0x01ca,
  7440. 0x01cb},
  7441. {
  7442. 146, 5730, 0x76, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3d, 0x02, 0x06,
  7443. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7444. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08f8, 0x08f4, 0x08f0, 0x01c9,
  7445. 0x01c9,
  7446. 0x01ca},
  7447. {
  7448. 147, 5735, 0x77, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7b, 0x04, 0x06,
  7449. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7450. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fa, 0x08f6, 0x08f2, 0x01c8,
  7451. 0x01c9,
  7452. 0x01ca},
  7453. {
  7454. 148, 5740, 0x79, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3e, 0x02, 0x06,
  7455. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7456. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fc, 0x08f8, 0x08f4, 0x01c8,
  7457. 0x01c9,
  7458. 0x01c9},
  7459. {
  7460. 149, 5745, 0x7b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7d, 0x04, 0x06,
  7461. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x00,
  7462. 0x00, 0x08, 0x02, 0x13, 0x00, 0x30, 0x08fe, 0x08fa, 0x08f6, 0x01c8,
  7463. 0x01c8,
  7464. 0x01c9},
  7465. {
  7466. 150, 5750, 0x7c, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x3f, 0x02, 0x06,
  7467. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7468. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0900, 0x08fc, 0x08f8, 0x01c7,
  7469. 0x01c8,
  7470. 0x01c9},
  7471. {
  7472. 151, 5755, 0x7e, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x7f, 0x04, 0x06,
  7473. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7474. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0902, 0x08fe, 0x08fa, 0x01c7,
  7475. 0x01c8,
  7476. 0x01c8},
  7477. {
  7478. 152, 5760, 0x80, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x40, 0x02, 0x06,
  7479. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7480. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0904, 0x0900, 0x08fc, 0x01c6,
  7481. 0x01c7,
  7482. 0x01c8},
  7483. {
  7484. 153, 5765, 0x81, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x81, 0x04, 0x06,
  7485. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7486. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0906, 0x0902, 0x08fe, 0x01c6,
  7487. 0x01c7,
  7488. 0x01c8},
  7489. {
  7490. 154, 5770, 0x83, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x41, 0x02, 0x06,
  7491. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7492. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0908, 0x0904, 0x0900, 0x01c6,
  7493. 0x01c6,
  7494. 0x01c7},
  7495. {
  7496. 155, 5775, 0x85, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x83, 0x04, 0x06,
  7497. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7498. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090a, 0x0906, 0x0902, 0x01c5,
  7499. 0x01c6,
  7500. 0x01c7},
  7501. {
  7502. 156, 5780, 0x86, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x42, 0x02, 0x06,
  7503. 0x00, 0x06, 0x00, 0x66, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7504. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090c, 0x0908, 0x0904, 0x01c5,
  7505. 0x01c6,
  7506. 0x01c6},
  7507. {
  7508. 157, 5785, 0x88, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x85, 0x04, 0x05,
  7509. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7510. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x090e, 0x090a, 0x0906, 0x01c4,
  7511. 0x01c5,
  7512. 0x01c6},
  7513. {
  7514. 158, 5790, 0x8a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x43, 0x02, 0x05,
  7515. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7516. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0910, 0x090c, 0x0908, 0x01c4,
  7517. 0x01c5,
  7518. 0x01c6},
  7519. {
  7520. 159, 5795, 0x8b, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x87, 0x04, 0x05,
  7521. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x00,
  7522. 0x00, 0x08, 0x02, 0x13, 0x00, 0x00, 0x0912, 0x090e, 0x090a, 0x01c4,
  7523. 0x01c4,
  7524. 0x01c5},
  7525. {
  7526. 160, 5800, 0x8d, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x44, 0x02, 0x05,
  7527. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x00,
  7528. 0x00, 0x08, 0x01, 0x03, 0x00, 0x00, 0x0914, 0x0910, 0x090c, 0x01c3,
  7529. 0x01c4,
  7530. 0x01c5},
  7531. {
  7532. 161, 5805, 0x8f, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x89, 0x04, 0x05,
  7533. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7534. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0916, 0x0912, 0x090e, 0x01c3,
  7535. 0x01c4,
  7536. 0x01c4},
  7537. {
  7538. 162, 5810, 0x90, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x45, 0x02, 0x05,
  7539. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7540. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0918, 0x0914, 0x0910, 0x01c2,
  7541. 0x01c3,
  7542. 0x01c4},
  7543. {
  7544. 163, 5815, 0x92, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8b, 0x04, 0x05,
  7545. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7546. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091a, 0x0916, 0x0912, 0x01c2,
  7547. 0x01c3,
  7548. 0x01c4},
  7549. {
  7550. 164, 5820, 0x94, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x46, 0x02, 0x05,
  7551. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7552. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091c, 0x0918, 0x0914, 0x01c2,
  7553. 0x01c2,
  7554. 0x01c3},
  7555. {
  7556. 165, 5825, 0x95, 0x17, 0x20, 0x14, 0x08, 0x08, 0x30, 0x8d, 0x04, 0x05,
  7557. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7558. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x091e, 0x091a, 0x0916, 0x01c1,
  7559. 0x01c2,
  7560. 0x01c3},
  7561. {
  7562. 166, 5830, 0x97, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x47, 0x02, 0x05,
  7563. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7564. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0920, 0x091c, 0x0918, 0x01c1,
  7565. 0x01c2,
  7566. 0x01c2},
  7567. {
  7568. 168, 5840, 0x9a, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x48, 0x02, 0x05,
  7569. 0x00, 0x05, 0x00, 0x55, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7570. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0924, 0x0920, 0x091c, 0x01c0,
  7571. 0x01c1,
  7572. 0x01c2},
  7573. {
  7574. 170, 5850, 0x9e, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x49, 0x02, 0x04,
  7575. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7576. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0928, 0x0924, 0x0920, 0x01bf,
  7577. 0x01c0,
  7578. 0x01c1},
  7579. {
  7580. 172, 5860, 0xa1, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4a, 0x02, 0x04,
  7581. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7582. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x092c, 0x0928, 0x0924, 0x01bf,
  7583. 0x01bf,
  7584. 0x01c0},
  7585. {
  7586. 174, 5870, 0xa4, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4b, 0x02, 0x04,
  7587. 0x00, 0x04, 0x00, 0x44, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7588. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0930, 0x092c, 0x0928, 0x01be,
  7589. 0x01bf,
  7590. 0x01bf},
  7591. {
  7592. 176, 5880, 0xa8, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4c, 0x02, 0x03,
  7593. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7594. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0934, 0x0930, 0x092c, 0x01bd,
  7595. 0x01be,
  7596. 0x01bf},
  7597. {
  7598. 178, 5890, 0xab, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4d, 0x02, 0x03,
  7599. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7600. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x0938, 0x0934, 0x0930, 0x01bc,
  7601. 0x01bd,
  7602. 0x01be},
  7603. {
  7604. 180, 5900, 0xae, 0x17, 0x10, 0x0c, 0x0c, 0x0c, 0x30, 0x4e, 0x02, 0x03,
  7605. 0x00, 0x03, 0x00, 0x33, 0x00, 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x00,
  7606. 0x00, 0x06, 0x01, 0x03, 0x00, 0x00, 0x093c, 0x0938, 0x0934, 0x01bc,
  7607. 0x01bc,
  7608. 0x01bd},
  7609. {
  7610. 1, 2412, 0x48, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x6c, 0x09, 0x0f,
  7611. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7612. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03c9, 0x03c5, 0x03c1, 0x043a,
  7613. 0x043f,
  7614. 0x0443},
  7615. {
  7616. 2, 2417, 0x4b, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x71, 0x09, 0x0f,
  7617. 0x0a, 0x00, 0x0a, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7618. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cb, 0x03c7, 0x03c3, 0x0438,
  7619. 0x043d,
  7620. 0x0441},
  7621. {
  7622. 3, 2422, 0x4e, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x76, 0x09, 0x0f,
  7623. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7624. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cd, 0x03c9, 0x03c5, 0x0436,
  7625. 0x043a,
  7626. 0x043f},
  7627. {
  7628. 4, 2427, 0x52, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x7b, 0x09, 0x0f,
  7629. 0x09, 0x00, 0x09, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7630. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03cf, 0x03cb, 0x03c7, 0x0434,
  7631. 0x0438,
  7632. 0x043d},
  7633. {
  7634. 5, 2432, 0x55, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x80, 0x09, 0x0f,
  7635. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7636. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d1, 0x03cd, 0x03c9, 0x0431,
  7637. 0x0436,
  7638. 0x043a},
  7639. {
  7640. 6, 2437, 0x58, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x85, 0x09, 0x0f,
  7641. 0x08, 0x00, 0x08, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7642. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d3, 0x03cf, 0x03cb, 0x042f,
  7643. 0x0434,
  7644. 0x0438},
  7645. {
  7646. 7, 2442, 0x5c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8a, 0x09, 0x0f,
  7647. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7648. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d5, 0x03d1, 0x03cd, 0x042d,
  7649. 0x0431,
  7650. 0x0436},
  7651. {
  7652. 8, 2447, 0x5f, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x8f, 0x09, 0x0f,
  7653. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7654. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d7, 0x03d3, 0x03cf, 0x042b,
  7655. 0x042f,
  7656. 0x0434},
  7657. {
  7658. 9, 2452, 0x62, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x94, 0x09, 0x0f,
  7659. 0x07, 0x00, 0x07, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7660. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03d9, 0x03d5, 0x03d1, 0x0429,
  7661. 0x042d,
  7662. 0x0431},
  7663. {
  7664. 10, 2457, 0x66, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x99, 0x09, 0x0f,
  7665. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7666. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03db, 0x03d7, 0x03d3, 0x0427,
  7667. 0x042b,
  7668. 0x042f},
  7669. {
  7670. 11, 2462, 0x69, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0x9e, 0x09, 0x0f,
  7671. 0x06, 0x00, 0x06, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7672. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03dd, 0x03d9, 0x03d5, 0x0424,
  7673. 0x0429,
  7674. 0x042d},
  7675. {
  7676. 12, 2467, 0x6c, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa3, 0x09, 0x0f,
  7677. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7678. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03df, 0x03db, 0x03d7, 0x0422,
  7679. 0x0427,
  7680. 0x042b},
  7681. {
  7682. 13, 2472, 0x70, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xa8, 0x09, 0x0f,
  7683. 0x05, 0x00, 0x05, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x61,
  7684. 0x73, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x03e1, 0x03dd, 0x03d9, 0x0420,
  7685. 0x0424,
  7686. 0x0429},
  7687. {
  7688. 14, 2484, 0x78, 0x16, 0x30, 0x1b, 0x0a, 0x0a, 0x30, 0xb4, 0x09, 0x0f,
  7689. 0x04, 0x00, 0x04, 0x00, 0x61, 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x61,
  7690. 0x73, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x03e6, 0x03e2, 0x03de, 0x041b,
  7691. 0x041f,
  7692. 0x0424}
  7693. };
  7694. static struct radio_regs regs_2055[] = {
  7695. {0x02, 0x80, 0x80, 0, 0},
  7696. {0x03, 0, 0, 0, 0},
  7697. {0x04, 0x27, 0x27, 0, 0},
  7698. {0x05, 0, 0, 0, 0},
  7699. {0x06, 0x27, 0x27, 0, 0},
  7700. {0x07, 0x7f, 0x7f, 1, 1},
  7701. {0x08, 0x7, 0x7, 1, 1},
  7702. {0x09, 0x7f, 0x7f, 1, 1},
  7703. {0x0A, 0x7, 0x7, 1, 1},
  7704. {0x0B, 0x15, 0x15, 0, 0},
  7705. {0x0C, 0x15, 0x15, 0, 0},
  7706. {0x0D, 0x4f, 0x4f, 1, 1},
  7707. {0x0E, 0x5, 0x5, 1, 1},
  7708. {0x0F, 0x4f, 0x4f, 1, 1},
  7709. {0x10, 0x5, 0x5, 1, 1},
  7710. {0x11, 0xd0, 0xd0, 0, 0},
  7711. {0x12, 0x2, 0x2, 0, 0},
  7712. {0x13, 0, 0, 0, 0},
  7713. {0x14, 0x40, 0x40, 0, 0},
  7714. {0x15, 0, 0, 0, 0},
  7715. {0x16, 0, 0, 0, 0},
  7716. {0x17, 0, 0, 0, 0},
  7717. {0x18, 0, 0, 0, 0},
  7718. {0x19, 0, 0, 0, 0},
  7719. {0x1A, 0, 0, 0, 0},
  7720. {0x1B, 0, 0, 0, 0},
  7721. {0x1C, 0, 0, 0, 0},
  7722. {0x1D, 0xc0, 0xc0, 0, 0},
  7723. {0x1E, 0xff, 0xff, 0, 0},
  7724. {0x1F, 0xc0, 0xc0, 0, 0},
  7725. {0x20, 0xff, 0xff, 0, 0},
  7726. {0x21, 0xc0, 0xc0, 0, 0},
  7727. {0x22, 0, 0, 0, 0},
  7728. {0x23, 0x2c, 0x2c, 0, 0},
  7729. {0x24, 0, 0, 0, 0},
  7730. {0x25, 0, 0, 0, 0},
  7731. {0x26, 0, 0, 0, 0},
  7732. {0x27, 0, 0, 0, 0},
  7733. {0x28, 0, 0, 0, 0},
  7734. {0x29, 0, 0, 0, 0},
  7735. {0x2A, 0, 0, 0, 0},
  7736. {0x2B, 0, 0, 0, 0},
  7737. {0x2C, 0, 0, 0, 0},
  7738. {0x2D, 0xa4, 0xa4, 0, 0},
  7739. {0x2E, 0x38, 0x38, 0, 0},
  7740. {0x2F, 0, 0, 0, 0},
  7741. {0x30, 0x4, 0x4, 1, 1},
  7742. {0x31, 0, 0, 0, 0},
  7743. {0x32, 0xa, 0xa, 0, 0},
  7744. {0x33, 0x87, 0x87, 0, 0},
  7745. {0x34, 0x9, 0x9, 0, 0},
  7746. {0x35, 0x70, 0x70, 0, 0},
  7747. {0x36, 0x11, 0x11, 0, 0},
  7748. {0x37, 0x18, 0x18, 1, 1},
  7749. {0x38, 0x6, 0x6, 0, 0},
  7750. {0x39, 0x4, 0x4, 1, 1},
  7751. {0x3A, 0x6, 0x6, 0, 0},
  7752. {0x3B, 0x9e, 0x9e, 0, 0},
  7753. {0x3C, 0x9, 0x9, 0, 0},
  7754. {0x3D, 0xc8, 0xc8, 1, 1},
  7755. {0x3E, 0x88, 0x88, 0, 0},
  7756. {0x3F, 0, 0, 0, 0},
  7757. {0x40, 0, 0, 0, 0},
  7758. {0x41, 0, 0, 0, 0},
  7759. {0x42, 0x1, 0x1, 0, 0},
  7760. {0x43, 0x2, 0x2, 0, 0},
  7761. {0x44, 0x96, 0x96, 0, 0},
  7762. {0x45, 0x3e, 0x3e, 0, 0},
  7763. {0x46, 0x3e, 0x3e, 0, 0},
  7764. {0x47, 0x13, 0x13, 0, 0},
  7765. {0x48, 0x2, 0x2, 0, 0},
  7766. {0x49, 0x15, 0x15, 0, 0},
  7767. {0x4A, 0x7, 0x7, 0, 0},
  7768. {0x4B, 0, 0, 0, 0},
  7769. {0x4C, 0, 0, 0, 0},
  7770. {0x4D, 0, 0, 0, 0},
  7771. {0x4E, 0, 0, 0, 0},
  7772. {0x4F, 0, 0, 0, 0},
  7773. {0x50, 0x8, 0x8, 0, 0},
  7774. {0x51, 0x8, 0x8, 0, 0},
  7775. {0x52, 0x6, 0x6, 0, 0},
  7776. {0x53, 0x84, 0x84, 1, 1},
  7777. {0x54, 0xc3, 0xc3, 0, 0},
  7778. {0x55, 0x8f, 0x8f, 0, 0},
  7779. {0x56, 0xff, 0xff, 0, 0},
  7780. {0x57, 0xff, 0xff, 0, 0},
  7781. {0x58, 0x88, 0x88, 0, 0},
  7782. {0x59, 0x88, 0x88, 0, 0},
  7783. {0x5A, 0, 0, 0, 0},
  7784. {0x5B, 0xcc, 0xcc, 0, 0},
  7785. {0x5C, 0x6, 0x6, 0, 0},
  7786. {0x5D, 0x80, 0x80, 0, 0},
  7787. {0x5E, 0x80, 0x80, 0, 0},
  7788. {0x5F, 0xf8, 0xf8, 0, 0},
  7789. {0x60, 0x88, 0x88, 0, 0},
  7790. {0x61, 0x88, 0x88, 0, 0},
  7791. {0x62, 0x88, 0x8, 1, 1},
  7792. {0x63, 0x88, 0x88, 0, 0},
  7793. {0x64, 0, 0, 0, 0},
  7794. {0x65, 0x1, 0x1, 1, 1},
  7795. {0x66, 0x8a, 0x8a, 0, 0},
  7796. {0x67, 0x8, 0x8, 0, 0},
  7797. {0x68, 0x83, 0x83, 0, 0},
  7798. {0x69, 0x6, 0x6, 0, 0},
  7799. {0x6A, 0xa0, 0xa0, 0, 0},
  7800. {0x6B, 0xa, 0xa, 0, 0},
  7801. {0x6C, 0x87, 0x87, 1, 1},
  7802. {0x6D, 0x2a, 0x2a, 0, 0},
  7803. {0x6E, 0x2a, 0x2a, 0, 0},
  7804. {0x6F, 0x2a, 0x2a, 0, 0},
  7805. {0x70, 0x2a, 0x2a, 0, 0},
  7806. {0x71, 0x18, 0x18, 0, 0},
  7807. {0x72, 0x6a, 0x6a, 1, 1},
  7808. {0x73, 0xab, 0xab, 1, 1},
  7809. {0x74, 0x13, 0x13, 1, 1},
  7810. {0x75, 0xc1, 0xc1, 1, 1},
  7811. {0x76, 0xaa, 0xaa, 1, 1},
  7812. {0x77, 0x87, 0x87, 1, 1},
  7813. {0x78, 0, 0, 0, 0},
  7814. {0x79, 0x6, 0x6, 0, 0},
  7815. {0x7A, 0x7, 0x7, 0, 0},
  7816. {0x7B, 0x7, 0x7, 0, 0},
  7817. {0x7C, 0x15, 0x15, 0, 0},
  7818. {0x7D, 0x55, 0x55, 0, 0},
  7819. {0x7E, 0x97, 0x97, 1, 1},
  7820. {0x7F, 0x8, 0x8, 0, 0},
  7821. {0x80, 0x14, 0x14, 1, 1},
  7822. {0x81, 0x33, 0x33, 0, 0},
  7823. {0x82, 0x88, 0x88, 0, 0},
  7824. {0x83, 0x6, 0x6, 0, 0},
  7825. {0x84, 0x3, 0x3, 1, 1},
  7826. {0x85, 0xa, 0xa, 0, 0},
  7827. {0x86, 0x3, 0x3, 1, 1},
  7828. {0x87, 0x2a, 0x2a, 0, 0},
  7829. {0x88, 0xa4, 0xa4, 0, 0},
  7830. {0x89, 0x18, 0x18, 0, 0},
  7831. {0x8A, 0x28, 0x28, 0, 0},
  7832. {0x8B, 0, 0, 0, 0},
  7833. {0x8C, 0x4a, 0x4a, 0, 0},
  7834. {0x8D, 0, 0, 0, 0},
  7835. {0x8E, 0xf8, 0xf8, 0, 0},
  7836. {0x8F, 0x88, 0x88, 0, 0},
  7837. {0x90, 0x88, 0x88, 0, 0},
  7838. {0x91, 0x88, 0x8, 1, 1},
  7839. {0x92, 0x88, 0x88, 0, 0},
  7840. {0x93, 0, 0, 0, 0},
  7841. {0x94, 0x1, 0x1, 1, 1},
  7842. {0x95, 0x8a, 0x8a, 0, 0},
  7843. {0x96, 0x8, 0x8, 0, 0},
  7844. {0x97, 0x83, 0x83, 0, 0},
  7845. {0x98, 0x6, 0x6, 0, 0},
  7846. {0x99, 0xa0, 0xa0, 0, 0},
  7847. {0x9A, 0xa, 0xa, 0, 0},
  7848. {0x9B, 0x87, 0x87, 1, 1},
  7849. {0x9C, 0x2a, 0x2a, 0, 0},
  7850. {0x9D, 0x2a, 0x2a, 0, 0},
  7851. {0x9E, 0x2a, 0x2a, 0, 0},
  7852. {0x9F, 0x2a, 0x2a, 0, 0},
  7853. {0xA0, 0x18, 0x18, 0, 0},
  7854. {0xA1, 0x6a, 0x6a, 1, 1},
  7855. {0xA2, 0xab, 0xab, 1, 1},
  7856. {0xA3, 0x13, 0x13, 1, 1},
  7857. {0xA4, 0xc1, 0xc1, 1, 1},
  7858. {0xA5, 0xaa, 0xaa, 1, 1},
  7859. {0xA6, 0x87, 0x87, 1, 1},
  7860. {0xA7, 0, 0, 0, 0},
  7861. {0xA8, 0x6, 0x6, 0, 0},
  7862. {0xA9, 0x7, 0x7, 0, 0},
  7863. {0xAA, 0x7, 0x7, 0, 0},
  7864. {0xAB, 0x15, 0x15, 0, 0},
  7865. {0xAC, 0x55, 0x55, 0, 0},
  7866. {0xAD, 0x97, 0x97, 1, 1},
  7867. {0xAE, 0x8, 0x8, 0, 0},
  7868. {0xAF, 0x14, 0x14, 1, 1},
  7869. {0xB0, 0x33, 0x33, 0, 0},
  7870. {0xB1, 0x88, 0x88, 0, 0},
  7871. {0xB2, 0x6, 0x6, 0, 0},
  7872. {0xB3, 0x3, 0x3, 1, 1},
  7873. {0xB4, 0xa, 0xa, 0, 0},
  7874. {0xB5, 0x3, 0x3, 1, 1},
  7875. {0xB6, 0x2a, 0x2a, 0, 0},
  7876. {0xB7, 0xa4, 0xa4, 0, 0},
  7877. {0xB8, 0x18, 0x18, 0, 0},
  7878. {0xB9, 0x28, 0x28, 0, 0},
  7879. {0xBA, 0, 0, 0, 0},
  7880. {0xBB, 0x4a, 0x4a, 0, 0},
  7881. {0xBC, 0, 0, 0, 0},
  7882. {0xBD, 0x71, 0x71, 0, 0},
  7883. {0xBE, 0x72, 0x72, 0, 0},
  7884. {0xBF, 0x73, 0x73, 0, 0},
  7885. {0xC0, 0x74, 0x74, 0, 0},
  7886. {0xC1, 0x75, 0x75, 0, 0},
  7887. {0xC2, 0x76, 0x76, 0, 0},
  7888. {0xC3, 0x77, 0x77, 0, 0},
  7889. {0xC4, 0x78, 0x78, 0, 0},
  7890. {0xC5, 0x79, 0x79, 0, 0},
  7891. {0xC6, 0x7a, 0x7a, 0, 0},
  7892. {0xC7, 0, 0, 0, 0},
  7893. {0xC8, 0, 0, 0, 0},
  7894. {0xC9, 0, 0, 0, 0},
  7895. {0xCA, 0, 0, 0, 0},
  7896. {0xCB, 0, 0, 0, 0},
  7897. {0xCC, 0, 0, 0, 0},
  7898. {0xCD, 0, 0, 0, 0},
  7899. {0xCE, 0x6, 0x6, 0, 0},
  7900. {0xCF, 0, 0, 0, 0},
  7901. {0xD0, 0, 0, 0, 0},
  7902. {0xD1, 0x18, 0x18, 0, 0},
  7903. {0xD2, 0x88, 0x88, 0, 0},
  7904. {0xD3, 0, 0, 0, 0},
  7905. {0xD4, 0, 0, 0, 0},
  7906. {0xD5, 0, 0, 0, 0},
  7907. {0xD6, 0, 0, 0, 0},
  7908. {0xD7, 0, 0, 0, 0},
  7909. {0xD8, 0, 0, 0, 0},
  7910. {0xD9, 0, 0, 0, 0},
  7911. {0xDA, 0x6, 0x6, 0, 0},
  7912. {0xDB, 0, 0, 0, 0},
  7913. {0xDC, 0, 0, 0, 0},
  7914. {0xDD, 0x18, 0x18, 0, 0},
  7915. {0xDE, 0x88, 0x88, 0, 0},
  7916. {0xDF, 0, 0, 0, 0},
  7917. {0xE0, 0, 0, 0, 0},
  7918. {0xE1, 0, 0, 0, 0},
  7919. {0xE2, 0, 0, 0, 0},
  7920. {0xFFFF, 0, 0, 0, 0},
  7921. };
  7922. static struct radio_regs regs_SYN_2056[] = {
  7923. {0x02, 0, 0, 0, 0},
  7924. {0x03, 0, 0, 0, 0},
  7925. {0x04, 0, 0, 0, 0},
  7926. {0x05, 0, 0, 0, 0},
  7927. {0x06, 0, 0, 0, 0},
  7928. {0x07, 0, 0, 0, 0},
  7929. {0x08, 0, 0, 0, 0},
  7930. {0x09, 0x1, 0x1, 0, 0},
  7931. {0x0A, 0, 0, 0, 0},
  7932. {0x0B, 0, 0, 0, 0},
  7933. {0x0C, 0, 0, 0, 0},
  7934. {0x0D, 0, 0, 0, 0},
  7935. {0x0E, 0, 0, 0, 0},
  7936. {0x0F, 0, 0, 0, 0},
  7937. {0x10, 0, 0, 0, 0},
  7938. {0x11, 0, 0, 0, 0},
  7939. {0x12, 0, 0, 0, 0},
  7940. {0x13, 0, 0, 0, 0},
  7941. {0x14, 0, 0, 0, 0},
  7942. {0x15, 0, 0, 0, 0},
  7943. {0x16, 0, 0, 0, 0},
  7944. {0x17, 0, 0, 0, 0},
  7945. {0x18, 0, 0, 0, 0},
  7946. {0x19, 0, 0, 0, 0},
  7947. {0x1A, 0, 0, 0, 0},
  7948. {0x1B, 0, 0, 0, 0},
  7949. {0x1C, 0, 0, 0, 0},
  7950. {0x1D, 0, 0, 0, 0},
  7951. {0x1E, 0, 0, 0, 0},
  7952. {0x1F, 0, 0, 0, 0},
  7953. {0x20, 0, 0, 0, 0},
  7954. {0x21, 0, 0, 0, 0},
  7955. {0x22, 0x60, 0x60, 0, 0},
  7956. {0x23, 0x6, 0x6, 0, 0},
  7957. {0x24, 0xc, 0xc, 0, 0},
  7958. {0x25, 0, 0, 0, 0},
  7959. {0x26, 0, 0, 0, 0},
  7960. {0x27, 0, 0, 0, 0},
  7961. {0x28, 0x1, 0x1, 0, 0},
  7962. {0x29, 0, 0, 0, 0},
  7963. {0x2A, 0, 0, 0, 0},
  7964. {0x2B, 0, 0, 0, 0},
  7965. {0x2C, 0, 0, 0, 0},
  7966. {0x2D, 0, 0, 0, 0},
  7967. {0x2E, 0xd, 0xd, 0, 0},
  7968. {0x2F, 0x1f, 0x1f, 0, 0},
  7969. {0x30, 0x15, 0x15, 0, 0},
  7970. {0x31, 0xf, 0xf, 0, 0},
  7971. {0x32, 0, 0, 0, 0},
  7972. {0x33, 0, 0, 0, 0},
  7973. {0x34, 0, 0, 0, 0},
  7974. {0x35, 0, 0, 0, 0},
  7975. {0x36, 0, 0, 0, 0},
  7976. {0x37, 0, 0, 0, 0},
  7977. {0x38, 0, 0, 0, 0},
  7978. {0x39, 0, 0, 0, 0},
  7979. {0x3A, 0, 0, 0, 0},
  7980. {0x3B, 0, 0, 0, 0},
  7981. {0x3C, 0x13, 0x13, 0, 0},
  7982. {0x3D, 0xf, 0xf, 0, 0},
  7983. {0x3E, 0x18, 0x18, 0, 0},
  7984. {0x3F, 0, 0, 0, 0},
  7985. {0x40, 0, 0, 0, 0},
  7986. {0x41, 0x20, 0x20, 0, 0},
  7987. {0x42, 0x20, 0x20, 0, 0},
  7988. {0x43, 0, 0, 0, 0},
  7989. {0x44, 0x77, 0x77, 0, 0},
  7990. {0x45, 0x7, 0x7, 0, 0},
  7991. {0x46, 0x1, 0x1, 0, 0},
  7992. {0x47, 0x4, 0x4, 0, 0},
  7993. {0x48, 0xf, 0xf, 0, 0},
  7994. {0x49, 0x30, 0x30, 0, 0},
  7995. {0x4A, 0x32, 0x32, 0, 0},
  7996. {0x4B, 0xd, 0xd, 0, 0},
  7997. {0x4C, 0xd, 0xd, 0, 0},
  7998. {0x4D, 0x4, 0x4, 0, 0},
  7999. {0x4E, 0x6, 0x6, 0, 0},
  8000. {0x4F, 0x1, 0x1, 0, 0},
  8001. {0x50, 0x1c, 0x1c, 0, 0},
  8002. {0x51, 0x2, 0x2, 0, 0},
  8003. {0x52, 0x2, 0x2, 0, 0},
  8004. {0x53, 0xf7, 0xf7, 1, 1},
  8005. {0x54, 0xb4, 0xb4, 0, 0},
  8006. {0x55, 0xd2, 0xd2, 0, 0},
  8007. {0x56, 0, 0, 0, 0},
  8008. {0x57, 0, 0, 0, 0},
  8009. {0x58, 0x4, 0x4, 0, 0},
  8010. {0x59, 0x96, 0x96, 0, 0},
  8011. {0x5A, 0x3e, 0x3e, 0, 0},
  8012. {0x5B, 0x3e, 0x3e, 0, 0},
  8013. {0x5C, 0x13, 0x13, 0, 0},
  8014. {0x5D, 0x2, 0x2, 0, 0},
  8015. {0x5E, 0, 0, 0, 0},
  8016. {0x5F, 0x7, 0x7, 0, 0},
  8017. {0x60, 0x7, 0x7, 1, 1},
  8018. {0x61, 0x8, 0x8, 0, 0},
  8019. {0x62, 0x3, 0x3, 0, 0},
  8020. {0x63, 0, 0, 0, 0},
  8021. {0x64, 0, 0, 0, 0},
  8022. {0x65, 0, 0, 0, 0},
  8023. {0x66, 0, 0, 0, 0},
  8024. {0x67, 0, 0, 0, 0},
  8025. {0x68, 0x40, 0x40, 0, 0},
  8026. {0x69, 0, 0, 0, 0},
  8027. {0x6A, 0, 0, 0, 0},
  8028. {0x6B, 0, 0, 0, 0},
  8029. {0x6C, 0, 0, 0, 0},
  8030. {0x6D, 0x1, 0x1, 0, 0},
  8031. {0x6E, 0, 0, 0, 0},
  8032. {0x6F, 0, 0, 0, 0},
  8033. {0x70, 0x60, 0x60, 0, 0},
  8034. {0x71, 0x66, 0x66, 0, 0},
  8035. {0x72, 0xc, 0xc, 0, 0},
  8036. {0x73, 0x66, 0x66, 0, 0},
  8037. {0x74, 0x8f, 0x8f, 1, 1},
  8038. {0x75, 0, 0, 0, 0},
  8039. {0x76, 0xcc, 0xcc, 0, 0},
  8040. {0x77, 0x1, 0x1, 0, 0},
  8041. {0x78, 0x66, 0x66, 0, 0},
  8042. {0x79, 0x66, 0x66, 0, 0},
  8043. {0x7A, 0, 0, 0, 0},
  8044. {0x7B, 0, 0, 0, 0},
  8045. {0x7C, 0, 0, 0, 0},
  8046. {0x7D, 0, 0, 0, 0},
  8047. {0x7E, 0, 0, 0, 0},
  8048. {0x7F, 0, 0, 0, 0},
  8049. {0x80, 0, 0, 0, 0},
  8050. {0x81, 0, 0, 0, 0},
  8051. {0x82, 0, 0, 0, 0},
  8052. {0x83, 0, 0, 0, 0},
  8053. {0x84, 0, 0, 0, 0},
  8054. {0x85, 0xff, 0xff, 0, 0},
  8055. {0x86, 0, 0, 0, 0},
  8056. {0x87, 0, 0, 0, 0},
  8057. {0x88, 0, 0, 0, 0},
  8058. {0x89, 0, 0, 0, 0},
  8059. {0x8A, 0, 0, 0, 0},
  8060. {0x8B, 0, 0, 0, 0},
  8061. {0x8C, 0, 0, 0, 0},
  8062. {0x8D, 0, 0, 0, 0},
  8063. {0x8E, 0, 0, 0, 0},
  8064. {0x8F, 0, 0, 0, 0},
  8065. {0x90, 0, 0, 0, 0},
  8066. {0x91, 0, 0, 0, 0},
  8067. {0x92, 0, 0, 0, 0},
  8068. {0x93, 0, 0, 0, 0},
  8069. {0x94, 0, 0, 0, 0},
  8070. {0x95, 0, 0, 0, 0},
  8071. {0x96, 0, 0, 0, 0},
  8072. {0x97, 0, 0, 0, 0},
  8073. {0x98, 0, 0, 0, 0},
  8074. {0x99, 0, 0, 0, 0},
  8075. {0x9A, 0, 0, 0, 0},
  8076. {0x9B, 0, 0, 0, 0},
  8077. {0x9C, 0, 0, 0, 0},
  8078. {0x9D, 0, 0, 0, 0},
  8079. {0x9E, 0, 0, 0, 0},
  8080. {0x9F, 0x6, 0x6, 0, 0},
  8081. {0xA0, 0x66, 0x66, 0, 0},
  8082. {0xA1, 0x66, 0x66, 0, 0},
  8083. {0xA2, 0x66, 0x66, 0, 0},
  8084. {0xA3, 0x66, 0x66, 0, 0},
  8085. {0xA4, 0x66, 0x66, 0, 0},
  8086. {0xA5, 0x66, 0x66, 0, 0},
  8087. {0xA6, 0x66, 0x66, 0, 0},
  8088. {0xA7, 0x66, 0x66, 0, 0},
  8089. {0xA8, 0x66, 0x66, 0, 0},
  8090. {0xA9, 0x66, 0x66, 0, 0},
  8091. {0xAA, 0x66, 0x66, 0, 0},
  8092. {0xAB, 0x66, 0x66, 0, 0},
  8093. {0xAC, 0x66, 0x66, 0, 0},
  8094. {0xAD, 0x66, 0x66, 0, 0},
  8095. {0xAE, 0x66, 0x66, 0, 0},
  8096. {0xAF, 0x66, 0x66, 0, 0},
  8097. {0xB0, 0x66, 0x66, 0, 0},
  8098. {0xB1, 0x66, 0x66, 0, 0},
  8099. {0xB2, 0x66, 0x66, 0, 0},
  8100. {0xB3, 0xa, 0xa, 0, 0},
  8101. {0xB4, 0, 0, 0, 0},
  8102. {0xB5, 0, 0, 0, 0},
  8103. {0xB6, 0, 0, 0, 0},
  8104. {0xFFFF, 0, 0, 0, 0}
  8105. };
  8106. static struct radio_regs regs_TX_2056[] = {
  8107. {0x02, 0, 0, 0, 0},
  8108. {0x03, 0, 0, 0, 0},
  8109. {0x04, 0, 0, 0, 0},
  8110. {0x05, 0, 0, 0, 0},
  8111. {0x06, 0, 0, 0, 0},
  8112. {0x07, 0, 0, 0, 0},
  8113. {0x08, 0, 0, 0, 0},
  8114. {0x09, 0, 0, 0, 0},
  8115. {0x0A, 0, 0, 0, 0},
  8116. {0x0B, 0, 0, 0, 0},
  8117. {0x0C, 0, 0, 0, 0},
  8118. {0x0D, 0, 0, 0, 0},
  8119. {0x0E, 0, 0, 0, 0},
  8120. {0x0F, 0, 0, 0, 0},
  8121. {0x10, 0, 0, 0, 0},
  8122. {0x11, 0, 0, 0, 0},
  8123. {0x12, 0, 0, 0, 0},
  8124. {0x13, 0, 0, 0, 0},
  8125. {0x14, 0, 0, 0, 0},
  8126. {0x15, 0, 0, 0, 0},
  8127. {0x16, 0, 0, 0, 0},
  8128. {0x17, 0, 0, 0, 0},
  8129. {0x18, 0, 0, 0, 0},
  8130. {0x19, 0, 0, 0, 0},
  8131. {0x1A, 0, 0, 0, 0},
  8132. {0x1B, 0, 0, 0, 0},
  8133. {0x1C, 0, 0, 0, 0},
  8134. {0x1D, 0, 0, 0, 0},
  8135. {0x1E, 0, 0, 0, 0},
  8136. {0x1F, 0, 0, 0, 0},
  8137. {0x20, 0, 0, 0, 0},
  8138. {0x21, 0x88, 0x88, 0, 0},
  8139. {0x22, 0x88, 0x88, 0, 0},
  8140. {0x23, 0x88, 0x88, 0, 0},
  8141. {0x24, 0x88, 0x88, 0, 0},
  8142. {0x25, 0xc, 0xc, 0, 0},
  8143. {0x26, 0, 0, 0, 0},
  8144. {0x27, 0x3, 0x3, 0, 0},
  8145. {0x28, 0, 0, 0, 0},
  8146. {0x29, 0x3, 0x3, 0, 0},
  8147. {0x2A, 0x37, 0x37, 0, 0},
  8148. {0x2B, 0x3, 0x3, 0, 0},
  8149. {0x2C, 0, 0, 0, 0},
  8150. {0x2D, 0, 0, 0, 0},
  8151. {0x2E, 0x1, 0x1, 0, 0},
  8152. {0x2F, 0x1, 0x1, 0, 0},
  8153. {0x30, 0, 0, 0, 0},
  8154. {0x31, 0, 0, 0, 0},
  8155. {0x32, 0, 0, 0, 0},
  8156. {0x33, 0x11, 0x11, 0, 0},
  8157. {0x34, 0x11, 0x11, 0, 0},
  8158. {0x35, 0, 0, 0, 0},
  8159. {0x36, 0, 0, 0, 0},
  8160. {0x37, 0x3, 0x3, 0, 0},
  8161. {0x38, 0xf, 0xf, 0, 0},
  8162. {0x39, 0, 0, 0, 0},
  8163. {0x3A, 0x2d, 0x2d, 0, 0},
  8164. {0x3B, 0, 0, 0, 0},
  8165. {0x3C, 0x6e, 0x6e, 0, 0},
  8166. {0x3D, 0xf0, 0xf0, 1, 1},
  8167. {0x3E, 0, 0, 0, 0},
  8168. {0x3F, 0, 0, 0, 0},
  8169. {0x40, 0, 0, 0, 0},
  8170. {0x41, 0x3, 0x3, 0, 0},
  8171. {0x42, 0x3, 0x3, 0, 0},
  8172. {0x43, 0, 0, 0, 0},
  8173. {0x44, 0x1e, 0x1e, 0, 0},
  8174. {0x45, 0, 0, 0, 0},
  8175. {0x46, 0x6e, 0x6e, 0, 0},
  8176. {0x47, 0xf0, 0xf0, 1, 1},
  8177. {0x48, 0, 0, 0, 0},
  8178. {0x49, 0x2, 0x2, 0, 0},
  8179. {0x4A, 0xff, 0xff, 1, 1},
  8180. {0x4B, 0xc, 0xc, 0, 0},
  8181. {0x4C, 0, 0, 0, 0},
  8182. {0x4D, 0x38, 0x38, 0, 0},
  8183. {0x4E, 0x70, 0x70, 1, 1},
  8184. {0x4F, 0x2, 0x2, 0, 0},
  8185. {0x50, 0x88, 0x88, 0, 0},
  8186. {0x51, 0xc, 0xc, 0, 0},
  8187. {0x52, 0, 0, 0, 0},
  8188. {0x53, 0x8, 0x8, 0, 0},
  8189. {0x54, 0x70, 0x70, 1, 1},
  8190. {0x55, 0x2, 0x2, 0, 0},
  8191. {0x56, 0xff, 0xff, 1, 1},
  8192. {0x57, 0, 0, 0, 0},
  8193. {0x58, 0x83, 0x83, 0, 0},
  8194. {0x59, 0x77, 0x77, 1, 1},
  8195. {0x5A, 0, 0, 0, 0},
  8196. {0x5B, 0x2, 0x2, 0, 0},
  8197. {0x5C, 0x88, 0x88, 0, 0},
  8198. {0x5D, 0, 0, 0, 0},
  8199. {0x5E, 0x8, 0x8, 0, 0},
  8200. {0x5F, 0x77, 0x77, 1, 1},
  8201. {0x60, 0x1, 0x1, 0, 0},
  8202. {0x61, 0, 0, 0, 0},
  8203. {0x62, 0x7, 0x7, 0, 0},
  8204. {0x63, 0, 0, 0, 0},
  8205. {0x64, 0x7, 0x7, 0, 0},
  8206. {0x65, 0, 0, 0, 0},
  8207. {0x66, 0, 0, 0, 0},
  8208. {0x67, 0x74, 0x74, 1, 1},
  8209. {0x68, 0, 0, 0, 0},
  8210. {0x69, 0xa, 0xa, 0, 0},
  8211. {0x6A, 0, 0, 0, 0},
  8212. {0x6B, 0, 0, 0, 0},
  8213. {0x6C, 0, 0, 0, 0},
  8214. {0x6D, 0, 0, 0, 0},
  8215. {0x6E, 0, 0, 0, 0},
  8216. {0x6F, 0, 0, 0, 0},
  8217. {0x70, 0, 0, 0, 0},
  8218. {0x71, 0x2, 0x2, 0, 0},
  8219. {0x72, 0, 0, 0, 0},
  8220. {0x73, 0, 0, 0, 0},
  8221. {0x74, 0xe, 0xe, 0, 0},
  8222. {0x75, 0xe, 0xe, 0, 0},
  8223. {0x76, 0xe, 0xe, 0, 0},
  8224. {0x77, 0x13, 0x13, 0, 0},
  8225. {0x78, 0x13, 0x13, 0, 0},
  8226. {0x79, 0x1b, 0x1b, 0, 0},
  8227. {0x7A, 0x1b, 0x1b, 0, 0},
  8228. {0x7B, 0x55, 0x55, 0, 0},
  8229. {0x7C, 0x5b, 0x5b, 0, 0},
  8230. {0x7D, 0, 0, 0, 0},
  8231. {0x7E, 0, 0, 0, 0},
  8232. {0x7F, 0, 0, 0, 0},
  8233. {0x80, 0, 0, 0, 0},
  8234. {0x81, 0, 0, 0, 0},
  8235. {0x82, 0, 0, 0, 0},
  8236. {0x83, 0, 0, 0, 0},
  8237. {0x84, 0, 0, 0, 0},
  8238. {0x85, 0, 0, 0, 0},
  8239. {0x86, 0, 0, 0, 0},
  8240. {0x87, 0, 0, 0, 0},
  8241. {0x88, 0, 0, 0, 0},
  8242. {0x89, 0, 0, 0, 0},
  8243. {0x8A, 0, 0, 0, 0},
  8244. {0x8B, 0, 0, 0, 0},
  8245. {0x8C, 0, 0, 0, 0},
  8246. {0x8D, 0, 0, 0, 0},
  8247. {0x8E, 0, 0, 0, 0},
  8248. {0x8F, 0, 0, 0, 0},
  8249. {0x90, 0, 0, 0, 0},
  8250. {0x91, 0, 0, 0, 0},
  8251. {0x92, 0, 0, 0, 0},
  8252. {0xFFFF, 0, 0, 0, 0}
  8253. };
  8254. static struct radio_regs regs_RX_2056[] = {
  8255. {0x02, 0, 0, 0, 0},
  8256. {0x03, 0, 0, 0, 0},
  8257. {0x04, 0, 0, 0, 0},
  8258. {0x05, 0, 0, 0, 0},
  8259. {0x06, 0, 0, 0, 0},
  8260. {0x07, 0, 0, 0, 0},
  8261. {0x08, 0, 0, 0, 0},
  8262. {0x09, 0, 0, 0, 0},
  8263. {0x0A, 0, 0, 0, 0},
  8264. {0x0B, 0, 0, 0, 0},
  8265. {0x0C, 0, 0, 0, 0},
  8266. {0x0D, 0, 0, 0, 0},
  8267. {0x0E, 0, 0, 0, 0},
  8268. {0x0F, 0, 0, 0, 0},
  8269. {0x10, 0, 0, 0, 0},
  8270. {0x11, 0, 0, 0, 0},
  8271. {0x12, 0, 0, 0, 0},
  8272. {0x13, 0, 0, 0, 0},
  8273. {0x14, 0, 0, 0, 0},
  8274. {0x15, 0, 0, 0, 0},
  8275. {0x16, 0, 0, 0, 0},
  8276. {0x17, 0, 0, 0, 0},
  8277. {0x18, 0, 0, 0, 0},
  8278. {0x19, 0, 0, 0, 0},
  8279. {0x1A, 0, 0, 0, 0},
  8280. {0x1B, 0, 0, 0, 0},
  8281. {0x1C, 0, 0, 0, 0},
  8282. {0x1D, 0, 0, 0, 0},
  8283. {0x1E, 0, 0, 0, 0},
  8284. {0x1F, 0, 0, 0, 0},
  8285. {0x20, 0x3, 0x3, 0, 0},
  8286. {0x21, 0, 0, 0, 0},
  8287. {0x22, 0, 0, 0, 0},
  8288. {0x23, 0x90, 0x90, 0, 0},
  8289. {0x24, 0x55, 0x55, 0, 0},
  8290. {0x25, 0x15, 0x15, 0, 0},
  8291. {0x26, 0x5, 0x5, 0, 0},
  8292. {0x27, 0x15, 0x15, 0, 0},
  8293. {0x28, 0x5, 0x5, 0, 0},
  8294. {0x29, 0x20, 0x20, 0, 0},
  8295. {0x2A, 0x11, 0x11, 0, 0},
  8296. {0x2B, 0x90, 0x90, 0, 0},
  8297. {0x2C, 0, 0, 0, 0},
  8298. {0x2D, 0x88, 0x88, 0, 0},
  8299. {0x2E, 0x32, 0x32, 0, 0},
  8300. {0x2F, 0x77, 0x77, 0, 0},
  8301. {0x30, 0x17, 0x17, 1, 1},
  8302. {0x31, 0xff, 0xff, 1, 1},
  8303. {0x32, 0x20, 0x20, 0, 0},
  8304. {0x33, 0, 0, 0, 0},
  8305. {0x34, 0x88, 0x88, 0, 0},
  8306. {0x35, 0x32, 0x32, 0, 0},
  8307. {0x36, 0x77, 0x77, 0, 0},
  8308. {0x37, 0x17, 0x17, 1, 1},
  8309. {0x38, 0xf0, 0xf0, 1, 1},
  8310. {0x39, 0x20, 0x20, 0, 0},
  8311. {0x3A, 0x8, 0x8, 0, 0},
  8312. {0x3B, 0x99, 0x99, 0, 0},
  8313. {0x3C, 0, 0, 0, 0},
  8314. {0x3D, 0x44, 0x44, 1, 1},
  8315. {0x3E, 0, 0, 0, 0},
  8316. {0x3F, 0x44, 0x44, 0, 0},
  8317. {0x40, 0xf, 0xf, 1, 1},
  8318. {0x41, 0x6, 0x6, 0, 0},
  8319. {0x42, 0x4, 0x4, 0, 0},
  8320. {0x43, 0x50, 0x50, 1, 1},
  8321. {0x44, 0x8, 0x8, 0, 0},
  8322. {0x45, 0x99, 0x99, 0, 0},
  8323. {0x46, 0, 0, 0, 0},
  8324. {0x47, 0x11, 0x11, 0, 0},
  8325. {0x48, 0, 0, 0, 0},
  8326. {0x49, 0x44, 0x44, 0, 0},
  8327. {0x4A, 0x7, 0x7, 0, 0},
  8328. {0x4B, 0x6, 0x6, 0, 0},
  8329. {0x4C, 0x4, 0x4, 0, 0},
  8330. {0x4D, 0, 0, 0, 0},
  8331. {0x4E, 0, 0, 0, 0},
  8332. {0x4F, 0x66, 0x66, 0, 0},
  8333. {0x50, 0x66, 0x66, 0, 0},
  8334. {0x51, 0x57, 0x57, 0, 0},
  8335. {0x52, 0x57, 0x57, 0, 0},
  8336. {0x53, 0x44, 0x44, 0, 0},
  8337. {0x54, 0, 0, 0, 0},
  8338. {0x55, 0, 0, 0, 0},
  8339. {0x56, 0x8, 0x8, 0, 0},
  8340. {0x57, 0x8, 0x8, 0, 0},
  8341. {0x58, 0x7, 0x7, 0, 0},
  8342. {0x59, 0x22, 0x22, 0, 0},
  8343. {0x5A, 0x22, 0x22, 0, 0},
  8344. {0x5B, 0x2, 0x2, 0, 0},
  8345. {0x5C, 0x23, 0x23, 0, 0},
  8346. {0x5D, 0x7, 0x7, 0, 0},
  8347. {0x5E, 0x55, 0x55, 0, 0},
  8348. {0x5F, 0x23, 0x23, 0, 0},
  8349. {0x60, 0x41, 0x41, 0, 0},
  8350. {0x61, 0x1, 0x1, 0, 0},
  8351. {0x62, 0xa, 0xa, 0, 0},
  8352. {0x63, 0, 0, 0, 0},
  8353. {0x64, 0, 0, 0, 0},
  8354. {0x65, 0, 0, 0, 0},
  8355. {0x66, 0, 0, 0, 0},
  8356. {0x67, 0, 0, 0, 0},
  8357. {0x68, 0, 0, 0, 0},
  8358. {0x69, 0, 0, 0, 0},
  8359. {0x6A, 0, 0, 0, 0},
  8360. {0x6B, 0xc, 0xc, 0, 0},
  8361. {0x6C, 0, 0, 0, 0},
  8362. {0x6D, 0, 0, 0, 0},
  8363. {0x6E, 0, 0, 0, 0},
  8364. {0x6F, 0, 0, 0, 0},
  8365. {0x70, 0, 0, 0, 0},
  8366. {0x71, 0, 0, 0, 0},
  8367. {0x72, 0x22, 0x22, 0, 0},
  8368. {0x73, 0x22, 0x22, 0, 0},
  8369. {0x74, 0x2, 0x2, 0, 0},
  8370. {0x75, 0xa, 0xa, 0, 0},
  8371. {0x76, 0x1, 0x1, 0, 0},
  8372. {0x77, 0x22, 0x22, 0, 0},
  8373. {0x78, 0x30, 0x30, 0, 0},
  8374. {0x79, 0, 0, 0, 0},
  8375. {0x7A, 0, 0, 0, 0},
  8376. {0x7B, 0, 0, 0, 0},
  8377. {0x7C, 0, 0, 0, 0},
  8378. {0x7D, 0, 0, 0, 0},
  8379. {0x7E, 0, 0, 0, 0},
  8380. {0x7F, 0, 0, 0, 0},
  8381. {0x80, 0, 0, 0, 0},
  8382. {0x81, 0, 0, 0, 0},
  8383. {0x82, 0, 0, 0, 0},
  8384. {0x83, 0, 0, 0, 0},
  8385. {0x84, 0, 0, 0, 0},
  8386. {0x85, 0, 0, 0, 0},
  8387. {0x86, 0, 0, 0, 0},
  8388. {0x87, 0, 0, 0, 0},
  8389. {0x88, 0, 0, 0, 0},
  8390. {0x89, 0, 0, 0, 0},
  8391. {0x8A, 0, 0, 0, 0},
  8392. {0x8B, 0, 0, 0, 0},
  8393. {0x8C, 0, 0, 0, 0},
  8394. {0x8D, 0, 0, 0, 0},
  8395. {0x8E, 0, 0, 0, 0},
  8396. {0x8F, 0, 0, 0, 0},
  8397. {0x90, 0, 0, 0, 0},
  8398. {0x91, 0, 0, 0, 0},
  8399. {0x92, 0, 0, 0, 0},
  8400. {0x93, 0, 0, 0, 0},
  8401. {0x94, 0, 0, 0, 0},
  8402. {0xFFFF, 0, 0, 0, 0}
  8403. };
  8404. static struct radio_regs regs_SYN_2056_A1[] = {
  8405. {0x02, 0, 0, 0, 0},
  8406. {0x03, 0, 0, 0, 0},
  8407. {0x04, 0, 0, 0, 0},
  8408. {0x05, 0, 0, 0, 0},
  8409. {0x06, 0, 0, 0, 0},
  8410. {0x07, 0, 0, 0, 0},
  8411. {0x08, 0, 0, 0, 0},
  8412. {0x09, 0x1, 0x1, 0, 0},
  8413. {0x0A, 0, 0, 0, 0},
  8414. {0x0B, 0, 0, 0, 0},
  8415. {0x0C, 0, 0, 0, 0},
  8416. {0x0D, 0, 0, 0, 0},
  8417. {0x0E, 0, 0, 0, 0},
  8418. {0x0F, 0, 0, 0, 0},
  8419. {0x10, 0, 0, 0, 0},
  8420. {0x11, 0, 0, 0, 0},
  8421. {0x12, 0, 0, 0, 0},
  8422. {0x13, 0, 0, 0, 0},
  8423. {0x14, 0, 0, 0, 0},
  8424. {0x15, 0, 0, 0, 0},
  8425. {0x16, 0, 0, 0, 0},
  8426. {0x17, 0, 0, 0, 0},
  8427. {0x18, 0, 0, 0, 0},
  8428. {0x19, 0, 0, 0, 0},
  8429. {0x1A, 0, 0, 0, 0},
  8430. {0x1B, 0, 0, 0, 0},
  8431. {0x1C, 0, 0, 0, 0},
  8432. {0x1D, 0, 0, 0, 0},
  8433. {0x1E, 0, 0, 0, 0},
  8434. {0x1F, 0, 0, 0, 0},
  8435. {0x20, 0, 0, 0, 0},
  8436. {0x21, 0, 0, 0, 0},
  8437. {0x22, 0x60, 0x60, 0, 0},
  8438. {0x23, 0x6, 0x6, 0, 0},
  8439. {0x24, 0xc, 0xc, 0, 0},
  8440. {0x25, 0, 0, 0, 0},
  8441. {0x26, 0, 0, 0, 0},
  8442. {0x27, 0, 0, 0, 0},
  8443. {0x28, 0x1, 0x1, 0, 0},
  8444. {0x29, 0, 0, 0, 0},
  8445. {0x2A, 0, 0, 0, 0},
  8446. {0x2B, 0, 0, 0, 0},
  8447. {0x2C, 0, 0, 0, 0},
  8448. {0x2D, 0, 0, 0, 0},
  8449. {0x2E, 0xd, 0xd, 0, 0},
  8450. {0x2F, 0x1f, 0x1f, 0, 0},
  8451. {0x30, 0x15, 0x15, 0, 0},
  8452. {0x31, 0xf, 0xf, 0, 0},
  8453. {0x32, 0, 0, 0, 0},
  8454. {0x33, 0, 0, 0, 0},
  8455. {0x34, 0, 0, 0, 0},
  8456. {0x35, 0, 0, 0, 0},
  8457. {0x36, 0, 0, 0, 0},
  8458. {0x37, 0, 0, 0, 0},
  8459. {0x38, 0, 0, 0, 0},
  8460. {0x39, 0, 0, 0, 0},
  8461. {0x3A, 0, 0, 0, 0},
  8462. {0x3B, 0, 0, 0, 0},
  8463. {0x3C, 0x13, 0x13, 0, 0},
  8464. {0x3D, 0xf, 0xf, 0, 0},
  8465. {0x3E, 0x18, 0x18, 0, 0},
  8466. {0x3F, 0, 0, 0, 0},
  8467. {0x40, 0, 0, 0, 0},
  8468. {0x41, 0x20, 0x20, 0, 0},
  8469. {0x42, 0x20, 0x20, 0, 0},
  8470. {0x43, 0, 0, 0, 0},
  8471. {0x44, 0x77, 0x77, 0, 0},
  8472. {0x45, 0x7, 0x7, 0, 0},
  8473. {0x46, 0x1, 0x1, 0, 0},
  8474. {0x47, 0x4, 0x4, 0, 0},
  8475. {0x48, 0xf, 0xf, 0, 0},
  8476. {0x49, 0x30, 0x30, 0, 0},
  8477. {0x4A, 0x32, 0x32, 0, 0},
  8478. {0x4B, 0xd, 0xd, 0, 0},
  8479. {0x4C, 0xd, 0xd, 0, 0},
  8480. {0x4D, 0x4, 0x4, 0, 0},
  8481. {0x4E, 0x6, 0x6, 0, 0},
  8482. {0x4F, 0x1, 0x1, 0, 0},
  8483. {0x50, 0x1c, 0x1c, 0, 0},
  8484. {0x51, 0x2, 0x2, 0, 0},
  8485. {0x52, 0x2, 0x2, 0, 0},
  8486. {0x53, 0xf7, 0xf7, 1, 1},
  8487. {0x54, 0xb4, 0xb4, 0, 0},
  8488. {0x55, 0xd2, 0xd2, 0, 0},
  8489. {0x56, 0, 0, 0, 0},
  8490. {0x57, 0, 0, 0, 0},
  8491. {0x58, 0x4, 0x4, 0, 0},
  8492. {0x59, 0x96, 0x96, 0, 0},
  8493. {0x5A, 0x3e, 0x3e, 0, 0},
  8494. {0x5B, 0x3e, 0x3e, 0, 0},
  8495. {0x5C, 0x13, 0x13, 0, 0},
  8496. {0x5D, 0x2, 0x2, 0, 0},
  8497. {0x5E, 0, 0, 0, 0},
  8498. {0x5F, 0x7, 0x7, 0, 0},
  8499. {0x60, 0x7, 0x7, 1, 1},
  8500. {0x61, 0x8, 0x8, 0, 0},
  8501. {0x62, 0x3, 0x3, 0, 0},
  8502. {0x63, 0, 0, 0, 0},
  8503. {0x64, 0, 0, 0, 0},
  8504. {0x65, 0, 0, 0, 0},
  8505. {0x66, 0, 0, 0, 0},
  8506. {0x67, 0, 0, 0, 0},
  8507. {0x68, 0x40, 0x40, 0, 0},
  8508. {0x69, 0, 0, 0, 0},
  8509. {0x6A, 0, 0, 0, 0},
  8510. {0x6B, 0, 0, 0, 0},
  8511. {0x6C, 0, 0, 0, 0},
  8512. {0x6D, 0x1, 0x1, 0, 0},
  8513. {0x6E, 0, 0, 0, 0},
  8514. {0x6F, 0, 0, 0, 0},
  8515. {0x70, 0x60, 0x60, 0, 0},
  8516. {0x71, 0x66, 0x66, 0, 0},
  8517. {0x72, 0xc, 0xc, 0, 0},
  8518. {0x73, 0x66, 0x66, 0, 0},
  8519. {0x74, 0x8f, 0x8f, 1, 1},
  8520. {0x75, 0, 0, 0, 0},
  8521. {0x76, 0xcc, 0xcc, 0, 0},
  8522. {0x77, 0x1, 0x1, 0, 0},
  8523. {0x78, 0x66, 0x66, 0, 0},
  8524. {0x79, 0x66, 0x66, 0, 0},
  8525. {0x7A, 0, 0, 0, 0},
  8526. {0x7B, 0, 0, 0, 0},
  8527. {0x7C, 0, 0, 0, 0},
  8528. {0x7D, 0, 0, 0, 0},
  8529. {0x7E, 0, 0, 0, 0},
  8530. {0x7F, 0, 0, 0, 0},
  8531. {0x80, 0, 0, 0, 0},
  8532. {0x81, 0, 0, 0, 0},
  8533. {0x82, 0, 0, 0, 0},
  8534. {0x83, 0, 0, 0, 0},
  8535. {0x84, 0, 0, 0, 0},
  8536. {0x85, 0xff, 0xff, 0, 0},
  8537. {0x86, 0, 0, 0, 0},
  8538. {0x87, 0, 0, 0, 0},
  8539. {0x88, 0, 0, 0, 0},
  8540. {0x89, 0, 0, 0, 0},
  8541. {0x8A, 0, 0, 0, 0},
  8542. {0x8B, 0, 0, 0, 0},
  8543. {0x8C, 0, 0, 0, 0},
  8544. {0x8D, 0, 0, 0, 0},
  8545. {0x8E, 0, 0, 0, 0},
  8546. {0x8F, 0, 0, 0, 0},
  8547. {0x90, 0, 0, 0, 0},
  8548. {0x91, 0, 0, 0, 0},
  8549. {0x92, 0, 0, 0, 0},
  8550. {0x93, 0, 0, 0, 0},
  8551. {0x94, 0, 0, 0, 0},
  8552. {0x95, 0, 0, 0, 0},
  8553. {0x96, 0, 0, 0, 0},
  8554. {0x97, 0, 0, 0, 0},
  8555. {0x98, 0, 0, 0, 0},
  8556. {0x99, 0, 0, 0, 0},
  8557. {0x9A, 0, 0, 0, 0},
  8558. {0x9B, 0, 0, 0, 0},
  8559. {0x9C, 0, 0, 0, 0},
  8560. {0x9D, 0, 0, 0, 0},
  8561. {0x9E, 0, 0, 0, 0},
  8562. {0x9F, 0x6, 0x6, 0, 0},
  8563. {0xA0, 0x66, 0x66, 0, 0},
  8564. {0xA1, 0x66, 0x66, 0, 0},
  8565. {0xA2, 0x66, 0x66, 0, 0},
  8566. {0xA3, 0x66, 0x66, 0, 0},
  8567. {0xA4, 0x66, 0x66, 0, 0},
  8568. {0xA5, 0x66, 0x66, 0, 0},
  8569. {0xA6, 0x66, 0x66, 0, 0},
  8570. {0xA7, 0x66, 0x66, 0, 0},
  8571. {0xA8, 0x66, 0x66, 0, 0},
  8572. {0xA9, 0x66, 0x66, 0, 0},
  8573. {0xAA, 0x66, 0x66, 0, 0},
  8574. {0xAB, 0x66, 0x66, 0, 0},
  8575. {0xAC, 0x66, 0x66, 0, 0},
  8576. {0xAD, 0x66, 0x66, 0, 0},
  8577. {0xAE, 0x66, 0x66, 0, 0},
  8578. {0xAF, 0x66, 0x66, 0, 0},
  8579. {0xB0, 0x66, 0x66, 0, 0},
  8580. {0xB1, 0x66, 0x66, 0, 0},
  8581. {0xB2, 0x66, 0x66, 0, 0},
  8582. {0xB3, 0xa, 0xa, 0, 0},
  8583. {0xB4, 0, 0, 0, 0},
  8584. {0xB5, 0, 0, 0, 0},
  8585. {0xB6, 0, 0, 0, 0},
  8586. {0xFFFF, 0, 0, 0, 0}
  8587. };
  8588. static struct radio_regs regs_TX_2056_A1[] = {
  8589. {0x02, 0, 0, 0, 0},
  8590. {0x03, 0, 0, 0, 0},
  8591. {0x04, 0, 0, 0, 0},
  8592. {0x05, 0, 0, 0, 0},
  8593. {0x06, 0, 0, 0, 0},
  8594. {0x07, 0, 0, 0, 0},
  8595. {0x08, 0, 0, 0, 0},
  8596. {0x09, 0, 0, 0, 0},
  8597. {0x0A, 0, 0, 0, 0},
  8598. {0x0B, 0, 0, 0, 0},
  8599. {0x0C, 0, 0, 0, 0},
  8600. {0x0D, 0, 0, 0, 0},
  8601. {0x0E, 0, 0, 0, 0},
  8602. {0x0F, 0, 0, 0, 0},
  8603. {0x10, 0, 0, 0, 0},
  8604. {0x11, 0, 0, 0, 0},
  8605. {0x12, 0, 0, 0, 0},
  8606. {0x13, 0, 0, 0, 0},
  8607. {0x14, 0, 0, 0, 0},
  8608. {0x15, 0, 0, 0, 0},
  8609. {0x16, 0, 0, 0, 0},
  8610. {0x17, 0, 0, 0, 0},
  8611. {0x18, 0, 0, 0, 0},
  8612. {0x19, 0, 0, 0, 0},
  8613. {0x1A, 0, 0, 0, 0},
  8614. {0x1B, 0, 0, 0, 0},
  8615. {0x1C, 0, 0, 0, 0},
  8616. {0x1D, 0, 0, 0, 0},
  8617. {0x1E, 0, 0, 0, 0},
  8618. {0x1F, 0, 0, 0, 0},
  8619. {0x20, 0, 0, 0, 0},
  8620. {0x21, 0x88, 0x88, 0, 0},
  8621. {0x22, 0x88, 0x88, 0, 0},
  8622. {0x23, 0x88, 0x88, 0, 0},
  8623. {0x24, 0x88, 0x88, 0, 0},
  8624. {0x25, 0xc, 0xc, 0, 0},
  8625. {0x26, 0, 0, 0, 0},
  8626. {0x27, 0x3, 0x3, 0, 0},
  8627. {0x28, 0, 0, 0, 0},
  8628. {0x29, 0x3, 0x3, 0, 0},
  8629. {0x2A, 0x37, 0x37, 0, 0},
  8630. {0x2B, 0x3, 0x3, 0, 0},
  8631. {0x2C, 0, 0, 0, 0},
  8632. {0x2D, 0, 0, 0, 0},
  8633. {0x2E, 0x1, 0x1, 0, 0},
  8634. {0x2F, 0x1, 0x1, 0, 0},
  8635. {0x30, 0, 0, 0, 0},
  8636. {0x31, 0, 0, 0, 0},
  8637. {0x32, 0, 0, 0, 0},
  8638. {0x33, 0x11, 0x11, 0, 0},
  8639. {0x34, 0x11, 0x11, 0, 0},
  8640. {0x35, 0, 0, 0, 0},
  8641. {0x36, 0, 0, 0, 0},
  8642. {0x37, 0x3, 0x3, 0, 0},
  8643. {0x38, 0xf, 0xf, 0, 0},
  8644. {0x39, 0, 0, 0, 0},
  8645. {0x3A, 0x2d, 0x2d, 0, 0},
  8646. {0x3B, 0, 0, 0, 0},
  8647. {0x3C, 0x6e, 0x6e, 0, 0},
  8648. {0x3D, 0xf0, 0xf0, 1, 1},
  8649. {0x3E, 0, 0, 0, 0},
  8650. {0x3F, 0, 0, 0, 0},
  8651. {0x40, 0, 0, 0, 0},
  8652. {0x41, 0x3, 0x3, 0, 0},
  8653. {0x42, 0x3, 0x3, 0, 0},
  8654. {0x43, 0, 0, 0, 0},
  8655. {0x44, 0x1e, 0x1e, 0, 0},
  8656. {0x45, 0, 0, 0, 0},
  8657. {0x46, 0x6e, 0x6e, 0, 0},
  8658. {0x47, 0xf0, 0xf0, 1, 1},
  8659. {0x48, 0, 0, 0, 0},
  8660. {0x49, 0x2, 0x2, 0, 0},
  8661. {0x4A, 0xff, 0xff, 1, 1},
  8662. {0x4B, 0xc, 0xc, 0, 0},
  8663. {0x4C, 0, 0, 0, 0},
  8664. {0x4D, 0x38, 0x38, 0, 0},
  8665. {0x4E, 0x70, 0x70, 1, 1},
  8666. {0x4F, 0x2, 0x2, 0, 0},
  8667. {0x50, 0x88, 0x88, 0, 0},
  8668. {0x51, 0xc, 0xc, 0, 0},
  8669. {0x52, 0, 0, 0, 0},
  8670. {0x53, 0x8, 0x8, 0, 0},
  8671. {0x54, 0x70, 0x70, 1, 1},
  8672. {0x55, 0x2, 0x2, 0, 0},
  8673. {0x56, 0xff, 0xff, 1, 1},
  8674. {0x57, 0, 0, 0, 0},
  8675. {0x58, 0x83, 0x83, 0, 0},
  8676. {0x59, 0x77, 0x77, 1, 1},
  8677. {0x5A, 0, 0, 0, 0},
  8678. {0x5B, 0x2, 0x2, 0, 0},
  8679. {0x5C, 0x88, 0x88, 0, 0},
  8680. {0x5D, 0, 0, 0, 0},
  8681. {0x5E, 0x8, 0x8, 0, 0},
  8682. {0x5F, 0x77, 0x77, 1, 1},
  8683. {0x60, 0x1, 0x1, 0, 0},
  8684. {0x61, 0, 0, 0, 0},
  8685. {0x62, 0x7, 0x7, 0, 0},
  8686. {0x63, 0, 0, 0, 0},
  8687. {0x64, 0x7, 0x7, 0, 0},
  8688. {0x65, 0, 0, 0, 0},
  8689. {0x66, 0, 0, 0, 0},
  8690. {0x67, 0x72, 0x72, 1, 1},
  8691. {0x68, 0, 0, 0, 0},
  8692. {0x69, 0xa, 0xa, 0, 0},
  8693. {0x6A, 0, 0, 0, 0},
  8694. {0x6B, 0, 0, 0, 0},
  8695. {0x6C, 0, 0, 0, 0},
  8696. {0x6D, 0, 0, 0, 0},
  8697. {0x6E, 0, 0, 0, 0},
  8698. {0x6F, 0, 0, 0, 0},
  8699. {0x70, 0, 0, 0, 0},
  8700. {0x71, 0x2, 0x2, 0, 0},
  8701. {0x72, 0, 0, 0, 0},
  8702. {0x73, 0, 0, 0, 0},
  8703. {0x74, 0xe, 0xe, 0, 0},
  8704. {0x75, 0xe, 0xe, 0, 0},
  8705. {0x76, 0xe, 0xe, 0, 0},
  8706. {0x77, 0x13, 0x13, 0, 0},
  8707. {0x78, 0x13, 0x13, 0, 0},
  8708. {0x79, 0x1b, 0x1b, 0, 0},
  8709. {0x7A, 0x1b, 0x1b, 0, 0},
  8710. {0x7B, 0x55, 0x55, 0, 0},
  8711. {0x7C, 0x5b, 0x5b, 0, 0},
  8712. {0x7D, 0, 0, 0, 0},
  8713. {0x7E, 0, 0, 0, 0},
  8714. {0x7F, 0, 0, 0, 0},
  8715. {0x80, 0, 0, 0, 0},
  8716. {0x81, 0, 0, 0, 0},
  8717. {0x82, 0, 0, 0, 0},
  8718. {0x83, 0, 0, 0, 0},
  8719. {0x84, 0, 0, 0, 0},
  8720. {0x85, 0, 0, 0, 0},
  8721. {0x86, 0, 0, 0, 0},
  8722. {0x87, 0, 0, 0, 0},
  8723. {0x88, 0, 0, 0, 0},
  8724. {0x89, 0, 0, 0, 0},
  8725. {0x8A, 0, 0, 0, 0},
  8726. {0x8B, 0, 0, 0, 0},
  8727. {0x8C, 0, 0, 0, 0},
  8728. {0x8D, 0, 0, 0, 0},
  8729. {0x8E, 0, 0, 0, 0},
  8730. {0x8F, 0, 0, 0, 0},
  8731. {0x90, 0, 0, 0, 0},
  8732. {0x91, 0, 0, 0, 0},
  8733. {0x92, 0, 0, 0, 0},
  8734. {0xFFFF, 0, 0, 0, 0}
  8735. };
  8736. static struct radio_regs regs_RX_2056_A1[] = {
  8737. {0x02, 0, 0, 0, 0},
  8738. {0x03, 0, 0, 0, 0},
  8739. {0x04, 0, 0, 0, 0},
  8740. {0x05, 0, 0, 0, 0},
  8741. {0x06, 0, 0, 0, 0},
  8742. {0x07, 0, 0, 0, 0},
  8743. {0x08, 0, 0, 0, 0},
  8744. {0x09, 0, 0, 0, 0},
  8745. {0x0A, 0, 0, 0, 0},
  8746. {0x0B, 0, 0, 0, 0},
  8747. {0x0C, 0, 0, 0, 0},
  8748. {0x0D, 0, 0, 0, 0},
  8749. {0x0E, 0, 0, 0, 0},
  8750. {0x0F, 0, 0, 0, 0},
  8751. {0x10, 0, 0, 0, 0},
  8752. {0x11, 0, 0, 0, 0},
  8753. {0x12, 0, 0, 0, 0},
  8754. {0x13, 0, 0, 0, 0},
  8755. {0x14, 0, 0, 0, 0},
  8756. {0x15, 0, 0, 0, 0},
  8757. {0x16, 0, 0, 0, 0},
  8758. {0x17, 0, 0, 0, 0},
  8759. {0x18, 0, 0, 0, 0},
  8760. {0x19, 0, 0, 0, 0},
  8761. {0x1A, 0, 0, 0, 0},
  8762. {0x1B, 0, 0, 0, 0},
  8763. {0x1C, 0, 0, 0, 0},
  8764. {0x1D, 0, 0, 0, 0},
  8765. {0x1E, 0, 0, 0, 0},
  8766. {0x1F, 0, 0, 0, 0},
  8767. {0x20, 0x3, 0x3, 0, 0},
  8768. {0x21, 0, 0, 0, 0},
  8769. {0x22, 0, 0, 0, 0},
  8770. {0x23, 0x90, 0x90, 0, 0},
  8771. {0x24, 0x55, 0x55, 0, 0},
  8772. {0x25, 0x15, 0x15, 0, 0},
  8773. {0x26, 0x5, 0x5, 0, 0},
  8774. {0x27, 0x15, 0x15, 0, 0},
  8775. {0x28, 0x5, 0x5, 0, 0},
  8776. {0x29, 0x20, 0x20, 0, 0},
  8777. {0x2A, 0x11, 0x11, 0, 0},
  8778. {0x2B, 0x90, 0x90, 0, 0},
  8779. {0x2C, 0, 0, 0, 0},
  8780. {0x2D, 0x88, 0x88, 0, 0},
  8781. {0x2E, 0x32, 0x32, 0, 0},
  8782. {0x2F, 0x77, 0x77, 0, 0},
  8783. {0x30, 0x17, 0x17, 1, 1},
  8784. {0x31, 0xff, 0xff, 1, 1},
  8785. {0x32, 0x20, 0x20, 0, 0},
  8786. {0x33, 0, 0, 0, 0},
  8787. {0x34, 0x88, 0x88, 0, 0},
  8788. {0x35, 0x32, 0x32, 0, 0},
  8789. {0x36, 0x77, 0x77, 0, 0},
  8790. {0x37, 0x17, 0x17, 1, 1},
  8791. {0x38, 0xf0, 0xf0, 1, 1},
  8792. {0x39, 0x20, 0x20, 0, 0},
  8793. {0x3A, 0x8, 0x8, 0, 0},
  8794. {0x3B, 0x55, 0x55, 1, 1},
  8795. {0x3C, 0, 0, 0, 0},
  8796. {0x3D, 0x44, 0x44, 1, 1},
  8797. {0x3E, 0, 0, 0, 0},
  8798. {0x3F, 0x44, 0x44, 0, 0},
  8799. {0x40, 0xf, 0xf, 1, 1},
  8800. {0x41, 0x6, 0x6, 0, 0},
  8801. {0x42, 0x4, 0x4, 0, 0},
  8802. {0x43, 0x50, 0x50, 1, 1},
  8803. {0x44, 0x8, 0x8, 0, 0},
  8804. {0x45, 0x55, 0x55, 1, 1},
  8805. {0x46, 0, 0, 0, 0},
  8806. {0x47, 0x11, 0x11, 0, 0},
  8807. {0x48, 0, 0, 0, 0},
  8808. {0x49, 0x44, 0x44, 0, 0},
  8809. {0x4A, 0x7, 0x7, 0, 0},
  8810. {0x4B, 0x6, 0x6, 0, 0},
  8811. {0x4C, 0x4, 0x4, 0, 0},
  8812. {0x4D, 0, 0, 0, 0},
  8813. {0x4E, 0, 0, 0, 0},
  8814. {0x4F, 0x26, 0x26, 1, 1},
  8815. {0x50, 0x26, 0x26, 1, 1},
  8816. {0x51, 0xf, 0xf, 1, 1},
  8817. {0x52, 0xf, 0xf, 1, 1},
  8818. {0x53, 0x44, 0x44, 0, 0},
  8819. {0x54, 0, 0, 0, 0},
  8820. {0x55, 0, 0, 0, 0},
  8821. {0x56, 0x8, 0x8, 0, 0},
  8822. {0x57, 0x8, 0x8, 0, 0},
  8823. {0x58, 0x7, 0x7, 0, 0},
  8824. {0x59, 0x22, 0x22, 0, 0},
  8825. {0x5A, 0x22, 0x22, 0, 0},
  8826. {0x5B, 0x2, 0x2, 0, 0},
  8827. {0x5C, 0x2f, 0x2f, 1, 1},
  8828. {0x5D, 0x7, 0x7, 0, 0},
  8829. {0x5E, 0x55, 0x55, 0, 0},
  8830. {0x5F, 0x23, 0x23, 0, 0},
  8831. {0x60, 0x41, 0x41, 0, 0},
  8832. {0x61, 0x1, 0x1, 0, 0},
  8833. {0x62, 0xa, 0xa, 0, 0},
  8834. {0x63, 0, 0, 0, 0},
  8835. {0x64, 0, 0, 0, 0},
  8836. {0x65, 0, 0, 0, 0},
  8837. {0x66, 0, 0, 0, 0},
  8838. {0x67, 0, 0, 0, 0},
  8839. {0x68, 0, 0, 0, 0},
  8840. {0x69, 0, 0, 0, 0},
  8841. {0x6A, 0, 0, 0, 0},
  8842. {0x6B, 0xc, 0xc, 0, 0},
  8843. {0x6C, 0, 0, 0, 0},
  8844. {0x6D, 0, 0, 0, 0},
  8845. {0x6E, 0, 0, 0, 0},
  8846. {0x6F, 0, 0, 0, 0},
  8847. {0x70, 0, 0, 0, 0},
  8848. {0x71, 0, 0, 0, 0},
  8849. {0x72, 0x22, 0x22, 0, 0},
  8850. {0x73, 0x22, 0x22, 0, 0},
  8851. {0x74, 0, 0, 1, 1},
  8852. {0x75, 0xa, 0xa, 0, 0},
  8853. {0x76, 0x1, 0x1, 0, 0},
  8854. {0x77, 0x22, 0x22, 0, 0},
  8855. {0x78, 0x30, 0x30, 0, 0},
  8856. {0x79, 0, 0, 0, 0},
  8857. {0x7A, 0, 0, 0, 0},
  8858. {0x7B, 0, 0, 0, 0},
  8859. {0x7C, 0, 0, 0, 0},
  8860. {0x7D, 0, 0, 0, 0},
  8861. {0x7E, 0, 0, 0, 0},
  8862. {0x7F, 0, 0, 0, 0},
  8863. {0x80, 0, 0, 0, 0},
  8864. {0x81, 0, 0, 0, 0},
  8865. {0x82, 0, 0, 0, 0},
  8866. {0x83, 0, 0, 0, 0},
  8867. {0x84, 0, 0, 0, 0},
  8868. {0x85, 0, 0, 0, 0},
  8869. {0x86, 0, 0, 0, 0},
  8870. {0x87, 0, 0, 0, 0},
  8871. {0x88, 0, 0, 0, 0},
  8872. {0x89, 0, 0, 0, 0},
  8873. {0x8A, 0, 0, 0, 0},
  8874. {0x8B, 0, 0, 0, 0},
  8875. {0x8C, 0, 0, 0, 0},
  8876. {0x8D, 0, 0, 0, 0},
  8877. {0x8E, 0, 0, 0, 0},
  8878. {0x8F, 0, 0, 0, 0},
  8879. {0x90, 0, 0, 0, 0},
  8880. {0x91, 0, 0, 0, 0},
  8881. {0x92, 0, 0, 0, 0},
  8882. {0x93, 0, 0, 0, 0},
  8883. {0x94, 0, 0, 0, 0},
  8884. {0xFFFF, 0, 0, 0, 0}
  8885. };
  8886. static struct radio_regs regs_SYN_2056_rev5[] = {
  8887. {0x02, 0, 0, 0, 0},
  8888. {0x03, 0, 0, 0, 0},
  8889. {0x04, 0, 0, 0, 0},
  8890. {0x05, 0, 0, 0, 0},
  8891. {0x06, 0, 0, 0, 0},
  8892. {0x07, 0, 0, 0, 0},
  8893. {0x08, 0, 0, 0, 0},
  8894. {0x09, 0x1, 0x1, 0, 0},
  8895. {0x0A, 0, 0, 0, 0},
  8896. {0x0B, 0, 0, 0, 0},
  8897. {0x0C, 0, 0, 0, 0},
  8898. {0x0D, 0, 0, 0, 0},
  8899. {0x0E, 0, 0, 0, 0},
  8900. {0x0F, 0, 0, 0, 0},
  8901. {0x10, 0, 0, 0, 0},
  8902. {0x11, 0, 0, 0, 0},
  8903. {0x12, 0, 0, 0, 0},
  8904. {0x13, 0, 0, 0, 0},
  8905. {0x14, 0, 0, 0, 0},
  8906. {0x15, 0, 0, 0, 0},
  8907. {0x16, 0, 0, 0, 0},
  8908. {0x17, 0, 0, 0, 0},
  8909. {0x18, 0, 0, 0, 0},
  8910. {0x19, 0, 0, 0, 0},
  8911. {0x1A, 0, 0, 0, 0},
  8912. {0x1B, 0, 0, 0, 0},
  8913. {0x1C, 0, 0, 0, 0},
  8914. {0x1D, 0, 0, 0, 0},
  8915. {0x1E, 0, 0, 0, 0},
  8916. {0x1F, 0, 0, 0, 0},
  8917. {0x20, 0, 0, 0, 0},
  8918. {0x21, 0, 0, 0, 0},
  8919. {0x22, 0x60, 0x60, 0, 0},
  8920. {0x23, 0x6, 0x6, 0, 0},
  8921. {0x24, 0xc, 0xc, 0, 0},
  8922. {0x25, 0, 0, 0, 0},
  8923. {0x26, 0, 0, 0, 0},
  8924. {0x27, 0, 0, 0, 0},
  8925. {0x28, 0x1, 0x1, 0, 0},
  8926. {0x29, 0, 0, 0, 0},
  8927. {0x2A, 0, 0, 0, 0},
  8928. {0x2B, 0, 0, 0, 0},
  8929. {0x2C, 0, 0, 0, 0},
  8930. {0x2D, 0, 0, 0, 0},
  8931. {0x2E, 0, 0, 0, 0},
  8932. {0x2F, 0x1f, 0x1f, 0, 0},
  8933. {0x30, 0x15, 0x15, 0, 0},
  8934. {0x31, 0xf, 0xf, 0, 0},
  8935. {0x32, 0, 0, 0, 0},
  8936. {0x33, 0, 0, 0, 0},
  8937. {0x34, 0, 0, 0, 0},
  8938. {0x35, 0, 0, 0, 0},
  8939. {0x36, 0, 0, 0, 0},
  8940. {0x37, 0, 0, 0, 0},
  8941. {0x38, 0, 0, 0, 0},
  8942. {0x39, 0, 0, 0, 0},
  8943. {0x3A, 0, 0, 0, 0},
  8944. {0x3B, 0, 0, 0, 0},
  8945. {0x3C, 0x13, 0x13, 0, 0},
  8946. {0x3D, 0xf, 0xf, 0, 0},
  8947. {0x3E, 0x18, 0x18, 0, 0},
  8948. {0x3F, 0, 0, 0, 0},
  8949. {0x40, 0, 0, 0, 0},
  8950. {0x41, 0x20, 0x20, 0, 0},
  8951. {0x42, 0x20, 0x20, 0, 0},
  8952. {0x43, 0, 0, 0, 0},
  8953. {0x44, 0x77, 0x77, 0, 0},
  8954. {0x45, 0x7, 0x7, 0, 0},
  8955. {0x46, 0x1, 0x1, 0, 0},
  8956. {0x47, 0x4, 0x4, 0, 0},
  8957. {0x48, 0xf, 0xf, 0, 0},
  8958. {0x49, 0x30, 0x30, 0, 0},
  8959. {0x4A, 0x32, 0x32, 0, 0},
  8960. {0x4B, 0xd, 0xd, 0, 0},
  8961. {0x4C, 0xd, 0xd, 0, 0},
  8962. {0x4D, 0x4, 0x4, 0, 0},
  8963. {0x4E, 0x6, 0x6, 0, 0},
  8964. {0x4F, 0x1, 0x1, 0, 0},
  8965. {0x50, 0x1c, 0x1c, 0, 0},
  8966. {0x51, 0x2, 0x2, 0, 0},
  8967. {0x52, 0x2, 0x2, 0, 0},
  8968. {0x53, 0xf7, 0xf7, 1, 1},
  8969. {0x54, 0xb4, 0xb4, 0, 0},
  8970. {0x55, 0xd2, 0xd2, 0, 0},
  8971. {0x56, 0, 0, 0, 0},
  8972. {0x57, 0, 0, 0, 0},
  8973. {0x58, 0x4, 0x4, 0, 0},
  8974. {0x59, 0x96, 0x96, 0, 0},
  8975. {0x5A, 0x3e, 0x3e, 0, 0},
  8976. {0x5B, 0x3e, 0x3e, 0, 0},
  8977. {0x5C, 0x13, 0x13, 0, 0},
  8978. {0x5D, 0x2, 0x2, 0, 0},
  8979. {0x5E, 0, 0, 0, 0},
  8980. {0x5F, 0x7, 0x7, 0, 0},
  8981. {0x60, 0x7, 0x7, 1, 1},
  8982. {0x61, 0x8, 0x8, 0, 0},
  8983. {0x62, 0x3, 0x3, 0, 0},
  8984. {0x63, 0, 0, 0, 0},
  8985. {0x64, 0, 0, 0, 0},
  8986. {0x65, 0, 0, 0, 0},
  8987. {0x66, 0, 0, 0, 0},
  8988. {0x67, 0, 0, 0, 0},
  8989. {0x68, 0x40, 0x40, 0, 0},
  8990. {0x69, 0, 0, 0, 0},
  8991. {0x6A, 0, 0, 0, 0},
  8992. {0x6B, 0, 0, 0, 0},
  8993. {0x6C, 0, 0, 0, 0},
  8994. {0x6D, 0x1, 0x1, 0, 0},
  8995. {0x6E, 0, 0, 0, 0},
  8996. {0x6F, 0, 0, 0, 0},
  8997. {0x70, 0x60, 0x60, 0, 0},
  8998. {0x71, 0x66, 0x66, 0, 0},
  8999. {0x72, 0xc, 0xc, 0, 0},
  9000. {0x73, 0x66, 0x66, 0, 0},
  9001. {0x74, 0x8f, 0x8f, 1, 1},
  9002. {0x75, 0, 0, 0, 0},
  9003. {0x76, 0xcc, 0xcc, 0, 0},
  9004. {0x77, 0x1, 0x1, 0, 0},
  9005. {0x78, 0x66, 0x66, 0, 0},
  9006. {0x79, 0x66, 0x66, 0, 0},
  9007. {0x7A, 0, 0, 0, 0},
  9008. {0x7B, 0, 0, 0, 0},
  9009. {0x7C, 0, 0, 0, 0},
  9010. {0x7D, 0, 0, 0, 0},
  9011. {0x7E, 0, 0, 0, 0},
  9012. {0x7F, 0, 0, 0, 0},
  9013. {0x80, 0, 0, 0, 0},
  9014. {0x81, 0, 0, 0, 0},
  9015. {0x82, 0, 0, 0, 0},
  9016. {0x83, 0, 0, 0, 0},
  9017. {0x84, 0, 0, 0, 0},
  9018. {0x85, 0xff, 0xff, 0, 0},
  9019. {0x86, 0, 0, 0, 0},
  9020. {0x87, 0, 0, 0, 0},
  9021. {0x88, 0, 0, 0, 0},
  9022. {0x89, 0, 0, 0, 0},
  9023. {0x8A, 0, 0, 0, 0},
  9024. {0x8B, 0, 0, 0, 0},
  9025. {0x8C, 0, 0, 0, 0},
  9026. {0x8D, 0, 0, 0, 0},
  9027. {0x8E, 0, 0, 0, 0},
  9028. {0x8F, 0, 0, 0, 0},
  9029. {0x90, 0, 0, 0, 0},
  9030. {0x91, 0, 0, 0, 0},
  9031. {0x92, 0, 0, 0, 0},
  9032. {0x93, 0, 0, 0, 0},
  9033. {0x94, 0, 0, 0, 0},
  9034. {0x95, 0, 0, 0, 0},
  9035. {0x96, 0, 0, 0, 0},
  9036. {0x97, 0, 0, 0, 0},
  9037. {0x98, 0, 0, 0, 0},
  9038. {0x99, 0, 0, 0, 0},
  9039. {0x9A, 0, 0, 0, 0},
  9040. {0x9B, 0, 0, 0, 0},
  9041. {0x9C, 0, 0, 0, 0},
  9042. {0x9D, 0, 0, 0, 0},
  9043. {0x9E, 0, 0, 0, 0},
  9044. {0x9F, 0x6, 0x6, 0, 0},
  9045. {0xA0, 0x66, 0x66, 0, 0},
  9046. {0xA1, 0x66, 0x66, 0, 0},
  9047. {0xA2, 0x66, 0x66, 0, 0},
  9048. {0xA3, 0x66, 0x66, 0, 0},
  9049. {0xA4, 0x66, 0x66, 0, 0},
  9050. {0xA5, 0x66, 0x66, 0, 0},
  9051. {0xA6, 0x66, 0x66, 0, 0},
  9052. {0xA7, 0x66, 0x66, 0, 0},
  9053. {0xA8, 0x66, 0x66, 0, 0},
  9054. {0xA9, 0x66, 0x66, 0, 0},
  9055. {0xAA, 0x66, 0x66, 0, 0},
  9056. {0xAB, 0x66, 0x66, 0, 0},
  9057. {0xAC, 0x66, 0x66, 0, 0},
  9058. {0xAD, 0x66, 0x66, 0, 0},
  9059. {0xAE, 0x66, 0x66, 0, 0},
  9060. {0xAF, 0x66, 0x66, 0, 0},
  9061. {0xB0, 0x66, 0x66, 0, 0},
  9062. {0xB1, 0x66, 0x66, 0, 0},
  9063. {0xB2, 0x66, 0x66, 0, 0},
  9064. {0xB3, 0xa, 0xa, 0, 0},
  9065. {0xB4, 0, 0, 0, 0},
  9066. {0xB5, 0, 0, 0, 0},
  9067. {0xB6, 0, 0, 0, 0},
  9068. {0xFFFF, 0, 0, 0, 0}
  9069. };
  9070. static struct radio_regs regs_TX_2056_rev5[] = {
  9071. {0x02, 0, 0, 0, 0},
  9072. {0x03, 0, 0, 0, 0},
  9073. {0x04, 0, 0, 0, 0},
  9074. {0x05, 0, 0, 0, 0},
  9075. {0x06, 0, 0, 0, 0},
  9076. {0x07, 0, 0, 0, 0},
  9077. {0x08, 0, 0, 0, 0},
  9078. {0x09, 0, 0, 0, 0},
  9079. {0x0A, 0, 0, 0, 0},
  9080. {0x0B, 0, 0, 0, 0},
  9081. {0x0C, 0, 0, 0, 0},
  9082. {0x0D, 0, 0, 0, 0},
  9083. {0x0E, 0, 0, 0, 0},
  9084. {0x0F, 0, 0, 0, 0},
  9085. {0x10, 0, 0, 0, 0},
  9086. {0x11, 0, 0, 0, 0},
  9087. {0x12, 0, 0, 0, 0},
  9088. {0x13, 0, 0, 0, 0},
  9089. {0x14, 0, 0, 0, 0},
  9090. {0x15, 0, 0, 0, 0},
  9091. {0x16, 0, 0, 0, 0},
  9092. {0x17, 0, 0, 0, 0},
  9093. {0x18, 0, 0, 0, 0},
  9094. {0x19, 0, 0, 0, 0},
  9095. {0x1A, 0, 0, 0, 0},
  9096. {0x1B, 0, 0, 0, 0},
  9097. {0x1C, 0, 0, 0, 0},
  9098. {0x1D, 0, 0, 0, 0},
  9099. {0x1E, 0, 0, 0, 0},
  9100. {0x1F, 0, 0, 0, 0},
  9101. {0x20, 0, 0, 0, 0},
  9102. {0x21, 0x88, 0x88, 0, 0},
  9103. {0x22, 0x88, 0x88, 0, 0},
  9104. {0x23, 0x88, 0x88, 0, 0},
  9105. {0x24, 0x88, 0x88, 0, 0},
  9106. {0x25, 0xc, 0xc, 0, 0},
  9107. {0x26, 0, 0, 0, 0},
  9108. {0x27, 0x3, 0x3, 0, 0},
  9109. {0x28, 0, 0, 0, 0},
  9110. {0x29, 0x3, 0x3, 0, 0},
  9111. {0x2A, 0x37, 0x37, 0, 0},
  9112. {0x2B, 0x3, 0x3, 0, 0},
  9113. {0x2C, 0, 0, 0, 0},
  9114. {0x2D, 0, 0, 0, 0},
  9115. {0x2E, 0x1, 0x1, 0, 0},
  9116. {0x2F, 0x1, 0x1, 0, 0},
  9117. {0x30, 0, 0, 0, 0},
  9118. {0x31, 0, 0, 0, 0},
  9119. {0x32, 0, 0, 0, 0},
  9120. {0x33, 0x11, 0x11, 0, 0},
  9121. {0x34, 0x11, 0x11, 0, 0},
  9122. {0x35, 0, 0, 0, 0},
  9123. {0x36, 0, 0, 0, 0},
  9124. {0x37, 0x3, 0x3, 0, 0},
  9125. {0x38, 0xf, 0xf, 0, 0},
  9126. {0x39, 0, 0, 0, 0},
  9127. {0x3A, 0x2d, 0x2d, 0, 0},
  9128. {0x3B, 0, 0, 0, 0},
  9129. {0x3C, 0x6e, 0x6e, 0, 0},
  9130. {0x3D, 0xf0, 0xf0, 1, 1},
  9131. {0x3E, 0, 0, 0, 0},
  9132. {0x3F, 0, 0, 0, 0},
  9133. {0x40, 0, 0, 0, 0},
  9134. {0x41, 0x3, 0x3, 0, 0},
  9135. {0x42, 0x3, 0x3, 0, 0},
  9136. {0x43, 0, 0, 0, 0},
  9137. {0x44, 0x1e, 0x1e, 0, 0},
  9138. {0x45, 0, 0, 0, 0},
  9139. {0x46, 0x6e, 0x6e, 0, 0},
  9140. {0x47, 0xf0, 0xf0, 1, 1},
  9141. {0x48, 0, 0, 0, 0},
  9142. {0x49, 0x2, 0x2, 0, 0},
  9143. {0x4A, 0xff, 0xff, 1, 1},
  9144. {0x4B, 0xc, 0xc, 0, 0},
  9145. {0x4C, 0, 0, 0, 0},
  9146. {0x4D, 0x38, 0x38, 0, 0},
  9147. {0x4E, 0x70, 0x70, 1, 1},
  9148. {0x4F, 0x2, 0x2, 0, 0},
  9149. {0x50, 0x88, 0x88, 0, 0},
  9150. {0x51, 0xc, 0xc, 0, 0},
  9151. {0x52, 0, 0, 0, 0},
  9152. {0x53, 0x8, 0x8, 0, 0},
  9153. {0x54, 0x70, 0x70, 1, 1},
  9154. {0x55, 0x2, 0x2, 0, 0},
  9155. {0x56, 0xff, 0xff, 1, 1},
  9156. {0x57, 0, 0, 0, 0},
  9157. {0x58, 0x83, 0x83, 0, 0},
  9158. {0x59, 0x77, 0x77, 1, 1},
  9159. {0x5A, 0, 0, 0, 0},
  9160. {0x5B, 0x2, 0x2, 0, 0},
  9161. {0x5C, 0x88, 0x88, 0, 0},
  9162. {0x5D, 0, 0, 0, 0},
  9163. {0x5E, 0x8, 0x8, 0, 0},
  9164. {0x5F, 0x77, 0x77, 1, 1},
  9165. {0x60, 0x1, 0x1, 0, 0},
  9166. {0x61, 0, 0, 0, 0},
  9167. {0x62, 0x7, 0x7, 0, 0},
  9168. {0x63, 0, 0, 0, 0},
  9169. {0x64, 0x7, 0x7, 0, 0},
  9170. {0x65, 0, 0, 0, 0},
  9171. {0x66, 0, 0, 0, 0},
  9172. {0x67, 0, 0, 1, 1},
  9173. {0x68, 0, 0, 0, 0},
  9174. {0x69, 0xa, 0xa, 0, 0},
  9175. {0x6A, 0, 0, 0, 0},
  9176. {0x6B, 0, 0, 0, 0},
  9177. {0x6C, 0, 0, 0, 0},
  9178. {0x6D, 0, 0, 0, 0},
  9179. {0x6E, 0, 0, 0, 0},
  9180. {0x6F, 0, 0, 0, 0},
  9181. {0x70, 0, 0, 0, 0},
  9182. {0x71, 0x2, 0x2, 0, 0},
  9183. {0x72, 0, 0, 0, 0},
  9184. {0x73, 0, 0, 0, 0},
  9185. {0x74, 0xe, 0xe, 0, 0},
  9186. {0x75, 0xe, 0xe, 0, 0},
  9187. {0x76, 0xe, 0xe, 0, 0},
  9188. {0x77, 0x13, 0x13, 0, 0},
  9189. {0x78, 0x13, 0x13, 0, 0},
  9190. {0x79, 0x1b, 0x1b, 0, 0},
  9191. {0x7A, 0x1b, 0x1b, 0, 0},
  9192. {0x7B, 0x55, 0x55, 0, 0},
  9193. {0x7C, 0x5b, 0x5b, 0, 0},
  9194. {0x7D, 0, 0, 0, 0},
  9195. {0x7E, 0, 0, 0, 0},
  9196. {0x7F, 0, 0, 0, 0},
  9197. {0x80, 0, 0, 0, 0},
  9198. {0x81, 0, 0, 0, 0},
  9199. {0x82, 0, 0, 0, 0},
  9200. {0x83, 0, 0, 0, 0},
  9201. {0x84, 0, 0, 0, 0},
  9202. {0x85, 0, 0, 0, 0},
  9203. {0x86, 0, 0, 0, 0},
  9204. {0x87, 0, 0, 0, 0},
  9205. {0x88, 0, 0, 0, 0},
  9206. {0x89, 0, 0, 0, 0},
  9207. {0x8A, 0, 0, 0, 0},
  9208. {0x8B, 0, 0, 0, 0},
  9209. {0x8C, 0, 0, 0, 0},
  9210. {0x8D, 0, 0, 0, 0},
  9211. {0x8E, 0, 0, 0, 0},
  9212. {0x8F, 0, 0, 0, 0},
  9213. {0x90, 0, 0, 0, 0},
  9214. {0x91, 0, 0, 0, 0},
  9215. {0x92, 0, 0, 0, 0},
  9216. {0x93, 0x70, 0x70, 0, 0},
  9217. {0x94, 0x70, 0x70, 0, 0},
  9218. {0x95, 0x71, 0x71, 1, 1},
  9219. {0x96, 0x71, 0x71, 1, 1},
  9220. {0x97, 0x72, 0x72, 1, 1},
  9221. {0x98, 0x73, 0x73, 1, 1},
  9222. {0x99, 0x74, 0x74, 1, 1},
  9223. {0x9A, 0x75, 0x75, 1, 1},
  9224. {0xFFFF, 0, 0, 0, 0}
  9225. };
  9226. static struct radio_regs regs_RX_2056_rev5[] = {
  9227. {0x02, 0, 0, 0, 0},
  9228. {0x03, 0, 0, 0, 0},
  9229. {0x04, 0, 0, 0, 0},
  9230. {0x05, 0, 0, 0, 0},
  9231. {0x06, 0, 0, 0, 0},
  9232. {0x07, 0, 0, 0, 0},
  9233. {0x08, 0, 0, 0, 0},
  9234. {0x09, 0, 0, 0, 0},
  9235. {0x0A, 0, 0, 0, 0},
  9236. {0x0B, 0, 0, 0, 0},
  9237. {0x0C, 0, 0, 0, 0},
  9238. {0x0D, 0, 0, 0, 0},
  9239. {0x0E, 0, 0, 0, 0},
  9240. {0x0F, 0, 0, 0, 0},
  9241. {0x10, 0, 0, 0, 0},
  9242. {0x11, 0, 0, 0, 0},
  9243. {0x12, 0, 0, 0, 0},
  9244. {0x13, 0, 0, 0, 0},
  9245. {0x14, 0, 0, 0, 0},
  9246. {0x15, 0, 0, 0, 0},
  9247. {0x16, 0, 0, 0, 0},
  9248. {0x17, 0, 0, 0, 0},
  9249. {0x18, 0, 0, 0, 0},
  9250. {0x19, 0, 0, 0, 0},
  9251. {0x1A, 0, 0, 0, 0},
  9252. {0x1B, 0, 0, 0, 0},
  9253. {0x1C, 0, 0, 0, 0},
  9254. {0x1D, 0, 0, 0, 0},
  9255. {0x1E, 0, 0, 0, 0},
  9256. {0x1F, 0, 0, 0, 0},
  9257. {0x20, 0x3, 0x3, 0, 0},
  9258. {0x21, 0, 0, 0, 0},
  9259. {0x22, 0, 0, 0, 0},
  9260. {0x23, 0x90, 0x90, 0, 0},
  9261. {0x24, 0x55, 0x55, 0, 0},
  9262. {0x25, 0x15, 0x15, 0, 0},
  9263. {0x26, 0x5, 0x5, 0, 0},
  9264. {0x27, 0x15, 0x15, 0, 0},
  9265. {0x28, 0x5, 0x5, 0, 0},
  9266. {0x29, 0x20, 0x20, 0, 0},
  9267. {0x2A, 0x11, 0x11, 0, 0},
  9268. {0x2B, 0x90, 0x90, 0, 0},
  9269. {0x2C, 0, 0, 0, 0},
  9270. {0x2D, 0x88, 0x88, 0, 0},
  9271. {0x2E, 0x32, 0x32, 0, 0},
  9272. {0x2F, 0x77, 0x77, 0, 0},
  9273. {0x30, 0x17, 0x17, 1, 1},
  9274. {0x31, 0xff, 0xff, 1, 1},
  9275. {0x32, 0x20, 0x20, 0, 0},
  9276. {0x33, 0, 0, 0, 0},
  9277. {0x34, 0x88, 0x88, 0, 0},
  9278. {0x35, 0x32, 0x32, 0, 0},
  9279. {0x36, 0x77, 0x77, 0, 0},
  9280. {0x37, 0x17, 0x17, 1, 1},
  9281. {0x38, 0xf0, 0xf0, 1, 1},
  9282. {0x39, 0x20, 0x20, 0, 0},
  9283. {0x3A, 0x8, 0x8, 0, 0},
  9284. {0x3B, 0x55, 0x55, 1, 1},
  9285. {0x3C, 0, 0, 0, 0},
  9286. {0x3D, 0x88, 0x88, 1, 1},
  9287. {0x3E, 0, 0, 0, 0},
  9288. {0x3F, 0, 0, 1, 1},
  9289. {0x40, 0x7, 0x7, 1, 1},
  9290. {0x41, 0x6, 0x6, 0, 0},
  9291. {0x42, 0x4, 0x4, 0, 0},
  9292. {0x43, 0, 0, 0, 0},
  9293. {0x44, 0x8, 0x8, 0, 0},
  9294. {0x45, 0x55, 0x55, 1, 1},
  9295. {0x46, 0, 0, 0, 0},
  9296. {0x47, 0x11, 0x11, 0, 0},
  9297. {0x48, 0, 0, 0, 0},
  9298. {0x49, 0, 0, 1, 1},
  9299. {0x4A, 0x7, 0x7, 0, 0},
  9300. {0x4B, 0x6, 0x6, 0, 0},
  9301. {0x4C, 0x4, 0x4, 0, 0},
  9302. {0x4D, 0, 0, 0, 0},
  9303. {0x4E, 0, 0, 0, 0},
  9304. {0x4F, 0x26, 0x26, 1, 1},
  9305. {0x50, 0x26, 0x26, 1, 1},
  9306. {0x51, 0xf, 0xf, 1, 1},
  9307. {0x52, 0xf, 0xf, 1, 1},
  9308. {0x53, 0x44, 0x44, 0, 0},
  9309. {0x54, 0, 0, 0, 0},
  9310. {0x55, 0, 0, 0, 0},
  9311. {0x56, 0x8, 0x8, 0, 0},
  9312. {0x57, 0x8, 0x8, 0, 0},
  9313. {0x58, 0x7, 0x7, 0, 0},
  9314. {0x59, 0x22, 0x22, 0, 0},
  9315. {0x5A, 0x22, 0x22, 0, 0},
  9316. {0x5B, 0x2, 0x2, 0, 0},
  9317. {0x5C, 0x4, 0x4, 1, 1},
  9318. {0x5D, 0x7, 0x7, 0, 0},
  9319. {0x5E, 0x55, 0x55, 0, 0},
  9320. {0x5F, 0x23, 0x23, 0, 0},
  9321. {0x60, 0x41, 0x41, 0, 0},
  9322. {0x61, 0x1, 0x1, 0, 0},
  9323. {0x62, 0xa, 0xa, 0, 0},
  9324. {0x63, 0, 0, 0, 0},
  9325. {0x64, 0, 0, 0, 0},
  9326. {0x65, 0, 0, 0, 0},
  9327. {0x66, 0, 0, 0, 0},
  9328. {0x67, 0, 0, 0, 0},
  9329. {0x68, 0, 0, 0, 0},
  9330. {0x69, 0, 0, 0, 0},
  9331. {0x6A, 0, 0, 0, 0},
  9332. {0x6B, 0xc, 0xc, 0, 0},
  9333. {0x6C, 0, 0, 0, 0},
  9334. {0x6D, 0, 0, 0, 0},
  9335. {0x6E, 0, 0, 0, 0},
  9336. {0x6F, 0, 0, 0, 0},
  9337. {0x70, 0, 0, 0, 0},
  9338. {0x71, 0, 0, 0, 0},
  9339. {0x72, 0x22, 0x22, 0, 0},
  9340. {0x73, 0x22, 0x22, 0, 0},
  9341. {0x74, 0, 0, 1, 1},
  9342. {0x75, 0xa, 0xa, 0, 0},
  9343. {0x76, 0x1, 0x1, 0, 0},
  9344. {0x77, 0x22, 0x22, 0, 0},
  9345. {0x78, 0x30, 0x30, 0, 0},
  9346. {0x79, 0, 0, 0, 0},
  9347. {0x7A, 0, 0, 0, 0},
  9348. {0x7B, 0, 0, 0, 0},
  9349. {0x7C, 0, 0, 0, 0},
  9350. {0x7D, 0, 0, 0, 0},
  9351. {0x7E, 0, 0, 0, 0},
  9352. {0x7F, 0, 0, 0, 0},
  9353. {0x80, 0, 0, 0, 0},
  9354. {0x81, 0, 0, 0, 0},
  9355. {0x82, 0, 0, 0, 0},
  9356. {0x83, 0, 0, 0, 0},
  9357. {0x84, 0, 0, 0, 0},
  9358. {0x85, 0, 0, 0, 0},
  9359. {0x86, 0, 0, 0, 0},
  9360. {0x87, 0, 0, 0, 0},
  9361. {0x88, 0, 0, 0, 0},
  9362. {0x89, 0, 0, 0, 0},
  9363. {0x8A, 0, 0, 0, 0},
  9364. {0x8B, 0, 0, 0, 0},
  9365. {0x8C, 0, 0, 0, 0},
  9366. {0x8D, 0, 0, 0, 0},
  9367. {0x8E, 0, 0, 0, 0},
  9368. {0x8F, 0, 0, 0, 0},
  9369. {0x90, 0, 0, 0, 0},
  9370. {0x91, 0, 0, 0, 0},
  9371. {0x92, 0, 0, 0, 0},
  9372. {0x93, 0, 0, 0, 0},
  9373. {0x94, 0, 0, 0, 0},
  9374. {0xFFFF, 0, 0, 0, 0}
  9375. };
  9376. static struct radio_regs regs_SYN_2056_rev6[] = {
  9377. {0x02, 0, 0, 0, 0},
  9378. {0x03, 0, 0, 0, 0},
  9379. {0x04, 0, 0, 0, 0},
  9380. {0x05, 0, 0, 0, 0},
  9381. {0x06, 0, 0, 0, 0},
  9382. {0x07, 0, 0, 0, 0},
  9383. {0x08, 0, 0, 0, 0},
  9384. {0x09, 0x1, 0x1, 0, 0},
  9385. {0x0A, 0, 0, 0, 0},
  9386. {0x0B, 0, 0, 0, 0},
  9387. {0x0C, 0, 0, 0, 0},
  9388. {0x0D, 0, 0, 0, 0},
  9389. {0x0E, 0, 0, 0, 0},
  9390. {0x0F, 0, 0, 0, 0},
  9391. {0x10, 0, 0, 0, 0},
  9392. {0x11, 0, 0, 0, 0},
  9393. {0x12, 0, 0, 0, 0},
  9394. {0x13, 0, 0, 0, 0},
  9395. {0x14, 0, 0, 0, 0},
  9396. {0x15, 0, 0, 0, 0},
  9397. {0x16, 0, 0, 0, 0},
  9398. {0x17, 0, 0, 0, 0},
  9399. {0x18, 0, 0, 0, 0},
  9400. {0x19, 0, 0, 0, 0},
  9401. {0x1A, 0, 0, 0, 0},
  9402. {0x1B, 0, 0, 0, 0},
  9403. {0x1C, 0, 0, 0, 0},
  9404. {0x1D, 0, 0, 0, 0},
  9405. {0x1E, 0, 0, 0, 0},
  9406. {0x1F, 0, 0, 0, 0},
  9407. {0x20, 0, 0, 0, 0},
  9408. {0x21, 0, 0, 0, 0},
  9409. {0x22, 0x60, 0x60, 0, 0},
  9410. {0x23, 0x6, 0x6, 0, 0},
  9411. {0x24, 0xc, 0xc, 0, 0},
  9412. {0x25, 0, 0, 0, 0},
  9413. {0x26, 0, 0, 0, 0},
  9414. {0x27, 0, 0, 0, 0},
  9415. {0x28, 0x1, 0x1, 0, 0},
  9416. {0x29, 0, 0, 0, 0},
  9417. {0x2A, 0, 0, 0, 0},
  9418. {0x2B, 0, 0, 0, 0},
  9419. {0x2C, 0, 0, 0, 0},
  9420. {0x2D, 0, 0, 0, 0},
  9421. {0x2E, 0, 0, 0, 0},
  9422. {0x2F, 0x1f, 0x1f, 0, 0},
  9423. {0x30, 0x15, 0x15, 0, 0},
  9424. {0x31, 0xf, 0xf, 0, 0},
  9425. {0x32, 0, 0, 0, 0},
  9426. {0x33, 0, 0, 0, 0},
  9427. {0x34, 0, 0, 0, 0},
  9428. {0x35, 0, 0, 0, 0},
  9429. {0x36, 0, 0, 0, 0},
  9430. {0x37, 0, 0, 0, 0},
  9431. {0x38, 0, 0, 0, 0},
  9432. {0x39, 0, 0, 0, 0},
  9433. {0x3A, 0, 0, 0, 0},
  9434. {0x3B, 0, 0, 0, 0},
  9435. {0x3C, 0x13, 0x13, 0, 0},
  9436. {0x3D, 0xf, 0xf, 0, 0},
  9437. {0x3E, 0x18, 0x18, 0, 0},
  9438. {0x3F, 0, 0, 0, 0},
  9439. {0x40, 0, 0, 0, 0},
  9440. {0x41, 0x20, 0x20, 0, 0},
  9441. {0x42, 0x20, 0x20, 0, 0},
  9442. {0x43, 0, 0, 0, 0},
  9443. {0x44, 0x77, 0x77, 0, 0},
  9444. {0x45, 0x7, 0x7, 0, 0},
  9445. {0x46, 0x1, 0x1, 0, 0},
  9446. {0x47, 0x4, 0x4, 0, 0},
  9447. {0x48, 0xf, 0xf, 0, 0},
  9448. {0x49, 0x30, 0x30, 0, 0},
  9449. {0x4A, 0x32, 0x32, 0, 0},
  9450. {0x4B, 0xd, 0xd, 0, 0},
  9451. {0x4C, 0xd, 0xd, 0, 0},
  9452. {0x4D, 0x4, 0x4, 0, 0},
  9453. {0x4E, 0x6, 0x6, 0, 0},
  9454. {0x4F, 0x1, 0x1, 0, 0},
  9455. {0x50, 0x1c, 0x1c, 0, 0},
  9456. {0x51, 0x2, 0x2, 0, 0},
  9457. {0x52, 0x2, 0x2, 0, 0},
  9458. {0x53, 0xf7, 0xf7, 1, 1},
  9459. {0x54, 0xb4, 0xb4, 0, 0},
  9460. {0x55, 0xd2, 0xd2, 0, 0},
  9461. {0x56, 0, 0, 0, 0},
  9462. {0x57, 0, 0, 0, 0},
  9463. {0x58, 0x4, 0x4, 0, 0},
  9464. {0x59, 0x96, 0x96, 0, 0},
  9465. {0x5A, 0x3e, 0x3e, 0, 0},
  9466. {0x5B, 0x3e, 0x3e, 0, 0},
  9467. {0x5C, 0x13, 0x13, 0, 0},
  9468. {0x5D, 0x2, 0x2, 0, 0},
  9469. {0x5E, 0, 0, 0, 0},
  9470. {0x5F, 0x7, 0x7, 0, 0},
  9471. {0x60, 0x7, 0x7, 1, 1},
  9472. {0x61, 0x8, 0x8, 0, 0},
  9473. {0x62, 0x3, 0x3, 0, 0},
  9474. {0x63, 0, 0, 0, 0},
  9475. {0x64, 0, 0, 0, 0},
  9476. {0x65, 0, 0, 0, 0},
  9477. {0x66, 0, 0, 0, 0},
  9478. {0x67, 0, 0, 0, 0},
  9479. {0x68, 0x40, 0x40, 0, 0},
  9480. {0x69, 0, 0, 0, 0},
  9481. {0x6A, 0, 0, 0, 0},
  9482. {0x6B, 0, 0, 0, 0},
  9483. {0x6C, 0, 0, 0, 0},
  9484. {0x6D, 0x1, 0x1, 0, 0},
  9485. {0x6E, 0, 0, 0, 0},
  9486. {0x6F, 0, 0, 0, 0},
  9487. {0x70, 0x60, 0x60, 0, 0},
  9488. {0x71, 0x66, 0x66, 0, 0},
  9489. {0x72, 0xc, 0xc, 0, 0},
  9490. {0x73, 0x66, 0x66, 0, 0},
  9491. {0x74, 0x8f, 0x8f, 1, 1},
  9492. {0x75, 0, 0, 0, 0},
  9493. {0x76, 0xcc, 0xcc, 0, 0},
  9494. {0x77, 0x1, 0x1, 0, 0},
  9495. {0x78, 0x66, 0x66, 0, 0},
  9496. {0x79, 0x66, 0x66, 0, 0},
  9497. {0x7A, 0, 0, 0, 0},
  9498. {0x7B, 0, 0, 0, 0},
  9499. {0x7C, 0, 0, 0, 0},
  9500. {0x7D, 0, 0, 0, 0},
  9501. {0x7E, 0, 0, 0, 0},
  9502. {0x7F, 0, 0, 0, 0},
  9503. {0x80, 0, 0, 0, 0},
  9504. {0x81, 0, 0, 0, 0},
  9505. {0x82, 0, 0, 0, 0},
  9506. {0x83, 0, 0, 0, 0},
  9507. {0x84, 0, 0, 0, 0},
  9508. {0x85, 0xff, 0xff, 0, 0},
  9509. {0x86, 0, 0, 0, 0},
  9510. {0x87, 0, 0, 0, 0},
  9511. {0x88, 0, 0, 0, 0},
  9512. {0x89, 0, 0, 0, 0},
  9513. {0x8A, 0, 0, 0, 0},
  9514. {0x8B, 0, 0, 0, 0},
  9515. {0x8C, 0, 0, 0, 0},
  9516. {0x8D, 0, 0, 0, 0},
  9517. {0x8E, 0, 0, 0, 0},
  9518. {0x8F, 0, 0, 0, 0},
  9519. {0x90, 0, 0, 0, 0},
  9520. {0x91, 0, 0, 0, 0},
  9521. {0x92, 0, 0, 0, 0},
  9522. {0x93, 0, 0, 0, 0},
  9523. {0x94, 0, 0, 0, 0},
  9524. {0x95, 0, 0, 0, 0},
  9525. {0x96, 0, 0, 0, 0},
  9526. {0x97, 0, 0, 0, 0},
  9527. {0x98, 0, 0, 0, 0},
  9528. {0x99, 0, 0, 0, 0},
  9529. {0x9A, 0, 0, 0, 0},
  9530. {0x9B, 0, 0, 0, 0},
  9531. {0x9C, 0, 0, 0, 0},
  9532. {0x9D, 0, 0, 0, 0},
  9533. {0x9E, 0, 0, 0, 0},
  9534. {0x9F, 0x6, 0x6, 0, 0},
  9535. {0xA0, 0x66, 0x66, 0, 0},
  9536. {0xA1, 0x66, 0x66, 0, 0},
  9537. {0xA2, 0x66, 0x66, 0, 0},
  9538. {0xA3, 0x66, 0x66, 0, 0},
  9539. {0xA4, 0x66, 0x66, 0, 0},
  9540. {0xA5, 0x66, 0x66, 0, 0},
  9541. {0xA6, 0x66, 0x66, 0, 0},
  9542. {0xA7, 0x66, 0x66, 0, 0},
  9543. {0xA8, 0x66, 0x66, 0, 0},
  9544. {0xA9, 0x66, 0x66, 0, 0},
  9545. {0xAA, 0x66, 0x66, 0, 0},
  9546. {0xAB, 0x66, 0x66, 0, 0},
  9547. {0xAC, 0x66, 0x66, 0, 0},
  9548. {0xAD, 0x66, 0x66, 0, 0},
  9549. {0xAE, 0x66, 0x66, 0, 0},
  9550. {0xAF, 0x66, 0x66, 0, 0},
  9551. {0xB0, 0x66, 0x66, 0, 0},
  9552. {0xB1, 0x66, 0x66, 0, 0},
  9553. {0xB2, 0x66, 0x66, 0, 0},
  9554. {0xB3, 0xa, 0xa, 0, 0},
  9555. {0xB4, 0, 0, 0, 0},
  9556. {0xB5, 0, 0, 0, 0},
  9557. {0xB6, 0, 0, 0, 0},
  9558. {0xFFFF, 0, 0, 0, 0}
  9559. };
  9560. static struct radio_regs regs_TX_2056_rev6[] = {
  9561. {0x02, 0, 0, 0, 0},
  9562. {0x03, 0, 0, 0, 0},
  9563. {0x04, 0, 0, 0, 0},
  9564. {0x05, 0, 0, 0, 0},
  9565. {0x06, 0, 0, 0, 0},
  9566. {0x07, 0, 0, 0, 0},
  9567. {0x08, 0, 0, 0, 0},
  9568. {0x09, 0, 0, 0, 0},
  9569. {0x0A, 0, 0, 0, 0},
  9570. {0x0B, 0, 0, 0, 0},
  9571. {0x0C, 0, 0, 0, 0},
  9572. {0x0D, 0, 0, 0, 0},
  9573. {0x0E, 0, 0, 0, 0},
  9574. {0x0F, 0, 0, 0, 0},
  9575. {0x10, 0, 0, 0, 0},
  9576. {0x11, 0, 0, 0, 0},
  9577. {0x12, 0, 0, 0, 0},
  9578. {0x13, 0, 0, 0, 0},
  9579. {0x14, 0, 0, 0, 0},
  9580. {0x15, 0, 0, 0, 0},
  9581. {0x16, 0, 0, 0, 0},
  9582. {0x17, 0, 0, 0, 0},
  9583. {0x18, 0, 0, 0, 0},
  9584. {0x19, 0, 0, 0, 0},
  9585. {0x1A, 0, 0, 0, 0},
  9586. {0x1B, 0, 0, 0, 0},
  9587. {0x1C, 0, 0, 0, 0},
  9588. {0x1D, 0, 0, 0, 0},
  9589. {0x1E, 0, 0, 0, 0},
  9590. {0x1F, 0, 0, 0, 0},
  9591. {0x20, 0, 0, 0, 0},
  9592. {0x21, 0x88, 0x88, 0, 0},
  9593. {0x22, 0x88, 0x88, 0, 0},
  9594. {0x23, 0x88, 0x88, 0, 0},
  9595. {0x24, 0x88, 0x88, 0, 0},
  9596. {0x25, 0xc, 0xc, 0, 0},
  9597. {0x26, 0, 0, 0, 0},
  9598. {0x27, 0x3, 0x3, 0, 0},
  9599. {0x28, 0, 0, 0, 0},
  9600. {0x29, 0x3, 0x3, 0, 0},
  9601. {0x2A, 0x37, 0x37, 0, 0},
  9602. {0x2B, 0x3, 0x3, 0, 0},
  9603. {0x2C, 0, 0, 0, 0},
  9604. {0x2D, 0, 0, 0, 0},
  9605. {0x2E, 0x1, 0x1, 0, 0},
  9606. {0x2F, 0x1, 0x1, 0, 0},
  9607. {0x30, 0, 0, 0, 0},
  9608. {0x31, 0, 0, 0, 0},
  9609. {0x32, 0, 0, 0, 0},
  9610. {0x33, 0x11, 0x11, 0, 0},
  9611. {0x34, 0xee, 0xee, 1, 1},
  9612. {0x35, 0, 0, 0, 0},
  9613. {0x36, 0, 0, 0, 0},
  9614. {0x37, 0x3, 0x3, 0, 0},
  9615. {0x38, 0x50, 0x50, 1, 1},
  9616. {0x39, 0, 0, 0, 0},
  9617. {0x3A, 0x50, 0x50, 1, 1},
  9618. {0x3B, 0, 0, 0, 0},
  9619. {0x3C, 0x6e, 0x6e, 0, 0},
  9620. {0x3D, 0xf0, 0xf0, 1, 1},
  9621. {0x3E, 0, 0, 0, 0},
  9622. {0x3F, 0, 0, 0, 0},
  9623. {0x40, 0, 0, 0, 0},
  9624. {0x41, 0x3, 0x3, 0, 0},
  9625. {0x42, 0x3, 0x3, 0, 0},
  9626. {0x43, 0, 0, 0, 0},
  9627. {0x44, 0x1e, 0x1e, 0, 0},
  9628. {0x45, 0, 0, 0, 0},
  9629. {0x46, 0x6e, 0x6e, 0, 0},
  9630. {0x47, 0xf0, 0xf0, 1, 1},
  9631. {0x48, 0, 0, 0, 0},
  9632. {0x49, 0x2, 0x2, 0, 0},
  9633. {0x4A, 0xff, 0xff, 1, 1},
  9634. {0x4B, 0xc, 0xc, 0, 0},
  9635. {0x4C, 0, 0, 0, 0},
  9636. {0x4D, 0x38, 0x38, 0, 0},
  9637. {0x4E, 0x70, 0x70, 1, 1},
  9638. {0x4F, 0x2, 0x2, 0, 0},
  9639. {0x50, 0x88, 0x88, 0, 0},
  9640. {0x51, 0xc, 0xc, 0, 0},
  9641. {0x52, 0, 0, 0, 0},
  9642. {0x53, 0x8, 0x8, 0, 0},
  9643. {0x54, 0x70, 0x70, 1, 1},
  9644. {0x55, 0x2, 0x2, 0, 0},
  9645. {0x56, 0xff, 0xff, 1, 1},
  9646. {0x57, 0, 0, 0, 0},
  9647. {0x58, 0x83, 0x83, 0, 0},
  9648. {0x59, 0x77, 0x77, 1, 1},
  9649. {0x5A, 0, 0, 0, 0},
  9650. {0x5B, 0x2, 0x2, 0, 0},
  9651. {0x5C, 0x88, 0x88, 0, 0},
  9652. {0x5D, 0, 0, 0, 0},
  9653. {0x5E, 0x8, 0x8, 0, 0},
  9654. {0x5F, 0x77, 0x77, 1, 1},
  9655. {0x60, 0x1, 0x1, 0, 0},
  9656. {0x61, 0, 0, 0, 0},
  9657. {0x62, 0x7, 0x7, 0, 0},
  9658. {0x63, 0, 0, 0, 0},
  9659. {0x64, 0x7, 0x7, 0, 0},
  9660. {0x65, 0, 0, 0, 0},
  9661. {0x66, 0, 0, 0, 0},
  9662. {0x67, 0, 0, 1, 1},
  9663. {0x68, 0, 0, 0, 0},
  9664. {0x69, 0xa, 0xa, 0, 0},
  9665. {0x6A, 0, 0, 0, 0},
  9666. {0x6B, 0, 0, 0, 0},
  9667. {0x6C, 0, 0, 0, 0},
  9668. {0x6D, 0, 0, 0, 0},
  9669. {0x6E, 0, 0, 0, 0},
  9670. {0x6F, 0, 0, 0, 0},
  9671. {0x70, 0, 0, 0, 0},
  9672. {0x71, 0x2, 0x2, 0, 0},
  9673. {0x72, 0, 0, 0, 0},
  9674. {0x73, 0, 0, 0, 0},
  9675. {0x74, 0xe, 0xe, 0, 0},
  9676. {0x75, 0xe, 0xe, 0, 0},
  9677. {0x76, 0xe, 0xe, 0, 0},
  9678. {0x77, 0x13, 0x13, 0, 0},
  9679. {0x78, 0x13, 0x13, 0, 0},
  9680. {0x79, 0x1b, 0x1b, 0, 0},
  9681. {0x7A, 0x1b, 0x1b, 0, 0},
  9682. {0x7B, 0x55, 0x55, 0, 0},
  9683. {0x7C, 0x5b, 0x5b, 0, 0},
  9684. {0x7D, 0x30, 0x30, 1, 1},
  9685. {0x7E, 0, 0, 0, 0},
  9686. {0x7F, 0, 0, 0, 0},
  9687. {0x80, 0, 0, 0, 0},
  9688. {0x81, 0, 0, 0, 0},
  9689. {0x82, 0, 0, 0, 0},
  9690. {0x83, 0, 0, 0, 0},
  9691. {0x84, 0, 0, 0, 0},
  9692. {0x85, 0, 0, 0, 0},
  9693. {0x86, 0, 0, 0, 0},
  9694. {0x87, 0, 0, 0, 0},
  9695. {0x88, 0, 0, 0, 0},
  9696. {0x89, 0, 0, 0, 0},
  9697. {0x8A, 0, 0, 0, 0},
  9698. {0x8B, 0, 0, 0, 0},
  9699. {0x8C, 0, 0, 0, 0},
  9700. {0x8D, 0, 0, 0, 0},
  9701. {0x8E, 0, 0, 0, 0},
  9702. {0x8F, 0, 0, 0, 0},
  9703. {0x90, 0, 0, 0, 0},
  9704. {0x91, 0, 0, 0, 0},
  9705. {0x92, 0, 0, 0, 0},
  9706. {0x93, 0x70, 0x70, 0, 0},
  9707. {0x94, 0x70, 0x70, 0, 0},
  9708. {0x95, 0x70, 0x70, 0, 0},
  9709. {0x96, 0x70, 0x70, 0, 0},
  9710. {0x97, 0x70, 0x70, 0, 0},
  9711. {0x98, 0x70, 0x70, 0, 0},
  9712. {0x99, 0x70, 0x70, 0, 0},
  9713. {0x9A, 0x70, 0x70, 0, 0},
  9714. {0xFFFF, 0, 0, 0, 0}
  9715. };
  9716. static struct radio_regs regs_RX_2056_rev6[] = {
  9717. {0x02, 0, 0, 0, 0},
  9718. {0x03, 0, 0, 0, 0},
  9719. {0x04, 0, 0, 0, 0},
  9720. {0x05, 0, 0, 0, 0},
  9721. {0x06, 0, 0, 0, 0},
  9722. {0x07, 0, 0, 0, 0},
  9723. {0x08, 0, 0, 0, 0},
  9724. {0x09, 0, 0, 0, 0},
  9725. {0x0A, 0, 0, 0, 0},
  9726. {0x0B, 0, 0, 0, 0},
  9727. {0x0C, 0, 0, 0, 0},
  9728. {0x0D, 0, 0, 0, 0},
  9729. {0x0E, 0, 0, 0, 0},
  9730. {0x0F, 0, 0, 0, 0},
  9731. {0x10, 0, 0, 0, 0},
  9732. {0x11, 0, 0, 0, 0},
  9733. {0x12, 0, 0, 0, 0},
  9734. {0x13, 0, 0, 0, 0},
  9735. {0x14, 0, 0, 0, 0},
  9736. {0x15, 0, 0, 0, 0},
  9737. {0x16, 0, 0, 0, 0},
  9738. {0x17, 0, 0, 0, 0},
  9739. {0x18, 0, 0, 0, 0},
  9740. {0x19, 0, 0, 0, 0},
  9741. {0x1A, 0, 0, 0, 0},
  9742. {0x1B, 0, 0, 0, 0},
  9743. {0x1C, 0, 0, 0, 0},
  9744. {0x1D, 0, 0, 0, 0},
  9745. {0x1E, 0, 0, 0, 0},
  9746. {0x1F, 0, 0, 0, 0},
  9747. {0x20, 0x3, 0x3, 0, 0},
  9748. {0x21, 0, 0, 0, 0},
  9749. {0x22, 0, 0, 0, 0},
  9750. {0x23, 0x90, 0x90, 0, 0},
  9751. {0x24, 0x55, 0x55, 0, 0},
  9752. {0x25, 0x15, 0x15, 0, 0},
  9753. {0x26, 0x5, 0x5, 0, 0},
  9754. {0x27, 0x15, 0x15, 0, 0},
  9755. {0x28, 0x5, 0x5, 0, 0},
  9756. {0x29, 0x20, 0x20, 0, 0},
  9757. {0x2A, 0x11, 0x11, 0, 0},
  9758. {0x2B, 0x90, 0x90, 0, 0},
  9759. {0x2C, 0, 0, 0, 0},
  9760. {0x2D, 0x88, 0x88, 0, 0},
  9761. {0x2E, 0x32, 0x32, 0, 0},
  9762. {0x2F, 0x77, 0x77, 0, 0},
  9763. {0x30, 0x17, 0x17, 1, 1},
  9764. {0x31, 0xff, 0xff, 1, 1},
  9765. {0x32, 0x20, 0x20, 0, 0},
  9766. {0x33, 0, 0, 0, 0},
  9767. {0x34, 0x88, 0x88, 0, 0},
  9768. {0x35, 0x32, 0x32, 0, 0},
  9769. {0x36, 0x77, 0x77, 0, 0},
  9770. {0x37, 0x17, 0x17, 1, 1},
  9771. {0x38, 0xf0, 0xf0, 1, 1},
  9772. {0x39, 0x20, 0x20, 0, 0},
  9773. {0x3A, 0x8, 0x8, 0, 0},
  9774. {0x3B, 0x55, 0x55, 1, 1},
  9775. {0x3C, 0, 0, 0, 0},
  9776. {0x3D, 0x88, 0x88, 1, 1},
  9777. {0x3E, 0, 0, 0, 0},
  9778. {0x3F, 0x44, 0x44, 0, 0},
  9779. {0x40, 0x7, 0x7, 1, 1},
  9780. {0x41, 0x6, 0x6, 0, 0},
  9781. {0x42, 0x4, 0x4, 0, 0},
  9782. {0x43, 0, 0, 0, 0},
  9783. {0x44, 0x8, 0x8, 0, 0},
  9784. {0x45, 0x55, 0x55, 1, 1},
  9785. {0x46, 0, 0, 0, 0},
  9786. {0x47, 0x11, 0x11, 0, 0},
  9787. {0x48, 0, 0, 0, 0},
  9788. {0x49, 0x44, 0x44, 0, 0},
  9789. {0x4A, 0x7, 0x7, 0, 0},
  9790. {0x4B, 0x6, 0x6, 0, 0},
  9791. {0x4C, 0x4, 0x4, 0, 0},
  9792. {0x4D, 0, 0, 0, 0},
  9793. {0x4E, 0, 0, 0, 0},
  9794. {0x4F, 0x26, 0x26, 1, 1},
  9795. {0x50, 0x26, 0x26, 1, 1},
  9796. {0x51, 0xf, 0xf, 1, 1},
  9797. {0x52, 0xf, 0xf, 1, 1},
  9798. {0x53, 0x44, 0x44, 0, 0},
  9799. {0x54, 0, 0, 0, 0},
  9800. {0x55, 0, 0, 0, 0},
  9801. {0x56, 0x8, 0x8, 0, 0},
  9802. {0x57, 0x8, 0x8, 0, 0},
  9803. {0x58, 0x7, 0x7, 0, 0},
  9804. {0x59, 0x22, 0x22, 0, 0},
  9805. {0x5A, 0x22, 0x22, 0, 0},
  9806. {0x5B, 0x2, 0x2, 0, 0},
  9807. {0x5C, 0x4, 0x4, 1, 1},
  9808. {0x5D, 0x7, 0x7, 0, 0},
  9809. {0x5E, 0x55, 0x55, 0, 0},
  9810. {0x5F, 0x23, 0x23, 0, 0},
  9811. {0x60, 0x41, 0x41, 0, 0},
  9812. {0x61, 0x1, 0x1, 0, 0},
  9813. {0x62, 0xa, 0xa, 0, 0},
  9814. {0x63, 0, 0, 0, 0},
  9815. {0x64, 0, 0, 0, 0},
  9816. {0x65, 0, 0, 0, 0},
  9817. {0x66, 0, 0, 0, 0},
  9818. {0x67, 0, 0, 0, 0},
  9819. {0x68, 0, 0, 0, 0},
  9820. {0x69, 0, 0, 0, 0},
  9821. {0x6A, 0, 0, 0, 0},
  9822. {0x6B, 0xc, 0xc, 0, 0},
  9823. {0x6C, 0, 0, 0, 0},
  9824. {0x6D, 0, 0, 0, 0},
  9825. {0x6E, 0, 0, 0, 0},
  9826. {0x6F, 0, 0, 0, 0},
  9827. {0x70, 0, 0, 0, 0},
  9828. {0x71, 0, 0, 0, 0},
  9829. {0x72, 0x22, 0x22, 0, 0},
  9830. {0x73, 0x22, 0x22, 0, 0},
  9831. {0x74, 0, 0, 1, 1},
  9832. {0x75, 0xa, 0xa, 0, 0},
  9833. {0x76, 0x1, 0x1, 0, 0},
  9834. {0x77, 0x22, 0x22, 0, 0},
  9835. {0x78, 0x30, 0x30, 0, 0},
  9836. {0x79, 0, 0, 0, 0},
  9837. {0x7A, 0, 0, 0, 0},
  9838. {0x7B, 0, 0, 0, 0},
  9839. {0x7C, 0, 0, 0, 0},
  9840. {0x7D, 0x5, 0x5, 1, 1},
  9841. {0x7E, 0, 0, 0, 0},
  9842. {0x7F, 0, 0, 0, 0},
  9843. {0x80, 0, 0, 0, 0},
  9844. {0x81, 0, 0, 0, 0},
  9845. {0x82, 0, 0, 0, 0},
  9846. {0x83, 0, 0, 0, 0},
  9847. {0x84, 0, 0, 0, 0},
  9848. {0x85, 0, 0, 0, 0},
  9849. {0x86, 0, 0, 0, 0},
  9850. {0x87, 0, 0, 0, 0},
  9851. {0x88, 0, 0, 0, 0},
  9852. {0x89, 0, 0, 0, 0},
  9853. {0x8A, 0, 0, 0, 0},
  9854. {0x8B, 0, 0, 0, 0},
  9855. {0x8C, 0, 0, 0, 0},
  9856. {0x8D, 0, 0, 0, 0},
  9857. {0x8E, 0, 0, 0, 0},
  9858. {0x8F, 0, 0, 0, 0},
  9859. {0x90, 0, 0, 0, 0},
  9860. {0x91, 0, 0, 0, 0},
  9861. {0x92, 0, 0, 0, 0},
  9862. {0x93, 0, 0, 0, 0},
  9863. {0x94, 0, 0, 0, 0},
  9864. {0xFFFF, 0, 0, 0, 0}
  9865. };
  9866. static struct radio_regs regs_SYN_2056_rev7[] = {
  9867. {0x02, 0, 0, 0, 0},
  9868. {0x03, 0, 0, 0, 0},
  9869. {0x04, 0, 0, 0, 0},
  9870. {0x05, 0, 0, 0, 0},
  9871. {0x06, 0, 0, 0, 0},
  9872. {0x07, 0, 0, 0, 0},
  9873. {0x08, 0, 0, 0, 0},
  9874. {0x09, 0x1, 0x1, 0, 0},
  9875. {0x0A, 0, 0, 0, 0},
  9876. {0x0B, 0, 0, 0, 0},
  9877. {0x0C, 0, 0, 0, 0},
  9878. {0x0D, 0, 0, 0, 0},
  9879. {0x0E, 0, 0, 0, 0},
  9880. {0x0F, 0, 0, 0, 0},
  9881. {0x10, 0, 0, 0, 0},
  9882. {0x11, 0, 0, 0, 0},
  9883. {0x12, 0, 0, 0, 0},
  9884. {0x13, 0, 0, 0, 0},
  9885. {0x14, 0, 0, 0, 0},
  9886. {0x15, 0, 0, 0, 0},
  9887. {0x16, 0, 0, 0, 0},
  9888. {0x17, 0, 0, 0, 0},
  9889. {0x18, 0, 0, 0, 0},
  9890. {0x19, 0, 0, 0, 0},
  9891. {0x1A, 0, 0, 0, 0},
  9892. {0x1B, 0, 0, 0, 0},
  9893. {0x1C, 0, 0, 0, 0},
  9894. {0x1D, 0, 0, 0, 0},
  9895. {0x1E, 0, 0, 0, 0},
  9896. {0x1F, 0, 0, 0, 0},
  9897. {0x20, 0, 0, 0, 0},
  9898. {0x21, 0, 0, 0, 0},
  9899. {0x22, 0x60, 0x60, 0, 0},
  9900. {0x23, 0x6, 0x6, 0, 0},
  9901. {0x24, 0xc, 0xc, 0, 0},
  9902. {0x25, 0, 0, 0, 0},
  9903. {0x26, 0, 0, 0, 0},
  9904. {0x27, 0, 0, 0, 0},
  9905. {0x28, 0x1, 0x1, 0, 0},
  9906. {0x29, 0, 0, 0, 0},
  9907. {0x2A, 0, 0, 0, 0},
  9908. {0x2B, 0, 0, 0, 0},
  9909. {0x2C, 0, 0, 0, 0},
  9910. {0x2D, 0, 0, 0, 0},
  9911. {0x2E, 0, 0, 0, 0},
  9912. {0x2F, 0x1f, 0x1f, 0, 0},
  9913. {0x30, 0x15, 0x15, 0, 0},
  9914. {0x31, 0xf, 0xf, 0, 0},
  9915. {0x32, 0, 0, 0, 0},
  9916. {0x33, 0, 0, 0, 0},
  9917. {0x34, 0, 0, 0, 0},
  9918. {0x35, 0, 0, 0, 0},
  9919. {0x36, 0, 0, 0, 0},
  9920. {0x37, 0, 0, 0, 0},
  9921. {0x38, 0, 0, 0, 0},
  9922. {0x39, 0, 0, 0, 0},
  9923. {0x3A, 0, 0, 0, 0},
  9924. {0x3B, 0, 0, 0, 0},
  9925. {0x3C, 0x13, 0x13, 0, 0},
  9926. {0x3D, 0xf, 0xf, 0, 0},
  9927. {0x3E, 0x18, 0x18, 0, 0},
  9928. {0x3F, 0, 0, 0, 0},
  9929. {0x40, 0, 0, 0, 0},
  9930. {0x41, 0x20, 0x20, 0, 0},
  9931. {0x42, 0x20, 0x20, 0, 0},
  9932. {0x43, 0, 0, 0, 0},
  9933. {0x44, 0x77, 0x77, 0, 0},
  9934. {0x45, 0x7, 0x7, 0, 0},
  9935. {0x46, 0x1, 0x1, 0, 0},
  9936. {0x47, 0x4, 0x4, 0, 0},
  9937. {0x48, 0xf, 0xf, 0, 0},
  9938. {0x49, 0x30, 0x30, 0, 0},
  9939. {0x4A, 0x32, 0x32, 0, 0},
  9940. {0x4B, 0xd, 0xd, 0, 0},
  9941. {0x4C, 0xd, 0xd, 0, 0},
  9942. {0x4D, 0x4, 0x4, 0, 0},
  9943. {0x4E, 0x6, 0x6, 0, 0},
  9944. {0x4F, 0x1, 0x1, 0, 0},
  9945. {0x50, 0x1c, 0x1c, 0, 0},
  9946. {0x51, 0x2, 0x2, 0, 0},
  9947. {0x52, 0x2, 0x2, 0, 0},
  9948. {0x53, 0xf7, 0xf7, 1, 1},
  9949. {0x54, 0xb4, 0xb4, 0, 0},
  9950. {0x55, 0xd2, 0xd2, 0, 0},
  9951. {0x56, 0, 0, 0, 0},
  9952. {0x57, 0, 0, 0, 0},
  9953. {0x58, 0x4, 0x4, 0, 0},
  9954. {0x59, 0x96, 0x96, 0, 0},
  9955. {0x5A, 0x3e, 0x3e, 0, 0},
  9956. {0x5B, 0x3e, 0x3e, 0, 0},
  9957. {0x5C, 0x13, 0x13, 0, 0},
  9958. {0x5D, 0x2, 0x2, 0, 0},
  9959. {0x5E, 0, 0, 0, 0},
  9960. {0x5F, 0x7, 0x7, 0, 0},
  9961. {0x60, 0x7, 0x7, 1, 1},
  9962. {0x61, 0x8, 0x8, 0, 0},
  9963. {0x62, 0x3, 0x3, 0, 0},
  9964. {0x63, 0, 0, 0, 0},
  9965. {0x64, 0, 0, 0, 0},
  9966. {0x65, 0, 0, 0, 0},
  9967. {0x66, 0, 0, 0, 0},
  9968. {0x67, 0, 0, 0, 0},
  9969. {0x68, 0x40, 0x40, 0, 0},
  9970. {0x69, 0, 0, 0, 0},
  9971. {0x6A, 0, 0, 0, 0},
  9972. {0x6B, 0, 0, 0, 0},
  9973. {0x6C, 0, 0, 0, 0},
  9974. {0x6D, 0x1, 0x1, 0, 0},
  9975. {0x6E, 0, 0, 0, 0},
  9976. {0x6F, 0, 0, 0, 0},
  9977. {0x70, 0x60, 0x60, 0, 0},
  9978. {0x71, 0x66, 0x66, 0, 0},
  9979. {0x72, 0xc, 0xc, 0, 0},
  9980. {0x73, 0x66, 0x66, 0, 0},
  9981. {0x74, 0x8f, 0x8f, 1, 1},
  9982. {0x75, 0, 0, 0, 0},
  9983. {0x76, 0xcc, 0xcc, 0, 0},
  9984. {0x77, 0x1, 0x1, 0, 0},
  9985. {0x78, 0x66, 0x66, 0, 0},
  9986. {0x79, 0x66, 0x66, 0, 0},
  9987. {0x7A, 0, 0, 0, 0},
  9988. {0x7B, 0, 0, 0, 0},
  9989. {0x7C, 0, 0, 0, 0},
  9990. {0x7D, 0, 0, 0, 0},
  9991. {0x7E, 0, 0, 0, 0},
  9992. {0x7F, 0, 0, 0, 0},
  9993. {0x80, 0, 0, 0, 0},
  9994. {0x81, 0, 0, 0, 0},
  9995. {0x82, 0, 0, 0, 0},
  9996. {0x83, 0, 0, 0, 0},
  9997. {0x84, 0, 0, 0, 0},
  9998. {0x85, 0xff, 0xff, 0, 0},
  9999. {0x86, 0, 0, 0, 0},
  10000. {0x87, 0, 0, 0, 0},
  10001. {0x88, 0, 0, 0, 0},
  10002. {0x89, 0, 0, 0, 0},
  10003. {0x8A, 0, 0, 0, 0},
  10004. {0x8B, 0, 0, 0, 0},
  10005. {0x8C, 0, 0, 0, 0},
  10006. {0x8D, 0, 0, 0, 0},
  10007. {0x8E, 0, 0, 0, 0},
  10008. {0x8F, 0, 0, 0, 0},
  10009. {0x90, 0, 0, 0, 0},
  10010. {0x91, 0, 0, 0, 0},
  10011. {0x92, 0, 0, 0, 0},
  10012. {0x93, 0, 0, 0, 0},
  10013. {0x94, 0, 0, 0, 0},
  10014. {0x95, 0, 0, 0, 0},
  10015. {0x96, 0, 0, 0, 0},
  10016. {0x97, 0, 0, 0, 0},
  10017. {0x98, 0, 0, 0, 0},
  10018. {0x99, 0, 0, 0, 0},
  10019. {0x9A, 0, 0, 0, 0},
  10020. {0x9B, 0, 0, 0, 0},
  10021. {0x9C, 0, 0, 0, 0},
  10022. {0x9D, 0, 0, 0, 0},
  10023. {0x9E, 0, 0, 0, 0},
  10024. {0x9F, 0x6, 0x6, 0, 0},
  10025. {0xA0, 0x66, 0x66, 0, 0},
  10026. {0xA1, 0x66, 0x66, 0, 0},
  10027. {0xA2, 0x66, 0x66, 0, 0},
  10028. {0xA3, 0x66, 0x66, 0, 0},
  10029. {0xA4, 0x66, 0x66, 0, 0},
  10030. {0xA5, 0x66, 0x66, 0, 0},
  10031. {0xA6, 0x66, 0x66, 0, 0},
  10032. {0xA7, 0x66, 0x66, 0, 0},
  10033. {0xA8, 0x66, 0x66, 0, 0},
  10034. {0xA9, 0x66, 0x66, 0, 0},
  10035. {0xAA, 0x66, 0x66, 0, 0},
  10036. {0xAB, 0x66, 0x66, 0, 0},
  10037. {0xAC, 0x66, 0x66, 0, 0},
  10038. {0xAD, 0x66, 0x66, 0, 0},
  10039. {0xAE, 0x66, 0x66, 0, 0},
  10040. {0xAF, 0x66, 0x66, 0, 0},
  10041. {0xB0, 0x66, 0x66, 0, 0},
  10042. {0xB1, 0x66, 0x66, 0, 0},
  10043. {0xB2, 0x66, 0x66, 0, 0},
  10044. {0xB3, 0xa, 0xa, 0, 0},
  10045. {0xB4, 0, 0, 0, 0},
  10046. {0xB5, 0, 0, 0, 0},
  10047. {0xB6, 0, 0, 0, 0},
  10048. {0xFFFF, 0, 0, 0, 0},
  10049. };
  10050. static struct radio_regs regs_TX_2056_rev7[] = {
  10051. {0x02, 0, 0, 0, 0},
  10052. {0x03, 0, 0, 0, 0},
  10053. {0x04, 0, 0, 0, 0},
  10054. {0x05, 0, 0, 0, 0},
  10055. {0x06, 0, 0, 0, 0},
  10056. {0x07, 0, 0, 0, 0},
  10057. {0x08, 0, 0, 0, 0},
  10058. {0x09, 0, 0, 0, 0},
  10059. {0x0A, 0, 0, 0, 0},
  10060. {0x0B, 0, 0, 0, 0},
  10061. {0x0C, 0, 0, 0, 0},
  10062. {0x0D, 0, 0, 0, 0},
  10063. {0x0E, 0, 0, 0, 0},
  10064. {0x0F, 0, 0, 0, 0},
  10065. {0x10, 0, 0, 0, 0},
  10066. {0x11, 0, 0, 0, 0},
  10067. {0x12, 0, 0, 0, 0},
  10068. {0x13, 0, 0, 0, 0},
  10069. {0x14, 0, 0, 0, 0},
  10070. {0x15, 0, 0, 0, 0},
  10071. {0x16, 0, 0, 0, 0},
  10072. {0x17, 0, 0, 0, 0},
  10073. {0x18, 0, 0, 0, 0},
  10074. {0x19, 0, 0, 0, 0},
  10075. {0x1A, 0, 0, 0, 0},
  10076. {0x1B, 0, 0, 0, 0},
  10077. {0x1C, 0, 0, 0, 0},
  10078. {0x1D, 0, 0, 0, 0},
  10079. {0x1E, 0, 0, 0, 0},
  10080. {0x1F, 0, 0, 0, 0},
  10081. {0x20, 0, 0, 0, 0},
  10082. {0x21, 0x88, 0x88, 0, 0},
  10083. {0x22, 0x88, 0x88, 0, 0},
  10084. {0x23, 0x88, 0x88, 0, 0},
  10085. {0x24, 0x88, 0x88, 0, 0},
  10086. {0x25, 0xc, 0xc, 0, 0},
  10087. {0x26, 0, 0, 0, 0},
  10088. {0x27, 0x3, 0x3, 0, 0},
  10089. {0x28, 0, 0, 0, 0},
  10090. {0x29, 0x3, 0x3, 0, 0},
  10091. {0x2A, 0x37, 0x37, 0, 0},
  10092. {0x2B, 0x3, 0x3, 0, 0},
  10093. {0x2C, 0, 0, 0, 0},
  10094. {0x2D, 0, 0, 0, 0},
  10095. {0x2E, 0x1, 0x1, 0, 0},
  10096. {0x2F, 0x1, 0x1, 0, 0},
  10097. {0x30, 0, 0, 0, 0},
  10098. {0x31, 0, 0, 0, 0},
  10099. {0x32, 0, 0, 0, 0},
  10100. {0x33, 0x11, 0x11, 0, 0},
  10101. {0x34, 0xee, 0xee, 1, 1},
  10102. {0x35, 0, 0, 0, 0},
  10103. {0x36, 0, 0, 0, 0},
  10104. {0x37, 0x3, 0x3, 0, 0},
  10105. {0x38, 0x50, 0x50, 1, 1},
  10106. {0x39, 0, 0, 0, 0},
  10107. {0x3A, 0x50, 0x50, 1, 1},
  10108. {0x3B, 0, 0, 0, 0},
  10109. {0x3C, 0x6e, 0x6e, 0, 0},
  10110. {0x3D, 0xf0, 0xf0, 1, 1},
  10111. {0x3E, 0, 0, 0, 0},
  10112. {0x3F, 0, 0, 0, 0},
  10113. {0x40, 0, 0, 0, 0},
  10114. {0x41, 0x3, 0x3, 0, 0},
  10115. {0x42, 0x3, 0x3, 0, 0},
  10116. {0x43, 0, 0, 0, 0},
  10117. {0x44, 0x1e, 0x1e, 0, 0},
  10118. {0x45, 0, 0, 0, 0},
  10119. {0x46, 0x6e, 0x6e, 0, 0},
  10120. {0x47, 0xf0, 0xf0, 1, 1},
  10121. {0x48, 0, 0, 0, 0},
  10122. {0x49, 0x2, 0x2, 0, 0},
  10123. {0x4A, 0xff, 0xff, 1, 1},
  10124. {0x4B, 0xc, 0xc, 0, 0},
  10125. {0x4C, 0, 0, 0, 0},
  10126. {0x4D, 0x38, 0x38, 0, 0},
  10127. {0x4E, 0x70, 0x70, 1, 1},
  10128. {0x4F, 0x2, 0x2, 0, 0},
  10129. {0x50, 0x88, 0x88, 0, 0},
  10130. {0x51, 0xc, 0xc, 0, 0},
  10131. {0x52, 0, 0, 0, 0},
  10132. {0x53, 0x8, 0x8, 0, 0},
  10133. {0x54, 0x70, 0x70, 1, 1},
  10134. {0x55, 0x2, 0x2, 0, 0},
  10135. {0x56, 0xff, 0xff, 1, 1},
  10136. {0x57, 0, 0, 0, 0},
  10137. {0x58, 0x83, 0x83, 0, 0},
  10138. {0x59, 0x77, 0x77, 1, 1},
  10139. {0x5A, 0, 0, 0, 0},
  10140. {0x5B, 0x2, 0x2, 0, 0},
  10141. {0x5C, 0x88, 0x88, 0, 0},
  10142. {0x5D, 0, 0, 0, 0},
  10143. {0x5E, 0x8, 0x8, 0, 0},
  10144. {0x5F, 0x77, 0x77, 1, 1},
  10145. {0x60, 0x1, 0x1, 0, 0},
  10146. {0x61, 0, 0, 0, 0},
  10147. {0x62, 0x7, 0x7, 0, 0},
  10148. {0x63, 0, 0, 0, 0},
  10149. {0x64, 0x7, 0x7, 0, 0},
  10150. {0x65, 0, 0, 0, 0},
  10151. {0x66, 0, 0, 0, 0},
  10152. {0x67, 0, 0, 1, 1},
  10153. {0x68, 0, 0, 0, 0},
  10154. {0x69, 0xa, 0xa, 0, 0},
  10155. {0x6A, 0, 0, 0, 0},
  10156. {0x6B, 0, 0, 0, 0},
  10157. {0x6C, 0, 0, 0, 0},
  10158. {0x6D, 0, 0, 0, 0},
  10159. {0x6E, 0, 0, 0, 0},
  10160. {0x6F, 0, 0, 0, 0},
  10161. {0x70, 0, 0, 0, 0},
  10162. {0x71, 0x2, 0x2, 0, 0},
  10163. {0x72, 0, 0, 0, 0},
  10164. {0x73, 0, 0, 0, 0},
  10165. {0x74, 0xe, 0xe, 0, 0},
  10166. {0x75, 0xe, 0xe, 0, 0},
  10167. {0x76, 0xe, 0xe, 0, 0},
  10168. {0x77, 0x13, 0x13, 0, 0},
  10169. {0x78, 0x13, 0x13, 0, 0},
  10170. {0x79, 0x1b, 0x1b, 0, 0},
  10171. {0x7A, 0x1b, 0x1b, 0, 0},
  10172. {0x7B, 0x55, 0x55, 0, 0},
  10173. {0x7C, 0x5b, 0x5b, 0, 0},
  10174. {0x7D, 0x30, 0x30, 1, 1},
  10175. {0x7E, 0, 0, 0, 0},
  10176. {0x7F, 0, 0, 0, 0},
  10177. {0x80, 0, 0, 0, 0},
  10178. {0x81, 0, 0, 0, 0},
  10179. {0x82, 0, 0, 0, 0},
  10180. {0x83, 0, 0, 0, 0},
  10181. {0x84, 0, 0, 0, 0},
  10182. {0x85, 0, 0, 0, 0},
  10183. {0x86, 0, 0, 0, 0},
  10184. {0x87, 0, 0, 0, 0},
  10185. {0x88, 0, 0, 0, 0},
  10186. {0x89, 0, 0, 0, 0},
  10187. {0x8A, 0, 0, 0, 0},
  10188. {0x8B, 0, 0, 0, 0},
  10189. {0x8C, 0, 0, 0, 0},
  10190. {0x8D, 0, 0, 0, 0},
  10191. {0x8E, 0, 0, 0, 0},
  10192. {0x8F, 0, 0, 0, 0},
  10193. {0x90, 0, 0, 0, 0},
  10194. {0x91, 0, 0, 0, 0},
  10195. {0x92, 0, 0, 0, 0},
  10196. {0x93, 0x70, 0x70, 0, 0},
  10197. {0x94, 0x70, 0x70, 0, 0},
  10198. {0x95, 0x71, 0x71, 1, 1},
  10199. {0x96, 0x71, 0x71, 1, 1},
  10200. {0x97, 0x72, 0x72, 1, 1},
  10201. {0x98, 0x73, 0x73, 1, 1},
  10202. {0x99, 0x74, 0x74, 1, 1},
  10203. {0x9A, 0x75, 0x75, 1, 1},
  10204. {0xFFFF, 0, 0, 0, 0},
  10205. };
  10206. static struct radio_regs regs_RX_2056_rev7[] = {
  10207. {0x02, 0, 0, 0, 0},
  10208. {0x03, 0, 0, 0, 0},
  10209. {0x04, 0, 0, 0, 0},
  10210. {0x05, 0, 0, 0, 0},
  10211. {0x06, 0, 0, 0, 0},
  10212. {0x07, 0, 0, 0, 0},
  10213. {0x08, 0, 0, 0, 0},
  10214. {0x09, 0, 0, 0, 0},
  10215. {0x0A, 0, 0, 0, 0},
  10216. {0x0B, 0, 0, 0, 0},
  10217. {0x0C, 0, 0, 0, 0},
  10218. {0x0D, 0, 0, 0, 0},
  10219. {0x0E, 0, 0, 0, 0},
  10220. {0x0F, 0, 0, 0, 0},
  10221. {0x10, 0, 0, 0, 0},
  10222. {0x11, 0, 0, 0, 0},
  10223. {0x12, 0, 0, 0, 0},
  10224. {0x13, 0, 0, 0, 0},
  10225. {0x14, 0, 0, 0, 0},
  10226. {0x15, 0, 0, 0, 0},
  10227. {0x16, 0, 0, 0, 0},
  10228. {0x17, 0, 0, 0, 0},
  10229. {0x18, 0, 0, 0, 0},
  10230. {0x19, 0, 0, 0, 0},
  10231. {0x1A, 0, 0, 0, 0},
  10232. {0x1B, 0, 0, 0, 0},
  10233. {0x1C, 0, 0, 0, 0},
  10234. {0x1D, 0, 0, 0, 0},
  10235. {0x1E, 0, 0, 0, 0},
  10236. {0x1F, 0, 0, 0, 0},
  10237. {0x20, 0x3, 0x3, 0, 0},
  10238. {0x21, 0, 0, 0, 0},
  10239. {0x22, 0, 0, 0, 0},
  10240. {0x23, 0x90, 0x90, 0, 0},
  10241. {0x24, 0x55, 0x55, 0, 0},
  10242. {0x25, 0x15, 0x15, 0, 0},
  10243. {0x26, 0x5, 0x5, 0, 0},
  10244. {0x27, 0x15, 0x15, 0, 0},
  10245. {0x28, 0x5, 0x5, 0, 0},
  10246. {0x29, 0x20, 0x20, 0, 0},
  10247. {0x2A, 0x11, 0x11, 0, 0},
  10248. {0x2B, 0x90, 0x90, 0, 0},
  10249. {0x2C, 0, 0, 0, 0},
  10250. {0x2D, 0x88, 0x88, 0, 0},
  10251. {0x2E, 0x32, 0x32, 0, 0},
  10252. {0x2F, 0x77, 0x77, 0, 0},
  10253. {0x30, 0x17, 0x17, 1, 1},
  10254. {0x31, 0xff, 0xff, 1, 1},
  10255. {0x32, 0x20, 0x20, 0, 0},
  10256. {0x33, 0, 0, 0, 0},
  10257. {0x34, 0x88, 0x88, 0, 0},
  10258. {0x35, 0x32, 0x32, 0, 0},
  10259. {0x36, 0x77, 0x77, 0, 0},
  10260. {0x37, 0x17, 0x17, 1, 1},
  10261. {0x38, 0xf0, 0xf0, 1, 1},
  10262. {0x39, 0x20, 0x20, 0, 0},
  10263. {0x3A, 0x8, 0x8, 0, 0},
  10264. {0x3B, 0x55, 0x55, 1, 1},
  10265. {0x3C, 0, 0, 0, 0},
  10266. {0x3D, 0x88, 0x88, 1, 1},
  10267. {0x3E, 0, 0, 0, 0},
  10268. {0x3F, 0, 0, 1, 1},
  10269. {0x40, 0x7, 0x7, 1, 1},
  10270. {0x41, 0x6, 0x6, 0, 0},
  10271. {0x42, 0x4, 0x4, 0, 0},
  10272. {0x43, 0, 0, 0, 0},
  10273. {0x44, 0x8, 0x8, 0, 0},
  10274. {0x45, 0x55, 0x55, 1, 1},
  10275. {0x46, 0, 0, 0, 0},
  10276. {0x47, 0x11, 0x11, 0, 0},
  10277. {0x48, 0, 0, 0, 0},
  10278. {0x49, 0, 0, 1, 1},
  10279. {0x4A, 0x7, 0x7, 0, 0},
  10280. {0x4B, 0x6, 0x6, 0, 0},
  10281. {0x4C, 0x4, 0x4, 0, 0},
  10282. {0x4D, 0, 0, 0, 0},
  10283. {0x4E, 0, 0, 0, 0},
  10284. {0x4F, 0x26, 0x26, 1, 1},
  10285. {0x50, 0x26, 0x26, 1, 1},
  10286. {0x51, 0xf, 0xf, 1, 1},
  10287. {0x52, 0xf, 0xf, 1, 1},
  10288. {0x53, 0x44, 0x44, 0, 0},
  10289. {0x54, 0, 0, 0, 0},
  10290. {0x55, 0, 0, 0, 0},
  10291. {0x56, 0x8, 0x8, 0, 0},
  10292. {0x57, 0x8, 0x8, 0, 0},
  10293. {0x58, 0x7, 0x7, 0, 0},
  10294. {0x59, 0x22, 0x22, 0, 0},
  10295. {0x5A, 0x22, 0x22, 0, 0},
  10296. {0x5B, 0x2, 0x2, 0, 0},
  10297. {0x5C, 0x4, 0x4, 1, 1},
  10298. {0x5D, 0x7, 0x7, 0, 0},
  10299. {0x5E, 0x55, 0x55, 0, 0},
  10300. {0x5F, 0x23, 0x23, 0, 0},
  10301. {0x60, 0x41, 0x41, 0, 0},
  10302. {0x61, 0x1, 0x1, 0, 0},
  10303. {0x62, 0xa, 0xa, 0, 0},
  10304. {0x63, 0, 0, 0, 0},
  10305. {0x64, 0, 0, 0, 0},
  10306. {0x65, 0, 0, 0, 0},
  10307. {0x66, 0, 0, 0, 0},
  10308. {0x67, 0, 0, 0, 0},
  10309. {0x68, 0, 0, 0, 0},
  10310. {0x69, 0, 0, 0, 0},
  10311. {0x6A, 0, 0, 0, 0},
  10312. {0x6B, 0xc, 0xc, 0, 0},
  10313. {0x6C, 0, 0, 0, 0},
  10314. {0x6D, 0, 0, 0, 0},
  10315. {0x6E, 0, 0, 0, 0},
  10316. {0x6F, 0, 0, 0, 0},
  10317. {0x70, 0, 0, 0, 0},
  10318. {0x71, 0, 0, 0, 0},
  10319. {0x72, 0x22, 0x22, 0, 0},
  10320. {0x73, 0x22, 0x22, 0, 0},
  10321. {0x74, 0, 0, 1, 1},
  10322. {0x75, 0xa, 0xa, 0, 0},
  10323. {0x76, 0x1, 0x1, 0, 0},
  10324. {0x77, 0x22, 0x22, 0, 0},
  10325. {0x78, 0x30, 0x30, 0, 0},
  10326. {0x79, 0, 0, 0, 0},
  10327. {0x7A, 0, 0, 0, 0},
  10328. {0x7B, 0, 0, 0, 0},
  10329. {0x7C, 0, 0, 0, 0},
  10330. {0x7D, 0, 0, 0, 0},
  10331. {0x7E, 0, 0, 0, 0},
  10332. {0x7F, 0, 0, 0, 0},
  10333. {0x80, 0, 0, 0, 0},
  10334. {0x81, 0, 0, 0, 0},
  10335. {0x82, 0, 0, 0, 0},
  10336. {0x83, 0, 0, 0, 0},
  10337. {0x84, 0, 0, 0, 0},
  10338. {0x85, 0, 0, 0, 0},
  10339. {0x86, 0, 0, 0, 0},
  10340. {0x87, 0, 0, 0, 0},
  10341. {0x88, 0, 0, 0, 0},
  10342. {0x89, 0, 0, 0, 0},
  10343. {0x8A, 0, 0, 0, 0},
  10344. {0x8B, 0, 0, 0, 0},
  10345. {0x8C, 0, 0, 0, 0},
  10346. {0x8D, 0, 0, 0, 0},
  10347. {0x8E, 0, 0, 0, 0},
  10348. {0x8F, 0, 0, 0, 0},
  10349. {0x90, 0, 0, 0, 0},
  10350. {0x91, 0, 0, 0, 0},
  10351. {0x92, 0, 0, 0, 0},
  10352. {0x93, 0, 0, 0, 0},
  10353. {0x94, 0, 0, 0, 0},
  10354. {0xFFFF, 0, 0, 0, 0},
  10355. };
  10356. static struct radio_regs regs_SYN_2056_rev8[] = {
  10357. {0x02, 0, 0, 0, 0},
  10358. {0x03, 0, 0, 0, 0},
  10359. {0x04, 0, 0, 0, 0},
  10360. {0x05, 0, 0, 0, 0},
  10361. {0x06, 0, 0, 0, 0},
  10362. {0x07, 0, 0, 0, 0},
  10363. {0x08, 0, 0, 0, 0},
  10364. {0x09, 0x1, 0x1, 0, 0},
  10365. {0x0A, 0, 0, 0, 0},
  10366. {0x0B, 0, 0, 0, 0},
  10367. {0x0C, 0, 0, 0, 0},
  10368. {0x0D, 0, 0, 0, 0},
  10369. {0x0E, 0, 0, 0, 0},
  10370. {0x0F, 0, 0, 0, 0},
  10371. {0x10, 0, 0, 0, 0},
  10372. {0x11, 0, 0, 0, 0},
  10373. {0x12, 0, 0, 0, 0},
  10374. {0x13, 0, 0, 0, 0},
  10375. {0x14, 0, 0, 0, 0},
  10376. {0x15, 0, 0, 0, 0},
  10377. {0x16, 0, 0, 0, 0},
  10378. {0x17, 0, 0, 0, 0},
  10379. {0x18, 0, 0, 0, 0},
  10380. {0x19, 0, 0, 0, 0},
  10381. {0x1A, 0, 0, 0, 0},
  10382. {0x1B, 0, 0, 0, 0},
  10383. {0x1C, 0, 0, 0, 0},
  10384. {0x1D, 0, 0, 0, 0},
  10385. {0x1E, 0, 0, 0, 0},
  10386. {0x1F, 0, 0, 0, 0},
  10387. {0x20, 0, 0, 0, 0},
  10388. {0x21, 0, 0, 0, 0},
  10389. {0x22, 0x60, 0x60, 0, 0},
  10390. {0x23, 0x6, 0x6, 0, 0},
  10391. {0x24, 0xc, 0xc, 0, 0},
  10392. {0x25, 0, 0, 0, 0},
  10393. {0x26, 0, 0, 0, 0},
  10394. {0x27, 0, 0, 0, 0},
  10395. {0x28, 0x1, 0x1, 0, 0},
  10396. {0x29, 0, 0, 0, 0},
  10397. {0x2A, 0, 0, 0, 0},
  10398. {0x2B, 0, 0, 0, 0},
  10399. {0x2C, 0, 0, 0, 0},
  10400. {0x2D, 0, 0, 0, 0},
  10401. {0x2E, 0, 0, 0, 0},
  10402. {0x2F, 0x1f, 0x1f, 0, 0},
  10403. {0x30, 0x15, 0x15, 0, 0},
  10404. {0x31, 0xf, 0xf, 0, 0},
  10405. {0x32, 0, 0, 0, 0},
  10406. {0x33, 0, 0, 0, 0},
  10407. {0x34, 0, 0, 0, 0},
  10408. {0x35, 0, 0, 0, 0},
  10409. {0x36, 0, 0, 0, 0},
  10410. {0x37, 0, 0, 0, 0},
  10411. {0x38, 0, 0, 0, 0},
  10412. {0x39, 0, 0, 0, 0},
  10413. {0x3A, 0, 0, 0, 0},
  10414. {0x3B, 0, 0, 0, 0},
  10415. {0x3C, 0x13, 0x13, 0, 0},
  10416. {0x3D, 0xf, 0xf, 0, 0},
  10417. {0x3E, 0x18, 0x18, 0, 0},
  10418. {0x3F, 0, 0, 0, 0},
  10419. {0x40, 0, 0, 0, 0},
  10420. {0x41, 0x20, 0x20, 0, 0},
  10421. {0x42, 0x20, 0x20, 0, 0},
  10422. {0x43, 0, 0, 0, 0},
  10423. {0x44, 0x77, 0x77, 0, 0},
  10424. {0x45, 0x7, 0x7, 0, 0},
  10425. {0x46, 0x1, 0x1, 0, 0},
  10426. {0x47, 0x4, 0x4, 0, 0},
  10427. {0x48, 0xf, 0xf, 0, 0},
  10428. {0x49, 0x30, 0x30, 0, 0},
  10429. {0x4A, 0x32, 0x32, 0, 0},
  10430. {0x4B, 0xd, 0xd, 0, 0},
  10431. {0x4C, 0xd, 0xd, 0, 0},
  10432. {0x4D, 0x4, 0x4, 0, 0},
  10433. {0x4E, 0x6, 0x6, 0, 0},
  10434. {0x4F, 0x1, 0x1, 0, 0},
  10435. {0x50, 0x1c, 0x1c, 0, 0},
  10436. {0x51, 0x2, 0x2, 0, 0},
  10437. {0x52, 0x2, 0x2, 0, 0},
  10438. {0x53, 0xf7, 0xf7, 1, 1},
  10439. {0x54, 0xb4, 0xb4, 0, 0},
  10440. {0x55, 0xd2, 0xd2, 0, 0},
  10441. {0x56, 0, 0, 0, 0},
  10442. {0x57, 0, 0, 0, 0},
  10443. {0x58, 0x4, 0x4, 0, 0},
  10444. {0x59, 0x96, 0x96, 0, 0},
  10445. {0x5A, 0x3e, 0x3e, 0, 0},
  10446. {0x5B, 0x3e, 0x3e, 0, 0},
  10447. {0x5C, 0x13, 0x13, 0, 0},
  10448. {0x5D, 0x2, 0x2, 0, 0},
  10449. {0x5E, 0, 0, 0, 0},
  10450. {0x5F, 0x7, 0x7, 0, 0},
  10451. {0x60, 0x7, 0x7, 1, 1},
  10452. {0x61, 0x8, 0x8, 0, 0},
  10453. {0x62, 0x3, 0x3, 0, 0},
  10454. {0x63, 0, 0, 0, 0},
  10455. {0x64, 0, 0, 0, 0},
  10456. {0x65, 0, 0, 0, 0},
  10457. {0x66, 0, 0, 0, 0},
  10458. {0x67, 0, 0, 0, 0},
  10459. {0x68, 0x40, 0x40, 0, 0},
  10460. {0x69, 0, 0, 0, 0},
  10461. {0x6A, 0, 0, 0, 0},
  10462. {0x6B, 0, 0, 0, 0},
  10463. {0x6C, 0, 0, 0, 0},
  10464. {0x6D, 0x1, 0x1, 0, 0},
  10465. {0x6E, 0, 0, 0, 0},
  10466. {0x6F, 0, 0, 0, 0},
  10467. {0x70, 0x60, 0x60, 0, 0},
  10468. {0x71, 0x66, 0x66, 0, 0},
  10469. {0x72, 0xc, 0xc, 0, 0},
  10470. {0x73, 0x66, 0x66, 0, 0},
  10471. {0x74, 0x8f, 0x8f, 1, 1},
  10472. {0x75, 0, 0, 0, 0},
  10473. {0x76, 0xcc, 0xcc, 0, 0},
  10474. {0x77, 0x1, 0x1, 0, 0},
  10475. {0x78, 0x66, 0x66, 0, 0},
  10476. {0x79, 0x66, 0x66, 0, 0},
  10477. {0x7A, 0, 0, 0, 0},
  10478. {0x7B, 0, 0, 0, 0},
  10479. {0x7C, 0, 0, 0, 0},
  10480. {0x7D, 0, 0, 0, 0},
  10481. {0x7E, 0, 0, 0, 0},
  10482. {0x7F, 0, 0, 0, 0},
  10483. {0x80, 0, 0, 0, 0},
  10484. {0x81, 0, 0, 0, 0},
  10485. {0x82, 0, 0, 0, 0},
  10486. {0x83, 0, 0, 0, 0},
  10487. {0x84, 0, 0, 0, 0},
  10488. {0x85, 0xff, 0xff, 0, 0},
  10489. {0x86, 0, 0, 0, 0},
  10490. {0x87, 0, 0, 0, 0},
  10491. {0x88, 0, 0, 0, 0},
  10492. {0x89, 0, 0, 0, 0},
  10493. {0x8A, 0, 0, 0, 0},
  10494. {0x8B, 0, 0, 0, 0},
  10495. {0x8C, 0, 0, 0, 0},
  10496. {0x8D, 0, 0, 0, 0},
  10497. {0x8E, 0, 0, 0, 0},
  10498. {0x8F, 0, 0, 0, 0},
  10499. {0x90, 0, 0, 0, 0},
  10500. {0x91, 0, 0, 0, 0},
  10501. {0x92, 0, 0, 0, 0},
  10502. {0x93, 0, 0, 0, 0},
  10503. {0x94, 0, 0, 0, 0},
  10504. {0x95, 0, 0, 0, 0},
  10505. {0x96, 0, 0, 0, 0},
  10506. {0x97, 0, 0, 0, 0},
  10507. {0x98, 0, 0, 0, 0},
  10508. {0x99, 0, 0, 0, 0},
  10509. {0x9A, 0, 0, 0, 0},
  10510. {0x9B, 0, 0, 0, 0},
  10511. {0x9C, 0, 0, 0, 0},
  10512. {0x9D, 0, 0, 0, 0},
  10513. {0x9E, 0, 0, 0, 0},
  10514. {0x9F, 0x6, 0x6, 0, 0},
  10515. {0xA0, 0x66, 0x66, 0, 0},
  10516. {0xA1, 0x66, 0x66, 0, 0},
  10517. {0xA2, 0x66, 0x66, 0, 0},
  10518. {0xA3, 0x66, 0x66, 0, 0},
  10519. {0xA4, 0x66, 0x66, 0, 0},
  10520. {0xA5, 0x66, 0x66, 0, 0},
  10521. {0xA6, 0x66, 0x66, 0, 0},
  10522. {0xA7, 0x66, 0x66, 0, 0},
  10523. {0xA8, 0x66, 0x66, 0, 0},
  10524. {0xA9, 0x66, 0x66, 0, 0},
  10525. {0xAA, 0x66, 0x66, 0, 0},
  10526. {0xAB, 0x66, 0x66, 0, 0},
  10527. {0xAC, 0x66, 0x66, 0, 0},
  10528. {0xAD, 0x66, 0x66, 0, 0},
  10529. {0xAE, 0x66, 0x66, 0, 0},
  10530. {0xAF, 0x66, 0x66, 0, 0},
  10531. {0xB0, 0x66, 0x66, 0, 0},
  10532. {0xB1, 0x66, 0x66, 0, 0},
  10533. {0xB2, 0x66, 0x66, 0, 0},
  10534. {0xB3, 0xa, 0xa, 0, 0},
  10535. {0xB4, 0, 0, 0, 0},
  10536. {0xB5, 0, 0, 0, 0},
  10537. {0xB6, 0, 0, 0, 0},
  10538. {0xFFFF, 0, 0, 0, 0},
  10539. };
  10540. static struct radio_regs regs_TX_2056_rev8[] = {
  10541. {0x02, 0, 0, 0, 0},
  10542. {0x03, 0, 0, 0, 0},
  10543. {0x04, 0, 0, 0, 0},
  10544. {0x05, 0, 0, 0, 0},
  10545. {0x06, 0, 0, 0, 0},
  10546. {0x07, 0, 0, 0, 0},
  10547. {0x08, 0, 0, 0, 0},
  10548. {0x09, 0, 0, 0, 0},
  10549. {0x0A, 0, 0, 0, 0},
  10550. {0x0B, 0, 0, 0, 0},
  10551. {0x0C, 0, 0, 0, 0},
  10552. {0x0D, 0, 0, 0, 0},
  10553. {0x0E, 0, 0, 0, 0},
  10554. {0x0F, 0, 0, 0, 0},
  10555. {0x10, 0, 0, 0, 0},
  10556. {0x11, 0, 0, 0, 0},
  10557. {0x12, 0, 0, 0, 0},
  10558. {0x13, 0, 0, 0, 0},
  10559. {0x14, 0, 0, 0, 0},
  10560. {0x15, 0, 0, 0, 0},
  10561. {0x16, 0, 0, 0, 0},
  10562. {0x17, 0, 0, 0, 0},
  10563. {0x18, 0, 0, 0, 0},
  10564. {0x19, 0, 0, 0, 0},
  10565. {0x1A, 0, 0, 0, 0},
  10566. {0x1B, 0, 0, 0, 0},
  10567. {0x1C, 0, 0, 0, 0},
  10568. {0x1D, 0, 0, 0, 0},
  10569. {0x1E, 0, 0, 0, 0},
  10570. {0x1F, 0, 0, 0, 0},
  10571. {0x20, 0, 0, 0, 0},
  10572. {0x21, 0x88, 0x88, 0, 0},
  10573. {0x22, 0x88, 0x88, 0, 0},
  10574. {0x23, 0x88, 0x88, 0, 0},
  10575. {0x24, 0x88, 0x88, 0, 0},
  10576. {0x25, 0xc, 0xc, 0, 0},
  10577. {0x26, 0, 0, 0, 0},
  10578. {0x27, 0x3, 0x3, 0, 0},
  10579. {0x28, 0, 0, 0, 0},
  10580. {0x29, 0x3, 0x3, 0, 0},
  10581. {0x2A, 0x37, 0x37, 0, 0},
  10582. {0x2B, 0x3, 0x3, 0, 0},
  10583. {0x2C, 0, 0, 0, 0},
  10584. {0x2D, 0, 0, 0, 0},
  10585. {0x2E, 0x1, 0x1, 0, 0},
  10586. {0x2F, 0x1, 0x1, 0, 0},
  10587. {0x30, 0, 0, 0, 0},
  10588. {0x31, 0, 0, 0, 0},
  10589. {0x32, 0, 0, 0, 0},
  10590. {0x33, 0x11, 0x11, 0, 0},
  10591. {0x34, 0xee, 0xee, 1, 1},
  10592. {0x35, 0, 0, 0, 0},
  10593. {0x36, 0, 0, 0, 0},
  10594. {0x37, 0x3, 0x3, 0, 0},
  10595. {0x38, 0x50, 0x50, 1, 1},
  10596. {0x39, 0, 0, 0, 0},
  10597. {0x3A, 0x50, 0x50, 1, 1},
  10598. {0x3B, 0, 0, 0, 0},
  10599. {0x3C, 0x6e, 0x6e, 0, 0},
  10600. {0x3D, 0xf0, 0xf0, 1, 1},
  10601. {0x3E, 0, 0, 0, 0},
  10602. {0x3F, 0, 0, 0, 0},
  10603. {0x40, 0, 0, 0, 0},
  10604. {0x41, 0x3, 0x3, 0, 0},
  10605. {0x42, 0x3, 0x3, 0, 0},
  10606. {0x43, 0, 0, 0, 0},
  10607. {0x44, 0x1e, 0x1e, 0, 0},
  10608. {0x45, 0, 0, 0, 0},
  10609. {0x46, 0x6e, 0x6e, 0, 0},
  10610. {0x47, 0xf0, 0xf0, 1, 1},
  10611. {0x48, 0, 0, 0, 0},
  10612. {0x49, 0x2, 0x2, 0, 0},
  10613. {0x4A, 0xff, 0xff, 1, 1},
  10614. {0x4B, 0xc, 0xc, 0, 0},
  10615. {0x4C, 0, 0, 0, 0},
  10616. {0x4D, 0x38, 0x38, 0, 0},
  10617. {0x4E, 0x70, 0x70, 1, 1},
  10618. {0x4F, 0x2, 0x2, 0, 0},
  10619. {0x50, 0x88, 0x88, 0, 0},
  10620. {0x51, 0xc, 0xc, 0, 0},
  10621. {0x52, 0, 0, 0, 0},
  10622. {0x53, 0x8, 0x8, 0, 0},
  10623. {0x54, 0x70, 0x70, 1, 1},
  10624. {0x55, 0x2, 0x2, 0, 0},
  10625. {0x56, 0xff, 0xff, 1, 1},
  10626. {0x57, 0, 0, 0, 0},
  10627. {0x58, 0x83, 0x83, 0, 0},
  10628. {0x59, 0x77, 0x77, 1, 1},
  10629. {0x5A, 0, 0, 0, 0},
  10630. {0x5B, 0x2, 0x2, 0, 0},
  10631. {0x5C, 0x88, 0x88, 0, 0},
  10632. {0x5D, 0, 0, 0, 0},
  10633. {0x5E, 0x8, 0x8, 0, 0},
  10634. {0x5F, 0x77, 0x77, 1, 1},
  10635. {0x60, 0x1, 0x1, 0, 0},
  10636. {0x61, 0, 0, 0, 0},
  10637. {0x62, 0x7, 0x7, 0, 0},
  10638. {0x63, 0, 0, 0, 0},
  10639. {0x64, 0x7, 0x7, 0, 0},
  10640. {0x65, 0, 0, 0, 0},
  10641. {0x66, 0, 0, 0, 0},
  10642. {0x67, 0, 0, 1, 1},
  10643. {0x68, 0, 0, 0, 0},
  10644. {0x69, 0xa, 0xa, 0, 0},
  10645. {0x6A, 0, 0, 0, 0},
  10646. {0x6B, 0, 0, 0, 0},
  10647. {0x6C, 0, 0, 0, 0},
  10648. {0x6D, 0, 0, 0, 0},
  10649. {0x6E, 0, 0, 0, 0},
  10650. {0x6F, 0, 0, 0, 0},
  10651. {0x70, 0, 0, 0, 0},
  10652. {0x71, 0x2, 0x2, 0, 0},
  10653. {0x72, 0, 0, 0, 0},
  10654. {0x73, 0, 0, 0, 0},
  10655. {0x74, 0xe, 0xe, 0, 0},
  10656. {0x75, 0xe, 0xe, 0, 0},
  10657. {0x76, 0xe, 0xe, 0, 0},
  10658. {0x77, 0x13, 0x13, 0, 0},
  10659. {0x78, 0x13, 0x13, 0, 0},
  10660. {0x79, 0x1b, 0x1b, 0, 0},
  10661. {0x7A, 0x1b, 0x1b, 0, 0},
  10662. {0x7B, 0x55, 0x55, 0, 0},
  10663. {0x7C, 0x5b, 0x5b, 0, 0},
  10664. {0x7D, 0x30, 0x30, 1, 1},
  10665. {0x7E, 0, 0, 0, 0},
  10666. {0x7F, 0, 0, 0, 0},
  10667. {0x80, 0, 0, 0, 0},
  10668. {0x81, 0, 0, 0, 0},
  10669. {0x82, 0, 0, 0, 0},
  10670. {0x83, 0, 0, 0, 0},
  10671. {0x84, 0, 0, 0, 0},
  10672. {0x85, 0, 0, 0, 0},
  10673. {0x86, 0, 0, 0, 0},
  10674. {0x87, 0, 0, 0, 0},
  10675. {0x88, 0, 0, 0, 0},
  10676. {0x89, 0, 0, 0, 0},
  10677. {0x8A, 0, 0, 0, 0},
  10678. {0x8B, 0, 0, 0, 0},
  10679. {0x8C, 0, 0, 0, 0},
  10680. {0x8D, 0, 0, 0, 0},
  10681. {0x8E, 0, 0, 0, 0},
  10682. {0x8F, 0, 0, 0, 0},
  10683. {0x90, 0, 0, 0, 0},
  10684. {0x91, 0, 0, 0, 0},
  10685. {0x92, 0, 0, 0, 0},
  10686. {0x93, 0x70, 0x70, 0, 0},
  10687. {0x94, 0x70, 0x70, 0, 0},
  10688. {0x95, 0x70, 0x70, 0, 0},
  10689. {0x96, 0x70, 0x70, 0, 0},
  10690. {0x97, 0x70, 0x70, 0, 0},
  10691. {0x98, 0x70, 0x70, 0, 0},
  10692. {0x99, 0x70, 0x70, 0, 0},
  10693. {0x9A, 0x70, 0x70, 0, 0},
  10694. {0xFFFF, 0, 0, 0, 0},
  10695. };
  10696. static struct radio_regs regs_RX_2056_rev8[] = {
  10697. {0x02, 0, 0, 0, 0},
  10698. {0x03, 0, 0, 0, 0},
  10699. {0x04, 0, 0, 0, 0},
  10700. {0x05, 0, 0, 0, 0},
  10701. {0x06, 0, 0, 0, 0},
  10702. {0x07, 0, 0, 0, 0},
  10703. {0x08, 0, 0, 0, 0},
  10704. {0x09, 0, 0, 0, 0},
  10705. {0x0A, 0, 0, 0, 0},
  10706. {0x0B, 0, 0, 0, 0},
  10707. {0x0C, 0, 0, 0, 0},
  10708. {0x0D, 0, 0, 0, 0},
  10709. {0x0E, 0, 0, 0, 0},
  10710. {0x0F, 0, 0, 0, 0},
  10711. {0x10, 0, 0, 0, 0},
  10712. {0x11, 0, 0, 0, 0},
  10713. {0x12, 0, 0, 0, 0},
  10714. {0x13, 0, 0, 0, 0},
  10715. {0x14, 0, 0, 0, 0},
  10716. {0x15, 0, 0, 0, 0},
  10717. {0x16, 0, 0, 0, 0},
  10718. {0x17, 0, 0, 0, 0},
  10719. {0x18, 0, 0, 0, 0},
  10720. {0x19, 0, 0, 0, 0},
  10721. {0x1A, 0, 0, 0, 0},
  10722. {0x1B, 0, 0, 0, 0},
  10723. {0x1C, 0, 0, 0, 0},
  10724. {0x1D, 0, 0, 0, 0},
  10725. {0x1E, 0, 0, 0, 0},
  10726. {0x1F, 0, 0, 0, 0},
  10727. {0x20, 0x3, 0x3, 0, 0},
  10728. {0x21, 0, 0, 0, 0},
  10729. {0x22, 0, 0, 0, 0},
  10730. {0x23, 0x90, 0x90, 0, 0},
  10731. {0x24, 0x55, 0x55, 0, 0},
  10732. {0x25, 0x15, 0x15, 0, 0},
  10733. {0x26, 0x5, 0x5, 0, 0},
  10734. {0x27, 0x15, 0x15, 0, 0},
  10735. {0x28, 0x5, 0x5, 0, 0},
  10736. {0x29, 0x20, 0x20, 0, 0},
  10737. {0x2A, 0x11, 0x11, 0, 0},
  10738. {0x2B, 0x90, 0x90, 0, 0},
  10739. {0x2C, 0, 0, 0, 0},
  10740. {0x2D, 0x88, 0x88, 0, 0},
  10741. {0x2E, 0x32, 0x32, 0, 0},
  10742. {0x2F, 0x77, 0x77, 0, 0},
  10743. {0x30, 0x17, 0x17, 1, 1},
  10744. {0x31, 0xff, 0xff, 1, 1},
  10745. {0x32, 0x20, 0x20, 0, 0},
  10746. {0x33, 0, 0, 0, 0},
  10747. {0x34, 0x88, 0x88, 0, 0},
  10748. {0x35, 0x32, 0x32, 0, 0},
  10749. {0x36, 0x77, 0x77, 0, 0},
  10750. {0x37, 0x17, 0x17, 1, 1},
  10751. {0x38, 0xf0, 0xf0, 1, 1},
  10752. {0x39, 0x20, 0x20, 0, 0},
  10753. {0x3A, 0x8, 0x8, 0, 0},
  10754. {0x3B, 0x55, 0x55, 1, 1},
  10755. {0x3C, 0, 0, 0, 0},
  10756. {0x3D, 0x88, 0x88, 1, 1},
  10757. {0x3E, 0, 0, 0, 0},
  10758. {0x3F, 0x44, 0x44, 0, 0},
  10759. {0x40, 0x7, 0x7, 1, 1},
  10760. {0x41, 0x6, 0x6, 0, 0},
  10761. {0x42, 0x4, 0x4, 0, 0},
  10762. {0x43, 0, 0, 0, 0},
  10763. {0x44, 0x8, 0x8, 0, 0},
  10764. {0x45, 0x55, 0x55, 1, 1},
  10765. {0x46, 0, 0, 0, 0},
  10766. {0x47, 0x11, 0x11, 0, 0},
  10767. {0x48, 0, 0, 0, 0},
  10768. {0x49, 0x44, 0x44, 0, 0},
  10769. {0x4A, 0x7, 0x7, 0, 0},
  10770. {0x4B, 0x6, 0x6, 0, 0},
  10771. {0x4C, 0x4, 0x4, 0, 0},
  10772. {0x4D, 0, 0, 0, 0},
  10773. {0x4E, 0, 0, 0, 0},
  10774. {0x4F, 0x26, 0x26, 1, 1},
  10775. {0x50, 0x26, 0x26, 1, 1},
  10776. {0x51, 0xf, 0xf, 1, 1},
  10777. {0x52, 0xf, 0xf, 1, 1},
  10778. {0x53, 0x44, 0x44, 0, 0},
  10779. {0x54, 0, 0, 0, 0},
  10780. {0x55, 0, 0, 0, 0},
  10781. {0x56, 0x8, 0x8, 0, 0},
  10782. {0x57, 0x8, 0x8, 0, 0},
  10783. {0x58, 0x7, 0x7, 0, 0},
  10784. {0x59, 0x22, 0x22, 0, 0},
  10785. {0x5A, 0x22, 0x22, 0, 0},
  10786. {0x5B, 0x2, 0x2, 0, 0},
  10787. {0x5C, 0x4, 0x4, 1, 1},
  10788. {0x5D, 0x7, 0x7, 0, 0},
  10789. {0x5E, 0x55, 0x55, 0, 0},
  10790. {0x5F, 0x23, 0x23, 0, 0},
  10791. {0x60, 0x41, 0x41, 0, 0},
  10792. {0x61, 0x1, 0x1, 0, 0},
  10793. {0x62, 0xa, 0xa, 0, 0},
  10794. {0x63, 0, 0, 0, 0},
  10795. {0x64, 0, 0, 0, 0},
  10796. {0x65, 0, 0, 0, 0},
  10797. {0x66, 0, 0, 0, 0},
  10798. {0x67, 0, 0, 0, 0},
  10799. {0x68, 0, 0, 0, 0},
  10800. {0x69, 0, 0, 0, 0},
  10801. {0x6A, 0, 0, 0, 0},
  10802. {0x6B, 0xc, 0xc, 0, 0},
  10803. {0x6C, 0, 0, 0, 0},
  10804. {0x6D, 0, 0, 0, 0},
  10805. {0x6E, 0, 0, 0, 0},
  10806. {0x6F, 0, 0, 0, 0},
  10807. {0x70, 0, 0, 0, 0},
  10808. {0x71, 0, 0, 0, 0},
  10809. {0x72, 0x22, 0x22, 0, 0},
  10810. {0x73, 0x22, 0x22, 0, 0},
  10811. {0x74, 0, 0, 1, 1},
  10812. {0x75, 0xa, 0xa, 0, 0},
  10813. {0x76, 0x1, 0x1, 0, 0},
  10814. {0x77, 0x22, 0x22, 0, 0},
  10815. {0x78, 0x30, 0x30, 0, 0},
  10816. {0x79, 0, 0, 0, 0},
  10817. {0x7A, 0, 0, 0, 0},
  10818. {0x7B, 0, 0, 0, 0},
  10819. {0x7C, 0, 0, 0, 0},
  10820. {0x7D, 0x5, 0x5, 1, 1},
  10821. {0x7E, 0, 0, 0, 0},
  10822. {0x7F, 0, 0, 0, 0},
  10823. {0x80, 0, 0, 0, 0},
  10824. {0x81, 0, 0, 0, 0},
  10825. {0x82, 0, 0, 0, 0},
  10826. {0x83, 0, 0, 0, 0},
  10827. {0x84, 0, 0, 0, 0},
  10828. {0x85, 0, 0, 0, 0},
  10829. {0x86, 0, 0, 0, 0},
  10830. {0x87, 0, 0, 0, 0},
  10831. {0x88, 0, 0, 0, 0},
  10832. {0x89, 0, 0, 0, 0},
  10833. {0x8A, 0, 0, 0, 0},
  10834. {0x8B, 0, 0, 0, 0},
  10835. {0x8C, 0, 0, 0, 0},
  10836. {0x8D, 0, 0, 0, 0},
  10837. {0x8E, 0, 0, 0, 0},
  10838. {0x8F, 0, 0, 0, 0},
  10839. {0x90, 0, 0, 0, 0},
  10840. {0x91, 0, 0, 0, 0},
  10841. {0x92, 0, 0, 0, 0},
  10842. {0x93, 0, 0, 0, 0},
  10843. {0x94, 0, 0, 0, 0},
  10844. {0xFFFF, 0, 0, 0, 0},
  10845. };
  10846. static const struct radio_regs regs_SYN_2056_rev11[] = {
  10847. {0x02, 0, 0, 0, 0},
  10848. {0x03, 0, 0, 0, 0},
  10849. {0x04, 0, 0, 0, 0},
  10850. {0x05, 0, 0, 0, 0},
  10851. {0x06, 0, 0, 0, 0},
  10852. {0x07, 0, 0, 0, 0},
  10853. {0x08, 0, 0, 0, 0},
  10854. {0x09, 0x1, 0x1, 0, 0},
  10855. {0x0A, 0, 0, 0, 0},
  10856. {0x0B, 0, 0, 0, 0},
  10857. {0x0C, 0, 0, 0, 0},
  10858. {0x0D, 0, 0, 0, 0},
  10859. {0x0E, 0, 0, 0, 0},
  10860. {0x0F, 0, 0, 0, 0},
  10861. {0x10, 0, 0, 0, 0},
  10862. {0x11, 0, 0, 0, 0},
  10863. {0x12, 0, 0, 0, 0},
  10864. {0x13, 0, 0, 0, 0},
  10865. {0x14, 0, 0, 0, 0},
  10866. {0x15, 0, 0, 0, 0},
  10867. {0x16, 0, 0, 0, 0},
  10868. {0x17, 0, 0, 0, 0},
  10869. {0x18, 0, 0, 0, 0},
  10870. {0x19, 0, 0, 0, 0},
  10871. {0x1A, 0, 0, 0, 0},
  10872. {0x1B, 0, 0, 0, 0},
  10873. {0x1C, 0, 0, 0, 0},
  10874. {0x1D, 0, 0, 0, 0},
  10875. {0x1E, 0, 0, 0, 0},
  10876. {0x1F, 0, 0, 0, 0},
  10877. {0x20, 0, 0, 0, 0},
  10878. {0x21, 0, 0, 0, 0},
  10879. {0x22, 0x60, 0x60, 0, 0},
  10880. {0x23, 0x6, 0x6, 0, 0},
  10881. {0x24, 0xc, 0xc, 0, 0},
  10882. {0x25, 0, 0, 0, 0},
  10883. {0x26, 0, 0, 0, 0},
  10884. {0x27, 0, 0, 0, 0},
  10885. {0x28, 0x1, 0x1, 0, 0},
  10886. {0x29, 0, 0, 0, 0},
  10887. {0x2A, 0, 0, 0, 0},
  10888. {0x2B, 0, 0, 0, 0},
  10889. {0x2C, 0, 0, 0, 0},
  10890. {0x2D, 0, 0, 0, 0},
  10891. {0x2E, 0, 0, 0, 0},
  10892. {0x2F, 0x1f, 0x1f, 0, 0},
  10893. {0x30, 0x15, 0x15, 0, 0},
  10894. {0x31, 0xf, 0xf, 0, 0},
  10895. {0x32, 0, 0, 0, 0},
  10896. {0x33, 0, 0, 0, 0},
  10897. {0x34, 0, 0, 0, 0},
  10898. {0x35, 0, 0, 0, 0},
  10899. {0x36, 0, 0, 0, 0},
  10900. {0x37, 0, 0, 0, 0},
  10901. {0x38, 0, 0, 0, 0},
  10902. {0x39, 0, 0, 0, 0},
  10903. {0x3A, 0, 0, 0, 0},
  10904. {0x3B, 0, 0, 0, 0},
  10905. {0x3C, 0x13, 0x13, 0, 0},
  10906. {0x3D, 0xf, 0xf, 0, 0},
  10907. {0x3E, 0x18, 0x18, 0, 0},
  10908. {0x3F, 0, 0, 0, 0},
  10909. {0x40, 0, 0, 0, 0},
  10910. {0x41, 0x20, 0x20, 0, 0},
  10911. {0x42, 0x20, 0x20, 0, 0},
  10912. {0x43, 0, 0, 0, 0},
  10913. {0x44, 0x77, 0x77, 0, 0},
  10914. {0x45, 0x7, 0x7, 0, 0},
  10915. {0x46, 0x1, 0x1, 0, 0},
  10916. {0x47, 0x6, 0x6, 1, 1},
  10917. {0x48, 0xf, 0xf, 0, 0},
  10918. {0x49, 0x3f, 0x3f, 1, 1},
  10919. {0x4A, 0x32, 0x32, 0, 0},
  10920. {0x4B, 0x6, 0x6, 1, 1},
  10921. {0x4C, 0x6, 0x6, 1, 1},
  10922. {0x4D, 0x4, 0x4, 0, 0},
  10923. {0x4E, 0x2b, 0x2b, 1, 1},
  10924. {0x4F, 0x1, 0x1, 0, 0},
  10925. {0x50, 0x1c, 0x1c, 0, 0},
  10926. {0x51, 0x2, 0x2, 0, 0},
  10927. {0x52, 0x2, 0x2, 0, 0},
  10928. {0x53, 0xf7, 0xf7, 1, 1},
  10929. {0x54, 0xb4, 0xb4, 0, 0},
  10930. {0x55, 0xd2, 0xd2, 0, 0},
  10931. {0x56, 0, 0, 0, 0},
  10932. {0x57, 0, 0, 0, 0},
  10933. {0x58, 0x4, 0x4, 0, 0},
  10934. {0x59, 0x96, 0x96, 0, 0},
  10935. {0x5A, 0x3e, 0x3e, 0, 0},
  10936. {0x5B, 0x3e, 0x3e, 0, 0},
  10937. {0x5C, 0x13, 0x13, 0, 0},
  10938. {0x5D, 0x2, 0x2, 0, 0},
  10939. {0x5E, 0, 0, 0, 0},
  10940. {0x5F, 0x7, 0x7, 0, 0},
  10941. {0x60, 0x7, 0x7, 1, 1},
  10942. {0x61, 0x8, 0x8, 0, 0},
  10943. {0x62, 0x3, 0x3, 0, 0},
  10944. {0x63, 0, 0, 0, 0},
  10945. {0x64, 0, 0, 0, 0},
  10946. {0x65, 0, 0, 0, 0},
  10947. {0x66, 0, 0, 0, 0},
  10948. {0x67, 0, 0, 0, 0},
  10949. {0x68, 0x40, 0x40, 0, 0},
  10950. {0x69, 0, 0, 0, 0},
  10951. {0x6A, 0, 0, 0, 0},
  10952. {0x6B, 0, 0, 0, 0},
  10953. {0x6C, 0, 0, 0, 0},
  10954. {0x6D, 0x1, 0x1, 0, 0},
  10955. {0x6E, 0, 0, 0, 0},
  10956. {0x6F, 0, 0, 0, 0},
  10957. {0x70, 0x60, 0x60, 0, 0},
  10958. {0x71, 0x66, 0x66, 0, 0},
  10959. {0x72, 0xc, 0xc, 0, 0},
  10960. {0x73, 0x66, 0x66, 0, 0},
  10961. {0x74, 0x8f, 0x8f, 1, 1},
  10962. {0x75, 0, 0, 0, 0},
  10963. {0x76, 0xcc, 0xcc, 0, 0},
  10964. {0x77, 0x1, 0x1, 0, 0},
  10965. {0x78, 0x66, 0x66, 0, 0},
  10966. {0x79, 0x66, 0x66, 0, 0},
  10967. {0x7A, 0, 0, 0, 0},
  10968. {0x7B, 0, 0, 0, 0},
  10969. {0x7C, 0, 0, 0, 0},
  10970. {0x7D, 0, 0, 0, 0},
  10971. {0x7E, 0, 0, 0, 0},
  10972. {0x7F, 0, 0, 0, 0},
  10973. {0x80, 0, 0, 0, 0},
  10974. {0x81, 0, 0, 0, 0},
  10975. {0x82, 0, 0, 0, 0},
  10976. {0x83, 0, 0, 0, 0},
  10977. {0x84, 0, 0, 0, 0},
  10978. {0x85, 0xff, 0xff, 0, 0},
  10979. {0x86, 0, 0, 0, 0},
  10980. {0x87, 0, 0, 0, 0},
  10981. {0x88, 0, 0, 0, 0},
  10982. {0x89, 0, 0, 0, 0},
  10983. {0x8A, 0, 0, 0, 0},
  10984. {0x8B, 0, 0, 0, 0},
  10985. {0x8C, 0, 0, 0, 0},
  10986. {0x8D, 0, 0, 0, 0},
  10987. {0x8E, 0, 0, 0, 0},
  10988. {0x8F, 0, 0, 0, 0},
  10989. {0x90, 0, 0, 0, 0},
  10990. {0x91, 0, 0, 0, 0},
  10991. {0x92, 0, 0, 0, 0},
  10992. {0x93, 0, 0, 0, 0},
  10993. {0x94, 0, 0, 0, 0},
  10994. {0x95, 0, 0, 0, 0},
  10995. {0x96, 0, 0, 0, 0},
  10996. {0x97, 0, 0, 0, 0},
  10997. {0x98, 0, 0, 0, 0},
  10998. {0x99, 0, 0, 0, 0},
  10999. {0x9A, 0, 0, 0, 0},
  11000. {0x9B, 0, 0, 0, 0},
  11001. {0x9C, 0, 0, 0, 0},
  11002. {0x9D, 0, 0, 0, 0},
  11003. {0x9E, 0, 0, 0, 0},
  11004. {0x9F, 0x6, 0x6, 0, 0},
  11005. {0xA0, 0x66, 0x66, 0, 0},
  11006. {0xA1, 0x66, 0x66, 0, 0},
  11007. {0xA2, 0x66, 0x66, 0, 0},
  11008. {0xA3, 0x66, 0x66, 0, 0},
  11009. {0xA4, 0x66, 0x66, 0, 0},
  11010. {0xA5, 0x66, 0x66, 0, 0},
  11011. {0xA6, 0x66, 0x66, 0, 0},
  11012. {0xA7, 0x66, 0x66, 0, 0},
  11013. {0xA8, 0x66, 0x66, 0, 0},
  11014. {0xA9, 0x66, 0x66, 0, 0},
  11015. {0xAA, 0x66, 0x66, 0, 0},
  11016. {0xAB, 0x66, 0x66, 0, 0},
  11017. {0xAC, 0x66, 0x66, 0, 0},
  11018. {0xAD, 0x66, 0x66, 0, 0},
  11019. {0xAE, 0x66, 0x66, 0, 0},
  11020. {0xAF, 0x66, 0x66, 0, 0},
  11021. {0xB0, 0x66, 0x66, 0, 0},
  11022. {0xB1, 0x66, 0x66, 0, 0},
  11023. {0xB2, 0x66, 0x66, 0, 0},
  11024. {0xB3, 0xa, 0xa, 0, 0},
  11025. {0xB4, 0, 0, 0, 0},
  11026. {0xB5, 0, 0, 0, 0},
  11027. {0xB6, 0, 0, 0, 0},
  11028. {0xFFFF, 0, 0, 0, 0},
  11029. };
  11030. static const struct radio_regs regs_TX_2056_rev11[] = {
  11031. {0x02, 0, 0, 0, 0},
  11032. {0x03, 0, 0, 0, 0},
  11033. {0x04, 0, 0, 0, 0},
  11034. {0x05, 0, 0, 0, 0},
  11035. {0x06, 0, 0, 0, 0},
  11036. {0x07, 0, 0, 0, 0},
  11037. {0x08, 0, 0, 0, 0},
  11038. {0x09, 0, 0, 0, 0},
  11039. {0x0A, 0, 0, 0, 0},
  11040. {0x0B, 0, 0, 0, 0},
  11041. {0x0C, 0, 0, 0, 0},
  11042. {0x0D, 0, 0, 0, 0},
  11043. {0x0E, 0, 0, 0, 0},
  11044. {0x0F, 0, 0, 0, 0},
  11045. {0x10, 0, 0, 0, 0},
  11046. {0x11, 0, 0, 0, 0},
  11047. {0x12, 0, 0, 0, 0},
  11048. {0x13, 0, 0, 0, 0},
  11049. {0x14, 0, 0, 0, 0},
  11050. {0x15, 0, 0, 0, 0},
  11051. {0x16, 0, 0, 0, 0},
  11052. {0x17, 0, 0, 0, 0},
  11053. {0x18, 0, 0, 0, 0},
  11054. {0x19, 0, 0, 0, 0},
  11055. {0x1A, 0, 0, 0, 0},
  11056. {0x1B, 0, 0, 0, 0},
  11057. {0x1C, 0, 0, 0, 0},
  11058. {0x1D, 0, 0, 0, 0},
  11059. {0x1E, 0, 0, 0, 0},
  11060. {0x1F, 0, 0, 0, 0},
  11061. {0x20, 0, 0, 0, 0},
  11062. {0x21, 0x88, 0x88, 0, 0},
  11063. {0x22, 0x88, 0x88, 0, 0},
  11064. {0x23, 0x88, 0x88, 0, 0},
  11065. {0x24, 0x88, 0x88, 0, 0},
  11066. {0x25, 0xc, 0xc, 0, 0},
  11067. {0x26, 0, 0, 0, 0},
  11068. {0x27, 0x3, 0x3, 0, 0},
  11069. {0x28, 0, 0, 0, 0},
  11070. {0x29, 0x3, 0x3, 0, 0},
  11071. {0x2A, 0x37, 0x37, 0, 0},
  11072. {0x2B, 0x3, 0x3, 0, 0},
  11073. {0x2C, 0, 0, 0, 0},
  11074. {0x2D, 0, 0, 0, 0},
  11075. {0x2E, 0x1, 0x1, 0, 0},
  11076. {0x2F, 0x1, 0x1, 0, 0},
  11077. {0x30, 0, 0, 0, 0},
  11078. {0x31, 0, 0, 0, 0},
  11079. {0x32, 0, 0, 0, 0},
  11080. {0x33, 0x11, 0x11, 0, 0},
  11081. {0x34, 0xee, 0xee, 1, 1},
  11082. {0x35, 0, 0, 0, 0},
  11083. {0x36, 0, 0, 0, 0},
  11084. {0x37, 0x3, 0x3, 0, 0},
  11085. {0x38, 0x50, 0x50, 1, 1},
  11086. {0x39, 0, 0, 0, 0},
  11087. {0x3A, 0x50, 0x50, 1, 1},
  11088. {0x3B, 0, 0, 0, 0},
  11089. {0x3C, 0x6e, 0x6e, 0, 0},
  11090. {0x3D, 0xf0, 0xf0, 1, 1},
  11091. {0x3E, 0, 0, 0, 0},
  11092. {0x3F, 0, 0, 0, 0},
  11093. {0x40, 0, 0, 0, 0},
  11094. {0x41, 0x3, 0x3, 0, 0},
  11095. {0x42, 0x3, 0x3, 0, 0},
  11096. {0x43, 0, 0, 0, 0},
  11097. {0x44, 0x1e, 0x1e, 0, 0},
  11098. {0x45, 0, 0, 0, 0},
  11099. {0x46, 0x6e, 0x6e, 0, 0},
  11100. {0x47, 0xf0, 0xf0, 1, 1},
  11101. {0x48, 0, 0, 0, 0},
  11102. {0x49, 0x2, 0x2, 0, 0},
  11103. {0x4A, 0xff, 0xff, 1, 1},
  11104. {0x4B, 0xc, 0xc, 0, 0},
  11105. {0x4C, 0, 0, 0, 0},
  11106. {0x4D, 0x38, 0x38, 0, 0},
  11107. {0x4E, 0x70, 0x70, 1, 1},
  11108. {0x4F, 0x2, 0x2, 0, 0},
  11109. {0x50, 0x88, 0x88, 0, 0},
  11110. {0x51, 0xc, 0xc, 0, 0},
  11111. {0x52, 0, 0, 0, 0},
  11112. {0x53, 0x8, 0x8, 0, 0},
  11113. {0x54, 0x70, 0x70, 1, 1},
  11114. {0x55, 0x2, 0x2, 0, 0},
  11115. {0x56, 0xff, 0xff, 1, 1},
  11116. {0x57, 0, 0, 0, 0},
  11117. {0x58, 0x83, 0x83, 0, 0},
  11118. {0x59, 0x77, 0x77, 1, 1},
  11119. {0x5A, 0, 0, 0, 0},
  11120. {0x5B, 0x2, 0x2, 0, 0},
  11121. {0x5C, 0x88, 0x88, 0, 0},
  11122. {0x5D, 0, 0, 0, 0},
  11123. {0x5E, 0x8, 0x8, 0, 0},
  11124. {0x5F, 0x77, 0x77, 1, 1},
  11125. {0x60, 0x1, 0x1, 0, 0},
  11126. {0x61, 0, 0, 0, 0},
  11127. {0x62, 0x7, 0x7, 0, 0},
  11128. {0x63, 0, 0, 0, 0},
  11129. {0x64, 0x7, 0x7, 0, 0},
  11130. {0x65, 0, 0, 0, 0},
  11131. {0x66, 0, 0, 0, 0},
  11132. {0x67, 0, 0, 1, 1},
  11133. {0x68, 0, 0, 0, 0},
  11134. {0x69, 0xa, 0xa, 0, 0},
  11135. {0x6A, 0, 0, 0, 0},
  11136. {0x6B, 0, 0, 0, 0},
  11137. {0x6C, 0, 0, 0, 0},
  11138. {0x6D, 0, 0, 0, 0},
  11139. {0x6E, 0, 0, 0, 0},
  11140. {0x6F, 0, 0, 0, 0},
  11141. {0x70, 0, 0, 0, 0},
  11142. {0x71, 0x2, 0x2, 0, 0},
  11143. {0x72, 0, 0, 0, 0},
  11144. {0x73, 0, 0, 0, 0},
  11145. {0x74, 0xe, 0xe, 0, 0},
  11146. {0x75, 0xe, 0xe, 0, 0},
  11147. {0x76, 0xe, 0xe, 0, 0},
  11148. {0x77, 0x13, 0x13, 0, 0},
  11149. {0x78, 0x13, 0x13, 0, 0},
  11150. {0x79, 0x1b, 0x1b, 0, 0},
  11151. {0x7A, 0x1b, 0x1b, 0, 0},
  11152. {0x7B, 0x55, 0x55, 0, 0},
  11153. {0x7C, 0x5b, 0x5b, 0, 0},
  11154. {0x7D, 0x30, 0x30, 1, 1},
  11155. {0x7E, 0, 0, 0, 0},
  11156. {0x7F, 0, 0, 0, 0},
  11157. {0x80, 0, 0, 0, 0},
  11158. {0x81, 0, 0, 0, 0},
  11159. {0x82, 0, 0, 0, 0},
  11160. {0x83, 0, 0, 0, 0},
  11161. {0x84, 0, 0, 0, 0},
  11162. {0x85, 0, 0, 0, 0},
  11163. {0x86, 0, 0, 0, 0},
  11164. {0x87, 0, 0, 0, 0},
  11165. {0x88, 0, 0, 0, 0},
  11166. {0x89, 0, 0, 0, 0},
  11167. {0x8A, 0, 0, 0, 0},
  11168. {0x8B, 0, 0, 0, 0},
  11169. {0x8C, 0, 0, 0, 0},
  11170. {0x8D, 0, 0, 0, 0},
  11171. {0x8E, 0, 0, 0, 0},
  11172. {0x8F, 0, 0, 0, 0},
  11173. {0x90, 0, 0, 0, 0},
  11174. {0x91, 0, 0, 0, 0},
  11175. {0x92, 0, 0, 0, 0},
  11176. {0x93, 0x70, 0x70, 0, 0},
  11177. {0x94, 0x70, 0x70, 0, 0},
  11178. {0x95, 0x70, 0x70, 0, 0},
  11179. {0x96, 0x70, 0x70, 0, 0},
  11180. {0x97, 0x70, 0x70, 0, 0},
  11181. {0x98, 0x70, 0x70, 0, 0},
  11182. {0x99, 0x70, 0x70, 0, 0},
  11183. {0x9A, 0x70, 0x70, 0, 0},
  11184. {0xFFFF, 0, 0, 0, 0},
  11185. };
  11186. static const struct radio_regs regs_RX_2056_rev11[] = {
  11187. {0x02, 0, 0, 0, 0},
  11188. {0x03, 0, 0, 0, 0},
  11189. {0x04, 0, 0, 0, 0},
  11190. {0x05, 0, 0, 0, 0},
  11191. {0x06, 0, 0, 0, 0},
  11192. {0x07, 0, 0, 0, 0},
  11193. {0x08, 0, 0, 0, 0},
  11194. {0x09, 0, 0, 0, 0},
  11195. {0x0A, 0, 0, 0, 0},
  11196. {0x0B, 0, 0, 0, 0},
  11197. {0x0C, 0, 0, 0, 0},
  11198. {0x0D, 0, 0, 0, 0},
  11199. {0x0E, 0, 0, 0, 0},
  11200. {0x0F, 0, 0, 0, 0},
  11201. {0x10, 0, 0, 0, 0},
  11202. {0x11, 0, 0, 0, 0},
  11203. {0x12, 0, 0, 0, 0},
  11204. {0x13, 0, 0, 0, 0},
  11205. {0x14, 0, 0, 0, 0},
  11206. {0x15, 0, 0, 0, 0},
  11207. {0x16, 0, 0, 0, 0},
  11208. {0x17, 0, 0, 0, 0},
  11209. {0x18, 0, 0, 0, 0},
  11210. {0x19, 0, 0, 0, 0},
  11211. {0x1A, 0, 0, 0, 0},
  11212. {0x1B, 0, 0, 0, 0},
  11213. {0x1C, 0, 0, 0, 0},
  11214. {0x1D, 0, 0, 0, 0},
  11215. {0x1E, 0, 0, 0, 0},
  11216. {0x1F, 0, 0, 0, 0},
  11217. {0x20, 0x3, 0x3, 0, 0},
  11218. {0x21, 0, 0, 0, 0},
  11219. {0x22, 0, 0, 0, 0},
  11220. {0x23, 0x90, 0x90, 0, 0},
  11221. {0x24, 0x55, 0x55, 0, 0},
  11222. {0x25, 0x15, 0x15, 0, 0},
  11223. {0x26, 0x5, 0x5, 0, 0},
  11224. {0x27, 0x15, 0x15, 0, 0},
  11225. {0x28, 0x5, 0x5, 0, 0},
  11226. {0x29, 0x20, 0x20, 0, 0},
  11227. {0x2A, 0x11, 0x11, 0, 0},
  11228. {0x2B, 0x90, 0x90, 0, 0},
  11229. {0x2C, 0, 0, 0, 0},
  11230. {0x2D, 0x88, 0x88, 0, 0},
  11231. {0x2E, 0x32, 0x32, 0, 0},
  11232. {0x2F, 0x77, 0x77, 0, 0},
  11233. {0x30, 0x17, 0x17, 1, 1},
  11234. {0x31, 0xff, 0xff, 1, 1},
  11235. {0x32, 0x20, 0x20, 0, 0},
  11236. {0x33, 0, 0, 0, 0},
  11237. {0x34, 0x88, 0x88, 0, 0},
  11238. {0x35, 0x32, 0x32, 0, 0},
  11239. {0x36, 0x77, 0x77, 0, 0},
  11240. {0x37, 0x17, 0x17, 1, 1},
  11241. {0x38, 0xf0, 0xf0, 1, 1},
  11242. {0x39, 0x20, 0x20, 0, 0},
  11243. {0x3A, 0x8, 0x8, 0, 0},
  11244. {0x3B, 0x55, 0x55, 1, 1},
  11245. {0x3C, 0, 0, 0, 0},
  11246. {0x3D, 0x88, 0x88, 1, 1},
  11247. {0x3E, 0, 0, 0, 0},
  11248. {0x3F, 0x44, 0x44, 0, 0},
  11249. {0x40, 0x7, 0x7, 1, 1},
  11250. {0x41, 0x6, 0x6, 0, 0},
  11251. {0x42, 0x4, 0x4, 0, 0},
  11252. {0x43, 0, 0, 0, 0},
  11253. {0x44, 0x8, 0x8, 0, 0},
  11254. {0x45, 0x55, 0x55, 1, 1},
  11255. {0x46, 0, 0, 0, 0},
  11256. {0x47, 0x11, 0x11, 0, 0},
  11257. {0x48, 0, 0, 0, 0},
  11258. {0x49, 0x44, 0x44, 0, 0},
  11259. {0x4A, 0x7, 0x7, 0, 0},
  11260. {0x4B, 0x6, 0x6, 0, 0},
  11261. {0x4C, 0x4, 0x4, 0, 0},
  11262. {0x4D, 0, 0, 0, 0},
  11263. {0x4E, 0, 0, 0, 0},
  11264. {0x4F, 0x26, 0x26, 1, 1},
  11265. {0x50, 0x26, 0x26, 1, 1},
  11266. {0x51, 0xf, 0xf, 1, 1},
  11267. {0x52, 0xf, 0xf, 1, 1},
  11268. {0x53, 0x44, 0x44, 0, 0},
  11269. {0x54, 0, 0, 0, 0},
  11270. {0x55, 0, 0, 0, 0},
  11271. {0x56, 0x8, 0x8, 0, 0},
  11272. {0x57, 0x8, 0x8, 0, 0},
  11273. {0x58, 0x7, 0x7, 0, 0},
  11274. {0x59, 0x22, 0x22, 0, 0},
  11275. {0x5A, 0x22, 0x22, 0, 0},
  11276. {0x5B, 0x2, 0x2, 0, 0},
  11277. {0x5C, 0x4, 0x4, 1, 1},
  11278. {0x5D, 0x7, 0x7, 0, 0},
  11279. {0x5E, 0x55, 0x55, 0, 0},
  11280. {0x5F, 0x23, 0x23, 0, 0},
  11281. {0x60, 0x41, 0x41, 0, 0},
  11282. {0x61, 0x1, 0x1, 0, 0},
  11283. {0x62, 0xa, 0xa, 0, 0},
  11284. {0x63, 0, 0, 0, 0},
  11285. {0x64, 0, 0, 0, 0},
  11286. {0x65, 0, 0, 0, 0},
  11287. {0x66, 0, 0, 0, 0},
  11288. {0x67, 0, 0, 0, 0},
  11289. {0x68, 0, 0, 0, 0},
  11290. {0x69, 0, 0, 0, 0},
  11291. {0x6A, 0, 0, 0, 0},
  11292. {0x6B, 0xc, 0xc, 0, 0},
  11293. {0x6C, 0, 0, 0, 0},
  11294. {0x6D, 0, 0, 0, 0},
  11295. {0x6E, 0, 0, 0, 0},
  11296. {0x6F, 0, 0, 0, 0},
  11297. {0x70, 0, 0, 0, 0},
  11298. {0x71, 0, 0, 0, 0},
  11299. {0x72, 0x22, 0x22, 0, 0},
  11300. {0x73, 0x22, 0x22, 0, 0},
  11301. {0x74, 0, 0, 1, 1},
  11302. {0x75, 0xa, 0xa, 0, 0},
  11303. {0x76, 0x1, 0x1, 0, 0},
  11304. {0x77, 0x22, 0x22, 0, 0},
  11305. {0x78, 0x30, 0x30, 0, 0},
  11306. {0x79, 0, 0, 0, 0},
  11307. {0x7A, 0, 0, 0, 0},
  11308. {0x7B, 0, 0, 0, 0},
  11309. {0x7C, 0, 0, 0, 0},
  11310. {0x7D, 0x5, 0x5, 1, 1},
  11311. {0x7E, 0, 0, 0, 0},
  11312. {0x7F, 0, 0, 0, 0},
  11313. {0x80, 0, 0, 0, 0},
  11314. {0x81, 0, 0, 0, 0},
  11315. {0x82, 0, 0, 0, 0},
  11316. {0x83, 0, 0, 0, 0},
  11317. {0x84, 0, 0, 0, 0},
  11318. {0x85, 0, 0, 0, 0},
  11319. {0x86, 0, 0, 0, 0},
  11320. {0x87, 0, 0, 0, 0},
  11321. {0x88, 0, 0, 0, 0},
  11322. {0x89, 0, 0, 0, 0},
  11323. {0x8A, 0, 0, 0, 0},
  11324. {0x8B, 0, 0, 0, 0},
  11325. {0x8C, 0, 0, 0, 0},
  11326. {0x8D, 0, 0, 0, 0},
  11327. {0x8E, 0, 0, 0, 0},
  11328. {0x8F, 0, 0, 0, 0},
  11329. {0x90, 0, 0, 0, 0},
  11330. {0x91, 0, 0, 0, 0},
  11331. {0x92, 0, 0, 0, 0},
  11332. {0x93, 0, 0, 0, 0},
  11333. {0x94, 0, 0, 0, 0},
  11334. {0xFFFF, 0, 0, 0, 0},
  11335. };
  11336. static struct radio_20xx_regs regs_2057_rev4[] = {
  11337. {0x00, 0x84, 0},
  11338. {0x01, 0, 0},
  11339. {0x02, 0x60, 0},
  11340. {0x03, 0x1f, 0},
  11341. {0x04, 0x4, 0},
  11342. {0x05, 0x2, 0},
  11343. {0x06, 0x1, 0},
  11344. {0x07, 0x1, 0},
  11345. {0x08, 0x1, 0},
  11346. {0x09, 0x69, 0},
  11347. {0x0A, 0x66, 0},
  11348. {0x0B, 0x6, 0},
  11349. {0x0C, 0x18, 0},
  11350. {0x0D, 0x3, 0},
  11351. {0x0E, 0x20, 1},
  11352. {0x0F, 0x20, 0},
  11353. {0x10, 0, 0},
  11354. {0x11, 0x7c, 0},
  11355. {0x12, 0x42, 0},
  11356. {0x13, 0xbd, 0},
  11357. {0x14, 0x7, 0},
  11358. {0x15, 0xf7, 0},
  11359. {0x16, 0x8, 0},
  11360. {0x17, 0x17, 0},
  11361. {0x18, 0x7, 0},
  11362. {0x19, 0, 0},
  11363. {0x1A, 0x2, 0},
  11364. {0x1B, 0x13, 0},
  11365. {0x1C, 0x3e, 0},
  11366. {0x1D, 0x3e, 0},
  11367. {0x1E, 0x96, 0},
  11368. {0x1F, 0x4, 0},
  11369. {0x20, 0, 0},
  11370. {0x21, 0, 0},
  11371. {0x22, 0x17, 0},
  11372. {0x23, 0x4, 0},
  11373. {0x24, 0x1, 0},
  11374. {0x25, 0x6, 0},
  11375. {0x26, 0x4, 0},
  11376. {0x27, 0xd, 0},
  11377. {0x28, 0xd, 0},
  11378. {0x29, 0x30, 0},
  11379. {0x2A, 0x32, 0},
  11380. {0x2B, 0x8, 0},
  11381. {0x2C, 0x1c, 0},
  11382. {0x2D, 0x2, 0},
  11383. {0x2E, 0x4, 0},
  11384. {0x2F, 0x7f, 0},
  11385. {0x30, 0x27, 0},
  11386. {0x31, 0, 1},
  11387. {0x32, 0, 1},
  11388. {0x33, 0, 1},
  11389. {0x34, 0, 0},
  11390. {0x35, 0x26, 1},
  11391. {0x36, 0x18, 0},
  11392. {0x37, 0x7, 0},
  11393. {0x38, 0x66, 0},
  11394. {0x39, 0x66, 0},
  11395. {0x3A, 0x66, 0},
  11396. {0x3B, 0x66, 0},
  11397. {0x3C, 0xff, 1},
  11398. {0x3D, 0xff, 1},
  11399. {0x3E, 0xff, 1},
  11400. {0x3F, 0xff, 1},
  11401. {0x40, 0x16, 0},
  11402. {0x41, 0x7, 0},
  11403. {0x42, 0x19, 0},
  11404. {0x43, 0x7, 0},
  11405. {0x44, 0x6, 0},
  11406. {0x45, 0x3, 0},
  11407. {0x46, 0x1, 0},
  11408. {0x47, 0x7, 0},
  11409. {0x48, 0x33, 0},
  11410. {0x49, 0x5, 0},
  11411. {0x4A, 0x77, 0},
  11412. {0x4B, 0x66, 0},
  11413. {0x4C, 0x66, 0},
  11414. {0x4D, 0, 0},
  11415. {0x4E, 0x4, 0},
  11416. {0x4F, 0xc, 0},
  11417. {0x50, 0, 0},
  11418. {0x51, 0x75, 0},
  11419. {0x56, 0x7, 0},
  11420. {0x57, 0, 0},
  11421. {0x58, 0, 0},
  11422. {0x59, 0xa8, 0},
  11423. {0x5A, 0, 0},
  11424. {0x5B, 0x1f, 0},
  11425. {0x5C, 0x30, 0},
  11426. {0x5D, 0x1, 0},
  11427. {0x5E, 0x30, 0},
  11428. {0x5F, 0x70, 0},
  11429. {0x60, 0, 0},
  11430. {0x61, 0, 0},
  11431. {0x62, 0x33, 1},
  11432. {0x63, 0x19, 0},
  11433. {0x64, 0x62, 0},
  11434. {0x65, 0, 0},
  11435. {0x66, 0x11, 0},
  11436. {0x69, 0, 0},
  11437. {0x6A, 0x7e, 0},
  11438. {0x6B, 0x3f, 0},
  11439. {0x6C, 0x7f, 0},
  11440. {0x6D, 0x78, 0},
  11441. {0x6E, 0xc8, 0},
  11442. {0x6F, 0x88, 0},
  11443. {0x70, 0x8, 0},
  11444. {0x71, 0xf, 0},
  11445. {0x72, 0xbc, 0},
  11446. {0x73, 0x8, 0},
  11447. {0x74, 0x60, 0},
  11448. {0x75, 0x1e, 0},
  11449. {0x76, 0x70, 0},
  11450. {0x77, 0, 0},
  11451. {0x78, 0, 0},
  11452. {0x79, 0, 0},
  11453. {0x7A, 0x33, 0},
  11454. {0x7B, 0x1e, 0},
  11455. {0x7C, 0x62, 0},
  11456. {0x7D, 0x11, 0},
  11457. {0x80, 0x3c, 0},
  11458. {0x81, 0x9c, 0},
  11459. {0x82, 0xa, 0},
  11460. {0x83, 0x9d, 0},
  11461. {0x84, 0xa, 0},
  11462. {0x85, 0, 0},
  11463. {0x86, 0x40, 0},
  11464. {0x87, 0x40, 0},
  11465. {0x88, 0x88, 0},
  11466. {0x89, 0x10, 0},
  11467. {0x8A, 0xf0, 1},
  11468. {0x8B, 0x10, 1},
  11469. {0x8C, 0xf0, 1},
  11470. {0x8D, 0, 0},
  11471. {0x8E, 0, 0},
  11472. {0x8F, 0x10, 0},
  11473. {0x90, 0x55, 0},
  11474. {0x91, 0x3f, 1},
  11475. {0x92, 0x36, 1},
  11476. {0x93, 0, 0},
  11477. {0x94, 0, 0},
  11478. {0x95, 0, 0},
  11479. {0x96, 0x87, 0},
  11480. {0x97, 0x11, 0},
  11481. {0x98, 0, 0},
  11482. {0x99, 0x33, 0},
  11483. {0x9A, 0x88, 0},
  11484. {0x9B, 0, 0},
  11485. {0x9C, 0x87, 0},
  11486. {0x9D, 0x11, 0},
  11487. {0x9E, 0, 0},
  11488. {0x9F, 0x33, 0},
  11489. {0xA0, 0x88, 0},
  11490. {0xA1, 0xe1, 0},
  11491. {0xA2, 0x3f, 0},
  11492. {0xA3, 0x44, 0},
  11493. {0xA4, 0x8c, 1},
  11494. {0xA5, 0x6d, 0},
  11495. {0xA6, 0x22, 0},
  11496. {0xA7, 0xbe, 0},
  11497. {0xA8, 0x55, 1},
  11498. {0xA9, 0xc, 0},
  11499. {0xAA, 0xc, 0},
  11500. {0xAB, 0xaa, 0},
  11501. {0xAC, 0x2, 0},
  11502. {0xAD, 0, 0},
  11503. {0xAE, 0x10, 0},
  11504. {0xAF, 0x1, 1},
  11505. {0xB0, 0, 0},
  11506. {0xB1, 0, 0},
  11507. {0xB2, 0x80, 0},
  11508. {0xB3, 0x60, 0},
  11509. {0xB4, 0x44, 0},
  11510. {0xB5, 0x55, 0},
  11511. {0xB6, 0x1, 0},
  11512. {0xB7, 0x55, 0},
  11513. {0xB8, 0x1, 0},
  11514. {0xB9, 0x5, 0},
  11515. {0xBA, 0x55, 0},
  11516. {0xBB, 0x55, 0},
  11517. {0xC1, 0, 0},
  11518. {0xC2, 0, 0},
  11519. {0xC3, 0, 0},
  11520. {0xC4, 0, 0},
  11521. {0xC5, 0, 0},
  11522. {0xC6, 0, 0},
  11523. {0xC7, 0, 0},
  11524. {0xC8, 0, 0},
  11525. {0xC9, 0, 0},
  11526. {0xCA, 0, 0},
  11527. {0xCB, 0, 0},
  11528. {0xCC, 0, 0},
  11529. {0xCD, 0, 0},
  11530. {0xCE, 0x5e, 0},
  11531. {0xCF, 0xc, 0},
  11532. {0xD0, 0xc, 0},
  11533. {0xD1, 0xc, 0},
  11534. {0xD2, 0, 0},
  11535. {0xD3, 0x2b, 0},
  11536. {0xD4, 0xc, 0},
  11537. {0xD5, 0, 0},
  11538. {0xD6, 0x75, 0},
  11539. {0xDB, 0x7, 0},
  11540. {0xDC, 0, 0},
  11541. {0xDD, 0, 0},
  11542. {0xDE, 0xa8, 0},
  11543. {0xDF, 0, 0},
  11544. {0xE0, 0x1f, 0},
  11545. {0xE1, 0x30, 0},
  11546. {0xE2, 0x1, 0},
  11547. {0xE3, 0x30, 0},
  11548. {0xE4, 0x70, 0},
  11549. {0xE5, 0, 0},
  11550. {0xE6, 0, 0},
  11551. {0xE7, 0x33, 0},
  11552. {0xE8, 0x19, 0},
  11553. {0xE9, 0x62, 0},
  11554. {0xEA, 0, 0},
  11555. {0xEB, 0x11, 0},
  11556. {0xEE, 0, 0},
  11557. {0xEF, 0x7e, 0},
  11558. {0xF0, 0x3f, 0},
  11559. {0xF1, 0x7f, 0},
  11560. {0xF2, 0x78, 0},
  11561. {0xF3, 0xc8, 0},
  11562. {0xF4, 0x88, 0},
  11563. {0xF5, 0x8, 0},
  11564. {0xF6, 0xf, 0},
  11565. {0xF7, 0xbc, 0},
  11566. {0xF8, 0x8, 0},
  11567. {0xF9, 0x60, 0},
  11568. {0xFA, 0x1e, 0},
  11569. {0xFB, 0x70, 0},
  11570. {0xFC, 0, 0},
  11571. {0xFD, 0, 0},
  11572. {0xFE, 0, 0},
  11573. {0xFF, 0x33, 0},
  11574. {0x100, 0x1e, 0},
  11575. {0x101, 0x62, 0},
  11576. {0x102, 0x11, 0},
  11577. {0x105, 0x3c, 0},
  11578. {0x106, 0x9c, 0},
  11579. {0x107, 0xa, 0},
  11580. {0x108, 0x9d, 0},
  11581. {0x109, 0xa, 0},
  11582. {0x10A, 0, 0},
  11583. {0x10B, 0x40, 0},
  11584. {0x10C, 0x40, 0},
  11585. {0x10D, 0x88, 0},
  11586. {0x10E, 0x10, 0},
  11587. {0x10F, 0xf0, 1},
  11588. {0x110, 0x10, 1},
  11589. {0x111, 0xf0, 1},
  11590. {0x112, 0, 0},
  11591. {0x113, 0, 0},
  11592. {0x114, 0x10, 0},
  11593. {0x115, 0x55, 0},
  11594. {0x116, 0x3f, 1},
  11595. {0x117, 0x36, 1},
  11596. {0x118, 0, 0},
  11597. {0x119, 0, 0},
  11598. {0x11A, 0, 0},
  11599. {0x11B, 0x87, 0},
  11600. {0x11C, 0x11, 0},
  11601. {0x11D, 0, 0},
  11602. {0x11E, 0x33, 0},
  11603. {0x11F, 0x88, 0},
  11604. {0x120, 0, 0},
  11605. {0x121, 0x87, 0},
  11606. {0x122, 0x11, 0},
  11607. {0x123, 0, 0},
  11608. {0x124, 0x33, 0},
  11609. {0x125, 0x88, 0},
  11610. {0x126, 0xe1, 0},
  11611. {0x127, 0x3f, 0},
  11612. {0x128, 0x44, 0},
  11613. {0x129, 0x8c, 1},
  11614. {0x12A, 0x6d, 0},
  11615. {0x12B, 0x22, 0},
  11616. {0x12C, 0xbe, 0},
  11617. {0x12D, 0x55, 1},
  11618. {0x12E, 0xc, 0},
  11619. {0x12F, 0xc, 0},
  11620. {0x130, 0xaa, 0},
  11621. {0x131, 0x2, 0},
  11622. {0x132, 0, 0},
  11623. {0x133, 0x10, 0},
  11624. {0x134, 0x1, 1},
  11625. {0x135, 0, 0},
  11626. {0x136, 0, 0},
  11627. {0x137, 0x80, 0},
  11628. {0x138, 0x60, 0},
  11629. {0x139, 0x44, 0},
  11630. {0x13A, 0x55, 0},
  11631. {0x13B, 0x1, 0},
  11632. {0x13C, 0x55, 0},
  11633. {0x13D, 0x1, 0},
  11634. {0x13E, 0x5, 0},
  11635. {0x13F, 0x55, 0},
  11636. {0x140, 0x55, 0},
  11637. {0x146, 0, 0},
  11638. {0x147, 0, 0},
  11639. {0x148, 0, 0},
  11640. {0x149, 0, 0},
  11641. {0x14A, 0, 0},
  11642. {0x14B, 0, 0},
  11643. {0x14C, 0, 0},
  11644. {0x14D, 0, 0},
  11645. {0x14E, 0, 0},
  11646. {0x14F, 0, 0},
  11647. {0x150, 0, 0},
  11648. {0x151, 0, 0},
  11649. {0x152, 0, 0},
  11650. {0x153, 0, 0},
  11651. {0x154, 0xc, 0},
  11652. {0x155, 0xc, 0},
  11653. {0x156, 0xc, 0},
  11654. {0x157, 0, 0},
  11655. {0x158, 0x2b, 0},
  11656. {0x159, 0x84, 0},
  11657. {0x15A, 0x15, 0},
  11658. {0x15B, 0xf, 0},
  11659. {0x15C, 0, 0},
  11660. {0x15D, 0, 0},
  11661. {0x15E, 0, 1},
  11662. {0x15F, 0, 1},
  11663. {0x160, 0, 1},
  11664. {0x161, 0, 1},
  11665. {0x162, 0, 1},
  11666. {0x163, 0, 1},
  11667. {0x164, 0, 0},
  11668. {0x165, 0, 0},
  11669. {0x166, 0, 0},
  11670. {0x167, 0, 0},
  11671. {0x168, 0, 0},
  11672. {0x169, 0x2, 1},
  11673. {0x16A, 0, 1},
  11674. {0x16B, 0, 1},
  11675. {0x16C, 0, 1},
  11676. {0x16D, 0, 0},
  11677. {0x170, 0, 0},
  11678. {0x171, 0x77, 0},
  11679. {0x172, 0x77, 0},
  11680. {0x173, 0x77, 0},
  11681. {0x174, 0x77, 0},
  11682. {0x175, 0, 0},
  11683. {0x176, 0x3, 0},
  11684. {0x177, 0x37, 0},
  11685. {0x178, 0x3, 0},
  11686. {0x179, 0, 0},
  11687. {0x17A, 0x21, 0},
  11688. {0x17B, 0x21, 0},
  11689. {0x17C, 0, 0},
  11690. {0x17D, 0xaa, 0},
  11691. {0x17E, 0, 0},
  11692. {0x17F, 0xaa, 0},
  11693. {0x180, 0, 0},
  11694. {0x190, 0, 0},
  11695. {0x191, 0x77, 0},
  11696. {0x192, 0x77, 0},
  11697. {0x193, 0x77, 0},
  11698. {0x194, 0x77, 0},
  11699. {0x195, 0, 0},
  11700. {0x196, 0x3, 0},
  11701. {0x197, 0x37, 0},
  11702. {0x198, 0x3, 0},
  11703. {0x199, 0, 0},
  11704. {0x19A, 0x21, 0},
  11705. {0x19B, 0x21, 0},
  11706. {0x19C, 0, 0},
  11707. {0x19D, 0xaa, 0},
  11708. {0x19E, 0, 0},
  11709. {0x19F, 0xaa, 0},
  11710. {0x1A0, 0, 0},
  11711. {0x1A1, 0x2, 0},
  11712. {0x1A2, 0xf, 0},
  11713. {0x1A3, 0xf, 0},
  11714. {0x1A4, 0, 1},
  11715. {0x1A5, 0, 1},
  11716. {0x1A6, 0, 1},
  11717. {0x1A7, 0x2, 0},
  11718. {0x1A8, 0xf, 0},
  11719. {0x1A9, 0xf, 0},
  11720. {0x1AA, 0, 1},
  11721. {0x1AB, 0, 1},
  11722. {0x1AC, 0, 1},
  11723. {0xFFFF, 0, 0},
  11724. };
  11725. static struct radio_20xx_regs regs_2057_rev5[] = {
  11726. {0x00, 0, 1},
  11727. {0x01, 0x57, 1},
  11728. {0x02, 0x20, 1},
  11729. {0x03, 0x1f, 0},
  11730. {0x04, 0x4, 0},
  11731. {0x05, 0x2, 0},
  11732. {0x06, 0x1, 0},
  11733. {0x07, 0x1, 0},
  11734. {0x08, 0x1, 0},
  11735. {0x09, 0x69, 0},
  11736. {0x0A, 0x66, 0},
  11737. {0x0B, 0x6, 0},
  11738. {0x0C, 0x18, 0},
  11739. {0x0D, 0x3, 0},
  11740. {0x0E, 0x20, 0},
  11741. {0x0F, 0x20, 0},
  11742. {0x10, 0, 0},
  11743. {0x11, 0x7c, 0},
  11744. {0x12, 0x42, 0},
  11745. {0x13, 0xbd, 0},
  11746. {0x14, 0x7, 0},
  11747. {0x15, 0x87, 0},
  11748. {0x16, 0x8, 0},
  11749. {0x17, 0x17, 0},
  11750. {0x18, 0x7, 0},
  11751. {0x19, 0, 0},
  11752. {0x1A, 0x2, 0},
  11753. {0x1B, 0x13, 0},
  11754. {0x1C, 0x3e, 0},
  11755. {0x1D, 0x3e, 0},
  11756. {0x1E, 0x96, 0},
  11757. {0x1F, 0x4, 0},
  11758. {0x20, 0, 0},
  11759. {0x21, 0, 0},
  11760. {0x22, 0x17, 0},
  11761. {0x23, 0x6, 1},
  11762. {0x24, 0x1, 0},
  11763. {0x25, 0x6, 0},
  11764. {0x26, 0x4, 0},
  11765. {0x27, 0xd, 0},
  11766. {0x28, 0xd, 0},
  11767. {0x29, 0x30, 0},
  11768. {0x2A, 0x32, 0},
  11769. {0x2B, 0x8, 0},
  11770. {0x2C, 0x1c, 0},
  11771. {0x2D, 0x2, 0},
  11772. {0x2E, 0x4, 0},
  11773. {0x2F, 0x7f, 0},
  11774. {0x30, 0x27, 0},
  11775. {0x31, 0, 1},
  11776. {0x32, 0, 1},
  11777. {0x33, 0, 1},
  11778. {0x34, 0, 0},
  11779. {0x35, 0x20, 0},
  11780. {0x36, 0x18, 0},
  11781. {0x37, 0x7, 0},
  11782. {0x38, 0x66, 0},
  11783. {0x39, 0x66, 0},
  11784. {0x3C, 0xff, 0},
  11785. {0x3D, 0xff, 0},
  11786. {0x40, 0x16, 0},
  11787. {0x41, 0x7, 0},
  11788. {0x45, 0x3, 0},
  11789. {0x46, 0x1, 0},
  11790. {0x47, 0x7, 0},
  11791. {0x4B, 0x66, 0},
  11792. {0x4C, 0x66, 0},
  11793. {0x4D, 0, 0},
  11794. {0x4E, 0x4, 0},
  11795. {0x4F, 0xc, 0},
  11796. {0x50, 0, 0},
  11797. {0x51, 0x70, 1},
  11798. {0x56, 0x7, 0},
  11799. {0x57, 0, 0},
  11800. {0x58, 0, 0},
  11801. {0x59, 0x88, 1},
  11802. {0x5A, 0, 0},
  11803. {0x5B, 0x1f, 0},
  11804. {0x5C, 0x20, 1},
  11805. {0x5D, 0x1, 0},
  11806. {0x5E, 0x30, 0},
  11807. {0x5F, 0x70, 0},
  11808. {0x60, 0, 0},
  11809. {0x61, 0, 0},
  11810. {0x62, 0x33, 1},
  11811. {0x63, 0xf, 1},
  11812. {0x64, 0xf, 1},
  11813. {0x65, 0, 0},
  11814. {0x66, 0x11, 0},
  11815. {0x80, 0x3c, 0},
  11816. {0x81, 0x1, 1},
  11817. {0x82, 0xa, 0},
  11818. {0x85, 0, 0},
  11819. {0x86, 0x40, 0},
  11820. {0x87, 0x40, 0},
  11821. {0x88, 0x88, 0},
  11822. {0x89, 0x10, 0},
  11823. {0x8A, 0xf0, 0},
  11824. {0x8B, 0x10, 0},
  11825. {0x8C, 0xf0, 0},
  11826. {0x8F, 0x10, 0},
  11827. {0x90, 0x55, 0},
  11828. {0x91, 0x3f, 1},
  11829. {0x92, 0x36, 1},
  11830. {0x93, 0, 0},
  11831. {0x94, 0, 0},
  11832. {0x95, 0, 0},
  11833. {0x96, 0x87, 0},
  11834. {0x97, 0x11, 0},
  11835. {0x98, 0, 0},
  11836. {0x99, 0x33, 0},
  11837. {0x9A, 0x88, 0},
  11838. {0xA1, 0x20, 1},
  11839. {0xA2, 0x3f, 0},
  11840. {0xA3, 0x44, 0},
  11841. {0xA4, 0x8c, 0},
  11842. {0xA5, 0x6c, 0},
  11843. {0xA6, 0x22, 0},
  11844. {0xA7, 0xbe, 0},
  11845. {0xA8, 0x55, 0},
  11846. {0xAA, 0xc, 0},
  11847. {0xAB, 0xaa, 0},
  11848. {0xAC, 0x2, 0},
  11849. {0xAD, 0, 0},
  11850. {0xAE, 0x10, 0},
  11851. {0xAF, 0x1, 0},
  11852. {0xB0, 0, 0},
  11853. {0xB1, 0, 0},
  11854. {0xB2, 0x80, 0},
  11855. {0xB3, 0x60, 0},
  11856. {0xB4, 0x44, 0},
  11857. {0xB5, 0x55, 0},
  11858. {0xB6, 0x1, 0},
  11859. {0xB7, 0x55, 0},
  11860. {0xB8, 0x1, 0},
  11861. {0xB9, 0x5, 0},
  11862. {0xBA, 0x55, 0},
  11863. {0xBB, 0x55, 0},
  11864. {0xC3, 0, 0},
  11865. {0xC4, 0, 0},
  11866. {0xC5, 0, 0},
  11867. {0xC6, 0, 0},
  11868. {0xC7, 0, 0},
  11869. {0xC8, 0, 0},
  11870. {0xC9, 0, 0},
  11871. {0xCA, 0, 0},
  11872. {0xCB, 0, 0},
  11873. {0xCD, 0, 0},
  11874. {0xCE, 0x5e, 0},
  11875. {0xCF, 0xc, 0},
  11876. {0xD0, 0xc, 0},
  11877. {0xD1, 0xc, 0},
  11878. {0xD2, 0, 0},
  11879. {0xD3, 0x2b, 0},
  11880. {0xD4, 0xc, 0},
  11881. {0xD5, 0, 0},
  11882. {0xD6, 0x70, 1},
  11883. {0xDB, 0x7, 0},
  11884. {0xDC, 0, 0},
  11885. {0xDD, 0, 0},
  11886. {0xDE, 0x88, 1},
  11887. {0xDF, 0, 0},
  11888. {0xE0, 0x1f, 0},
  11889. {0xE1, 0x20, 1},
  11890. {0xE2, 0x1, 0},
  11891. {0xE3, 0x30, 0},
  11892. {0xE4, 0x70, 0},
  11893. {0xE5, 0, 0},
  11894. {0xE6, 0, 0},
  11895. {0xE7, 0x33, 0},
  11896. {0xE8, 0xf, 1},
  11897. {0xE9, 0xf, 1},
  11898. {0xEA, 0, 0},
  11899. {0xEB, 0x11, 0},
  11900. {0x105, 0x3c, 0},
  11901. {0x106, 0x1, 1},
  11902. {0x107, 0xa, 0},
  11903. {0x10A, 0, 0},
  11904. {0x10B, 0x40, 0},
  11905. {0x10C, 0x40, 0},
  11906. {0x10D, 0x88, 0},
  11907. {0x10E, 0x10, 0},
  11908. {0x10F, 0xf0, 0},
  11909. {0x110, 0x10, 0},
  11910. {0x111, 0xf0, 0},
  11911. {0x114, 0x10, 0},
  11912. {0x115, 0x55, 0},
  11913. {0x116, 0x3f, 1},
  11914. {0x117, 0x36, 1},
  11915. {0x118, 0, 0},
  11916. {0x119, 0, 0},
  11917. {0x11A, 0, 0},
  11918. {0x11B, 0x87, 0},
  11919. {0x11C, 0x11, 0},
  11920. {0x11D, 0, 0},
  11921. {0x11E, 0x33, 0},
  11922. {0x11F, 0x88, 0},
  11923. {0x126, 0x20, 1},
  11924. {0x127, 0x3f, 0},
  11925. {0x128, 0x44, 0},
  11926. {0x129, 0x8c, 0},
  11927. {0x12A, 0x6c, 0},
  11928. {0x12B, 0x22, 0},
  11929. {0x12C, 0xbe, 0},
  11930. {0x12D, 0x55, 0},
  11931. {0x12F, 0xc, 0},
  11932. {0x130, 0xaa, 0},
  11933. {0x131, 0x2, 0},
  11934. {0x132, 0, 0},
  11935. {0x133, 0x10, 0},
  11936. {0x134, 0x1, 0},
  11937. {0x135, 0, 0},
  11938. {0x136, 0, 0},
  11939. {0x137, 0x80, 0},
  11940. {0x138, 0x60, 0},
  11941. {0x139, 0x44, 0},
  11942. {0x13A, 0x55, 0},
  11943. {0x13B, 0x1, 0},
  11944. {0x13C, 0x55, 0},
  11945. {0x13D, 0x1, 0},
  11946. {0x13E, 0x5, 0},
  11947. {0x13F, 0x55, 0},
  11948. {0x140, 0x55, 0},
  11949. {0x148, 0, 0},
  11950. {0x149, 0, 0},
  11951. {0x14A, 0, 0},
  11952. {0x14B, 0, 0},
  11953. {0x14C, 0, 0},
  11954. {0x14D, 0, 0},
  11955. {0x14E, 0, 0},
  11956. {0x14F, 0, 0},
  11957. {0x150, 0, 0},
  11958. {0x154, 0xc, 0},
  11959. {0x155, 0xc, 0},
  11960. {0x156, 0xc, 0},
  11961. {0x157, 0, 0},
  11962. {0x158, 0x2b, 0},
  11963. {0x159, 0x84, 0},
  11964. {0x15A, 0x15, 0},
  11965. {0x15B, 0xf, 0},
  11966. {0x15C, 0, 0},
  11967. {0x15D, 0, 0},
  11968. {0x15E, 0, 1},
  11969. {0x15F, 0, 1},
  11970. {0x160, 0, 1},
  11971. {0x161, 0, 1},
  11972. {0x162, 0, 1},
  11973. {0x163, 0, 1},
  11974. {0x164, 0, 0},
  11975. {0x165, 0, 0},
  11976. {0x166, 0, 0},
  11977. {0x167, 0, 0},
  11978. {0x168, 0, 0},
  11979. {0x169, 0, 0},
  11980. {0x16A, 0, 1},
  11981. {0x16B, 0, 1},
  11982. {0x16C, 0, 1},
  11983. {0x16D, 0, 0},
  11984. {0x170, 0, 0},
  11985. {0x171, 0x77, 0},
  11986. {0x172, 0x77, 0},
  11987. {0x173, 0x77, 0},
  11988. {0x174, 0x77, 0},
  11989. {0x175, 0, 0},
  11990. {0x176, 0x3, 0},
  11991. {0x177, 0x37, 0},
  11992. {0x178, 0x3, 0},
  11993. {0x179, 0, 0},
  11994. {0x17B, 0x21, 0},
  11995. {0x17C, 0, 0},
  11996. {0x17D, 0xaa, 0},
  11997. {0x17E, 0, 0},
  11998. {0x190, 0, 0},
  11999. {0x191, 0x77, 0},
  12000. {0x192, 0x77, 0},
  12001. {0x193, 0x77, 0},
  12002. {0x194, 0x77, 0},
  12003. {0x195, 0, 0},
  12004. {0x196, 0x3, 0},
  12005. {0x197, 0x37, 0},
  12006. {0x198, 0x3, 0},
  12007. {0x199, 0, 0},
  12008. {0x19B, 0x21, 0},
  12009. {0x19C, 0, 0},
  12010. {0x19D, 0xaa, 0},
  12011. {0x19E, 0, 0},
  12012. {0x1A1, 0x2, 0},
  12013. {0x1A2, 0xf, 0},
  12014. {0x1A3, 0xf, 0},
  12015. {0x1A4, 0, 1},
  12016. {0x1A5, 0, 1},
  12017. {0x1A6, 0, 1},
  12018. {0x1A7, 0x2, 0},
  12019. {0x1A8, 0xf, 0},
  12020. {0x1A9, 0xf, 0},
  12021. {0x1AA, 0, 1},
  12022. {0x1AB, 0, 1},
  12023. {0x1AC, 0, 1},
  12024. {0x1AD, 0x84, 0},
  12025. {0x1AE, 0x60, 0},
  12026. {0x1AF, 0x47, 0},
  12027. {0x1B0, 0x47, 0},
  12028. {0x1B1, 0, 0},
  12029. {0x1B2, 0, 0},
  12030. {0x1B3, 0, 0},
  12031. {0x1B4, 0, 0},
  12032. {0x1B5, 0, 0},
  12033. {0x1B6, 0, 0},
  12034. {0x1B7, 0xc, 1},
  12035. {0x1B8, 0, 0},
  12036. {0x1B9, 0, 0},
  12037. {0x1BA, 0, 0},
  12038. {0x1BB, 0, 0},
  12039. {0x1BC, 0, 0},
  12040. {0x1BD, 0, 0},
  12041. {0x1BE, 0, 0},
  12042. {0x1BF, 0, 0},
  12043. {0x1C0, 0, 0},
  12044. {0x1C1, 0x1, 1},
  12045. {0x1C2, 0x80, 1},
  12046. {0x1C3, 0, 0},
  12047. {0x1C4, 0, 0},
  12048. {0x1C5, 0, 0},
  12049. {0x1C6, 0, 0},
  12050. {0x1C7, 0, 0},
  12051. {0x1C8, 0, 0},
  12052. {0x1C9, 0, 0},
  12053. {0x1CA, 0, 0},
  12054. {0xFFFF, 0, 0}
  12055. };
  12056. static struct radio_20xx_regs regs_2057_rev5v1[] = {
  12057. {0x00, 0x15, 1},
  12058. {0x01, 0x57, 1},
  12059. {0x02, 0x20, 1},
  12060. {0x03, 0x1f, 0},
  12061. {0x04, 0x4, 0},
  12062. {0x05, 0x2, 0},
  12063. {0x06, 0x1, 0},
  12064. {0x07, 0x1, 0},
  12065. {0x08, 0x1, 0},
  12066. {0x09, 0x69, 0},
  12067. {0x0A, 0x66, 0},
  12068. {0x0B, 0x6, 0},
  12069. {0x0C, 0x18, 0},
  12070. {0x0D, 0x3, 0},
  12071. {0x0E, 0x20, 0},
  12072. {0x0F, 0x20, 0},
  12073. {0x10, 0, 0},
  12074. {0x11, 0x7c, 0},
  12075. {0x12, 0x42, 0},
  12076. {0x13, 0xbd, 0},
  12077. {0x14, 0x7, 0},
  12078. {0x15, 0x87, 0},
  12079. {0x16, 0x8, 0},
  12080. {0x17, 0x17, 0},
  12081. {0x18, 0x7, 0},
  12082. {0x19, 0, 0},
  12083. {0x1A, 0x2, 0},
  12084. {0x1B, 0x13, 0},
  12085. {0x1C, 0x3e, 0},
  12086. {0x1D, 0x3e, 0},
  12087. {0x1E, 0x96, 0},
  12088. {0x1F, 0x4, 0},
  12089. {0x20, 0, 0},
  12090. {0x21, 0, 0},
  12091. {0x22, 0x17, 0},
  12092. {0x23, 0x6, 1},
  12093. {0x24, 0x1, 0},
  12094. {0x25, 0x6, 0},
  12095. {0x26, 0x4, 0},
  12096. {0x27, 0xd, 0},
  12097. {0x28, 0xd, 0},
  12098. {0x29, 0x30, 0},
  12099. {0x2A, 0x32, 0},
  12100. {0x2B, 0x8, 0},
  12101. {0x2C, 0x1c, 0},
  12102. {0x2D, 0x2, 0},
  12103. {0x2E, 0x4, 0},
  12104. {0x2F, 0x7f, 0},
  12105. {0x30, 0x27, 0},
  12106. {0x31, 0, 1},
  12107. {0x32, 0, 1},
  12108. {0x33, 0, 1},
  12109. {0x34, 0, 0},
  12110. {0x35, 0x20, 0},
  12111. {0x36, 0x18, 0},
  12112. {0x37, 0x7, 0},
  12113. {0x38, 0x66, 0},
  12114. {0x39, 0x66, 0},
  12115. {0x3C, 0xff, 0},
  12116. {0x3D, 0xff, 0},
  12117. {0x40, 0x16, 0},
  12118. {0x41, 0x7, 0},
  12119. {0x45, 0x3, 0},
  12120. {0x46, 0x1, 0},
  12121. {0x47, 0x7, 0},
  12122. {0x4B, 0x66, 0},
  12123. {0x4C, 0x66, 0},
  12124. {0x4D, 0, 0},
  12125. {0x4E, 0x4, 0},
  12126. {0x4F, 0xc, 0},
  12127. {0x50, 0, 0},
  12128. {0x51, 0x70, 1},
  12129. {0x56, 0x7, 0},
  12130. {0x57, 0, 0},
  12131. {0x58, 0, 0},
  12132. {0x59, 0x88, 1},
  12133. {0x5A, 0, 0},
  12134. {0x5B, 0x1f, 0},
  12135. {0x5C, 0x20, 1},
  12136. {0x5D, 0x1, 0},
  12137. {0x5E, 0x30, 0},
  12138. {0x5F, 0x70, 0},
  12139. {0x60, 0, 0},
  12140. {0x61, 0, 0},
  12141. {0x62, 0x33, 1},
  12142. {0x63, 0xf, 1},
  12143. {0x64, 0xf, 1},
  12144. {0x65, 0, 0},
  12145. {0x66, 0x11, 0},
  12146. {0x80, 0x3c, 0},
  12147. {0x81, 0x1, 1},
  12148. {0x82, 0xa, 0},
  12149. {0x85, 0, 0},
  12150. {0x86, 0x40, 0},
  12151. {0x87, 0x40, 0},
  12152. {0x88, 0x88, 0},
  12153. {0x89, 0x10, 0},
  12154. {0x8A, 0xf0, 0},
  12155. {0x8B, 0x10, 0},
  12156. {0x8C, 0xf0, 0},
  12157. {0x8F, 0x10, 0},
  12158. {0x90, 0x55, 0},
  12159. {0x91, 0x3f, 1},
  12160. {0x92, 0x36, 1},
  12161. {0x93, 0, 0},
  12162. {0x94, 0, 0},
  12163. {0x95, 0, 0},
  12164. {0x96, 0x87, 0},
  12165. {0x97, 0x11, 0},
  12166. {0x98, 0, 0},
  12167. {0x99, 0x33, 0},
  12168. {0x9A, 0x88, 0},
  12169. {0xA1, 0x20, 1},
  12170. {0xA2, 0x3f, 0},
  12171. {0xA3, 0x44, 0},
  12172. {0xA4, 0x8c, 0},
  12173. {0xA5, 0x6c, 0},
  12174. {0xA6, 0x22, 0},
  12175. {0xA7, 0xbe, 0},
  12176. {0xA8, 0x55, 0},
  12177. {0xAA, 0xc, 0},
  12178. {0xAB, 0xaa, 0},
  12179. {0xAC, 0x2, 0},
  12180. {0xAD, 0, 0},
  12181. {0xAE, 0x10, 0},
  12182. {0xAF, 0x1, 0},
  12183. {0xB0, 0, 0},
  12184. {0xB1, 0, 0},
  12185. {0xB2, 0x80, 0},
  12186. {0xB3, 0x60, 0},
  12187. {0xB4, 0x44, 0},
  12188. {0xB5, 0x55, 0},
  12189. {0xB6, 0x1, 0},
  12190. {0xB7, 0x55, 0},
  12191. {0xB8, 0x1, 0},
  12192. {0xB9, 0x5, 0},
  12193. {0xBA, 0x55, 0},
  12194. {0xBB, 0x55, 0},
  12195. {0xC3, 0, 0},
  12196. {0xC4, 0, 0},
  12197. {0xC5, 0, 0},
  12198. {0xC6, 0, 0},
  12199. {0xC7, 0, 0},
  12200. {0xC8, 0, 0},
  12201. {0xC9, 0x1, 1},
  12202. {0xCA, 0, 0},
  12203. {0xCB, 0, 0},
  12204. {0xCD, 0, 0},
  12205. {0xCE, 0x5e, 0},
  12206. {0xCF, 0xc, 0},
  12207. {0xD0, 0xc, 0},
  12208. {0xD1, 0xc, 0},
  12209. {0xD2, 0, 0},
  12210. {0xD3, 0x2b, 0},
  12211. {0xD4, 0xc, 0},
  12212. {0xD5, 0, 0},
  12213. {0xD6, 0x70, 1},
  12214. {0xDB, 0x7, 0},
  12215. {0xDC, 0, 0},
  12216. {0xDD, 0, 0},
  12217. {0xDE, 0x88, 1},
  12218. {0xDF, 0, 0},
  12219. {0xE0, 0x1f, 0},
  12220. {0xE1, 0x20, 1},
  12221. {0xE2, 0x1, 0},
  12222. {0xE3, 0x30, 0},
  12223. {0xE4, 0x70, 0},
  12224. {0xE5, 0, 0},
  12225. {0xE6, 0, 0},
  12226. {0xE7, 0x33, 0},
  12227. {0xE8, 0xf, 1},
  12228. {0xE9, 0xf, 1},
  12229. {0xEA, 0, 0},
  12230. {0xEB, 0x11, 0},
  12231. {0x105, 0x3c, 0},
  12232. {0x106, 0x1, 1},
  12233. {0x107, 0xa, 0},
  12234. {0x10A, 0, 0},
  12235. {0x10B, 0x40, 0},
  12236. {0x10C, 0x40, 0},
  12237. {0x10D, 0x88, 0},
  12238. {0x10E, 0x10, 0},
  12239. {0x10F, 0xf0, 0},
  12240. {0x110, 0x10, 0},
  12241. {0x111, 0xf0, 0},
  12242. {0x114, 0x10, 0},
  12243. {0x115, 0x55, 0},
  12244. {0x116, 0x3f, 1},
  12245. {0x117, 0x36, 1},
  12246. {0x118, 0, 0},
  12247. {0x119, 0, 0},
  12248. {0x11A, 0, 0},
  12249. {0x11B, 0x87, 0},
  12250. {0x11C, 0x11, 0},
  12251. {0x11D, 0, 0},
  12252. {0x11E, 0x33, 0},
  12253. {0x11F, 0x88, 0},
  12254. {0x126, 0x20, 1},
  12255. {0x127, 0x3f, 0},
  12256. {0x128, 0x44, 0},
  12257. {0x129, 0x8c, 0},
  12258. {0x12A, 0x6c, 0},
  12259. {0x12B, 0x22, 0},
  12260. {0x12C, 0xbe, 0},
  12261. {0x12D, 0x55, 0},
  12262. {0x12F, 0xc, 0},
  12263. {0x130, 0xaa, 0},
  12264. {0x131, 0x2, 0},
  12265. {0x132, 0, 0},
  12266. {0x133, 0x10, 0},
  12267. {0x134, 0x1, 0},
  12268. {0x135, 0, 0},
  12269. {0x136, 0, 0},
  12270. {0x137, 0x80, 0},
  12271. {0x138, 0x60, 0},
  12272. {0x139, 0x44, 0},
  12273. {0x13A, 0x55, 0},
  12274. {0x13B, 0x1, 0},
  12275. {0x13C, 0x55, 0},
  12276. {0x13D, 0x1, 0},
  12277. {0x13E, 0x5, 0},
  12278. {0x13F, 0x55, 0},
  12279. {0x140, 0x55, 0},
  12280. {0x148, 0, 0},
  12281. {0x149, 0, 0},
  12282. {0x14A, 0, 0},
  12283. {0x14B, 0, 0},
  12284. {0x14C, 0, 0},
  12285. {0x14D, 0, 0},
  12286. {0x14E, 0x1, 1},
  12287. {0x14F, 0, 0},
  12288. {0x150, 0, 0},
  12289. {0x154, 0xc, 0},
  12290. {0x155, 0xc, 0},
  12291. {0x156, 0xc, 0},
  12292. {0x157, 0, 0},
  12293. {0x158, 0x2b, 0},
  12294. {0x159, 0x84, 0},
  12295. {0x15A, 0x15, 0},
  12296. {0x15B, 0xf, 0},
  12297. {0x15C, 0, 0},
  12298. {0x15D, 0, 0},
  12299. {0x15E, 0, 1},
  12300. {0x15F, 0, 1},
  12301. {0x160, 0, 1},
  12302. {0x161, 0, 1},
  12303. {0x162, 0, 1},
  12304. {0x163, 0, 1},
  12305. {0x164, 0, 0},
  12306. {0x165, 0, 0},
  12307. {0x166, 0, 0},
  12308. {0x167, 0, 0},
  12309. {0x168, 0, 0},
  12310. {0x169, 0, 0},
  12311. {0x16A, 0, 1},
  12312. {0x16B, 0, 1},
  12313. {0x16C, 0, 1},
  12314. {0x16D, 0, 0},
  12315. {0x170, 0, 0},
  12316. {0x171, 0x77, 0},
  12317. {0x172, 0x77, 0},
  12318. {0x173, 0x77, 0},
  12319. {0x174, 0x77, 0},
  12320. {0x175, 0, 0},
  12321. {0x176, 0x3, 0},
  12322. {0x177, 0x37, 0},
  12323. {0x178, 0x3, 0},
  12324. {0x179, 0, 0},
  12325. {0x17B, 0x21, 0},
  12326. {0x17C, 0, 0},
  12327. {0x17D, 0xaa, 0},
  12328. {0x17E, 0, 0},
  12329. {0x190, 0, 0},
  12330. {0x191, 0x77, 0},
  12331. {0x192, 0x77, 0},
  12332. {0x193, 0x77, 0},
  12333. {0x194, 0x77, 0},
  12334. {0x195, 0, 0},
  12335. {0x196, 0x3, 0},
  12336. {0x197, 0x37, 0},
  12337. {0x198, 0x3, 0},
  12338. {0x199, 0, 0},
  12339. {0x19B, 0x21, 0},
  12340. {0x19C, 0, 0},
  12341. {0x19D, 0xaa, 0},
  12342. {0x19E, 0, 0},
  12343. {0x1A1, 0x2, 0},
  12344. {0x1A2, 0xf, 0},
  12345. {0x1A3, 0xf, 0},
  12346. {0x1A4, 0, 1},
  12347. {0x1A5, 0, 1},
  12348. {0x1A6, 0, 1},
  12349. {0x1A7, 0x2, 0},
  12350. {0x1A8, 0xf, 0},
  12351. {0x1A9, 0xf, 0},
  12352. {0x1AA, 0, 1},
  12353. {0x1AB, 0, 1},
  12354. {0x1AC, 0, 1},
  12355. {0x1AD, 0x84, 0},
  12356. {0x1AE, 0x60, 0},
  12357. {0x1AF, 0x47, 0},
  12358. {0x1B0, 0x47, 0},
  12359. {0x1B1, 0, 0},
  12360. {0x1B2, 0, 0},
  12361. {0x1B3, 0, 0},
  12362. {0x1B4, 0, 0},
  12363. {0x1B5, 0, 0},
  12364. {0x1B6, 0, 0},
  12365. {0x1B7, 0xc, 1},
  12366. {0x1B8, 0, 0},
  12367. {0x1B9, 0, 0},
  12368. {0x1BA, 0, 0},
  12369. {0x1BB, 0, 0},
  12370. {0x1BC, 0, 0},
  12371. {0x1BD, 0, 0},
  12372. {0x1BE, 0, 0},
  12373. {0x1BF, 0, 0},
  12374. {0x1C0, 0, 0},
  12375. {0x1C1, 0x1, 1},
  12376. {0x1C2, 0x80, 1},
  12377. {0x1C3, 0, 0},
  12378. {0x1C4, 0, 0},
  12379. {0x1C5, 0, 0},
  12380. {0x1C6, 0, 0},
  12381. {0x1C7, 0, 0},
  12382. {0x1C8, 0, 0},
  12383. {0x1C9, 0, 0},
  12384. {0x1CA, 0, 0},
  12385. {0xFFFF, 0, 0}
  12386. };
  12387. static struct radio_20xx_regs regs_2057_rev7[] = {
  12388. {0x00, 0, 1},
  12389. {0x01, 0x57, 1},
  12390. {0x02, 0x20, 1},
  12391. {0x03, 0x1f, 0},
  12392. {0x04, 0x4, 0},
  12393. {0x05, 0x2, 0},
  12394. {0x06, 0x1, 0},
  12395. {0x07, 0x1, 0},
  12396. {0x08, 0x1, 0},
  12397. {0x09, 0x69, 0},
  12398. {0x0A, 0x66, 0},
  12399. {0x0B, 0x6, 0},
  12400. {0x0C, 0x18, 0},
  12401. {0x0D, 0x3, 0},
  12402. {0x0E, 0x20, 0},
  12403. {0x0F, 0x20, 0},
  12404. {0x10, 0, 0},
  12405. {0x11, 0x7c, 0},
  12406. {0x12, 0x42, 0},
  12407. {0x13, 0xbd, 0},
  12408. {0x14, 0x7, 0},
  12409. {0x15, 0x87, 0},
  12410. {0x16, 0x8, 0},
  12411. {0x17, 0x17, 0},
  12412. {0x18, 0x7, 0},
  12413. {0x19, 0, 0},
  12414. {0x1A, 0x2, 0},
  12415. {0x1B, 0x13, 0},
  12416. {0x1C, 0x3e, 0},
  12417. {0x1D, 0x3e, 0},
  12418. {0x1E, 0x96, 0},
  12419. {0x1F, 0x4, 0},
  12420. {0x20, 0, 0},
  12421. {0x21, 0, 0},
  12422. {0x22, 0x17, 0},
  12423. {0x23, 0x6, 0},
  12424. {0x24, 0x1, 0},
  12425. {0x25, 0x6, 0},
  12426. {0x26, 0x4, 0},
  12427. {0x27, 0xd, 0},
  12428. {0x28, 0xd, 0},
  12429. {0x29, 0x30, 0},
  12430. {0x2A, 0x32, 0},
  12431. {0x2B, 0x8, 0},
  12432. {0x2C, 0x1c, 0},
  12433. {0x2D, 0x2, 0},
  12434. {0x2E, 0x4, 0},
  12435. {0x2F, 0x7f, 0},
  12436. {0x30, 0x27, 0},
  12437. {0x31, 0, 1},
  12438. {0x32, 0, 1},
  12439. {0x33, 0, 1},
  12440. {0x34, 0, 0},
  12441. {0x35, 0x20, 0},
  12442. {0x36, 0x18, 0},
  12443. {0x37, 0x7, 0},
  12444. {0x38, 0x66, 0},
  12445. {0x39, 0x66, 0},
  12446. {0x3A, 0x66, 0},
  12447. {0x3B, 0x66, 0},
  12448. {0x3C, 0xff, 0},
  12449. {0x3D, 0xff, 0},
  12450. {0x3E, 0xff, 0},
  12451. {0x3F, 0xff, 0},
  12452. {0x40, 0x16, 0},
  12453. {0x41, 0x7, 0},
  12454. {0x42, 0x19, 0},
  12455. {0x43, 0x7, 0},
  12456. {0x44, 0x6, 0},
  12457. {0x45, 0x3, 0},
  12458. {0x46, 0x1, 0},
  12459. {0x47, 0x7, 0},
  12460. {0x48, 0x33, 0},
  12461. {0x49, 0x5, 0},
  12462. {0x4A, 0x77, 0},
  12463. {0x4B, 0x66, 0},
  12464. {0x4C, 0x66, 0},
  12465. {0x4D, 0, 0},
  12466. {0x4E, 0x4, 0},
  12467. {0x4F, 0xc, 0},
  12468. {0x50, 0, 0},
  12469. {0x51, 0x70, 1},
  12470. {0x56, 0x7, 0},
  12471. {0x57, 0, 0},
  12472. {0x58, 0, 0},
  12473. {0x59, 0x88, 1},
  12474. {0x5A, 0, 0},
  12475. {0x5B, 0x1f, 0},
  12476. {0x5C, 0x20, 1},
  12477. {0x5D, 0x1, 0},
  12478. {0x5E, 0x30, 0},
  12479. {0x5F, 0x70, 0},
  12480. {0x60, 0, 0},
  12481. {0x61, 0, 0},
  12482. {0x62, 0x33, 1},
  12483. {0x63, 0xf, 1},
  12484. {0x64, 0x13, 1},
  12485. {0x65, 0, 0},
  12486. {0x66, 0xee, 1},
  12487. {0x69, 0, 0},
  12488. {0x6A, 0x7e, 0},
  12489. {0x6B, 0x3f, 0},
  12490. {0x6C, 0x7f, 0},
  12491. {0x6D, 0x78, 0},
  12492. {0x6E, 0x58, 1},
  12493. {0x6F, 0x88, 0},
  12494. {0x70, 0x8, 0},
  12495. {0x71, 0xf, 0},
  12496. {0x72, 0xbc, 0},
  12497. {0x73, 0x8, 0},
  12498. {0x74, 0x60, 0},
  12499. {0x75, 0x13, 1},
  12500. {0x76, 0x70, 0},
  12501. {0x77, 0, 0},
  12502. {0x78, 0, 0},
  12503. {0x79, 0, 0},
  12504. {0x7A, 0x33, 0},
  12505. {0x7B, 0x13, 1},
  12506. {0x7C, 0x14, 1},
  12507. {0x7D, 0xee, 1},
  12508. {0x80, 0x3c, 0},
  12509. {0x81, 0x1, 1},
  12510. {0x82, 0xa, 0},
  12511. {0x83, 0x9d, 0},
  12512. {0x84, 0xa, 0},
  12513. {0x85, 0, 0},
  12514. {0x86, 0x40, 0},
  12515. {0x87, 0x40, 0},
  12516. {0x88, 0x88, 0},
  12517. {0x89, 0x10, 0},
  12518. {0x8A, 0xf0, 0},
  12519. {0x8B, 0x10, 0},
  12520. {0x8C, 0xf0, 0},
  12521. {0x8D, 0, 0},
  12522. {0x8E, 0, 0},
  12523. {0x8F, 0x10, 0},
  12524. {0x90, 0x55, 0},
  12525. {0x91, 0x3f, 1},
  12526. {0x92, 0x36, 1},
  12527. {0x93, 0, 0},
  12528. {0x94, 0, 0},
  12529. {0x95, 0, 0},
  12530. {0x96, 0x87, 0},
  12531. {0x97, 0x11, 0},
  12532. {0x98, 0, 0},
  12533. {0x99, 0x33, 0},
  12534. {0x9A, 0x88, 0},
  12535. {0x9B, 0, 0},
  12536. {0x9C, 0x87, 0},
  12537. {0x9D, 0x11, 0},
  12538. {0x9E, 0, 0},
  12539. {0x9F, 0x33, 0},
  12540. {0xA0, 0x88, 0},
  12541. {0xA1, 0x20, 1},
  12542. {0xA2, 0x3f, 0},
  12543. {0xA3, 0x44, 0},
  12544. {0xA4, 0x8c, 0},
  12545. {0xA5, 0x6c, 0},
  12546. {0xA6, 0x22, 0},
  12547. {0xA7, 0xbe, 0},
  12548. {0xA8, 0x55, 0},
  12549. {0xAA, 0xc, 0},
  12550. {0xAB, 0xaa, 0},
  12551. {0xAC, 0x2, 0},
  12552. {0xAD, 0, 0},
  12553. {0xAE, 0x10, 0},
  12554. {0xAF, 0x1, 0},
  12555. {0xB0, 0, 0},
  12556. {0xB1, 0, 0},
  12557. {0xB2, 0x80, 0},
  12558. {0xB3, 0x60, 0},
  12559. {0xB4, 0x44, 0},
  12560. {0xB5, 0x55, 0},
  12561. {0xB6, 0x1, 0},
  12562. {0xB7, 0x55, 0},
  12563. {0xB8, 0x1, 0},
  12564. {0xB9, 0x5, 0},
  12565. {0xBA, 0x55, 0},
  12566. {0xBB, 0x55, 0},
  12567. {0xC1, 0, 0},
  12568. {0xC2, 0, 0},
  12569. {0xC3, 0, 0},
  12570. {0xC4, 0, 0},
  12571. {0xC5, 0, 0},
  12572. {0xC6, 0, 0},
  12573. {0xC7, 0, 0},
  12574. {0xC8, 0, 0},
  12575. {0xC9, 0, 0},
  12576. {0xCA, 0, 0},
  12577. {0xCB, 0, 0},
  12578. {0xCC, 0, 0},
  12579. {0xCD, 0, 0},
  12580. {0xCE, 0x5e, 0},
  12581. {0xCF, 0xc, 0},
  12582. {0xD0, 0xc, 0},
  12583. {0xD1, 0xc, 0},
  12584. {0xD2, 0, 0},
  12585. {0xD3, 0x2b, 0},
  12586. {0xD4, 0xc, 0},
  12587. {0xD5, 0, 0},
  12588. {0xD6, 0x70, 1},
  12589. {0xDB, 0x7, 0},
  12590. {0xDC, 0, 0},
  12591. {0xDD, 0, 0},
  12592. {0xDE, 0x88, 1},
  12593. {0xDF, 0, 0},
  12594. {0xE0, 0x1f, 0},
  12595. {0xE1, 0x20, 1},
  12596. {0xE2, 0x1, 0},
  12597. {0xE3, 0x30, 0},
  12598. {0xE4, 0x70, 0},
  12599. {0xE5, 0, 0},
  12600. {0xE6, 0, 0},
  12601. {0xE7, 0x33, 0},
  12602. {0xE8, 0xf, 1},
  12603. {0xE9, 0x13, 1},
  12604. {0xEA, 0, 0},
  12605. {0xEB, 0xee, 1},
  12606. {0xEE, 0, 0},
  12607. {0xEF, 0x7e, 0},
  12608. {0xF0, 0x3f, 0},
  12609. {0xF1, 0x7f, 0},
  12610. {0xF2, 0x78, 0},
  12611. {0xF3, 0x58, 1},
  12612. {0xF4, 0x88, 0},
  12613. {0xF5, 0x8, 0},
  12614. {0xF6, 0xf, 0},
  12615. {0xF7, 0xbc, 0},
  12616. {0xF8, 0x8, 0},
  12617. {0xF9, 0x60, 0},
  12618. {0xFA, 0x13, 1},
  12619. {0xFB, 0x70, 0},
  12620. {0xFC, 0, 0},
  12621. {0xFD, 0, 0},
  12622. {0xFE, 0, 0},
  12623. {0xFF, 0x33, 0},
  12624. {0x100, 0x13, 1},
  12625. {0x101, 0x14, 1},
  12626. {0x102, 0xee, 1},
  12627. {0x105, 0x3c, 0},
  12628. {0x106, 0x1, 1},
  12629. {0x107, 0xa, 0},
  12630. {0x108, 0x9d, 0},
  12631. {0x109, 0xa, 0},
  12632. {0x10A, 0, 0},
  12633. {0x10B, 0x40, 0},
  12634. {0x10C, 0x40, 0},
  12635. {0x10D, 0x88, 0},
  12636. {0x10E, 0x10, 0},
  12637. {0x10F, 0xf0, 0},
  12638. {0x110, 0x10, 0},
  12639. {0x111, 0xf0, 0},
  12640. {0x112, 0, 0},
  12641. {0x113, 0, 0},
  12642. {0x114, 0x10, 0},
  12643. {0x115, 0x55, 0},
  12644. {0x116, 0x3f, 1},
  12645. {0x117, 0x36, 1},
  12646. {0x118, 0, 0},
  12647. {0x119, 0, 0},
  12648. {0x11A, 0, 0},
  12649. {0x11B, 0x87, 0},
  12650. {0x11C, 0x11, 0},
  12651. {0x11D, 0, 0},
  12652. {0x11E, 0x33, 0},
  12653. {0x11F, 0x88, 0},
  12654. {0x120, 0, 0},
  12655. {0x121, 0x87, 0},
  12656. {0x122, 0x11, 0},
  12657. {0x123, 0, 0},
  12658. {0x124, 0x33, 0},
  12659. {0x125, 0x88, 0},
  12660. {0x126, 0x20, 1},
  12661. {0x127, 0x3f, 0},
  12662. {0x128, 0x44, 0},
  12663. {0x129, 0x8c, 0},
  12664. {0x12A, 0x6c, 0},
  12665. {0x12B, 0x22, 0},
  12666. {0x12C, 0xbe, 0},
  12667. {0x12D, 0x55, 0},
  12668. {0x12F, 0xc, 0},
  12669. {0x130, 0xaa, 0},
  12670. {0x131, 0x2, 0},
  12671. {0x132, 0, 0},
  12672. {0x133, 0x10, 0},
  12673. {0x134, 0x1, 0},
  12674. {0x135, 0, 0},
  12675. {0x136, 0, 0},
  12676. {0x137, 0x80, 0},
  12677. {0x138, 0x60, 0},
  12678. {0x139, 0x44, 0},
  12679. {0x13A, 0x55, 0},
  12680. {0x13B, 0x1, 0},
  12681. {0x13C, 0x55, 0},
  12682. {0x13D, 0x1, 0},
  12683. {0x13E, 0x5, 0},
  12684. {0x13F, 0x55, 0},
  12685. {0x140, 0x55, 0},
  12686. {0x146, 0, 0},
  12687. {0x147, 0, 0},
  12688. {0x148, 0, 0},
  12689. {0x149, 0, 0},
  12690. {0x14A, 0, 0},
  12691. {0x14B, 0, 0},
  12692. {0x14C, 0, 0},
  12693. {0x14D, 0, 0},
  12694. {0x14E, 0, 0},
  12695. {0x14F, 0, 0},
  12696. {0x150, 0, 0},
  12697. {0x151, 0, 0},
  12698. {0x154, 0xc, 0},
  12699. {0x155, 0xc, 0},
  12700. {0x156, 0xc, 0},
  12701. {0x157, 0, 0},
  12702. {0x158, 0x2b, 0},
  12703. {0x159, 0x84, 0},
  12704. {0x15A, 0x15, 0},
  12705. {0x15B, 0xf, 0},
  12706. {0x15C, 0, 0},
  12707. {0x15D, 0, 0},
  12708. {0x15E, 0, 1},
  12709. {0x15F, 0, 1},
  12710. {0x160, 0, 1},
  12711. {0x161, 0, 1},
  12712. {0x162, 0, 1},
  12713. {0x163, 0, 1},
  12714. {0x164, 0, 0},
  12715. {0x165, 0, 0},
  12716. {0x166, 0, 0},
  12717. {0x167, 0, 0},
  12718. {0x168, 0, 0},
  12719. {0x169, 0, 0},
  12720. {0x16A, 0, 1},
  12721. {0x16B, 0, 1},
  12722. {0x16C, 0, 1},
  12723. {0x16D, 0, 0},
  12724. {0x170, 0, 0},
  12725. {0x171, 0x77, 0},
  12726. {0x172, 0x77, 0},
  12727. {0x173, 0x77, 0},
  12728. {0x174, 0x77, 0},
  12729. {0x175, 0, 0},
  12730. {0x176, 0x3, 0},
  12731. {0x177, 0x37, 0},
  12732. {0x178, 0x3, 0},
  12733. {0x179, 0, 0},
  12734. {0x17A, 0x21, 0},
  12735. {0x17B, 0x21, 0},
  12736. {0x17C, 0, 0},
  12737. {0x17D, 0xaa, 0},
  12738. {0x17E, 0, 0},
  12739. {0x17F, 0xaa, 0},
  12740. {0x180, 0, 0},
  12741. {0x190, 0, 0},
  12742. {0x191, 0x77, 0},
  12743. {0x192, 0x77, 0},
  12744. {0x193, 0x77, 0},
  12745. {0x194, 0x77, 0},
  12746. {0x195, 0, 0},
  12747. {0x196, 0x3, 0},
  12748. {0x197, 0x37, 0},
  12749. {0x198, 0x3, 0},
  12750. {0x199, 0, 0},
  12751. {0x19A, 0x21, 0},
  12752. {0x19B, 0x21, 0},
  12753. {0x19C, 0, 0},
  12754. {0x19D, 0xaa, 0},
  12755. {0x19E, 0, 0},
  12756. {0x19F, 0xaa, 0},
  12757. {0x1A0, 0, 0},
  12758. {0x1A1, 0x2, 0},
  12759. {0x1A2, 0xf, 0},
  12760. {0x1A3, 0xf, 0},
  12761. {0x1A4, 0, 1},
  12762. {0x1A5, 0, 1},
  12763. {0x1A6, 0, 1},
  12764. {0x1A7, 0x2, 0},
  12765. {0x1A8, 0xf, 0},
  12766. {0x1A9, 0xf, 0},
  12767. {0x1AA, 0, 1},
  12768. {0x1AB, 0, 1},
  12769. {0x1AC, 0, 1},
  12770. {0x1AD, 0x84, 0},
  12771. {0x1AE, 0x60, 0},
  12772. {0x1AF, 0x47, 0},
  12773. {0x1B0, 0x47, 0},
  12774. {0x1B1, 0, 0},
  12775. {0x1B2, 0, 0},
  12776. {0x1B3, 0, 0},
  12777. {0x1B4, 0, 0},
  12778. {0x1B5, 0, 0},
  12779. {0x1B6, 0, 0},
  12780. {0x1B7, 0x5, 1},
  12781. {0x1B8, 0, 0},
  12782. {0x1B9, 0, 0},
  12783. {0x1BA, 0, 0},
  12784. {0x1BB, 0, 0},
  12785. {0x1BC, 0, 0},
  12786. {0x1BD, 0, 0},
  12787. {0x1BE, 0, 0},
  12788. {0x1BF, 0, 0},
  12789. {0x1C0, 0, 0},
  12790. {0x1C1, 0, 0},
  12791. {0x1C2, 0xa0, 1},
  12792. {0x1C3, 0, 0},
  12793. {0x1C4, 0, 0},
  12794. {0x1C5, 0, 0},
  12795. {0x1C6, 0, 0},
  12796. {0x1C7, 0, 0},
  12797. {0x1C8, 0, 0},
  12798. {0x1C9, 0, 0},
  12799. {0x1CA, 0, 0},
  12800. {0xFFFF, 0, 0}
  12801. };
  12802. static struct radio_20xx_regs regs_2057_rev8[] = {
  12803. {0x00, 0x8, 1},
  12804. {0x01, 0x57, 1},
  12805. {0x02, 0x20, 1},
  12806. {0x03, 0x1f, 0},
  12807. {0x04, 0x4, 0},
  12808. {0x05, 0x2, 0},
  12809. {0x06, 0x1, 0},
  12810. {0x07, 0x1, 0},
  12811. {0x08, 0x1, 0},
  12812. {0x09, 0x69, 0},
  12813. {0x0A, 0x66, 0},
  12814. {0x0B, 0x6, 0},
  12815. {0x0C, 0x18, 0},
  12816. {0x0D, 0x3, 0},
  12817. {0x0E, 0x20, 0},
  12818. {0x0F, 0x20, 0},
  12819. {0x10, 0, 0},
  12820. {0x11, 0x7c, 0},
  12821. {0x12, 0x42, 0},
  12822. {0x13, 0xbd, 0},
  12823. {0x14, 0x7, 0},
  12824. {0x15, 0x87, 0},
  12825. {0x16, 0x8, 0},
  12826. {0x17, 0x17, 0},
  12827. {0x18, 0x7, 0},
  12828. {0x19, 0, 0},
  12829. {0x1A, 0x2, 0},
  12830. {0x1B, 0x13, 0},
  12831. {0x1C, 0x3e, 0},
  12832. {0x1D, 0x3e, 0},
  12833. {0x1E, 0x96, 0},
  12834. {0x1F, 0x4, 0},
  12835. {0x20, 0, 0},
  12836. {0x21, 0, 0},
  12837. {0x22, 0x17, 0},
  12838. {0x23, 0x6, 0},
  12839. {0x24, 0x1, 0},
  12840. {0x25, 0x6, 0},
  12841. {0x26, 0x4, 0},
  12842. {0x27, 0xd, 0},
  12843. {0x28, 0xd, 0},
  12844. {0x29, 0x30, 0},
  12845. {0x2A, 0x32, 0},
  12846. {0x2B, 0x8, 0},
  12847. {0x2C, 0x1c, 0},
  12848. {0x2D, 0x2, 0},
  12849. {0x2E, 0x4, 0},
  12850. {0x2F, 0x7f, 0},
  12851. {0x30, 0x27, 0},
  12852. {0x31, 0, 1},
  12853. {0x32, 0, 1},
  12854. {0x33, 0, 1},
  12855. {0x34, 0, 0},
  12856. {0x35, 0x20, 0},
  12857. {0x36, 0x18, 0},
  12858. {0x37, 0x7, 0},
  12859. {0x38, 0x66, 0},
  12860. {0x39, 0x66, 0},
  12861. {0x3A, 0x66, 0},
  12862. {0x3B, 0x66, 0},
  12863. {0x3C, 0xff, 0},
  12864. {0x3D, 0xff, 0},
  12865. {0x3E, 0xff, 0},
  12866. {0x3F, 0xff, 0},
  12867. {0x40, 0x16, 0},
  12868. {0x41, 0x7, 0},
  12869. {0x42, 0x19, 0},
  12870. {0x43, 0x7, 0},
  12871. {0x44, 0x6, 0},
  12872. {0x45, 0x3, 0},
  12873. {0x46, 0x1, 0},
  12874. {0x47, 0x7, 0},
  12875. {0x48, 0x33, 0},
  12876. {0x49, 0x5, 0},
  12877. {0x4A, 0x77, 0},
  12878. {0x4B, 0x66, 0},
  12879. {0x4C, 0x66, 0},
  12880. {0x4D, 0, 0},
  12881. {0x4E, 0x4, 0},
  12882. {0x4F, 0xc, 0},
  12883. {0x50, 0, 0},
  12884. {0x51, 0x70, 1},
  12885. {0x56, 0x7, 0},
  12886. {0x57, 0, 0},
  12887. {0x58, 0, 0},
  12888. {0x59, 0x88, 1},
  12889. {0x5A, 0, 0},
  12890. {0x5B, 0x1f, 0},
  12891. {0x5C, 0x20, 1},
  12892. {0x5D, 0x1, 0},
  12893. {0x5E, 0x30, 0},
  12894. {0x5F, 0x70, 0},
  12895. {0x60, 0, 0},
  12896. {0x61, 0, 0},
  12897. {0x62, 0x33, 1},
  12898. {0x63, 0xf, 1},
  12899. {0x64, 0xf, 1},
  12900. {0x65, 0, 0},
  12901. {0x66, 0x11, 0},
  12902. {0x69, 0, 0},
  12903. {0x6A, 0x7e, 0},
  12904. {0x6B, 0x3f, 0},
  12905. {0x6C, 0x7f, 0},
  12906. {0x6D, 0x78, 0},
  12907. {0x6E, 0x58, 1},
  12908. {0x6F, 0x88, 0},
  12909. {0x70, 0x8, 0},
  12910. {0x71, 0xf, 0},
  12911. {0x72, 0xbc, 0},
  12912. {0x73, 0x8, 0},
  12913. {0x74, 0x60, 0},
  12914. {0x75, 0x13, 1},
  12915. {0x76, 0x70, 0},
  12916. {0x77, 0, 0},
  12917. {0x78, 0, 0},
  12918. {0x79, 0, 0},
  12919. {0x7A, 0x33, 0},
  12920. {0x7B, 0x13, 1},
  12921. {0x7C, 0xf, 1},
  12922. {0x7D, 0xee, 1},
  12923. {0x80, 0x3c, 0},
  12924. {0x81, 0x1, 1},
  12925. {0x82, 0xa, 0},
  12926. {0x83, 0x9d, 0},
  12927. {0x84, 0xa, 0},
  12928. {0x85, 0, 0},
  12929. {0x86, 0x40, 0},
  12930. {0x87, 0x40, 0},
  12931. {0x88, 0x88, 0},
  12932. {0x89, 0x10, 0},
  12933. {0x8A, 0xf0, 0},
  12934. {0x8B, 0x10, 0},
  12935. {0x8C, 0xf0, 0},
  12936. {0x8D, 0, 0},
  12937. {0x8E, 0, 0},
  12938. {0x8F, 0x10, 0},
  12939. {0x90, 0x55, 0},
  12940. {0x91, 0x3f, 1},
  12941. {0x92, 0x36, 1},
  12942. {0x93, 0, 0},
  12943. {0x94, 0, 0},
  12944. {0x95, 0, 0},
  12945. {0x96, 0x87, 0},
  12946. {0x97, 0x11, 0},
  12947. {0x98, 0, 0},
  12948. {0x99, 0x33, 0},
  12949. {0x9A, 0x88, 0},
  12950. {0x9B, 0, 0},
  12951. {0x9C, 0x87, 0},
  12952. {0x9D, 0x11, 0},
  12953. {0x9E, 0, 0},
  12954. {0x9F, 0x33, 0},
  12955. {0xA0, 0x88, 0},
  12956. {0xA1, 0x20, 1},
  12957. {0xA2, 0x3f, 0},
  12958. {0xA3, 0x44, 0},
  12959. {0xA4, 0x8c, 0},
  12960. {0xA5, 0x6c, 0},
  12961. {0xA6, 0x22, 0},
  12962. {0xA7, 0xbe, 0},
  12963. {0xA8, 0x55, 0},
  12964. {0xAA, 0xc, 0},
  12965. {0xAB, 0xaa, 0},
  12966. {0xAC, 0x2, 0},
  12967. {0xAD, 0, 0},
  12968. {0xAE, 0x10, 0},
  12969. {0xAF, 0x1, 0},
  12970. {0xB0, 0, 0},
  12971. {0xB1, 0, 0},
  12972. {0xB2, 0x80, 0},
  12973. {0xB3, 0x60, 0},
  12974. {0xB4, 0x44, 0},
  12975. {0xB5, 0x55, 0},
  12976. {0xB6, 0x1, 0},
  12977. {0xB7, 0x55, 0},
  12978. {0xB8, 0x1, 0},
  12979. {0xB9, 0x5, 0},
  12980. {0xBA, 0x55, 0},
  12981. {0xBB, 0x55, 0},
  12982. {0xC1, 0, 0},
  12983. {0xC2, 0, 0},
  12984. {0xC3, 0, 0},
  12985. {0xC4, 0, 0},
  12986. {0xC5, 0, 0},
  12987. {0xC6, 0, 0},
  12988. {0xC7, 0, 0},
  12989. {0xC8, 0, 0},
  12990. {0xC9, 0x1, 1},
  12991. {0xCA, 0, 0},
  12992. {0xCB, 0, 0},
  12993. {0xCC, 0, 0},
  12994. {0xCD, 0, 0},
  12995. {0xCE, 0x5e, 0},
  12996. {0xCF, 0xc, 0},
  12997. {0xD0, 0xc, 0},
  12998. {0xD1, 0xc, 0},
  12999. {0xD2, 0, 0},
  13000. {0xD3, 0x2b, 0},
  13001. {0xD4, 0xc, 0},
  13002. {0xD5, 0, 0},
  13003. {0xD6, 0x70, 1},
  13004. {0xDB, 0x7, 0},
  13005. {0xDC, 0, 0},
  13006. {0xDD, 0, 0},
  13007. {0xDE, 0x88, 1},
  13008. {0xDF, 0, 0},
  13009. {0xE0, 0x1f, 0},
  13010. {0xE1, 0x20, 1},
  13011. {0xE2, 0x1, 0},
  13012. {0xE3, 0x30, 0},
  13013. {0xE4, 0x70, 0},
  13014. {0xE5, 0, 0},
  13015. {0xE6, 0, 0},
  13016. {0xE7, 0x33, 0},
  13017. {0xE8, 0xf, 1},
  13018. {0xE9, 0xf, 1},
  13019. {0xEA, 0, 0},
  13020. {0xEB, 0x11, 0},
  13021. {0xEE, 0, 0},
  13022. {0xEF, 0x7e, 0},
  13023. {0xF0, 0x3f, 0},
  13024. {0xF1, 0x7f, 0},
  13025. {0xF2, 0x78, 0},
  13026. {0xF3, 0x58, 1},
  13027. {0xF4, 0x88, 0},
  13028. {0xF5, 0x8, 0},
  13029. {0xF6, 0xf, 0},
  13030. {0xF7, 0xbc, 0},
  13031. {0xF8, 0x8, 0},
  13032. {0xF9, 0x60, 0},
  13033. {0xFA, 0x13, 1},
  13034. {0xFB, 0x70, 0},
  13035. {0xFC, 0, 0},
  13036. {0xFD, 0, 0},
  13037. {0xFE, 0, 0},
  13038. {0xFF, 0x33, 0},
  13039. {0x100, 0x13, 1},
  13040. {0x101, 0xf, 1},
  13041. {0x102, 0xee, 1},
  13042. {0x105, 0x3c, 0},
  13043. {0x106, 0x1, 1},
  13044. {0x107, 0xa, 0},
  13045. {0x108, 0x9d, 0},
  13046. {0x109, 0xa, 0},
  13047. {0x10A, 0, 0},
  13048. {0x10B, 0x40, 0},
  13049. {0x10C, 0x40, 0},
  13050. {0x10D, 0x88, 0},
  13051. {0x10E, 0x10, 0},
  13052. {0x10F, 0xf0, 0},
  13053. {0x110, 0x10, 0},
  13054. {0x111, 0xf0, 0},
  13055. {0x112, 0, 0},
  13056. {0x113, 0, 0},
  13057. {0x114, 0x10, 0},
  13058. {0x115, 0x55, 0},
  13059. {0x116, 0x3f, 1},
  13060. {0x117, 0x36, 1},
  13061. {0x118, 0, 0},
  13062. {0x119, 0, 0},
  13063. {0x11A, 0, 0},
  13064. {0x11B, 0x87, 0},
  13065. {0x11C, 0x11, 0},
  13066. {0x11D, 0, 0},
  13067. {0x11E, 0x33, 0},
  13068. {0x11F, 0x88, 0},
  13069. {0x120, 0, 0},
  13070. {0x121, 0x87, 0},
  13071. {0x122, 0x11, 0},
  13072. {0x123, 0, 0},
  13073. {0x124, 0x33, 0},
  13074. {0x125, 0x88, 0},
  13075. {0x126, 0x20, 1},
  13076. {0x127, 0x3f, 0},
  13077. {0x128, 0x44, 0},
  13078. {0x129, 0x8c, 0},
  13079. {0x12A, 0x6c, 0},
  13080. {0x12B, 0x22, 0},
  13081. {0x12C, 0xbe, 0},
  13082. {0x12D, 0x55, 0},
  13083. {0x12F, 0xc, 0},
  13084. {0x130, 0xaa, 0},
  13085. {0x131, 0x2, 0},
  13086. {0x132, 0, 0},
  13087. {0x133, 0x10, 0},
  13088. {0x134, 0x1, 0},
  13089. {0x135, 0, 0},
  13090. {0x136, 0, 0},
  13091. {0x137, 0x80, 0},
  13092. {0x138, 0x60, 0},
  13093. {0x139, 0x44, 0},
  13094. {0x13A, 0x55, 0},
  13095. {0x13B, 0x1, 0},
  13096. {0x13C, 0x55, 0},
  13097. {0x13D, 0x1, 0},
  13098. {0x13E, 0x5, 0},
  13099. {0x13F, 0x55, 0},
  13100. {0x140, 0x55, 0},
  13101. {0x146, 0, 0},
  13102. {0x147, 0, 0},
  13103. {0x148, 0, 0},
  13104. {0x149, 0, 0},
  13105. {0x14A, 0, 0},
  13106. {0x14B, 0, 0},
  13107. {0x14C, 0, 0},
  13108. {0x14D, 0, 0},
  13109. {0x14E, 0x1, 1},
  13110. {0x14F, 0, 0},
  13111. {0x150, 0, 0},
  13112. {0x151, 0, 0},
  13113. {0x154, 0xc, 0},
  13114. {0x155, 0xc, 0},
  13115. {0x156, 0xc, 0},
  13116. {0x157, 0, 0},
  13117. {0x158, 0x2b, 0},
  13118. {0x159, 0x84, 0},
  13119. {0x15A, 0x15, 0},
  13120. {0x15B, 0xf, 0},
  13121. {0x15C, 0, 0},
  13122. {0x15D, 0, 0},
  13123. {0x15E, 0, 1},
  13124. {0x15F, 0, 1},
  13125. {0x160, 0, 1},
  13126. {0x161, 0, 1},
  13127. {0x162, 0, 1},
  13128. {0x163, 0, 1},
  13129. {0x164, 0, 0},
  13130. {0x165, 0, 0},
  13131. {0x166, 0, 0},
  13132. {0x167, 0, 0},
  13133. {0x168, 0, 0},
  13134. {0x169, 0, 0},
  13135. {0x16A, 0, 1},
  13136. {0x16B, 0, 1},
  13137. {0x16C, 0, 1},
  13138. {0x16D, 0, 0},
  13139. {0x170, 0, 0},
  13140. {0x171, 0x77, 0},
  13141. {0x172, 0x77, 0},
  13142. {0x173, 0x77, 0},
  13143. {0x174, 0x77, 0},
  13144. {0x175, 0, 0},
  13145. {0x176, 0x3, 0},
  13146. {0x177, 0x37, 0},
  13147. {0x178, 0x3, 0},
  13148. {0x179, 0, 0},
  13149. {0x17A, 0x21, 0},
  13150. {0x17B, 0x21, 0},
  13151. {0x17C, 0, 0},
  13152. {0x17D, 0xaa, 0},
  13153. {0x17E, 0, 0},
  13154. {0x17F, 0xaa, 0},
  13155. {0x180, 0, 0},
  13156. {0x190, 0, 0},
  13157. {0x191, 0x77, 0},
  13158. {0x192, 0x77, 0},
  13159. {0x193, 0x77, 0},
  13160. {0x194, 0x77, 0},
  13161. {0x195, 0, 0},
  13162. {0x196, 0x3, 0},
  13163. {0x197, 0x37, 0},
  13164. {0x198, 0x3, 0},
  13165. {0x199, 0, 0},
  13166. {0x19A, 0x21, 0},
  13167. {0x19B, 0x21, 0},
  13168. {0x19C, 0, 0},
  13169. {0x19D, 0xaa, 0},
  13170. {0x19E, 0, 0},
  13171. {0x19F, 0xaa, 0},
  13172. {0x1A0, 0, 0},
  13173. {0x1A1, 0x2, 0},
  13174. {0x1A2, 0xf, 0},
  13175. {0x1A3, 0xf, 0},
  13176. {0x1A4, 0, 1},
  13177. {0x1A5, 0, 1},
  13178. {0x1A6, 0, 1},
  13179. {0x1A7, 0x2, 0},
  13180. {0x1A8, 0xf, 0},
  13181. {0x1A9, 0xf, 0},
  13182. {0x1AA, 0, 1},
  13183. {0x1AB, 0, 1},
  13184. {0x1AC, 0, 1},
  13185. {0x1AD, 0x84, 0},
  13186. {0x1AE, 0x60, 0},
  13187. {0x1AF, 0x47, 0},
  13188. {0x1B0, 0x47, 0},
  13189. {0x1B1, 0, 0},
  13190. {0x1B2, 0, 0},
  13191. {0x1B3, 0, 0},
  13192. {0x1B4, 0, 0},
  13193. {0x1B5, 0, 0},
  13194. {0x1B6, 0, 0},
  13195. {0x1B7, 0x5, 1},
  13196. {0x1B8, 0, 0},
  13197. {0x1B9, 0, 0},
  13198. {0x1BA, 0, 0},
  13199. {0x1BB, 0, 0},
  13200. {0x1BC, 0, 0},
  13201. {0x1BD, 0, 0},
  13202. {0x1BE, 0, 0},
  13203. {0x1BF, 0, 0},
  13204. {0x1C0, 0, 0},
  13205. {0x1C1, 0, 0},
  13206. {0x1C2, 0xa0, 1},
  13207. {0x1C3, 0, 0},
  13208. {0x1C4, 0, 0},
  13209. {0x1C5, 0, 0},
  13210. {0x1C6, 0, 0},
  13211. {0x1C7, 0, 0},
  13212. {0x1C8, 0, 0},
  13213. {0x1C9, 0, 0},
  13214. {0x1CA, 0, 0},
  13215. {0xFFFF, 0, 0}
  13216. };
  13217. static s16 nphy_def_lnagains[] = { -2, 10, 19, 25 };
  13218. static s32 nphy_lnagain_est0[] = { -315, 40370 };
  13219. static s32 nphy_lnagain_est1[] = { -224, 23242 };
  13220. static const u16 tbl_iqcal_gainparams_nphy[2][NPHY_IQCAL_NUMGAINS][8] = {
  13221. {
  13222. {0x000, 0, 0, 2, 0x69, 0x69, 0x69, 0x69},
  13223. {0x700, 7, 0, 0, 0x69, 0x69, 0x69, 0x69},
  13224. {0x710, 7, 1, 0, 0x68, 0x68, 0x68, 0x68},
  13225. {0x720, 7, 2, 0, 0x67, 0x67, 0x67, 0x67},
  13226. {0x730, 7, 3, 0, 0x66, 0x66, 0x66, 0x66},
  13227. {0x740, 7, 4, 0, 0x65, 0x65, 0x65, 0x65},
  13228. {0x741, 7, 4, 1, 0x65, 0x65, 0x65, 0x65},
  13229. {0x742, 7, 4, 2, 0x65, 0x65, 0x65, 0x65},
  13230. {0x743, 7, 4, 3, 0x65, 0x65, 0x65, 0x65}
  13231. },
  13232. {
  13233. {0x000, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13234. {0x700, 7, 0, 0, 0x79, 0x79, 0x79, 0x79},
  13235. {0x710, 7, 1, 0, 0x79, 0x79, 0x79, 0x79},
  13236. {0x720, 7, 2, 0, 0x78, 0x78, 0x78, 0x78},
  13237. {0x730, 7, 3, 0, 0x78, 0x78, 0x78, 0x78},
  13238. {0x740, 7, 4, 0, 0x78, 0x78, 0x78, 0x78},
  13239. {0x741, 7, 4, 1, 0x78, 0x78, 0x78, 0x78},
  13240. {0x742, 7, 4, 2, 0x78, 0x78, 0x78, 0x78},
  13241. {0x743, 7, 4, 3, 0x78, 0x78, 0x78, 0x78}
  13242. }
  13243. };
  13244. static const u32 nphy_tpc_txgain[] = {
  13245. 0x03cc2b44, 0x03cc2b42, 0x03cc2a44, 0x03cc2a42,
  13246. 0x03cc2944, 0x03c82b44, 0x03c82b42, 0x03c82a44,
  13247. 0x03c82a42, 0x03c82944, 0x03c82942, 0x03c82844,
  13248. 0x03c82842, 0x03c42b44, 0x03c42b42, 0x03c42a44,
  13249. 0x03c42a42, 0x03c42944, 0x03c42942, 0x03c42844,
  13250. 0x03c42842, 0x03c42744, 0x03c42742, 0x03c42644,
  13251. 0x03c42642, 0x03c42544, 0x03c42542, 0x03c42444,
  13252. 0x03c42442, 0x03c02b44, 0x03c02b42, 0x03c02a44,
  13253. 0x03c02a42, 0x03c02944, 0x03c02942, 0x03c02844,
  13254. 0x03c02842, 0x03c02744, 0x03c02742, 0x03b02b44,
  13255. 0x03b02b42, 0x03b02a44, 0x03b02a42, 0x03b02944,
  13256. 0x03b02942, 0x03b02844, 0x03b02842, 0x03b02744,
  13257. 0x03b02742, 0x03b02644, 0x03b02642, 0x03b02544,
  13258. 0x03b02542, 0x03a02b44, 0x03a02b42, 0x03a02a44,
  13259. 0x03a02a42, 0x03a02944, 0x03a02942, 0x03a02844,
  13260. 0x03a02842, 0x03a02744, 0x03a02742, 0x03902b44,
  13261. 0x03902b42, 0x03902a44, 0x03902a42, 0x03902944,
  13262. 0x03902942, 0x03902844, 0x03902842, 0x03902744,
  13263. 0x03902742, 0x03902644, 0x03902642, 0x03902544,
  13264. 0x03902542, 0x03802b44, 0x03802b42, 0x03802a44,
  13265. 0x03802a42, 0x03802944, 0x03802942, 0x03802844,
  13266. 0x03802842, 0x03802744, 0x03802742, 0x03802644,
  13267. 0x03802642, 0x03802544, 0x03802542, 0x03802444,
  13268. 0x03802442, 0x03802344, 0x03802342, 0x03802244,
  13269. 0x03802242, 0x03802144, 0x03802142, 0x03802044,
  13270. 0x03802042, 0x03801f44, 0x03801f42, 0x03801e44,
  13271. 0x03801e42, 0x03801d44, 0x03801d42, 0x03801c44,
  13272. 0x03801c42, 0x03801b44, 0x03801b42, 0x03801a44,
  13273. 0x03801a42, 0x03801944, 0x03801942, 0x03801844,
  13274. 0x03801842, 0x03801744, 0x03801742, 0x03801644,
  13275. 0x03801642, 0x03801544, 0x03801542, 0x03801444,
  13276. 0x03801442, 0x03801344, 0x03801342, 0x00002b00
  13277. };
  13278. static const u16 nphy_tpc_loscale[] = {
  13279. 256, 256, 271, 271, 287, 256, 256, 271,
  13280. 271, 287, 287, 304, 304, 256, 256, 271,
  13281. 271, 287, 287, 304, 304, 322, 322, 341,
  13282. 341, 362, 362, 383, 383, 256, 256, 271,
  13283. 271, 287, 287, 304, 304, 322, 322, 256,
  13284. 256, 271, 271, 287, 287, 304, 304, 322,
  13285. 322, 341, 341, 362, 362, 256, 256, 271,
  13286. 271, 287, 287, 304, 304, 322, 322, 256,
  13287. 256, 271, 271, 287, 287, 304, 304, 322,
  13288. 322, 341, 341, 362, 362, 256, 256, 271,
  13289. 271, 287, 287, 304, 304, 322, 322, 341,
  13290. 341, 362, 362, 383, 383, 406, 406, 430,
  13291. 430, 455, 455, 482, 482, 511, 511, 541,
  13292. 541, 573, 573, 607, 607, 643, 643, 681,
  13293. 681, 722, 722, 764, 764, 810, 810, 858,
  13294. 858, 908, 908, 962, 962, 1019, 1019, 256
  13295. };
  13296. static u32 nphy_tpc_txgain_ipa[] = {
  13297. 0x5ff7002d, 0x5ff7002b, 0x5ff7002a, 0x5ff70029,
  13298. 0x5ff70028, 0x5ff70027, 0x5ff70026, 0x5ff70025,
  13299. 0x5ef7002d, 0x5ef7002b, 0x5ef7002a, 0x5ef70029,
  13300. 0x5ef70028, 0x5ef70027, 0x5ef70026, 0x5ef70025,
  13301. 0x5df7002d, 0x5df7002b, 0x5df7002a, 0x5df70029,
  13302. 0x5df70028, 0x5df70027, 0x5df70026, 0x5df70025,
  13303. 0x5cf7002d, 0x5cf7002b, 0x5cf7002a, 0x5cf70029,
  13304. 0x5cf70028, 0x5cf70027, 0x5cf70026, 0x5cf70025,
  13305. 0x5bf7002d, 0x5bf7002b, 0x5bf7002a, 0x5bf70029,
  13306. 0x5bf70028, 0x5bf70027, 0x5bf70026, 0x5bf70025,
  13307. 0x5af7002d, 0x5af7002b, 0x5af7002a, 0x5af70029,
  13308. 0x5af70028, 0x5af70027, 0x5af70026, 0x5af70025,
  13309. 0x59f7002d, 0x59f7002b, 0x59f7002a, 0x59f70029,
  13310. 0x59f70028, 0x59f70027, 0x59f70026, 0x59f70025,
  13311. 0x58f7002d, 0x58f7002b, 0x58f7002a, 0x58f70029,
  13312. 0x58f70028, 0x58f70027, 0x58f70026, 0x58f70025,
  13313. 0x57f7002d, 0x57f7002b, 0x57f7002a, 0x57f70029,
  13314. 0x57f70028, 0x57f70027, 0x57f70026, 0x57f70025,
  13315. 0x56f7002d, 0x56f7002b, 0x56f7002a, 0x56f70029,
  13316. 0x56f70028, 0x56f70027, 0x56f70026, 0x56f70025,
  13317. 0x55f7002d, 0x55f7002b, 0x55f7002a, 0x55f70029,
  13318. 0x55f70028, 0x55f70027, 0x55f70026, 0x55f70025,
  13319. 0x54f7002d, 0x54f7002b, 0x54f7002a, 0x54f70029,
  13320. 0x54f70028, 0x54f70027, 0x54f70026, 0x54f70025,
  13321. 0x53f7002d, 0x53f7002b, 0x53f7002a, 0x53f70029,
  13322. 0x53f70028, 0x53f70027, 0x53f70026, 0x53f70025,
  13323. 0x52f7002d, 0x52f7002b, 0x52f7002a, 0x52f70029,
  13324. 0x52f70028, 0x52f70027, 0x52f70026, 0x52f70025,
  13325. 0x51f7002d, 0x51f7002b, 0x51f7002a, 0x51f70029,
  13326. 0x51f70028, 0x51f70027, 0x51f70026, 0x51f70025,
  13327. 0x50f7002d, 0x50f7002b, 0x50f7002a, 0x50f70029,
  13328. 0x50f70028, 0x50f70027, 0x50f70026, 0x50f70025
  13329. };
  13330. static u32 nphy_tpc_txgain_ipa_rev5[] = {
  13331. 0x1ff7002d, 0x1ff7002b, 0x1ff7002a, 0x1ff70029,
  13332. 0x1ff70028, 0x1ff70027, 0x1ff70026, 0x1ff70025,
  13333. 0x1ef7002d, 0x1ef7002b, 0x1ef7002a, 0x1ef70029,
  13334. 0x1ef70028, 0x1ef70027, 0x1ef70026, 0x1ef70025,
  13335. 0x1df7002d, 0x1df7002b, 0x1df7002a, 0x1df70029,
  13336. 0x1df70028, 0x1df70027, 0x1df70026, 0x1df70025,
  13337. 0x1cf7002d, 0x1cf7002b, 0x1cf7002a, 0x1cf70029,
  13338. 0x1cf70028, 0x1cf70027, 0x1cf70026, 0x1cf70025,
  13339. 0x1bf7002d, 0x1bf7002b, 0x1bf7002a, 0x1bf70029,
  13340. 0x1bf70028, 0x1bf70027, 0x1bf70026, 0x1bf70025,
  13341. 0x1af7002d, 0x1af7002b, 0x1af7002a, 0x1af70029,
  13342. 0x1af70028, 0x1af70027, 0x1af70026, 0x1af70025,
  13343. 0x19f7002d, 0x19f7002b, 0x19f7002a, 0x19f70029,
  13344. 0x19f70028, 0x19f70027, 0x19f70026, 0x19f70025,
  13345. 0x18f7002d, 0x18f7002b, 0x18f7002a, 0x18f70029,
  13346. 0x18f70028, 0x18f70027, 0x18f70026, 0x18f70025,
  13347. 0x17f7002d, 0x17f7002b, 0x17f7002a, 0x17f70029,
  13348. 0x17f70028, 0x17f70027, 0x17f70026, 0x17f70025,
  13349. 0x16f7002d, 0x16f7002b, 0x16f7002a, 0x16f70029,
  13350. 0x16f70028, 0x16f70027, 0x16f70026, 0x16f70025,
  13351. 0x15f7002d, 0x15f7002b, 0x15f7002a, 0x15f70029,
  13352. 0x15f70028, 0x15f70027, 0x15f70026, 0x15f70025,
  13353. 0x14f7002d, 0x14f7002b, 0x14f7002a, 0x14f70029,
  13354. 0x14f70028, 0x14f70027, 0x14f70026, 0x14f70025,
  13355. 0x13f7002d, 0x13f7002b, 0x13f7002a, 0x13f70029,
  13356. 0x13f70028, 0x13f70027, 0x13f70026, 0x13f70025,
  13357. 0x12f7002d, 0x12f7002b, 0x12f7002a, 0x12f70029,
  13358. 0x12f70028, 0x12f70027, 0x12f70026, 0x12f70025,
  13359. 0x11f7002d, 0x11f7002b, 0x11f7002a, 0x11f70029,
  13360. 0x11f70028, 0x11f70027, 0x11f70026, 0x11f70025,
  13361. 0x10f7002d, 0x10f7002b, 0x10f7002a, 0x10f70029,
  13362. 0x10f70028, 0x10f70027, 0x10f70026, 0x10f70025
  13363. };
  13364. static u32 nphy_tpc_txgain_ipa_rev6[] = {
  13365. 0x0ff7002d, 0x0ff7002b, 0x0ff7002a, 0x0ff70029,
  13366. 0x0ff70028, 0x0ff70027, 0x0ff70026, 0x0ff70025,
  13367. 0x0ef7002d, 0x0ef7002b, 0x0ef7002a, 0x0ef70029,
  13368. 0x0ef70028, 0x0ef70027, 0x0ef70026, 0x0ef70025,
  13369. 0x0df7002d, 0x0df7002b, 0x0df7002a, 0x0df70029,
  13370. 0x0df70028, 0x0df70027, 0x0df70026, 0x0df70025,
  13371. 0x0cf7002d, 0x0cf7002b, 0x0cf7002a, 0x0cf70029,
  13372. 0x0cf70028, 0x0cf70027, 0x0cf70026, 0x0cf70025,
  13373. 0x0bf7002d, 0x0bf7002b, 0x0bf7002a, 0x0bf70029,
  13374. 0x0bf70028, 0x0bf70027, 0x0bf70026, 0x0bf70025,
  13375. 0x0af7002d, 0x0af7002b, 0x0af7002a, 0x0af70029,
  13376. 0x0af70028, 0x0af70027, 0x0af70026, 0x0af70025,
  13377. 0x09f7002d, 0x09f7002b, 0x09f7002a, 0x09f70029,
  13378. 0x09f70028, 0x09f70027, 0x09f70026, 0x09f70025,
  13379. 0x08f7002d, 0x08f7002b, 0x08f7002a, 0x08f70029,
  13380. 0x08f70028, 0x08f70027, 0x08f70026, 0x08f70025,
  13381. 0x07f7002d, 0x07f7002b, 0x07f7002a, 0x07f70029,
  13382. 0x07f70028, 0x07f70027, 0x07f70026, 0x07f70025,
  13383. 0x06f7002d, 0x06f7002b, 0x06f7002a, 0x06f70029,
  13384. 0x06f70028, 0x06f70027, 0x06f70026, 0x06f70025,
  13385. 0x05f7002d, 0x05f7002b, 0x05f7002a, 0x05f70029,
  13386. 0x05f70028, 0x05f70027, 0x05f70026, 0x05f70025,
  13387. 0x04f7002d, 0x04f7002b, 0x04f7002a, 0x04f70029,
  13388. 0x04f70028, 0x04f70027, 0x04f70026, 0x04f70025,
  13389. 0x03f7002d, 0x03f7002b, 0x03f7002a, 0x03f70029,
  13390. 0x03f70028, 0x03f70027, 0x03f70026, 0x03f70025,
  13391. 0x02f7002d, 0x02f7002b, 0x02f7002a, 0x02f70029,
  13392. 0x02f70028, 0x02f70027, 0x02f70026, 0x02f70025,
  13393. 0x01f7002d, 0x01f7002b, 0x01f7002a, 0x01f70029,
  13394. 0x01f70028, 0x01f70027, 0x01f70026, 0x01f70025,
  13395. 0x00f7002d, 0x00f7002b, 0x00f7002a, 0x00f70029,
  13396. 0x00f70028, 0x00f70027, 0x00f70026, 0x00f70025
  13397. };
  13398. static u32 nphy_tpc_txgain_ipa_2g_2057rev3[] = {
  13399. 0x70ff0040, 0x70f7003e, 0x70ef003b, 0x70e70039,
  13400. 0x70df0037, 0x70d70036, 0x70cf0033, 0x70c70032,
  13401. 0x70bf0031, 0x70b7002f, 0x70af002e, 0x70a7002d,
  13402. 0x709f002d, 0x7097002c, 0x708f002c, 0x7087002c,
  13403. 0x707f002b, 0x7077002c, 0x706f002c, 0x7067002d,
  13404. 0x705f002e, 0x705f002b, 0x705f0029, 0x7057002a,
  13405. 0x70570028, 0x704f002a, 0x7047002c, 0x7047002a,
  13406. 0x70470028, 0x70470026, 0x70470024, 0x70470022,
  13407. 0x7047001f, 0x70370027, 0x70370024, 0x70370022,
  13408. 0x70370020, 0x7037001f, 0x7037001d, 0x7037001b,
  13409. 0x7037001a, 0x70370018, 0x70370017, 0x7027001e,
  13410. 0x7027001d, 0x7027001a, 0x701f0024, 0x701f0022,
  13411. 0x701f0020, 0x701f001f, 0x701f001d, 0x701f001b,
  13412. 0x701f001a, 0x701f0018, 0x701f0017, 0x701f0015,
  13413. 0x701f0014, 0x701f0013, 0x701f0012, 0x701f0011,
  13414. 0x70170019, 0x70170018, 0x70170016, 0x70170015,
  13415. 0x70170014, 0x70170013, 0x70170012, 0x70170010,
  13416. 0x70170010, 0x7017000f, 0x700f001d, 0x700f001b,
  13417. 0x700f001a, 0x700f0018, 0x700f0017, 0x700f0015,
  13418. 0x700f0015, 0x700f0013, 0x700f0013, 0x700f0011,
  13419. 0x700f0010, 0x700f0010, 0x700f000f, 0x700f000e,
  13420. 0x700f000d, 0x700f000c, 0x700f000b, 0x700f000b,
  13421. 0x700f000b, 0x700f000a, 0x700f0009, 0x700f0009,
  13422. 0x700f0009, 0x700f0008, 0x700f0007, 0x700f0007,
  13423. 0x700f0006, 0x700f0006, 0x700f0006, 0x700f0006,
  13424. 0x700f0005, 0x700f0005, 0x700f0005, 0x700f0004,
  13425. 0x700f0004, 0x700f0004, 0x700f0004, 0x700f0004,
  13426. 0x700f0004, 0x700f0003, 0x700f0003, 0x700f0003,
  13427. 0x700f0003, 0x700f0002, 0x700f0002, 0x700f0002,
  13428. 0x700f0002, 0x700f0002, 0x700f0002, 0x700f0001,
  13429. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001,
  13430. 0x700f0001, 0x700f0001, 0x700f0001, 0x700f0001
  13431. };
  13432. static u32 nphy_tpc_txgain_ipa_2g_2057rev4n6[] = {
  13433. 0xf0ff0040, 0xf0f7003e, 0xf0ef003b, 0xf0e70039,
  13434. 0xf0df0037, 0xf0d70036, 0xf0cf0033, 0xf0c70032,
  13435. 0xf0bf0031, 0xf0b7002f, 0xf0af002e, 0xf0a7002d,
  13436. 0xf09f002d, 0xf097002c, 0xf08f002c, 0xf087002c,
  13437. 0xf07f002b, 0xf077002c, 0xf06f002c, 0xf067002d,
  13438. 0xf05f002e, 0xf05f002b, 0xf05f0029, 0xf057002a,
  13439. 0xf0570028, 0xf04f002a, 0xf047002c, 0xf047002a,
  13440. 0xf0470028, 0xf0470026, 0xf0470024, 0xf0470022,
  13441. 0xf047001f, 0xf0370027, 0xf0370024, 0xf0370022,
  13442. 0xf0370020, 0xf037001f, 0xf037001d, 0xf037001b,
  13443. 0xf037001a, 0xf0370018, 0xf0370017, 0xf027001e,
  13444. 0xf027001d, 0xf027001a, 0xf01f0024, 0xf01f0022,
  13445. 0xf01f0020, 0xf01f001f, 0xf01f001d, 0xf01f001b,
  13446. 0xf01f001a, 0xf01f0018, 0xf01f0017, 0xf01f0015,
  13447. 0xf01f0014, 0xf01f0013, 0xf01f0012, 0xf01f0011,
  13448. 0xf0170019, 0xf0170018, 0xf0170016, 0xf0170015,
  13449. 0xf0170014, 0xf0170013, 0xf0170012, 0xf0170010,
  13450. 0xf0170010, 0xf017000f, 0xf00f001d, 0xf00f001b,
  13451. 0xf00f001a, 0xf00f0018, 0xf00f0017, 0xf00f0015,
  13452. 0xf00f0015, 0xf00f0013, 0xf00f0013, 0xf00f0011,
  13453. 0xf00f0010, 0xf00f0010, 0xf00f000f, 0xf00f000e,
  13454. 0xf00f000d, 0xf00f000c, 0xf00f000b, 0xf00f000b,
  13455. 0xf00f000b, 0xf00f000a, 0xf00f0009, 0xf00f0009,
  13456. 0xf00f0009, 0xf00f0008, 0xf00f0007, 0xf00f0007,
  13457. 0xf00f0006, 0xf00f0006, 0xf00f0006, 0xf00f0006,
  13458. 0xf00f0005, 0xf00f0005, 0xf00f0005, 0xf00f0004,
  13459. 0xf00f0004, 0xf00f0004, 0xf00f0004, 0xf00f0004,
  13460. 0xf00f0004, 0xf00f0003, 0xf00f0003, 0xf00f0003,
  13461. 0xf00f0003, 0xf00f0002, 0xf00f0002, 0xf00f0002,
  13462. 0xf00f0002, 0xf00f0002, 0xf00f0002, 0xf00f0001,
  13463. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001,
  13464. 0xf00f0001, 0xf00f0001, 0xf00f0001, 0xf00f0001
  13465. };
  13466. static u32 nphy_tpc_txgain_ipa_2g_2057rev5[] = {
  13467. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13468. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13469. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13470. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13471. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13472. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13473. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13474. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13475. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13476. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13477. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13478. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13479. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13480. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13481. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13482. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13483. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13484. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13485. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13486. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13487. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13488. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13489. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13490. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13491. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13492. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13493. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13494. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13495. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13496. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13497. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13498. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13499. };
  13500. static u32 nphy_tpc_txgain_ipa_2g_2057rev7[] = {
  13501. 0x30ff0031, 0x30e70031, 0x30e7002e, 0x30cf002e,
  13502. 0x30bf002e, 0x30af002e, 0x309f002f, 0x307f0033,
  13503. 0x307f0031, 0x307f002e, 0x3077002e, 0x306f002e,
  13504. 0x3067002e, 0x305f002f, 0x30570030, 0x3057002d,
  13505. 0x304f002e, 0x30470031, 0x3047002e, 0x3047002c,
  13506. 0x30470029, 0x303f002c, 0x303f0029, 0x3037002d,
  13507. 0x3037002a, 0x30370028, 0x302f002c, 0x302f002a,
  13508. 0x302f0028, 0x302f0026, 0x3027002c, 0x30270029,
  13509. 0x30270027, 0x30270025, 0x30270023, 0x301f002c,
  13510. 0x301f002a, 0x301f0028, 0x301f0025, 0x301f0024,
  13511. 0x301f0022, 0x301f001f, 0x3017002d, 0x3017002b,
  13512. 0x30170028, 0x30170026, 0x30170024, 0x30170022,
  13513. 0x30170020, 0x3017001e, 0x3017001d, 0x3017001b,
  13514. 0x3017001a, 0x30170018, 0x30170017, 0x30170015,
  13515. 0x300f002c, 0x300f0029, 0x300f0027, 0x300f0024,
  13516. 0x300f0022, 0x300f0021, 0x300f001f, 0x300f001d,
  13517. 0x300f001b, 0x300f001a, 0x300f0018, 0x300f0017,
  13518. 0x300f0016, 0x300f0015, 0x300f0115, 0x300f0215,
  13519. 0x300f0315, 0x300f0415, 0x300f0515, 0x300f0615,
  13520. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13521. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13522. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13523. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13524. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13525. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13526. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13527. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13528. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13529. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13530. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13531. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715,
  13532. 0x300f0715, 0x300f0715, 0x300f0715, 0x300f0715
  13533. };
  13534. static u32 nphy_tpc_txgain_ipa_5g[] = {
  13535. 0x7ff70035, 0x7ff70033, 0x7ff70032, 0x7ff70031,
  13536. 0x7ff7002f, 0x7ff7002e, 0x7ff7002d, 0x7ff7002b,
  13537. 0x7ff7002a, 0x7ff70029, 0x7ff70028, 0x7ff70027,
  13538. 0x7ff70026, 0x7ff70024, 0x7ff70023, 0x7ff70022,
  13539. 0x7ef70028, 0x7ef70027, 0x7ef70026, 0x7ef70025,
  13540. 0x7ef70024, 0x7ef70023, 0x7df70028, 0x7df70027,
  13541. 0x7df70026, 0x7df70025, 0x7df70024, 0x7df70023,
  13542. 0x7df70022, 0x7cf70029, 0x7cf70028, 0x7cf70027,
  13543. 0x7cf70026, 0x7cf70025, 0x7cf70023, 0x7cf70022,
  13544. 0x7bf70029, 0x7bf70028, 0x7bf70026, 0x7bf70025,
  13545. 0x7bf70024, 0x7bf70023, 0x7bf70022, 0x7bf70021,
  13546. 0x7af70029, 0x7af70028, 0x7af70027, 0x7af70026,
  13547. 0x7af70025, 0x7af70024, 0x7af70023, 0x7af70022,
  13548. 0x79f70029, 0x79f70028, 0x79f70027, 0x79f70026,
  13549. 0x79f70025, 0x79f70024, 0x79f70023, 0x79f70022,
  13550. 0x78f70029, 0x78f70028, 0x78f70027, 0x78f70026,
  13551. 0x78f70025, 0x78f70024, 0x78f70023, 0x78f70022,
  13552. 0x77f70029, 0x77f70028, 0x77f70027, 0x77f70026,
  13553. 0x77f70025, 0x77f70024, 0x77f70023, 0x77f70022,
  13554. 0x76f70029, 0x76f70028, 0x76f70027, 0x76f70026,
  13555. 0x76f70024, 0x76f70023, 0x76f70022, 0x76f70021,
  13556. 0x75f70029, 0x75f70028, 0x75f70027, 0x75f70026,
  13557. 0x75f70025, 0x75f70024, 0x75f70023, 0x74f70029,
  13558. 0x74f70028, 0x74f70026, 0x74f70025, 0x74f70024,
  13559. 0x74f70023, 0x74f70022, 0x73f70029, 0x73f70027,
  13560. 0x73f70026, 0x73f70025, 0x73f70024, 0x73f70023,
  13561. 0x73f70022, 0x72f70028, 0x72f70027, 0x72f70026,
  13562. 0x72f70025, 0x72f70024, 0x72f70023, 0x72f70022,
  13563. 0x71f70028, 0x71f70027, 0x71f70026, 0x71f70025,
  13564. 0x71f70024, 0x71f70023, 0x70f70028, 0x70f70027,
  13565. 0x70f70026, 0x70f70024, 0x70f70023, 0x70f70022,
  13566. 0x70f70021, 0x70f70020, 0x70f70020, 0x70f7001f
  13567. };
  13568. static u32 nphy_tpc_txgain_ipa_5g_2057[] = {
  13569. 0x7f7f0044, 0x7f7f0040, 0x7f7f003c, 0x7f7f0039,
  13570. 0x7f7f0036, 0x7e7f003c, 0x7e7f0038, 0x7e7f0035,
  13571. 0x7d7f003c, 0x7d7f0039, 0x7d7f0036, 0x7d7f0033,
  13572. 0x7c7f003b, 0x7c7f0037, 0x7c7f0034, 0x7b7f003a,
  13573. 0x7b7f0036, 0x7b7f0033, 0x7a7f003c, 0x7a7f0039,
  13574. 0x7a7f0036, 0x7a7f0033, 0x797f003b, 0x797f0038,
  13575. 0x797f0035, 0x797f0032, 0x787f003b, 0x787f0038,
  13576. 0x787f0035, 0x787f0032, 0x777f003a, 0x777f0037,
  13577. 0x777f0034, 0x777f0031, 0x767f003a, 0x767f0036,
  13578. 0x767f0033, 0x767f0031, 0x757f003a, 0x757f0037,
  13579. 0x757f0034, 0x747f003c, 0x747f0039, 0x747f0036,
  13580. 0x747f0033, 0x737f003b, 0x737f0038, 0x737f0035,
  13581. 0x737f0032, 0x727f0039, 0x727f0036, 0x727f0033,
  13582. 0x727f0030, 0x717f003a, 0x717f0037, 0x717f0034,
  13583. 0x707f003b, 0x707f0038, 0x707f0035, 0x707f0032,
  13584. 0x707f002f, 0x707f002d, 0x707f002a, 0x707f0028,
  13585. 0x707f0025, 0x707f0023, 0x707f0021, 0x707f0020,
  13586. 0x707f001e, 0x707f001c, 0x707f001b, 0x707f0019,
  13587. 0x707f0018, 0x707f0016, 0x707f0015, 0x707f0014,
  13588. 0x707f0013, 0x707f0012, 0x707f0011, 0x707f0010,
  13589. 0x707f000f, 0x707f000e, 0x707f000d, 0x707f000d,
  13590. 0x707f000c, 0x707f000b, 0x707f000b, 0x707f000a,
  13591. 0x707f0009, 0x707f0009, 0x707f0008, 0x707f0008,
  13592. 0x707f0007, 0x707f0007, 0x707f0007, 0x707f0006,
  13593. 0x707f0006, 0x707f0006, 0x707f0005, 0x707f0005,
  13594. 0x707f0005, 0x707f0004, 0x707f0004, 0x707f0004,
  13595. 0x707f0004, 0x707f0004, 0x707f0003, 0x707f0003,
  13596. 0x707f0003, 0x707f0003, 0x707f0003, 0x707f0003,
  13597. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13598. 0x707f0002, 0x707f0002, 0x707f0002, 0x707f0002,
  13599. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001,
  13600. 0x707f0001, 0x707f0001, 0x707f0001, 0x707f0001
  13601. };
  13602. static u32 nphy_tpc_txgain_ipa_5g_2057rev7[] = {
  13603. 0x6f7f0031, 0x6f7f002e, 0x6f7f002c, 0x6f7f002a,
  13604. 0x6f7f0027, 0x6e7f002e, 0x6e7f002c, 0x6e7f002a,
  13605. 0x6d7f0030, 0x6d7f002d, 0x6d7f002a, 0x6d7f0028,
  13606. 0x6c7f0030, 0x6c7f002d, 0x6c7f002b, 0x6b7f002e,
  13607. 0x6b7f002c, 0x6b7f002a, 0x6b7f0027, 0x6a7f002e,
  13608. 0x6a7f002c, 0x6a7f002a, 0x697f0030, 0x697f002e,
  13609. 0x697f002b, 0x697f0029, 0x687f002f, 0x687f002d,
  13610. 0x687f002a, 0x687f0027, 0x677f002f, 0x677f002d,
  13611. 0x677f002a, 0x667f0031, 0x667f002e, 0x667f002c,
  13612. 0x667f002a, 0x657f0030, 0x657f002e, 0x657f002b,
  13613. 0x657f0029, 0x647f0030, 0x647f002d, 0x647f002b,
  13614. 0x647f0029, 0x637f002f, 0x637f002d, 0x637f002a,
  13615. 0x627f0030, 0x627f002d, 0x627f002b, 0x627f0029,
  13616. 0x617f0030, 0x617f002e, 0x617f002b, 0x617f0029,
  13617. 0x607f002f, 0x607f002d, 0x607f002a, 0x607f0027,
  13618. 0x607f0026, 0x607f0023, 0x607f0021, 0x607f0020,
  13619. 0x607f001e, 0x607f001c, 0x607f001a, 0x607f0019,
  13620. 0x607f0018, 0x607f0016, 0x607f0015, 0x607f0014,
  13621. 0x607f0012, 0x607f0012, 0x607f0011, 0x607f000f,
  13622. 0x607f000f, 0x607f000e, 0x607f000d, 0x607f000c,
  13623. 0x607f000c, 0x607f000b, 0x607f000b, 0x607f000a,
  13624. 0x607f0009, 0x607f0009, 0x607f0008, 0x607f0008,
  13625. 0x607f0008, 0x607f0007, 0x607f0007, 0x607f0006,
  13626. 0x607f0006, 0x607f0005, 0x607f0005, 0x607f0005,
  13627. 0x607f0005, 0x607f0005, 0x607f0004, 0x607f0004,
  13628. 0x607f0004, 0x607f0004, 0x607f0003, 0x607f0003,
  13629. 0x607f0003, 0x607f0003, 0x607f0002, 0x607f0002,
  13630. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13631. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13632. 0x607f0002, 0x607f0002, 0x607f0002, 0x607f0002,
  13633. 0x607f0002, 0x607f0001, 0x607f0001, 0x607f0001,
  13634. 0x607f0001, 0x607f0001, 0x607f0001, 0x607f0001
  13635. };
  13636. static s8 nphy_papd_pga_gain_delta_ipa_2g[] = {
  13637. -114, -108, -98, -91, -84, -78, -70, -62,
  13638. -54, -46, -39, -31, -23, -15, -8, 0
  13639. };
  13640. static s8 nphy_papd_pga_gain_delta_ipa_5g[] = {
  13641. -100, -95, -89, -83, -77, -70, -63, -56,
  13642. -48, -41, -33, -25, -19, -12, -6, 0
  13643. };
  13644. static s16 nphy_papd_padgain_dlt_2g_2057rev3n4[] = {
  13645. -159, -113, -86, -72, -62, -54, -48, -43,
  13646. -39, -35, -31, -28, -25, -23, -20, -18,
  13647. -17, -15, -13, -11, -10, -8, -7, -6,
  13648. -5, -4, -3, -3, -2, -1, -1, 0
  13649. };
  13650. static s16 nphy_papd_padgain_dlt_2g_2057rev5[] = {
  13651. -109, -109, -82, -68, -58, -50, -44, -39,
  13652. -35, -31, -28, -26, -23, -21, -19, -17,
  13653. -16, -14, -13, -11, -10, -9, -8, -7,
  13654. -5, -5, -4, -3, -2, -1, -1, 0
  13655. };
  13656. static s16 nphy_papd_padgain_dlt_2g_2057rev7[] = {
  13657. -122, -122, -95, -80, -69, -61, -54, -49,
  13658. -43, -39, -35, -32, -28, -26, -23, -21,
  13659. -18, -16, -15, -13, -11, -10, -8, -7,
  13660. -6, -5, -4, -3, -2, -1, -1, 0
  13661. };
  13662. static s8 nphy_papd_pgagain_dlt_5g_2057[] = {
  13663. -107, -101, -92, -85, -78, -71, -62, -55,
  13664. -47, -39, -32, -24, -19, -12, -6, 0
  13665. };
  13666. static s8 nphy_papd_pgagain_dlt_5g_2057rev7[] = {
  13667. -110, -104, -95, -88, -81, -74, -66, -58,
  13668. -50, -44, -36, -28, -23, -15, -8, 0
  13669. };
  13670. static u8 pad_gain_codes_used_2057rev5[] = {
  13671. 20, 19, 18, 17, 16, 15, 14, 13, 12, 11,
  13672. 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
  13673. };
  13674. static u8 pad_gain_codes_used_2057rev7[] = {
  13675. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6,
  13676. 5, 4, 3, 2, 1
  13677. };
  13678. static u8 pad_all_gain_codes_2057[] = {
  13679. 31, 30, 29, 28, 27, 26, 25, 24, 23, 22,
  13680. 21, 20, 19, 18, 17, 16, 15, 14, 13, 12,
  13681. 11, 10, 9, 8, 7, 6, 5, 4, 3, 2,
  13682. 1, 0
  13683. };
  13684. static u8 pga_all_gain_codes_2057[] = {
  13685. 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
  13686. };
  13687. static u32 nphy_papd_scaltbl[] = {
  13688. 0x0ae2002f, 0x0a3b0032, 0x09a70035, 0x09220038,
  13689. 0x0887003c, 0x081f003f, 0x07a20043, 0x07340047,
  13690. 0x06d2004b, 0x067a004f, 0x06170054, 0x05bf0059,
  13691. 0x0571005e, 0x051e0064, 0x04d3006a, 0x04910070,
  13692. 0x044c0077, 0x040f007e, 0x03d90085, 0x03a1008d,
  13693. 0x036f0095, 0x033d009e, 0x030b00a8, 0x02e000b2,
  13694. 0x02b900bc, 0x029200c7, 0x026d00d3, 0x024900e0,
  13695. 0x022900ed, 0x020a00fb, 0x01ec010a, 0x01d0011a,
  13696. 0x01b7012a, 0x019e013c, 0x0187014f, 0x01720162,
  13697. 0x015d0177, 0x0149018e, 0x013701a5, 0x012601be,
  13698. 0x011501d9, 0x010501f5, 0x00f70212, 0x00e90232,
  13699. 0x00dc0253, 0x00d00276, 0x00c4029c, 0x00b902c3,
  13700. 0x00af02ed, 0x00a5031a, 0x009c0349, 0x0093037a,
  13701. 0x008b03af, 0x008303e7, 0x007c0422, 0x00750461,
  13702. 0x006e04a3, 0x006804ea, 0x00620534, 0x005d0583,
  13703. 0x005805d7, 0x0053062f, 0x004e068d, 0x004a06f1
  13704. };
  13705. static u32 nphy_tpc_txgain_rev3[] = {
  13706. 0x1f410044, 0x1f410042, 0x1f410040, 0x1f41003e,
  13707. 0x1f41003c, 0x1f41003b, 0x1f410039, 0x1f410037,
  13708. 0x1e410044, 0x1e410042, 0x1e410040, 0x1e41003e,
  13709. 0x1e41003c, 0x1e41003b, 0x1e410039, 0x1e410037,
  13710. 0x1d410044, 0x1d410042, 0x1d410040, 0x1d41003e,
  13711. 0x1d41003c, 0x1d41003b, 0x1d410039, 0x1d410037,
  13712. 0x1c410044, 0x1c410042, 0x1c410040, 0x1c41003e,
  13713. 0x1c41003c, 0x1c41003b, 0x1c410039, 0x1c410037,
  13714. 0x1b410044, 0x1b410042, 0x1b410040, 0x1b41003e,
  13715. 0x1b41003c, 0x1b41003b, 0x1b410039, 0x1b410037,
  13716. 0x1a410044, 0x1a410042, 0x1a410040, 0x1a41003e,
  13717. 0x1a41003c, 0x1a41003b, 0x1a410039, 0x1a410037,
  13718. 0x19410044, 0x19410042, 0x19410040, 0x1941003e,
  13719. 0x1941003c, 0x1941003b, 0x19410039, 0x19410037,
  13720. 0x18410044, 0x18410042, 0x18410040, 0x1841003e,
  13721. 0x1841003c, 0x1841003b, 0x18410039, 0x18410037,
  13722. 0x17410044, 0x17410042, 0x17410040, 0x1741003e,
  13723. 0x1741003c, 0x1741003b, 0x17410039, 0x17410037,
  13724. 0x16410044, 0x16410042, 0x16410040, 0x1641003e,
  13725. 0x1641003c, 0x1641003b, 0x16410039, 0x16410037,
  13726. 0x15410044, 0x15410042, 0x15410040, 0x1541003e,
  13727. 0x1541003c, 0x1541003b, 0x15410039, 0x15410037,
  13728. 0x14410044, 0x14410042, 0x14410040, 0x1441003e,
  13729. 0x1441003c, 0x1441003b, 0x14410039, 0x14410037,
  13730. 0x13410044, 0x13410042, 0x13410040, 0x1341003e,
  13731. 0x1341003c, 0x1341003b, 0x13410039, 0x13410037,
  13732. 0x12410044, 0x12410042, 0x12410040, 0x1241003e,
  13733. 0x1241003c, 0x1241003b, 0x12410039, 0x12410037,
  13734. 0x11410044, 0x11410042, 0x11410040, 0x1141003e,
  13735. 0x1141003c, 0x1141003b, 0x11410039, 0x11410037,
  13736. 0x10410044, 0x10410042, 0x10410040, 0x1041003e,
  13737. 0x1041003c, 0x1041003b, 0x10410039, 0x10410037
  13738. };
  13739. static u32 nphy_tpc_txgain_HiPwrEPA[] = {
  13740. 0x0f410044, 0x0f410042, 0x0f410040, 0x0f41003e,
  13741. 0x0f41003c, 0x0f41003b, 0x0f410039, 0x0f410037,
  13742. 0x0e410044, 0x0e410042, 0x0e410040, 0x0e41003e,
  13743. 0x0e41003c, 0x0e41003b, 0x0e410039, 0x0e410037,
  13744. 0x0d410044, 0x0d410042, 0x0d410040, 0x0d41003e,
  13745. 0x0d41003c, 0x0d41003b, 0x0d410039, 0x0d410037,
  13746. 0x0c410044, 0x0c410042, 0x0c410040, 0x0c41003e,
  13747. 0x0c41003c, 0x0c41003b, 0x0c410039, 0x0c410037,
  13748. 0x0b410044, 0x0b410042, 0x0b410040, 0x0b41003e,
  13749. 0x0b41003c, 0x0b41003b, 0x0b410039, 0x0b410037,
  13750. 0x0a410044, 0x0a410042, 0x0a410040, 0x0a41003e,
  13751. 0x0a41003c, 0x0a41003b, 0x0a410039, 0x0a410037,
  13752. 0x09410044, 0x09410042, 0x09410040, 0x0941003e,
  13753. 0x0941003c, 0x0941003b, 0x09410039, 0x09410037,
  13754. 0x08410044, 0x08410042, 0x08410040, 0x0841003e,
  13755. 0x0841003c, 0x0841003b, 0x08410039, 0x08410037,
  13756. 0x07410044, 0x07410042, 0x07410040, 0x0741003e,
  13757. 0x0741003c, 0x0741003b, 0x07410039, 0x07410037,
  13758. 0x06410044, 0x06410042, 0x06410040, 0x0641003e,
  13759. 0x0641003c, 0x0641003b, 0x06410039, 0x06410037,
  13760. 0x05410044, 0x05410042, 0x05410040, 0x0541003e,
  13761. 0x0541003c, 0x0541003b, 0x05410039, 0x05410037,
  13762. 0x04410044, 0x04410042, 0x04410040, 0x0441003e,
  13763. 0x0441003c, 0x0441003b, 0x04410039, 0x04410037,
  13764. 0x03410044, 0x03410042, 0x03410040, 0x0341003e,
  13765. 0x0341003c, 0x0341003b, 0x03410039, 0x03410037,
  13766. 0x02410044, 0x02410042, 0x02410040, 0x0241003e,
  13767. 0x0241003c, 0x0241003b, 0x02410039, 0x02410037,
  13768. 0x01410044, 0x01410042, 0x01410040, 0x0141003e,
  13769. 0x0141003c, 0x0141003b, 0x01410039, 0x01410037,
  13770. 0x00410044, 0x00410042, 0x00410040, 0x0041003e,
  13771. 0x0041003c, 0x0041003b, 0x00410039, 0x00410037
  13772. };
  13773. static u32 nphy_tpc_txgain_epa_2057rev3[] = {
  13774. 0x80f90040, 0x80e10040, 0x80e1003c, 0x80c9003d,
  13775. 0x80b9003c, 0x80a9003d, 0x80a1003c, 0x8099003b,
  13776. 0x8091003b, 0x8089003a, 0x8081003a, 0x80790039,
  13777. 0x80710039, 0x8069003a, 0x8061003b, 0x8059003d,
  13778. 0x8051003f, 0x80490042, 0x8049003e, 0x8049003b,
  13779. 0x8041003e, 0x8041003b, 0x8039003e, 0x8039003b,
  13780. 0x80390038, 0x80390035, 0x8031003a, 0x80310036,
  13781. 0x80310033, 0x8029003a, 0x80290037, 0x80290034,
  13782. 0x80290031, 0x80210039, 0x80210036, 0x80210033,
  13783. 0x80210030, 0x8019003c, 0x80190039, 0x80190036,
  13784. 0x80190033, 0x80190030, 0x8019002d, 0x8019002b,
  13785. 0x80190028, 0x8011003a, 0x80110036, 0x80110033,
  13786. 0x80110030, 0x8011002e, 0x8011002b, 0x80110029,
  13787. 0x80110027, 0x80110024, 0x80110022, 0x80110020,
  13788. 0x8011001f, 0x8011001d, 0x8009003a, 0x80090037,
  13789. 0x80090034, 0x80090031, 0x8009002e, 0x8009002c,
  13790. 0x80090029, 0x80090027, 0x80090025, 0x80090023,
  13791. 0x80090021, 0x8009001f, 0x8009001d, 0x8009011d,
  13792. 0x8009021d, 0x8009031d, 0x8009041d, 0x8009051d,
  13793. 0x8009061d, 0x8009071d, 0x8009071d, 0x8009071d,
  13794. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13795. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13796. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13797. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13798. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13799. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13800. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13801. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13802. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13803. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13804. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d,
  13805. 0x8009071d, 0x8009071d, 0x8009071d, 0x8009071d
  13806. };
  13807. static u32 nphy_tpc_txgain_epa_2057rev5[] = {
  13808. 0x10f90040, 0x10e10040, 0x10e1003c, 0x10c9003d,
  13809. 0x10b9003c, 0x10a9003d, 0x10a1003c, 0x1099003b,
  13810. 0x1091003b, 0x1089003a, 0x1081003a, 0x10790039,
  13811. 0x10710039, 0x1069003a, 0x1061003b, 0x1059003d,
  13812. 0x1051003f, 0x10490042, 0x1049003e, 0x1049003b,
  13813. 0x1041003e, 0x1041003b, 0x1039003e, 0x1039003b,
  13814. 0x10390038, 0x10390035, 0x1031003a, 0x10310036,
  13815. 0x10310033, 0x1029003a, 0x10290037, 0x10290034,
  13816. 0x10290031, 0x10210039, 0x10210036, 0x10210033,
  13817. 0x10210030, 0x1019003c, 0x10190039, 0x10190036,
  13818. 0x10190033, 0x10190030, 0x1019002d, 0x1019002b,
  13819. 0x10190028, 0x1011003a, 0x10110036, 0x10110033,
  13820. 0x10110030, 0x1011002e, 0x1011002b, 0x10110029,
  13821. 0x10110027, 0x10110024, 0x10110022, 0x10110020,
  13822. 0x1011001f, 0x1011001d, 0x1009003a, 0x10090037,
  13823. 0x10090034, 0x10090031, 0x1009002e, 0x1009002c,
  13824. 0x10090029, 0x10090027, 0x10090025, 0x10090023,
  13825. 0x10090021, 0x1009001f, 0x1009001d, 0x1009001b,
  13826. 0x1009001a, 0x10090018, 0x10090017, 0x10090016,
  13827. 0x10090015, 0x10090013, 0x10090012, 0x10090011,
  13828. 0x10090010, 0x1009000f, 0x1009000f, 0x1009000e,
  13829. 0x1009000d, 0x1009000c, 0x1009000c, 0x1009000b,
  13830. 0x1009000a, 0x1009000a, 0x10090009, 0x10090009,
  13831. 0x10090008, 0x10090008, 0x10090007, 0x10090007,
  13832. 0x10090007, 0x10090006, 0x10090006, 0x10090005,
  13833. 0x10090005, 0x10090005, 0x10090005, 0x10090004,
  13834. 0x10090004, 0x10090004, 0x10090004, 0x10090003,
  13835. 0x10090003, 0x10090003, 0x10090003, 0x10090003,
  13836. 0x10090003, 0x10090002, 0x10090002, 0x10090002,
  13837. 0x10090002, 0x10090002, 0x10090002, 0x10090002,
  13838. 0x10090002, 0x10090002, 0x10090001, 0x10090001,
  13839. 0x10090001, 0x10090001, 0x10090001, 0x10090001
  13840. };
  13841. static u32 nphy_tpc_5GHz_txgain_rev3[] = {
  13842. 0xcff70044, 0xcff70042, 0xcff70040, 0xcff7003e,
  13843. 0xcff7003c, 0xcff7003b, 0xcff70039, 0xcff70037,
  13844. 0xcef70044, 0xcef70042, 0xcef70040, 0xcef7003e,
  13845. 0xcef7003c, 0xcef7003b, 0xcef70039, 0xcef70037,
  13846. 0xcdf70044, 0xcdf70042, 0xcdf70040, 0xcdf7003e,
  13847. 0xcdf7003c, 0xcdf7003b, 0xcdf70039, 0xcdf70037,
  13848. 0xccf70044, 0xccf70042, 0xccf70040, 0xccf7003e,
  13849. 0xccf7003c, 0xccf7003b, 0xccf70039, 0xccf70037,
  13850. 0xcbf70044, 0xcbf70042, 0xcbf70040, 0xcbf7003e,
  13851. 0xcbf7003c, 0xcbf7003b, 0xcbf70039, 0xcbf70037,
  13852. 0xcaf70044, 0xcaf70042, 0xcaf70040, 0xcaf7003e,
  13853. 0xcaf7003c, 0xcaf7003b, 0xcaf70039, 0xcaf70037,
  13854. 0xc9f70044, 0xc9f70042, 0xc9f70040, 0xc9f7003e,
  13855. 0xc9f7003c, 0xc9f7003b, 0xc9f70039, 0xc9f70037,
  13856. 0xc8f70044, 0xc8f70042, 0xc8f70040, 0xc8f7003e,
  13857. 0xc8f7003c, 0xc8f7003b, 0xc8f70039, 0xc8f70037,
  13858. 0xc7f70044, 0xc7f70042, 0xc7f70040, 0xc7f7003e,
  13859. 0xc7f7003c, 0xc7f7003b, 0xc7f70039, 0xc7f70037,
  13860. 0xc6f70044, 0xc6f70042, 0xc6f70040, 0xc6f7003e,
  13861. 0xc6f7003c, 0xc6f7003b, 0xc6f70039, 0xc6f70037,
  13862. 0xc5f70044, 0xc5f70042, 0xc5f70040, 0xc5f7003e,
  13863. 0xc5f7003c, 0xc5f7003b, 0xc5f70039, 0xc5f70037,
  13864. 0xc4f70044, 0xc4f70042, 0xc4f70040, 0xc4f7003e,
  13865. 0xc4f7003c, 0xc4f7003b, 0xc4f70039, 0xc4f70037,
  13866. 0xc3f70044, 0xc3f70042, 0xc3f70040, 0xc3f7003e,
  13867. 0xc3f7003c, 0xc3f7003b, 0xc3f70039, 0xc3f70037,
  13868. 0xc2f70044, 0xc2f70042, 0xc2f70040, 0xc2f7003e,
  13869. 0xc2f7003c, 0xc2f7003b, 0xc2f70039, 0xc2f70037,
  13870. 0xc1f70044, 0xc1f70042, 0xc1f70040, 0xc1f7003e,
  13871. 0xc1f7003c, 0xc1f7003b, 0xc1f70039, 0xc1f70037,
  13872. 0xc0f70044, 0xc0f70042, 0xc0f70040, 0xc0f7003e,
  13873. 0xc0f7003c, 0xc0f7003b, 0xc0f70039, 0xc0f70037
  13874. };
  13875. static u32 nphy_tpc_5GHz_txgain_rev4[] = {
  13876. 0x2ff20044, 0x2ff20042, 0x2ff20040, 0x2ff2003e,
  13877. 0x2ff2003c, 0x2ff2003b, 0x2ff20039, 0x2ff20037,
  13878. 0x2ef20044, 0x2ef20042, 0x2ef20040, 0x2ef2003e,
  13879. 0x2ef2003c, 0x2ef2003b, 0x2ef20039, 0x2ef20037,
  13880. 0x2df20044, 0x2df20042, 0x2df20040, 0x2df2003e,
  13881. 0x2df2003c, 0x2df2003b, 0x2df20039, 0x2df20037,
  13882. 0x2cf20044, 0x2cf20042, 0x2cf20040, 0x2cf2003e,
  13883. 0x2cf2003c, 0x2cf2003b, 0x2cf20039, 0x2cf20037,
  13884. 0x2bf20044, 0x2bf20042, 0x2bf20040, 0x2bf2003e,
  13885. 0x2bf2003c, 0x2bf2003b, 0x2bf20039, 0x2bf20037,
  13886. 0x2af20044, 0x2af20042, 0x2af20040, 0x2af2003e,
  13887. 0x2af2003c, 0x2af2003b, 0x2af20039, 0x2af20037,
  13888. 0x29f20044, 0x29f20042, 0x29f20040, 0x29f2003e,
  13889. 0x29f2003c, 0x29f2003b, 0x29f20039, 0x29f20037,
  13890. 0x28f20044, 0x28f20042, 0x28f20040, 0x28f2003e,
  13891. 0x28f2003c, 0x28f2003b, 0x28f20039, 0x28f20037,
  13892. 0x27f20044, 0x27f20042, 0x27f20040, 0x27f2003e,
  13893. 0x27f2003c, 0x27f2003b, 0x27f20039, 0x27f20037,
  13894. 0x26f20044, 0x26f20042, 0x26f20040, 0x26f2003e,
  13895. 0x26f2003c, 0x26f2003b, 0x26f20039, 0x26f20037,
  13896. 0x25f20044, 0x25f20042, 0x25f20040, 0x25f2003e,
  13897. 0x25f2003c, 0x25f2003b, 0x25f20039, 0x25f20037,
  13898. 0x24f20044, 0x24f20042, 0x24f20040, 0x24f2003e,
  13899. 0x24f2003c, 0x24f2003b, 0x24f20039, 0x24f20038,
  13900. 0x23f20041, 0x23f20040, 0x23f2003f, 0x23f2003e,
  13901. 0x23f2003c, 0x23f2003b, 0x23f20039, 0x23f20037,
  13902. 0x22f20044, 0x22f20042, 0x22f20040, 0x22f2003e,
  13903. 0x22f2003c, 0x22f2003b, 0x22f20039, 0x22f20037,
  13904. 0x21f20044, 0x21f20042, 0x21f20040, 0x21f2003e,
  13905. 0x21f2003c, 0x21f2003b, 0x21f20039, 0x21f20037,
  13906. 0x20d20043, 0x20d20041, 0x20d2003e, 0x20d2003c,
  13907. 0x20d2003a, 0x20d20038, 0x20d20036, 0x20d20034
  13908. };
  13909. static u32 nphy_tpc_5GHz_txgain_rev5[] = {
  13910. 0x0f62004a, 0x0f620048, 0x0f620046, 0x0f620044,
  13911. 0x0f620042, 0x0f620040, 0x0f62003e, 0x0f62003c,
  13912. 0x0e620044, 0x0e620042, 0x0e620040, 0x0e62003e,
  13913. 0x0e62003c, 0x0e62003d, 0x0e62003b, 0x0e62003a,
  13914. 0x0d620043, 0x0d620041, 0x0d620040, 0x0d62003e,
  13915. 0x0d62003d, 0x0d62003c, 0x0d62003b, 0x0d62003a,
  13916. 0x0c620041, 0x0c620040, 0x0c62003f, 0x0c62003e,
  13917. 0x0c62003c, 0x0c62003b, 0x0c620039, 0x0c620037,
  13918. 0x0b620046, 0x0b620044, 0x0b620042, 0x0b620040,
  13919. 0x0b62003e, 0x0b62003c, 0x0b62003b, 0x0b62003a,
  13920. 0x0a620041, 0x0a620040, 0x0a62003e, 0x0a62003c,
  13921. 0x0a62003b, 0x0a62003a, 0x0a620039, 0x0a620038,
  13922. 0x0962003e, 0x0962003d, 0x0962003c, 0x0962003b,
  13923. 0x09620039, 0x09620037, 0x09620035, 0x09620033,
  13924. 0x08620044, 0x08620042, 0x08620040, 0x0862003e,
  13925. 0x0862003c, 0x0862003b, 0x0862003a, 0x08620039,
  13926. 0x07620043, 0x07620042, 0x07620040, 0x0762003f,
  13927. 0x0762003d, 0x0762003b, 0x0762003a, 0x07620039,
  13928. 0x0662003e, 0x0662003d, 0x0662003c, 0x0662003b,
  13929. 0x06620039, 0x06620037, 0x06620035, 0x06620033,
  13930. 0x05620046, 0x05620044, 0x05620042, 0x05620040,
  13931. 0x0562003e, 0x0562003c, 0x0562003b, 0x05620039,
  13932. 0x04620044, 0x04620042, 0x04620040, 0x0462003e,
  13933. 0x0462003c, 0x0462003b, 0x04620039, 0x04620038,
  13934. 0x0362003c, 0x0362003b, 0x0362003a, 0x03620039,
  13935. 0x03620038, 0x03620037, 0x03620035, 0x03620033,
  13936. 0x0262004c, 0x0262004a, 0x02620048, 0x02620047,
  13937. 0x02620046, 0x02620044, 0x02620043, 0x02620042,
  13938. 0x0162004a, 0x01620048, 0x01620046, 0x01620044,
  13939. 0x01620043, 0x01620042, 0x01620041, 0x01620040,
  13940. 0x00620042, 0x00620040, 0x0062003e, 0x0062003c,
  13941. 0x0062003b, 0x00620039, 0x00620037, 0x00620035
  13942. };
  13943. static u32 nphy_tpc_5GHz_txgain_HiPwrEPA[] = {
  13944. 0x2ff10044, 0x2ff10042, 0x2ff10040, 0x2ff1003e,
  13945. 0x2ff1003c, 0x2ff1003b, 0x2ff10039, 0x2ff10037,
  13946. 0x2ef10044, 0x2ef10042, 0x2ef10040, 0x2ef1003e,
  13947. 0x2ef1003c, 0x2ef1003b, 0x2ef10039, 0x2ef10037,
  13948. 0x2df10044, 0x2df10042, 0x2df10040, 0x2df1003e,
  13949. 0x2df1003c, 0x2df1003b, 0x2df10039, 0x2df10037,
  13950. 0x2cf10044, 0x2cf10042, 0x2cf10040, 0x2cf1003e,
  13951. 0x2cf1003c, 0x2cf1003b, 0x2cf10039, 0x2cf10037,
  13952. 0x2bf10044, 0x2bf10042, 0x2bf10040, 0x2bf1003e,
  13953. 0x2bf1003c, 0x2bf1003b, 0x2bf10039, 0x2bf10037,
  13954. 0x2af10044, 0x2af10042, 0x2af10040, 0x2af1003e,
  13955. 0x2af1003c, 0x2af1003b, 0x2af10039, 0x2af10037,
  13956. 0x29f10044, 0x29f10042, 0x29f10040, 0x29f1003e,
  13957. 0x29f1003c, 0x29f1003b, 0x29f10039, 0x29f10037,
  13958. 0x28f10044, 0x28f10042, 0x28f10040, 0x28f1003e,
  13959. 0x28f1003c, 0x28f1003b, 0x28f10039, 0x28f10037,
  13960. 0x27f10044, 0x27f10042, 0x27f10040, 0x27f1003e,
  13961. 0x27f1003c, 0x27f1003b, 0x27f10039, 0x27f10037,
  13962. 0x26f10044, 0x26f10042, 0x26f10040, 0x26f1003e,
  13963. 0x26f1003c, 0x26f1003b, 0x26f10039, 0x26f10037,
  13964. 0x25f10044, 0x25f10042, 0x25f10040, 0x25f1003e,
  13965. 0x25f1003c, 0x25f1003b, 0x25f10039, 0x25f10037,
  13966. 0x24f10044, 0x24f10042, 0x24f10040, 0x24f1003e,
  13967. 0x24f1003c, 0x24f1003b, 0x24f10039, 0x24f10038,
  13968. 0x23f10041, 0x23f10040, 0x23f1003f, 0x23f1003e,
  13969. 0x23f1003c, 0x23f1003b, 0x23f10039, 0x23f10037,
  13970. 0x22f10044, 0x22f10042, 0x22f10040, 0x22f1003e,
  13971. 0x22f1003c, 0x22f1003b, 0x22f10039, 0x22f10037,
  13972. 0x21f10044, 0x21f10042, 0x21f10040, 0x21f1003e,
  13973. 0x21f1003c, 0x21f1003b, 0x21f10039, 0x21f10037,
  13974. 0x20d10043, 0x20d10041, 0x20d1003e, 0x20d1003c,
  13975. 0x20d1003a, 0x20d10038, 0x20d10036, 0x20d10034
  13976. };
  13977. static u8 ant_sw_ctrl_tbl_rev8_2o3[] = { 0x14, 0x18 };
  13978. static u8 ant_sw_ctrl_tbl_rev8[] = { 0x4, 0x8, 0x4, 0x8, 0x11, 0x12 };
  13979. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core0[] = {
  13980. 0x09, 0x0a, 0x15, 0x16, 0x09, 0x0a
  13981. };
  13982. static u8 ant_sw_ctrl_tbl_rev8_2057v7_core1[] = {
  13983. 0x09, 0x0a, 0x09, 0x0a, 0x15, 0x16
  13984. };
  13985. bool wlc_phy_bist_check_phy(struct brcms_phy_pub *pih)
  13986. {
  13987. struct brcms_phy *pi = (struct brcms_phy *) pih;
  13988. u32 phybist0, phybist1, phybist2, phybist3, phybist4;
  13989. if (NREV_GE(pi->pubpi.phy_rev, 16))
  13990. return true;
  13991. phybist0 = read_phy_reg(pi, 0x0e);
  13992. phybist1 = read_phy_reg(pi, 0x0f);
  13993. phybist2 = read_phy_reg(pi, 0xea);
  13994. phybist3 = read_phy_reg(pi, 0xeb);
  13995. phybist4 = read_phy_reg(pi, 0x156);
  13996. if ((phybist0 == 0) && (phybist1 == 0x4000) && (phybist2 == 0x1fe0) &&
  13997. (phybist3 == 0) && (phybist4 == 0))
  13998. return true;
  13999. return false;
  14000. }
  14001. static void wlc_phy_bphy_init_nphy(struct brcms_phy *pi)
  14002. {
  14003. u16 addr, val;
  14004. val = 0x1e1f;
  14005. for (addr = (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT);
  14006. addr <= (NPHY_TO_BPHY_OFF + BPHY_RSSI_LUT_END); addr++) {
  14007. write_phy_reg(pi, addr, val);
  14008. if (addr == (NPHY_TO_BPHY_OFF + 0x97))
  14009. val = 0x3e3f;
  14010. else
  14011. val -= 0x0202;
  14012. }
  14013. write_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_STEP, 0x668);
  14014. }
  14015. void
  14016. wlc_phy_table_write_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14017. u32 width, const void *data)
  14018. {
  14019. struct phytbl_info tbl;
  14020. tbl.tbl_id = id;
  14021. tbl.tbl_len = len;
  14022. tbl.tbl_offset = offset;
  14023. tbl.tbl_width = width;
  14024. tbl.tbl_ptr = data;
  14025. wlc_phy_write_table_nphy(pi, &tbl);
  14026. }
  14027. void
  14028. wlc_phy_table_read_nphy(struct brcms_phy *pi, u32 id, u32 len, u32 offset,
  14029. u32 width, void *data)
  14030. {
  14031. struct phytbl_info tbl;
  14032. tbl.tbl_id = id;
  14033. tbl.tbl_len = len;
  14034. tbl.tbl_offset = offset;
  14035. tbl.tbl_width = width;
  14036. tbl.tbl_ptr = data;
  14037. wlc_phy_read_table_nphy(pi, &tbl);
  14038. }
  14039. static void
  14040. wlc_phy_static_table_download_nphy(struct brcms_phy *pi)
  14041. {
  14042. uint idx;
  14043. if (NREV_GE(pi->pubpi.phy_rev, 16)) {
  14044. for (idx = 0; idx < mimophytbl_info_sz_rev16; idx++)
  14045. wlc_phy_write_table_nphy(pi,
  14046. &mimophytbl_info_rev16[idx]);
  14047. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14048. for (idx = 0; idx < mimophytbl_info_sz_rev7; idx++)
  14049. wlc_phy_write_table_nphy(pi,
  14050. &mimophytbl_info_rev7[idx]);
  14051. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14052. for (idx = 0; idx < mimophytbl_info_sz_rev3; idx++)
  14053. wlc_phy_write_table_nphy(pi,
  14054. &mimophytbl_info_rev3[idx]);
  14055. } else {
  14056. for (idx = 0; idx < mimophytbl_info_sz_rev0; idx++)
  14057. wlc_phy_write_table_nphy(pi,
  14058. &mimophytbl_info_rev0[idx]);
  14059. }
  14060. }
  14061. static void wlc_phy_tbl_init_nphy(struct brcms_phy *pi)
  14062. {
  14063. uint idx = 0;
  14064. u8 antswctrllut;
  14065. if (pi->phy_init_por)
  14066. wlc_phy_static_table_download_nphy(pi);
  14067. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  14068. antswctrllut = CHSPEC_IS2G(pi->radio_chanspec) ?
  14069. pi->srom_fem2g.antswctrllut : pi->srom_fem5g.
  14070. antswctrllut;
  14071. switch (antswctrllut) {
  14072. case 0:
  14073. break;
  14074. case 1:
  14075. if (pi->aa2g == 7)
  14076. wlc_phy_table_write_nphy(
  14077. pi,
  14078. NPHY_TBL_ID_ANTSWCTRLLUT,
  14079. 2, 0x21, 8,
  14080. &ant_sw_ctrl_tbl_rev8_2o3[0]);
  14081. else
  14082. wlc_phy_table_write_nphy(
  14083. pi,
  14084. NPHY_TBL_ID_ANTSWCTRLLUT,
  14085. 2, 0x21, 8,
  14086. &ant_sw_ctrl_tbl_rev8
  14087. [0]);
  14088. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14089. 2, 0x25, 8,
  14090. &ant_sw_ctrl_tbl_rev8[2]);
  14091. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14092. 2, 0x29, 8,
  14093. &ant_sw_ctrl_tbl_rev8[4]);
  14094. break;
  14095. case 2:
  14096. wlc_phy_table_write_nphy(
  14097. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14098. 2, 0x1, 8,
  14099. &ant_sw_ctrl_tbl_rev8_2057v7_core0[0]);
  14100. wlc_phy_table_write_nphy(
  14101. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14102. 2, 0x5, 8,
  14103. &ant_sw_ctrl_tbl_rev8_2057v7_core0[2]);
  14104. wlc_phy_table_write_nphy(
  14105. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14106. 2, 0x9, 8,
  14107. &ant_sw_ctrl_tbl_rev8_2057v7_core0[4]);
  14108. wlc_phy_table_write_nphy(
  14109. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14110. 2, 0x21, 8,
  14111. &ant_sw_ctrl_tbl_rev8_2057v7_core1[0]);
  14112. wlc_phy_table_write_nphy(
  14113. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14114. 2, 0x25, 8,
  14115. &ant_sw_ctrl_tbl_rev8_2057v7_core1[2]);
  14116. wlc_phy_table_write_nphy(
  14117. pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  14118. 2, 0x29, 8,
  14119. &ant_sw_ctrl_tbl_rev8_2057v7_core1[4]);
  14120. break;
  14121. default:
  14122. break;
  14123. }
  14124. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14125. for (idx = 0; idx < mimophytbl_info_sz_rev3_volatile; idx++) {
  14126. if (idx == ANT_SWCTRL_TBL_REV3_IDX) {
  14127. antswctrllut =
  14128. CHSPEC_IS2G(pi->radio_chanspec) ?
  14129. pi->srom_fem2g.antswctrllut :
  14130. pi->srom_fem5g.antswctrllut;
  14131. switch (antswctrllut) {
  14132. case 0:
  14133. wlc_phy_write_table_nphy(
  14134. pi,
  14135. &mimophytbl_info_rev3_volatile
  14136. [idx]);
  14137. break;
  14138. case 1:
  14139. wlc_phy_write_table_nphy(
  14140. pi,
  14141. &mimophytbl_info_rev3_volatile1
  14142. [idx]);
  14143. break;
  14144. case 2:
  14145. wlc_phy_write_table_nphy(
  14146. pi,
  14147. &mimophytbl_info_rev3_volatile2
  14148. [idx]);
  14149. break;
  14150. case 3:
  14151. wlc_phy_write_table_nphy(
  14152. pi,
  14153. &mimophytbl_info_rev3_volatile3
  14154. [idx]);
  14155. break;
  14156. default:
  14157. break;
  14158. }
  14159. } else {
  14160. wlc_phy_write_table_nphy(
  14161. pi,
  14162. &mimophytbl_info_rev3_volatile[idx]);
  14163. }
  14164. }
  14165. } else {
  14166. for (idx = 0; idx < mimophytbl_info_sz_rev0_volatile; idx++)
  14167. wlc_phy_write_table_nphy(pi,
  14168. &mimophytbl_info_rev0_volatile
  14169. [idx]);
  14170. }
  14171. }
  14172. static void
  14173. wlc_phy_write_txmacreg_nphy(struct brcms_phy *pi, u16 holdoff, u16 delay)
  14174. {
  14175. write_phy_reg(pi, 0x77, holdoff);
  14176. write_phy_reg(pi, 0xb4, delay);
  14177. }
  14178. void wlc_phy_nphy_tkip_rifs_war(struct brcms_phy *pi, u8 rifs)
  14179. {
  14180. u16 holdoff, delay;
  14181. if (rifs) {
  14182. holdoff = 0x10;
  14183. delay = 0x258;
  14184. } else {
  14185. holdoff = 0x15;
  14186. delay = 0x320;
  14187. }
  14188. wlc_phy_write_txmacreg_nphy(pi, holdoff, delay);
  14189. if (pi && pi->sh && (pi->sh->_rifs_phy != rifs))
  14190. pi->sh->_rifs_phy = rifs;
  14191. }
  14192. static void wlc_phy_txpwrctrl_config_nphy(struct brcms_phy *pi)
  14193. {
  14194. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  14195. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14196. pi->phy_5g_pwrgain = true;
  14197. return;
  14198. }
  14199. pi->nphy_txpwrctrl = PHY_TPC_HW_OFF;
  14200. pi->phy_5g_pwrgain = false;
  14201. if ((pi->sh->boardflags2 & BFL2_TXPWRCTRL_EN) &&
  14202. NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4))
  14203. pi->nphy_txpwrctrl = PHY_TPC_HW_ON;
  14204. else if ((pi->sh->sromrev >= 4)
  14205. && (pi->sh->boardflags2 & BFL2_5G_PWRGAIN))
  14206. pi->phy_5g_pwrgain = true;
  14207. }
  14208. static void wlc_phy_txpwr_srom_read_ppr_nphy(struct brcms_phy *pi)
  14209. {
  14210. u16 bw40po, cddpo, stbcpo, bwduppo;
  14211. uint band_num;
  14212. struct 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, u8 *events, u8 *dlys,
  14534. 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. s8 lna1G_gain_db_rev7[] = { 9, 14, 19, 24 };
  14963. s8 *lna1_gain_db = NULL;
  14964. s8 *lna1_gain_db_2 = NULL;
  14965. s8 *lna2_gain_db = NULL;
  14966. s8 tiaA_gain_db_rev7[] = { -9, -6, -3, 0, 3, 3, 3, 3, 3, 3 };
  14967. s8 *tia_gain_db;
  14968. s8 tiaA_gainbits_rev7[] = { 0, 1, 2, 3, 4, 4, 4, 4, 4, 4 };
  14969. s8 *tia_gainbits;
  14970. u16 rfseqA_init_gain_rev7[] = { 0x624f, 0x624f };
  14971. 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. s8 lna1A_gain_db_rev7[] = { 11, 16, 20, 24 };
  15019. s8 lna1A_gain_db_2_rev7[] = {
  15020. 11, 17, 22, 25};
  15021. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15022. crsminu_th = 0x3e;
  15023. lna1_gain_db = lna1A_gain_db_rev7;
  15024. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15025. lna2_gain_db = lna2A_gain_db_rev7;
  15026. } else if ((freq >= 5500) && (freq <= 5700)) {
  15027. s8 lna1A_gain_db_rev7[] = { 11, 17, 21, 25 };
  15028. s8 lna1A_gain_db_2_rev7[] = {
  15029. 12, 18, 22, 26};
  15030. s8 lna2A_gain_db_rev7[] = { 1, 8, 12, 16 };
  15031. crsminu_th = 0x45;
  15032. clip1md_gaincode_B = 0x14;
  15033. nbclip_th = 0xff;
  15034. chg_nbclip_th = 1;
  15035. lna1_gain_db = lna1A_gain_db_rev7;
  15036. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15037. lna2_gain_db = lna2A_gain_db_rev7;
  15038. } else {
  15039. s8 lna1A_gain_db_rev7[] = { 12, 18, 22, 26 };
  15040. s8 lna1A_gain_db_2_rev7[] = {
  15041. 12, 18, 22, 26};
  15042. s8 lna2A_gain_db_rev7[] = { -1, 6, 10, 14 };
  15043. crsminu_th = 0x41;
  15044. lna1_gain_db = lna1A_gain_db_rev7;
  15045. lna1_gain_db_2 = lna1A_gain_db_2_rev7;
  15046. lna2_gain_db = lna2A_gain_db_rev7;
  15047. }
  15048. if (freq <= 4920) {
  15049. nvar_baseline_offset0 = 5;
  15050. nvar_baseline_offset1 = 5;
  15051. } else if ((freq > 4920) && (freq <= 5320)) {
  15052. nvar_baseline_offset0 = 3;
  15053. nvar_baseline_offset1 = 5;
  15054. } else if ((freq > 5320) && (freq <= 5700)) {
  15055. nvar_baseline_offset0 = 3;
  15056. nvar_baseline_offset1 = 2;
  15057. } else {
  15058. nvar_baseline_offset0 = 4;
  15059. nvar_baseline_offset1 = 0;
  15060. }
  15061. } else {
  15062. crsminu_th = 0x3a;
  15063. crsminl_th = 0x3a;
  15064. w1clip_th = 20;
  15065. if ((freq >= 4920) && (freq <= 5320)) {
  15066. nvar_baseline_offset0 = 4;
  15067. nvar_baseline_offset1 = 5;
  15068. } else if ((freq > 5320) && (freq <= 5550)) {
  15069. nvar_baseline_offset0 = 4;
  15070. nvar_baseline_offset1 = 2;
  15071. } else {
  15072. nvar_baseline_offset0 = 5;
  15073. nvar_baseline_offset1 = 3;
  15074. }
  15075. }
  15076. write_phy_reg(pi, 0x20, init_gaincode);
  15077. write_phy_reg(pi, 0x2a7, init_gaincode);
  15078. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15079. pi->pubpi.phy_corenum, 0x106, 16,
  15080. rfseq_init_gain);
  15081. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15082. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15083. write_phy_reg(pi, 0x36, clip1md_gaincode_B);
  15084. write_phy_reg(pi, 0x2ac, clip1md_gaincode_B);
  15085. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15086. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15087. write_phy_reg(pi, 0x38, clip1lo_gaincode_B);
  15088. write_phy_reg(pi, 0x2ae, clip1lo_gaincode_B);
  15089. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20, 8,
  15090. tia_gain_db);
  15091. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20, 8,
  15092. tia_gain_db);
  15093. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20, 8,
  15094. tia_gainbits);
  15095. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20, 8,
  15096. tia_gainbits);
  15097. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15098. if (chg_nbclip_th == 1) {
  15099. write_phy_reg(pi, 0x2b, nbclip_th);
  15100. write_phy_reg(pi, 0x41, nbclip_th);
  15101. }
  15102. mod_phy_reg(pi, 0x300, (0x3f << 0), (w1clip_th << 0));
  15103. mod_phy_reg(pi, 0x301, (0x3f << 0), (w1clip_th << 0));
  15104. mod_phy_reg(pi, 0x2e4,
  15105. (0x3f << 0), (nvar_baseline_offset0 << 0));
  15106. mod_phy_reg(pi, 0x2e4,
  15107. (0x3f << 6), (nvar_baseline_offset1 << 6));
  15108. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15109. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8, 8,
  15110. lna1_gain_db);
  15111. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8, 8,
  15112. lna1_gain_db_2);
  15113. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15114. 8, lna2_gain_db);
  15115. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15116. 8, lna2_gain_db);
  15117. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15118. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15119. } else {
  15120. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15121. }
  15122. }
  15123. }
  15124. static void wlc_phy_workarounds_nphy_gainctrl(struct brcms_phy *pi)
  15125. {
  15126. u16 w1th, hpf_code, currband;
  15127. int ctr;
  15128. u8 rfseq_updategainu_events[] = {
  15129. NPHY_RFSEQ_CMD_RX_GAIN,
  15130. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15131. NPHY_RFSEQ_CMD_SET_HPF_BW
  15132. };
  15133. u8 rfseq_updategainu_dlys[] = { 10, 30, 1 };
  15134. s8 lna1G_gain_db[] = { 7, 11, 16, 23 };
  15135. s8 lna1G_gain_db_rev4[] = { 8, 12, 17, 25 };
  15136. s8 lna1G_gain_db_rev5[] = { 9, 13, 18, 26 };
  15137. s8 lna1G_gain_db_rev6[] = { 8, 13, 18, 25 };
  15138. s8 lna1G_gain_db_rev6_224B0[] = { 10, 14, 19, 27 };
  15139. s8 lna1A_gain_db[] = { 7, 11, 17, 23 };
  15140. s8 lna1A_gain_db_rev4[] = { 8, 12, 18, 23 };
  15141. s8 lna1A_gain_db_rev5[] = { 6, 10, 16, 21 };
  15142. s8 lna1A_gain_db_rev6[] = { 6, 10, 16, 21 };
  15143. s8 *lna1_gain_db = NULL;
  15144. s8 lna2G_gain_db[] = { -5, 6, 10, 14 };
  15145. s8 lna2G_gain_db_rev5[] = { -3, 7, 11, 16 };
  15146. s8 lna2G_gain_db_rev6[] = { -5, 6, 10, 14 };
  15147. s8 lna2G_gain_db_rev6_224B0[] = { -5, 6, 10, 15 };
  15148. s8 lna2A_gain_db[] = { -6, 2, 6, 10 };
  15149. s8 lna2A_gain_db_rev4[] = { -5, 2, 6, 10 };
  15150. s8 lna2A_gain_db_rev5[] = { -7, 0, 4, 8 };
  15151. s8 lna2A_gain_db_rev6[] = { -7, 0, 4, 8 };
  15152. s8 *lna2_gain_db = NULL;
  15153. s8 tiaG_gain_db[] = {
  15154. 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A };
  15155. s8 tiaA_gain_db[] = {
  15156. 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13, 0x13 };
  15157. s8 tiaA_gain_db_rev4[] = {
  15158. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15159. s8 tiaA_gain_db_rev5[] = {
  15160. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15161. s8 tiaA_gain_db_rev6[] = {
  15162. 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d };
  15163. s8 *tia_gain_db;
  15164. s8 tiaG_gainbits[] = {
  15165. 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03 };
  15166. s8 tiaA_gainbits[] = {
  15167. 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06 };
  15168. s8 tiaA_gainbits_rev4[] = {
  15169. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15170. s8 tiaA_gainbits_rev5[] = {
  15171. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15172. s8 tiaA_gainbits_rev6[] = {
  15173. 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04 };
  15174. s8 *tia_gainbits;
  15175. s8 lpf_gain_db[] = { 0x00, 0x06, 0x0c, 0x12, 0x12, 0x12 };
  15176. s8 lpf_gainbits[] = { 0x00, 0x01, 0x02, 0x03, 0x03, 0x03 };
  15177. u16 rfseqG_init_gain[] = { 0x613f, 0x613f, 0x613f, 0x613f };
  15178. u16 rfseqG_init_gain_rev4[] = { 0x513f, 0x513f, 0x513f, 0x513f };
  15179. u16 rfseqG_init_gain_rev5[] = { 0x413f, 0x413f, 0x413f, 0x413f };
  15180. u16 rfseqG_init_gain_rev5_elna[] = {
  15181. 0x013f, 0x013f, 0x013f, 0x013f };
  15182. u16 rfseqG_init_gain_rev6[] = { 0x513f, 0x513f };
  15183. u16 rfseqG_init_gain_rev6_224B0[] = { 0x413f, 0x413f };
  15184. u16 rfseqG_init_gain_rev6_elna[] = { 0x113f, 0x113f };
  15185. u16 rfseqA_init_gain[] = { 0x516f, 0x516f, 0x516f, 0x516f };
  15186. u16 rfseqA_init_gain_rev4[] = { 0x614f, 0x614f, 0x614f, 0x614f };
  15187. u16 rfseqA_init_gain_rev4_elna[] = {
  15188. 0x314f, 0x314f, 0x314f, 0x314f };
  15189. u16 rfseqA_init_gain_rev5[] = { 0x714f, 0x714f, 0x714f, 0x714f };
  15190. u16 rfseqA_init_gain_rev6[] = { 0x714f, 0x714f };
  15191. u16 *rfseq_init_gain;
  15192. u16 initG_gaincode = 0x627e;
  15193. u16 initG_gaincode_rev4 = 0x527e;
  15194. u16 initG_gaincode_rev5 = 0x427e;
  15195. u16 initG_gaincode_rev5_elna = 0x027e;
  15196. u16 initG_gaincode_rev6 = 0x527e;
  15197. u16 initG_gaincode_rev6_224B0 = 0x427e;
  15198. u16 initG_gaincode_rev6_elna = 0x127e;
  15199. u16 initA_gaincode = 0x52de;
  15200. u16 initA_gaincode_rev4 = 0x629e;
  15201. u16 initA_gaincode_rev4_elna = 0x329e;
  15202. u16 initA_gaincode_rev5 = 0x729e;
  15203. u16 initA_gaincode_rev6 = 0x729e;
  15204. u16 init_gaincode;
  15205. u16 clip1hiG_gaincode = 0x107e;
  15206. u16 clip1hiG_gaincode_rev4 = 0x007e;
  15207. u16 clip1hiG_gaincode_rev5 = 0x1076;
  15208. u16 clip1hiG_gaincode_rev6 = 0x007e;
  15209. u16 clip1hiA_gaincode = 0x00de;
  15210. u16 clip1hiA_gaincode_rev4 = 0x029e;
  15211. u16 clip1hiA_gaincode_rev5 = 0x029e;
  15212. u16 clip1hiA_gaincode_rev6 = 0x029e;
  15213. u16 clip1hi_gaincode;
  15214. u16 clip1mdG_gaincode = 0x0066;
  15215. u16 clip1mdA_gaincode = 0x00ca;
  15216. u16 clip1mdA_gaincode_rev4 = 0x1084;
  15217. u16 clip1mdA_gaincode_rev5 = 0x2084;
  15218. u16 clip1mdA_gaincode_rev6 = 0x2084;
  15219. u16 clip1md_gaincode = 0;
  15220. u16 clip1loG_gaincode = 0x0074;
  15221. u16 clip1loG_gaincode_rev5[] = {
  15222. 0x0062, 0x0064, 0x006a, 0x106a, 0x106c, 0x1074, 0x107c, 0x207c
  15223. };
  15224. u16 clip1loG_gaincode_rev6[] = {
  15225. 0x106a, 0x106c, 0x1074, 0x107c, 0x007e, 0x107e, 0x207e, 0x307e
  15226. };
  15227. u16 clip1loG_gaincode_rev6_224B0 = 0x1074;
  15228. u16 clip1loA_gaincode = 0x00cc;
  15229. u16 clip1loA_gaincode_rev4 = 0x0086;
  15230. u16 clip1loA_gaincode_rev5 = 0x2086;
  15231. u16 clip1loA_gaincode_rev6 = 0x2086;
  15232. u16 clip1lo_gaincode;
  15233. u8 crsminG_th = 0x18;
  15234. u8 crsminG_th_rev5 = 0x18;
  15235. u8 crsminG_th_rev6 = 0x18;
  15236. u8 crsminA_th = 0x1e;
  15237. u8 crsminA_th_rev4 = 0x24;
  15238. u8 crsminA_th_rev5 = 0x24;
  15239. u8 crsminA_th_rev6 = 0x24;
  15240. u8 crsmin_th;
  15241. u8 crsminlG_th = 0x18;
  15242. u8 crsminlG_th_rev5 = 0x18;
  15243. u8 crsminlG_th_rev6 = 0x18;
  15244. u8 crsminlA_th = 0x1e;
  15245. u8 crsminlA_th_rev4 = 0x24;
  15246. u8 crsminlA_th_rev5 = 0x24;
  15247. u8 crsminlA_th_rev6 = 0x24;
  15248. u8 crsminl_th = 0;
  15249. u8 crsminuG_th = 0x18;
  15250. u8 crsminuG_th_rev5 = 0x18;
  15251. u8 crsminuG_th_rev6 = 0x18;
  15252. u8 crsminuA_th = 0x1e;
  15253. u8 crsminuA_th_rev4 = 0x24;
  15254. u8 crsminuA_th_rev5 = 0x24;
  15255. u8 crsminuA_th_rev6 = 0x24;
  15256. u8 crsminuA_th_rev6_224B0 = 0x2d;
  15257. u8 crsminu_th;
  15258. u16 nbclipG_th = 0x20d;
  15259. u16 nbclipG_th_rev4 = 0x1a1;
  15260. u16 nbclipG_th_rev5 = 0x1d0;
  15261. u16 nbclipG_th_rev6 = 0x1d0;
  15262. u16 nbclipA_th = 0x1a1;
  15263. u16 nbclipA_th_rev4 = 0x107;
  15264. u16 nbclipA_th_rev5 = 0x0a9;
  15265. u16 nbclipA_th_rev6 = 0x0f0;
  15266. u16 nbclip_th = 0;
  15267. u8 w1clipG_th = 5;
  15268. u8 w1clipG_th_rev5 = 9;
  15269. u8 w1clipG_th_rev6 = 5;
  15270. u8 w1clipA_th = 25, w1clip_th;
  15271. u8 rssi_gain_default = 0x50;
  15272. u8 rssiG_gain_rev6_224B0 = 0x50;
  15273. u8 rssiA_gain_rev5 = 0x90;
  15274. u8 rssiA_gain_rev6 = 0x90;
  15275. u8 rssi_gain;
  15276. u16 regval[21];
  15277. u8 triso;
  15278. triso = (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.triso :
  15279. pi->srom_fem2g.triso;
  15280. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15281. if (pi->pubpi.radiorev == 5) {
  15282. wlc_phy_workarounds_nphy_gainctrl_2057_rev5(pi);
  15283. } else if (pi->pubpi.radiorev == 7) {
  15284. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15285. mod_phy_reg(pi, 0x283, (0xff << 0), (0x44 << 0));
  15286. mod_phy_reg(pi, 0x280, (0xff << 0), (0x44 << 0));
  15287. } else if ((pi->pubpi.radiorev == 3)
  15288. || (pi->pubpi.radiorev == 8)) {
  15289. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15290. if (pi->pubpi.radiorev == 8) {
  15291. mod_phy_reg(pi, 0x283,
  15292. (0xff << 0), (0x44 << 0));
  15293. mod_phy_reg(pi, 0x280,
  15294. (0xff << 0), (0x44 << 0));
  15295. }
  15296. } else {
  15297. wlc_phy_workarounds_nphy_gainctrl_2057_rev6(pi);
  15298. }
  15299. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  15300. mod_phy_reg(pi, 0xa0, (0x1 << 6), (1 << 6));
  15301. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15302. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15303. currband =
  15304. read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  15305. if (currband == 0) {
  15306. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15307. if (pi->pubpi.radiorev == 11) {
  15308. lna1_gain_db = lna1G_gain_db_rev6_224B0;
  15309. lna2_gain_db = lna2G_gain_db_rev6_224B0;
  15310. rfseq_init_gain =
  15311. rfseqG_init_gain_rev6_224B0;
  15312. init_gaincode =
  15313. initG_gaincode_rev6_224B0;
  15314. clip1hi_gaincode =
  15315. clip1hiG_gaincode_rev6;
  15316. clip1lo_gaincode =
  15317. clip1loG_gaincode_rev6_224B0;
  15318. nbclip_th = nbclipG_th_rev6;
  15319. w1clip_th = w1clipG_th_rev6;
  15320. crsmin_th = crsminG_th_rev6;
  15321. crsminl_th = crsminlG_th_rev6;
  15322. crsminu_th = crsminuG_th_rev6;
  15323. rssi_gain = rssiG_gain_rev6_224B0;
  15324. } else {
  15325. lna1_gain_db = lna1G_gain_db_rev6;
  15326. lna2_gain_db = lna2G_gain_db_rev6;
  15327. if (pi->sh->boardflags & BFL_EXTLNA) {
  15328. rfseq_init_gain =
  15329. rfseqG_init_gain_rev6_elna;
  15330. init_gaincode =
  15331. initG_gaincode_rev6_elna;
  15332. } else {
  15333. rfseq_init_gain =
  15334. rfseqG_init_gain_rev6;
  15335. init_gaincode =
  15336. initG_gaincode_rev6;
  15337. }
  15338. clip1hi_gaincode =
  15339. clip1hiG_gaincode_rev6;
  15340. switch (triso) {
  15341. case 0:
  15342. clip1lo_gaincode =
  15343. clip1loG_gaincode_rev6
  15344. [0];
  15345. break;
  15346. case 1:
  15347. clip1lo_gaincode =
  15348. clip1loG_gaincode_rev6
  15349. [1];
  15350. break;
  15351. case 2:
  15352. clip1lo_gaincode =
  15353. clip1loG_gaincode_rev6
  15354. [2];
  15355. break;
  15356. case 3:
  15357. default:
  15358. clip1lo_gaincode =
  15359. clip1loG_gaincode_rev6
  15360. [3];
  15361. break;
  15362. case 4:
  15363. clip1lo_gaincode =
  15364. clip1loG_gaincode_rev6
  15365. [4];
  15366. break;
  15367. case 5:
  15368. clip1lo_gaincode =
  15369. clip1loG_gaincode_rev6
  15370. [5];
  15371. break;
  15372. case 6:
  15373. clip1lo_gaincode =
  15374. clip1loG_gaincode_rev6
  15375. [6];
  15376. break;
  15377. case 7:
  15378. clip1lo_gaincode =
  15379. clip1loG_gaincode_rev6
  15380. [7];
  15381. break;
  15382. }
  15383. nbclip_th = nbclipG_th_rev6;
  15384. w1clip_th = w1clipG_th_rev6;
  15385. crsmin_th = crsminG_th_rev6;
  15386. crsminl_th = crsminlG_th_rev6;
  15387. crsminu_th = crsminuG_th_rev6;
  15388. rssi_gain = rssi_gain_default;
  15389. }
  15390. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15391. lna1_gain_db = lna1G_gain_db_rev5;
  15392. lna2_gain_db = lna2G_gain_db_rev5;
  15393. if (pi->sh->boardflags & BFL_EXTLNA) {
  15394. rfseq_init_gain =
  15395. rfseqG_init_gain_rev5_elna;
  15396. init_gaincode =
  15397. initG_gaincode_rev5_elna;
  15398. } else {
  15399. rfseq_init_gain = rfseqG_init_gain_rev5;
  15400. init_gaincode = initG_gaincode_rev5;
  15401. }
  15402. clip1hi_gaincode = clip1hiG_gaincode_rev5;
  15403. switch (triso) {
  15404. case 0:
  15405. clip1lo_gaincode =
  15406. clip1loG_gaincode_rev5[0];
  15407. break;
  15408. case 1:
  15409. clip1lo_gaincode =
  15410. clip1loG_gaincode_rev5[1];
  15411. break;
  15412. case 2:
  15413. clip1lo_gaincode =
  15414. clip1loG_gaincode_rev5[2];
  15415. break;
  15416. case 3:
  15417. clip1lo_gaincode =
  15418. clip1loG_gaincode_rev5[3];
  15419. break;
  15420. case 4:
  15421. clip1lo_gaincode =
  15422. clip1loG_gaincode_rev5[4];
  15423. break;
  15424. case 5:
  15425. clip1lo_gaincode =
  15426. clip1loG_gaincode_rev5[5];
  15427. break;
  15428. case 6:
  15429. clip1lo_gaincode =
  15430. clip1loG_gaincode_rev5[6];
  15431. break;
  15432. case 7:
  15433. clip1lo_gaincode =
  15434. clip1loG_gaincode_rev5[7];
  15435. break;
  15436. default:
  15437. clip1lo_gaincode =
  15438. clip1loG_gaincode_rev5[3];
  15439. break;
  15440. }
  15441. nbclip_th = nbclipG_th_rev5;
  15442. w1clip_th = w1clipG_th_rev5;
  15443. crsmin_th = crsminG_th_rev5;
  15444. crsminl_th = crsminlG_th_rev5;
  15445. crsminu_th = crsminuG_th_rev5;
  15446. rssi_gain = rssi_gain_default;
  15447. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15448. lna1_gain_db = lna1G_gain_db_rev4;
  15449. lna2_gain_db = lna2G_gain_db;
  15450. rfseq_init_gain = rfseqG_init_gain_rev4;
  15451. init_gaincode = initG_gaincode_rev4;
  15452. clip1hi_gaincode = clip1hiG_gaincode_rev4;
  15453. clip1lo_gaincode = clip1loG_gaincode;
  15454. nbclip_th = nbclipG_th_rev4;
  15455. w1clip_th = w1clipG_th;
  15456. crsmin_th = crsminG_th;
  15457. crsminl_th = crsminlG_th;
  15458. crsminu_th = crsminuG_th;
  15459. rssi_gain = rssi_gain_default;
  15460. } else {
  15461. lna1_gain_db = lna1G_gain_db;
  15462. lna2_gain_db = lna2G_gain_db;
  15463. rfseq_init_gain = rfseqG_init_gain;
  15464. init_gaincode = initG_gaincode;
  15465. clip1hi_gaincode = clip1hiG_gaincode;
  15466. clip1lo_gaincode = clip1loG_gaincode;
  15467. nbclip_th = nbclipG_th;
  15468. w1clip_th = w1clipG_th;
  15469. crsmin_th = crsminG_th;
  15470. crsminl_th = crsminlG_th;
  15471. crsminu_th = crsminuG_th;
  15472. rssi_gain = rssi_gain_default;
  15473. }
  15474. tia_gain_db = tiaG_gain_db;
  15475. tia_gainbits = tiaG_gainbits;
  15476. clip1md_gaincode = clip1mdG_gaincode;
  15477. } else {
  15478. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  15479. lna1_gain_db = lna1A_gain_db_rev6;
  15480. lna2_gain_db = lna2A_gain_db_rev6;
  15481. tia_gain_db = tiaA_gain_db_rev6;
  15482. tia_gainbits = tiaA_gainbits_rev6;
  15483. rfseq_init_gain = rfseqA_init_gain_rev6;
  15484. init_gaincode = initA_gaincode_rev6;
  15485. clip1hi_gaincode = clip1hiA_gaincode_rev6;
  15486. clip1md_gaincode = clip1mdA_gaincode_rev6;
  15487. clip1lo_gaincode = clip1loA_gaincode_rev6;
  15488. crsmin_th = crsminA_th_rev6;
  15489. crsminl_th = crsminlA_th_rev6;
  15490. if ((pi->pubpi.radiorev == 11) &&
  15491. (CHSPEC_IS40(pi->radio_chanspec) == 0))
  15492. crsminu_th = crsminuA_th_rev6_224B0;
  15493. else
  15494. crsminu_th = crsminuA_th_rev6;
  15495. nbclip_th = nbclipA_th_rev6;
  15496. rssi_gain = rssiA_gain_rev6;
  15497. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  15498. lna1_gain_db = lna1A_gain_db_rev5;
  15499. lna2_gain_db = lna2A_gain_db_rev5;
  15500. tia_gain_db = tiaA_gain_db_rev5;
  15501. tia_gainbits = tiaA_gainbits_rev5;
  15502. rfseq_init_gain = rfseqA_init_gain_rev5;
  15503. init_gaincode = initA_gaincode_rev5;
  15504. clip1hi_gaincode = clip1hiA_gaincode_rev5;
  15505. clip1md_gaincode = clip1mdA_gaincode_rev5;
  15506. clip1lo_gaincode = clip1loA_gaincode_rev5;
  15507. crsmin_th = crsminA_th_rev5;
  15508. crsminl_th = crsminlA_th_rev5;
  15509. crsminu_th = crsminuA_th_rev5;
  15510. nbclip_th = nbclipA_th_rev5;
  15511. rssi_gain = rssiA_gain_rev5;
  15512. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  15513. lna1_gain_db = lna1A_gain_db_rev4;
  15514. lna2_gain_db = lna2A_gain_db_rev4;
  15515. tia_gain_db = tiaA_gain_db_rev4;
  15516. tia_gainbits = tiaA_gainbits_rev4;
  15517. if (pi->sh->boardflags & BFL_EXTLNA_5GHz) {
  15518. rfseq_init_gain =
  15519. rfseqA_init_gain_rev4_elna;
  15520. init_gaincode =
  15521. initA_gaincode_rev4_elna;
  15522. } else {
  15523. rfseq_init_gain = rfseqA_init_gain_rev4;
  15524. init_gaincode = initA_gaincode_rev4;
  15525. }
  15526. clip1hi_gaincode = clip1hiA_gaincode_rev4;
  15527. clip1md_gaincode = clip1mdA_gaincode_rev4;
  15528. clip1lo_gaincode = clip1loA_gaincode_rev4;
  15529. crsmin_th = crsminA_th_rev4;
  15530. crsminl_th = crsminlA_th_rev4;
  15531. crsminu_th = crsminuA_th_rev4;
  15532. nbclip_th = nbclipA_th_rev4;
  15533. rssi_gain = rssi_gain_default;
  15534. } else {
  15535. lna1_gain_db = lna1A_gain_db;
  15536. lna2_gain_db = lna2A_gain_db;
  15537. tia_gain_db = tiaA_gain_db;
  15538. tia_gainbits = tiaA_gainbits;
  15539. rfseq_init_gain = rfseqA_init_gain;
  15540. init_gaincode = initA_gaincode;
  15541. clip1hi_gaincode = clip1hiA_gaincode;
  15542. clip1md_gaincode = clip1mdA_gaincode;
  15543. clip1lo_gaincode = clip1loA_gaincode;
  15544. crsmin_th = crsminA_th;
  15545. crsminl_th = crsminlA_th;
  15546. crsminu_th = crsminuA_th;
  15547. nbclip_th = nbclipA_th;
  15548. rssi_gain = rssi_gain_default;
  15549. }
  15550. w1clip_th = w1clipA_th;
  15551. }
  15552. write_radio_reg(pi,
  15553. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15554. RADIO_2056_RX0), 0x17);
  15555. write_radio_reg(pi,
  15556. (RADIO_2056_RX_BIASPOLE_LNAG1_IDAC |
  15557. RADIO_2056_RX1), 0x17);
  15558. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX0),
  15559. 0xf0);
  15560. write_radio_reg(pi, (RADIO_2056_RX_LNAG2_IDAC | RADIO_2056_RX1),
  15561. 0xf0);
  15562. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX0),
  15563. 0x0);
  15564. write_radio_reg(pi, (RADIO_2056_RX_RSSI_POLE | RADIO_2056_RX1),
  15565. 0x0);
  15566. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX0),
  15567. rssi_gain);
  15568. write_radio_reg(pi, (RADIO_2056_RX_RSSI_GAIN | RADIO_2056_RX1),
  15569. rssi_gain);
  15570. write_radio_reg(pi,
  15571. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15572. RADIO_2056_RX0), 0x17);
  15573. write_radio_reg(pi,
  15574. (RADIO_2056_RX_BIASPOLE_LNAA1_IDAC |
  15575. RADIO_2056_RX1), 0x17);
  15576. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX0),
  15577. 0xFF);
  15578. write_radio_reg(pi, (RADIO_2056_RX_LNAA2_IDAC | RADIO_2056_RX1),
  15579. 0xFF);
  15580. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 8,
  15581. 8, lna1_gain_db);
  15582. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 8,
  15583. 8, lna1_gain_db);
  15584. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 4, 0x10,
  15585. 8, lna2_gain_db);
  15586. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 4, 0x10,
  15587. 8, lna2_gain_db);
  15588. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 10, 0x20,
  15589. 8, tia_gain_db);
  15590. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 10, 0x20,
  15591. 8, tia_gain_db);
  15592. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 10, 0x20,
  15593. 8, tia_gainbits);
  15594. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 10, 0x20,
  15595. 8, tia_gainbits);
  15596. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN1, 6, 0x40,
  15597. 8, &lpf_gain_db);
  15598. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAIN2, 6, 0x40,
  15599. 8, &lpf_gain_db);
  15600. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS1, 6, 0x40,
  15601. 8, &lpf_gainbits);
  15602. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_GAINBITS2, 6, 0x40,
  15603. 8, &lpf_gainbits);
  15604. write_phy_reg(pi, 0x20, init_gaincode);
  15605. write_phy_reg(pi, 0x2a7, init_gaincode);
  15606. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15607. pi->pubpi.phy_corenum, 0x106, 16,
  15608. rfseq_init_gain);
  15609. write_phy_reg(pi, 0x22, clip1hi_gaincode);
  15610. write_phy_reg(pi, 0x2a9, clip1hi_gaincode);
  15611. write_phy_reg(pi, 0x24, clip1md_gaincode);
  15612. write_phy_reg(pi, 0x2ab, clip1md_gaincode);
  15613. write_phy_reg(pi, 0x37, clip1lo_gaincode);
  15614. write_phy_reg(pi, 0x2ad, clip1lo_gaincode);
  15615. mod_phy_reg(pi, 0x27d, (0xff << 0), (crsmin_th << 0));
  15616. mod_phy_reg(pi, 0x280, (0xff << 0), (crsminl_th << 0));
  15617. mod_phy_reg(pi, 0x283, (0xff << 0), (crsminu_th << 0));
  15618. write_phy_reg(pi, 0x2b, nbclip_th);
  15619. write_phy_reg(pi, 0x41, nbclip_th);
  15620. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1clip_th << 0));
  15621. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1clip_th << 0));
  15622. write_phy_reg(pi, 0x150, 0x809c);
  15623. } else {
  15624. mod_phy_reg(pi, 0x1c, (0x1 << 13), (1 << 13));
  15625. mod_phy_reg(pi, 0x32, (0x1 << 13), (1 << 13));
  15626. write_phy_reg(pi, 0x2b, 0x84);
  15627. write_phy_reg(pi, 0x41, 0x84);
  15628. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15629. write_phy_reg(pi, 0x6b, 0x2b);
  15630. write_phy_reg(pi, 0x6c, 0x2b);
  15631. write_phy_reg(pi, 0x6d, 0x9);
  15632. write_phy_reg(pi, 0x6e, 0x9);
  15633. }
  15634. w1th = NPHY_RSSICAL_W1_TARGET - 4;
  15635. mod_phy_reg(pi, 0x27, (0x3f << 0), (w1th << 0));
  15636. mod_phy_reg(pi, 0x3d, (0x3f << 0), (w1th << 0));
  15637. if (CHSPEC_IS20(pi->radio_chanspec)) {
  15638. mod_phy_reg(pi, 0x1c, (0x1f << 0), (0x1 << 0));
  15639. mod_phy_reg(pi, 0x32, (0x1f << 0), (0x1 << 0));
  15640. mod_phy_reg(pi, 0x1d, (0x1f << 0), (0x1 << 0));
  15641. mod_phy_reg(pi, 0x33, (0x1f << 0), (0x1 << 0));
  15642. }
  15643. write_phy_reg(pi, 0x150, 0x809c);
  15644. if (pi->nphy_gain_boost)
  15645. if ((CHSPEC_IS2G(pi->radio_chanspec)) &&
  15646. (CHSPEC_IS40(pi->radio_chanspec)))
  15647. hpf_code = 4;
  15648. else
  15649. hpf_code = 5;
  15650. else if (CHSPEC_IS40(pi->radio_chanspec))
  15651. hpf_code = 6;
  15652. else
  15653. hpf_code = 7;
  15654. mod_phy_reg(pi, 0x20, (0x1f << 7), (hpf_code << 7));
  15655. mod_phy_reg(pi, 0x36, (0x1f << 7), (hpf_code << 7));
  15656. for (ctr = 0; ctr < 4; ctr++)
  15657. regval[ctr] = (hpf_code << 8) | 0x7c;
  15658. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15659. wlc_phy_adjust_lnagaintbl_nphy(pi);
  15660. if (pi->nphy_elna_gain_config) {
  15661. regval[0] = 0;
  15662. regval[1] = 1;
  15663. regval[2] = 1;
  15664. regval[3] = 1;
  15665. wlc_phy_table_write_nphy(pi, 2, 4, 8, 16, regval);
  15666. wlc_phy_table_write_nphy(pi, 3, 4, 8, 16, regval);
  15667. for (ctr = 0; ctr < 4; ctr++)
  15668. regval[ctr] = (hpf_code << 8) | 0x74;
  15669. wlc_phy_table_write_nphy(pi, 7, 4, 0x106, 16, regval);
  15670. }
  15671. if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  15672. for (ctr = 0; ctr < 21; ctr++)
  15673. regval[ctr] = 3 * ctr;
  15674. wlc_phy_table_write_nphy(pi, 0, 21, 32, 16, regval);
  15675. wlc_phy_table_write_nphy(pi, 1, 21, 32, 16, regval);
  15676. for (ctr = 0; ctr < 21; ctr++)
  15677. regval[ctr] = (u16) ctr;
  15678. wlc_phy_table_write_nphy(pi, 2, 21, 32, 16, regval);
  15679. wlc_phy_table_write_nphy(pi, 3, 21, 32, 16, regval);
  15680. }
  15681. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_UPDATEGAINU,
  15682. rfseq_updategainu_events,
  15683. rfseq_updategainu_dlys,
  15684. sizeof(rfseq_updategainu_events) /
  15685. sizeof(rfseq_updategainu_events[0]));
  15686. mod_phy_reg(pi, 0x153, (0xff << 8), (90 << 8));
  15687. if (CHSPEC_IS2G(pi->radio_chanspec))
  15688. mod_phy_reg(pi,
  15689. (NPHY_TO_BPHY_OFF + BPHY_OPTIONAL_MODES),
  15690. 0x7f, 0x4);
  15691. }
  15692. }
  15693. static void wlc_phy_workarounds_nphy(struct brcms_phy *pi)
  15694. {
  15695. u8 rfseq_rx2tx_events[] = {
  15696. NPHY_RFSEQ_CMD_NOP,
  15697. NPHY_RFSEQ_CMD_RXG_FBW,
  15698. NPHY_RFSEQ_CMD_TR_SWITCH,
  15699. NPHY_RFSEQ_CMD_CLR_HIQ_DIS,
  15700. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15701. NPHY_RFSEQ_CMD_TX_GAIN,
  15702. NPHY_RFSEQ_CMD_EXT_PA
  15703. };
  15704. u8 rfseq_rx2tx_dlys[] = { 8, 6, 6, 2, 4, 60, 1 };
  15705. u8 rfseq_tx2rx_events[] = {
  15706. NPHY_RFSEQ_CMD_NOP,
  15707. NPHY_RFSEQ_CMD_EXT_PA,
  15708. NPHY_RFSEQ_CMD_TX_GAIN,
  15709. NPHY_RFSEQ_CMD_RXPD_TXPD,
  15710. NPHY_RFSEQ_CMD_TR_SWITCH,
  15711. NPHY_RFSEQ_CMD_RXG_FBW,
  15712. NPHY_RFSEQ_CMD_CLR_HIQ_DIS
  15713. };
  15714. u8 rfseq_tx2rx_dlys[] = { 8, 6, 2, 4, 4, 6, 1 };
  15715. u8 rfseq_tx2rx_events_rev3[] = {
  15716. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15717. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15718. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15719. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15720. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15721. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15722. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15723. NPHY_REV3_RFSEQ_CMD_END
  15724. };
  15725. u8 rfseq_tx2rx_dlys_rev3[] = { 8, 4, 2, 2, 4, 4, 6, 1 };
  15726. u8 rfseq_rx2tx_events_rev3[] = {
  15727. NPHY_REV3_RFSEQ_CMD_NOP,
  15728. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15729. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15730. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15731. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15732. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15733. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15734. NPHY_REV3_RFSEQ_CMD_EXT_PA,
  15735. NPHY_REV3_RFSEQ_CMD_END
  15736. };
  15737. u8 rfseq_rx2tx_dlys_rev3[] = { 8, 6, 6, 4, 4, 18, 42, 1, 1 };
  15738. u8 rfseq_rx2tx_events_rev3_ipa[] = {
  15739. NPHY_REV3_RFSEQ_CMD_NOP,
  15740. NPHY_REV3_RFSEQ_CMD_RXG_FBW,
  15741. NPHY_REV3_RFSEQ_CMD_TR_SWITCH,
  15742. NPHY_REV3_RFSEQ_CMD_CLR_HIQ_DIS,
  15743. NPHY_REV3_RFSEQ_CMD_RXPD_TXPD,
  15744. NPHY_REV3_RFSEQ_CMD_TX_GAIN,
  15745. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS,
  15746. NPHY_REV3_RFSEQ_CMD_INT_PA_PU,
  15747. NPHY_REV3_RFSEQ_CMD_END
  15748. };
  15749. u8 rfseq_rx2tx_dlys_rev3_ipa[] = { 8, 6, 6, 4, 4, 16, 43, 1, 1 };
  15750. u16 rfseq_rx2tx_dacbufpu_rev7[] = { 0x10f, 0x10f };
  15751. s16 alpha0, alpha1, alpha2;
  15752. s16 beta0, beta1, beta2;
  15753. u32 leg_data_weights, ht_data_weights, nss1_data_weights,
  15754. stbc_data_weights;
  15755. u8 chan_freq_range = 0;
  15756. u16 dac_control = 0x0002;
  15757. u16 aux_adc_vmid_rev7_core0[] = { 0x8e, 0x96, 0x96, 0x96 };
  15758. u16 aux_adc_vmid_rev7_core1[] = { 0x8f, 0x9f, 0x9f, 0x96 };
  15759. u16 aux_adc_vmid_rev4[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15760. u16 aux_adc_vmid_rev3[] = { 0xa2, 0xb4, 0xb4, 0x89 };
  15761. u16 *aux_adc_vmid;
  15762. u16 aux_adc_gain_rev7[] = { 0x02, 0x02, 0x02, 0x02 };
  15763. u16 aux_adc_gain_rev4[] = { 0x02, 0x02, 0x02, 0x00 };
  15764. u16 aux_adc_gain_rev3[] = { 0x02, 0x02, 0x02, 0x00 };
  15765. u16 *aux_adc_gain;
  15766. u16 sk_adc_vmid[] = { 0xb4, 0xb4, 0xb4, 0x24 };
  15767. u16 sk_adc_gain[] = { 0x02, 0x02, 0x02, 0x02 };
  15768. s32 min_nvar_val = 0x18d;
  15769. s32 min_nvar_offset_6mbps = 20;
  15770. u8 pdetrange;
  15771. u8 triso;
  15772. u16 regval;
  15773. u16 afectrl_adc_ctrl1_rev7 = 0x20;
  15774. u16 afectrl_adc_ctrl2_rev7 = 0x0;
  15775. u16 rfseq_rx2tx_lpf_h_hpc_rev7 = 0x77;
  15776. u16 rfseq_tx2rx_lpf_h_hpc_rev7 = 0x77;
  15777. u16 rfseq_pktgn_lpf_h_hpc_rev7 = 0x77;
  15778. u16 rfseq_htpktgn_lpf_hpc_rev7[] = { 0x77, 0x11, 0x11 };
  15779. u16 rfseq_pktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15780. u16 rfseq_cckpktgn_lpf_hpc_rev7[] = { 0x11, 0x11 };
  15781. u16 ipalvlshift_3p3_war_en = 0;
  15782. u16 rccal_bcap_val, rccal_scap_val;
  15783. u16 rccal_tx20_11b_bcap = 0;
  15784. u16 rccal_tx20_11b_scap = 0;
  15785. u16 rccal_tx20_11n_bcap = 0;
  15786. u16 rccal_tx20_11n_scap = 0;
  15787. u16 rccal_tx40_11n_bcap = 0;
  15788. u16 rccal_tx40_11n_scap = 0;
  15789. u16 rx2tx_lpf_rc_lut_tx20_11b = 0;
  15790. u16 rx2tx_lpf_rc_lut_tx20_11n = 0;
  15791. u16 rx2tx_lpf_rc_lut_tx40_11n = 0;
  15792. u16 tx_lpf_bw_ofdm_20mhz = 0;
  15793. u16 tx_lpf_bw_ofdm_40mhz = 0;
  15794. u16 tx_lpf_bw_11b = 0;
  15795. u16 ipa2g_mainbias, ipa2g_casconv, ipa2g_biasfilt;
  15796. u16 txgm_idac_bleed = 0;
  15797. bool rccal_ovrd = false;
  15798. u16 freq;
  15799. int coreNum;
  15800. if (CHSPEC_IS5G(pi->radio_chanspec))
  15801. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 0);
  15802. else
  15803. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_cck_en, 1);
  15804. if (pi->phyhang_avoid)
  15805. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  15806. or_phy_reg(pi, 0xb1, NPHY_IQFlip_ADC1 | NPHY_IQFlip_ADC2);
  15807. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  15808. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  15809. mod_phy_reg(pi, 0x221, (0x1 << 4), (1 << 4));
  15810. mod_phy_reg(pi, 0x160, (0x7f << 0), (32 << 0));
  15811. mod_phy_reg(pi, 0x160, (0x7f << 8), (39 << 8));
  15812. mod_phy_reg(pi, 0x161, (0x7f << 0), (46 << 0));
  15813. mod_phy_reg(pi, 0x161, (0x7f << 8), (51 << 8));
  15814. mod_phy_reg(pi, 0x162, (0x7f << 0), (55 << 0));
  15815. mod_phy_reg(pi, 0x162, (0x7f << 8), (58 << 8));
  15816. mod_phy_reg(pi, 0x163, (0x7f << 0), (60 << 0));
  15817. mod_phy_reg(pi, 0x163, (0x7f << 8), (62 << 8));
  15818. mod_phy_reg(pi, 0x164, (0x7f << 0), (62 << 0));
  15819. mod_phy_reg(pi, 0x164, (0x7f << 8), (63 << 8));
  15820. mod_phy_reg(pi, 0x165, (0x7f << 0), (63 << 0));
  15821. mod_phy_reg(pi, 0x165, (0x7f << 8), (64 << 8));
  15822. mod_phy_reg(pi, 0x166, (0x7f << 0), (64 << 0));
  15823. mod_phy_reg(pi, 0x166, (0x7f << 8), (64 << 8));
  15824. mod_phy_reg(pi, 0x167, (0x7f << 0), (64 << 0));
  15825. mod_phy_reg(pi, 0x167, (0x7f << 8), (64 << 8));
  15826. }
  15827. if (NREV_LE(pi->pubpi.phy_rev, 8)) {
  15828. write_phy_reg(pi, 0x23f, 0x1b0);
  15829. write_phy_reg(pi, 0x240, 0x1b0);
  15830. }
  15831. if (NREV_GE(pi->pubpi.phy_rev, 8))
  15832. mod_phy_reg(pi, 0xbd, (0xff << 0), (114 << 0));
  15833. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  15834. &dac_control);
  15835. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  15836. &dac_control);
  15837. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15838. 1, 0, 32, &leg_data_weights);
  15839. leg_data_weights = leg_data_weights & 0xffffff;
  15840. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  15841. 1, 0, 32, &leg_data_weights);
  15842. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  15843. 2, 0x15e, 16,
  15844. rfseq_rx2tx_dacbufpu_rev7);
  15845. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x16e, 16,
  15846. rfseq_rx2tx_dacbufpu_rev7);
  15847. if (PHY_IPA(pi))
  15848. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  15849. rfseq_rx2tx_events_rev3_ipa,
  15850. rfseq_rx2tx_dlys_rev3_ipa,
  15851. ARRAY_SIZE(rfseq_rx2tx_events_rev3_ipa));
  15852. mod_phy_reg(pi, 0x299, (0x3 << 14), (0x1 << 14));
  15853. mod_phy_reg(pi, 0x29d, (0x3 << 14), (0x1 << 14));
  15854. tx_lpf_bw_ofdm_20mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x154);
  15855. tx_lpf_bw_ofdm_40mhz = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x159);
  15856. tx_lpf_bw_11b = wlc_phy_read_lpf_bw_ctl_nphy(pi, 0x152);
  15857. if (PHY_IPA(pi)) {
  15858. if (((pi->pubpi.radiorev == 5)
  15859. && (CHSPEC_IS40(pi->radio_chanspec) == 1))
  15860. || (pi->pubpi.radiorev == 7)
  15861. || (pi->pubpi.radiorev == 8)) {
  15862. rccal_bcap_val =
  15863. read_radio_reg(
  15864. pi,
  15865. RADIO_2057_RCCAL_BCAP_VAL);
  15866. rccal_scap_val =
  15867. read_radio_reg(
  15868. pi,
  15869. RADIO_2057_RCCAL_SCAP_VAL);
  15870. rccal_tx20_11b_bcap = rccal_bcap_val;
  15871. rccal_tx20_11b_scap = rccal_scap_val;
  15872. if ((pi->pubpi.radiorev == 5) &&
  15873. (CHSPEC_IS40(pi->radio_chanspec) == 1)) {
  15874. rccal_tx20_11n_bcap = rccal_bcap_val;
  15875. rccal_tx20_11n_scap = rccal_scap_val;
  15876. rccal_tx40_11n_bcap = 0xc;
  15877. rccal_tx40_11n_scap = 0xc;
  15878. rccal_ovrd = true;
  15879. } else if ((pi->pubpi.radiorev == 7)
  15880. || (pi->pubpi.radiorev == 8)) {
  15881. tx_lpf_bw_ofdm_20mhz = 4;
  15882. tx_lpf_bw_11b = 1;
  15883. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  15884. rccal_tx20_11n_bcap = 0xc;
  15885. rccal_tx20_11n_scap = 0xc;
  15886. rccal_tx40_11n_bcap = 0xa;
  15887. rccal_tx40_11n_scap = 0xa;
  15888. } else {
  15889. rccal_tx20_11n_bcap = 0x14;
  15890. rccal_tx20_11n_scap = 0x14;
  15891. rccal_tx40_11n_bcap = 0xf;
  15892. rccal_tx40_11n_scap = 0xf;
  15893. }
  15894. rccal_ovrd = true;
  15895. }
  15896. }
  15897. } else {
  15898. if (pi->pubpi.radiorev == 5) {
  15899. tx_lpf_bw_ofdm_20mhz = 1;
  15900. tx_lpf_bw_ofdm_40mhz = 3;
  15901. rccal_bcap_val =
  15902. read_radio_reg(
  15903. pi,
  15904. RADIO_2057_RCCAL_BCAP_VAL);
  15905. rccal_scap_val =
  15906. read_radio_reg(
  15907. pi,
  15908. RADIO_2057_RCCAL_SCAP_VAL);
  15909. rccal_tx20_11b_bcap = rccal_bcap_val;
  15910. rccal_tx20_11b_scap = rccal_scap_val;
  15911. rccal_tx20_11n_bcap = 0x13;
  15912. rccal_tx20_11n_scap = 0x11;
  15913. rccal_tx40_11n_bcap = 0x13;
  15914. rccal_tx40_11n_scap = 0x11;
  15915. rccal_ovrd = true;
  15916. }
  15917. }
  15918. if (rccal_ovrd) {
  15919. rx2tx_lpf_rc_lut_tx20_11b =
  15920. (rccal_tx20_11b_bcap << 8) |
  15921. (rccal_tx20_11b_scap << 3) |
  15922. tx_lpf_bw_11b;
  15923. rx2tx_lpf_rc_lut_tx20_11n =
  15924. (rccal_tx20_11n_bcap << 8) |
  15925. (rccal_tx20_11n_scap << 3) |
  15926. tx_lpf_bw_ofdm_20mhz;
  15927. rx2tx_lpf_rc_lut_tx40_11n =
  15928. (rccal_tx40_11n_bcap << 8) |
  15929. (rccal_tx40_11n_scap << 3) |
  15930. tx_lpf_bw_ofdm_40mhz;
  15931. for (coreNum = 0; coreNum <= 1; coreNum++) {
  15932. wlc_phy_table_write_nphy(
  15933. pi, NPHY_TBL_ID_RFSEQ,
  15934. 1,
  15935. 0x152 + coreNum * 0x10,
  15936. 16,
  15937. &rx2tx_lpf_rc_lut_tx20_11b);
  15938. wlc_phy_table_write_nphy(
  15939. pi, NPHY_TBL_ID_RFSEQ,
  15940. 1,
  15941. 0x153 + coreNum * 0x10,
  15942. 16,
  15943. &rx2tx_lpf_rc_lut_tx20_11n);
  15944. wlc_phy_table_write_nphy(
  15945. pi, NPHY_TBL_ID_RFSEQ,
  15946. 1,
  15947. 0x154 + coreNum * 0x10,
  15948. 16,
  15949. &rx2tx_lpf_rc_lut_tx20_11n);
  15950. wlc_phy_table_write_nphy(
  15951. pi, NPHY_TBL_ID_RFSEQ,
  15952. 1,
  15953. 0x155 + coreNum * 0x10,
  15954. 16,
  15955. &rx2tx_lpf_rc_lut_tx40_11n);
  15956. wlc_phy_table_write_nphy(
  15957. pi, NPHY_TBL_ID_RFSEQ,
  15958. 1,
  15959. 0x156 + coreNum * 0x10,
  15960. 16,
  15961. &rx2tx_lpf_rc_lut_tx40_11n);
  15962. wlc_phy_table_write_nphy(
  15963. pi, NPHY_TBL_ID_RFSEQ,
  15964. 1,
  15965. 0x157 + coreNum * 0x10,
  15966. 16,
  15967. &rx2tx_lpf_rc_lut_tx40_11n);
  15968. wlc_phy_table_write_nphy(
  15969. pi, NPHY_TBL_ID_RFSEQ,
  15970. 1,
  15971. 0x158 + coreNum * 0x10,
  15972. 16,
  15973. &rx2tx_lpf_rc_lut_tx40_11n);
  15974. wlc_phy_table_write_nphy(
  15975. pi, NPHY_TBL_ID_RFSEQ,
  15976. 1,
  15977. 0x159 + coreNum * 0x10,
  15978. 16,
  15979. &rx2tx_lpf_rc_lut_tx40_11n);
  15980. }
  15981. wlc_phy_rfctrl_override_nphy_rev7(
  15982. pi, (0x1 << 4),
  15983. 1, 0x3, 0,
  15984. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  15985. }
  15986. write_phy_reg(pi, 0x32f, 0x3);
  15987. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  15988. wlc_phy_rfctrl_override_nphy_rev7(
  15989. pi, (0x1 << 2),
  15990. 1, 0x3, 0,
  15991. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  15992. if ((pi->pubpi.radiorev == 3) || (pi->pubpi.radiorev == 4) ||
  15993. (pi->pubpi.radiorev == 6)) {
  15994. if ((pi->sh->sromrev >= 8)
  15995. && (pi->sh->boardflags2 & BFL2_IPALVLSHIFT_3P3))
  15996. ipalvlshift_3p3_war_en = 1;
  15997. if (ipalvlshift_3p3_war_en) {
  15998. write_radio_reg(pi, RADIO_2057_GPAIO_CONFIG,
  15999. 0x5);
  16000. write_radio_reg(pi, RADIO_2057_GPAIO_SEL1,
  16001. 0x30);
  16002. write_radio_reg(pi, RADIO_2057_GPAIO_SEL0, 0x0);
  16003. or_radio_reg(pi,
  16004. RADIO_2057_RXTXBIAS_CONFIG_CORE0,
  16005. 0x1);
  16006. or_radio_reg(pi,
  16007. RADIO_2057_RXTXBIAS_CONFIG_CORE1,
  16008. 0x1);
  16009. ipa2g_mainbias = 0x1f;
  16010. ipa2g_casconv = 0x6f;
  16011. ipa2g_biasfilt = 0xaa;
  16012. } else {
  16013. ipa2g_mainbias = 0x2b;
  16014. ipa2g_casconv = 0x7f;
  16015. ipa2g_biasfilt = 0xee;
  16016. }
  16017. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16018. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16019. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16020. coreNum, IPA2G_IMAIN,
  16021. ipa2g_mainbias);
  16022. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16023. coreNum, IPA2G_CASCONV,
  16024. ipa2g_casconv);
  16025. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16026. coreNum,
  16027. IPA2G_BIAS_FILTER,
  16028. ipa2g_biasfilt);
  16029. }
  16030. }
  16031. }
  16032. if (PHY_IPA(pi)) {
  16033. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16034. if ((pi->pubpi.radiorev == 3)
  16035. || (pi->pubpi.radiorev == 4)
  16036. || (pi->pubpi.radiorev == 6))
  16037. txgm_idac_bleed = 0x7f;
  16038. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16039. if (txgm_idac_bleed != 0)
  16040. WRITE_RADIO_REG4(
  16041. pi, RADIO_2057,
  16042. CORE, coreNum,
  16043. TXGM_IDAC_BLEED,
  16044. txgm_idac_bleed);
  16045. }
  16046. if (pi->pubpi.radiorev == 5) {
  16047. for (coreNum = 0; coreNum <= 1;
  16048. coreNum++) {
  16049. WRITE_RADIO_REG4(pi, RADIO_2057,
  16050. CORE, coreNum,
  16051. IPA2G_CASCONV,
  16052. 0x13);
  16053. WRITE_RADIO_REG4(pi, RADIO_2057,
  16054. CORE, coreNum,
  16055. IPA2G_IMAIN,
  16056. 0x1f);
  16057. WRITE_RADIO_REG4(
  16058. pi, RADIO_2057,
  16059. CORE, coreNum,
  16060. IPA2G_BIAS_FILTER,
  16061. 0xee);
  16062. WRITE_RADIO_REG4(pi, RADIO_2057,
  16063. CORE, coreNum,
  16064. PAD2G_IDACS,
  16065. 0x8a);
  16066. WRITE_RADIO_REG4(
  16067. pi, RADIO_2057,
  16068. CORE, coreNum,
  16069. PAD_BIAS_FILTER_BWS,
  16070. 0x3e);
  16071. }
  16072. } else if ((pi->pubpi.radiorev == 7)
  16073. || (pi->pubpi.radiorev == 8)) {
  16074. if (CHSPEC_IS40(pi->radio_chanspec) ==
  16075. 0) {
  16076. WRITE_RADIO_REG4(pi, RADIO_2057,
  16077. CORE, 0,
  16078. IPA2G_IMAIN,
  16079. 0x14);
  16080. WRITE_RADIO_REG4(pi, RADIO_2057,
  16081. CORE, 1,
  16082. IPA2G_IMAIN,
  16083. 0x12);
  16084. } else {
  16085. WRITE_RADIO_REG4(pi, RADIO_2057,
  16086. CORE, 0,
  16087. IPA2G_IMAIN,
  16088. 0x16);
  16089. WRITE_RADIO_REG4(pi, RADIO_2057,
  16090. CORE, 1,
  16091. IPA2G_IMAIN,
  16092. 0x16);
  16093. }
  16094. }
  16095. } else {
  16096. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(
  16097. pi->radio_chanspec));
  16098. if (((freq >= 5180) && (freq <= 5230))
  16099. || ((freq >= 5745) && (freq <= 5805))) {
  16100. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16101. 0, IPA5G_BIAS_FILTER,
  16102. 0xff);
  16103. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16104. 1, IPA5G_BIAS_FILTER,
  16105. 0xff);
  16106. }
  16107. }
  16108. } else {
  16109. if (pi->pubpi.radiorev != 5) {
  16110. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16111. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16112. coreNum,
  16113. TXMIX2G_TUNE_BOOST_PU,
  16114. 0x61);
  16115. WRITE_RADIO_REG4(pi, RADIO_2057, CORE,
  16116. coreNum,
  16117. TXGM_IDAC_BLEED, 0x70);
  16118. }
  16119. }
  16120. }
  16121. if (pi->pubpi.radiorev == 4) {
  16122. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16123. 0x05, 16,
  16124. &afectrl_adc_ctrl1_rev7);
  16125. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16126. 0x15, 16,
  16127. &afectrl_adc_ctrl1_rev7);
  16128. for (coreNum = 0; coreNum <= 1; coreNum++) {
  16129. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16130. AFE_VCM_CAL_MASTER, 0x0);
  16131. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16132. AFE_SET_VCM_I, 0x3f);
  16133. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  16134. AFE_SET_VCM_Q, 0x3f);
  16135. }
  16136. } else {
  16137. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  16138. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  16139. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  16140. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  16141. mod_phy_reg(pi, 0xa6, (0x1 << 0), 0);
  16142. mod_phy_reg(pi, 0x8f, (0x1 << 0), (0x1 << 0));
  16143. mod_phy_reg(pi, 0xa7, (0x1 << 0), 0);
  16144. mod_phy_reg(pi, 0xa5, (0x1 << 0), (0x1 << 0));
  16145. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16146. 0x05, 16,
  16147. &afectrl_adc_ctrl2_rev7);
  16148. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1,
  16149. 0x15, 16,
  16150. &afectrl_adc_ctrl2_rev7);
  16151. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  16152. mod_phy_reg(pi, 0x8f, (0x1 << 2), 0);
  16153. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  16154. mod_phy_reg(pi, 0xa5, (0x1 << 2), 0);
  16155. }
  16156. write_phy_reg(pi, 0x6a, 0x2);
  16157. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 256, 32,
  16158. &min_nvar_offset_6mbps);
  16159. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x138, 16,
  16160. &rfseq_pktgn_lpf_hpc_rev7);
  16161. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x141, 16,
  16162. &rfseq_pktgn_lpf_h_hpc_rev7);
  16163. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 3, 0x133, 16,
  16164. &rfseq_htpktgn_lpf_hpc_rev7);
  16165. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x146, 16,
  16166. &rfseq_cckpktgn_lpf_hpc_rev7);
  16167. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x123, 16,
  16168. &rfseq_tx2rx_lpf_h_hpc_rev7);
  16169. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 1, 0x12A, 16,
  16170. &rfseq_rx2tx_lpf_h_hpc_rev7);
  16171. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16172. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16173. 32, &min_nvar_val);
  16174. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16175. 127, 32, &min_nvar_val);
  16176. } else {
  16177. min_nvar_val = noise_var_tbl_rev7[3];
  16178. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16179. 32, &min_nvar_val);
  16180. min_nvar_val = noise_var_tbl_rev7[127];
  16181. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16182. 127, 32, &min_nvar_val);
  16183. }
  16184. wlc_phy_workarounds_nphy_gainctrl(pi);
  16185. pdetrange =
  16186. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16187. pdetrange : pi->srom_fem2g.pdetrange;
  16188. if (pdetrange == 0) {
  16189. chan_freq_range =
  16190. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16191. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16192. aux_adc_vmid_rev7_core0[3] = 0x70;
  16193. aux_adc_vmid_rev7_core1[3] = 0x70;
  16194. aux_adc_gain_rev7[3] = 2;
  16195. } else {
  16196. aux_adc_vmid_rev7_core0[3] = 0x80;
  16197. aux_adc_vmid_rev7_core1[3] = 0x80;
  16198. aux_adc_gain_rev7[3] = 3;
  16199. }
  16200. } else if (pdetrange == 1) {
  16201. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16202. aux_adc_vmid_rev7_core0[3] = 0x7c;
  16203. aux_adc_vmid_rev7_core1[3] = 0x7c;
  16204. aux_adc_gain_rev7[3] = 2;
  16205. } else {
  16206. aux_adc_vmid_rev7_core0[3] = 0x8c;
  16207. aux_adc_vmid_rev7_core1[3] = 0x8c;
  16208. aux_adc_gain_rev7[3] = 1;
  16209. }
  16210. } else if (pdetrange == 2) {
  16211. if (pi->pubpi.radioid == BCM2057_ID) {
  16212. if ((pi->pubpi.radiorev == 5)
  16213. || (pi->pubpi.radiorev == 7)
  16214. || (pi->pubpi.radiorev == 8)) {
  16215. if (chan_freq_range ==
  16216. WL_CHAN_FREQ_RANGE_2G) {
  16217. aux_adc_vmid_rev7_core0[3] =
  16218. 0x8c;
  16219. aux_adc_vmid_rev7_core1[3] =
  16220. 0x8c;
  16221. aux_adc_gain_rev7[3] = 0;
  16222. } else {
  16223. aux_adc_vmid_rev7_core0[3] =
  16224. 0x96;
  16225. aux_adc_vmid_rev7_core1[3] =
  16226. 0x96;
  16227. aux_adc_gain_rev7[3] = 0;
  16228. }
  16229. }
  16230. }
  16231. } else if (pdetrange == 3) {
  16232. if (chan_freq_range == WL_CHAN_FREQ_RANGE_2G) {
  16233. aux_adc_vmid_rev7_core0[3] = 0x89;
  16234. aux_adc_vmid_rev7_core1[3] = 0x89;
  16235. aux_adc_gain_rev7[3] = 0;
  16236. }
  16237. } else if (pdetrange == 5) {
  16238. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16239. aux_adc_vmid_rev7_core0[3] = 0x80;
  16240. aux_adc_vmid_rev7_core1[3] = 0x80;
  16241. aux_adc_gain_rev7[3] = 3;
  16242. } else {
  16243. aux_adc_vmid_rev7_core0[3] = 0x70;
  16244. aux_adc_vmid_rev7_core1[3] = 0x70;
  16245. aux_adc_gain_rev7[3] = 2;
  16246. }
  16247. }
  16248. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x08, 16,
  16249. &aux_adc_vmid_rev7_core0);
  16250. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x18, 16,
  16251. &aux_adc_vmid_rev7_core1);
  16252. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x0c, 16,
  16253. &aux_adc_gain_rev7);
  16254. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4, 0x1c, 16,
  16255. &aux_adc_gain_rev7);
  16256. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16257. write_phy_reg(pi, 0x23f, 0x1f8);
  16258. write_phy_reg(pi, 0x240, 0x1f8);
  16259. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16260. 1, 0, 32, &leg_data_weights);
  16261. leg_data_weights = leg_data_weights & 0xffffff;
  16262. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16263. 1, 0, 32, &leg_data_weights);
  16264. alpha0 = 293;
  16265. alpha1 = 435;
  16266. alpha2 = 261;
  16267. beta0 = 366;
  16268. beta1 = 205;
  16269. beta2 = 32;
  16270. write_phy_reg(pi, 0x145, alpha0);
  16271. write_phy_reg(pi, 0x146, alpha1);
  16272. write_phy_reg(pi, 0x147, alpha2);
  16273. write_phy_reg(pi, 0x148, beta0);
  16274. write_phy_reg(pi, 0x149, beta1);
  16275. write_phy_reg(pi, 0x14a, beta2);
  16276. write_phy_reg(pi, 0x38, 0xC);
  16277. write_phy_reg(pi, 0x2ae, 0xC);
  16278. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX,
  16279. rfseq_tx2rx_events_rev3,
  16280. rfseq_tx2rx_dlys_rev3,
  16281. ARRAY_SIZE(rfseq_tx2rx_events_rev3));
  16282. if (PHY_IPA(pi))
  16283. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX,
  16284. rfseq_rx2tx_events_rev3_ipa,
  16285. rfseq_rx2tx_dlys_rev3_ipa,
  16286. ARRAY_SIZE(rfseq_rx2tx_events_rev3_ipa));
  16287. if ((pi->sh->hw_phyrxchain != 0x3) &&
  16288. (pi->sh->hw_phyrxchain != pi->sh->hw_phytxchain)) {
  16289. if (PHY_IPA(pi)) {
  16290. rfseq_rx2tx_dlys_rev3[5] = 59;
  16291. rfseq_rx2tx_dlys_rev3[6] = 1;
  16292. rfseq_rx2tx_events_rev3[7] =
  16293. NPHY_REV3_RFSEQ_CMD_END;
  16294. }
  16295. wlc_phy_set_rfseq_nphy(
  16296. pi, NPHY_RFSEQ_RX2TX,
  16297. rfseq_rx2tx_events_rev3,
  16298. rfseq_rx2tx_dlys_rev3,
  16299. ARRAY_SIZE(rfseq_rx2tx_events_rev3));
  16300. }
  16301. if (CHSPEC_IS2G(pi->radio_chanspec))
  16302. write_phy_reg(pi, 0x6a, 0x2);
  16303. else
  16304. write_phy_reg(pi, 0x6a, 0x9c40);
  16305. mod_phy_reg(pi, 0x294, (0xf << 8), (7 << 8));
  16306. if (CHSPEC_IS40(pi->radio_chanspec) == 0) {
  16307. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16308. 32, &min_nvar_val);
  16309. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16310. 127, 32, &min_nvar_val);
  16311. } else {
  16312. min_nvar_val = noise_var_tbl_rev3[3];
  16313. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1, 3,
  16314. 32, &min_nvar_val);
  16315. min_nvar_val = noise_var_tbl_rev3[127];
  16316. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  16317. 127, 32, &min_nvar_val);
  16318. }
  16319. wlc_phy_workarounds_nphy_gainctrl(pi);
  16320. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x00, 16,
  16321. &dac_control);
  16322. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x10, 16,
  16323. &dac_control);
  16324. pdetrange =
  16325. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16326. pdetrange : pi->srom_fem2g.pdetrange;
  16327. if (pdetrange == 0) {
  16328. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  16329. aux_adc_vmid = aux_adc_vmid_rev4;
  16330. aux_adc_gain = aux_adc_gain_rev4;
  16331. } else {
  16332. aux_adc_vmid = aux_adc_vmid_rev3;
  16333. aux_adc_gain = aux_adc_gain_rev3;
  16334. }
  16335. chan_freq_range =
  16336. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16337. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16338. switch (chan_freq_range) {
  16339. case WL_CHAN_FREQ_RANGE_5GL:
  16340. aux_adc_vmid[3] = 0x89;
  16341. aux_adc_gain[3] = 0;
  16342. break;
  16343. case WL_CHAN_FREQ_RANGE_5GM:
  16344. aux_adc_vmid[3] = 0x89;
  16345. aux_adc_gain[3] = 0;
  16346. break;
  16347. case WL_CHAN_FREQ_RANGE_5GH:
  16348. aux_adc_vmid[3] = 0x89;
  16349. aux_adc_gain[3] = 0;
  16350. break;
  16351. default:
  16352. break;
  16353. }
  16354. }
  16355. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16356. 0x08, 16, aux_adc_vmid);
  16357. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16358. 0x18, 16, aux_adc_vmid);
  16359. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16360. 0x0c, 16, aux_adc_gain);
  16361. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16362. 0x1c, 16, aux_adc_gain);
  16363. } else if (pdetrange == 1) {
  16364. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16365. 0x08, 16, sk_adc_vmid);
  16366. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16367. 0x18, 16, sk_adc_vmid);
  16368. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16369. 0x0c, 16, sk_adc_gain);
  16370. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16371. 0x1c, 16, sk_adc_gain);
  16372. } else if (pdetrange == 2) {
  16373. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x74 };
  16374. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x04 };
  16375. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16376. chan_freq_range =
  16377. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16378. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16379. bcm_adc_vmid[3] = 0x8e;
  16380. bcm_adc_gain[3] = 0x03;
  16381. } else {
  16382. bcm_adc_vmid[3] = 0x94;
  16383. bcm_adc_gain[3] = 0x03;
  16384. }
  16385. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  16386. bcm_adc_vmid[3] = 0x84;
  16387. bcm_adc_gain[3] = 0x02;
  16388. }
  16389. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16390. 0x08, 16, bcm_adc_vmid);
  16391. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16392. 0x18, 16, bcm_adc_vmid);
  16393. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16394. 0x0c, 16, bcm_adc_gain);
  16395. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16396. 0x1c, 16, bcm_adc_gain);
  16397. } else if (pdetrange == 3) {
  16398. chan_freq_range =
  16399. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16400. if ((NREV_GE(pi->pubpi.phy_rev, 4))
  16401. && (chan_freq_range == WL_CHAN_FREQ_RANGE_2G)) {
  16402. u16 auxadc_vmid[] = {
  16403. 0xa2, 0xb4, 0xb4, 0x270
  16404. };
  16405. u16 auxadc_gain[] = {
  16406. 0x02, 0x02, 0x02, 0x00
  16407. };
  16408. wlc_phy_table_write_nphy(pi,
  16409. NPHY_TBL_ID_AFECTRL, 4,
  16410. 0x08, 16, auxadc_vmid);
  16411. wlc_phy_table_write_nphy(pi,
  16412. NPHY_TBL_ID_AFECTRL, 4,
  16413. 0x18, 16, auxadc_vmid);
  16414. wlc_phy_table_write_nphy(pi,
  16415. NPHY_TBL_ID_AFECTRL, 4,
  16416. 0x0c, 16, auxadc_gain);
  16417. wlc_phy_table_write_nphy(pi,
  16418. NPHY_TBL_ID_AFECTRL, 4,
  16419. 0x1c, 16, auxadc_gain);
  16420. }
  16421. } else if ((pdetrange == 4) || (pdetrange == 5)) {
  16422. u16 bcm_adc_vmid[] = { 0xa2, 0xb4, 0xb4, 0x0 };
  16423. u16 bcm_adc_gain[] = { 0x02, 0x02, 0x02, 0x0 };
  16424. u16 Vmid[2], Av[2];
  16425. chan_freq_range =
  16426. wlc_phy_get_chan_freq_range_nphy(pi, 0);
  16427. if (chan_freq_range != WL_CHAN_FREQ_RANGE_2G) {
  16428. Vmid[0] = (pdetrange == 4) ? 0x8e : 0x89;
  16429. Vmid[1] = (pdetrange == 4) ? 0x96 : 0x89;
  16430. Av[0] = (pdetrange == 4) ? 2 : 0;
  16431. Av[1] = (pdetrange == 4) ? 2 : 0;
  16432. } else {
  16433. Vmid[0] = (pdetrange == 4) ? 0x89 : 0x74;
  16434. Vmid[1] = (pdetrange == 4) ? 0x8b : 0x70;
  16435. Av[0] = (pdetrange == 4) ? 2 : 0;
  16436. Av[1] = (pdetrange == 4) ? 2 : 0;
  16437. }
  16438. bcm_adc_vmid[3] = Vmid[0];
  16439. bcm_adc_gain[3] = Av[0];
  16440. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16441. 0x08, 16, bcm_adc_vmid);
  16442. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16443. 0x0c, 16, bcm_adc_gain);
  16444. bcm_adc_vmid[3] = Vmid[1];
  16445. bcm_adc_gain[3] = Av[1];
  16446. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16447. 0x18, 16, bcm_adc_vmid);
  16448. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 4,
  16449. 0x1c, 16, bcm_adc_gain);
  16450. }
  16451. write_radio_reg(pi,
  16452. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX0),
  16453. 0x0);
  16454. write_radio_reg(pi,
  16455. (RADIO_2056_RX_MIXA_MAST_BIAS | RADIO_2056_RX1),
  16456. 0x0);
  16457. write_radio_reg(pi,
  16458. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX0),
  16459. 0x6);
  16460. write_radio_reg(pi,
  16461. (RADIO_2056_RX_MIXA_BIAS_MAIN | RADIO_2056_RX1),
  16462. 0x6);
  16463. write_radio_reg(pi,
  16464. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX0),
  16465. 0x7);
  16466. write_radio_reg(pi,
  16467. (RADIO_2056_RX_MIXA_BIAS_AUX | RADIO_2056_RX1),
  16468. 0x7);
  16469. write_radio_reg(pi,
  16470. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX0),
  16471. 0x88);
  16472. write_radio_reg(pi,
  16473. (RADIO_2056_RX_MIXA_LOB_BIAS | RADIO_2056_RX1),
  16474. 0x88);
  16475. write_radio_reg(pi,
  16476. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX0),
  16477. 0x0);
  16478. write_radio_reg(pi,
  16479. (RADIO_2056_RX_MIXA_CMFB_IDAC | RADIO_2056_RX1),
  16480. 0x0);
  16481. write_radio_reg(pi,
  16482. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX0),
  16483. 0x0);
  16484. write_radio_reg(pi,
  16485. (RADIO_2056_RX_MIXG_CMFB_IDAC | RADIO_2056_RX1),
  16486. 0x0);
  16487. triso =
  16488. (CHSPEC_IS5G(pi->radio_chanspec)) ? pi->srom_fem5g.
  16489. triso : pi->srom_fem2g.triso;
  16490. if (triso == 7) {
  16491. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_0);
  16492. wlc_phy_war_force_trsw_to_R_cliplo_nphy(pi, PHY_CORE_1);
  16493. }
  16494. wlc_phy_war_txchain_upd_nphy(pi, pi->sh->hw_phytxchain);
  16495. if (((pi->sh->boardflags2 & BFL2_APLL_WAR) &&
  16496. (CHSPEC_IS5G(pi->radio_chanspec))) ||
  16497. (((pi->sh->boardflags2 & BFL2_GPLL_WAR) ||
  16498. (pi->sh->boardflags2 & BFL2_GPLL_WAR2)) &&
  16499. (CHSPEC_IS2G(pi->radio_chanspec)))) {
  16500. nss1_data_weights = 0x00088888;
  16501. ht_data_weights = 0x00088888;
  16502. stbc_data_weights = 0x00088888;
  16503. } else {
  16504. nss1_data_weights = 0x88888888;
  16505. ht_data_weights = 0x88888888;
  16506. stbc_data_weights = 0x88888888;
  16507. }
  16508. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16509. 1, 1, 32, &nss1_data_weights);
  16510. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16511. 1, 2, 32, &ht_data_weights);
  16512. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CMPMETRICDATAWEIGHTTBL,
  16513. 1, 3, 32, &stbc_data_weights);
  16514. if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  16515. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  16516. write_radio_reg(pi,
  16517. RADIO_2056_TX_GMBB_IDAC |
  16518. RADIO_2056_TX0, 0x70);
  16519. write_radio_reg(pi,
  16520. RADIO_2056_TX_GMBB_IDAC |
  16521. RADIO_2056_TX1, 0x70);
  16522. }
  16523. }
  16524. if (!pi->edcrs_threshold_lock) {
  16525. write_phy_reg(pi, 0x224, 0x3eb);
  16526. write_phy_reg(pi, 0x225, 0x3eb);
  16527. write_phy_reg(pi, 0x226, 0x341);
  16528. write_phy_reg(pi, 0x227, 0x341);
  16529. write_phy_reg(pi, 0x228, 0x42b);
  16530. write_phy_reg(pi, 0x229, 0x42b);
  16531. write_phy_reg(pi, 0x22a, 0x381);
  16532. write_phy_reg(pi, 0x22b, 0x381);
  16533. write_phy_reg(pi, 0x22c, 0x42b);
  16534. write_phy_reg(pi, 0x22d, 0x42b);
  16535. write_phy_reg(pi, 0x22e, 0x381);
  16536. write_phy_reg(pi, 0x22f, 0x381);
  16537. }
  16538. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  16539. if (pi->sh->boardflags2 & BFL2_SINGLEANT_CCK)
  16540. wlapi_bmac_mhf(pi->sh->physhim, MHF4,
  16541. MHF4_BPHY_TXCORE0,
  16542. MHF4_BPHY_TXCORE0, BRCM_BAND_ALL);
  16543. }
  16544. } else {
  16545. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD ||
  16546. (pi->sh->boardtype == 0x8b)) {
  16547. uint i;
  16548. u8 war_dlys[] = { 1, 6, 6, 2, 4, 20, 1 };
  16549. for (i = 0; i < ARRAY_SIZE(rfseq_rx2tx_dlys); i++)
  16550. rfseq_rx2tx_dlys[i] = war_dlys[i];
  16551. }
  16552. if (CHSPEC_IS5G(pi->radio_chanspec) && pi->phy_5g_pwrgain) {
  16553. and_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0xf7);
  16554. and_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0xf7);
  16555. } else {
  16556. or_radio_reg(pi, RADIO_2055_CORE1_TX_RF_SPARE, 0x8);
  16557. or_radio_reg(pi, RADIO_2055_CORE2_TX_RF_SPARE, 0x8);
  16558. }
  16559. regval = 0x000a;
  16560. wlc_phy_table_write_nphy(pi, 8, 1, 0, 16, &regval);
  16561. wlc_phy_table_write_nphy(pi, 8, 1, 0x10, 16, &regval);
  16562. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16563. regval = 0xcdaa;
  16564. wlc_phy_table_write_nphy(pi, 8, 1, 0x02, 16, &regval);
  16565. wlc_phy_table_write_nphy(pi, 8, 1, 0x12, 16, &regval);
  16566. }
  16567. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16568. regval = 0x0000;
  16569. wlc_phy_table_write_nphy(pi, 8, 1, 0x08, 16, &regval);
  16570. wlc_phy_table_write_nphy(pi, 8, 1, 0x18, 16, &regval);
  16571. regval = 0x7aab;
  16572. wlc_phy_table_write_nphy(pi, 8, 1, 0x07, 16, &regval);
  16573. wlc_phy_table_write_nphy(pi, 8, 1, 0x17, 16, &regval);
  16574. regval = 0x0800;
  16575. wlc_phy_table_write_nphy(pi, 8, 1, 0x06, 16, &regval);
  16576. wlc_phy_table_write_nphy(pi, 8, 1, 0x16, 16, &regval);
  16577. }
  16578. write_phy_reg(pi, 0xf8, 0x02d8);
  16579. write_phy_reg(pi, 0xf9, 0x0301);
  16580. write_phy_reg(pi, 0xfa, 0x02d8);
  16581. write_phy_reg(pi, 0xfb, 0x0301);
  16582. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX, rfseq_rx2tx_events,
  16583. rfseq_rx2tx_dlys,
  16584. ARRAY_SIZE(rfseq_rx2tx_events));
  16585. wlc_phy_set_rfseq_nphy(pi, NPHY_RFSEQ_TX2RX, rfseq_tx2rx_events,
  16586. rfseq_tx2rx_dlys,
  16587. ARRAY_SIZE(rfseq_tx2rx_events));
  16588. wlc_phy_workarounds_nphy_gainctrl(pi);
  16589. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  16590. if (read_phy_reg(pi, 0xa0) & NPHY_MLenable)
  16591. wlapi_bmac_mhf(pi->sh->physhim, MHF3,
  16592. MHF3_NPHY_MLADV_WAR,
  16593. MHF3_NPHY_MLADV_WAR,
  16594. BRCM_BAND_ALL);
  16595. } else if (NREV_IS(pi->pubpi.phy_rev, 2)) {
  16596. write_phy_reg(pi, 0x1e3, 0x0);
  16597. write_phy_reg(pi, 0x1e4, 0x0);
  16598. }
  16599. if (NREV_LT(pi->pubpi.phy_rev, 2))
  16600. mod_phy_reg(pi, 0x90, (0x1 << 7), 0);
  16601. alpha0 = 293;
  16602. alpha1 = 435;
  16603. alpha2 = 261;
  16604. beta0 = 366;
  16605. beta1 = 205;
  16606. beta2 = 32;
  16607. write_phy_reg(pi, 0x145, alpha0);
  16608. write_phy_reg(pi, 0x146, alpha1);
  16609. write_phy_reg(pi, 0x147, alpha2);
  16610. write_phy_reg(pi, 0x148, beta0);
  16611. write_phy_reg(pi, 0x149, beta1);
  16612. write_phy_reg(pi, 0x14a, beta2);
  16613. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  16614. mod_phy_reg(pi, 0x142, (0xf << 12), 0);
  16615. write_phy_reg(pi, 0x192, 0xb5);
  16616. write_phy_reg(pi, 0x193, 0xa4);
  16617. write_phy_reg(pi, 0x194, 0x0);
  16618. }
  16619. if (NREV_IS(pi->pubpi.phy_rev, 2))
  16620. mod_phy_reg(pi, 0x221,
  16621. NPHY_FORCESIG_DECODEGATEDCLKS,
  16622. NPHY_FORCESIG_DECODEGATEDCLKS);
  16623. }
  16624. if (pi->phyhang_avoid)
  16625. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  16626. }
  16627. static void wlc_phy_extpa_set_tx_digi_filts_nphy(struct brcms_phy *pi)
  16628. {
  16629. int j, type = 2;
  16630. u16 addr_offset = 0x2c5;
  16631. for (j = 0; j < NPHY_NUM_DIG_FILT_COEFFS; j++)
  16632. write_phy_reg(pi, addr_offset + j,
  16633. NPHY_IPA_REV4_txdigi_filtcoeffs[type][j]);
  16634. }
  16635. static void wlc_phy_clip_det_nphy(struct brcms_phy *pi, u8 write, u16 *vals)
  16636. {
  16637. if (write == 0) {
  16638. vals[0] = read_phy_reg(pi, 0x2c);
  16639. vals[1] = read_phy_reg(pi, 0x42);
  16640. } else {
  16641. write_phy_reg(pi, 0x2c, vals[0]);
  16642. write_phy_reg(pi, 0x42, vals[1]);
  16643. }
  16644. }
  16645. static void wlc_phy_ipa_internal_tssi_setup_nphy(struct brcms_phy *pi)
  16646. {
  16647. u8 core;
  16648. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  16649. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16650. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16651. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16652. TX_SSI_MASTER, 0x5);
  16653. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16654. TX_SSI_MUX, 0xe);
  16655. if (pi->pubpi.radiorev != 5)
  16656. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16657. core, TSSIA, 0);
  16658. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16659. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16660. core, TSSIG, 0x1);
  16661. else
  16662. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  16663. core, TSSIG, 0x31);
  16664. } else {
  16665. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16666. TX_SSI_MASTER, 0x9);
  16667. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16668. TX_SSI_MUX, 0xc);
  16669. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  16670. TSSIG, 0);
  16671. if (pi->pubpi.radiorev != 5) {
  16672. if (!NREV_IS(pi->pubpi.phy_rev, 7))
  16673. WRITE_RADIO_REG3(pi, RADIO_2057,
  16674. TX, core,
  16675. TSSIA, 0x1);
  16676. else
  16677. WRITE_RADIO_REG3(pi, RADIO_2057,
  16678. TX, core,
  16679. TSSIA, 0x31);
  16680. }
  16681. }
  16682. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  16683. 0);
  16684. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  16685. 0);
  16686. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  16687. 0x3);
  16688. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  16689. 0x0);
  16690. }
  16691. } else {
  16692. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR31,
  16693. (CHSPEC_IS2G(pi->radio_chanspec)) ? 0x128 :
  16694. 0x80);
  16695. WRITE_RADIO_SYN(pi, RADIO_2056, RESERVED_ADDR30, 0x0);
  16696. WRITE_RADIO_SYN(pi, RADIO_2056, GPIO_MASTER1, 0x29);
  16697. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  16698. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_VCM_HG,
  16699. 0x0);
  16700. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, IQCAL_IDAC,
  16701. 0x0);
  16702. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_VCM,
  16703. 0x3);
  16704. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TX_AMP_DET,
  16705. 0x0);
  16706. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC1,
  16707. 0x8);
  16708. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC2,
  16709. 0x0);
  16710. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, TSSI_MISC3,
  16711. 0x0);
  16712. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  16713. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16714. TX_SSI_MASTER, 0x5);
  16715. if (pi->pubpi.radiorev != 5)
  16716. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16717. core, TSSIA, 0x0);
  16718. if (NREV_GE(pi->pubpi.phy_rev, 5))
  16719. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16720. core, TSSIG, 0x31);
  16721. else
  16722. WRITE_RADIO_REG2(pi, RADIO_2056, TX,
  16723. core, TSSIG, 0x11);
  16724. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16725. TX_SSI_MUX, 0xe);
  16726. } else {
  16727. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16728. TX_SSI_MASTER, 0x9);
  16729. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16730. TSSIA, 0x31);
  16731. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16732. TSSIG, 0x0);
  16733. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  16734. TX_SSI_MUX, 0xc);
  16735. }
  16736. }
  16737. }
  16738. }
  16739. static void
  16740. wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value,
  16741. u8 core_mask, u8 off)
  16742. {
  16743. u8 core_num;
  16744. u16 addr = 0, mask = 0, en_addr = 0, val_addr = 0, en_mask =
  16745. 0, val_mask = 0;
  16746. u8 shift = 0, val_shift = 0;
  16747. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  16748. en_mask = field;
  16749. for (core_num = 0; core_num < 2; core_num++) {
  16750. switch (field) {
  16751. case (0x1 << 1):
  16752. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16753. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16754. val_mask = (0x1 << 0);
  16755. val_shift = 0;
  16756. break;
  16757. case (0x1 << 2):
  16758. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16759. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16760. val_mask = (0x1 << 1);
  16761. val_shift = 1;
  16762. break;
  16763. case (0x1 << 3):
  16764. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16765. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16766. val_mask = (0x1 << 2);
  16767. val_shift = 2;
  16768. break;
  16769. case (0x1 << 4):
  16770. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16771. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16772. val_mask = (0x1 << 4);
  16773. val_shift = 4;
  16774. break;
  16775. case (0x1 << 5):
  16776. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16777. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16778. val_mask = (0x1 << 5);
  16779. val_shift = 5;
  16780. break;
  16781. case (0x1 << 6):
  16782. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16783. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16784. val_mask = (0x1 << 6);
  16785. val_shift = 6;
  16786. break;
  16787. case (0x1 << 7):
  16788. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16789. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16790. val_mask = (0x1 << 7);
  16791. val_shift = 7;
  16792. break;
  16793. case (0x1 << 8):
  16794. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16795. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16796. val_mask = (0x7 << 8);
  16797. val_shift = 8;
  16798. break;
  16799. case (0x1 << 11):
  16800. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16801. val_addr = (core_num == 0) ? 0x7a : 0x7d;
  16802. val_mask = (0x7 << 13);
  16803. val_shift = 13;
  16804. break;
  16805. case (0x1 << 9):
  16806. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16807. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16808. val_mask = (0x7 << 0);
  16809. val_shift = 0;
  16810. break;
  16811. case (0x1 << 10):
  16812. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16813. val_addr = (core_num == 0) ? 0xf8 : 0xfa;
  16814. val_mask = (0x7 << 4);
  16815. val_shift = 4;
  16816. break;
  16817. case (0x1 << 12):
  16818. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16819. val_addr = (core_num == 0) ? 0x7b : 0x7e;
  16820. val_mask = (0xffff << 0);
  16821. val_shift = 0;
  16822. break;
  16823. case (0x1 << 13):
  16824. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16825. val_addr = (core_num == 0) ? 0x7c : 0x7f;
  16826. val_mask = (0xffff << 0);
  16827. val_shift = 0;
  16828. break;
  16829. case (0x1 << 14):
  16830. en_addr = (core_num == 0) ? 0xe7 : 0xec;
  16831. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16832. val_mask = (0x3 << 6);
  16833. val_shift = 6;
  16834. break;
  16835. case (0x1 << 0):
  16836. en_addr = (core_num == 0) ? 0xe5 : 0xe6;
  16837. val_addr = (core_num == 0) ? 0xf9 : 0xfb;
  16838. val_mask = (0x1 << 15);
  16839. val_shift = 15;
  16840. break;
  16841. default:
  16842. addr = 0xffff;
  16843. break;
  16844. }
  16845. if (off) {
  16846. and_phy_reg(pi, en_addr, ~en_mask);
  16847. and_phy_reg(pi, val_addr, ~val_mask);
  16848. } else {
  16849. if ((core_mask == 0)
  16850. || (core_mask & (1 << core_num))) {
  16851. or_phy_reg(pi, en_addr, en_mask);
  16852. if (addr != 0xffff)
  16853. mod_phy_reg(pi, val_addr,
  16854. val_mask,
  16855. (value <<
  16856. val_shift));
  16857. }
  16858. }
  16859. }
  16860. } else {
  16861. if (off) {
  16862. and_phy_reg(pi, 0xec, ~field);
  16863. value = 0x0;
  16864. } else {
  16865. or_phy_reg(pi, 0xec, field);
  16866. }
  16867. for (core_num = 0; core_num < 2; core_num++) {
  16868. switch (field) {
  16869. case (0x1 << 1):
  16870. case (0x1 << 9):
  16871. case (0x1 << 12):
  16872. case (0x1 << 13):
  16873. case (0x1 << 14):
  16874. addr = 0x78;
  16875. core_mask = 0x1;
  16876. break;
  16877. case (0x1 << 2):
  16878. case (0x1 << 3):
  16879. case (0x1 << 4):
  16880. case (0x1 << 5):
  16881. case (0x1 << 6):
  16882. case (0x1 << 7):
  16883. case (0x1 << 8):
  16884. addr = (core_num == 0) ? 0x7a : 0x7d;
  16885. break;
  16886. case (0x1 << 10):
  16887. addr = (core_num == 0) ? 0x7b : 0x7e;
  16888. break;
  16889. case (0x1 << 11):
  16890. addr = (core_num == 0) ? 0x7c : 0x7f;
  16891. break;
  16892. default:
  16893. addr = 0xffff;
  16894. }
  16895. switch (field) {
  16896. case (0x1 << 1):
  16897. mask = (0x7 << 3);
  16898. shift = 3;
  16899. break;
  16900. case (0x1 << 9):
  16901. mask = (0x1 << 2);
  16902. shift = 2;
  16903. break;
  16904. case (0x1 << 12):
  16905. mask = (0x1 << 8);
  16906. shift = 8;
  16907. break;
  16908. case (0x1 << 13):
  16909. mask = (0x1 << 9);
  16910. shift = 9;
  16911. break;
  16912. case (0x1 << 14):
  16913. mask = (0xf << 12);
  16914. shift = 12;
  16915. break;
  16916. case (0x1 << 2):
  16917. mask = (0x1 << 0);
  16918. shift = 0;
  16919. break;
  16920. case (0x1 << 3):
  16921. mask = (0x1 << 1);
  16922. shift = 1;
  16923. break;
  16924. case (0x1 << 4):
  16925. mask = (0x1 << 2);
  16926. shift = 2;
  16927. break;
  16928. case (0x1 << 5):
  16929. mask = (0x3 << 4);
  16930. shift = 4;
  16931. break;
  16932. case (0x1 << 6):
  16933. mask = (0x3 << 6);
  16934. shift = 6;
  16935. break;
  16936. case (0x1 << 7):
  16937. mask = (0x1 << 8);
  16938. shift = 8;
  16939. break;
  16940. case (0x1 << 8):
  16941. mask = (0x1 << 9);
  16942. shift = 9;
  16943. break;
  16944. case (0x1 << 10):
  16945. mask = 0x1fff;
  16946. shift = 0x0;
  16947. break;
  16948. case (0x1 << 11):
  16949. mask = 0x1fff;
  16950. shift = 0x0;
  16951. break;
  16952. default:
  16953. mask = 0x0;
  16954. shift = 0x0;
  16955. break;
  16956. }
  16957. if ((addr != 0xffff) && (core_mask & (1 << core_num)))
  16958. mod_phy_reg(pi, addr, mask, (value << shift));
  16959. }
  16960. or_phy_reg(pi, 0xec, (0x1 << 0));
  16961. or_phy_reg(pi, 0x78, (0x1 << 0));
  16962. udelay(1);
  16963. and_phy_reg(pi, 0xec, ~(0x1 << 0));
  16964. }
  16965. }
  16966. static void wlc_phy_txpwrctrl_idle_tssi_nphy(struct brcms_phy *pi)
  16967. {
  16968. s32 rssi_buf[4];
  16969. s32 int_val;
  16970. if (SCAN_RM_IN_PROGRESS(pi) || PLT_INPROG_PHY(pi) || PHY_MUTED(pi))
  16971. return;
  16972. if (PHY_IPA(pi))
  16973. wlc_phy_ipa_internal_tssi_setup_nphy(pi);
  16974. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16975. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  16976. 0, 0x3, 0,
  16977. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16978. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16979. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 0);
  16980. wlc_phy_stopplayback_nphy(pi);
  16981. wlc_phy_tx_tone_nphy(pi, 4000, 0, 0, 0, false);
  16982. udelay(20);
  16983. int_val =
  16984. wlc_phy_poll_rssi_nphy(pi, (u8) NPHY_RSSI_SEL_TSSI_2G, rssi_buf,
  16985. 1);
  16986. wlc_phy_stopplayback_nphy(pi);
  16987. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, 0);
  16988. if (NREV_GE(pi->pubpi.phy_rev, 7))
  16989. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12),
  16990. 0, 0x3, 1,
  16991. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  16992. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  16993. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 3, 1);
  16994. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  16995. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  16996. (u8) ((int_val >> 24) & 0xff);
  16997. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  16998. (u8) ((int_val >> 24) & 0xff);
  16999. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17000. (u8) ((int_val >> 8) & 0xff);
  17001. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17002. (u8) ((int_val >> 8) & 0xff);
  17003. } else {
  17004. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_2g =
  17005. (u8) ((int_val >> 24) & 0xff);
  17006. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_2g =
  17007. (u8) ((int_val >> 8) & 0xff);
  17008. pi->nphy_pwrctrl_info[PHY_CORE_0].idle_tssi_5g =
  17009. (u8) ((int_val >> 16) & 0xff);
  17010. pi->nphy_pwrctrl_info[PHY_CORE_1].idle_tssi_5g =
  17011. (u8) ((int_val) & 0xff);
  17012. }
  17013. }
  17014. static void wlc_phy_txpwr_limit_to_tbl_nphy(struct brcms_phy *pi)
  17015. {
  17016. u8 idx, idx2, i, delta_ind;
  17017. for (idx = TXP_FIRST_CCK; idx <= TXP_LAST_CCK; idx++)
  17018. pi->adj_pwr_tbl_nphy[idx] = pi->tx_power_offset[idx];
  17019. for (i = 0; i < 4; i++) {
  17020. idx2 = 0;
  17021. delta_ind = 0;
  17022. switch (i) {
  17023. case 0:
  17024. if (CHSPEC_IS40(pi->radio_chanspec)
  17025. && NPHY_IS_SROM_REINTERPRET) {
  17026. idx = TXP_FIRST_MCS_40_SISO;
  17027. } else {
  17028. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17029. TXP_FIRST_OFDM_40_SISO : TXP_FIRST_OFDM;
  17030. delta_ind = 1;
  17031. }
  17032. break;
  17033. case 1:
  17034. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17035. TXP_FIRST_MCS_40_CDD : TXP_FIRST_MCS_20_CDD;
  17036. break;
  17037. case 2:
  17038. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17039. TXP_FIRST_MCS_40_STBC : TXP_FIRST_MCS_20_STBC;
  17040. break;
  17041. case 3:
  17042. idx = (CHSPEC_IS40(pi->radio_chanspec)) ?
  17043. TXP_FIRST_MCS_40_SDM : TXP_FIRST_MCS_20_SDM;
  17044. break;
  17045. }
  17046. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17047. pi->tx_power_offset[idx];
  17048. idx = idx + delta_ind;
  17049. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17050. pi->tx_power_offset[idx];
  17051. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17052. pi->tx_power_offset[idx];
  17053. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17054. pi->tx_power_offset[idx++];
  17055. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17056. pi->tx_power_offset[idx++];
  17057. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17058. pi->tx_power_offset[idx];
  17059. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17060. pi->tx_power_offset[idx];
  17061. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17062. pi->tx_power_offset[idx++];
  17063. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17064. pi->tx_power_offset[idx++];
  17065. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17066. pi->tx_power_offset[idx];
  17067. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17068. pi->tx_power_offset[idx];
  17069. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17070. pi->tx_power_offset[idx++];
  17071. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17072. pi->tx_power_offset[idx];
  17073. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17074. pi->tx_power_offset[idx++];
  17075. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17076. pi->tx_power_offset[idx];
  17077. idx = idx + 1 - delta_ind;
  17078. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17079. pi->tx_power_offset[idx];
  17080. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17081. pi->tx_power_offset[idx];
  17082. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17083. pi->tx_power_offset[idx];
  17084. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17085. pi->tx_power_offset[idx];
  17086. pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] =
  17087. pi->tx_power_offset[idx];
  17088. }
  17089. }
  17090. static void wlc_phy_txpwrctrl_pwr_setup_nphy(struct brcms_phy *pi)
  17091. {
  17092. u32 idx;
  17093. s16 a1[2], b0[2], b1[2];
  17094. s8 target_pwr_qtrdbm[2];
  17095. s32 num, den, pwr_est;
  17096. u8 chan_freq_range;
  17097. u8 idle_tssi[2];
  17098. u32 tbl_id, tbl_len, tbl_offset;
  17099. u32 regval[64];
  17100. u8 core;
  17101. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17102. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17103. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17104. udelay(1);
  17105. }
  17106. if (pi->phyhang_avoid)
  17107. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17108. or_phy_reg(pi, 0x122, (0x1 << 0));
  17109. if (NREV_GE(pi->pubpi.phy_rev, 3))
  17110. and_phy_reg(pi, 0x1e7, (u16) (~(0x1 << 15)));
  17111. else
  17112. or_phy_reg(pi, 0x1e7, (0x1 << 15));
  17113. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17114. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17115. if (pi->sh->sromrev < 4) {
  17116. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17117. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17118. a1[0] = -424;
  17119. a1[1] = -424;
  17120. b0[0] = 5612;
  17121. b0[1] = 5612;
  17122. b1[1] = -1393;
  17123. b1[0] = -1393;
  17124. } else {
  17125. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  17126. switch (chan_freq_range) {
  17127. case WL_CHAN_FREQ_RANGE_2G:
  17128. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17129. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17130. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_a1;
  17131. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_a1;
  17132. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b0;
  17133. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b0;
  17134. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_2g_b1;
  17135. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_2g_b1;
  17136. break;
  17137. case WL_CHAN_FREQ_RANGE_5GL:
  17138. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17139. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17140. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_a1;
  17141. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_a1;
  17142. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b0;
  17143. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b0;
  17144. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gl_b1;
  17145. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gl_b1;
  17146. break;
  17147. case WL_CHAN_FREQ_RANGE_5GM:
  17148. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17149. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17150. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_a1;
  17151. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_a1;
  17152. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b0;
  17153. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b0;
  17154. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gm_b1;
  17155. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gm_b1;
  17156. break;
  17157. case WL_CHAN_FREQ_RANGE_5GH:
  17158. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_5g;
  17159. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_5g;
  17160. a1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_a1;
  17161. a1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_a1;
  17162. b0[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b0;
  17163. b0[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b0;
  17164. b1[0] = pi->nphy_pwrctrl_info[0].pwrdet_5gh_b1;
  17165. b1[1] = pi->nphy_pwrctrl_info[1].pwrdet_5gh_b1;
  17166. break;
  17167. default:
  17168. idle_tssi[0] = pi->nphy_pwrctrl_info[0].idle_tssi_2g;
  17169. idle_tssi[1] = pi->nphy_pwrctrl_info[1].idle_tssi_2g;
  17170. a1[0] = -424;
  17171. a1[1] = -424;
  17172. b0[0] = 5612;
  17173. b0[1] = 5612;
  17174. b1[1] = -1393;
  17175. b1[0] = -1393;
  17176. break;
  17177. }
  17178. }
  17179. /* use the provided transmit power */
  17180. target_pwr_qtrdbm[0] = (s8) pi->tx_power_max;
  17181. target_pwr_qtrdbm[1] = (s8) pi->tx_power_max;
  17182. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17183. if (pi->srom_fem2g.tssipos)
  17184. or_phy_reg(pi, 0x1e9, (0x1 << 14));
  17185. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17186. for (core = 0; core <= 1; core++) {
  17187. if (PHY_IPA(pi)) {
  17188. if (CHSPEC_IS2G(pi->radio_chanspec))
  17189. WRITE_RADIO_REG3(pi, RADIO_2057,
  17190. TX, core,
  17191. TX_SSI_MUX,
  17192. 0xe);
  17193. else
  17194. WRITE_RADIO_REG3(pi, RADIO_2057,
  17195. TX, core,
  17196. TX_SSI_MUX,
  17197. 0xc);
  17198. }
  17199. }
  17200. } else {
  17201. if (PHY_IPA(pi)) {
  17202. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17203. RADIO_2056_TX0,
  17204. (CHSPEC_IS5G
  17205. (pi->radio_chanspec)) ?
  17206. 0xc : 0xe);
  17207. write_radio_reg(pi,
  17208. RADIO_2056_TX_TX_SSI_MUX |
  17209. RADIO_2056_TX1,
  17210. (CHSPEC_IS5G
  17211. (pi->radio_chanspec)) ?
  17212. 0xc : 0xe);
  17213. } else {
  17214. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17215. RADIO_2056_TX0, 0x11);
  17216. write_radio_reg(pi, RADIO_2056_TX_TX_SSI_MUX |
  17217. RADIO_2056_TX1, 0x11);
  17218. }
  17219. }
  17220. }
  17221. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  17222. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  17223. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  17224. udelay(1);
  17225. }
  17226. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17227. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17228. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17229. else
  17230. mod_phy_reg(pi, 0x1e7, (0x7f << 0),
  17231. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17232. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17233. mod_phy_reg(pi, 0x222, (0xff << 0),
  17234. (NPHY_TxPwrCtrlCmd_pwrIndex_init_rev7 << 0));
  17235. else if (NREV_GT(pi->pubpi.phy_rev, 1))
  17236. mod_phy_reg(pi, 0x222, (0xff << 0),
  17237. (NPHY_TxPwrCtrlCmd_pwrIndex_init << 0));
  17238. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  17239. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  17240. write_phy_reg(pi, 0x1e8, (0x3 << 8) | (240 << 0));
  17241. write_phy_reg(pi, 0x1e9,
  17242. (1 << 15) | (idle_tssi[0] << 0) | (idle_tssi[1] << 8));
  17243. write_phy_reg(pi, 0x1ea,
  17244. (target_pwr_qtrdbm[0] << 0) |
  17245. (target_pwr_qtrdbm[1] << 8));
  17246. tbl_len = 64;
  17247. tbl_offset = 0;
  17248. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  17249. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  17250. for (idx = 0; idx < tbl_len; idx++) {
  17251. num = 8 *
  17252. (16 * b0[tbl_id - 26] + b1[tbl_id - 26] * idx);
  17253. den = 32768 + a1[tbl_id - 26] * idx;
  17254. pwr_est = max(((4 * num + den / 2) / den), -8);
  17255. if (NREV_LT(pi->pubpi.phy_rev, 3)) {
  17256. if (idx <=
  17257. (uint) (31 - idle_tssi[tbl_id - 26] + 1))
  17258. pwr_est =
  17259. max(pwr_est,
  17260. target_pwr_qtrdbm
  17261. [tbl_id - 26] + 1);
  17262. }
  17263. regval[idx] = (u32) pwr_est;
  17264. }
  17265. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  17266. regval);
  17267. }
  17268. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  17269. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64, 8,
  17270. pi->adj_pwr_tbl_nphy);
  17271. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64, 8,
  17272. pi->adj_pwr_tbl_nphy);
  17273. if (pi->phyhang_avoid)
  17274. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17275. }
  17276. static u32 *wlc_phy_get_ipa_gaintbl_nphy(struct brcms_phy *pi)
  17277. {
  17278. u32 *tx_pwrctrl_tbl = NULL;
  17279. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17280. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17281. if ((pi->pubpi.radiorev == 4)
  17282. || (pi->pubpi.radiorev == 6))
  17283. tx_pwrctrl_tbl =
  17284. nphy_tpc_txgain_ipa_2g_2057rev4n6;
  17285. else if (pi->pubpi.radiorev == 3)
  17286. tx_pwrctrl_tbl =
  17287. nphy_tpc_txgain_ipa_2g_2057rev3;
  17288. else if (pi->pubpi.radiorev == 5)
  17289. tx_pwrctrl_tbl =
  17290. nphy_tpc_txgain_ipa_2g_2057rev5;
  17291. else if ((pi->pubpi.radiorev == 7)
  17292. || (pi->pubpi.radiorev == 8))
  17293. tx_pwrctrl_tbl =
  17294. nphy_tpc_txgain_ipa_2g_2057rev7;
  17295. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17296. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev6;
  17297. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17298. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_rev5;
  17299. } else {
  17300. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa;
  17301. }
  17302. } else {
  17303. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17304. if ((pi->pubpi.radiorev == 3) ||
  17305. (pi->pubpi.radiorev == 4) ||
  17306. (pi->pubpi.radiorev == 6))
  17307. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g_2057;
  17308. else if ((pi->pubpi.radiorev == 7)
  17309. || (pi->pubpi.radiorev == 8))
  17310. tx_pwrctrl_tbl =
  17311. nphy_tpc_txgain_ipa_5g_2057rev7;
  17312. } else {
  17313. tx_pwrctrl_tbl = nphy_tpc_txgain_ipa_5g;
  17314. }
  17315. }
  17316. return tx_pwrctrl_tbl;
  17317. }
  17318. static void wlc_phy_restore_rssical_nphy(struct brcms_phy *pi)
  17319. {
  17320. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17321. if (pi->nphy_rssical_chanspec_2G == 0)
  17322. return;
  17323. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17324. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17325. RADIO_2057_VCM_MASK,
  17326. pi->rssical_cache.
  17327. rssical_radio_regs_2G[0]);
  17328. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17329. RADIO_2057_VCM_MASK,
  17330. pi->rssical_cache.
  17331. rssical_radio_regs_2G[1]);
  17332. } else {
  17333. mod_radio_reg(pi,
  17334. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17335. RADIO_2056_VCM_MASK,
  17336. pi->rssical_cache.
  17337. rssical_radio_regs_2G[0]);
  17338. mod_radio_reg(pi,
  17339. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17340. RADIO_2056_VCM_MASK,
  17341. pi->rssical_cache.
  17342. rssical_radio_regs_2G[1]);
  17343. }
  17344. write_phy_reg(pi, 0x1a6,
  17345. pi->rssical_cache.rssical_phyregs_2G[0]);
  17346. write_phy_reg(pi, 0x1ac,
  17347. pi->rssical_cache.rssical_phyregs_2G[1]);
  17348. write_phy_reg(pi, 0x1b2,
  17349. pi->rssical_cache.rssical_phyregs_2G[2]);
  17350. write_phy_reg(pi, 0x1b8,
  17351. pi->rssical_cache.rssical_phyregs_2G[3]);
  17352. write_phy_reg(pi, 0x1a4,
  17353. pi->rssical_cache.rssical_phyregs_2G[4]);
  17354. write_phy_reg(pi, 0x1aa,
  17355. pi->rssical_cache.rssical_phyregs_2G[5]);
  17356. write_phy_reg(pi, 0x1b0,
  17357. pi->rssical_cache.rssical_phyregs_2G[6]);
  17358. write_phy_reg(pi, 0x1b6,
  17359. pi->rssical_cache.rssical_phyregs_2G[7]);
  17360. write_phy_reg(pi, 0x1a5,
  17361. pi->rssical_cache.rssical_phyregs_2G[8]);
  17362. write_phy_reg(pi, 0x1ab,
  17363. pi->rssical_cache.rssical_phyregs_2G[9]);
  17364. write_phy_reg(pi, 0x1b1,
  17365. pi->rssical_cache.rssical_phyregs_2G[10]);
  17366. write_phy_reg(pi, 0x1b7,
  17367. pi->rssical_cache.rssical_phyregs_2G[11]);
  17368. } else {
  17369. if (pi->nphy_rssical_chanspec_5G == 0)
  17370. return;
  17371. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17372. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0,
  17373. RADIO_2057_VCM_MASK,
  17374. pi->rssical_cache.
  17375. rssical_radio_regs_5G[0]);
  17376. mod_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1,
  17377. RADIO_2057_VCM_MASK,
  17378. pi->rssical_cache.
  17379. rssical_radio_regs_5G[1]);
  17380. } else {
  17381. mod_radio_reg(pi,
  17382. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX0,
  17383. RADIO_2056_VCM_MASK,
  17384. pi->rssical_cache.
  17385. rssical_radio_regs_5G[0]);
  17386. mod_radio_reg(pi,
  17387. RADIO_2056_RX_RSSI_MISC | RADIO_2056_RX1,
  17388. RADIO_2056_VCM_MASK,
  17389. pi->rssical_cache.
  17390. rssical_radio_regs_5G[1]);
  17391. }
  17392. write_phy_reg(pi, 0x1a6,
  17393. pi->rssical_cache.rssical_phyregs_5G[0]);
  17394. write_phy_reg(pi, 0x1ac,
  17395. pi->rssical_cache.rssical_phyregs_5G[1]);
  17396. write_phy_reg(pi, 0x1b2,
  17397. pi->rssical_cache.rssical_phyregs_5G[2]);
  17398. write_phy_reg(pi, 0x1b8,
  17399. pi->rssical_cache.rssical_phyregs_5G[3]);
  17400. write_phy_reg(pi, 0x1a4,
  17401. pi->rssical_cache.rssical_phyregs_5G[4]);
  17402. write_phy_reg(pi, 0x1aa,
  17403. pi->rssical_cache.rssical_phyregs_5G[5]);
  17404. write_phy_reg(pi, 0x1b0,
  17405. pi->rssical_cache.rssical_phyregs_5G[6]);
  17406. write_phy_reg(pi, 0x1b6,
  17407. pi->rssical_cache.rssical_phyregs_5G[7]);
  17408. write_phy_reg(pi, 0x1a5,
  17409. pi->rssical_cache.rssical_phyregs_5G[8]);
  17410. write_phy_reg(pi, 0x1ab,
  17411. pi->rssical_cache.rssical_phyregs_5G[9]);
  17412. write_phy_reg(pi, 0x1b1,
  17413. pi->rssical_cache.rssical_phyregs_5G[10]);
  17414. write_phy_reg(pi, 0x1b7,
  17415. pi->rssical_cache.rssical_phyregs_5G[11]);
  17416. }
  17417. }
  17418. static void wlc_phy_internal_cal_txgain_nphy(struct brcms_phy *pi)
  17419. {
  17420. u16 txcal_gain[2];
  17421. pi->nphy_txcal_pwr_idx[0] = pi->nphy_cal_orig_pwr_idx[0];
  17422. pi->nphy_txcal_pwr_idx[1] = pi->nphy_cal_orig_pwr_idx[0];
  17423. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17424. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17425. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17426. txcal_gain);
  17427. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17428. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F40;
  17429. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F40;
  17430. } else {
  17431. txcal_gain[0] = (txcal_gain[0] & 0xF000) | 0x0F60;
  17432. txcal_gain[1] = (txcal_gain[1] & 0xF000) | 0x0F60;
  17433. }
  17434. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  17435. txcal_gain);
  17436. }
  17437. static void wlc_phy_precal_txgain_nphy(struct brcms_phy *pi)
  17438. {
  17439. bool save_bbmult = false;
  17440. u8 txcal_index_2057_rev5n7 = 0;
  17441. u8 txcal_index_2057_rev3n4n6 = 10;
  17442. if (pi->use_int_tx_iqlo_cal_nphy) {
  17443. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17444. if ((pi->pubpi.radiorev == 3) ||
  17445. (pi->pubpi.radiorev == 4) ||
  17446. (pi->pubpi.radiorev == 6)) {
  17447. pi->nphy_txcal_pwr_idx[0] =
  17448. txcal_index_2057_rev3n4n6;
  17449. pi->nphy_txcal_pwr_idx[1] =
  17450. txcal_index_2057_rev3n4n6;
  17451. wlc_phy_txpwr_index_nphy(
  17452. pi, 3,
  17453. txcal_index_2057_rev3n4n6,
  17454. false);
  17455. } else {
  17456. pi->nphy_txcal_pwr_idx[0] =
  17457. txcal_index_2057_rev5n7;
  17458. pi->nphy_txcal_pwr_idx[1] =
  17459. txcal_index_2057_rev5n7;
  17460. wlc_phy_txpwr_index_nphy(
  17461. pi, 3,
  17462. txcal_index_2057_rev5n7,
  17463. false);
  17464. }
  17465. save_bbmult = true;
  17466. } else if (NREV_LT(pi->pubpi.phy_rev, 5)) {
  17467. wlc_phy_cal_txgainctrl_nphy(pi, 11, false);
  17468. if (pi->sh->hw_phytxchain != 3) {
  17469. pi->nphy_txcal_pwr_idx[1] =
  17470. pi->nphy_txcal_pwr_idx[0];
  17471. wlc_phy_txpwr_index_nphy(pi, 3,
  17472. pi->
  17473. nphy_txcal_pwr_idx[0],
  17474. true);
  17475. save_bbmult = true;
  17476. }
  17477. } else if (NREV_IS(pi->pubpi.phy_rev, 5)) {
  17478. if (PHY_IPA(pi)) {
  17479. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17480. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17481. false);
  17482. } else {
  17483. pi->nphy_txcal_pwr_idx[0] = 80;
  17484. pi->nphy_txcal_pwr_idx[1] = 80;
  17485. wlc_phy_txpwr_index_nphy(pi, 3, 80,
  17486. false);
  17487. save_bbmult = true;
  17488. }
  17489. } else {
  17490. wlc_phy_internal_cal_txgain_nphy(pi);
  17491. save_bbmult = true;
  17492. }
  17493. } else if (NREV_IS(pi->pubpi.phy_rev, 6)) {
  17494. if (PHY_IPA(pi)) {
  17495. if (CHSPEC_IS2G(pi->radio_chanspec))
  17496. wlc_phy_cal_txgainctrl_nphy(pi, 12,
  17497. false);
  17498. else
  17499. wlc_phy_cal_txgainctrl_nphy(pi, 14,
  17500. false);
  17501. } else {
  17502. wlc_phy_internal_cal_txgain_nphy(pi);
  17503. save_bbmult = true;
  17504. }
  17505. }
  17506. } else {
  17507. wlc_phy_cal_txgainctrl_nphy(pi, 10, false);
  17508. }
  17509. if (save_bbmult)
  17510. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  17511. &pi->nphy_txcal_bbmult);
  17512. }
  17513. static void
  17514. wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value,
  17515. u8 core_code)
  17516. {
  17517. u16 mask;
  17518. u16 val;
  17519. u8 core;
  17520. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17521. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17522. if (core_code == RADIO_MIMO_CORESEL_CORE1
  17523. && core == PHY_CORE_1)
  17524. continue;
  17525. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  17526. && core == PHY_CORE_0)
  17527. continue;
  17528. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  17529. mask = (0x1 << 10);
  17530. val = 1 << 10;
  17531. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17532. 0x92, mask, val);
  17533. }
  17534. if (field == NPHY_RfctrlIntc_override_OFF) {
  17535. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x91 :
  17536. 0x92, 0);
  17537. wlc_phy_force_rfseq_nphy(pi,
  17538. NPHY_RFSEQ_RESET2RX);
  17539. } else if (field == NPHY_RfctrlIntc_override_TRSW) {
  17540. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17541. mask = (0x1 << 6) | (0x1 << 7);
  17542. val = value << 6;
  17543. mod_phy_reg(pi,
  17544. (core ==
  17545. PHY_CORE_0) ? 0x91 : 0x92,
  17546. mask, val);
  17547. or_phy_reg(pi,
  17548. (core ==
  17549. PHY_CORE_0) ? 0x91 : 0x92,
  17550. (0x1 << 10));
  17551. and_phy_reg(pi, 0x2ff, (u16)
  17552. ~(0x3 << 14));
  17553. or_phy_reg(pi, 0x2ff, (0x1 << 13));
  17554. or_phy_reg(pi, 0x2ff, (0x1 << 0));
  17555. } else {
  17556. mask = (0x1 << 6) |
  17557. (0x1 << 7) |
  17558. (0x1 << 8) | (0x1 << 9);
  17559. val = value << 6;
  17560. mod_phy_reg(pi,
  17561. (core ==
  17562. PHY_CORE_0) ? 0x91 : 0x92,
  17563. mask, val);
  17564. mask = (0x1 << 0);
  17565. val = 1 << 0;
  17566. mod_phy_reg(pi,
  17567. (core ==
  17568. PHY_CORE_0) ? 0xe7 : 0xec,
  17569. mask, val);
  17570. mask = (core == PHY_CORE_0) ?
  17571. (0x1 << 0) : (0x1 << 1);
  17572. val = 1 << ((core == PHY_CORE_0) ?
  17573. 0 : 1);
  17574. mod_phy_reg(pi, 0x78, mask, val);
  17575. SPINWAIT(((read_phy_reg(pi, 0x78) & val)
  17576. != 0), 10000);
  17577. if (WARN(read_phy_reg(pi, 0x78) & val,
  17578. "HW error: override failed"))
  17579. return;
  17580. mask = (0x1 << 0);
  17581. val = 0 << 0;
  17582. mod_phy_reg(pi,
  17583. (core ==
  17584. PHY_CORE_0) ? 0xe7 : 0xec,
  17585. mask, val);
  17586. }
  17587. } else if (field == NPHY_RfctrlIntc_override_PA) {
  17588. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17589. mask = (0x1 << 4) | (0x1 << 5);
  17590. if (CHSPEC_IS5G(pi->radio_chanspec))
  17591. val = value << 5;
  17592. else
  17593. val = value << 4;
  17594. mod_phy_reg(pi,
  17595. (core ==
  17596. PHY_CORE_0) ? 0x91 : 0x92,
  17597. mask, val);
  17598. or_phy_reg(pi,
  17599. (core ==
  17600. PHY_CORE_0) ? 0x91 : 0x92,
  17601. (0x1 << 12));
  17602. } else {
  17603. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17604. mask = (0x1 << 5);
  17605. val = value << 5;
  17606. } else {
  17607. mask = (0x1 << 4);
  17608. val = value << 4;
  17609. }
  17610. mod_phy_reg(pi,
  17611. (core ==
  17612. PHY_CORE_0) ? 0x91 : 0x92,
  17613. mask, val);
  17614. }
  17615. } else if (field ==
  17616. NPHY_RfctrlIntc_override_EXT_LNA_PU) {
  17617. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17618. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17619. mask = (0x1 << 0);
  17620. val = value << 0;
  17621. mod_phy_reg(pi,
  17622. (core ==
  17623. PHY_CORE_0) ? 0x91
  17624. : 0x92, mask, val);
  17625. mask = (0x1 << 2);
  17626. mod_phy_reg(pi,
  17627. (core ==
  17628. PHY_CORE_0) ? 0x91
  17629. : 0x92, mask, 0);
  17630. } else {
  17631. mask = (0x1 << 2);
  17632. val = value << 2;
  17633. mod_phy_reg(pi,
  17634. (core ==
  17635. PHY_CORE_0) ? 0x91
  17636. : 0x92, mask, val);
  17637. mask = (0x1 << 0);
  17638. mod_phy_reg(pi,
  17639. (core ==
  17640. PHY_CORE_0) ? 0x91
  17641. : 0x92, mask, 0);
  17642. }
  17643. mask = (0x1 << 11);
  17644. val = 1 << 11;
  17645. mod_phy_reg(pi,
  17646. (core ==
  17647. PHY_CORE_0) ? 0x91 : 0x92,
  17648. mask, val);
  17649. } else {
  17650. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17651. mask = (0x1 << 0);
  17652. val = value << 0;
  17653. } else {
  17654. mask = (0x1 << 2);
  17655. val = value << 2;
  17656. }
  17657. mod_phy_reg(pi,
  17658. (core ==
  17659. PHY_CORE_0) ? 0x91 : 0x92,
  17660. mask, val);
  17661. }
  17662. } else if (field ==
  17663. NPHY_RfctrlIntc_override_EXT_LNA_GAIN) {
  17664. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17665. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17666. mask = (0x1 << 1);
  17667. val = value << 1;
  17668. mod_phy_reg(pi,
  17669. (core ==
  17670. PHY_CORE_0) ? 0x91
  17671. : 0x92, mask, val);
  17672. mask = (0x1 << 3);
  17673. mod_phy_reg(pi,
  17674. (core ==
  17675. PHY_CORE_0) ? 0x91
  17676. : 0x92, mask, 0);
  17677. } else {
  17678. mask = (0x1 << 3);
  17679. val = value << 3;
  17680. mod_phy_reg(pi,
  17681. (core ==
  17682. PHY_CORE_0) ? 0x91
  17683. : 0x92, mask, val);
  17684. mask = (0x1 << 1);
  17685. mod_phy_reg(pi,
  17686. (core ==
  17687. PHY_CORE_0) ? 0x91
  17688. : 0x92, mask, 0);
  17689. }
  17690. mask = (0x1 << 11);
  17691. val = 1 << 11;
  17692. mod_phy_reg(pi,
  17693. (core ==
  17694. PHY_CORE_0) ? 0x91 : 0x92,
  17695. mask, val);
  17696. } else {
  17697. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17698. mask = (0x1 << 1);
  17699. val = value << 1;
  17700. } else {
  17701. mask = (0x1 << 3);
  17702. val = value << 3;
  17703. }
  17704. mod_phy_reg(pi,
  17705. (core ==
  17706. PHY_CORE_0) ? 0x91 : 0x92,
  17707. mask, val);
  17708. }
  17709. }
  17710. }
  17711. }
  17712. }
  17713. void
  17714. wlc_phy_cal_txgainctrl_nphy(struct brcms_phy *pi, s32 dBm_targetpower,
  17715. bool debug)
  17716. {
  17717. int gainctrl_loopidx;
  17718. uint core;
  17719. u16 m0m1, curr_m0m1;
  17720. s32 delta_power;
  17721. s32 txpwrindex;
  17722. s32 qdBm_power[2];
  17723. u16 orig_BBConfig;
  17724. u16 phy_saveregs[4];
  17725. u32 freq_test;
  17726. u16 ampl_test = 250;
  17727. uint stepsize;
  17728. bool phyhang_avoid_state = false;
  17729. if (NREV_GE(pi->pubpi.phy_rev, 7))
  17730. stepsize = 2;
  17731. else
  17732. stepsize = 1;
  17733. if (CHSPEC_IS40(pi->radio_chanspec))
  17734. freq_test = 5000;
  17735. else
  17736. freq_test = 2500;
  17737. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_cal_orig_pwr_idx[0], true);
  17738. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_cal_orig_pwr_idx[1], true);
  17739. if (pi->phyhang_avoid)
  17740. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17741. phyhang_avoid_state = pi->phyhang_avoid;
  17742. pi->phyhang_avoid = false;
  17743. phy_saveregs[0] = read_phy_reg(pi, 0x91);
  17744. phy_saveregs[1] = read_phy_reg(pi, 0x92);
  17745. phy_saveregs[2] = read_phy_reg(pi, 0xe7);
  17746. phy_saveregs[3] = read_phy_reg(pi, 0xec);
  17747. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 1,
  17748. RADIO_MIMO_CORESEL_CORE1 |
  17749. RADIO_MIMO_CORESEL_CORE2);
  17750. if (!debug) {
  17751. wlc_phy_rfctrlintc_override_nphy(pi,
  17752. NPHY_RfctrlIntc_override_TRSW,
  17753. 0x2, RADIO_MIMO_CORESEL_CORE1);
  17754. wlc_phy_rfctrlintc_override_nphy(pi,
  17755. NPHY_RfctrlIntc_override_TRSW,
  17756. 0x8, RADIO_MIMO_CORESEL_CORE2);
  17757. } else {
  17758. wlc_phy_rfctrlintc_override_nphy(pi,
  17759. NPHY_RfctrlIntc_override_TRSW,
  17760. 0x1, RADIO_MIMO_CORESEL_CORE1);
  17761. wlc_phy_rfctrlintc_override_nphy(pi,
  17762. NPHY_RfctrlIntc_override_TRSW,
  17763. 0x7, RADIO_MIMO_CORESEL_CORE2);
  17764. }
  17765. orig_BBConfig = read_phy_reg(pi, 0x01);
  17766. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  17767. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  17768. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  17769. txpwrindex = (s32) pi->nphy_cal_orig_pwr_idx[core];
  17770. for (gainctrl_loopidx = 0; gainctrl_loopidx < 2;
  17771. gainctrl_loopidx++) {
  17772. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17773. false);
  17774. if (core == PHY_CORE_0)
  17775. curr_m0m1 = m0m1 & 0xff00;
  17776. else
  17777. curr_m0m1 = m0m1 & 0x00ff;
  17778. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &curr_m0m1);
  17779. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &curr_m0m1);
  17780. udelay(50);
  17781. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17782. NPHY_CAL_TSSISAMPS);
  17783. pi->nphy_bb_mult_save = 0;
  17784. wlc_phy_stopplayback_nphy(pi);
  17785. delta_power = (dBm_targetpower * 4) - qdBm_power[core];
  17786. txpwrindex -= stepsize * delta_power;
  17787. if (txpwrindex < 0)
  17788. txpwrindex = 0;
  17789. else if (txpwrindex > 127)
  17790. txpwrindex = 127;
  17791. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  17792. if (NREV_IS(pi->pubpi.phy_rev, 4) &&
  17793. (pi->srom_fem5g.extpagain == 3)) {
  17794. if (txpwrindex < 30)
  17795. txpwrindex = 30;
  17796. }
  17797. } else {
  17798. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  17799. (pi->srom_fem2g.extpagain == 3)) {
  17800. if (txpwrindex < 50)
  17801. txpwrindex = 50;
  17802. }
  17803. }
  17804. wlc_phy_txpwr_index_nphy(pi, (1 << core),
  17805. (u8) txpwrindex, true);
  17806. }
  17807. pi->nphy_txcal_pwr_idx[core] = (u8) txpwrindex;
  17808. if (debug) {
  17809. u16 radio_gain;
  17810. u16 dbg_m0m1;
  17811. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17812. wlc_phy_tx_tone_nphy(pi, freq_test, ampl_test, 0, 0,
  17813. false);
  17814. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &dbg_m0m1);
  17815. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &dbg_m0m1);
  17816. udelay(100);
  17817. wlc_phy_est_tonepwr_nphy(pi, qdBm_power,
  17818. NPHY_CAL_TSSISAMPS);
  17819. wlc_phy_table_read_nphy(pi, 7, 1, (0x110 + core), 16,
  17820. &radio_gain);
  17821. mdelay(4000);
  17822. pi->nphy_bb_mult_save = 0;
  17823. wlc_phy_stopplayback_nphy(pi);
  17824. }
  17825. }
  17826. wlc_phy_txpwr_index_nphy(pi, 1, pi->nphy_txcal_pwr_idx[0], true);
  17827. wlc_phy_txpwr_index_nphy(pi, 2, pi->nphy_txcal_pwr_idx[1], true);
  17828. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &pi->nphy_txcal_bbmult);
  17829. write_phy_reg(pi, 0x01, orig_BBConfig);
  17830. write_phy_reg(pi, 0x91, phy_saveregs[0]);
  17831. write_phy_reg(pi, 0x92, phy_saveregs[1]);
  17832. write_phy_reg(pi, 0xe7, phy_saveregs[2]);
  17833. write_phy_reg(pi, 0xec, phy_saveregs[3]);
  17834. pi->phyhang_avoid = phyhang_avoid_state;
  17835. if (pi->phyhang_avoid)
  17836. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17837. }
  17838. static void wlc_phy_savecal_nphy(struct brcms_phy *pi)
  17839. {
  17840. void *tbl_ptr;
  17841. int coreNum;
  17842. u16 *txcal_radio_regs = NULL;
  17843. if (pi->phyhang_avoid)
  17844. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  17845. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17846. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17847. &pi->calibration_cache.
  17848. rxcal_coeffs_2G);
  17849. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17850. txcal_radio_regs =
  17851. pi->calibration_cache.txcal_radio_regs_2G;
  17852. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17853. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17854. read_radio_reg(pi,
  17855. RADIO_2056_TX_LOFT_FINE_I |
  17856. RADIO_2056_TX0);
  17857. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17858. read_radio_reg(pi,
  17859. RADIO_2056_TX_LOFT_FINE_Q |
  17860. RADIO_2056_TX0);
  17861. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17862. read_radio_reg(pi,
  17863. RADIO_2056_TX_LOFT_FINE_I |
  17864. RADIO_2056_TX1);
  17865. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17866. read_radio_reg(pi,
  17867. RADIO_2056_TX_LOFT_FINE_Q |
  17868. RADIO_2056_TX1);
  17869. pi->calibration_cache.txcal_radio_regs_2G[4] =
  17870. read_radio_reg(pi,
  17871. RADIO_2056_TX_LOFT_COARSE_I |
  17872. RADIO_2056_TX0);
  17873. pi->calibration_cache.txcal_radio_regs_2G[5] =
  17874. read_radio_reg(pi,
  17875. RADIO_2056_TX_LOFT_COARSE_Q |
  17876. RADIO_2056_TX0);
  17877. pi->calibration_cache.txcal_radio_regs_2G[6] =
  17878. read_radio_reg(pi,
  17879. RADIO_2056_TX_LOFT_COARSE_I |
  17880. RADIO_2056_TX1);
  17881. pi->calibration_cache.txcal_radio_regs_2G[7] =
  17882. read_radio_reg(pi,
  17883. RADIO_2056_TX_LOFT_COARSE_Q |
  17884. RADIO_2056_TX1);
  17885. } else {
  17886. pi->calibration_cache.txcal_radio_regs_2G[0] =
  17887. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  17888. pi->calibration_cache.txcal_radio_regs_2G[1] =
  17889. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  17890. pi->calibration_cache.txcal_radio_regs_2G[2] =
  17891. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  17892. pi->calibration_cache.txcal_radio_regs_2G[3] =
  17893. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  17894. }
  17895. pi->nphy_iqcal_chanspec_2G = pi->radio_chanspec;
  17896. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  17897. } else {
  17898. wlc_phy_rx_iq_coeffs_nphy(pi, 0,
  17899. &pi->calibration_cache.
  17900. rxcal_coeffs_5G);
  17901. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17902. txcal_radio_regs =
  17903. pi->calibration_cache.txcal_radio_regs_5G;
  17904. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17905. pi->calibration_cache.txcal_radio_regs_5G[0] =
  17906. read_radio_reg(pi,
  17907. RADIO_2056_TX_LOFT_FINE_I |
  17908. RADIO_2056_TX0);
  17909. pi->calibration_cache.txcal_radio_regs_5G[1] =
  17910. read_radio_reg(pi,
  17911. RADIO_2056_TX_LOFT_FINE_Q |
  17912. RADIO_2056_TX0);
  17913. pi->calibration_cache.txcal_radio_regs_5G[2] =
  17914. read_radio_reg(pi,
  17915. RADIO_2056_TX_LOFT_FINE_I |
  17916. RADIO_2056_TX1);
  17917. pi->calibration_cache.txcal_radio_regs_5G[3] =
  17918. read_radio_reg(pi,
  17919. RADIO_2056_TX_LOFT_FINE_Q |
  17920. RADIO_2056_TX1);
  17921. pi->calibration_cache.txcal_radio_regs_5G[4] =
  17922. read_radio_reg(pi,
  17923. RADIO_2056_TX_LOFT_COARSE_I |
  17924. RADIO_2056_TX0);
  17925. pi->calibration_cache.txcal_radio_regs_5G[5] =
  17926. read_radio_reg(pi,
  17927. RADIO_2056_TX_LOFT_COARSE_Q |
  17928. RADIO_2056_TX0);
  17929. pi->calibration_cache.txcal_radio_regs_5G[6] =
  17930. read_radio_reg(pi,
  17931. RADIO_2056_TX_LOFT_COARSE_I |
  17932. RADIO_2056_TX1);
  17933. pi->calibration_cache.txcal_radio_regs_5G[7] =
  17934. read_radio_reg(pi,
  17935. RADIO_2056_TX_LOFT_COARSE_Q |
  17936. RADIO_2056_TX1);
  17937. } else {
  17938. pi->calibration_cache.txcal_radio_regs_5G[0] =
  17939. read_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL);
  17940. pi->calibration_cache.txcal_radio_regs_5G[1] =
  17941. read_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL);
  17942. pi->calibration_cache.txcal_radio_regs_5G[2] =
  17943. read_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM);
  17944. pi->calibration_cache.txcal_radio_regs_5G[3] =
  17945. read_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM);
  17946. }
  17947. pi->nphy_iqcal_chanspec_5G = pi->radio_chanspec;
  17948. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  17949. }
  17950. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  17951. for (coreNum = 0; coreNum <= 1; coreNum++) {
  17952. txcal_radio_regs[2 * coreNum] =
  17953. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17954. LOFT_FINE_I);
  17955. txcal_radio_regs[2 * coreNum + 1] =
  17956. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17957. LOFT_FINE_Q);
  17958. txcal_radio_regs[2 * coreNum + 4] =
  17959. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17960. LOFT_COARSE_I);
  17961. txcal_radio_regs[2 * coreNum + 5] =
  17962. READ_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  17963. LOFT_COARSE_Q);
  17964. }
  17965. }
  17966. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 8, 80, 16, tbl_ptr);
  17967. if (pi->phyhang_avoid)
  17968. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  17969. }
  17970. static void wlc_phy_tx_iq_war_nphy(struct brcms_phy *pi)
  17971. {
  17972. struct nphy_iq_comp tx_comp;
  17973. wlc_phy_table_read_nphy(pi, 15, 4, 0x50, 16, &tx_comp);
  17974. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ, tx_comp.a0);
  17975. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 2, tx_comp.b0);
  17976. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 4, tx_comp.a1);
  17977. wlapi_bmac_write_shm(pi->sh->physhim, M_20IN40_IQ + 6, tx_comp.b1);
  17978. }
  17979. static void wlc_phy_restorecal_nphy(struct brcms_phy *pi)
  17980. {
  17981. u16 *loft_comp;
  17982. u16 txcal_coeffs_bphy[4];
  17983. u16 *tbl_ptr;
  17984. int coreNum;
  17985. u16 *txcal_radio_regs = NULL;
  17986. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  17987. if (pi->nphy_iqcal_chanspec_2G == 0)
  17988. return;
  17989. tbl_ptr = pi->calibration_cache.txcal_coeffs_2G;
  17990. loft_comp = &pi->calibration_cache.txcal_coeffs_2G[5];
  17991. } else {
  17992. if (pi->nphy_iqcal_chanspec_5G == 0)
  17993. return;
  17994. tbl_ptr = pi->calibration_cache.txcal_coeffs_5G;
  17995. loft_comp = &pi->calibration_cache.txcal_coeffs_5G[5];
  17996. }
  17997. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80, 16, tbl_ptr);
  17998. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  17999. txcal_coeffs_bphy[0] = tbl_ptr[0];
  18000. txcal_coeffs_bphy[1] = tbl_ptr[1];
  18001. txcal_coeffs_bphy[2] = tbl_ptr[2];
  18002. txcal_coeffs_bphy[3] = tbl_ptr[3];
  18003. } else {
  18004. txcal_coeffs_bphy[0] = 0;
  18005. txcal_coeffs_bphy[1] = 0;
  18006. txcal_coeffs_bphy[2] = 0;
  18007. txcal_coeffs_bphy[3] = 0;
  18008. }
  18009. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88, 16,
  18010. txcal_coeffs_bphy);
  18011. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85, 16, loft_comp);
  18012. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93, 16, loft_comp);
  18013. if (NREV_LT(pi->pubpi.phy_rev, 2))
  18014. wlc_phy_tx_iq_war_nphy(pi);
  18015. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18016. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18017. txcal_radio_regs =
  18018. pi->calibration_cache.txcal_radio_regs_2G;
  18019. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18020. write_radio_reg(pi,
  18021. RADIO_2056_TX_LOFT_FINE_I |
  18022. RADIO_2056_TX0,
  18023. pi->calibration_cache.
  18024. txcal_radio_regs_2G[0]);
  18025. write_radio_reg(pi,
  18026. RADIO_2056_TX_LOFT_FINE_Q |
  18027. RADIO_2056_TX0,
  18028. pi->calibration_cache.
  18029. txcal_radio_regs_2G[1]);
  18030. write_radio_reg(pi,
  18031. RADIO_2056_TX_LOFT_FINE_I |
  18032. RADIO_2056_TX1,
  18033. pi->calibration_cache.
  18034. txcal_radio_regs_2G[2]);
  18035. write_radio_reg(pi,
  18036. RADIO_2056_TX_LOFT_FINE_Q |
  18037. RADIO_2056_TX1,
  18038. pi->calibration_cache.
  18039. txcal_radio_regs_2G[3]);
  18040. write_radio_reg(pi,
  18041. RADIO_2056_TX_LOFT_COARSE_I |
  18042. RADIO_2056_TX0,
  18043. pi->calibration_cache.
  18044. txcal_radio_regs_2G[4]);
  18045. write_radio_reg(pi,
  18046. RADIO_2056_TX_LOFT_COARSE_Q |
  18047. RADIO_2056_TX0,
  18048. pi->calibration_cache.
  18049. txcal_radio_regs_2G[5]);
  18050. write_radio_reg(pi,
  18051. RADIO_2056_TX_LOFT_COARSE_I |
  18052. RADIO_2056_TX1,
  18053. pi->calibration_cache.
  18054. txcal_radio_regs_2G[6]);
  18055. write_radio_reg(pi,
  18056. RADIO_2056_TX_LOFT_COARSE_Q |
  18057. RADIO_2056_TX1,
  18058. pi->calibration_cache.
  18059. txcal_radio_regs_2G[7]);
  18060. } else {
  18061. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18062. pi->calibration_cache.
  18063. txcal_radio_regs_2G[0]);
  18064. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18065. pi->calibration_cache.
  18066. txcal_radio_regs_2G[1]);
  18067. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18068. pi->calibration_cache.
  18069. txcal_radio_regs_2G[2]);
  18070. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18071. pi->calibration_cache.
  18072. txcal_radio_regs_2G[3]);
  18073. }
  18074. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18075. &pi->calibration_cache.
  18076. rxcal_coeffs_2G);
  18077. } else {
  18078. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18079. txcal_radio_regs =
  18080. pi->calibration_cache.txcal_radio_regs_5G;
  18081. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18082. write_radio_reg(pi,
  18083. RADIO_2056_TX_LOFT_FINE_I |
  18084. RADIO_2056_TX0,
  18085. pi->calibration_cache.
  18086. txcal_radio_regs_5G[0]);
  18087. write_radio_reg(pi,
  18088. RADIO_2056_TX_LOFT_FINE_Q |
  18089. RADIO_2056_TX0,
  18090. pi->calibration_cache.
  18091. txcal_radio_regs_5G[1]);
  18092. write_radio_reg(pi,
  18093. RADIO_2056_TX_LOFT_FINE_I |
  18094. RADIO_2056_TX1,
  18095. pi->calibration_cache.
  18096. txcal_radio_regs_5G[2]);
  18097. write_radio_reg(pi,
  18098. RADIO_2056_TX_LOFT_FINE_Q |
  18099. RADIO_2056_TX1,
  18100. pi->calibration_cache.
  18101. txcal_radio_regs_5G[3]);
  18102. write_radio_reg(pi,
  18103. RADIO_2056_TX_LOFT_COARSE_I |
  18104. RADIO_2056_TX0,
  18105. pi->calibration_cache.
  18106. txcal_radio_regs_5G[4]);
  18107. write_radio_reg(pi,
  18108. RADIO_2056_TX_LOFT_COARSE_Q |
  18109. RADIO_2056_TX0,
  18110. pi->calibration_cache.
  18111. txcal_radio_regs_5G[5]);
  18112. write_radio_reg(pi,
  18113. RADIO_2056_TX_LOFT_COARSE_I |
  18114. RADIO_2056_TX1,
  18115. pi->calibration_cache.
  18116. txcal_radio_regs_5G[6]);
  18117. write_radio_reg(pi,
  18118. RADIO_2056_TX_LOFT_COARSE_Q |
  18119. RADIO_2056_TX1,
  18120. pi->calibration_cache.
  18121. txcal_radio_regs_5G[7]);
  18122. } else {
  18123. write_radio_reg(pi, RADIO_2055_CORE1_TX_VOS_CNCL,
  18124. pi->calibration_cache.
  18125. txcal_radio_regs_5G[0]);
  18126. write_radio_reg(pi, RADIO_2055_CORE2_TX_VOS_CNCL,
  18127. pi->calibration_cache.
  18128. txcal_radio_regs_5G[1]);
  18129. write_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM,
  18130. pi->calibration_cache.
  18131. txcal_radio_regs_5G[2]);
  18132. write_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM,
  18133. pi->calibration_cache.
  18134. txcal_radio_regs_5G[3]);
  18135. }
  18136. wlc_phy_rx_iq_coeffs_nphy(pi, 1,
  18137. &pi->calibration_cache.
  18138. rxcal_coeffs_5G);
  18139. }
  18140. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18141. for (coreNum = 0; coreNum <= 1; coreNum++) {
  18142. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18143. LOFT_FINE_I,
  18144. txcal_radio_regs[2 * coreNum]);
  18145. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18146. LOFT_FINE_Q,
  18147. txcal_radio_regs[2 * coreNum + 1]);
  18148. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18149. LOFT_COARSE_I,
  18150. txcal_radio_regs[2 * coreNum + 4]);
  18151. WRITE_RADIO_REG3(pi, RADIO_2057, TX, coreNum,
  18152. LOFT_COARSE_Q,
  18153. txcal_radio_regs[2 * coreNum + 5]);
  18154. }
  18155. }
  18156. }
  18157. static void wlc_phy_txpwrctrl_coeff_setup_nphy(struct brcms_phy *pi)
  18158. {
  18159. u32 idx;
  18160. u16 iqloCalbuf[7];
  18161. u32 iqcomp, locomp, curr_locomp;
  18162. s8 locomp_i, locomp_q;
  18163. s8 curr_locomp_i, curr_locomp_q;
  18164. u32 tbl_id, tbl_len, tbl_offset;
  18165. u32 regval[128];
  18166. if (pi->phyhang_avoid)
  18167. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18168. wlc_phy_table_read_nphy(pi, 15, 7, 80, 16, iqloCalbuf);
  18169. tbl_len = 128;
  18170. tbl_offset = 320;
  18171. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18172. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18173. iqcomp =
  18174. (tbl_id ==
  18175. 26) ? (((u32) (iqloCalbuf[0] & 0x3ff)) << 10) |
  18176. (iqloCalbuf[1] & 0x3ff)
  18177. : (((u32) (iqloCalbuf[2] & 0x3ff)) << 10) |
  18178. (iqloCalbuf[3] & 0x3ff);
  18179. for (idx = 0; idx < tbl_len; idx++)
  18180. regval[idx] = iqcomp;
  18181. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18182. regval);
  18183. }
  18184. tbl_offset = 448;
  18185. for (tbl_id = NPHY_TBL_ID_CORE1TXPWRCTL;
  18186. tbl_id <= NPHY_TBL_ID_CORE2TXPWRCTL; tbl_id++) {
  18187. locomp =
  18188. (u32) ((tbl_id == 26) ? iqloCalbuf[5] : iqloCalbuf[6]);
  18189. locomp_i = (s8) ((locomp >> 8) & 0xff);
  18190. locomp_q = (s8) ((locomp) & 0xff);
  18191. for (idx = 0; idx < tbl_len; idx++) {
  18192. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18193. curr_locomp_i = locomp_i;
  18194. curr_locomp_q = locomp_q;
  18195. } else {
  18196. curr_locomp_i = (s8) ((locomp_i *
  18197. nphy_tpc_loscale[idx] +
  18198. 128) >> 8);
  18199. curr_locomp_q =
  18200. (s8) ((locomp_q *
  18201. nphy_tpc_loscale[idx] +
  18202. 128) >> 8);
  18203. }
  18204. curr_locomp = (u32) ((curr_locomp_i & 0xff) << 8);
  18205. curr_locomp |= (u32) (curr_locomp_q & 0xff);
  18206. regval[idx] = curr_locomp;
  18207. }
  18208. wlc_phy_table_write_nphy(pi, tbl_id, tbl_len, tbl_offset, 32,
  18209. regval);
  18210. }
  18211. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18212. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX1, 0xFFFF);
  18213. wlapi_bmac_write_shm(pi->sh->physhim, M_CURR_IDX2, 0xFFFF);
  18214. }
  18215. if (pi->phyhang_avoid)
  18216. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18217. }
  18218. static void wlc_phy_txlpfbw_nphy(struct brcms_phy *pi)
  18219. {
  18220. u8 tx_lpf_bw = 0;
  18221. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18222. if (CHSPEC_IS40(pi->radio_chanspec))
  18223. tx_lpf_bw = 3;
  18224. else
  18225. tx_lpf_bw = 1;
  18226. if (PHY_IPA(pi)) {
  18227. if (CHSPEC_IS40(pi->radio_chanspec))
  18228. tx_lpf_bw = 5;
  18229. else
  18230. tx_lpf_bw = 4;
  18231. }
  18232. write_phy_reg(pi, 0xe8,
  18233. (tx_lpf_bw << 0) |
  18234. (tx_lpf_bw << 3) |
  18235. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18236. if (PHY_IPA(pi)) {
  18237. if (CHSPEC_IS40(pi->radio_chanspec))
  18238. tx_lpf_bw = 4;
  18239. else
  18240. tx_lpf_bw = 1;
  18241. write_phy_reg(pi, 0xe9,
  18242. (tx_lpf_bw << 0) |
  18243. (tx_lpf_bw << 3) |
  18244. (tx_lpf_bw << 6) | (tx_lpf_bw << 9));
  18245. }
  18246. }
  18247. }
  18248. static void
  18249. wlc_phy_adjust_rx_analpfbw_nphy(struct brcms_phy *pi, u16 reduction_factr)
  18250. {
  18251. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LT(pi->pubpi.phy_rev, 7)) {
  18252. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18253. CHSPEC_IS40(pi->radio_chanspec)) {
  18254. if (!pi->nphy_anarxlpf_adjusted) {
  18255. write_radio_reg(pi,
  18256. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18257. RADIO_2056_RX0),
  18258. ((pi->nphy_rccal_value +
  18259. reduction_factr) | 0x80));
  18260. pi->nphy_anarxlpf_adjusted = true;
  18261. }
  18262. } else {
  18263. if (pi->nphy_anarxlpf_adjusted) {
  18264. write_radio_reg(pi,
  18265. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  18266. RADIO_2056_RX0),
  18267. (pi->nphy_rccal_value | 0x80));
  18268. pi->nphy_anarxlpf_adjusted = false;
  18269. }
  18270. }
  18271. }
  18272. }
  18273. static void
  18274. wlc_phy_adjust_min_noisevar_nphy(struct brcms_phy *pi, int ntones,
  18275. int *tone_id_buf, u32 *noise_var_buf)
  18276. {
  18277. int i;
  18278. u32 offset;
  18279. int tone_id;
  18280. int tbllen =
  18281. CHSPEC_IS40(pi->radio_chanspec) ?
  18282. NPHY_NOISEVAR_TBLLEN40 : NPHY_NOISEVAR_TBLLEN20;
  18283. if (pi->nphy_noisevars_adjusted) {
  18284. for (i = 0; i < pi->nphy_saved_noisevars.bufcount; i++) {
  18285. tone_id = pi->nphy_saved_noisevars.tone_id[i];
  18286. offset = (tone_id >= 0) ?
  18287. ((tone_id *
  18288. 2) + 1) : (tbllen + (tone_id * 2) + 1);
  18289. wlc_phy_table_write_nphy(
  18290. pi, NPHY_TBL_ID_NOISEVAR, 1,
  18291. offset, 32,
  18292. &pi->nphy_saved_noisevars.min_noise_vars[i]);
  18293. }
  18294. pi->nphy_saved_noisevars.bufcount = 0;
  18295. pi->nphy_noisevars_adjusted = false;
  18296. }
  18297. if ((noise_var_buf != NULL) && (tone_id_buf != NULL)) {
  18298. pi->nphy_saved_noisevars.bufcount = 0;
  18299. for (i = 0; i < ntones; i++) {
  18300. tone_id = tone_id_buf[i];
  18301. offset = (tone_id >= 0) ?
  18302. ((tone_id * 2) + 1) :
  18303. (tbllen + (tone_id * 2) + 1);
  18304. pi->nphy_saved_noisevars.tone_id[i] = tone_id;
  18305. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18306. offset, 32,
  18307. &pi->nphy_saved_noisevars.
  18308. min_noise_vars[i]);
  18309. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_NOISEVAR, 1,
  18310. offset, 32, &noise_var_buf[i]);
  18311. pi->nphy_saved_noisevars.bufcount++;
  18312. }
  18313. pi->nphy_noisevars_adjusted = true;
  18314. }
  18315. }
  18316. static void wlc_phy_adjust_crsminpwr_nphy(struct brcms_phy *pi, u8 minpwr)
  18317. {
  18318. u16 regval;
  18319. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18320. if ((CHSPEC_CHANNEL(pi->radio_chanspec) == 11) &&
  18321. CHSPEC_IS40(pi->radio_chanspec)) {
  18322. if (!pi->nphy_crsminpwr_adjusted) {
  18323. regval = read_phy_reg(pi, 0x27d);
  18324. pi->nphy_crsminpwr[0] = regval & 0xff;
  18325. regval &= 0xff00;
  18326. regval |= (u16) minpwr;
  18327. write_phy_reg(pi, 0x27d, regval);
  18328. regval = read_phy_reg(pi, 0x280);
  18329. pi->nphy_crsminpwr[1] = regval & 0xff;
  18330. regval &= 0xff00;
  18331. regval |= (u16) minpwr;
  18332. write_phy_reg(pi, 0x280, regval);
  18333. regval = read_phy_reg(pi, 0x283);
  18334. pi->nphy_crsminpwr[2] = regval & 0xff;
  18335. regval &= 0xff00;
  18336. regval |= (u16) minpwr;
  18337. write_phy_reg(pi, 0x283, regval);
  18338. pi->nphy_crsminpwr_adjusted = true;
  18339. }
  18340. } else {
  18341. if (pi->nphy_crsminpwr_adjusted) {
  18342. regval = read_phy_reg(pi, 0x27d);
  18343. regval &= 0xff00;
  18344. regval |= pi->nphy_crsminpwr[0];
  18345. write_phy_reg(pi, 0x27d, regval);
  18346. regval = read_phy_reg(pi, 0x280);
  18347. regval &= 0xff00;
  18348. regval |= pi->nphy_crsminpwr[1];
  18349. write_phy_reg(pi, 0x280, regval);
  18350. regval = read_phy_reg(pi, 0x283);
  18351. regval &= 0xff00;
  18352. regval |= pi->nphy_crsminpwr[2];
  18353. write_phy_reg(pi, 0x283, regval);
  18354. pi->nphy_crsminpwr_adjusted = false;
  18355. }
  18356. }
  18357. }
  18358. }
  18359. static void wlc_phy_spurwar_nphy(struct brcms_phy *pi)
  18360. {
  18361. u16 cur_channel = 0;
  18362. int nphy_adj_tone_id_buf[] = { 57, 58 };
  18363. u32 nphy_adj_noise_var_buf[] = { 0x3ff, 0x3ff };
  18364. bool isAdjustNoiseVar = false;
  18365. uint numTonesAdjust = 0;
  18366. u32 tempval = 0;
  18367. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18368. if (pi->phyhang_avoid)
  18369. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18370. cur_channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  18371. if (pi->nphy_gband_spurwar_en) {
  18372. wlc_phy_adjust_rx_analpfbw_nphy(
  18373. pi,
  18374. NPHY_ANARXLPFBW_REDUCTIONFACT);
  18375. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  18376. if ((cur_channel == 11)
  18377. && CHSPEC_IS40(pi->radio_chanspec))
  18378. wlc_phy_adjust_min_noisevar_nphy(
  18379. pi, 2,
  18380. nphy_adj_tone_id_buf,
  18381. nphy_adj_noise_var_buf);
  18382. else
  18383. wlc_phy_adjust_min_noisevar_nphy(pi, 0,
  18384. NULL,
  18385. NULL);
  18386. }
  18387. wlc_phy_adjust_crsminpwr_nphy(pi,
  18388. NPHY_ADJUSTED_MINCRSPOWER);
  18389. }
  18390. if ((pi->nphy_gband_spurwar2_en)
  18391. && CHSPEC_IS2G(pi->radio_chanspec)) {
  18392. if (CHSPEC_IS40(pi->radio_chanspec)) {
  18393. switch (cur_channel) {
  18394. case 3:
  18395. nphy_adj_tone_id_buf[0] = 57;
  18396. nphy_adj_tone_id_buf[1] = 58;
  18397. nphy_adj_noise_var_buf[0] = 0x22f;
  18398. nphy_adj_noise_var_buf[1] = 0x25f;
  18399. isAdjustNoiseVar = true;
  18400. break;
  18401. case 4:
  18402. nphy_adj_tone_id_buf[0] = 41;
  18403. nphy_adj_tone_id_buf[1] = 42;
  18404. nphy_adj_noise_var_buf[0] = 0x22f;
  18405. nphy_adj_noise_var_buf[1] = 0x25f;
  18406. isAdjustNoiseVar = true;
  18407. break;
  18408. case 5:
  18409. nphy_adj_tone_id_buf[0] = 25;
  18410. nphy_adj_tone_id_buf[1] = 26;
  18411. nphy_adj_noise_var_buf[0] = 0x24f;
  18412. nphy_adj_noise_var_buf[1] = 0x25f;
  18413. isAdjustNoiseVar = true;
  18414. break;
  18415. case 6:
  18416. nphy_adj_tone_id_buf[0] = 9;
  18417. nphy_adj_tone_id_buf[1] = 10;
  18418. nphy_adj_noise_var_buf[0] = 0x22f;
  18419. nphy_adj_noise_var_buf[1] = 0x24f;
  18420. isAdjustNoiseVar = true;
  18421. break;
  18422. case 7:
  18423. nphy_adj_tone_id_buf[0] = 121;
  18424. nphy_adj_tone_id_buf[1] = 122;
  18425. nphy_adj_noise_var_buf[0] = 0x18f;
  18426. nphy_adj_noise_var_buf[1] = 0x24f;
  18427. isAdjustNoiseVar = true;
  18428. break;
  18429. case 8:
  18430. nphy_adj_tone_id_buf[0] = 105;
  18431. nphy_adj_tone_id_buf[1] = 106;
  18432. nphy_adj_noise_var_buf[0] = 0x22f;
  18433. nphy_adj_noise_var_buf[1] = 0x25f;
  18434. isAdjustNoiseVar = true;
  18435. break;
  18436. case 9:
  18437. nphy_adj_tone_id_buf[0] = 89;
  18438. nphy_adj_tone_id_buf[1] = 90;
  18439. nphy_adj_noise_var_buf[0] = 0x22f;
  18440. nphy_adj_noise_var_buf[1] = 0x24f;
  18441. isAdjustNoiseVar = true;
  18442. break;
  18443. case 10:
  18444. nphy_adj_tone_id_buf[0] = 73;
  18445. nphy_adj_tone_id_buf[1] = 74;
  18446. nphy_adj_noise_var_buf[0] = 0x22f;
  18447. nphy_adj_noise_var_buf[1] = 0x24f;
  18448. isAdjustNoiseVar = true;
  18449. break;
  18450. default:
  18451. isAdjustNoiseVar = false;
  18452. break;
  18453. }
  18454. }
  18455. if (isAdjustNoiseVar) {
  18456. numTonesAdjust = ARRAY_SIZE(nphy_adj_tone_id_buf);
  18457. wlc_phy_adjust_min_noisevar_nphy(
  18458. pi,
  18459. numTonesAdjust,
  18460. nphy_adj_tone_id_buf,
  18461. nphy_adj_noise_var_buf);
  18462. tempval = 0;
  18463. } else {
  18464. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18465. NULL);
  18466. }
  18467. }
  18468. if ((pi->nphy_aband_spurwar_en) &&
  18469. (CHSPEC_IS5G(pi->radio_chanspec))) {
  18470. switch (cur_channel) {
  18471. case 54:
  18472. nphy_adj_tone_id_buf[0] = 32;
  18473. nphy_adj_noise_var_buf[0] = 0x25f;
  18474. break;
  18475. case 38:
  18476. case 102:
  18477. case 118:
  18478. nphy_adj_tone_id_buf[0] = 0;
  18479. nphy_adj_noise_var_buf[0] = 0x0;
  18480. break;
  18481. case 134:
  18482. nphy_adj_tone_id_buf[0] = 32;
  18483. nphy_adj_noise_var_buf[0] = 0x21f;
  18484. break;
  18485. case 151:
  18486. nphy_adj_tone_id_buf[0] = 16;
  18487. nphy_adj_noise_var_buf[0] = 0x23f;
  18488. break;
  18489. case 153:
  18490. case 161:
  18491. nphy_adj_tone_id_buf[0] = 48;
  18492. nphy_adj_noise_var_buf[0] = 0x23f;
  18493. break;
  18494. default:
  18495. nphy_adj_tone_id_buf[0] = 0;
  18496. nphy_adj_noise_var_buf[0] = 0x0;
  18497. break;
  18498. }
  18499. if (nphy_adj_tone_id_buf[0]
  18500. && nphy_adj_noise_var_buf[0])
  18501. wlc_phy_adjust_min_noisevar_nphy(
  18502. pi, 1,
  18503. nphy_adj_tone_id_buf,
  18504. nphy_adj_noise_var_buf);
  18505. else
  18506. wlc_phy_adjust_min_noisevar_nphy(pi, 0, NULL,
  18507. NULL);
  18508. }
  18509. if (pi->phyhang_avoid)
  18510. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18511. }
  18512. }
  18513. void wlc_phy_init_nphy(struct brcms_phy *pi)
  18514. {
  18515. u16 val;
  18516. u16 clip1_ths[2];
  18517. struct nphy_txgains target_gain;
  18518. u8 tx_pwr_ctrl_state;
  18519. bool do_nphy_cal = false;
  18520. uint core;
  18521. u32 d11_clk_ctl_st;
  18522. bool do_rssi_cal = false;
  18523. core = 0;
  18524. if (!(pi->measure_hold & PHY_HOLD_FOR_SCAN))
  18525. pi->measure_hold |= PHY_HOLD_FOR_NOT_ASSOC;
  18526. if ((ISNPHY(pi)) && (NREV_GE(pi->pubpi.phy_rev, 5)) &&
  18527. ((pi->sh->chippkg == BCM4717_PKG_ID) ||
  18528. (pi->sh->chippkg == BCM4718_PKG_ID))) {
  18529. if ((pi->sh->boardflags & BFL_EXTLNA) &&
  18530. (CHSPEC_IS2G(pi->radio_chanspec)))
  18531. ai_cc_reg(pi->sh->sih,
  18532. offsetof(struct chipcregs, chipcontrol),
  18533. 0x40, 0x40);
  18534. }
  18535. if ((pi->nphy_gband_spurwar2_en) && CHSPEC_IS2G(pi->radio_chanspec) &&
  18536. CHSPEC_IS40(pi->radio_chanspec)) {
  18537. d11_clk_ctl_st = bcma_read32(pi->d11core,
  18538. D11REGOFFS(clk_ctl_st));
  18539. bcma_mask32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18540. ~(CCS_FORCEHT | CCS_HTAREQ));
  18541. bcma_write32(pi->d11core, D11REGOFFS(clk_ctl_st),
  18542. d11_clk_ctl_st);
  18543. }
  18544. pi->use_int_tx_iqlo_cal_nphy =
  18545. (PHY_IPA(pi) ||
  18546. (NREV_GE(pi->pubpi.phy_rev, 7) ||
  18547. (NREV_GE(pi->pubpi.phy_rev, 5)
  18548. && pi->sh->boardflags2 & BFL2_INTERNDET_TXIQCAL)));
  18549. pi->internal_tx_iqlo_cal_tapoff_intpa_nphy = false;
  18550. pi->nphy_deaf_count = 0;
  18551. wlc_phy_tbl_init_nphy(pi);
  18552. pi->nphy_crsminpwr_adjusted = false;
  18553. pi->nphy_noisevars_adjusted = false;
  18554. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18555. write_phy_reg(pi, 0xe7, 0);
  18556. write_phy_reg(pi, 0xec, 0);
  18557. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18558. write_phy_reg(pi, 0x342, 0);
  18559. write_phy_reg(pi, 0x343, 0);
  18560. write_phy_reg(pi, 0x346, 0);
  18561. write_phy_reg(pi, 0x347, 0);
  18562. }
  18563. write_phy_reg(pi, 0xe5, 0);
  18564. write_phy_reg(pi, 0xe6, 0);
  18565. } else {
  18566. write_phy_reg(pi, 0xec, 0);
  18567. }
  18568. write_phy_reg(pi, 0x91, 0);
  18569. write_phy_reg(pi, 0x92, 0);
  18570. if (NREV_LT(pi->pubpi.phy_rev, 6)) {
  18571. write_phy_reg(pi, 0x93, 0);
  18572. write_phy_reg(pi, 0x94, 0);
  18573. }
  18574. and_phy_reg(pi, 0xa1, ~3);
  18575. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18576. write_phy_reg(pi, 0x8f, 0);
  18577. write_phy_reg(pi, 0xa5, 0);
  18578. } else {
  18579. write_phy_reg(pi, 0xa5, 0);
  18580. }
  18581. if (NREV_IS(pi->pubpi.phy_rev, 2))
  18582. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  18583. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  18584. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  18585. write_phy_reg(pi, 0x203, 32);
  18586. write_phy_reg(pi, 0x201, 32);
  18587. if (pi->sh->boardflags2 & BFL2_SKWRKFEM_BRD)
  18588. write_phy_reg(pi, 0x20d, 160);
  18589. else
  18590. write_phy_reg(pi, 0x20d, 184);
  18591. write_phy_reg(pi, 0x13a, 200);
  18592. write_phy_reg(pi, 0x70, 80);
  18593. write_phy_reg(pi, 0x1ff, 48);
  18594. if (NREV_LT(pi->pubpi.phy_rev, 8))
  18595. wlc_phy_update_mimoconfig_nphy(pi, pi->n_preamble_override);
  18596. wlc_phy_stf_chain_upd_nphy(pi);
  18597. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  18598. write_phy_reg(pi, 0x180, 0xaa8);
  18599. write_phy_reg(pi, 0x181, 0x9a4);
  18600. }
  18601. if (PHY_IPA(pi)) {
  18602. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  18603. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  18604. 0x29b, (0x1 << 0), (1) << 0);
  18605. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x298 :
  18606. 0x29c, (0x1ff << 7),
  18607. (pi->nphy_papd_epsilon_offset[core]) << 7);
  18608. }
  18609. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  18610. } else if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  18611. wlc_phy_extpa_set_tx_digi_filts_nphy(pi);
  18612. }
  18613. wlc_phy_workarounds_nphy(pi);
  18614. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18615. val = read_phy_reg(pi, 0x01);
  18616. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18617. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18618. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18619. wlapi_bmac_macphyclk_set(pi->sh->physhim, ON);
  18620. wlc_phy_pa_override_nphy(pi, OFF);
  18621. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  18622. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18623. wlc_phy_pa_override_nphy(pi, ON);
  18624. wlc_phy_classifier_nphy(pi, 0, 0);
  18625. wlc_phy_clip_det_nphy(pi, 0, clip1_ths);
  18626. if (CHSPEC_IS2G(pi->radio_chanspec))
  18627. wlc_phy_bphy_init_nphy(pi);
  18628. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  18629. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  18630. wlc_phy_txpwr_fixpower_nphy(pi);
  18631. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  18632. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  18633. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18634. u32 *tx_pwrctrl_tbl = NULL;
  18635. u16 idx;
  18636. s16 pga_gn = 0;
  18637. s16 pad_gn = 0;
  18638. s32 rfpwr_offset;
  18639. if (PHY_IPA(pi)) {
  18640. tx_pwrctrl_tbl = wlc_phy_get_ipa_gaintbl_nphy(pi);
  18641. } else {
  18642. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  18643. if (NREV_IS(pi->pubpi.phy_rev, 3))
  18644. tx_pwrctrl_tbl =
  18645. nphy_tpc_5GHz_txgain_rev3;
  18646. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  18647. tx_pwrctrl_tbl =
  18648. (pi->srom_fem5g.extpagain ==
  18649. 3) ?
  18650. nphy_tpc_5GHz_txgain_HiPwrEPA :
  18651. nphy_tpc_5GHz_txgain_rev4;
  18652. else
  18653. tx_pwrctrl_tbl =
  18654. nphy_tpc_5GHz_txgain_rev5;
  18655. } else {
  18656. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18657. if (pi->pubpi.radiorev == 5)
  18658. tx_pwrctrl_tbl =
  18659. nphy_tpc_txgain_epa_2057rev5;
  18660. else if (pi->pubpi.radiorev == 3)
  18661. tx_pwrctrl_tbl =
  18662. nphy_tpc_txgain_epa_2057rev3;
  18663. } else {
  18664. if (NREV_GE(pi->pubpi.phy_rev, 5) &&
  18665. (pi->srom_fem2g.extpagain == 3))
  18666. tx_pwrctrl_tbl =
  18667. nphy_tpc_txgain_HiPwrEPA;
  18668. else
  18669. tx_pwrctrl_tbl =
  18670. nphy_tpc_txgain_rev3;
  18671. }
  18672. }
  18673. }
  18674. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18675. 192, 32, tx_pwrctrl_tbl);
  18676. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18677. 192, 32, tx_pwrctrl_tbl);
  18678. pi->nphy_gmval = (u16) ((*tx_pwrctrl_tbl >> 16) & 0x7000);
  18679. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18680. for (idx = 0; idx < 128; idx++) {
  18681. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18682. pad_gn = (tx_pwrctrl_tbl[idx] >> 19) & 0x1f;
  18683. rfpwr_offset = get_rf_pwr_offset(pi, pga_gn,
  18684. pad_gn);
  18685. wlc_phy_table_write_nphy(
  18686. pi,
  18687. NPHY_TBL_ID_CORE1TXPWRCTL,
  18688. 1, 576 + idx, 32,
  18689. &rfpwr_offset);
  18690. wlc_phy_table_write_nphy(
  18691. pi,
  18692. NPHY_TBL_ID_CORE2TXPWRCTL,
  18693. 1, 576 + idx, 32,
  18694. &rfpwr_offset);
  18695. }
  18696. } else {
  18697. for (idx = 0; idx < 128; idx++) {
  18698. pga_gn = (tx_pwrctrl_tbl[idx] >> 24) & 0xf;
  18699. if (CHSPEC_IS2G(pi->radio_chanspec))
  18700. rfpwr_offset = (s16)
  18701. nphy_papd_pga_gain_delta_ipa_2g
  18702. [pga_gn];
  18703. else
  18704. rfpwr_offset = (s16)
  18705. nphy_papd_pga_gain_delta_ipa_5g
  18706. [pga_gn];
  18707. wlc_phy_table_write_nphy(
  18708. pi,
  18709. NPHY_TBL_ID_CORE1TXPWRCTL,
  18710. 1, 576 + idx, 32,
  18711. &rfpwr_offset);
  18712. wlc_phy_table_write_nphy(
  18713. pi,
  18714. NPHY_TBL_ID_CORE2TXPWRCTL,
  18715. 1, 576 + idx, 32,
  18716. &rfpwr_offset);
  18717. }
  18718. }
  18719. } else {
  18720. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 128,
  18721. 192, 32, nphy_tpc_txgain);
  18722. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 128,
  18723. 192, 32, nphy_tpc_txgain);
  18724. }
  18725. if (pi->sh->phyrxchain != 0x3)
  18726. wlc_phy_rxcore_setstate_nphy((struct brcms_phy_pub *) pi,
  18727. pi->sh->phyrxchain);
  18728. if (PHY_PERICAL_MPHASE_PENDING(pi))
  18729. wlc_phy_cal_perical_mphase_restart(pi);
  18730. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18731. do_rssi_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18732. (pi->nphy_rssical_chanspec_2G == 0) :
  18733. (pi->nphy_rssical_chanspec_5G == 0);
  18734. if (do_rssi_cal)
  18735. wlc_phy_rssi_cal_nphy(pi);
  18736. else
  18737. wlc_phy_restore_rssical_nphy(pi);
  18738. } else {
  18739. wlc_phy_rssi_cal_nphy(pi);
  18740. }
  18741. if (!SCAN_RM_IN_PROGRESS(pi))
  18742. do_nphy_cal = (CHSPEC_IS2G(pi->radio_chanspec)) ?
  18743. (pi->nphy_iqcal_chanspec_2G == 0) :
  18744. (pi->nphy_iqcal_chanspec_5G == 0);
  18745. if (!pi->do_initcal)
  18746. do_nphy_cal = false;
  18747. if (do_nphy_cal) {
  18748. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  18749. if (pi->antsel_type == ANTSEL_2x3)
  18750. wlc_phy_antsel_init((struct brcms_phy_pub *) pi,
  18751. true);
  18752. if (pi->nphy_perical != PHY_PERICAL_MPHASE) {
  18753. wlc_phy_rssi_cal_nphy(pi);
  18754. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18755. pi->nphy_cal_orig_pwr_idx[0] =
  18756. pi->nphy_txpwrindex[PHY_CORE_0]
  18757. .
  18758. index_internal;
  18759. pi->nphy_cal_orig_pwr_idx[1] =
  18760. pi->nphy_txpwrindex[PHY_CORE_1]
  18761. .
  18762. index_internal;
  18763. wlc_phy_precal_txgain_nphy(pi);
  18764. target_gain =
  18765. wlc_phy_get_tx_gain_nphy(pi);
  18766. }
  18767. if (wlc_phy_cal_txiqlo_nphy
  18768. (pi, target_gain, true,
  18769. false) == 0) {
  18770. if (wlc_phy_cal_rxiq_nphy
  18771. (pi, target_gain, 2,
  18772. false) == 0)
  18773. wlc_phy_savecal_nphy(pi);
  18774. }
  18775. } else if (pi->mphase_cal_phase_id ==
  18776. MPHASE_CAL_STATE_IDLE) {
  18777. wlc_phy_cal_perical((struct brcms_phy_pub *) pi,
  18778. PHY_PERICAL_PHYINIT);
  18779. }
  18780. } else {
  18781. wlc_phy_restorecal_nphy(pi);
  18782. }
  18783. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  18784. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  18785. wlc_phy_nphy_tkip_rifs_war(pi, pi->sh->_rifs_phy);
  18786. if (NREV_GE(pi->pubpi.phy_rev, 3) && NREV_LE(pi->pubpi.phy_rev, 6))
  18787. write_phy_reg(pi, 0x70, 50);
  18788. wlc_phy_txlpfbw_nphy(pi);
  18789. wlc_phy_spurwar_nphy(pi);
  18790. }
  18791. static void wlc_phy_resetcca_nphy(struct brcms_phy *pi)
  18792. {
  18793. u16 val;
  18794. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  18795. val = read_phy_reg(pi, 0x01);
  18796. write_phy_reg(pi, 0x01, val | BBCFG_RESETCCA);
  18797. udelay(1);
  18798. write_phy_reg(pi, 0x01, val & (~BBCFG_RESETCCA));
  18799. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  18800. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18801. }
  18802. void wlc_phy_pa_override_nphy(struct brcms_phy *pi, bool en)
  18803. {
  18804. u16 rfctrlintc_override_val;
  18805. if (!en) {
  18806. pi->rfctrlIntc1_save = read_phy_reg(pi, 0x91);
  18807. pi->rfctrlIntc2_save = read_phy_reg(pi, 0x92);
  18808. if (NREV_GE(pi->pubpi.phy_rev, 7))
  18809. rfctrlintc_override_val = 0x1480;
  18810. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  18811. rfctrlintc_override_val =
  18812. CHSPEC_IS5G(pi->radio_chanspec) ? 0x600 : 0x480;
  18813. else
  18814. rfctrlintc_override_val =
  18815. CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  18816. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  18817. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  18818. } else {
  18819. write_phy_reg(pi, 0x91, pi->rfctrlIntc1_save);
  18820. write_phy_reg(pi, 0x92, pi->rfctrlIntc2_save);
  18821. }
  18822. }
  18823. void wlc_phy_stf_chain_upd_nphy(struct brcms_phy *pi)
  18824. {
  18825. u16 txrx_chain =
  18826. (NPHY_RfseqCoreActv_TxRxChain0 | NPHY_RfseqCoreActv_TxRxChain1);
  18827. bool CoreActv_override = false;
  18828. if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN0) {
  18829. txrx_chain = NPHY_RfseqCoreActv_TxRxChain0;
  18830. CoreActv_override = true;
  18831. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18832. and_phy_reg(pi, 0xa0, ~0x20);
  18833. } else if (pi->nphy_txrx_chain == BRCMS_N_TXRX_CHAIN1) {
  18834. txrx_chain = NPHY_RfseqCoreActv_TxRxChain1;
  18835. CoreActv_override = true;
  18836. if (NREV_LE(pi->pubpi.phy_rev, 2))
  18837. or_phy_reg(pi, 0xa0, 0x20);
  18838. }
  18839. mod_phy_reg(pi, 0xa2, ((0xf << 0) | (0xf << 4)), txrx_chain);
  18840. if (CoreActv_override) {
  18841. pi->nphy_perical = PHY_PERICAL_DISABLE;
  18842. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  18843. } else {
  18844. pi->nphy_perical = PHY_PERICAL_MPHASE;
  18845. and_phy_reg(pi, 0xa1, ~NPHY_RfseqMode_CoreActv_override);
  18846. }
  18847. }
  18848. void wlc_phy_rxcore_setstate_nphy(struct brcms_phy_pub *pih, u8 rxcore_bitmask)
  18849. {
  18850. u16 regval;
  18851. u16 tbl_buf[16];
  18852. uint i;
  18853. struct brcms_phy *pi = (struct brcms_phy *) pih;
  18854. u16 tbl_opcode;
  18855. bool suspend;
  18856. pi->sh->phyrxchain = rxcore_bitmask;
  18857. if (!pi->sh->clk)
  18858. return;
  18859. suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  18860. MCTL_EN_MAC));
  18861. if (!suspend)
  18862. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  18863. if (pi->phyhang_avoid)
  18864. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  18865. regval = read_phy_reg(pi, 0xa2);
  18866. regval &= ~(0xf << 4);
  18867. regval |= ((u16) (rxcore_bitmask & 0x3)) << 4;
  18868. write_phy_reg(pi, 0xa2, regval);
  18869. if ((rxcore_bitmask & 0x3) != 0x3) {
  18870. write_phy_reg(pi, 0x20e, 1);
  18871. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18872. if (pi->rx2tx_biasentry == -1) {
  18873. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ,
  18874. ARRAY_SIZE(tbl_buf), 80,
  18875. 16, tbl_buf);
  18876. for (i = 0; i < ARRAY_SIZE(tbl_buf); i++) {
  18877. if (tbl_buf[i] ==
  18878. NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS) {
  18879. pi->rx2tx_biasentry = (u8) i;
  18880. tbl_opcode =
  18881. NPHY_REV3_RFSEQ_CMD_NOP;
  18882. wlc_phy_table_write_nphy(
  18883. pi,
  18884. NPHY_TBL_ID_RFSEQ,
  18885. 1, i,
  18886. 16,
  18887. &tbl_opcode);
  18888. break;
  18889. } else if (tbl_buf[i] ==
  18890. NPHY_REV3_RFSEQ_CMD_END)
  18891. break;
  18892. }
  18893. }
  18894. }
  18895. } else {
  18896. write_phy_reg(pi, 0x20e, 30);
  18897. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  18898. if (pi->rx2tx_biasentry != -1) {
  18899. tbl_opcode = NPHY_REV3_RFSEQ_CMD_CLR_RXRX_BIAS;
  18900. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  18901. 1, pi->rx2tx_biasentry,
  18902. 16, &tbl_opcode);
  18903. pi->rx2tx_biasentry = -1;
  18904. }
  18905. }
  18906. }
  18907. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  18908. if (pi->phyhang_avoid)
  18909. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  18910. if (!suspend)
  18911. wlapi_enable_mac(pi->sh->physhim);
  18912. }
  18913. u8 wlc_phy_rxcore_getstate_nphy(struct brcms_phy_pub *pih)
  18914. {
  18915. u16 regval, rxen_bits;
  18916. struct brcms_phy *pi = (struct brcms_phy *) pih;
  18917. regval = read_phy_reg(pi, 0xa2);
  18918. rxen_bits = (regval >> 4) & 0xf;
  18919. return (u8) rxen_bits;
  18920. }
  18921. bool wlc_phy_n_txpower_ipa_ison(struct brcms_phy *pi)
  18922. {
  18923. return PHY_IPA(pi);
  18924. }
  18925. void wlc_phy_cal_init_nphy(struct brcms_phy *pi)
  18926. {
  18927. }
  18928. static void wlc_phy_radio_preinit_205x(struct brcms_phy *pi)
  18929. {
  18930. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  18931. and_phy_reg(pi, 0x78, RFCC_OE_POR_FORCE);
  18932. or_phy_reg(pi, 0x78, ~RFCC_OE_POR_FORCE);
  18933. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU);
  18934. }
  18935. static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
  18936. {
  18937. struct radio_20xx_regs *regs_2057_ptr = NULL;
  18938. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  18939. regs_2057_ptr = regs_2057_rev4;
  18940. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  18941. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  18942. switch (pi->pubpi.radiorev) {
  18943. case 5:
  18944. if (NREV_IS(pi->pubpi.phy_rev, 8))
  18945. regs_2057_ptr = regs_2057_rev5;
  18946. else if (NREV_IS(pi->pubpi.phy_rev, 9))
  18947. regs_2057_ptr = regs_2057_rev5v1;
  18948. break;
  18949. case 7:
  18950. regs_2057_ptr = regs_2057_rev7;
  18951. break;
  18952. case 8:
  18953. regs_2057_ptr = regs_2057_rev8;
  18954. break;
  18955. default:
  18956. break;
  18957. }
  18958. }
  18959. wlc_phy_init_radio_regs_allbands(pi, regs_2057_ptr);
  18960. }
  18961. static u16 wlc_phy_radio205x_rcal(struct brcms_phy *pi)
  18962. {
  18963. u16 rcal_reg = 0;
  18964. int i;
  18965. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  18966. if (pi->pubpi.radiorev == 5) {
  18967. and_phy_reg(pi, 0x342, ~(0x1 << 1));
  18968. udelay(10);
  18969. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x1);
  18970. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  18971. 0x1);
  18972. }
  18973. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x1);
  18974. udelay(10);
  18975. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x3, 0x3);
  18976. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  18977. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS);
  18978. if (rcal_reg & 0x1)
  18979. break;
  18980. udelay(100);
  18981. }
  18982. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  18983. "HW error: radio calib2"))
  18984. return 0;
  18985. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x2, 0x0);
  18986. rcal_reg = read_radio_reg(pi, RADIO_2057_RCAL_STATUS) & 0x3e;
  18987. mod_radio_reg(pi, RADIO_2057_RCAL_CONFIG, 0x1, 0x0);
  18988. if (pi->pubpi.radiorev == 5) {
  18989. mod_radio_reg(pi, RADIO_2057_IQTEST_SEL_PU, 0x1, 0x0);
  18990. mod_radio_reg(pi, RADIO_2057v7_IQTEST_SEL_PU2, 0x2,
  18991. 0x0);
  18992. }
  18993. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  18994. mod_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x3c,
  18995. rcal_reg);
  18996. mod_radio_reg(pi, RADIO_2057_BANDGAP_RCAL_TRIM, 0xf0,
  18997. rcal_reg << 2);
  18998. }
  18999. } else if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19000. u16 savereg;
  19001. savereg =
  19002. read_radio_reg(
  19003. pi,
  19004. RADIO_2056_SYN_PLL_MAST2 |
  19005. RADIO_2056_SYN);
  19006. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19007. savereg | 0x7);
  19008. udelay(10);
  19009. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19010. 0x1);
  19011. udelay(10);
  19012. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19013. 0x9);
  19014. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19015. rcal_reg = read_radio_reg(
  19016. pi,
  19017. RADIO_2056_SYN_RCAL_CODE_OUT |
  19018. RADIO_2056_SYN);
  19019. if (rcal_reg & 0x80)
  19020. break;
  19021. udelay(100);
  19022. }
  19023. if (WARN(i == MAX_205x_RCAL_WAITLOOPS,
  19024. "HW error: radio calib3"))
  19025. return 0;
  19026. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19027. 0x1);
  19028. rcal_reg =
  19029. read_radio_reg(pi,
  19030. RADIO_2056_SYN_RCAL_CODE_OUT |
  19031. RADIO_2056_SYN);
  19032. write_radio_reg(pi, RADIO_2056_SYN_RCAL_MASTER | RADIO_2056_SYN,
  19033. 0x0);
  19034. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2 | RADIO_2056_SYN,
  19035. savereg);
  19036. return rcal_reg & 0x1f;
  19037. }
  19038. return rcal_reg & 0x3e;
  19039. }
  19040. static u16 wlc_phy_radio2057_rccal(struct brcms_phy *pi)
  19041. {
  19042. u16 rccal_valid;
  19043. int i;
  19044. bool chip43226_6362A0;
  19045. chip43226_6362A0 = ((pi->pubpi.radiorev == 3)
  19046. || (pi->pubpi.radiorev == 4)
  19047. || (pi->pubpi.radiorev == 6));
  19048. rccal_valid = 0;
  19049. if (chip43226_6362A0) {
  19050. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x61);
  19051. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xc0);
  19052. } else {
  19053. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x61);
  19054. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xe9);
  19055. }
  19056. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19057. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19058. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19059. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19060. if (rccal_valid & 0x2)
  19061. break;
  19062. udelay(500);
  19063. }
  19064. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19065. rccal_valid = 0;
  19066. if (chip43226_6362A0) {
  19067. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x69);
  19068. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19069. } else {
  19070. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x69);
  19071. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xd5);
  19072. }
  19073. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19074. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19075. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19076. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19077. if (rccal_valid & 0x2)
  19078. break;
  19079. udelay(500);
  19080. }
  19081. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19082. rccal_valid = 0;
  19083. if (chip43226_6362A0) {
  19084. write_radio_reg(pi, RADIO_2057_RCCAL_MASTER, 0x73);
  19085. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x28);
  19086. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0xb0);
  19087. } else {
  19088. write_radio_reg(pi, RADIO_2057v7_RCCAL_MASTER, 0x73);
  19089. write_radio_reg(pi, RADIO_2057_RCCAL_X1, 0x6e);
  19090. write_radio_reg(pi, RADIO_2057_RCCAL_TRC0, 0x99);
  19091. }
  19092. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x55);
  19093. for (i = 0; i < MAX_205x_RCAL_WAITLOOPS; i++) {
  19094. rccal_valid = read_radio_reg(pi, RADIO_2057_RCCAL_DONE_OSCCAP);
  19095. if (rccal_valid & 0x2)
  19096. break;
  19097. udelay(500);
  19098. }
  19099. if (WARN(!(rccal_valid & 0x2), "HW error: radio calib4"))
  19100. return 0;
  19101. write_radio_reg(pi, RADIO_2057_RCCAL_START_R1_Q1_P1, 0x15);
  19102. return rccal_valid;
  19103. }
  19104. static void wlc_phy_radio_postinit_2057(struct brcms_phy *pi)
  19105. {
  19106. mod_radio_reg(pi, RADIO_2057_XTALPUOVR_PINCTRL, 0x1, 0x1);
  19107. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x78);
  19108. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x80);
  19109. mdelay(2);
  19110. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x78, 0x0);
  19111. mod_radio_reg(pi, RADIO_2057_XTAL_CONFIG2, 0x80, 0x0);
  19112. if (pi->phy_init_por) {
  19113. wlc_phy_radio205x_rcal(pi);
  19114. wlc_phy_radio2057_rccal(pi);
  19115. }
  19116. mod_radio_reg(pi, RADIO_2057_RFPLL_MASTER, 0x8, 0x0);
  19117. }
  19118. static void wlc_phy_radio_init_2056(struct brcms_phy *pi)
  19119. {
  19120. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19121. const struct radio_regs *regs_TX_2056_ptr = NULL;
  19122. const struct radio_regs *regs_RX_2056_ptr = NULL;
  19123. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19124. regs_SYN_2056_ptr = regs_SYN_2056;
  19125. regs_TX_2056_ptr = regs_TX_2056;
  19126. regs_RX_2056_ptr = regs_RX_2056;
  19127. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19128. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19129. regs_TX_2056_ptr = regs_TX_2056_A1;
  19130. regs_RX_2056_ptr = regs_RX_2056_A1;
  19131. } else {
  19132. switch (pi->pubpi.radiorev) {
  19133. case 5:
  19134. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19135. regs_TX_2056_ptr = regs_TX_2056_rev5;
  19136. regs_RX_2056_ptr = regs_RX_2056_rev5;
  19137. break;
  19138. case 6:
  19139. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19140. regs_TX_2056_ptr = regs_TX_2056_rev6;
  19141. regs_RX_2056_ptr = regs_RX_2056_rev6;
  19142. break;
  19143. case 7:
  19144. case 9:
  19145. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19146. regs_TX_2056_ptr = regs_TX_2056_rev7;
  19147. regs_RX_2056_ptr = regs_RX_2056_rev7;
  19148. break;
  19149. case 8:
  19150. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19151. regs_TX_2056_ptr = regs_TX_2056_rev8;
  19152. regs_RX_2056_ptr = regs_RX_2056_rev8;
  19153. break;
  19154. case 11:
  19155. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19156. regs_TX_2056_ptr = regs_TX_2056_rev11;
  19157. regs_RX_2056_ptr = regs_RX_2056_rev11;
  19158. break;
  19159. default:
  19160. break;
  19161. }
  19162. }
  19163. wlc_phy_init_radio_regs(pi, regs_SYN_2056_ptr, (u16) RADIO_2056_SYN);
  19164. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX0);
  19165. wlc_phy_init_radio_regs(pi, regs_TX_2056_ptr, (u16) RADIO_2056_TX1);
  19166. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX0);
  19167. wlc_phy_init_radio_regs(pi, regs_RX_2056_ptr, (u16) RADIO_2056_RX1);
  19168. }
  19169. static void wlc_phy_radio_postinit_2056(struct brcms_phy *pi)
  19170. {
  19171. mod_radio_reg(pi, RADIO_2056_SYN_COM_CTRL, 0xb, 0xb);
  19172. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x2);
  19173. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x2);
  19174. udelay(1000);
  19175. mod_radio_reg(pi, RADIO_2056_SYN_COM_RESET, 0x2, 0x0);
  19176. if ((pi->sh->boardflags2 & BFL2_LEGACY)
  19177. || (pi->sh->boardflags2 & BFL2_XTALBUFOUTEN))
  19178. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xf4, 0x0);
  19179. else
  19180. mod_radio_reg(pi, RADIO_2056_SYN_PLL_MAST2, 0xfc, 0x0);
  19181. mod_radio_reg(pi, RADIO_2056_SYN_RCCAL_CTRL0, 0x1, 0x0);
  19182. if (pi->phy_init_por)
  19183. wlc_phy_radio205x_rcal(pi);
  19184. }
  19185. static void wlc_phy_radio_preinit_2055(struct brcms_phy *pi)
  19186. {
  19187. and_phy_reg(pi, 0x78, ~RFCC_POR_FORCE);
  19188. or_phy_reg(pi, 0x78, RFCC_CHIP0_PU | RFCC_OE_POR_FORCE);
  19189. or_phy_reg(pi, 0x78, RFCC_POR_FORCE);
  19190. }
  19191. static void wlc_phy_radio_init_2055(struct brcms_phy *pi)
  19192. {
  19193. wlc_phy_init_radio_regs(pi, regs_2055, RADIO_DEFAULT_CORE);
  19194. }
  19195. static void wlc_phy_radio_postinit_2055(struct brcms_phy *pi)
  19196. {
  19197. and_radio_reg(pi, RADIO_2055_MASTER_CNTRL1,
  19198. ~(RADIO_2055_JTAGCTRL_MASK | RADIO_2055_JTAGSYNC_MASK));
  19199. if (((pi->sh->sromrev >= 4)
  19200. && !(pi->sh->boardflags2 & BFL2_RXBB_INT_REG_DIS))
  19201. || ((pi->sh->sromrev < 4))) {
  19202. and_radio_reg(pi, RADIO_2055_CORE1_RXBB_REGULATOR, 0x7F);
  19203. and_radio_reg(pi, RADIO_2055_CORE2_RXBB_REGULATOR, 0x7F);
  19204. }
  19205. mod_radio_reg(pi, RADIO_2055_RRCCAL_N_OPT_SEL, 0x3F, 0x2C);
  19206. write_radio_reg(pi, RADIO_2055_CAL_MISC, 0x3C);
  19207. and_radio_reg(pi, RADIO_2055_CAL_MISC,
  19208. ~(RADIO_2055_RRCAL_START | RADIO_2055_RRCAL_RST_N));
  19209. or_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL, RADIO_2055_CAL_LPO_ENABLE);
  19210. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_RST_N);
  19211. udelay(1000);
  19212. or_radio_reg(pi, RADIO_2055_CAL_MISC, RADIO_2055_RRCAL_START);
  19213. SPINWAIT(((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19214. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE), 2000);
  19215. if (WARN((read_radio_reg(pi, RADIO_2055_CAL_COUNTER_OUT2) &
  19216. RADIO_2055_RCAL_DONE) != RADIO_2055_RCAL_DONE,
  19217. "HW error: radio calibration1\n"))
  19218. return;
  19219. and_radio_reg(pi, RADIO_2055_CAL_LPO_CNTRL,
  19220. ~(RADIO_2055_CAL_LPO_ENABLE));
  19221. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi, pi->radio_chanspec);
  19222. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_LPF, 9);
  19223. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_LPF, 9);
  19224. write_radio_reg(pi, RADIO_2055_CORE1_RXBB_MIDAC_HIPAS, 0x83);
  19225. write_radio_reg(pi, RADIO_2055_CORE2_RXBB_MIDAC_HIPAS, 0x83);
  19226. mod_radio_reg(pi, RADIO_2055_CORE1_LNA_GAINBST,
  19227. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19228. mod_radio_reg(pi, RADIO_2055_CORE2_LNA_GAINBST,
  19229. RADIO_2055_GAINBST_VAL_MASK, RADIO_2055_GAINBST_CODE);
  19230. if (pi->nphy_gain_boost) {
  19231. and_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19232. ~(RADIO_2055_GAINBST_DISABLE));
  19233. and_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19234. ~(RADIO_2055_GAINBST_DISABLE));
  19235. } else {
  19236. or_radio_reg(pi, RADIO_2055_CORE1_RXRF_SPC1,
  19237. RADIO_2055_GAINBST_DISABLE);
  19238. or_radio_reg(pi, RADIO_2055_CORE2_RXRF_SPC1,
  19239. RADIO_2055_GAINBST_DISABLE);
  19240. }
  19241. udelay(2);
  19242. }
  19243. void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
  19244. {
  19245. if (on) {
  19246. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19247. if (!pi->radio_is_on) {
  19248. wlc_phy_radio_preinit_205x(pi);
  19249. wlc_phy_radio_init_2057(pi);
  19250. wlc_phy_radio_postinit_2057(pi);
  19251. }
  19252. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19253. pi->radio_chanspec);
  19254. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19255. wlc_phy_radio_preinit_205x(pi);
  19256. wlc_phy_radio_init_2056(pi);
  19257. wlc_phy_radio_postinit_2056(pi);
  19258. wlc_phy_chanspec_set((struct brcms_phy_pub *) pi,
  19259. pi->radio_chanspec);
  19260. } else {
  19261. wlc_phy_radio_preinit_2055(pi);
  19262. wlc_phy_radio_init_2055(pi);
  19263. wlc_phy_radio_postinit_2055(pi);
  19264. }
  19265. pi->radio_is_on = true;
  19266. } else {
  19267. if (NREV_GE(pi->pubpi.phy_rev, 3)
  19268. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  19269. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19270. mod_radio_reg(pi, RADIO_2056_SYN_COM_PU, 0x2, 0x0);
  19271. write_radio_reg(pi,
  19272. RADIO_2056_TX_PADA_BOOST_TUNE |
  19273. RADIO_2056_TX0, 0);
  19274. write_radio_reg(pi,
  19275. RADIO_2056_TX_PADG_BOOST_TUNE |
  19276. RADIO_2056_TX0, 0);
  19277. write_radio_reg(pi,
  19278. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19279. RADIO_2056_TX0, 0);
  19280. write_radio_reg(pi,
  19281. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19282. RADIO_2056_TX0, 0);
  19283. mod_radio_reg(pi,
  19284. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19285. RADIO_2056_TX0, 0xf0, 0);
  19286. write_radio_reg(pi,
  19287. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19288. RADIO_2056_TX0, 0);
  19289. write_radio_reg(pi,
  19290. RADIO_2056_TX_PADA_BOOST_TUNE |
  19291. RADIO_2056_TX1, 0);
  19292. write_radio_reg(pi,
  19293. RADIO_2056_TX_PADG_BOOST_TUNE |
  19294. RADIO_2056_TX1, 0);
  19295. write_radio_reg(pi,
  19296. RADIO_2056_TX_PGAA_BOOST_TUNE |
  19297. RADIO_2056_TX1, 0);
  19298. write_radio_reg(pi,
  19299. RADIO_2056_TX_PGAG_BOOST_TUNE |
  19300. RADIO_2056_TX1, 0);
  19301. mod_radio_reg(pi,
  19302. RADIO_2056_TX_MIXA_BOOST_TUNE |
  19303. RADIO_2056_TX1, 0xf0, 0);
  19304. write_radio_reg(pi,
  19305. RADIO_2056_TX_MIXG_BOOST_TUNE |
  19306. RADIO_2056_TX1, 0);
  19307. pi->radio_is_on = false;
  19308. }
  19309. if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  19310. and_phy_reg(pi, 0x78, ~RFCC_CHIP0_PU);
  19311. pi->radio_is_on = false;
  19312. }
  19313. }
  19314. }
  19315. static bool
  19316. wlc_phy_chan2freq_nphy(struct brcms_phy *pi, uint channel, int *f,
  19317. const struct chan_info_nphy_radio2057 **t0,
  19318. const struct chan_info_nphy_radio205x **t1,
  19319. const struct chan_info_nphy_radio2057_rev5 **t2,
  19320. const struct chan_info_nphy_2055 **t3)
  19321. {
  19322. uint i;
  19323. const struct chan_info_nphy_radio2057 *chan_info_tbl_p_0 = NULL;
  19324. const struct chan_info_nphy_radio205x *chan_info_tbl_p_1 = NULL;
  19325. const struct chan_info_nphy_radio2057_rev5 *chan_info_tbl_p_2 = NULL;
  19326. u32 tbl_len = 0;
  19327. int freq = 0;
  19328. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19329. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  19330. chan_info_tbl_p_0 = chan_info_nphyrev7_2057_rev4;
  19331. tbl_len = ARRAY_SIZE(chan_info_nphyrev7_2057_rev4);
  19332. } else if (NREV_IS(pi->pubpi.phy_rev, 8)
  19333. || NREV_IS(pi->pubpi.phy_rev, 9)) {
  19334. switch (pi->pubpi.radiorev) {
  19335. case 5:
  19336. if (pi->pubpi.radiover == 0x0) {
  19337. chan_info_tbl_p_2 =
  19338. chan_info_nphyrev8_2057_rev5;
  19339. tbl_len = ARRAY_SIZE(
  19340. chan_info_nphyrev8_2057_rev5);
  19341. } else if (pi->pubpi.radiover == 0x1) {
  19342. chan_info_tbl_p_2 =
  19343. chan_info_nphyrev9_2057_rev5v1;
  19344. tbl_len = ARRAY_SIZE(
  19345. chan_info_nphyrev9_2057_rev5v1);
  19346. }
  19347. break;
  19348. case 7:
  19349. chan_info_tbl_p_0 =
  19350. chan_info_nphyrev8_2057_rev7;
  19351. tbl_len = ARRAY_SIZE(
  19352. chan_info_nphyrev8_2057_rev7);
  19353. break;
  19354. case 8:
  19355. chan_info_tbl_p_0 =
  19356. chan_info_nphyrev8_2057_rev8;
  19357. tbl_len = ARRAY_SIZE(
  19358. chan_info_nphyrev8_2057_rev8);
  19359. break;
  19360. default:
  19361. break;
  19362. }
  19363. } else if (NREV_IS(pi->pubpi.phy_rev, 16)) {
  19364. chan_info_tbl_p_0 = chan_info_nphyrev8_2057_rev8;
  19365. tbl_len = ARRAY_SIZE(chan_info_nphyrev8_2057_rev8);
  19366. } else {
  19367. goto fail;
  19368. }
  19369. for (i = 0; i < tbl_len; i++) {
  19370. if (pi->pubpi.radiorev == 5) {
  19371. if (chan_info_tbl_p_2[i].chan == channel)
  19372. break;
  19373. } else {
  19374. if (chan_info_tbl_p_0[i].chan == channel)
  19375. break;
  19376. }
  19377. }
  19378. if (i >= tbl_len)
  19379. goto fail;
  19380. if (pi->pubpi.radiorev == 5) {
  19381. *t2 = &chan_info_tbl_p_2[i];
  19382. freq = chan_info_tbl_p_2[i].freq;
  19383. } else {
  19384. *t0 = &chan_info_tbl_p_0[i];
  19385. freq = chan_info_tbl_p_0[i].freq;
  19386. }
  19387. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19388. if (NREV_IS(pi->pubpi.phy_rev, 3)) {
  19389. chan_info_tbl_p_1 = chan_info_nphyrev3_2056;
  19390. tbl_len = ARRAY_SIZE(chan_info_nphyrev3_2056);
  19391. } else if (NREV_IS(pi->pubpi.phy_rev, 4)) {
  19392. chan_info_tbl_p_1 = chan_info_nphyrev4_2056_A1;
  19393. tbl_len = ARRAY_SIZE(chan_info_nphyrev4_2056_A1);
  19394. } else if (NREV_IS(pi->pubpi.phy_rev, 5)
  19395. || NREV_IS(pi->pubpi.phy_rev, 6)) {
  19396. switch (pi->pubpi.radiorev) {
  19397. case 5:
  19398. chan_info_tbl_p_1 = chan_info_nphyrev5_2056v5;
  19399. tbl_len = ARRAY_SIZE(chan_info_nphyrev5_2056v5);
  19400. break;
  19401. case 6:
  19402. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v6;
  19403. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v6);
  19404. break;
  19405. case 7:
  19406. case 9:
  19407. chan_info_tbl_p_1 = chan_info_nphyrev5n6_2056v7;
  19408. tbl_len =
  19409. ARRAY_SIZE(chan_info_nphyrev5n6_2056v7);
  19410. break;
  19411. case 8:
  19412. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v8;
  19413. tbl_len = ARRAY_SIZE(chan_info_nphyrev6_2056v8);
  19414. break;
  19415. case 11:
  19416. chan_info_tbl_p_1 = chan_info_nphyrev6_2056v11;
  19417. tbl_len = ARRAY_SIZE(
  19418. chan_info_nphyrev6_2056v11);
  19419. break;
  19420. default:
  19421. break;
  19422. }
  19423. }
  19424. for (i = 0; i < tbl_len; i++) {
  19425. if (chan_info_tbl_p_1[i].chan == channel)
  19426. break;
  19427. }
  19428. if (i >= tbl_len)
  19429. goto fail;
  19430. *t1 = &chan_info_tbl_p_1[i];
  19431. freq = chan_info_tbl_p_1[i].freq;
  19432. } else {
  19433. for (i = 0; i < ARRAY_SIZE(chan_info_nphy_2055); i++)
  19434. if (chan_info_nphy_2055[i].chan == channel)
  19435. break;
  19436. if (i >= ARRAY_SIZE(chan_info_nphy_2055))
  19437. goto fail;
  19438. *t3 = &chan_info_nphy_2055[i];
  19439. freq = chan_info_nphy_2055[i].freq;
  19440. }
  19441. *f = freq;
  19442. return true;
  19443. fail:
  19444. *f = WL_CHAN_FREQ_RANGE_2G;
  19445. return false;
  19446. }
  19447. u8 wlc_phy_get_chan_freq_range_nphy(struct brcms_phy *pi, uint channel)
  19448. {
  19449. int freq;
  19450. const struct chan_info_nphy_radio2057 *t0 = NULL;
  19451. const struct chan_info_nphy_radio205x *t1 = NULL;
  19452. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  19453. const struct chan_info_nphy_2055 *t3 = NULL;
  19454. if (channel == 0)
  19455. channel = CHSPEC_CHANNEL(pi->radio_chanspec);
  19456. wlc_phy_chan2freq_nphy(pi, channel, &freq, &t0, &t1, &t2, &t3);
  19457. if (CHSPEC_IS2G(pi->radio_chanspec))
  19458. return WL_CHAN_FREQ_RANGE_2G;
  19459. if ((freq >= BASE_LOW_5G_CHAN) && (freq < BASE_MID_5G_CHAN))
  19460. return WL_CHAN_FREQ_RANGE_5GL;
  19461. else if ((freq >= BASE_MID_5G_CHAN) && (freq < BASE_HIGH_5G_CHAN))
  19462. return WL_CHAN_FREQ_RANGE_5GM;
  19463. else
  19464. return WL_CHAN_FREQ_RANGE_5GH;
  19465. }
  19466. static void
  19467. wlc_phy_chanspec_radio2055_setup(struct brcms_phy *pi,
  19468. const struct chan_info_nphy_2055 *ci)
  19469. {
  19470. write_radio_reg(pi, RADIO_2055_PLL_REF, ci->RF_pll_ref);
  19471. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD0, ci->RF_rf_pll_mod0);
  19472. write_radio_reg(pi, RADIO_2055_RF_PLL_MOD1, ci->RF_rf_pll_mod1);
  19473. write_radio_reg(pi, RADIO_2055_VCO_CAP_TAIL, ci->RF_vco_cap_tail);
  19474. BRCMS_PHY_WAR_PR51571(pi);
  19475. write_radio_reg(pi, RADIO_2055_VCO_CAL1, ci->RF_vco_cal1);
  19476. write_radio_reg(pi, RADIO_2055_VCO_CAL2, ci->RF_vco_cal2);
  19477. write_radio_reg(pi, RADIO_2055_PLL_LF_C1, ci->RF_pll_lf_c1);
  19478. write_radio_reg(pi, RADIO_2055_PLL_LF_R1, ci->RF_pll_lf_r1);
  19479. BRCMS_PHY_WAR_PR51571(pi);
  19480. write_radio_reg(pi, RADIO_2055_PLL_LF_C2, ci->RF_pll_lf_c2);
  19481. write_radio_reg(pi, RADIO_2055_LGBUF_CEN_BUF, ci->RF_lgbuf_cen_buf);
  19482. write_radio_reg(pi, RADIO_2055_LGEN_TUNE1, ci->RF_lgen_tune1);
  19483. write_radio_reg(pi, RADIO_2055_LGEN_TUNE2, ci->RF_lgen_tune2);
  19484. BRCMS_PHY_WAR_PR51571(pi);
  19485. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_A_TUNE,
  19486. ci->RF_core1_lgbuf_a_tune);
  19487. write_radio_reg(pi, RADIO_2055_CORE1_LGBUF_G_TUNE,
  19488. ci->RF_core1_lgbuf_g_tune);
  19489. write_radio_reg(pi, RADIO_2055_CORE1_RXRF_REG1, ci->RF_core1_rxrf_reg1);
  19490. write_radio_reg(pi, RADIO_2055_CORE1_TX_PGA_PAD_TN,
  19491. ci->RF_core1_tx_pga_pad_tn);
  19492. BRCMS_PHY_WAR_PR51571(pi);
  19493. write_radio_reg(pi, RADIO_2055_CORE1_TX_MX_BGTRIM,
  19494. ci->RF_core1_tx_mx_bgtrim);
  19495. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_A_TUNE,
  19496. ci->RF_core2_lgbuf_a_tune);
  19497. write_radio_reg(pi, RADIO_2055_CORE2_LGBUF_G_TUNE,
  19498. ci->RF_core2_lgbuf_g_tune);
  19499. write_radio_reg(pi, RADIO_2055_CORE2_RXRF_REG1, ci->RF_core2_rxrf_reg1);
  19500. BRCMS_PHY_WAR_PR51571(pi);
  19501. write_radio_reg(pi, RADIO_2055_CORE2_TX_PGA_PAD_TN,
  19502. ci->RF_core2_tx_pga_pad_tn);
  19503. write_radio_reg(pi, RADIO_2055_CORE2_TX_MX_BGTRIM,
  19504. ci->RF_core2_tx_mx_bgtrim);
  19505. udelay(50);
  19506. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x05);
  19507. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x45);
  19508. BRCMS_PHY_WAR_PR51571(pi);
  19509. write_radio_reg(pi, RADIO_2055_VCO_CAL10, 0x65);
  19510. udelay(300);
  19511. }
  19512. static void
  19513. wlc_phy_chanspec_radio2056_setup(struct brcms_phy *pi,
  19514. const struct chan_info_nphy_radio205x *ci)
  19515. {
  19516. const struct radio_regs *regs_SYN_2056_ptr = NULL;
  19517. write_radio_reg(pi,
  19518. RADIO_2056_SYN_PLL_VCOCAL1 | RADIO_2056_SYN,
  19519. ci->RF_SYN_pll_vcocal1);
  19520. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL2 | RADIO_2056_SYN,
  19521. ci->RF_SYN_pll_vcocal2);
  19522. write_radio_reg(pi, RADIO_2056_SYN_PLL_REFDIV | RADIO_2056_SYN,
  19523. ci->RF_SYN_pll_refdiv);
  19524. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD2 | RADIO_2056_SYN,
  19525. ci->RF_SYN_pll_mmd2);
  19526. write_radio_reg(pi, RADIO_2056_SYN_PLL_MMD1 | RADIO_2056_SYN,
  19527. ci->RF_SYN_pll_mmd1);
  19528. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19529. ci->RF_SYN_pll_loopfilter1);
  19530. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19531. ci->RF_SYN_pll_loopfilter2);
  19532. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER3 | RADIO_2056_SYN,
  19533. ci->RF_SYN_pll_loopfilter3);
  19534. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19535. ci->RF_SYN_pll_loopfilter4);
  19536. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER5 | RADIO_2056_SYN,
  19537. ci->RF_SYN_pll_loopfilter5);
  19538. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR27 | RADIO_2056_SYN,
  19539. ci->RF_SYN_reserved_addr27);
  19540. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR28 | RADIO_2056_SYN,
  19541. ci->RF_SYN_reserved_addr28);
  19542. write_radio_reg(pi, RADIO_2056_SYN_RESERVED_ADDR29 | RADIO_2056_SYN,
  19543. ci->RF_SYN_reserved_addr29);
  19544. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_VCOBUF1 | RADIO_2056_SYN,
  19545. ci->RF_SYN_logen_VCOBUF1);
  19546. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_MIXER2 | RADIO_2056_SYN,
  19547. ci->RF_SYN_logen_MIXER2);
  19548. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF3 | RADIO_2056_SYN,
  19549. ci->RF_SYN_logen_BUF3);
  19550. write_radio_reg(pi, RADIO_2056_SYN_LOGEN_BUF4 | RADIO_2056_SYN,
  19551. ci->RF_SYN_logen_BUF4);
  19552. write_radio_reg(pi,
  19553. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX0,
  19554. ci->RF_RX0_lnaa_tune);
  19555. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX0,
  19556. ci->RF_RX0_lnag_tune);
  19557. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX0,
  19558. ci->RF_TX0_intpaa_boost_tune);
  19559. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX0,
  19560. ci->RF_TX0_intpag_boost_tune);
  19561. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX0,
  19562. ci->RF_TX0_pada_boost_tune);
  19563. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX0,
  19564. ci->RF_TX0_padg_boost_tune);
  19565. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX0,
  19566. ci->RF_TX0_pgaa_boost_tune);
  19567. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX0,
  19568. ci->RF_TX0_pgag_boost_tune);
  19569. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX0,
  19570. ci->RF_TX0_mixa_boost_tune);
  19571. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX0,
  19572. ci->RF_TX0_mixg_boost_tune);
  19573. write_radio_reg(pi,
  19574. RADIO_2056_RX_LNAA_TUNE | RADIO_2056_RX1,
  19575. ci->RF_RX1_lnaa_tune);
  19576. write_radio_reg(pi, RADIO_2056_RX_LNAG_TUNE | RADIO_2056_RX1,
  19577. ci->RF_RX1_lnag_tune);
  19578. write_radio_reg(pi, RADIO_2056_TX_INTPAA_BOOST_TUNE | RADIO_2056_TX1,
  19579. ci->RF_TX1_intpaa_boost_tune);
  19580. write_radio_reg(pi, RADIO_2056_TX_INTPAG_BOOST_TUNE | RADIO_2056_TX1,
  19581. ci->RF_TX1_intpag_boost_tune);
  19582. write_radio_reg(pi, RADIO_2056_TX_PADA_BOOST_TUNE | RADIO_2056_TX1,
  19583. ci->RF_TX1_pada_boost_tune);
  19584. write_radio_reg(pi, RADIO_2056_TX_PADG_BOOST_TUNE | RADIO_2056_TX1,
  19585. ci->RF_TX1_padg_boost_tune);
  19586. write_radio_reg(pi, RADIO_2056_TX_PGAA_BOOST_TUNE | RADIO_2056_TX1,
  19587. ci->RF_TX1_pgaa_boost_tune);
  19588. write_radio_reg(pi, RADIO_2056_TX_PGAG_BOOST_TUNE | RADIO_2056_TX1,
  19589. ci->RF_TX1_pgag_boost_tune);
  19590. write_radio_reg(pi, RADIO_2056_TX_MIXA_BOOST_TUNE | RADIO_2056_TX1,
  19591. ci->RF_TX1_mixa_boost_tune);
  19592. write_radio_reg(pi, RADIO_2056_TX_MIXG_BOOST_TUNE | RADIO_2056_TX1,
  19593. ci->RF_TX1_mixg_boost_tune);
  19594. if (NREV_IS(pi->pubpi.phy_rev, 3))
  19595. regs_SYN_2056_ptr = regs_SYN_2056;
  19596. else if (NREV_IS(pi->pubpi.phy_rev, 4))
  19597. regs_SYN_2056_ptr = regs_SYN_2056_A1;
  19598. else {
  19599. switch (pi->pubpi.radiorev) {
  19600. case 5:
  19601. regs_SYN_2056_ptr = regs_SYN_2056_rev5;
  19602. break;
  19603. case 6:
  19604. regs_SYN_2056_ptr = regs_SYN_2056_rev6;
  19605. break;
  19606. case 7:
  19607. case 9:
  19608. regs_SYN_2056_ptr = regs_SYN_2056_rev7;
  19609. break;
  19610. case 8:
  19611. regs_SYN_2056_ptr = regs_SYN_2056_rev8;
  19612. break;
  19613. case 11:
  19614. regs_SYN_2056_ptr = regs_SYN_2056_rev11;
  19615. break;
  19616. }
  19617. }
  19618. if (CHSPEC_IS2G(pi->radio_chanspec))
  19619. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19620. RADIO_2056_SYN,
  19621. (u16) regs_SYN_2056_ptr[0x49 - 2].init_g);
  19622. else
  19623. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19624. RADIO_2056_SYN,
  19625. (u16) regs_SYN_2056_ptr[0x49 - 2].init_a);
  19626. if (pi->sh->boardflags2 & BFL2_GPLL_WAR) {
  19627. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19628. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19629. RADIO_2056_SYN, 0x1f);
  19630. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19631. RADIO_2056_SYN, 0x1f);
  19632. write_radio_reg(pi,
  19633. RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19634. RADIO_2056_SYN, 0xb);
  19635. write_radio_reg(pi,
  19636. RADIO_2056_SYN_PLL_CP2 |
  19637. RADIO_2056_SYN, 0x14);
  19638. }
  19639. }
  19640. if ((pi->sh->boardflags2 & BFL2_GPLL_WAR2) &&
  19641. (CHSPEC_IS2G(pi->radio_chanspec))) {
  19642. write_radio_reg(pi,
  19643. RADIO_2056_SYN_PLL_LOOPFILTER1 | RADIO_2056_SYN,
  19644. 0x1f);
  19645. write_radio_reg(pi,
  19646. RADIO_2056_SYN_PLL_LOOPFILTER2 | RADIO_2056_SYN,
  19647. 0x1f);
  19648. write_radio_reg(pi,
  19649. RADIO_2056_SYN_PLL_LOOPFILTER4 | RADIO_2056_SYN,
  19650. 0xb);
  19651. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 | RADIO_2056_SYN,
  19652. 0x20);
  19653. }
  19654. if (pi->sh->boardflags2 & BFL2_APLL_WAR) {
  19655. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  19656. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER1 |
  19657. RADIO_2056_SYN, 0x1f);
  19658. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER2 |
  19659. RADIO_2056_SYN, 0x1f);
  19660. write_radio_reg(pi, RADIO_2056_SYN_PLL_LOOPFILTER4 |
  19661. RADIO_2056_SYN, 0x5);
  19662. write_radio_reg(pi, RADIO_2056_SYN_PLL_CP2 |
  19663. RADIO_2056_SYN, 0xc);
  19664. }
  19665. }
  19666. if (PHY_IPA(pi) && CHSPEC_IS2G(pi->radio_chanspec)) {
  19667. u16 pag_boost_tune;
  19668. u16 padg_boost_tune;
  19669. u16 pgag_boost_tune;
  19670. u16 mixg_boost_tune;
  19671. u16 bias, cascbias;
  19672. uint core;
  19673. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19674. if (NREV_GE(pi->pubpi.phy_rev, 5)) {
  19675. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19676. PADG_IDAC, 0xcc);
  19677. bias = 0x25;
  19678. cascbias = 0x20;
  19679. if ((pi->sh->chip ==
  19680. BCM43224_CHIP_ID)
  19681. || (pi->sh->chip ==
  19682. BCM43225_CHIP_ID)) {
  19683. if (pi->sh->chippkg ==
  19684. BCM43224_FAB_SMIC) {
  19685. bias = 0x2a;
  19686. cascbias = 0x38;
  19687. }
  19688. }
  19689. pag_boost_tune = 0x4;
  19690. pgag_boost_tune = 0x03;
  19691. padg_boost_tune = 0x77;
  19692. mixg_boost_tune = 0x65;
  19693. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19694. INTPAG_IMAIN_STAT, bias);
  19695. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19696. INTPAG_IAUX_STAT, bias);
  19697. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19698. INTPAG_CASCBIAS, cascbias);
  19699. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19700. INTPAG_BOOST_TUNE,
  19701. pag_boost_tune);
  19702. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19703. PGAG_BOOST_TUNE,
  19704. pgag_boost_tune);
  19705. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19706. PADG_BOOST_TUNE,
  19707. padg_boost_tune);
  19708. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19709. MIXG_BOOST_TUNE,
  19710. mixg_boost_tune);
  19711. } else {
  19712. bias = (pi->bw == WL_CHANSPEC_BW_40) ?
  19713. 0x40 : 0x20;
  19714. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19715. INTPAG_IMAIN_STAT, bias);
  19716. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19717. INTPAG_IAUX_STAT, bias);
  19718. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19719. INTPAG_CASCBIAS, 0x30);
  19720. }
  19721. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core, PA_SPARE1,
  19722. 0xee);
  19723. }
  19724. }
  19725. if (PHY_IPA(pi) && NREV_IS(pi->pubpi.phy_rev, 6)
  19726. && CHSPEC_IS5G(pi->radio_chanspec)) {
  19727. u16 paa_boost_tune;
  19728. u16 pada_boost_tune;
  19729. u16 pgaa_boost_tune;
  19730. u16 mixa_boost_tune;
  19731. u16 freq, pabias, cascbias;
  19732. uint core;
  19733. freq = CHAN5G_FREQ(CHSPEC_CHANNEL(pi->radio_chanspec));
  19734. if (freq < 5150) {
  19735. paa_boost_tune = 0xa;
  19736. pada_boost_tune = 0x77;
  19737. pgaa_boost_tune = 0xf;
  19738. mixa_boost_tune = 0xf;
  19739. } else if (freq < 5340) {
  19740. paa_boost_tune = 0x8;
  19741. pada_boost_tune = 0x77;
  19742. pgaa_boost_tune = 0xfb;
  19743. mixa_boost_tune = 0xf;
  19744. } else if (freq < 5650) {
  19745. paa_boost_tune = 0x0;
  19746. pada_boost_tune = 0x77;
  19747. pgaa_boost_tune = 0xb;
  19748. mixa_boost_tune = 0xf;
  19749. } else {
  19750. paa_boost_tune = 0x0;
  19751. pada_boost_tune = 0x77;
  19752. if (freq != 5825)
  19753. pgaa_boost_tune = -(int)(freq - 18) / 36 + 168;
  19754. else
  19755. pgaa_boost_tune = 6;
  19756. mixa_boost_tune = 0xf;
  19757. }
  19758. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  19759. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19760. INTPAA_BOOST_TUNE, paa_boost_tune);
  19761. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19762. PADA_BOOST_TUNE, pada_boost_tune);
  19763. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19764. PGAA_BOOST_TUNE, pgaa_boost_tune);
  19765. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19766. MIXA_BOOST_TUNE, mixa_boost_tune);
  19767. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19768. TXSPARE1, 0x30);
  19769. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19770. PA_SPARE2, 0xee);
  19771. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19772. PADA_CASCBIAS, 0x3);
  19773. cascbias = 0x30;
  19774. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  19775. (pi->sh->chip == BCM43225_CHIP_ID)) {
  19776. if (pi->sh->chippkg == BCM43224_FAB_SMIC)
  19777. cascbias = 0x35;
  19778. }
  19779. pabias = (pi->phy_pabias == 0) ? 0x30 : pi->phy_pabias;
  19780. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19781. INTPAA_IAUX_STAT, pabias);
  19782. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19783. INTPAA_IMAIN_STAT, pabias);
  19784. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  19785. INTPAA_CASCBIAS, cascbias);
  19786. }
  19787. }
  19788. udelay(50);
  19789. wlc_phy_radio205x_vcocal_nphy(pi);
  19790. }
  19791. void wlc_phy_radio205x_vcocal_nphy(struct brcms_phy *pi)
  19792. {
  19793. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  19794. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x0);
  19795. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04, 0x0);
  19796. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_CAL_RESETN, 0x04,
  19797. (1 << 2));
  19798. mod_radio_reg(pi, RADIO_2057_RFPLL_MISC_EN, 0x01, 0x01);
  19799. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  19800. write_radio_reg(pi, RADIO_2056_SYN_PLL_VCOCAL12, 0x0);
  19801. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19802. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x18);
  19803. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x38);
  19804. write_radio_reg(pi, RADIO_2056_SYN_PLL_MAST3, 0x39);
  19805. }
  19806. udelay(300);
  19807. }
  19808. static void
  19809. wlc_phy_chanspec_radio2057_setup(
  19810. struct brcms_phy *pi,
  19811. const struct chan_info_nphy_radio2057 *ci,
  19812. const struct chan_info_nphy_radio2057_rev5 *
  19813. ci2)
  19814. {
  19815. int coreNum;
  19816. u16 txmix2g_tune_boost_pu = 0;
  19817. u16 pad2g_tune_pus = 0;
  19818. if (pi->pubpi.radiorev == 5) {
  19819. write_radio_reg(pi,
  19820. RADIO_2057_VCOCAL_COUNTVAL0,
  19821. ci2->RF_vcocal_countval0);
  19822. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19823. ci2->RF_vcocal_countval1);
  19824. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19825. ci2->RF_rfpll_refmaster_sparextalsize);
  19826. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19827. ci2->RF_rfpll_loopfilter_r1);
  19828. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19829. ci2->RF_rfpll_loopfilter_c2);
  19830. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19831. ci2->RF_rfpll_loopfilter_c1);
  19832. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC,
  19833. ci2->RF_cp_kpd_idac);
  19834. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci2->RF_rfpll_mmd0);
  19835. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci2->RF_rfpll_mmd1);
  19836. write_radio_reg(pi,
  19837. RADIO_2057_VCOBUF_TUNE, ci2->RF_vcobuf_tune);
  19838. write_radio_reg(pi,
  19839. RADIO_2057_LOGEN_MX2G_TUNE,
  19840. ci2->RF_logen_mx2g_tune);
  19841. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19842. ci2->RF_logen_indbuf2g_tune);
  19843. write_radio_reg(pi,
  19844. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19845. ci2->RF_txmix2g_tune_boost_pu_core0);
  19846. write_radio_reg(pi,
  19847. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19848. ci2->RF_pad2g_tune_pus_core0);
  19849. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19850. ci2->RF_lna2g_tune_core0);
  19851. write_radio_reg(pi,
  19852. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19853. ci2->RF_txmix2g_tune_boost_pu_core1);
  19854. write_radio_reg(pi,
  19855. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19856. ci2->RF_pad2g_tune_pus_core1);
  19857. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19858. ci2->RF_lna2g_tune_core1);
  19859. } else {
  19860. write_radio_reg(pi,
  19861. RADIO_2057_VCOCAL_COUNTVAL0,
  19862. ci->RF_vcocal_countval0);
  19863. write_radio_reg(pi, RADIO_2057_VCOCAL_COUNTVAL1,
  19864. ci->RF_vcocal_countval1);
  19865. write_radio_reg(pi, RADIO_2057_RFPLL_REFMASTER_SPAREXTALSIZE,
  19866. ci->RF_rfpll_refmaster_sparextalsize);
  19867. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19868. ci->RF_rfpll_loopfilter_r1);
  19869. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19870. ci->RF_rfpll_loopfilter_c2);
  19871. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19872. ci->RF_rfpll_loopfilter_c1);
  19873. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, ci->RF_cp_kpd_idac);
  19874. write_radio_reg(pi, RADIO_2057_RFPLL_MMD0, ci->RF_rfpll_mmd0);
  19875. write_radio_reg(pi, RADIO_2057_RFPLL_MMD1, ci->RF_rfpll_mmd1);
  19876. write_radio_reg(pi, RADIO_2057_VCOBUF_TUNE, ci->RF_vcobuf_tune);
  19877. write_radio_reg(pi,
  19878. RADIO_2057_LOGEN_MX2G_TUNE,
  19879. ci->RF_logen_mx2g_tune);
  19880. write_radio_reg(pi, RADIO_2057_LOGEN_MX5G_TUNE,
  19881. ci->RF_logen_mx5g_tune);
  19882. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF2G_TUNE,
  19883. ci->RF_logen_indbuf2g_tune);
  19884. write_radio_reg(pi, RADIO_2057_LOGEN_INDBUF5G_TUNE,
  19885. ci->RF_logen_indbuf5g_tune);
  19886. write_radio_reg(pi,
  19887. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE0,
  19888. ci->RF_txmix2g_tune_boost_pu_core0);
  19889. write_radio_reg(pi,
  19890. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  19891. ci->RF_pad2g_tune_pus_core0);
  19892. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE0,
  19893. ci->RF_pga_boost_tune_core0);
  19894. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE0,
  19895. ci->RF_txmix5g_boost_tune_core0);
  19896. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE0,
  19897. ci->RF_pad5g_tune_misc_pus_core0);
  19898. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE0,
  19899. ci->RF_lna2g_tune_core0);
  19900. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE0,
  19901. ci->RF_lna5g_tune_core0);
  19902. write_radio_reg(pi,
  19903. RADIO_2057_TXMIX2G_TUNE_BOOST_PU_CORE1,
  19904. ci->RF_txmix2g_tune_boost_pu_core1);
  19905. write_radio_reg(pi,
  19906. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  19907. ci->RF_pad2g_tune_pus_core1);
  19908. write_radio_reg(pi, RADIO_2057_PGA_BOOST_TUNE_CORE1,
  19909. ci->RF_pga_boost_tune_core1);
  19910. write_radio_reg(pi, RADIO_2057_TXMIX5G_BOOST_TUNE_CORE1,
  19911. ci->RF_txmix5g_boost_tune_core1);
  19912. write_radio_reg(pi, RADIO_2057_PAD5G_TUNE_MISC_PUS_CORE1,
  19913. ci->RF_pad5g_tune_misc_pus_core1);
  19914. write_radio_reg(pi, RADIO_2057_LNA2G_TUNE_CORE1,
  19915. ci->RF_lna2g_tune_core1);
  19916. write_radio_reg(pi, RADIO_2057_LNA5G_TUNE_CORE1,
  19917. ci->RF_lna5g_tune_core1);
  19918. }
  19919. if ((pi->pubpi.radiorev <= 4) || (pi->pubpi.radiorev == 6)) {
  19920. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19921. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19922. 0x3f);
  19923. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19924. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19925. 0x8);
  19926. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19927. 0x8);
  19928. } else {
  19929. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19930. 0x1f);
  19931. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19932. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19933. 0x8);
  19934. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19935. 0x8);
  19936. }
  19937. } else if ((pi->pubpi.radiorev == 5) || (pi->pubpi.radiorev == 7) ||
  19938. (pi->pubpi.radiorev == 8)) {
  19939. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19940. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19941. 0x1b);
  19942. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x30);
  19943. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19944. 0xa);
  19945. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19946. 0xa);
  19947. } else {
  19948. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_R1,
  19949. 0x1f);
  19950. write_radio_reg(pi, RADIO_2057_CP_KPD_IDAC, 0x3f);
  19951. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C1,
  19952. 0x8);
  19953. write_radio_reg(pi, RADIO_2057_RFPLL_LOOPFILTER_C2,
  19954. 0x8);
  19955. }
  19956. }
  19957. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  19958. if (PHY_IPA(pi)) {
  19959. if (pi->pubpi.radiorev == 3)
  19960. txmix2g_tune_boost_pu = 0x6b;
  19961. if (pi->pubpi.radiorev == 5)
  19962. pad2g_tune_pus = 0x73;
  19963. } else {
  19964. if (pi->pubpi.radiorev != 5) {
  19965. pad2g_tune_pus = 0x3;
  19966. txmix2g_tune_boost_pu = 0x61;
  19967. }
  19968. }
  19969. for (coreNum = 0; coreNum <= 1; coreNum++) {
  19970. if (txmix2g_tune_boost_pu != 0)
  19971. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  19972. TXMIX2G_TUNE_BOOST_PU,
  19973. txmix2g_tune_boost_pu);
  19974. if (pad2g_tune_pus != 0)
  19975. WRITE_RADIO_REG4(pi, RADIO_2057, CORE, coreNum,
  19976. PAD2G_TUNE_PUS,
  19977. pad2g_tune_pus);
  19978. }
  19979. }
  19980. udelay(50);
  19981. wlc_phy_radio205x_vcocal_nphy(pi);
  19982. }
  19983. static void
  19984. wlc_phy_chanspec_nphy_setup(struct brcms_phy *pi, u16 chanspec,
  19985. const struct nphy_sfo_cfg *ci)
  19986. {
  19987. u16 val;
  19988. val = read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand;
  19989. if (CHSPEC_IS5G(chanspec) && !val) {
  19990. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  19991. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  19992. (val | MAC_PHY_FORCE_CLK));
  19993. or_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  19994. (BBCFG_RESETCCA | BBCFG_RESETRX));
  19995. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  19996. or_phy_reg(pi, 0x09, NPHY_BandControl_currentBand);
  19997. } else if (!CHSPEC_IS5G(chanspec) && val) {
  19998. and_phy_reg(pi, 0x09, ~NPHY_BandControl_currentBand);
  19999. val = bcma_read16(pi->d11core, D11REGOFFS(psm_phy_hdr_param));
  20000. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param),
  20001. (val | MAC_PHY_FORCE_CLK));
  20002. and_phy_reg(pi, (NPHY_TO_BPHY_OFF + BPHY_BB_CONFIG),
  20003. (u16) (~(BBCFG_RESETCCA | BBCFG_RESETRX)));
  20004. bcma_write16(pi->d11core, D11REGOFFS(psm_phy_hdr_param), val);
  20005. }
  20006. write_phy_reg(pi, 0x1ce, ci->PHY_BW1a);
  20007. write_phy_reg(pi, 0x1cf, ci->PHY_BW2);
  20008. write_phy_reg(pi, 0x1d0, ci->PHY_BW3);
  20009. write_phy_reg(pi, 0x1d1, ci->PHY_BW4);
  20010. write_phy_reg(pi, 0x1d2, ci->PHY_BW5);
  20011. write_phy_reg(pi, 0x1d3, ci->PHY_BW6);
  20012. if (CHSPEC_CHANNEL(pi->radio_chanspec) == 14) {
  20013. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en, 0);
  20014. or_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, 0x800);
  20015. } else {
  20016. wlc_phy_classifier_nphy(pi, NPHY_ClassifierCtrl_ofdm_en,
  20017. NPHY_ClassifierCtrl_ofdm_en);
  20018. if (CHSPEC_IS2G(chanspec))
  20019. and_phy_reg(pi, NPHY_TO_BPHY_OFF + BPHY_TEST, ~0x840);
  20020. }
  20021. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF)
  20022. wlc_phy_txpwr_fixpower_nphy(pi);
  20023. if (NREV_LT(pi->pubpi.phy_rev, 3))
  20024. wlc_phy_adjust_lnagaintbl_nphy(pi);
  20025. wlc_phy_txlpfbw_nphy(pi);
  20026. if (NREV_GE(pi->pubpi.phy_rev, 3)
  20027. && (pi->phy_spuravoid != SPURAVOID_DISABLE)) {
  20028. u8 spuravoid = 0;
  20029. val = CHSPEC_CHANNEL(chanspec);
  20030. if (!CHSPEC_IS40(pi->radio_chanspec)) {
  20031. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20032. if ((val == 13) || (val == 14) || (val == 153))
  20033. spuravoid = 1;
  20034. } else if (((val >= 5) && (val <= 8)) || (val == 13)
  20035. || (val == 14)) {
  20036. spuravoid = 1;
  20037. }
  20038. } else if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20039. if (val == 54)
  20040. spuravoid = 1;
  20041. } else {
  20042. if (pi->nphy_aband_spurwar_en &&
  20043. ((val == 38) || (val == 102)
  20044. || (val == 118)))
  20045. spuravoid = 1;
  20046. }
  20047. if (pi->phy_spuravoid == SPURAVOID_FORCEON)
  20048. spuravoid = 1;
  20049. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, false);
  20050. si_pmu_spuravoid_pllupdate(pi->sh->sih, spuravoid);
  20051. wlapi_bmac_core_phypll_ctl(pi->sh->physhim, true);
  20052. if ((pi->sh->chip == BCM43224_CHIP_ID) ||
  20053. (pi->sh->chip == BCM43225_CHIP_ID)) {
  20054. if (spuravoid == 1) {
  20055. bcma_write16(pi->d11core,
  20056. D11REGOFFS(tsf_clk_frac_l),
  20057. 0x5341);
  20058. bcma_write16(pi->d11core,
  20059. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20060. } else {
  20061. bcma_write16(pi->d11core,
  20062. D11REGOFFS(tsf_clk_frac_l),
  20063. 0x8889);
  20064. bcma_write16(pi->d11core,
  20065. D11REGOFFS(tsf_clk_frac_h), 0x8);
  20066. }
  20067. }
  20068. wlapi_bmac_core_phypll_reset(pi->sh->physhim);
  20069. mod_phy_reg(pi, 0x01, (0x1 << 15),
  20070. ((spuravoid > 0) ? (0x1 << 15) : 0));
  20071. wlc_phy_resetcca_nphy(pi);
  20072. pi->phy_isspuravoid = (spuravoid > 0);
  20073. }
  20074. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20075. write_phy_reg(pi, 0x17e, 0x3830);
  20076. wlc_phy_spurwar_nphy(pi);
  20077. }
  20078. void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec)
  20079. {
  20080. int freq;
  20081. const struct chan_info_nphy_radio2057 *t0 = NULL;
  20082. const struct chan_info_nphy_radio205x *t1 = NULL;
  20083. const struct chan_info_nphy_radio2057_rev5 *t2 = NULL;
  20084. const struct chan_info_nphy_2055 *t3 = NULL;
  20085. if (!wlc_phy_chan2freq_nphy
  20086. (pi, CHSPEC_CHANNEL(chanspec), &freq, &t0, &t1, &t2, &t3))
  20087. return;
  20088. wlc_phy_chanspec_radio_set((struct brcms_phy_pub *) pi, chanspec);
  20089. if (CHSPEC_BW(chanspec) != pi->bw)
  20090. wlapi_bmac_bw_set(pi->sh->physhim, CHSPEC_BW(chanspec));
  20091. if (CHSPEC_IS40(chanspec)) {
  20092. if (CHSPEC_SB_UPPER(chanspec)) {
  20093. or_phy_reg(pi, 0xa0, BPHY_BAND_SEL_UP20);
  20094. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20095. or_phy_reg(pi, 0x310, PRIM_SEL_UP20);
  20096. } else {
  20097. and_phy_reg(pi, 0xa0, ~BPHY_BAND_SEL_UP20);
  20098. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20099. and_phy_reg(pi, 0x310,
  20100. (~PRIM_SEL_UP20 & 0xffff));
  20101. }
  20102. }
  20103. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20104. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20105. if ((pi->pubpi.radiorev <= 4)
  20106. || (pi->pubpi.radiorev == 6)) {
  20107. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE0,
  20108. 0x2,
  20109. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20110. : 0));
  20111. mod_radio_reg(pi, RADIO_2057_TIA_CONFIG_CORE1,
  20112. 0x2,
  20113. (CHSPEC_IS5G(chanspec) ? (1 << 1)
  20114. : 0));
  20115. }
  20116. wlc_phy_chanspec_radio2057_setup(pi, t0, t2);
  20117. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20118. (pi->pubpi.radiorev == 5) ?
  20119. (const struct nphy_sfo_cfg *)&(t2->PHY_BW1a) :
  20120. (const struct nphy_sfo_cfg *)&(t0->PHY_BW1a));
  20121. } else {
  20122. mod_radio_reg(pi,
  20123. RADIO_2056_SYN_COM_CTRL | RADIO_2056_SYN,
  20124. 0x4,
  20125. (CHSPEC_IS5G(chanspec) ? (0x1 << 2) : 0));
  20126. wlc_phy_chanspec_radio2056_setup(pi, t1);
  20127. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20128. (const struct nphy_sfo_cfg *) &(t1->PHY_BW1a));
  20129. }
  20130. } else {
  20131. mod_radio_reg(pi, RADIO_2055_MASTER_CNTRL1, 0x70,
  20132. (CHSPEC_IS5G(chanspec) ? (0x02 << 4)
  20133. : (0x05 << 4)));
  20134. wlc_phy_chanspec_radio2055_setup(pi, t3);
  20135. wlc_phy_chanspec_nphy_setup(pi, chanspec,
  20136. (const struct nphy_sfo_cfg *)
  20137. &(t3->PHY_BW1a));
  20138. }
  20139. }
  20140. void wlc_phy_antsel_init(struct brcms_phy_pub *ppi, bool lut_init)
  20141. {
  20142. struct brcms_phy *pi = (struct brcms_phy *) ppi;
  20143. u16 mask = 0xfc00;
  20144. u32 mc = 0;
  20145. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20146. return;
  20147. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20148. u16 v0 = 0x211, v1 = 0x222, v2 = 0x144, v3 = 0x188;
  20149. if (!lut_init)
  20150. return;
  20151. if (pi->srom_fem2g.antswctrllut == 0) {
  20152. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20153. 1, 0x02, 16, &v0);
  20154. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20155. 1, 0x03, 16, &v1);
  20156. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20157. 1, 0x08, 16, &v2);
  20158. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20159. 1, 0x0C, 16, &v3);
  20160. }
  20161. if (pi->srom_fem5g.antswctrllut == 0) {
  20162. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20163. 1, 0x12, 16, &v0);
  20164. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20165. 1, 0x13, 16, &v1);
  20166. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20167. 1, 0x18, 16, &v2);
  20168. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_ANTSWCTRLLUT,
  20169. 1, 0x1C, 16, &v3);
  20170. }
  20171. } else {
  20172. write_phy_reg(pi, 0xc8, 0x0);
  20173. write_phy_reg(pi, 0xc9, 0x0);
  20174. bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, mask, mask);
  20175. mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  20176. mc &= ~MCTL_GPOUT_SEL_MASK;
  20177. bcma_write32(pi->d11core, D11REGOFFS(maccontrol), mc);
  20178. bcma_set16(pi->d11core, D11REGOFFS(psm_gpio_oe), mask);
  20179. bcma_mask16(pi->d11core, D11REGOFFS(psm_gpio_out), ~mask);
  20180. if (lut_init) {
  20181. write_phy_reg(pi, 0xf8, 0x02d8);
  20182. write_phy_reg(pi, 0xf9, 0x0301);
  20183. write_phy_reg(pi, 0xfa, 0x02d8);
  20184. write_phy_reg(pi, 0xfb, 0x0301);
  20185. }
  20186. }
  20187. }
  20188. u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val)
  20189. {
  20190. u16 curr_ctl, new_ctl;
  20191. bool suspended = false;
  20192. if (D11REV_IS(pi->sh->corerev, 16)) {
  20193. suspended = (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  20194. MCTL_EN_MAC) ? false : true;
  20195. if (!suspended)
  20196. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  20197. }
  20198. curr_ctl = read_phy_reg(pi, 0xb0) & (0x7 << 0);
  20199. new_ctl = (curr_ctl & (~mask)) | (val & mask);
  20200. mod_phy_reg(pi, 0xb0, (0x7 << 0), new_ctl);
  20201. if (D11REV_IS(pi->sh->corerev, 16) && !suspended)
  20202. wlapi_enable_mac(pi->sh->physhim);
  20203. return new_ctl;
  20204. }
  20205. void wlc_phy_force_rfseq_nphy(struct brcms_phy *pi, u8 cmd)
  20206. {
  20207. u16 trigger_mask, status_mask;
  20208. u16 orig_RfseqCoreActv;
  20209. switch (cmd) {
  20210. case NPHY_RFSEQ_RX2TX:
  20211. trigger_mask = NPHY_RfseqTrigger_rx2tx;
  20212. status_mask = NPHY_RfseqStatus_rx2tx;
  20213. break;
  20214. case NPHY_RFSEQ_TX2RX:
  20215. trigger_mask = NPHY_RfseqTrigger_tx2rx;
  20216. status_mask = NPHY_RfseqStatus_tx2rx;
  20217. break;
  20218. case NPHY_RFSEQ_RESET2RX:
  20219. trigger_mask = NPHY_RfseqTrigger_reset2rx;
  20220. status_mask = NPHY_RfseqStatus_reset2rx;
  20221. break;
  20222. case NPHY_RFSEQ_UPDATEGAINH:
  20223. trigger_mask = NPHY_RfseqTrigger_updategainh;
  20224. status_mask = NPHY_RfseqStatus_updategainh;
  20225. break;
  20226. case NPHY_RFSEQ_UPDATEGAINL:
  20227. trigger_mask = NPHY_RfseqTrigger_updategainl;
  20228. status_mask = NPHY_RfseqStatus_updategainl;
  20229. break;
  20230. case NPHY_RFSEQ_UPDATEGAINU:
  20231. trigger_mask = NPHY_RfseqTrigger_updategainu;
  20232. status_mask = NPHY_RfseqStatus_updategainu;
  20233. break;
  20234. default:
  20235. return;
  20236. }
  20237. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  20238. or_phy_reg(pi, 0xa1,
  20239. (NPHY_RfseqMode_CoreActv_override |
  20240. NPHY_RfseqMode_Trigger_override));
  20241. or_phy_reg(pi, 0xa3, trigger_mask);
  20242. SPINWAIT((read_phy_reg(pi, 0xa4) & status_mask), 200000);
  20243. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  20244. WARN(read_phy_reg(pi, 0xa4) & status_mask, "HW error in rf");
  20245. }
  20246. static void
  20247. wlc_phy_rfctrl_override_1tomany_nphy(struct brcms_phy *pi, u16 cmd, u16 value,
  20248. u8 core_mask, u8 off)
  20249. {
  20250. u16 rfmxgain = 0, lpfgain = 0;
  20251. u16 tgain = 0;
  20252. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20253. switch (cmd) {
  20254. case NPHY_REV7_RfctrlOverride_cmd_rxrf_pu:
  20255. wlc_phy_rfctrl_override_nphy_rev7(
  20256. pi, (0x1 << 5),
  20257. value, core_mask, off,
  20258. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20259. wlc_phy_rfctrl_override_nphy_rev7(
  20260. pi, (0x1 << 4), value,
  20261. core_mask, off,
  20262. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20263. wlc_phy_rfctrl_override_nphy_rev7(
  20264. pi, (0x1 << 3), value,
  20265. core_mask, off,
  20266. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20267. break;
  20268. case NPHY_REV7_RfctrlOverride_cmd_rx_pu:
  20269. wlc_phy_rfctrl_override_nphy_rev7(
  20270. pi, (0x1 << 2),
  20271. value, core_mask, off,
  20272. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20273. wlc_phy_rfctrl_override_nphy_rev7(
  20274. pi, (0x1 << 1), value,
  20275. core_mask, off,
  20276. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20277. wlc_phy_rfctrl_override_nphy_rev7(
  20278. pi, (0x1 << 0), value,
  20279. core_mask, off,
  20280. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20281. wlc_phy_rfctrl_override_nphy_rev7(
  20282. pi, (0x1 << 1), value,
  20283. core_mask, off,
  20284. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20285. wlc_phy_rfctrl_override_nphy_rev7(
  20286. pi, (0x1 << 11), 0,
  20287. core_mask, off,
  20288. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20289. break;
  20290. case NPHY_REV7_RfctrlOverride_cmd_tx_pu:
  20291. wlc_phy_rfctrl_override_nphy_rev7(
  20292. pi, (0x1 << 2),
  20293. value, core_mask, off,
  20294. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20295. wlc_phy_rfctrl_override_nphy_rev7(
  20296. pi, (0x1 << 1), value,
  20297. core_mask, off,
  20298. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20299. wlc_phy_rfctrl_override_nphy_rev7(
  20300. pi, (0x1 << 0), value,
  20301. core_mask, off,
  20302. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20303. wlc_phy_rfctrl_override_nphy_rev7(
  20304. pi, (0x1 << 2), value,
  20305. core_mask, off,
  20306. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20307. wlc_phy_rfctrl_override_nphy_rev7(
  20308. pi, (0x1 << 11), 1,
  20309. core_mask, off,
  20310. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  20311. break;
  20312. case NPHY_REV7_RfctrlOverride_cmd_rxgain:
  20313. rfmxgain = value & 0x000ff;
  20314. lpfgain = value & 0x0ff00;
  20315. lpfgain = lpfgain >> 8;
  20316. wlc_phy_rfctrl_override_nphy_rev7(
  20317. pi, (0x1 << 11),
  20318. rfmxgain, core_mask,
  20319. off,
  20320. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20321. wlc_phy_rfctrl_override_nphy_rev7(
  20322. pi, (0x3 << 13),
  20323. lpfgain, core_mask,
  20324. off,
  20325. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20326. break;
  20327. case NPHY_REV7_RfctrlOverride_cmd_txgain:
  20328. tgain = value & 0x7fff;
  20329. lpfgain = value & 0x8000;
  20330. lpfgain = lpfgain >> 14;
  20331. wlc_phy_rfctrl_override_nphy_rev7(
  20332. pi, (0x1 << 12),
  20333. tgain, core_mask, off,
  20334. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20335. wlc_phy_rfctrl_override_nphy_rev7(
  20336. pi, (0x1 << 13),
  20337. lpfgain, core_mask,
  20338. off,
  20339. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  20340. break;
  20341. }
  20342. }
  20343. }
  20344. static void
  20345. wlc_phy_scale_offset_rssi_nphy(struct brcms_phy *pi, u16 scale, s8 offset,
  20346. u8 coresel, u8 rail, u8 rssi_type)
  20347. {
  20348. u16 valuetostuff;
  20349. offset = (offset > NPHY_RSSICAL_MAXREAD) ?
  20350. NPHY_RSSICAL_MAXREAD : offset;
  20351. offset = (offset < (-NPHY_RSSICAL_MAXREAD - 1)) ?
  20352. -NPHY_RSSICAL_MAXREAD - 1 : offset;
  20353. valuetostuff = ((scale & 0x3f) << 8) | (offset & 0x3f);
  20354. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20355. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20356. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20357. write_phy_reg(pi, 0x1a6, valuetostuff);
  20358. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20359. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20360. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20361. write_phy_reg(pi, 0x1ac, valuetostuff);
  20362. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20363. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20364. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB))
  20365. write_phy_reg(pi, 0x1b2, valuetostuff);
  20366. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20367. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20368. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB))
  20369. write_phy_reg(pi, 0x1b8, valuetostuff);
  20370. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20371. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20372. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20373. write_phy_reg(pi, 0x1a4, valuetostuff);
  20374. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20375. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20376. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20377. write_phy_reg(pi, 0x1aa, valuetostuff);
  20378. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20379. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20380. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1))
  20381. write_phy_reg(pi, 0x1b0, valuetostuff);
  20382. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20383. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20384. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1))
  20385. write_phy_reg(pi, 0x1b6, valuetostuff);
  20386. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20387. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20388. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20389. write_phy_reg(pi, 0x1a5, valuetostuff);
  20390. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20391. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20392. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20393. write_phy_reg(pi, 0x1ab, valuetostuff);
  20394. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20395. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20396. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2))
  20397. write_phy_reg(pi, 0x1b1, valuetostuff);
  20398. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20399. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20400. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W2))
  20401. write_phy_reg(pi, 0x1b7, valuetostuff);
  20402. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20403. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20404. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20405. write_phy_reg(pi, 0x1a7, valuetostuff);
  20406. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20407. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20408. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20409. write_phy_reg(pi, 0x1ad, valuetostuff);
  20410. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20411. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20412. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20413. write_phy_reg(pi, 0x1b3, valuetostuff);
  20414. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20415. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20416. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_TBD))
  20417. write_phy_reg(pi, 0x1b9, valuetostuff);
  20418. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20419. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20420. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20421. write_phy_reg(pi, 0x1a8, valuetostuff);
  20422. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20423. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20424. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20425. write_phy_reg(pi, 0x1ae, valuetostuff);
  20426. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20427. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20428. (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20429. write_phy_reg(pi, 0x1b4, valuetostuff);
  20430. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20431. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20432. (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_IQ))
  20433. write_phy_reg(pi, 0x1ba, valuetostuff);
  20434. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20435. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20436. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20437. write_phy_reg(pi, 0x1a9, valuetostuff);
  20438. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20439. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20440. (rssi_type == NPHY_RSSI_SEL_TSSI_2G))
  20441. write_phy_reg(pi, 0x1b5, valuetostuff);
  20442. if (((coresel == RADIO_MIMO_CORESEL_CORE1) ||
  20443. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20444. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20445. write_phy_reg(pi, 0x1af, valuetostuff);
  20446. if (((coresel == RADIO_MIMO_CORESEL_CORE2) ||
  20447. (coresel == RADIO_MIMO_CORESEL_ALLRX)) &&
  20448. (rssi_type == NPHY_RSSI_SEL_TSSI_5G))
  20449. write_phy_reg(pi, 0x1bb, valuetostuff);
  20450. }
  20451. static void brcms_phy_wr_tx_mux(struct brcms_phy *pi, u8 core)
  20452. {
  20453. if (PHY_IPA(pi)) {
  20454. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20455. write_radio_reg(pi,
  20456. ((core == PHY_CORE_0) ?
  20457. RADIO_2057_TX0_TX_SSI_MUX :
  20458. RADIO_2057_TX1_TX_SSI_MUX),
  20459. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20460. 0xc : 0xe));
  20461. else
  20462. write_radio_reg(pi,
  20463. RADIO_2056_TX_TX_SSI_MUX |
  20464. ((core == PHY_CORE_0) ?
  20465. RADIO_2056_TX0 : RADIO_2056_TX1),
  20466. (CHSPEC_IS5G(pi->radio_chanspec) ?
  20467. 0xc : 0xe));
  20468. } else {
  20469. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20470. write_radio_reg(pi,
  20471. ((core == PHY_CORE_0) ?
  20472. RADIO_2057_TX0_TX_SSI_MUX :
  20473. RADIO_2057_TX1_TX_SSI_MUX),
  20474. 0x11);
  20475. if (pi->pubpi.radioid == BCM2057_ID)
  20476. write_radio_reg(pi,
  20477. RADIO_2057_IQTEST_SEL_PU, 0x1);
  20478. } else {
  20479. write_radio_reg(pi,
  20480. RADIO_2056_TX_TX_SSI_MUX |
  20481. ((core == PHY_CORE_0) ?
  20482. RADIO_2056_TX0 : RADIO_2056_TX1),
  20483. 0x11);
  20484. }
  20485. }
  20486. }
  20487. void wlc_phy_rssisel_nphy(struct brcms_phy *pi, u8 core_code, u8 rssi_type)
  20488. {
  20489. u16 mask, val;
  20490. u16 afectrlovr_rssi_val, rfctrlcmd_rxen_val, rfctrlcmd_coresel_val,
  20491. startseq;
  20492. u16 rfctrlovr_rssi_val, rfctrlovr_rxen_val, rfctrlovr_coresel_val,
  20493. rfctrlovr_trigger_val;
  20494. u16 afectrlovr_rssi_mask, rfctrlcmd_mask, rfctrlovr_mask;
  20495. u16 rfctrlcmd_val, rfctrlovr_val;
  20496. u8 core;
  20497. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20498. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20499. mod_phy_reg(pi, 0x8f, (0x1 << 9), 0);
  20500. mod_phy_reg(pi, 0xa5, (0x1 << 9), 0);
  20501. mod_phy_reg(pi, 0xa6, (0x3 << 8), 0);
  20502. mod_phy_reg(pi, 0xa7, (0x3 << 8), 0);
  20503. mod_phy_reg(pi, 0xe5, (0x1 << 5), 0);
  20504. mod_phy_reg(pi, 0xe6, (0x1 << 5), 0);
  20505. mask = (0x1 << 2) |
  20506. (0x1 << 3) | (0x1 << 4) | (0x1 << 5);
  20507. mod_phy_reg(pi, 0xf9, mask, 0);
  20508. mod_phy_reg(pi, 0xfb, mask, 0);
  20509. } else {
  20510. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20511. if (core_code == RADIO_MIMO_CORESEL_CORE1
  20512. && core == PHY_CORE_1)
  20513. continue;
  20514. else if (core_code == RADIO_MIMO_CORESEL_CORE2
  20515. && core == PHY_CORE_0)
  20516. continue;
  20517. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20518. 0x8f : 0xa5, (0x1 << 9), 1 << 9);
  20519. if (rssi_type == NPHY_RSSI_SEL_W1 ||
  20520. rssi_type == NPHY_RSSI_SEL_W2 ||
  20521. rssi_type == NPHY_RSSI_SEL_NB) {
  20522. mod_phy_reg(pi,
  20523. (core ==
  20524. PHY_CORE_0) ? 0xa6 : 0xa7,
  20525. (0x3 << 8), 0);
  20526. mask = (0x1 << 2) |
  20527. (0x1 << 3) |
  20528. (0x1 << 4) | (0x1 << 5);
  20529. mod_phy_reg(pi,
  20530. (core ==
  20531. PHY_CORE_0) ? 0xf9 : 0xfb,
  20532. mask, 0);
  20533. if (rssi_type == NPHY_RSSI_SEL_W1) {
  20534. if (CHSPEC_IS5G(
  20535. pi->radio_chanspec)) {
  20536. mask = (0x1 << 2);
  20537. val = 1 << 2;
  20538. } else {
  20539. mask = (0x1 << 3);
  20540. val = 1 << 3;
  20541. }
  20542. } else if (rssi_type ==
  20543. NPHY_RSSI_SEL_W2) {
  20544. mask = (0x1 << 4);
  20545. val = 1 << 4;
  20546. } else {
  20547. mask = (0x1 << 5);
  20548. val = 1 << 5;
  20549. }
  20550. mod_phy_reg(pi,
  20551. (core ==
  20552. PHY_CORE_0) ? 0xf9 : 0xfb,
  20553. mask, val);
  20554. mask = (0x1 << 5);
  20555. val = 1 << 5;
  20556. mod_phy_reg(pi, (core == PHY_CORE_0) ?
  20557. 0xe5 : 0xe6, mask, val);
  20558. } else {
  20559. if (rssi_type == NPHY_RSSI_SEL_TBD) {
  20560. mask = (0x3 << 8);
  20561. val = 1 << 8;
  20562. mod_phy_reg(pi,
  20563. (core ==
  20564. PHY_CORE_0) ? 0xa6
  20565. : 0xa7, mask, val);
  20566. mask = (0x3 << 10);
  20567. val = 1 << 10;
  20568. mod_phy_reg(pi,
  20569. (core ==
  20570. PHY_CORE_0) ? 0xa6
  20571. : 0xa7, mask, val);
  20572. } else if (rssi_type ==
  20573. NPHY_RSSI_SEL_IQ) {
  20574. mask = (0x3 << 8);
  20575. val = 2 << 8;
  20576. mod_phy_reg(pi,
  20577. (core ==
  20578. PHY_CORE_0) ? 0xa6
  20579. : 0xa7, mask, val);
  20580. mask = (0x3 << 10);
  20581. val = 2 << 10;
  20582. mod_phy_reg(pi,
  20583. (core ==
  20584. PHY_CORE_0) ? 0xa6
  20585. : 0xa7, mask, val);
  20586. } else {
  20587. mask = (0x3 << 8);
  20588. val = 3 << 8;
  20589. mod_phy_reg(pi,
  20590. (core ==
  20591. PHY_CORE_0) ? 0xa6
  20592. : 0xa7, mask, val);
  20593. mask = (0x3 << 10);
  20594. val = 3 << 10;
  20595. mod_phy_reg(pi,
  20596. (core ==
  20597. PHY_CORE_0) ? 0xa6
  20598. : 0xa7, mask, val);
  20599. brcms_phy_wr_tx_mux(pi, core);
  20600. afectrlovr_rssi_val = 1 << 9;
  20601. mod_phy_reg(pi,
  20602. (core ==
  20603. PHY_CORE_0) ? 0x8f
  20604. : 0xa5, (0x1 << 9),
  20605. afectrlovr_rssi_val);
  20606. }
  20607. }
  20608. }
  20609. }
  20610. } else {
  20611. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20612. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20613. (rssi_type == NPHY_RSSI_SEL_NB))
  20614. val = 0x0;
  20615. else if (rssi_type == NPHY_RSSI_SEL_TBD)
  20616. val = 0x1;
  20617. else if (rssi_type == NPHY_RSSI_SEL_IQ)
  20618. val = 0x2;
  20619. else
  20620. val = 0x3;
  20621. mask = ((0x3 << 12) | (0x3 << 14));
  20622. val = (val << 12) | (val << 14);
  20623. mod_phy_reg(pi, 0xa6, mask, val);
  20624. mod_phy_reg(pi, 0xa7, mask, val);
  20625. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20626. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20627. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20628. if (rssi_type == NPHY_RSSI_SEL_W1)
  20629. val = 0x1;
  20630. if (rssi_type == NPHY_RSSI_SEL_W2)
  20631. val = 0x2;
  20632. if (rssi_type == NPHY_RSSI_SEL_NB)
  20633. val = 0x3;
  20634. mask = (0x3 << 4);
  20635. val = (val << 4);
  20636. mod_phy_reg(pi, 0x7a, mask, val);
  20637. mod_phy_reg(pi, 0x7d, mask, val);
  20638. }
  20639. if (core_code == RADIO_MIMO_CORESEL_OFF) {
  20640. afectrlovr_rssi_val = 0;
  20641. rfctrlcmd_rxen_val = 0;
  20642. rfctrlcmd_coresel_val = 0;
  20643. rfctrlovr_rssi_val = 0;
  20644. rfctrlovr_rxen_val = 0;
  20645. rfctrlovr_coresel_val = 0;
  20646. rfctrlovr_trigger_val = 0;
  20647. startseq = 0;
  20648. } else {
  20649. afectrlovr_rssi_val = 1;
  20650. rfctrlcmd_rxen_val = 1;
  20651. rfctrlcmd_coresel_val = core_code;
  20652. rfctrlovr_rssi_val = 1;
  20653. rfctrlovr_rxen_val = 1;
  20654. rfctrlovr_coresel_val = 1;
  20655. rfctrlovr_trigger_val = 1;
  20656. startseq = 1;
  20657. }
  20658. afectrlovr_rssi_mask = ((0x1 << 12) | (0x1 << 13));
  20659. afectrlovr_rssi_val = (afectrlovr_rssi_val <<
  20660. 12) | (afectrlovr_rssi_val << 13);
  20661. mod_phy_reg(pi, 0xa5, afectrlovr_rssi_mask,
  20662. afectrlovr_rssi_val);
  20663. if ((rssi_type == NPHY_RSSI_SEL_W1) ||
  20664. (rssi_type == NPHY_RSSI_SEL_W2) ||
  20665. (rssi_type == NPHY_RSSI_SEL_NB)) {
  20666. rfctrlcmd_mask = ((0x1 << 8) | (0x7 << 3));
  20667. rfctrlcmd_val = (rfctrlcmd_rxen_val << 8) |
  20668. (rfctrlcmd_coresel_val << 3);
  20669. rfctrlovr_mask = ((0x1 << 5) |
  20670. (0x1 << 12) |
  20671. (0x1 << 1) | (0x1 << 0));
  20672. rfctrlovr_val = (rfctrlovr_rssi_val <<
  20673. 5) |
  20674. (rfctrlovr_rxen_val << 12) |
  20675. (rfctrlovr_coresel_val << 1) |
  20676. (rfctrlovr_trigger_val << 0);
  20677. mod_phy_reg(pi, 0x78, rfctrlcmd_mask, rfctrlcmd_val);
  20678. mod_phy_reg(pi, 0xec, rfctrlovr_mask, rfctrlovr_val);
  20679. mod_phy_reg(pi, 0x78, (0x1 << 0), (startseq << 0));
  20680. udelay(20);
  20681. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  20682. }
  20683. }
  20684. }
  20685. int
  20686. wlc_phy_poll_rssi_nphy(struct brcms_phy *pi, u8 rssi_type, s32 *rssi_buf,
  20687. u8 nsamps)
  20688. {
  20689. s16 rssi0, rssi1;
  20690. u16 afectrlCore1_save = 0;
  20691. u16 afectrlCore2_save = 0;
  20692. u16 afectrlOverride1_save = 0;
  20693. u16 afectrlOverride2_save = 0;
  20694. u16 rfctrlOverrideAux0_save = 0;
  20695. u16 rfctrlOverrideAux1_save = 0;
  20696. u16 rfctrlMiscReg1_save = 0;
  20697. u16 rfctrlMiscReg2_save = 0;
  20698. u16 rfctrlcmd_save = 0;
  20699. u16 rfctrloverride_save = 0;
  20700. u16 rfctrlrssiothers1_save = 0;
  20701. u16 rfctrlrssiothers2_save = 0;
  20702. s8 tmp_buf[4];
  20703. u8 ctr = 0, samp = 0;
  20704. s32 rssi_out_val;
  20705. u16 gpiosel_orig;
  20706. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20707. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20708. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20709. rfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  20710. rfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  20711. afectrlOverride1_save = read_phy_reg(pi, 0x8f);
  20712. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20713. rfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  20714. rfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  20715. } else {
  20716. afectrlOverride1_save = read_phy_reg(pi, 0xa5);
  20717. rfctrlcmd_save = read_phy_reg(pi, 0x78);
  20718. rfctrloverride_save = read_phy_reg(pi, 0xec);
  20719. rfctrlrssiothers1_save = read_phy_reg(pi, 0x7a);
  20720. rfctrlrssiothers2_save = read_phy_reg(pi, 0x7d);
  20721. }
  20722. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  20723. gpiosel_orig = read_phy_reg(pi, 0xca);
  20724. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20725. write_phy_reg(pi, 0xca, 5);
  20726. for (ctr = 0; ctr < 4; ctr++)
  20727. rssi_buf[ctr] = 0;
  20728. for (samp = 0; samp < nsamps; samp++) {
  20729. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  20730. rssi0 = read_phy_reg(pi, 0x1c9);
  20731. rssi1 = read_phy_reg(pi, 0x1ca);
  20732. } else {
  20733. rssi0 = read_phy_reg(pi, 0x219);
  20734. rssi1 = read_phy_reg(pi, 0x21a);
  20735. }
  20736. ctr = 0;
  20737. tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2;
  20738. tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2;
  20739. tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2;
  20740. tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2;
  20741. for (ctr = 0; ctr < 4; ctr++)
  20742. rssi_buf[ctr] += tmp_buf[ctr];
  20743. }
  20744. rssi_out_val = rssi_buf[3] & 0xff;
  20745. rssi_out_val |= (rssi_buf[2] & 0xff) << 8;
  20746. rssi_out_val |= (rssi_buf[1] & 0xff) << 16;
  20747. rssi_out_val |= (rssi_buf[0] & 0xff) << 24;
  20748. if (NREV_LT(pi->pubpi.phy_rev, 2))
  20749. write_phy_reg(pi, 0xca, gpiosel_orig);
  20750. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20751. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20752. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20753. write_phy_reg(pi, 0xf9, rfctrlMiscReg1_save);
  20754. write_phy_reg(pi, 0xfb, rfctrlMiscReg2_save);
  20755. write_phy_reg(pi, 0x8f, afectrlOverride1_save);
  20756. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20757. write_phy_reg(pi, 0xe5, rfctrlOverrideAux0_save);
  20758. write_phy_reg(pi, 0xe6, rfctrlOverrideAux1_save);
  20759. } else {
  20760. write_phy_reg(pi, 0xa5, afectrlOverride1_save);
  20761. write_phy_reg(pi, 0x78, rfctrlcmd_save);
  20762. write_phy_reg(pi, 0xec, rfctrloverride_save);
  20763. write_phy_reg(pi, 0x7a, rfctrlrssiothers1_save);
  20764. write_phy_reg(pi, 0x7d, rfctrlrssiothers2_save);
  20765. }
  20766. return rssi_out_val;
  20767. }
  20768. s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi)
  20769. {
  20770. u16 core1_txrf_iqcal1_save, core1_txrf_iqcal2_save;
  20771. u16 core2_txrf_iqcal1_save, core2_txrf_iqcal2_save;
  20772. u16 pwrdet_rxtx_core1_save;
  20773. u16 pwrdet_rxtx_core2_save;
  20774. u16 afectrlCore1_save;
  20775. u16 afectrlCore2_save;
  20776. u16 afectrlOverride_save;
  20777. u16 afectrlOverride2_save;
  20778. u16 pd_pll_ts_save;
  20779. u16 gpioSel_save;
  20780. s32 radio_temp[4];
  20781. s32 radio_temp2[4];
  20782. u16 syn_tempprocsense_save;
  20783. s16 offset = 0;
  20784. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  20785. u16 auxADC_Vmid, auxADC_Av, auxADC_Vmid_save, auxADC_Av_save;
  20786. u16 auxADC_rssi_ctrlL_save, auxADC_rssi_ctrlH_save;
  20787. u16 auxADC_rssi_ctrlL, auxADC_rssi_ctrlH;
  20788. s32 auxADC_Vl;
  20789. u16 RfctrlOverride5_save, RfctrlOverride6_save;
  20790. u16 RfctrlMiscReg5_save, RfctrlMiscReg6_save;
  20791. u16 RSSIMultCoef0QPowerDet_save;
  20792. u16 tempsense_Rcal;
  20793. syn_tempprocsense_save =
  20794. read_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG);
  20795. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20796. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20797. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20798. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20799. RSSIMultCoef0QPowerDet_save = read_phy_reg(pi, 0x1ae);
  20800. RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  20801. RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  20802. RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  20803. RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  20804. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20805. &auxADC_Vmid_save);
  20806. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20807. &auxADC_Av_save);
  20808. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20809. &auxADC_rssi_ctrlL_save);
  20810. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20811. &auxADC_rssi_ctrlH_save);
  20812. write_phy_reg(pi, 0x1ae, 0x0);
  20813. auxADC_rssi_ctrlL = 0x0;
  20814. auxADC_rssi_ctrlH = 0x20;
  20815. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20816. &auxADC_rssi_ctrlL);
  20817. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20818. &auxADC_rssi_ctrlH);
  20819. tempsense_Rcal = syn_tempprocsense_save & 0x1c;
  20820. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20821. tempsense_Rcal | 0x01);
  20822. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  20823. 1, 0, 0,
  20824. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  20825. mod_phy_reg(pi, 0xa6, (0x1 << 7), 0);
  20826. mod_phy_reg(pi, 0xa7, (0x1 << 7), 0);
  20827. mod_phy_reg(pi, 0x8f, (0x1 << 7), (0x1 << 7));
  20828. mod_phy_reg(pi, 0xa5, (0x1 << 7), (0x1 << 7));
  20829. mod_phy_reg(pi, 0xa6, (0x1 << 2), (0x1 << 2));
  20830. mod_phy_reg(pi, 0xa7, (0x1 << 2), (0x1 << 2));
  20831. mod_phy_reg(pi, 0x8f, (0x1 << 2), (0x1 << 2));
  20832. mod_phy_reg(pi, 0xa5, (0x1 << 2), (0x1 << 2));
  20833. udelay(5);
  20834. mod_phy_reg(pi, 0xa6, (0x1 << 2), 0);
  20835. mod_phy_reg(pi, 0xa7, (0x1 << 2), 0);
  20836. mod_phy_reg(pi, 0xa6, (0x1 << 3), 0);
  20837. mod_phy_reg(pi, 0xa7, (0x1 << 3), 0);
  20838. mod_phy_reg(pi, 0x8f, (0x1 << 3), (0x1 << 3));
  20839. mod_phy_reg(pi, 0xa5, (0x1 << 3), (0x1 << 3));
  20840. mod_phy_reg(pi, 0xa6, (0x1 << 6), 0);
  20841. mod_phy_reg(pi, 0xa7, (0x1 << 6), 0);
  20842. mod_phy_reg(pi, 0x8f, (0x1 << 6), (0x1 << 6));
  20843. mod_phy_reg(pi, 0xa5, (0x1 << 6), (0x1 << 6));
  20844. auxADC_Vmid = 0xA3;
  20845. auxADC_Av = 0x0;
  20846. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20847. &auxADC_Vmid);
  20848. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20849. &auxADC_Av);
  20850. udelay(3);
  20851. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20852. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20853. tempsense_Rcal | 0x03);
  20854. udelay(5);
  20855. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20856. auxADC_Av = 0x7;
  20857. if (radio_temp[1] + radio_temp2[1] < -30) {
  20858. auxADC_Vmid = 0x45;
  20859. auxADC_Vl = 263;
  20860. } else if (radio_temp[1] + radio_temp2[1] < -9) {
  20861. auxADC_Vmid = 0x200;
  20862. auxADC_Vl = 467;
  20863. } else if (radio_temp[1] + radio_temp2[1] < 11) {
  20864. auxADC_Vmid = 0x266;
  20865. auxADC_Vl = 634;
  20866. } else {
  20867. auxADC_Vmid = 0x2D5;
  20868. auxADC_Vl = 816;
  20869. }
  20870. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20871. &auxADC_Vmid);
  20872. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20873. &auxADC_Av);
  20874. udelay(3);
  20875. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20876. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20877. tempsense_Rcal | 0x01);
  20878. udelay(5);
  20879. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20880. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG,
  20881. syn_tempprocsense_save);
  20882. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20883. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20884. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  20885. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20886. write_phy_reg(pi, 0x1ae, RSSIMultCoef0QPowerDet_save);
  20887. write_phy_reg(pi, 0x346, RfctrlOverride5_save);
  20888. write_phy_reg(pi, 0x347, RfctrlOverride6_save);
  20889. write_phy_reg(pi, 0x344, RfctrlMiscReg5_save);
  20890. write_phy_reg(pi, 0x345, RfctrlMiscReg5_save);
  20891. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0A, 16,
  20892. &auxADC_Vmid_save);
  20893. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x0E, 16,
  20894. &auxADC_Av_save);
  20895. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x02, 16,
  20896. &auxADC_rssi_ctrlL_save);
  20897. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 0x03, 16,
  20898. &auxADC_rssi_ctrlH_save);
  20899. radio_temp[0] = (179 * (radio_temp[1] + radio_temp2[1])
  20900. + 82 * (auxADC_Vl) - 28861 +
  20901. 128) / 256;
  20902. offset = (s16) pi->phy_tempsense_offset;
  20903. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  20904. syn_tempprocsense_save =
  20905. read_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE);
  20906. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20907. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20908. afectrlOverride_save = read_phy_reg(pi, 0x8f);
  20909. afectrlOverride2_save = read_phy_reg(pi, 0xa5);
  20910. gpioSel_save = read_phy_reg(pi, 0xca);
  20911. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  20912. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20913. if (NREV_LT(pi->pubpi.phy_rev, 7))
  20914. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x05);
  20915. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20916. if (NREV_GE(pi->pubpi.phy_rev, 7))
  20917. write_radio_reg(pi, RADIO_2057_TEMPSENSE_CONFIG, 0x01);
  20918. else
  20919. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE, 0x01);
  20920. radio_temp[0] =
  20921. (126 * (radio_temp[1] + radio_temp2[1]) + 3987) / 64;
  20922. write_radio_reg(pi, RADIO_2056_SYN_TEMPPROCSENSE,
  20923. syn_tempprocsense_save);
  20924. write_phy_reg(pi, 0xca, gpioSel_save);
  20925. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20926. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20927. write_phy_reg(pi, 0x8f, afectrlOverride_save);
  20928. write_phy_reg(pi, 0xa5, afectrlOverride2_save);
  20929. offset = (s16) pi->phy_tempsense_offset;
  20930. } else {
  20931. pwrdet_rxtx_core1_save =
  20932. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  20933. pwrdet_rxtx_core2_save =
  20934. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  20935. core1_txrf_iqcal1_save =
  20936. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  20937. core1_txrf_iqcal2_save =
  20938. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  20939. core2_txrf_iqcal1_save =
  20940. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  20941. core2_txrf_iqcal2_save =
  20942. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  20943. pd_pll_ts_save = read_radio_reg(pi, RADIO_2055_PD_PLL_TS);
  20944. afectrlCore1_save = read_phy_reg(pi, 0xa6);
  20945. afectrlCore2_save = read_phy_reg(pi, 0xa7);
  20946. afectrlOverride_save = read_phy_reg(pi, 0xa5);
  20947. gpioSel_save = read_phy_reg(pi, 0xca);
  20948. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x01);
  20949. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x01);
  20950. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x08);
  20951. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x08);
  20952. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  20953. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  20954. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, 0x00);
  20955. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20956. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20957. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp, 1);
  20958. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20959. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_IQ, radio_temp2, 1);
  20960. xor_radio_reg(pi, RADIO_2055_CAL_TS, 0x80);
  20961. radio_temp[0] = (radio_temp[0] + radio_temp2[0]);
  20962. radio_temp[1] = (radio_temp[1] + radio_temp2[1]);
  20963. radio_temp[2] = (radio_temp[2] + radio_temp2[2]);
  20964. radio_temp[3] = (radio_temp[3] + radio_temp2[3]);
  20965. radio_temp[0] =
  20966. (radio_temp[0] + radio_temp[1] + radio_temp[2] +
  20967. radio_temp[3]);
  20968. radio_temp[0] =
  20969. (radio_temp[0] +
  20970. (8 * 32)) * (950 - 350) / 63 + (350 * 8);
  20971. radio_temp[0] = (radio_temp[0] - (8 * 420)) / 38;
  20972. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  20973. pwrdet_rxtx_core1_save);
  20974. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  20975. pwrdet_rxtx_core2_save);
  20976. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  20977. core1_txrf_iqcal1_save);
  20978. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  20979. core2_txrf_iqcal1_save);
  20980. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  20981. core1_txrf_iqcal2_save);
  20982. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  20983. core2_txrf_iqcal2_save);
  20984. write_radio_reg(pi, RADIO_2055_PD_PLL_TS, pd_pll_ts_save);
  20985. write_phy_reg(pi, 0xca, gpioSel_save);
  20986. write_phy_reg(pi, 0xa6, afectrlCore1_save);
  20987. write_phy_reg(pi, 0xa7, afectrlCore2_save);
  20988. write_phy_reg(pi, 0xa5, afectrlOverride_save);
  20989. }
  20990. return (s16) radio_temp[0] + offset;
  20991. }
  20992. static void
  20993. wlc_phy_set_rssi_2055_vcm(struct brcms_phy *pi, u8 rssi_type, u8 *vcm_buf)
  20994. {
  20995. u8 core;
  20996. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  20997. if (rssi_type == NPHY_RSSI_SEL_NB) {
  20998. if (core == PHY_CORE_0) {
  20999. mod_radio_reg(pi,
  21000. RADIO_2055_CORE1_B0_NBRSSI_VCM,
  21001. RADIO_2055_NBRSSI_VCM_I_MASK,
  21002. vcm_buf[2 *
  21003. core] <<
  21004. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21005. mod_radio_reg(pi,
  21006. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21007. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21008. vcm_buf[2 * core +
  21009. 1] <<
  21010. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21011. } else {
  21012. mod_radio_reg(pi,
  21013. RADIO_2055_CORE2_B0_NBRSSI_VCM,
  21014. RADIO_2055_NBRSSI_VCM_I_MASK,
  21015. vcm_buf[2 *
  21016. core] <<
  21017. RADIO_2055_NBRSSI_VCM_I_SHIFT);
  21018. mod_radio_reg(pi,
  21019. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21020. RADIO_2055_NBRSSI_VCM_Q_MASK,
  21021. vcm_buf[2 * core +
  21022. 1] <<
  21023. RADIO_2055_NBRSSI_VCM_Q_SHIFT);
  21024. }
  21025. } else {
  21026. if (core == PHY_CORE_0)
  21027. mod_radio_reg(pi,
  21028. RADIO_2055_CORE1_RXBB_RSSI_CTRL5,
  21029. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21030. vcm_buf[2 *
  21031. core] <<
  21032. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21033. else
  21034. mod_radio_reg(pi,
  21035. RADIO_2055_CORE2_RXBB_RSSI_CTRL5,
  21036. RADIO_2055_WBRSSI_VCM_IQ_MASK,
  21037. vcm_buf[2 *
  21038. core] <<
  21039. RADIO_2055_WBRSSI_VCM_IQ_SHIFT);
  21040. }
  21041. }
  21042. }
  21043. static void wlc_phy_rssi_cal_nphy_rev3(struct brcms_phy *pi)
  21044. {
  21045. u16 classif_state;
  21046. u16 clip_state[2];
  21047. u16 clip_off[] = { 0xffff, 0xffff };
  21048. s32 target_code;
  21049. u8 vcm, min_vcm;
  21050. u8 vcm_final = 0;
  21051. u8 result_idx;
  21052. s32 poll_results[8][4] = {
  21053. {0, 0, 0, 0},
  21054. {0, 0, 0, 0},
  21055. {0, 0, 0, 0},
  21056. {0, 0, 0, 0},
  21057. {0, 0, 0, 0},
  21058. {0, 0, 0, 0},
  21059. {0, 0, 0, 0},
  21060. {0, 0, 0, 0}
  21061. };
  21062. s32 poll_result_core[4] = { 0, 0, 0, 0 };
  21063. s32 min_d = NPHY_RSSICAL_MAXD, curr_d;
  21064. s32 fine_digital_offset[4];
  21065. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21066. s32 min_poll;
  21067. u8 vcm_level_max;
  21068. u8 core;
  21069. u8 wb_cnt;
  21070. u8 rssi_type;
  21071. u16 NPHY_Rfctrlintc1_save, NPHY_Rfctrlintc2_save;
  21072. u16 NPHY_AfectrlOverride1_save, NPHY_AfectrlOverride2_save;
  21073. u16 NPHY_AfectrlCore1_save, NPHY_AfectrlCore2_save;
  21074. u16 NPHY_RfctrlOverride0_save, NPHY_RfctrlOverride1_save;
  21075. u16 NPHY_RfctrlOverrideAux0_save, NPHY_RfctrlOverrideAux1_save;
  21076. u16 NPHY_RfctrlCmd_save;
  21077. u16 NPHY_RfctrlMiscReg1_save, NPHY_RfctrlMiscReg2_save;
  21078. u16 NPHY_RfctrlRSSIOTHERS1_save, NPHY_RfctrlRSSIOTHERS2_save;
  21079. u8 rxcore_state;
  21080. u16 NPHY_REV7_RfctrlOverride3_save, NPHY_REV7_RfctrlOverride4_save;
  21081. u16 NPHY_REV7_RfctrlOverride5_save, NPHY_REV7_RfctrlOverride6_save;
  21082. u16 NPHY_REV7_RfctrlMiscReg3_save, NPHY_REV7_RfctrlMiscReg4_save;
  21083. u16 NPHY_REV7_RfctrlMiscReg5_save, NPHY_REV7_RfctrlMiscReg6_save;
  21084. NPHY_REV7_RfctrlOverride3_save =
  21085. NPHY_REV7_RfctrlOverride4_save =
  21086. NPHY_REV7_RfctrlOverride5_save =
  21087. NPHY_REV7_RfctrlOverride6_save =
  21088. NPHY_REV7_RfctrlMiscReg3_save =
  21089. NPHY_REV7_RfctrlMiscReg4_save =
  21090. NPHY_REV7_RfctrlMiscReg5_save =
  21091. NPHY_REV7_RfctrlMiscReg6_save = 0;
  21092. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21093. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21094. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21095. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21096. NPHY_Rfctrlintc1_save = read_phy_reg(pi, 0x91);
  21097. NPHY_Rfctrlintc2_save = read_phy_reg(pi, 0x92);
  21098. NPHY_AfectrlOverride1_save = read_phy_reg(pi, 0x8f);
  21099. NPHY_AfectrlOverride2_save = read_phy_reg(pi, 0xa5);
  21100. NPHY_AfectrlCore1_save = read_phy_reg(pi, 0xa6);
  21101. NPHY_AfectrlCore2_save = read_phy_reg(pi, 0xa7);
  21102. NPHY_RfctrlOverride0_save = read_phy_reg(pi, 0xe7);
  21103. NPHY_RfctrlOverride1_save = read_phy_reg(pi, 0xec);
  21104. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21105. NPHY_REV7_RfctrlOverride3_save = read_phy_reg(pi, 0x342);
  21106. NPHY_REV7_RfctrlOverride4_save = read_phy_reg(pi, 0x343);
  21107. NPHY_REV7_RfctrlOverride5_save = read_phy_reg(pi, 0x346);
  21108. NPHY_REV7_RfctrlOverride6_save = read_phy_reg(pi, 0x347);
  21109. }
  21110. NPHY_RfctrlOverrideAux0_save = read_phy_reg(pi, 0xe5);
  21111. NPHY_RfctrlOverrideAux1_save = read_phy_reg(pi, 0xe6);
  21112. NPHY_RfctrlCmd_save = read_phy_reg(pi, 0x78);
  21113. NPHY_RfctrlMiscReg1_save = read_phy_reg(pi, 0xf9);
  21114. NPHY_RfctrlMiscReg2_save = read_phy_reg(pi, 0xfb);
  21115. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21116. NPHY_REV7_RfctrlMiscReg3_save = read_phy_reg(pi, 0x340);
  21117. NPHY_REV7_RfctrlMiscReg4_save = read_phy_reg(pi, 0x341);
  21118. NPHY_REV7_RfctrlMiscReg5_save = read_phy_reg(pi, 0x344);
  21119. NPHY_REV7_RfctrlMiscReg6_save = read_phy_reg(pi, 0x345);
  21120. }
  21121. NPHY_RfctrlRSSIOTHERS1_save = read_phy_reg(pi, 0x7a);
  21122. NPHY_RfctrlRSSIOTHERS2_save = read_phy_reg(pi, 0x7d);
  21123. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_OFF, 0,
  21124. RADIO_MIMO_CORESEL_ALLRXTX);
  21125. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_TRSW, 1,
  21126. RADIO_MIMO_CORESEL_ALLRXTX);
  21127. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21128. wlc_phy_rfctrl_override_1tomany_nphy(
  21129. pi,
  21130. NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,
  21131. 0, 0, 0);
  21132. else
  21133. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0, 0);
  21134. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21135. wlc_phy_rfctrl_override_1tomany_nphy(
  21136. pi,
  21137. NPHY_REV7_RfctrlOverride_cmd_rx_pu,
  21138. 1, 0, 0);
  21139. else
  21140. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0, 0);
  21141. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21142. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  21143. 1, 0, 0,
  21144. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21145. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 6), 1, 0, 0,
  21146. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21147. } else {
  21148. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 7), 1, 0, 0);
  21149. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 6), 1, 0, 0);
  21150. }
  21151. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21152. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21153. wlc_phy_rfctrl_override_nphy_rev7(
  21154. pi, (0x1 << 5),
  21155. 0, 0, 0,
  21156. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21157. wlc_phy_rfctrl_override_nphy_rev7(
  21158. pi, (0x1 << 4), 1, 0,
  21159. 0,
  21160. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21161. } else {
  21162. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 0, 0, 0);
  21163. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 1, 0, 0);
  21164. }
  21165. } else {
  21166. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21167. wlc_phy_rfctrl_override_nphy_rev7(
  21168. pi, (0x1 << 4),
  21169. 0, 0, 0,
  21170. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21171. wlc_phy_rfctrl_override_nphy_rev7(
  21172. pi, (0x1 << 5), 1, 0,
  21173. 0,
  21174. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  21175. } else {
  21176. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 4), 0, 0, 0);
  21177. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 5), 1, 0, 0);
  21178. }
  21179. }
  21180. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  21181. (struct brcms_phy_pub *) pi);
  21182. vcm_level_max = 8;
  21183. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21184. if ((rxcore_state & (1 << core)) == 0)
  21185. continue;
  21186. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21187. core ==
  21188. PHY_CORE_0 ?
  21189. RADIO_MIMO_CORESEL_CORE1 :
  21190. RADIO_MIMO_CORESEL_CORE2,
  21191. NPHY_RAIL_I, NPHY_RSSI_SEL_NB);
  21192. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21193. core ==
  21194. PHY_CORE_0 ?
  21195. RADIO_MIMO_CORESEL_CORE1 :
  21196. RADIO_MIMO_CORESEL_CORE2,
  21197. NPHY_RAIL_Q, NPHY_RSSI_SEL_NB);
  21198. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21199. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21200. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21201. RADIO_2057_NB_MASTER_CORE0 :
  21202. RADIO_2057_NB_MASTER_CORE1,
  21203. RADIO_2057_VCM_MASK, vcm);
  21204. else
  21205. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21206. ((core ==
  21207. PHY_CORE_0) ? RADIO_2056_RX0 :
  21208. RADIO_2056_RX1),
  21209. RADIO_2056_VCM_MASK,
  21210. vcm << RADIO_2056_RSSI_VCM_SHIFT);
  21211. wlc_phy_poll_rssi_nphy(pi, NPHY_RSSI_SEL_NB,
  21212. &poll_results[vcm][0],
  21213. NPHY_RSSICAL_NPOLL);
  21214. }
  21215. for (result_idx = 0; result_idx < 4; result_idx++) {
  21216. if ((core == result_idx / 2) &&
  21217. (result_idx % 2 == 0)) {
  21218. min_d = NPHY_RSSICAL_MAXD;
  21219. min_vcm = 0;
  21220. min_poll =
  21221. NPHY_RSSICAL_MAXREAD *
  21222. NPHY_RSSICAL_NPOLL + 1;
  21223. for (vcm = 0; vcm < vcm_level_max; vcm++) {
  21224. curr_d =
  21225. poll_results[vcm][result_idx] *
  21226. poll_results[vcm][result_idx] +
  21227. poll_results[vcm][result_idx +
  21228. 1] *
  21229. poll_results[vcm][result_idx +
  21230. 1];
  21231. if (curr_d < min_d) {
  21232. min_d = curr_d;
  21233. min_vcm = vcm;
  21234. }
  21235. if (poll_results[vcm][result_idx] <
  21236. min_poll)
  21237. min_poll =
  21238. poll_results[vcm]
  21239. [result_idx];
  21240. }
  21241. vcm_final = min_vcm;
  21242. poll_results_min[result_idx] = min_poll;
  21243. }
  21244. }
  21245. if (NREV_GE(pi->pubpi.phy_rev, 7))
  21246. mod_radio_reg(pi, (core == PHY_CORE_0) ?
  21247. RADIO_2057_NB_MASTER_CORE0 :
  21248. RADIO_2057_NB_MASTER_CORE1,
  21249. RADIO_2057_VCM_MASK, vcm_final);
  21250. else
  21251. mod_radio_reg(pi, RADIO_2056_RX_RSSI_MISC |
  21252. ((core ==
  21253. PHY_CORE_0) ? RADIO_2056_RX0 :
  21254. RADIO_2056_RX1), RADIO_2056_VCM_MASK,
  21255. vcm_final << RADIO_2056_RSSI_VCM_SHIFT);
  21256. for (result_idx = 0; result_idx < 4; result_idx++) {
  21257. if (core == result_idx / 2) {
  21258. fine_digital_offset[result_idx] =
  21259. (NPHY_RSSICAL_NB_TARGET *
  21260. NPHY_RSSICAL_NPOLL) -
  21261. poll_results[vcm_final][result_idx];
  21262. if (fine_digital_offset[result_idx] < 0) {
  21263. fine_digital_offset[result_idx] =
  21264. abs(fine_digital_offset
  21265. [result_idx]);
  21266. fine_digital_offset[result_idx] +=
  21267. (NPHY_RSSICAL_NPOLL / 2);
  21268. fine_digital_offset[result_idx] /=
  21269. NPHY_RSSICAL_NPOLL;
  21270. fine_digital_offset[result_idx] =
  21271. -fine_digital_offset[
  21272. result_idx];
  21273. } else {
  21274. fine_digital_offset[result_idx] +=
  21275. (NPHY_RSSICAL_NPOLL / 2);
  21276. fine_digital_offset[result_idx] /=
  21277. NPHY_RSSICAL_NPOLL;
  21278. }
  21279. if (poll_results_min[result_idx] ==
  21280. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21281. fine_digital_offset[result_idx] =
  21282. (NPHY_RSSICAL_NB_TARGET -
  21283. NPHY_RSSICAL_MAXREAD - 1);
  21284. wlc_phy_scale_offset_rssi_nphy(
  21285. pi, 0x0,
  21286. (s8)
  21287. fine_digital_offset
  21288. [result_idx],
  21289. (result_idx / 2 == 0) ?
  21290. RADIO_MIMO_CORESEL_CORE1 :
  21291. RADIO_MIMO_CORESEL_CORE2,
  21292. (result_idx % 2 == 0) ?
  21293. NPHY_RAIL_I : NPHY_RAIL_Q,
  21294. NPHY_RSSI_SEL_NB);
  21295. }
  21296. }
  21297. }
  21298. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  21299. if ((rxcore_state & (1 << core)) == 0)
  21300. continue;
  21301. for (wb_cnt = 0; wb_cnt < 2; wb_cnt++) {
  21302. if (wb_cnt == 0) {
  21303. rssi_type = NPHY_RSSI_SEL_W1;
  21304. target_code = NPHY_RSSICAL_W1_TARGET_REV3;
  21305. } else {
  21306. rssi_type = NPHY_RSSI_SEL_W2;
  21307. target_code = NPHY_RSSICAL_W2_TARGET_REV3;
  21308. }
  21309. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21310. core ==
  21311. PHY_CORE_0 ?
  21312. RADIO_MIMO_CORESEL_CORE1
  21313. :
  21314. RADIO_MIMO_CORESEL_CORE2,
  21315. NPHY_RAIL_I, rssi_type);
  21316. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0,
  21317. core ==
  21318. PHY_CORE_0 ?
  21319. RADIO_MIMO_CORESEL_CORE1
  21320. :
  21321. RADIO_MIMO_CORESEL_CORE2,
  21322. NPHY_RAIL_Q, rssi_type);
  21323. wlc_phy_poll_rssi_nphy(pi, rssi_type, poll_result_core,
  21324. NPHY_RSSICAL_NPOLL);
  21325. for (result_idx = 0; result_idx < 4; result_idx++) {
  21326. if (core == result_idx / 2) {
  21327. fine_digital_offset[result_idx] =
  21328. (target_code *
  21329. NPHY_RSSICAL_NPOLL) -
  21330. poll_result_core[result_idx];
  21331. if (fine_digital_offset[result_idx] <
  21332. 0) {
  21333. fine_digital_offset[result_idx]
  21334. = abs(
  21335. fine_digital_offset
  21336. [result_idx]);
  21337. fine_digital_offset[result_idx]
  21338. += (NPHY_RSSICAL_NPOLL
  21339. / 2);
  21340. fine_digital_offset[result_idx]
  21341. /= NPHY_RSSICAL_NPOLL;
  21342. fine_digital_offset[result_idx]
  21343. = -fine_digital_offset
  21344. [result_idx];
  21345. } else {
  21346. fine_digital_offset[result_idx]
  21347. += (NPHY_RSSICAL_NPOLL
  21348. / 2);
  21349. fine_digital_offset[result_idx]
  21350. /= NPHY_RSSICAL_NPOLL;
  21351. }
  21352. wlc_phy_scale_offset_rssi_nphy(
  21353. pi, 0x0,
  21354. (s8)
  21355. fine_digital_offset
  21356. [core *
  21357. 2],
  21358. (core == PHY_CORE_0) ?
  21359. RADIO_MIMO_CORESEL_CORE1 :
  21360. RADIO_MIMO_CORESEL_CORE2,
  21361. (result_idx % 2 == 0) ?
  21362. NPHY_RAIL_I :
  21363. NPHY_RAIL_Q,
  21364. rssi_type);
  21365. }
  21366. }
  21367. }
  21368. }
  21369. write_phy_reg(pi, 0x91, NPHY_Rfctrlintc1_save);
  21370. write_phy_reg(pi, 0x92, NPHY_Rfctrlintc2_save);
  21371. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  21372. mod_phy_reg(pi, 0xe7, (0x1 << 0), 1 << 0);
  21373. mod_phy_reg(pi, 0x78, (0x1 << 0), 1 << 0);
  21374. mod_phy_reg(pi, 0xe7, (0x1 << 0), 0);
  21375. mod_phy_reg(pi, 0xec, (0x1 << 0), 1 << 0);
  21376. mod_phy_reg(pi, 0x78, (0x1 << 1), 1 << 1);
  21377. mod_phy_reg(pi, 0xec, (0x1 << 0), 0);
  21378. write_phy_reg(pi, 0x8f, NPHY_AfectrlOverride1_save);
  21379. write_phy_reg(pi, 0xa5, NPHY_AfectrlOverride2_save);
  21380. write_phy_reg(pi, 0xa6, NPHY_AfectrlCore1_save);
  21381. write_phy_reg(pi, 0xa7, NPHY_AfectrlCore2_save);
  21382. write_phy_reg(pi, 0xe7, NPHY_RfctrlOverride0_save);
  21383. write_phy_reg(pi, 0xec, NPHY_RfctrlOverride1_save);
  21384. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21385. write_phy_reg(pi, 0x342, NPHY_REV7_RfctrlOverride3_save);
  21386. write_phy_reg(pi, 0x343, NPHY_REV7_RfctrlOverride4_save);
  21387. write_phy_reg(pi, 0x346, NPHY_REV7_RfctrlOverride5_save);
  21388. write_phy_reg(pi, 0x347, NPHY_REV7_RfctrlOverride6_save);
  21389. }
  21390. write_phy_reg(pi, 0xe5, NPHY_RfctrlOverrideAux0_save);
  21391. write_phy_reg(pi, 0xe6, NPHY_RfctrlOverrideAux1_save);
  21392. write_phy_reg(pi, 0x78, NPHY_RfctrlCmd_save);
  21393. write_phy_reg(pi, 0xf9, NPHY_RfctrlMiscReg1_save);
  21394. write_phy_reg(pi, 0xfb, NPHY_RfctrlMiscReg2_save);
  21395. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21396. write_phy_reg(pi, 0x340, NPHY_REV7_RfctrlMiscReg3_save);
  21397. write_phy_reg(pi, 0x341, NPHY_REV7_RfctrlMiscReg4_save);
  21398. write_phy_reg(pi, 0x344, NPHY_REV7_RfctrlMiscReg5_save);
  21399. write_phy_reg(pi, 0x345, NPHY_REV7_RfctrlMiscReg6_save);
  21400. }
  21401. write_phy_reg(pi, 0x7a, NPHY_RfctrlRSSIOTHERS1_save);
  21402. write_phy_reg(pi, 0x7d, NPHY_RfctrlRSSIOTHERS2_save);
  21403. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  21404. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21405. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21406. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21407. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21408. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21409. } else {
  21410. pi->rssical_cache.rssical_radio_regs_2G[0] =
  21411. read_radio_reg(pi,
  21412. RADIO_2056_RX_RSSI_MISC |
  21413. RADIO_2056_RX0);
  21414. pi->rssical_cache.rssical_radio_regs_2G[1] =
  21415. read_radio_reg(pi,
  21416. RADIO_2056_RX_RSSI_MISC |
  21417. RADIO_2056_RX1);
  21418. }
  21419. pi->rssical_cache.rssical_phyregs_2G[0] =
  21420. read_phy_reg(pi, 0x1a6);
  21421. pi->rssical_cache.rssical_phyregs_2G[1] =
  21422. read_phy_reg(pi, 0x1ac);
  21423. pi->rssical_cache.rssical_phyregs_2G[2] =
  21424. read_phy_reg(pi, 0x1b2);
  21425. pi->rssical_cache.rssical_phyregs_2G[3] =
  21426. read_phy_reg(pi, 0x1b8);
  21427. pi->rssical_cache.rssical_phyregs_2G[4] =
  21428. read_phy_reg(pi, 0x1a4);
  21429. pi->rssical_cache.rssical_phyregs_2G[5] =
  21430. read_phy_reg(pi, 0x1aa);
  21431. pi->rssical_cache.rssical_phyregs_2G[6] =
  21432. read_phy_reg(pi, 0x1b0);
  21433. pi->rssical_cache.rssical_phyregs_2G[7] =
  21434. read_phy_reg(pi, 0x1b6);
  21435. pi->rssical_cache.rssical_phyregs_2G[8] =
  21436. read_phy_reg(pi, 0x1a5);
  21437. pi->rssical_cache.rssical_phyregs_2G[9] =
  21438. read_phy_reg(pi, 0x1ab);
  21439. pi->rssical_cache.rssical_phyregs_2G[10] =
  21440. read_phy_reg(pi, 0x1b1);
  21441. pi->rssical_cache.rssical_phyregs_2G[11] =
  21442. read_phy_reg(pi, 0x1b7);
  21443. pi->nphy_rssical_chanspec_2G = pi->radio_chanspec;
  21444. } else {
  21445. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21446. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21447. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE0);
  21448. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21449. read_radio_reg(pi, RADIO_2057_NB_MASTER_CORE1);
  21450. } else {
  21451. pi->rssical_cache.rssical_radio_regs_5G[0] =
  21452. read_radio_reg(pi,
  21453. RADIO_2056_RX_RSSI_MISC |
  21454. RADIO_2056_RX0);
  21455. pi->rssical_cache.rssical_radio_regs_5G[1] =
  21456. read_radio_reg(pi,
  21457. RADIO_2056_RX_RSSI_MISC |
  21458. RADIO_2056_RX1);
  21459. }
  21460. pi->rssical_cache.rssical_phyregs_5G[0] =
  21461. read_phy_reg(pi, 0x1a6);
  21462. pi->rssical_cache.rssical_phyregs_5G[1] =
  21463. read_phy_reg(pi, 0x1ac);
  21464. pi->rssical_cache.rssical_phyregs_5G[2] =
  21465. read_phy_reg(pi, 0x1b2);
  21466. pi->rssical_cache.rssical_phyregs_5G[3] =
  21467. read_phy_reg(pi, 0x1b8);
  21468. pi->rssical_cache.rssical_phyregs_5G[4] =
  21469. read_phy_reg(pi, 0x1a4);
  21470. pi->rssical_cache.rssical_phyregs_5G[5] =
  21471. read_phy_reg(pi, 0x1aa);
  21472. pi->rssical_cache.rssical_phyregs_5G[6] =
  21473. read_phy_reg(pi, 0x1b0);
  21474. pi->rssical_cache.rssical_phyregs_5G[7] =
  21475. read_phy_reg(pi, 0x1b6);
  21476. pi->rssical_cache.rssical_phyregs_5G[8] =
  21477. read_phy_reg(pi, 0x1a5);
  21478. pi->rssical_cache.rssical_phyregs_5G[9] =
  21479. read_phy_reg(pi, 0x1ab);
  21480. pi->rssical_cache.rssical_phyregs_5G[10] =
  21481. read_phy_reg(pi, 0x1b1);
  21482. pi->rssical_cache.rssical_phyregs_5G[11] =
  21483. read_phy_reg(pi, 0x1b7);
  21484. pi->nphy_rssical_chanspec_5G = pi->radio_chanspec;
  21485. }
  21486. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21487. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21488. }
  21489. static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
  21490. {
  21491. s32 target_code;
  21492. u16 classif_state;
  21493. u16 clip_state[2];
  21494. u16 rssi_ctrl_state[2], pd_state[2];
  21495. u16 rfctrlintc_state[2], rfpdcorerxtx_state[2];
  21496. u16 rfctrlintc_override_val;
  21497. u16 clip_off[] = { 0xffff, 0xffff };
  21498. u16 rf_pd_val, pd_mask, rssi_ctrl_mask;
  21499. u8 vcm, min_vcm, vcm_tmp[4];
  21500. u8 vcm_final[4] = { 0, 0, 0, 0 };
  21501. u8 result_idx, ctr;
  21502. s32 poll_results[4][4] = {
  21503. {0, 0, 0, 0},
  21504. {0, 0, 0, 0},
  21505. {0, 0, 0, 0},
  21506. {0, 0, 0, 0}
  21507. };
  21508. s32 poll_miniq[4][2] = {
  21509. {0, 0},
  21510. {0, 0},
  21511. {0, 0},
  21512. {0, 0}
  21513. };
  21514. s32 min_d, curr_d;
  21515. s32 fine_digital_offset[4];
  21516. s32 poll_results_min[4] = { 0, 0, 0, 0 };
  21517. s32 min_poll;
  21518. switch (rssi_type) {
  21519. case NPHY_RSSI_SEL_NB:
  21520. target_code = NPHY_RSSICAL_NB_TARGET;
  21521. break;
  21522. case NPHY_RSSI_SEL_W1:
  21523. target_code = NPHY_RSSICAL_W1_TARGET;
  21524. break;
  21525. case NPHY_RSSI_SEL_W2:
  21526. target_code = NPHY_RSSICAL_W2_TARGET;
  21527. break;
  21528. default:
  21529. return;
  21530. break;
  21531. }
  21532. classif_state = wlc_phy_classifier_nphy(pi, 0, 0);
  21533. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  21534. wlc_phy_clip_det_nphy(pi, 0, clip_state);
  21535. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  21536. rf_pd_val = (rssi_type == NPHY_RSSI_SEL_NB) ? 0x6 : 0x4;
  21537. rfctrlintc_override_val =
  21538. CHSPEC_IS5G(pi->radio_chanspec) ? 0x140 : 0x110;
  21539. rfctrlintc_state[0] = read_phy_reg(pi, 0x91);
  21540. rfpdcorerxtx_state[0] = read_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX);
  21541. write_phy_reg(pi, 0x91, rfctrlintc_override_val);
  21542. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rf_pd_val);
  21543. rfctrlintc_state[1] = read_phy_reg(pi, 0x92);
  21544. rfpdcorerxtx_state[1] = read_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX);
  21545. write_phy_reg(pi, 0x92, rfctrlintc_override_val);
  21546. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rf_pd_val);
  21547. pd_mask = RADIO_2055_NBRSSI_PD | RADIO_2055_WBRSSI_G1_PD |
  21548. RADIO_2055_WBRSSI_G2_PD;
  21549. pd_state[0] =
  21550. read_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC) & pd_mask;
  21551. pd_state[1] =
  21552. read_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC) & pd_mask;
  21553. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, 0);
  21554. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, 0);
  21555. rssi_ctrl_mask = RADIO_2055_NBRSSI_SEL | RADIO_2055_WBRSSI_G1_SEL |
  21556. RADIO_2055_WBRSSI_G2_SEL;
  21557. rssi_ctrl_state[0] =
  21558. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE1) & rssi_ctrl_mask;
  21559. rssi_ctrl_state[1] =
  21560. read_radio_reg(pi, RADIO_2055_SP_RSSI_CORE2) & rssi_ctrl_mask;
  21561. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_ALLRX, rssi_type);
  21562. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21563. NPHY_RAIL_I, rssi_type);
  21564. wlc_phy_scale_offset_rssi_nphy(pi, 0x0, 0x0, RADIO_MIMO_CORESEL_ALLRX,
  21565. NPHY_RAIL_Q, rssi_type);
  21566. for (vcm = 0; vcm < 4; vcm++) {
  21567. vcm_tmp[0] = vcm_tmp[1] = vcm_tmp[2] = vcm_tmp[3] = vcm;
  21568. if (rssi_type != NPHY_RSSI_SEL_W2)
  21569. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_tmp);
  21570. wlc_phy_poll_rssi_nphy(pi, rssi_type, &poll_results[vcm][0],
  21571. NPHY_RSSICAL_NPOLL);
  21572. if ((rssi_type == NPHY_RSSI_SEL_W1)
  21573. || (rssi_type == NPHY_RSSI_SEL_W2)) {
  21574. for (ctr = 0; ctr < 2; ctr++)
  21575. poll_miniq[vcm][ctr] =
  21576. min(poll_results[vcm][ctr * 2 + 0],
  21577. poll_results[vcm][ctr * 2 + 1]);
  21578. }
  21579. }
  21580. for (result_idx = 0; result_idx < 4; result_idx++) {
  21581. min_d = NPHY_RSSICAL_MAXD;
  21582. min_vcm = 0;
  21583. min_poll = NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL + 1;
  21584. for (vcm = 0; vcm < 4; vcm++) {
  21585. curr_d = abs(((rssi_type == NPHY_RSSI_SEL_NB) ?
  21586. poll_results[vcm][result_idx] :
  21587. poll_miniq[vcm][result_idx / 2]) -
  21588. (target_code * NPHY_RSSICAL_NPOLL));
  21589. if (curr_d < min_d) {
  21590. min_d = curr_d;
  21591. min_vcm = vcm;
  21592. }
  21593. if (poll_results[vcm][result_idx] < min_poll)
  21594. min_poll = poll_results[vcm][result_idx];
  21595. }
  21596. vcm_final[result_idx] = min_vcm;
  21597. poll_results_min[result_idx] = min_poll;
  21598. }
  21599. if (rssi_type != NPHY_RSSI_SEL_W2)
  21600. wlc_phy_set_rssi_2055_vcm(pi, rssi_type, vcm_final);
  21601. for (result_idx = 0; result_idx < 4; result_idx++) {
  21602. fine_digital_offset[result_idx] =
  21603. (target_code * NPHY_RSSICAL_NPOLL) -
  21604. poll_results[vcm_final[result_idx]][result_idx];
  21605. if (fine_digital_offset[result_idx] < 0) {
  21606. fine_digital_offset[result_idx] =
  21607. abs(fine_digital_offset[result_idx]);
  21608. fine_digital_offset[result_idx] +=
  21609. (NPHY_RSSICAL_NPOLL / 2);
  21610. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21611. fine_digital_offset[result_idx] =
  21612. -fine_digital_offset[result_idx];
  21613. } else {
  21614. fine_digital_offset[result_idx] +=
  21615. (NPHY_RSSICAL_NPOLL / 2);
  21616. fine_digital_offset[result_idx] /= NPHY_RSSICAL_NPOLL;
  21617. }
  21618. if (poll_results_min[result_idx] ==
  21619. NPHY_RSSICAL_MAXREAD * NPHY_RSSICAL_NPOLL)
  21620. fine_digital_offset[result_idx] =
  21621. (target_code - NPHY_RSSICAL_MAXREAD - 1);
  21622. wlc_phy_scale_offset_rssi_nphy(pi, 0x0,
  21623. (s8)
  21624. fine_digital_offset[result_idx],
  21625. (result_idx / 2 ==
  21626. 0) ? RADIO_MIMO_CORESEL_CORE1 :
  21627. RADIO_MIMO_CORESEL_CORE2,
  21628. (result_idx % 2 ==
  21629. 0) ? NPHY_RAIL_I : NPHY_RAIL_Q,
  21630. rssi_type);
  21631. }
  21632. mod_radio_reg(pi, RADIO_2055_PD_CORE1_RSSI_MISC, pd_mask, pd_state[0]);
  21633. mod_radio_reg(pi, RADIO_2055_PD_CORE2_RSSI_MISC, pd_mask, pd_state[1]);
  21634. if (rssi_ctrl_state[0] == RADIO_2055_NBRSSI_SEL)
  21635. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21636. NPHY_RSSI_SEL_NB);
  21637. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G1_SEL)
  21638. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21639. NPHY_RSSI_SEL_W1);
  21640. else if (rssi_ctrl_state[0] == RADIO_2055_WBRSSI_G2_SEL)
  21641. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21642. NPHY_RSSI_SEL_W2);
  21643. else
  21644. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE1,
  21645. NPHY_RSSI_SEL_W2);
  21646. if (rssi_ctrl_state[1] == RADIO_2055_NBRSSI_SEL)
  21647. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21648. NPHY_RSSI_SEL_NB);
  21649. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G1_SEL)
  21650. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21651. NPHY_RSSI_SEL_W1);
  21652. else if (rssi_ctrl_state[1] == RADIO_2055_WBRSSI_G2_SEL)
  21653. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21654. NPHY_RSSI_SEL_W2);
  21655. else
  21656. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_CORE2,
  21657. NPHY_RSSI_SEL_W2);
  21658. wlc_phy_rssisel_nphy(pi, RADIO_MIMO_CORESEL_OFF, rssi_type);
  21659. write_phy_reg(pi, 0x91, rfctrlintc_state[0]);
  21660. write_radio_reg(pi, RADIO_2055_PD_CORE1_RXTX, rfpdcorerxtx_state[0]);
  21661. write_phy_reg(pi, 0x92, rfctrlintc_state[1]);
  21662. write_radio_reg(pi, RADIO_2055_PD_CORE2_RXTX, rfpdcorerxtx_state[1]);
  21663. wlc_phy_classifier_nphy(pi, (0x7 << 0), classif_state);
  21664. wlc_phy_clip_det_nphy(pi, 1, clip_state);
  21665. wlc_phy_resetcca_nphy(pi);
  21666. }
  21667. void wlc_phy_rssi_cal_nphy(struct brcms_phy *pi)
  21668. {
  21669. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21670. wlc_phy_rssi_cal_nphy_rev3(pi);
  21671. } else {
  21672. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_NB);
  21673. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W1);
  21674. wlc_phy_rssi_cal_nphy_rev2(pi, NPHY_RSSI_SEL_W2);
  21675. }
  21676. }
  21677. int
  21678. wlc_phy_rssi_compute_nphy(struct brcms_phy *pi, struct d11rxhdr *rxh)
  21679. {
  21680. s16 rxpwr, rxpwr0, rxpwr1;
  21681. s16 phyRx0_l, phyRx2_l;
  21682. rxpwr = 0;
  21683. rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK;
  21684. rxpwr1 = (rxh->PhyRxStatus_1 & PRXS1_nphy_PWR1_MASK) >> 8;
  21685. if (rxpwr0 > 127)
  21686. rxpwr0 -= 256;
  21687. if (rxpwr1 > 127)
  21688. rxpwr1 -= 256;
  21689. phyRx0_l = rxh->PhyRxStatus_0 & 0x00ff;
  21690. phyRx2_l = rxh->PhyRxStatus_2 & 0x00ff;
  21691. if (phyRx2_l > 127)
  21692. phyRx2_l -= 256;
  21693. if (((rxpwr0 == 16) || (rxpwr0 == 32))) {
  21694. rxpwr0 = rxpwr1;
  21695. rxpwr1 = phyRx2_l;
  21696. }
  21697. if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MAX)
  21698. rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1;
  21699. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_MIN)
  21700. rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1;
  21701. else if (pi->sh->rssi_mode == RSSI_ANT_MERGE_AVG)
  21702. rxpwr = (rxpwr0 + rxpwr1) >> 1;
  21703. return rxpwr;
  21704. }
  21705. static void
  21706. wlc_phy_loadsampletable_nphy(struct brcms_phy *pi, struct cordic_iq *tone_buf,
  21707. u16 num_samps)
  21708. {
  21709. u16 t;
  21710. u32 *data_buf = NULL;
  21711. data_buf = kmalloc(sizeof(u32) * num_samps, GFP_ATOMIC);
  21712. if (data_buf == NULL)
  21713. return;
  21714. if (pi->phyhang_avoid)
  21715. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21716. for (t = 0; t < num_samps; t++)
  21717. data_buf[t] = ((((unsigned int)tone_buf[t].i) & 0x3ff) << 10) |
  21718. (((unsigned int)tone_buf[t].q) & 0x3ff);
  21719. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SAMPLEPLAY, num_samps, 0, 32,
  21720. data_buf);
  21721. kfree(data_buf);
  21722. if (pi->phyhang_avoid)
  21723. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21724. }
  21725. static u16
  21726. wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21727. u8 dac_test_mode)
  21728. {
  21729. u8 phy_bw, is_phybw40;
  21730. u16 num_samps, t, spur;
  21731. s32 theta = 0, rot = 0;
  21732. u32 tbl_len;
  21733. struct cordic_iq *tone_buf = NULL;
  21734. is_phybw40 = CHSPEC_IS40(pi->radio_chanspec);
  21735. phy_bw = (is_phybw40 == 1) ? 40 : 20;
  21736. tbl_len = (phy_bw << 3);
  21737. if (dac_test_mode == 1) {
  21738. spur = read_phy_reg(pi, 0x01);
  21739. spur = (spur >> 15) & 1;
  21740. phy_bw = (spur == 1) ? 82 : 80;
  21741. phy_bw = (is_phybw40 == 1) ? (phy_bw << 1) : phy_bw;
  21742. tbl_len = (phy_bw << 1);
  21743. }
  21744. tone_buf = kmalloc(sizeof(struct cordic_iq) * tbl_len, GFP_ATOMIC);
  21745. if (tone_buf == NULL)
  21746. return 0;
  21747. num_samps = (u16) tbl_len;
  21748. rot = ((f_kHz * 36) / phy_bw) / 100;
  21749. theta = 0;
  21750. for (t = 0; t < num_samps; t++) {
  21751. tone_buf[t] = cordic_calc_iq(theta);
  21752. theta += rot;
  21753. tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val);
  21754. tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val);
  21755. }
  21756. wlc_phy_loadsampletable_nphy(pi, tone_buf, num_samps);
  21757. kfree(tone_buf);
  21758. return num_samps;
  21759. }
  21760. static void
  21761. wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops,
  21762. u16 wait, u8 iqmode, u8 dac_test_mode,
  21763. bool modify_bbmult)
  21764. {
  21765. u16 bb_mult;
  21766. u8 phy_bw, sample_cmd;
  21767. u16 orig_RfseqCoreActv;
  21768. u16 lpf_bw_ctl_override3, lpf_bw_ctl_override4, lpf_bw_ctl_miscreg3,
  21769. lpf_bw_ctl_miscreg4;
  21770. if (pi->phyhang_avoid)
  21771. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21772. phy_bw = 20;
  21773. if (CHSPEC_IS40(pi->radio_chanspec))
  21774. phy_bw = 40;
  21775. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21776. lpf_bw_ctl_override3 = read_phy_reg(pi, 0x342) & (0x1 << 7);
  21777. lpf_bw_ctl_override4 = read_phy_reg(pi, 0x343) & (0x1 << 7);
  21778. if (lpf_bw_ctl_override3 | lpf_bw_ctl_override4) {
  21779. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21780. (0x7 << 8);
  21781. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21782. (0x7 << 8);
  21783. } else {
  21784. wlc_phy_rfctrl_override_nphy_rev7(
  21785. pi,
  21786. (0x1 << 7),
  21787. wlc_phy_read_lpf_bw_ctl_nphy
  21788. (pi,
  21789. 0), 0, 0,
  21790. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21791. pi->nphy_sample_play_lpf_bw_ctl_ovr = true;
  21792. lpf_bw_ctl_miscreg3 = read_phy_reg(pi, 0x340) &
  21793. (0x7 << 8);
  21794. lpf_bw_ctl_miscreg4 = read_phy_reg(pi, 0x341) &
  21795. (0x7 << 8);
  21796. }
  21797. }
  21798. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) == 0) {
  21799. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21800. &bb_mult);
  21801. pi->nphy_bb_mult_save =
  21802. BB_MULT_VALID_MASK | (bb_mult & BB_MULT_MASK);
  21803. }
  21804. if (modify_bbmult) {
  21805. bb_mult = (phy_bw == 20) ? 100 : 71;
  21806. bb_mult = (bb_mult << 8) + bb_mult;
  21807. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21808. &bb_mult);
  21809. }
  21810. if (pi->phyhang_avoid)
  21811. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21812. write_phy_reg(pi, 0xc6, num_samps - 1);
  21813. if (loops != 0xffff)
  21814. write_phy_reg(pi, 0xc4, loops - 1);
  21815. else
  21816. write_phy_reg(pi, 0xc4, loops);
  21817. write_phy_reg(pi, 0xc5, wait);
  21818. orig_RfseqCoreActv = read_phy_reg(pi, 0xa1);
  21819. or_phy_reg(pi, 0xa1, NPHY_RfseqMode_CoreActv_override);
  21820. if (iqmode) {
  21821. and_phy_reg(pi, 0xc2, 0x7FFF);
  21822. or_phy_reg(pi, 0xc2, 0x8000);
  21823. } else {
  21824. sample_cmd = (dac_test_mode == 1) ? 0x5 : 0x1;
  21825. write_phy_reg(pi, 0xc3, sample_cmd);
  21826. }
  21827. SPINWAIT(((read_phy_reg(pi, 0xa4) & 0x1) == 1), 1000);
  21828. write_phy_reg(pi, 0xa1, orig_RfseqCoreActv);
  21829. }
  21830. int
  21831. wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val,
  21832. u8 iqmode, u8 dac_test_mode, bool modify_bbmult)
  21833. {
  21834. u16 num_samps;
  21835. u16 loops = 0xffff;
  21836. u16 wait = 0;
  21837. num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val,
  21838. dac_test_mode);
  21839. if (num_samps == 0)
  21840. return -EBADE;
  21841. wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode,
  21842. dac_test_mode, modify_bbmult);
  21843. return 0;
  21844. }
  21845. void wlc_phy_stopplayback_nphy(struct brcms_phy *pi)
  21846. {
  21847. u16 playback_status;
  21848. u16 bb_mult;
  21849. if (pi->phyhang_avoid)
  21850. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21851. playback_status = read_phy_reg(pi, 0xc7);
  21852. if (playback_status & 0x1)
  21853. or_phy_reg(pi, 0xc3, NPHY_sampleCmd_STOP);
  21854. else if (playback_status & 0x2)
  21855. and_phy_reg(pi, 0xc2,
  21856. (u16) ~NPHY_iqloCalCmdGctl_IQLO_CAL_EN);
  21857. and_phy_reg(pi, 0xc3, (u16) ~(0x1 << 2));
  21858. if ((pi->nphy_bb_mult_save & BB_MULT_VALID_MASK) != 0) {
  21859. bb_mult = pi->nphy_bb_mult_save & BB_MULT_MASK;
  21860. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, 87, 16,
  21861. &bb_mult);
  21862. pi->nphy_bb_mult_save = 0;
  21863. }
  21864. if (NREV_IS(pi->pubpi.phy_rev, 7) || NREV_GE(pi->pubpi.phy_rev, 8)) {
  21865. if (pi->nphy_sample_play_lpf_bw_ctl_ovr) {
  21866. wlc_phy_rfctrl_override_nphy_rev7(
  21867. pi,
  21868. (0x1 << 7),
  21869. 0, 0, 1,
  21870. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  21871. pi->nphy_sample_play_lpf_bw_ctl_ovr = false;
  21872. }
  21873. }
  21874. if (pi->phyhang_avoid)
  21875. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21876. }
  21877. static u32 *brcms_phy_get_tx_pwrctrl_tbl(struct brcms_phy *pi)
  21878. {
  21879. u32 *tx_pwrctrl_tbl = NULL;
  21880. uint phyrev = pi->pubpi.phy_rev;
  21881. if (PHY_IPA(pi)) {
  21882. tx_pwrctrl_tbl =
  21883. wlc_phy_get_ipa_gaintbl_nphy(pi);
  21884. } else {
  21885. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  21886. if (NREV_IS(phyrev, 3))
  21887. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev3;
  21888. else if (NREV_IS(phyrev, 4))
  21889. tx_pwrctrl_tbl =
  21890. (pi->srom_fem5g.extpagain == 3) ?
  21891. nphy_tpc_5GHz_txgain_HiPwrEPA :
  21892. nphy_tpc_5GHz_txgain_rev4;
  21893. else
  21894. tx_pwrctrl_tbl = nphy_tpc_5GHz_txgain_rev5;
  21895. } else {
  21896. if (NREV_GE(phyrev, 7)) {
  21897. if (pi->pubpi.radiorev == 3)
  21898. tx_pwrctrl_tbl =
  21899. nphy_tpc_txgain_epa_2057rev3;
  21900. else if (pi->pubpi.radiorev == 5)
  21901. tx_pwrctrl_tbl =
  21902. nphy_tpc_txgain_epa_2057rev5;
  21903. } else {
  21904. if (NREV_GE(phyrev, 5) &&
  21905. (pi->srom_fem2g.extpagain == 3))
  21906. tx_pwrctrl_tbl =
  21907. nphy_tpc_txgain_HiPwrEPA;
  21908. else
  21909. tx_pwrctrl_tbl =
  21910. nphy_tpc_txgain_rev3;
  21911. }
  21912. }
  21913. }
  21914. return tx_pwrctrl_tbl;
  21915. }
  21916. struct nphy_txgains wlc_phy_get_tx_gain_nphy(struct brcms_phy *pi)
  21917. {
  21918. u16 base_idx[2], curr_gain[2];
  21919. u8 core_no;
  21920. struct nphy_txgains target_gain;
  21921. u32 *tx_pwrctrl_tbl = NULL;
  21922. if (pi->nphy_txpwrctrl == PHY_TPC_HW_OFF) {
  21923. if (pi->phyhang_avoid)
  21924. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  21925. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  21926. curr_gain);
  21927. if (pi->phyhang_avoid)
  21928. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  21929. for (core_no = 0; core_no < 2; core_no++) {
  21930. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  21931. target_gain.ipa[core_no] =
  21932. curr_gain[core_no] & 0x0007;
  21933. target_gain.pad[core_no] =
  21934. ((curr_gain[core_no] & 0x00F8) >> 3);
  21935. target_gain.pga[core_no] =
  21936. ((curr_gain[core_no] & 0x0F00) >> 8);
  21937. target_gain.txgm[core_no] =
  21938. ((curr_gain[core_no] & 0x7000) >> 12);
  21939. target_gain.txlpf[core_no] =
  21940. ((curr_gain[core_no] & 0x8000) >> 15);
  21941. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  21942. target_gain.ipa[core_no] =
  21943. curr_gain[core_no] & 0x000F;
  21944. target_gain.pad[core_no] =
  21945. ((curr_gain[core_no] & 0x00F0) >> 4);
  21946. target_gain.pga[core_no] =
  21947. ((curr_gain[core_no] & 0x0F00) >> 8);
  21948. target_gain.txgm[core_no] =
  21949. ((curr_gain[core_no] & 0x7000) >> 12);
  21950. } else {
  21951. target_gain.ipa[core_no] =
  21952. curr_gain[core_no] & 0x0003;
  21953. target_gain.pad[core_no] =
  21954. ((curr_gain[core_no] & 0x000C) >> 2);
  21955. target_gain.pga[core_no] =
  21956. ((curr_gain[core_no] & 0x0070) >> 4);
  21957. target_gain.txgm[core_no] =
  21958. ((curr_gain[core_no] & 0x0380) >> 7);
  21959. }
  21960. }
  21961. } else {
  21962. uint phyrev = pi->pubpi.phy_rev;
  21963. base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f;
  21964. base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f;
  21965. for (core_no = 0; core_no < 2; core_no++) {
  21966. if (NREV_GE(phyrev, 3)) {
  21967. tx_pwrctrl_tbl =
  21968. brcms_phy_get_tx_pwrctrl_tbl(pi);
  21969. if (NREV_GE(phyrev, 7)) {
  21970. target_gain.ipa[core_no] =
  21971. (tx_pwrctrl_tbl
  21972. [base_idx[core_no]]
  21973. >> 16) & 0x7;
  21974. target_gain.pad[core_no] =
  21975. (tx_pwrctrl_tbl
  21976. [base_idx[core_no]]
  21977. >> 19) & 0x1f;
  21978. target_gain.pga[core_no] =
  21979. (tx_pwrctrl_tbl
  21980. [base_idx[core_no]]
  21981. >> 24) & 0xf;
  21982. target_gain.txgm[core_no] =
  21983. (tx_pwrctrl_tbl
  21984. [base_idx[core_no]]
  21985. >> 28) & 0x7;
  21986. target_gain.txlpf[core_no] =
  21987. (tx_pwrctrl_tbl
  21988. [base_idx[core_no]]
  21989. >> 31) & 0x1;
  21990. } else {
  21991. target_gain.ipa[core_no] =
  21992. (tx_pwrctrl_tbl
  21993. [base_idx[core_no]]
  21994. >> 16) & 0xf;
  21995. target_gain.pad[core_no] =
  21996. (tx_pwrctrl_tbl
  21997. [base_idx[core_no]]
  21998. >> 20) & 0xf;
  21999. target_gain.pga[core_no] =
  22000. (tx_pwrctrl_tbl
  22001. [base_idx[core_no]]
  22002. >> 24) & 0xf;
  22003. target_gain.txgm[core_no] =
  22004. (tx_pwrctrl_tbl
  22005. [base_idx[core_no]]
  22006. >> 28) & 0x7;
  22007. }
  22008. } else {
  22009. target_gain.ipa[core_no] =
  22010. (nphy_tpc_txgain[base_idx[core_no]] >>
  22011. 16) & 0x3;
  22012. target_gain.pad[core_no] =
  22013. (nphy_tpc_txgain[base_idx[core_no]] >>
  22014. 18) & 0x3;
  22015. target_gain.pga[core_no] =
  22016. (nphy_tpc_txgain[base_idx[core_no]] >>
  22017. 20) & 0x7;
  22018. target_gain.txgm[core_no] =
  22019. (nphy_tpc_txgain[base_idx[core_no]] >>
  22020. 23) & 0x7;
  22021. }
  22022. }
  22023. }
  22024. return target_gain;
  22025. }
  22026. static void
  22027. wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no,
  22028. struct nphy_txgains target_gain,
  22029. struct nphy_iqcal_params *params)
  22030. {
  22031. u8 k;
  22032. int idx;
  22033. u16 gain_index;
  22034. u8 band_idx = (CHSPEC_IS5G(pi->radio_chanspec) ? 1 : 0);
  22035. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22036. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22037. params->txlpf = target_gain.txlpf[core_no];
  22038. params->txgm = target_gain.txgm[core_no];
  22039. params->pga = target_gain.pga[core_no];
  22040. params->pad = target_gain.pad[core_no];
  22041. params->ipa = target_gain.ipa[core_no];
  22042. if (NREV_GE(pi->pubpi.phy_rev, 7))
  22043. params->cal_gain =
  22044. ((params->txlpf << 15) | (params->txgm << 12) |
  22045. (params->pga << 8) |
  22046. (params->pad << 3) | (params->ipa));
  22047. else
  22048. params->cal_gain =
  22049. ((params->txgm << 12) | (params->pga << 8) |
  22050. (params->pad << 4) | (params->ipa));
  22051. params->ncorr[0] = 0x79;
  22052. params->ncorr[1] = 0x79;
  22053. params->ncorr[2] = 0x79;
  22054. params->ncorr[3] = 0x79;
  22055. params->ncorr[4] = 0x79;
  22056. } else {
  22057. gain_index = ((target_gain.pad[core_no] << 0) |
  22058. (target_gain.pga[core_no] << 4) |
  22059. (target_gain.txgm[core_no] << 8));
  22060. idx = -1;
  22061. for (k = 0; k < NPHY_IQCAL_NUMGAINS; k++) {
  22062. if (tbl_iqcal_gainparams_nphy[band_idx][k][0] ==
  22063. gain_index) {
  22064. idx = k;
  22065. break;
  22066. }
  22067. }
  22068. params->txgm = tbl_iqcal_gainparams_nphy[band_idx][k][1];
  22069. params->pga = tbl_iqcal_gainparams_nphy[band_idx][k][2];
  22070. params->pad = tbl_iqcal_gainparams_nphy[band_idx][k][3];
  22071. params->cal_gain = ((params->txgm << 7) | (params->pga << 4) |
  22072. (params->pad << 2));
  22073. params->ncorr[0] = tbl_iqcal_gainparams_nphy[band_idx][k][4];
  22074. params->ncorr[1] = tbl_iqcal_gainparams_nphy[band_idx][k][5];
  22075. params->ncorr[2] = tbl_iqcal_gainparams_nphy[band_idx][k][6];
  22076. params->ncorr[3] = tbl_iqcal_gainparams_nphy[band_idx][k][7];
  22077. }
  22078. }
  22079. static void wlc_phy_txcal_radio_setup_nphy(struct brcms_phy *pi)
  22080. {
  22081. u16 jtag_core, core;
  22082. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22083. for (core = 0; core <= 1; core++) {
  22084. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22085. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22086. TX_SSI_MASTER);
  22087. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22088. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22089. IQCAL_VCM_HG);
  22090. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22091. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22092. IQCAL_IDAC);
  22093. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22094. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22095. TSSI_VCM);
  22096. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] = 0;
  22097. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22098. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22099. TX_SSI_MUX);
  22100. if (pi->pubpi.radiorev != 5)
  22101. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22102. READ_RADIO_REG3(pi, RADIO_2057, TX,
  22103. core,
  22104. TSSIA);
  22105. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22106. READ_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG);
  22107. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22108. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22109. TSSI_MISC1);
  22110. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22111. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22112. TX_SSI_MASTER, 0x0a);
  22113. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22114. IQCAL_VCM_HG, 0x43);
  22115. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22116. IQCAL_IDAC, 0x55);
  22117. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22118. TSSI_VCM, 0x00);
  22119. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22120. TSSIG, 0x00);
  22121. if (pi->use_int_tx_iqlo_cal_nphy) {
  22122. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22123. core, TX_SSI_MUX, 0x4);
  22124. if (!(pi->
  22125. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22126. WRITE_RADIO_REG3(pi, RADIO_2057,
  22127. TX, core,
  22128. TSSIA, 0x31);
  22129. else
  22130. WRITE_RADIO_REG3(pi, RADIO_2057,
  22131. TX, core,
  22132. TSSIA, 0x21);
  22133. }
  22134. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22135. TSSI_MISC1, 0x00);
  22136. } else {
  22137. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22138. TX_SSI_MASTER, 0x06);
  22139. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22140. IQCAL_VCM_HG, 0x43);
  22141. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22142. IQCAL_IDAC, 0x55);
  22143. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22144. TSSI_VCM, 0x00);
  22145. if (pi->pubpi.radiorev != 5)
  22146. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22147. core, TSSIA, 0x00);
  22148. if (pi->use_int_tx_iqlo_cal_nphy) {
  22149. WRITE_RADIO_REG3(pi, RADIO_2057, TX,
  22150. core, TX_SSI_MUX,
  22151. 0x06);
  22152. if (!(pi->
  22153. internal_tx_iqlo_cal_tapoff_intpa_nphy))
  22154. WRITE_RADIO_REG3(pi, RADIO_2057,
  22155. TX, core,
  22156. TSSIG, 0x31);
  22157. else
  22158. WRITE_RADIO_REG3(pi, RADIO_2057,
  22159. TX, core,
  22160. TSSIG, 0x21);
  22161. }
  22162. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22163. TSSI_MISC1, 0x00);
  22164. }
  22165. }
  22166. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22167. for (core = 0; core <= 1; core++) {
  22168. jtag_core =
  22169. (core ==
  22170. PHY_CORE_0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  22171. pi->tx_rx_cal_radio_saveregs[(core * 11) + 0] =
  22172. read_radio_reg(pi,
  22173. RADIO_2056_TX_TX_SSI_MASTER |
  22174. jtag_core);
  22175. pi->tx_rx_cal_radio_saveregs[(core * 11) + 1] =
  22176. read_radio_reg(pi,
  22177. RADIO_2056_TX_IQCAL_VCM_HG |
  22178. jtag_core);
  22179. pi->tx_rx_cal_radio_saveregs[(core * 11) + 2] =
  22180. read_radio_reg(pi,
  22181. RADIO_2056_TX_IQCAL_IDAC |
  22182. jtag_core);
  22183. pi->tx_rx_cal_radio_saveregs[(core * 11) + 3] =
  22184. read_radio_reg(
  22185. pi,
  22186. RADIO_2056_TX_TSSI_VCM |
  22187. jtag_core);
  22188. pi->tx_rx_cal_radio_saveregs[(core * 11) + 4] =
  22189. read_radio_reg(pi,
  22190. RADIO_2056_TX_TX_AMP_DET |
  22191. jtag_core);
  22192. pi->tx_rx_cal_radio_saveregs[(core * 11) + 5] =
  22193. read_radio_reg(pi,
  22194. RADIO_2056_TX_TX_SSI_MUX |
  22195. jtag_core);
  22196. pi->tx_rx_cal_radio_saveregs[(core * 11) + 6] =
  22197. read_radio_reg(pi,
  22198. RADIO_2056_TX_TSSIA | jtag_core);
  22199. pi->tx_rx_cal_radio_saveregs[(core * 11) + 7] =
  22200. read_radio_reg(pi,
  22201. RADIO_2056_TX_TSSIG | jtag_core);
  22202. pi->tx_rx_cal_radio_saveregs[(core * 11) + 8] =
  22203. read_radio_reg(pi,
  22204. RADIO_2056_TX_TSSI_MISC1 |
  22205. jtag_core);
  22206. pi->tx_rx_cal_radio_saveregs[(core * 11) + 9] =
  22207. read_radio_reg(pi,
  22208. RADIO_2056_TX_TSSI_MISC2 |
  22209. jtag_core);
  22210. pi->tx_rx_cal_radio_saveregs[(core * 11) + 10] =
  22211. read_radio_reg(pi,
  22212. RADIO_2056_TX_TSSI_MISC3 |
  22213. jtag_core);
  22214. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  22215. write_radio_reg(pi,
  22216. RADIO_2056_TX_TX_SSI_MASTER |
  22217. jtag_core, 0x0a);
  22218. write_radio_reg(pi,
  22219. RADIO_2056_TX_IQCAL_VCM_HG |
  22220. jtag_core, 0x40);
  22221. write_radio_reg(pi,
  22222. RADIO_2056_TX_IQCAL_IDAC |
  22223. jtag_core, 0x55);
  22224. write_radio_reg(pi,
  22225. RADIO_2056_TX_TSSI_VCM |
  22226. jtag_core, 0x00);
  22227. write_radio_reg(pi,
  22228. RADIO_2056_TX_TX_AMP_DET |
  22229. jtag_core, 0x00);
  22230. if (PHY_IPA(pi)) {
  22231. write_radio_reg(
  22232. pi,
  22233. RADIO_2056_TX_TX_SSI_MUX
  22234. | jtag_core, 0x4);
  22235. write_radio_reg(pi,
  22236. RADIO_2056_TX_TSSIA |
  22237. jtag_core, 0x1);
  22238. } else {
  22239. write_radio_reg(
  22240. pi,
  22241. RADIO_2056_TX_TX_SSI_MUX
  22242. | jtag_core, 0x00);
  22243. write_radio_reg(pi,
  22244. RADIO_2056_TX_TSSIA |
  22245. jtag_core, 0x2f);
  22246. }
  22247. write_radio_reg(pi,
  22248. RADIO_2056_TX_TSSIG | jtag_core,
  22249. 0x00);
  22250. write_radio_reg(pi,
  22251. RADIO_2056_TX_TSSI_MISC1 |
  22252. jtag_core, 0x00);
  22253. write_radio_reg(pi,
  22254. RADIO_2056_TX_TSSI_MISC2 |
  22255. jtag_core, 0x00);
  22256. write_radio_reg(pi,
  22257. RADIO_2056_TX_TSSI_MISC3 |
  22258. jtag_core, 0x00);
  22259. } else {
  22260. write_radio_reg(pi,
  22261. RADIO_2056_TX_TX_SSI_MASTER |
  22262. jtag_core, 0x06);
  22263. write_radio_reg(pi,
  22264. RADIO_2056_TX_IQCAL_VCM_HG |
  22265. jtag_core, 0x40);
  22266. write_radio_reg(pi,
  22267. RADIO_2056_TX_IQCAL_IDAC |
  22268. jtag_core, 0x55);
  22269. write_radio_reg(pi,
  22270. RADIO_2056_TX_TSSI_VCM |
  22271. jtag_core, 0x00);
  22272. write_radio_reg(pi,
  22273. RADIO_2056_TX_TX_AMP_DET |
  22274. jtag_core, 0x00);
  22275. write_radio_reg(pi,
  22276. RADIO_2056_TX_TSSIA | jtag_core,
  22277. 0x00);
  22278. if (PHY_IPA(pi)) {
  22279. write_radio_reg(
  22280. pi,
  22281. RADIO_2056_TX_TX_SSI_MUX
  22282. | jtag_core, 0x06);
  22283. if (NREV_LT(pi->pubpi.phy_rev, 5))
  22284. write_radio_reg(
  22285. pi,
  22286. RADIO_2056_TX_TSSIG
  22287. | jtag_core,
  22288. 0x11);
  22289. else
  22290. write_radio_reg(
  22291. pi,
  22292. RADIO_2056_TX_TSSIG
  22293. | jtag_core,
  22294. 0x1);
  22295. } else {
  22296. write_radio_reg(
  22297. pi,
  22298. RADIO_2056_TX_TX_SSI_MUX
  22299. | jtag_core, 0x00);
  22300. write_radio_reg(pi,
  22301. RADIO_2056_TX_TSSIG |
  22302. jtag_core, 0x20);
  22303. }
  22304. write_radio_reg(pi,
  22305. RADIO_2056_TX_TSSI_MISC1 |
  22306. jtag_core, 0x00);
  22307. write_radio_reg(pi,
  22308. RADIO_2056_TX_TSSI_MISC2 |
  22309. jtag_core, 0x00);
  22310. write_radio_reg(pi,
  22311. RADIO_2056_TX_TSSI_MISC3 |
  22312. jtag_core, 0x00);
  22313. }
  22314. }
  22315. } else {
  22316. pi->tx_rx_cal_radio_saveregs[0] =
  22317. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1);
  22318. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1, 0x29);
  22319. pi->tx_rx_cal_radio_saveregs[1] =
  22320. read_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2);
  22321. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2, 0x54);
  22322. pi->tx_rx_cal_radio_saveregs[2] =
  22323. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1);
  22324. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1, 0x29);
  22325. pi->tx_rx_cal_radio_saveregs[3] =
  22326. read_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2);
  22327. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2, 0x54);
  22328. pi->tx_rx_cal_radio_saveregs[4] =
  22329. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1);
  22330. pi->tx_rx_cal_radio_saveregs[5] =
  22331. read_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2);
  22332. if ((read_phy_reg(pi, 0x09) & NPHY_BandControl_currentBand) ==
  22333. 0) {
  22334. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x04);
  22335. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x04);
  22336. } else {
  22337. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1, 0x20);
  22338. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2, 0x20);
  22339. }
  22340. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  22341. or_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0x20);
  22342. or_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0x20);
  22343. } else {
  22344. and_radio_reg(pi, RADIO_2055_CORE1_TX_BB_MXGM, 0xdf);
  22345. and_radio_reg(pi, RADIO_2055_CORE2_TX_BB_MXGM, 0xdf);
  22346. }
  22347. }
  22348. }
  22349. static void wlc_phy_txcal_radio_cleanup_nphy(struct brcms_phy *pi)
  22350. {
  22351. u16 jtag_core, core;
  22352. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22353. for (core = 0; core <= 1; core++) {
  22354. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22355. TX_SSI_MASTER,
  22356. pi->
  22357. tx_rx_cal_radio_saveregs[(core * 11) +
  22358. 0]);
  22359. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_VCM_HG,
  22360. pi->
  22361. tx_rx_cal_radio_saveregs[(core * 11) +
  22362. 1]);
  22363. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, IQCAL_IDAC,
  22364. pi->
  22365. tx_rx_cal_radio_saveregs[(core * 11) +
  22366. 2]);
  22367. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_VCM,
  22368. pi->
  22369. tx_rx_cal_radio_saveregs[(core * 11) +
  22370. 3]);
  22371. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TX_SSI_MUX,
  22372. pi->
  22373. tx_rx_cal_radio_saveregs[(core * 11) +
  22374. 5]);
  22375. if (pi->pubpi.radiorev != 5)
  22376. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22377. TSSIA,
  22378. pi->tx_rx_cal_radio_saveregs
  22379. [(core * 11) + 6]);
  22380. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSIG,
  22381. pi->
  22382. tx_rx_cal_radio_saveregs[(core * 11) +
  22383. 7]);
  22384. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core, TSSI_MISC1,
  22385. pi->
  22386. tx_rx_cal_radio_saveregs[(core * 11) +
  22387. 8]);
  22388. }
  22389. } else if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22390. for (core = 0; core <= 1; core++) {
  22391. jtag_core = (core == PHY_CORE_0) ?
  22392. RADIO_2056_TX0 : RADIO_2056_TX1;
  22393. write_radio_reg(pi,
  22394. RADIO_2056_TX_TX_SSI_MASTER | jtag_core,
  22395. pi->
  22396. tx_rx_cal_radio_saveregs[(core * 11) +
  22397. 0]);
  22398. write_radio_reg(pi,
  22399. RADIO_2056_TX_IQCAL_VCM_HG | jtag_core,
  22400. pi->
  22401. tx_rx_cal_radio_saveregs[(core * 11) +
  22402. 1]);
  22403. write_radio_reg(pi,
  22404. RADIO_2056_TX_IQCAL_IDAC | jtag_core,
  22405. pi->
  22406. tx_rx_cal_radio_saveregs[(core * 11) +
  22407. 2]);
  22408. write_radio_reg(pi, RADIO_2056_TX_TSSI_VCM | jtag_core,
  22409. pi->
  22410. tx_rx_cal_radio_saveregs[(core * 11) +
  22411. 3]);
  22412. write_radio_reg(pi,
  22413. RADIO_2056_TX_TX_AMP_DET | jtag_core,
  22414. pi->
  22415. tx_rx_cal_radio_saveregs[(core * 11) +
  22416. 4]);
  22417. write_radio_reg(pi,
  22418. RADIO_2056_TX_TX_SSI_MUX | jtag_core,
  22419. pi->
  22420. tx_rx_cal_radio_saveregs[(core * 11) +
  22421. 5]);
  22422. write_radio_reg(pi, RADIO_2056_TX_TSSIA | jtag_core,
  22423. pi->
  22424. tx_rx_cal_radio_saveregs[(core * 11) +
  22425. 6]);
  22426. write_radio_reg(pi, RADIO_2056_TX_TSSIG | jtag_core,
  22427. pi->
  22428. tx_rx_cal_radio_saveregs[(core * 11) +
  22429. 7]);
  22430. write_radio_reg(pi,
  22431. RADIO_2056_TX_TSSI_MISC1 | jtag_core,
  22432. pi->
  22433. tx_rx_cal_radio_saveregs[(core * 11) +
  22434. 8]);
  22435. write_radio_reg(pi,
  22436. RADIO_2056_TX_TSSI_MISC2 | jtag_core,
  22437. pi->
  22438. tx_rx_cal_radio_saveregs[(core * 11) +
  22439. 9]);
  22440. write_radio_reg(pi,
  22441. RADIO_2056_TX_TSSI_MISC3 | jtag_core,
  22442. pi->
  22443. tx_rx_cal_radio_saveregs[(core * 11) +
  22444. 10]);
  22445. }
  22446. } else {
  22447. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL1,
  22448. pi->tx_rx_cal_radio_saveregs[0]);
  22449. write_radio_reg(pi, RADIO_2055_CORE1_TXRF_IQCAL2,
  22450. pi->tx_rx_cal_radio_saveregs[1]);
  22451. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL1,
  22452. pi->tx_rx_cal_radio_saveregs[2]);
  22453. write_radio_reg(pi, RADIO_2055_CORE2_TXRF_IQCAL2,
  22454. pi->tx_rx_cal_radio_saveregs[3]);
  22455. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE1,
  22456. pi->tx_rx_cal_radio_saveregs[4]);
  22457. write_radio_reg(pi, RADIO_2055_PWRDET_RXTX_CORE2,
  22458. pi->tx_rx_cal_radio_saveregs[5]);
  22459. }
  22460. }
  22461. static void wlc_phy_txcal_physetup_nphy(struct brcms_phy *pi)
  22462. {
  22463. u16 val, mask;
  22464. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22465. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22466. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22467. mask = ((0x3 << 8) | (0x3 << 10));
  22468. val = (0x2 << 8);
  22469. val |= (0x2 << 10);
  22470. mod_phy_reg(pi, 0xa6, mask, val);
  22471. mod_phy_reg(pi, 0xa7, mask, val);
  22472. val = read_phy_reg(pi, 0x8f);
  22473. pi->tx_rx_cal_phy_saveregs[2] = val;
  22474. val |= ((0x1 << 9) | (0x1 << 10));
  22475. write_phy_reg(pi, 0x8f, val);
  22476. val = read_phy_reg(pi, 0xa5);
  22477. pi->tx_rx_cal_phy_saveregs[3] = val;
  22478. val |= ((0x1 << 9) | (0x1 << 10));
  22479. write_phy_reg(pi, 0xa5, val);
  22480. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x01);
  22481. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  22482. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22483. &val);
  22484. pi->tx_rx_cal_phy_saveregs[5] = val;
  22485. val = 0;
  22486. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22487. &val);
  22488. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22489. &val);
  22490. pi->tx_rx_cal_phy_saveregs[6] = val;
  22491. val = 0;
  22492. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22493. &val);
  22494. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0x91);
  22495. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0x92);
  22496. if (!(pi->use_int_tx_iqlo_cal_nphy))
  22497. wlc_phy_rfctrlintc_override_nphy(
  22498. pi,
  22499. NPHY_RfctrlIntc_override_PA,
  22500. 1,
  22501. RADIO_MIMO_CORESEL_CORE1
  22502. |
  22503. RADIO_MIMO_CORESEL_CORE2);
  22504. else
  22505. wlc_phy_rfctrlintc_override_nphy(
  22506. pi,
  22507. NPHY_RfctrlIntc_override_PA,
  22508. 0,
  22509. RADIO_MIMO_CORESEL_CORE1
  22510. |
  22511. RADIO_MIMO_CORESEL_CORE2);
  22512. wlc_phy_rfctrlintc_override_nphy(pi,
  22513. NPHY_RfctrlIntc_override_TRSW,
  22514. 0x2, RADIO_MIMO_CORESEL_CORE1);
  22515. wlc_phy_rfctrlintc_override_nphy(pi,
  22516. NPHY_RfctrlIntc_override_TRSW,
  22517. 0x8, RADIO_MIMO_CORESEL_CORE2);
  22518. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  22519. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  22520. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  22521. 0x29b, (0x1 << 0), (0) << 0);
  22522. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  22523. 0x29b, (0x1 << 0), (0) << 0);
  22524. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22525. || NREV_GE(pi->pubpi.phy_rev, 8))
  22526. wlc_phy_rfctrl_override_nphy_rev7(
  22527. pi, (0x1 << 7),
  22528. wlc_phy_read_lpf_bw_ctl_nphy
  22529. (pi,
  22530. 0), 0, 0,
  22531. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22532. if (pi->use_int_tx_iqlo_cal_nphy
  22533. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22534. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22535. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22536. 1 << 4);
  22537. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22538. mod_radio_reg(
  22539. pi,
  22540. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22541. 1, 0);
  22542. mod_radio_reg(
  22543. pi,
  22544. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22545. 1, 0);
  22546. } else {
  22547. mod_radio_reg(
  22548. pi,
  22549. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22550. 1, 0);
  22551. mod_radio_reg(
  22552. pi,
  22553. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22554. 1, 0);
  22555. }
  22556. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22557. wlc_phy_rfctrl_override_nphy_rev7(
  22558. pi,
  22559. (0x1 << 3), 0,
  22560. 0x3, 0,
  22561. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22562. }
  22563. }
  22564. } else {
  22565. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa6);
  22566. pi->tx_rx_cal_phy_saveregs[1] = read_phy_reg(pi, 0xa7);
  22567. mask = ((0x3 << 12) | (0x3 << 14));
  22568. val = (0x2 << 12);
  22569. val |= (0x2 << 14);
  22570. mod_phy_reg(pi, 0xa6, mask, val);
  22571. mod_phy_reg(pi, 0xa7, mask, val);
  22572. val = read_phy_reg(pi, 0xa5);
  22573. pi->tx_rx_cal_phy_saveregs[2] = val;
  22574. val |= ((0x1 << 12) | (0x1 << 13));
  22575. write_phy_reg(pi, 0xa5, val);
  22576. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22577. &val);
  22578. pi->tx_rx_cal_phy_saveregs[3] = val;
  22579. val |= 0x2000;
  22580. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22581. &val);
  22582. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22583. &val);
  22584. pi->tx_rx_cal_phy_saveregs[4] = val;
  22585. val |= 0x2000;
  22586. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22587. &val);
  22588. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x91);
  22589. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x92);
  22590. val = CHSPEC_IS5G(pi->radio_chanspec) ? 0x180 : 0x120;
  22591. write_phy_reg(pi, 0x91, val);
  22592. write_phy_reg(pi, 0x92, val);
  22593. }
  22594. }
  22595. static void wlc_phy_txcal_phycleanup_nphy(struct brcms_phy *pi)
  22596. {
  22597. u16 mask;
  22598. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  22599. write_phy_reg(pi, 0xa6, pi->tx_rx_cal_phy_saveregs[0]);
  22600. write_phy_reg(pi, 0xa7, pi->tx_rx_cal_phy_saveregs[1]);
  22601. write_phy_reg(pi, 0x8f, pi->tx_rx_cal_phy_saveregs[2]);
  22602. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[3]);
  22603. write_phy_reg(pi, 0x01, pi->tx_rx_cal_phy_saveregs[4]);
  22604. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 3, 16,
  22605. &pi->tx_rx_cal_phy_saveregs[5]);
  22606. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 19, 16,
  22607. &pi->tx_rx_cal_phy_saveregs[6]);
  22608. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[7]);
  22609. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[8]);
  22610. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  22611. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  22612. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22613. || NREV_GE(pi->pubpi.phy_rev, 8))
  22614. wlc_phy_rfctrl_override_nphy_rev7(
  22615. pi, (0x1 << 7), 0, 0,
  22616. 1,
  22617. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22618. wlc_phy_resetcca_nphy(pi);
  22619. if (pi->use_int_tx_iqlo_cal_nphy
  22620. && !(pi->internal_tx_iqlo_cal_tapoff_intpa_nphy)) {
  22621. if (NREV_IS(pi->pubpi.phy_rev, 7)) {
  22622. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22623. mod_radio_reg(
  22624. pi,
  22625. RADIO_2057_PAD2G_TUNE_PUS_CORE0,
  22626. 1, 1);
  22627. mod_radio_reg(
  22628. pi,
  22629. RADIO_2057_PAD2G_TUNE_PUS_CORE1,
  22630. 1, 1);
  22631. } else {
  22632. mod_radio_reg(
  22633. pi,
  22634. RADIO_2057_IPA5G_CASCOFFV_PU_CORE0,
  22635. 1, 1);
  22636. mod_radio_reg(
  22637. pi,
  22638. RADIO_2057_IPA5G_CASCOFFV_PU_CORE1,
  22639. 1, 1);
  22640. }
  22641. mod_radio_reg(pi, RADIO_2057_OVR_REG0, 1 << 4,
  22642. 0);
  22643. } else if (NREV_GE(pi->pubpi.phy_rev, 8)) {
  22644. wlc_phy_rfctrl_override_nphy_rev7(
  22645. pi,
  22646. (0x1 << 3), 0,
  22647. 0x3, 1,
  22648. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22649. }
  22650. }
  22651. } else {
  22652. mask = ((0x3 << 12) | (0x3 << 14));
  22653. mod_phy_reg(pi, 0xa6, mask, pi->tx_rx_cal_phy_saveregs[0]);
  22654. mod_phy_reg(pi, 0xa7, mask, pi->tx_rx_cal_phy_saveregs[1]);
  22655. write_phy_reg(pi, 0xa5, pi->tx_rx_cal_phy_saveregs[2]);
  22656. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 2, 16,
  22657. &pi->tx_rx_cal_phy_saveregs[3]);
  22658. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_AFECTRL, 1, 18, 16,
  22659. &pi->tx_rx_cal_phy_saveregs[4]);
  22660. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[5]);
  22661. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[6]);
  22662. }
  22663. }
  22664. void
  22665. wlc_phy_est_tonepwr_nphy(struct brcms_phy *pi, s32 *qdBm_pwrbuf, u8 num_samps)
  22666. {
  22667. u16 tssi_reg;
  22668. s32 temp, pwrindex[2];
  22669. s32 idle_tssi[2];
  22670. s32 rssi_buf[4];
  22671. s32 tssival[2];
  22672. u8 tssi_type;
  22673. tssi_reg = read_phy_reg(pi, 0x1e9);
  22674. temp = (s32) (tssi_reg & 0x3f);
  22675. idle_tssi[0] = (temp <= 31) ? temp : (temp - 64);
  22676. temp = (s32) ((tssi_reg >> 8) & 0x3f);
  22677. idle_tssi[1] = (temp <= 31) ? temp : (temp - 64);
  22678. tssi_type =
  22679. CHSPEC_IS5G(pi->radio_chanspec) ?
  22680. (u8)NPHY_RSSI_SEL_TSSI_5G : (u8)NPHY_RSSI_SEL_TSSI_2G;
  22681. wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
  22682. tssival[0] = rssi_buf[0] / ((s32) num_samps);
  22683. tssival[1] = rssi_buf[2] / ((s32) num_samps);
  22684. pwrindex[0] = idle_tssi[0] - tssival[0] + 64;
  22685. pwrindex[1] = idle_tssi[1] - tssival[1] + 64;
  22686. if (pwrindex[0] < 0)
  22687. pwrindex[0] = 0;
  22688. else if (pwrindex[0] > 63)
  22689. pwrindex[0] = 63;
  22690. if (pwrindex[1] < 0)
  22691. pwrindex[1] = 0;
  22692. else if (pwrindex[1] > 63)
  22693. pwrindex[1] = 63;
  22694. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 1,
  22695. (u32) pwrindex[0], 32, &qdBm_pwrbuf[0]);
  22696. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 1,
  22697. (u32) pwrindex[1], 32, &qdBm_pwrbuf[1]);
  22698. }
  22699. static void wlc_phy_update_txcal_ladder_nphy(struct brcms_phy *pi, u16 core)
  22700. {
  22701. int index;
  22702. u32 bbmult_scale;
  22703. u16 bbmult;
  22704. u16 tblentry;
  22705. struct nphy_txiqcal_ladder ladder_lo[] = {
  22706. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22707. {25, 0}, {25, 1}, {25, 2}, {25, 3}, {25, 4}, {25, 5},
  22708. {25, 6}, {25, 7}, {35, 7}, {50, 7}, {71, 7}, {100, 7}
  22709. };
  22710. struct nphy_txiqcal_ladder ladder_iq[] = {
  22711. {3, 0}, {4, 0}, {6, 0}, {9, 0}, {13, 0}, {18, 0},
  22712. {25, 0}, {35, 0}, {50, 0}, {71, 0}, {100, 0}, {100, 1},
  22713. {100, 2}, {100, 3}, {100, 4}, {100, 5}, {100, 6}, {100, 7}
  22714. };
  22715. bbmult = (core == PHY_CORE_0) ?
  22716. ((pi->nphy_txcal_bbmult >> 8) & 0xff) :
  22717. (pi->nphy_txcal_bbmult & 0xff);
  22718. for (index = 0; index < 18; index++) {
  22719. bbmult_scale = ladder_lo[index].percent * bbmult;
  22720. bbmult_scale /= 100;
  22721. tblentry =
  22722. ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env;
  22723. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16,
  22724. &tblentry);
  22725. bbmult_scale = ladder_iq[index].percent * bbmult;
  22726. bbmult_scale /= 100;
  22727. tblentry =
  22728. ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env;
  22729. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32,
  22730. 16, &tblentry);
  22731. }
  22732. }
  22733. static u8 wlc_phy_txpwr_idx_cur_get_nphy(struct brcms_phy *pi, u8 core)
  22734. {
  22735. u16 tmp;
  22736. tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee));
  22737. tmp = (tmp & (0x7f << 8)) >> 8;
  22738. return (u8) tmp;
  22739. }
  22740. static void
  22741. wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1)
  22742. {
  22743. mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0);
  22744. if (NREV_GT(pi->pubpi.phy_rev, 1))
  22745. mod_phy_reg(pi, 0x222, (0xff << 0), idx1);
  22746. }
  22747. static u16 wlc_phy_ipa_get_bbmult_nphy(struct brcms_phy *pi)
  22748. {
  22749. u16 m0m1;
  22750. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m0m1);
  22751. return m0m1;
  22752. }
  22753. static void wlc_phy_ipa_set_bbmult_nphy(struct brcms_phy *pi, u8 m0, u8 m1)
  22754. {
  22755. u16 m0m1 = (u16) ((m0 << 8) | m1);
  22756. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m0m1);
  22757. wlc_phy_table_write_nphy(pi, 15, 1, 95, 16, &m0m1);
  22758. }
  22759. static void
  22760. wlc_phy_papd_cal_setup_nphy(struct brcms_phy *pi,
  22761. struct nphy_papd_restore_state *state, u8 core)
  22762. {
  22763. s32 tone_freq;
  22764. u8 off_core;
  22765. u16 mixgain = 0;
  22766. off_core = core ^ 0x1;
  22767. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22768. if (NREV_IS(pi->pubpi.phy_rev, 7)
  22769. || NREV_GE(pi->pubpi.phy_rev, 8))
  22770. wlc_phy_rfctrl_override_nphy_rev7(
  22771. pi, (0x1 << 7),
  22772. wlc_phy_read_lpf_bw_ctl_nphy
  22773. (pi,
  22774. 0), 0, 0,
  22775. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22776. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22777. if (pi->pubpi.radiorev == 5)
  22778. mixgain = (core == 0) ? 0x20 : 0x00;
  22779. else if ((pi->pubpi.radiorev == 7)
  22780. || (pi->pubpi.radiorev == 8))
  22781. mixgain = 0x00;
  22782. else if ((pi->pubpi.radiorev <= 4)
  22783. || (pi->pubpi.radiorev == 6))
  22784. mixgain = 0x00;
  22785. } else {
  22786. if ((pi->pubpi.radiorev == 4) ||
  22787. (pi->pubpi.radiorev == 6))
  22788. mixgain = 0x50;
  22789. else if ((pi->pubpi.radiorev == 3)
  22790. || (pi->pubpi.radiorev == 7)
  22791. || (pi->pubpi.radiorev == 8))
  22792. mixgain = 0x0;
  22793. }
  22794. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11),
  22795. mixgain, (1 << core), 0,
  22796. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22797. wlc_phy_rfctrl_override_1tomany_nphy(
  22798. pi,
  22799. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22800. 1, (1 << core), 0);
  22801. wlc_phy_rfctrl_override_1tomany_nphy(
  22802. pi,
  22803. NPHY_REV7_RfctrlOverride_cmd_tx_pu,
  22804. 0, (1 << off_core), 0);
  22805. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  22806. 0, 0x3, 0,
  22807. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22808. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1,
  22809. (1 << core), 0,
  22810. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22811. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0,
  22812. (1 << core), 0,
  22813. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22814. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1,
  22815. (1 << core), 0,
  22816. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  22817. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0,
  22818. (1 << core), 0,
  22819. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22820. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1,
  22821. (1 << core), 0,
  22822. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22823. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0,
  22824. (1 << core), 0,
  22825. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22826. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1,
  22827. (1 << core), 0,
  22828. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22829. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5),
  22830. 0, (1 << core), 0,
  22831. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22832. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0,
  22833. (1 << core), 0,
  22834. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  22835. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22836. 0xa6 : 0xa7);
  22837. state->afeoverride[core] =
  22838. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22839. state->afectrl[off_core] =
  22840. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa7 : 0xa6);
  22841. state->afeoverride[off_core] =
  22842. read_phy_reg(pi, (core == PHY_CORE_0) ? 0xa5 : 0x8f);
  22843. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22844. (0x1 << 2), 0);
  22845. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22846. 0xa5), (0x1 << 2), (0x1 << 2));
  22847. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa7 : 0xa6),
  22848. (0x1 << 2), (0x1 << 2));
  22849. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa5 :
  22850. 0x8f), (0x1 << 2), (0x1 << 2));
  22851. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22852. state->pwrup[core] =
  22853. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22854. TXRXCOUPLE_2G_PWRUP);
  22855. state->atten[core] =
  22856. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22857. TXRXCOUPLE_2G_ATTEN);
  22858. state->pwrup[off_core] =
  22859. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22860. TXRXCOUPLE_2G_PWRUP);
  22861. state->atten[off_core] =
  22862. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22863. TXRXCOUPLE_2G_ATTEN);
  22864. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22865. TXRXCOUPLE_2G_PWRUP, 0xc);
  22866. if ((pi->pubpi.radiorev == 3) ||
  22867. (pi->pubpi.radiorev == 4) ||
  22868. (pi->pubpi.radiorev == 6))
  22869. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22870. TXRXCOUPLE_2G_ATTEN, 0xf0);
  22871. else if (pi->pubpi.radiorev == 5)
  22872. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22873. TXRXCOUPLE_2G_ATTEN,
  22874. (core == 0) ? 0xf7 : 0xf2);
  22875. else if ((pi->pubpi.radiorev == 7)
  22876. || (pi->pubpi.radiorev == 8))
  22877. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22878. TXRXCOUPLE_2G_ATTEN, 0xf0);
  22879. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22880. TXRXCOUPLE_2G_PWRUP, 0x0);
  22881. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22882. TXRXCOUPLE_2G_ATTEN, 0xff);
  22883. } else {
  22884. state->pwrup[core] =
  22885. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22886. TXRXCOUPLE_5G_PWRUP);
  22887. state->atten[core] =
  22888. READ_RADIO_REG3(pi, RADIO_2057, TX, core,
  22889. TXRXCOUPLE_5G_ATTEN);
  22890. state->pwrup[off_core] =
  22891. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22892. TXRXCOUPLE_5G_PWRUP);
  22893. state->atten[off_core] =
  22894. READ_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22895. TXRXCOUPLE_5G_ATTEN);
  22896. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22897. TXRXCOUPLE_5G_PWRUP, 0xc);
  22898. if ((pi->pubpi.radiorev == 7)
  22899. || (pi->pubpi.radiorev == 8))
  22900. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22901. TXRXCOUPLE_5G_ATTEN, 0xf4);
  22902. else
  22903. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22904. TXRXCOUPLE_5G_ATTEN, 0xf0);
  22905. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22906. TXRXCOUPLE_5G_PWRUP, 0x0);
  22907. WRITE_RADIO_REG3(pi, RADIO_2057, TX, off_core,
  22908. TXRXCOUPLE_5G_ATTEN, 0xff);
  22909. }
  22910. tone_freq = 4000;
  22911. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  22912. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  22913. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  22914. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  22915. 0x2a4, (0x1 << 13), (1) << 13);
  22916. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  22917. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_OFF) << 0);
  22918. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x2a3 :
  22919. 0x2a4, (0x1 << 13), (0) << 13);
  22920. } else {
  22921. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 0);
  22922. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0, 0);
  22923. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 0);
  22924. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 1, 0x3, 0);
  22925. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 1, 0x3, 0);
  22926. state->afectrl[core] = read_phy_reg(pi, (core == PHY_CORE_0) ?
  22927. 0xa6 : 0xa7);
  22928. state->afeoverride[core] =
  22929. read_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f : 0xa5);
  22930. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0xa6 : 0xa7),
  22931. (0x1 << 0) | (0x1 << 1) | (0x1 << 2), 0);
  22932. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  22933. 0xa5),
  22934. (0x1 << 0) |
  22935. (0x1 << 1) |
  22936. (0x1 << 2), (0x1 << 0) | (0x1 << 1) | (0x1 << 2));
  22937. state->vga_master[core] =
  22938. READ_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER);
  22939. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER, 0x2b);
  22940. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22941. state->fbmix[core] =
  22942. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  22943. TXFBMIX_G);
  22944. state->intpa_master[core] =
  22945. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  22946. INTPAG_MASTER);
  22947. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_G,
  22948. 0x03);
  22949. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  22950. INTPAG_MASTER, 0x04);
  22951. } else {
  22952. state->fbmix[core] =
  22953. READ_RADIO_REG2(pi, RADIO_2056, RX, core,
  22954. TXFBMIX_A);
  22955. state->intpa_master[core] =
  22956. READ_RADIO_REG2(pi, RADIO_2056, TX, core,
  22957. INTPAA_MASTER);
  22958. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, TXFBMIX_A,
  22959. 0x03);
  22960. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  22961. INTPAA_MASTER, 0x04);
  22962. }
  22963. tone_freq = 4000;
  22964. wlc_phy_tx_tone_nphy(pi, tone_freq, 181, 0, 0, false);
  22965. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  22966. 0x29b, (0x1 << 0), (1) << 0);
  22967. mod_phy_reg(pi, (off_core == PHY_CORE_0) ? 0x297 :
  22968. 0x29b, (0x1 << 0), (0) << 0);
  22969. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  22970. }
  22971. }
  22972. static void
  22973. wlc_phy_papd_cal_cleanup_nphy(struct brcms_phy *pi,
  22974. struct nphy_papd_restore_state *state)
  22975. {
  22976. u8 core;
  22977. wlc_phy_stopplayback_nphy(pi);
  22978. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  22979. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  22980. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  22981. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22982. TXRXCOUPLE_2G_PWRUP, 0);
  22983. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22984. TXRXCOUPLE_2G_ATTEN,
  22985. state->atten[core]);
  22986. } else {
  22987. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22988. TXRXCOUPLE_5G_PWRUP, 0);
  22989. WRITE_RADIO_REG3(pi, RADIO_2057, TX, core,
  22990. TXRXCOUPLE_5G_ATTEN,
  22991. state->atten[core]);
  22992. }
  22993. }
  22994. if ((pi->pubpi.radiorev == 4) || (pi->pubpi.radiorev == 6))
  22995. wlc_phy_rfctrl_override_nphy_rev7(
  22996. pi, (0x1 << 2),
  22997. 1, 0x3, 0,
  22998. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  22999. else
  23000. wlc_phy_rfctrl_override_nphy_rev7(
  23001. pi, (0x1 << 2),
  23002. 0, 0x3, 1,
  23003. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23004. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1),
  23005. 0, 0x3, 1,
  23006. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23007. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23008. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23009. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 0, 0x3, 1,
  23010. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23011. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 1, 0x3, 1,
  23012. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23013. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 0, 0x3, 1,
  23014. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23015. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0x3, 1,
  23016. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23017. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 12), 0, 0x3, 1,
  23018. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23019. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 2), 1, 0x3, 1,
  23020. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23021. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 0, 0x3, 1,
  23022. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23023. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0x3, 1,
  23024. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  23025. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 8), 0, 0x3, 1,
  23026. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23027. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 1, 0x3, 1,
  23028. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23029. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 0, 0x3, 1,
  23030. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23031. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3), 1, 0x3, 1,
  23032. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23033. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0x3, 1,
  23034. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23035. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 4), 0, 0x3, 1,
  23036. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23037. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23038. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23039. 0xa6 : 0xa7, state->afectrl[core]);
  23040. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23041. 0xa5, state->afeoverride[core]);
  23042. }
  23043. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23044. (state->mm & 0xff));
  23045. if (NREV_IS(pi->pubpi.phy_rev, 7)
  23046. || NREV_GE(pi->pubpi.phy_rev, 8))
  23047. wlc_phy_rfctrl_override_nphy_rev7(
  23048. pi, (0x1 << 7), 0, 0,
  23049. 1,
  23050. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  23051. } else {
  23052. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  23053. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 13), 0, 0x3, 1);
  23054. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 0), 0, 0x3, 1);
  23055. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 2), 0, 0x3, 1);
  23056. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 1), 0, 0x3, 1);
  23057. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  23058. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core, VGA_MASTER,
  23059. state->vga_master[core]);
  23060. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23061. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23062. TXFBMIX_G, state->fbmix[core]);
  23063. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23064. INTPAG_MASTER,
  23065. state->intpa_master[core]);
  23066. } else {
  23067. WRITE_RADIO_REG2(pi, RADIO_2056, RX, core,
  23068. TXFBMIX_A, state->fbmix[core]);
  23069. WRITE_RADIO_REG2(pi, RADIO_2056, TX, core,
  23070. INTPAA_MASTER,
  23071. state->intpa_master[core]);
  23072. }
  23073. write_phy_reg(pi, (core == PHY_CORE_0) ?
  23074. 0xa6 : 0xa7, state->afectrl[core]);
  23075. write_phy_reg(pi, (core == PHY_CORE_0) ? 0x8f :
  23076. 0xa5, state->afeoverride[core]);
  23077. }
  23078. wlc_phy_ipa_set_bbmult_nphy(pi, (state->mm >> 8) & 0xff,
  23079. (state->mm & 0xff));
  23080. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 1);
  23081. }
  23082. }
  23083. static void
  23084. wlc_phy_a1_nphy(struct brcms_phy *pi, u8 core, u32 winsz, u32 start,
  23085. u32 end)
  23086. {
  23087. u32 *buf, *src, *dst, sz;
  23088. sz = end - start + 1;
  23089. buf = kmalloc(2 * sizeof(u32) * NPHY_PAPD_EPS_TBL_SIZE, GFP_ATOMIC);
  23090. if (NULL == buf)
  23091. return;
  23092. src = buf;
  23093. dst = buf + NPHY_PAPD_EPS_TBL_SIZE;
  23094. wlc_phy_table_read_nphy(pi,
  23095. (core ==
  23096. PHY_CORE_0 ? NPHY_TBL_ID_EPSILONTBL0 :
  23097. NPHY_TBL_ID_EPSILONTBL1),
  23098. NPHY_PAPD_EPS_TBL_SIZE, 0, 32, src);
  23099. do {
  23100. u32 phy_a1, phy_a2;
  23101. s32 phy_a3, phy_a4, phy_a5, phy_a6, phy_a7;
  23102. phy_a1 = end - min(end, (winsz >> 1));
  23103. phy_a2 = min_t(u32, NPHY_PAPD_EPS_TBL_SIZE - 1,
  23104. end + (winsz >> 1));
  23105. phy_a3 = phy_a2 - phy_a1 + 1;
  23106. phy_a6 = 0;
  23107. phy_a7 = 0;
  23108. do {
  23109. wlc_phy_papd_decode_epsilon(src[phy_a2], &phy_a4,
  23110. &phy_a5);
  23111. phy_a6 += phy_a4;
  23112. phy_a7 += phy_a5;
  23113. } while (phy_a2-- != phy_a1);
  23114. phy_a6 /= phy_a3;
  23115. phy_a7 /= phy_a3;
  23116. dst[end] = ((u32) phy_a7 << 13) | ((u32) phy_a6 & 0x1fff);
  23117. } while (end-- != start);
  23118. wlc_phy_table_write_nphy(pi,
  23119. (core ==
  23120. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0 :
  23121. NPHY_TBL_ID_EPSILONTBL1, sz, start, 32, dst);
  23122. kfree(buf);
  23123. }
  23124. static void
  23125. wlc_phy_a2_nphy(struct brcms_phy *pi, struct nphy_ipa_txcalgains *txgains,
  23126. enum phy_cal_mode cal_mode, u8 core)
  23127. {
  23128. u16 phy_a1, phy_a2, phy_a3;
  23129. u16 phy_a4, phy_a5;
  23130. bool phy_a6;
  23131. u8 phy_a7, m[2];
  23132. u32 phy_a8 = 0;
  23133. struct nphy_txgains phy_a9;
  23134. if (NREV_LT(pi->pubpi.phy_rev, 3))
  23135. return;
  23136. phy_a7 = (core == PHY_CORE_0) ? 1 : 0;
  23137. phy_a6 = ((cal_mode == CAL_GCTRL)
  23138. || (cal_mode == CAL_SOFT)) ? true : false;
  23139. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23140. phy_a9 = wlc_phy_get_tx_gain_nphy(pi);
  23141. if (CHSPEC_IS2G(pi->radio_chanspec))
  23142. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23143. (phy_a9.txgm[core] << 12) |
  23144. (phy_a9.pga[core] << 8) |
  23145. (txgains->gains.pad[core] << 3) |
  23146. (phy_a9.ipa[core]));
  23147. else
  23148. phy_a5 = ((phy_a9.txlpf[core] << 15) |
  23149. (phy_a9.txgm[core] << 12) |
  23150. (txgains->gains.pga[core] << 8) |
  23151. (phy_a9.pad[core] << 3) | (phy_a9.ipa[core]));
  23152. wlc_phy_rfctrl_override_1tomany_nphy(
  23153. pi,
  23154. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23155. phy_a5, (1 << core), 0);
  23156. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23157. if ((pi->pubpi.radiorev <= 4)
  23158. || (pi->pubpi.radiorev == 6))
  23159. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23160. 60 : 79;
  23161. else
  23162. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ?
  23163. 45 : 64;
  23164. } else {
  23165. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23166. }
  23167. m[phy_a7] = 0;
  23168. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23169. phy_a2 = 63;
  23170. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23171. if ((pi->pubpi.radiorev == 4)
  23172. || (pi->pubpi.radiorev == 6)) {
  23173. phy_a1 = 30;
  23174. phy_a3 = 30;
  23175. } else {
  23176. phy_a1 = 25;
  23177. phy_a3 = 25;
  23178. }
  23179. } else {
  23180. if ((pi->pubpi.radiorev == 5)
  23181. || (pi->pubpi.radiorev == 7)
  23182. || (pi->pubpi.radiorev == 8)) {
  23183. phy_a1 = 25;
  23184. phy_a3 = 25;
  23185. } else {
  23186. phy_a1 = 35;
  23187. phy_a3 = 35;
  23188. }
  23189. }
  23190. if (cal_mode == CAL_GCTRL) {
  23191. if ((pi->pubpi.radiorev == 5)
  23192. && (CHSPEC_IS2G(pi->radio_chanspec)))
  23193. phy_a1 = 55;
  23194. else if (((pi->pubpi.radiorev == 7) &&
  23195. (CHSPEC_IS2G(pi->radio_chanspec))) ||
  23196. ((pi->pubpi.radiorev == 8) &&
  23197. (CHSPEC_IS2G(pi->radio_chanspec))))
  23198. phy_a1 = 60;
  23199. else
  23200. phy_a1 = 63;
  23201. } else if ((cal_mode != CAL_FULL) && (cal_mode != CAL_SOFT)) {
  23202. phy_a1 = 35;
  23203. phy_a3 = 35;
  23204. }
  23205. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23206. 0x29b, (0x1 << 0), (1) << 0);
  23207. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23208. 0x29b, (0x1 << 0), (0) << 0);
  23209. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23210. 0x2a4, (0x1 << 13), (1) << 13);
  23211. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23212. 0x2a4, (0x1 << 13), (0) << 13);
  23213. write_phy_reg(pi, 0x2a1, 0x80);
  23214. write_phy_reg(pi, 0x2a2, 0x100);
  23215. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23216. 0x2a4, (0x7 << 4), (11) << 4);
  23217. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23218. 0x2a4, (0x7 << 8), (11) << 8);
  23219. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23220. 0x2a4, (0x7 << 0), (0x3) << 0);
  23221. write_phy_reg(pi, 0x2e5, 0x20);
  23222. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23223. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23224. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23225. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23226. 1, ((core == 0) ? 1 : 2), 0,
  23227. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23228. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23229. 0, ((core == 0) ? 2 : 1), 0,
  23230. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23231. write_phy_reg(pi, 0x2be, 1);
  23232. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23233. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  23234. 0, 0x3, 0,
  23235. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  23236. wlc_phy_table_write_nphy(pi,
  23237. (core ==
  23238. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23239. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23240. 32, &phy_a8);
  23241. if (cal_mode != CAL_GCTRL) {
  23242. if (CHSPEC_IS5G(pi->radio_chanspec))
  23243. wlc_phy_a1_nphy(pi, core, 5, 0, 35);
  23244. }
  23245. wlc_phy_rfctrl_override_1tomany_nphy(
  23246. pi,
  23247. NPHY_REV7_RfctrlOverride_cmd_txgain,
  23248. phy_a5, (1 << core), 1);
  23249. } else {
  23250. if (txgains) {
  23251. if (txgains->useindex) {
  23252. phy_a4 = 15 - ((txgains->index) >> 3);
  23253. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23254. if (NREV_GE(pi->pubpi.phy_rev, 6))
  23255. phy_a5 = 0x00f7 | (phy_a4 << 8);
  23256. else
  23257. if (NREV_IS(pi->pubpi.phy_rev, 5))
  23258. phy_a5 = 0x10f7 | (phy_a4 << 8);
  23259. else
  23260. phy_a5 = 0x50f7 | (phy_a4 << 8);
  23261. } else {
  23262. phy_a5 = 0x70f7 | (phy_a4 << 8);
  23263. }
  23264. wlc_phy_rfctrl_override_nphy(pi,
  23265. (0x1 << 13),
  23266. phy_a5,
  23267. (1 << core), 0);
  23268. } else {
  23269. wlc_phy_rfctrl_override_nphy(pi,
  23270. (0x1 << 13),
  23271. 0x5bf7,
  23272. (1 << core), 0);
  23273. }
  23274. }
  23275. if (CHSPEC_IS2G(pi->radio_chanspec))
  23276. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 45 : 64;
  23277. else
  23278. m[core] = (pi->bw == WL_CHANSPEC_BW_40) ? 75 : 107;
  23279. m[phy_a7] = 0;
  23280. wlc_phy_ipa_set_bbmult_nphy(pi, m[0], m[1]);
  23281. phy_a2 = 63;
  23282. if (cal_mode == CAL_FULL) {
  23283. phy_a1 = 25;
  23284. phy_a3 = 25;
  23285. } else if (cal_mode == CAL_SOFT) {
  23286. phy_a1 = 25;
  23287. phy_a3 = 25;
  23288. } else if (cal_mode == CAL_GCTRL) {
  23289. phy_a1 = 63;
  23290. phy_a3 = 25;
  23291. } else {
  23292. phy_a1 = 25;
  23293. phy_a3 = 25;
  23294. }
  23295. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  23296. 0x29b, (0x1 << 0), (1) << 0);
  23297. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x297 :
  23298. 0x29b, (0x1 << 0), (0) << 0);
  23299. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23300. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23301. 0x2a4, (0x1 << 13), (1) << 13);
  23302. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23303. 0x2a4, (0x1 << 13), (0) << 13);
  23304. write_phy_reg(pi, 0x2a1, 0x20);
  23305. write_phy_reg(pi, 0x2a2, 0x60);
  23306. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23307. 0x2a4, (0xf << 4), (9) << 4);
  23308. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23309. 0x2a4, (0xf << 8), (9) << 8);
  23310. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23311. 0x2a4, (0xf << 0), (0x2) << 0);
  23312. write_phy_reg(pi, 0x2e5, 0x20);
  23313. } else {
  23314. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23315. 0x2a4, (0x1 << 11), (1) << 11);
  23316. mod_phy_reg(pi, (phy_a7 == PHY_CORE_0) ? 0x2a3 :
  23317. 0x2a4, (0x1 << 11), (0) << 11);
  23318. write_phy_reg(pi, 0x2a1, 0x80);
  23319. write_phy_reg(pi, 0x2a2, 0x600);
  23320. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23321. 0x2a4, (0x7 << 4), (0) << 4);
  23322. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23323. 0x2a4, (0x7 << 8), (0) << 8);
  23324. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x2a3 :
  23325. 0x2a4, (0x7 << 0), (0x3) << 0);
  23326. mod_phy_reg(pi, 0x2a0, (0x3f << 8), (0x20) << 8);
  23327. }
  23328. mod_phy_reg(pi, 0x2a0, (0x3f << 0), (phy_a3) << 0);
  23329. mod_phy_reg(pi, 0x29f, (0x3f << 0), (phy_a1) << 0);
  23330. mod_phy_reg(pi, 0x29f, (0x3f << 8), (phy_a2) << 8);
  23331. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 1, 0x3, 0);
  23332. write_phy_reg(pi, 0x2be, 1);
  23333. SPINWAIT(read_phy_reg(pi, 0x2be), 10 * 1000 * 1000);
  23334. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 0x3, 0);
  23335. wlc_phy_table_write_nphy(pi,
  23336. (core ==
  23337. PHY_CORE_0) ? NPHY_TBL_ID_EPSILONTBL0
  23338. : NPHY_TBL_ID_EPSILONTBL1, 1, phy_a3,
  23339. 32, &phy_a8);
  23340. if (cal_mode != CAL_GCTRL)
  23341. wlc_phy_a1_nphy(pi, core, 5, 0, 40);
  23342. }
  23343. }
  23344. static u8 wlc_phy_a3_nphy(struct brcms_phy *pi, u8 start_gain, u8 core)
  23345. {
  23346. int phy_a1;
  23347. int phy_a2;
  23348. bool phy_a3;
  23349. struct nphy_ipa_txcalgains phy_a4;
  23350. bool phy_a5 = false;
  23351. bool phy_a6 = true;
  23352. s32 phy_a7, phy_a8;
  23353. u32 phy_a9;
  23354. int phy_a10;
  23355. bool phy_a11 = false;
  23356. int phy_a12;
  23357. u8 phy_a13 = 0;
  23358. u8 phy_a14;
  23359. u8 *phy_a15 = NULL;
  23360. phy_a4.useindex = true;
  23361. phy_a12 = start_gain;
  23362. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23363. phy_a2 = 20;
  23364. phy_a1 = 1;
  23365. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23366. if (pi->pubpi.radiorev == 5) {
  23367. phy_a15 = pad_gain_codes_used_2057rev5;
  23368. phy_a13 =
  23369. ARRAY_SIZE(pad_gain_codes_used_2057rev5) - 1;
  23370. } else if ((pi->pubpi.radiorev == 7)
  23371. || (pi->pubpi.radiorev == 8)) {
  23372. phy_a15 = pad_gain_codes_used_2057rev7;
  23373. phy_a13 =
  23374. ARRAY_SIZE(pad_gain_codes_used_2057rev7) - 1;
  23375. } else {
  23376. phy_a15 = pad_all_gain_codes_2057;
  23377. phy_a13 = ARRAY_SIZE(pad_all_gain_codes_2057) -
  23378. 1;
  23379. }
  23380. } else {
  23381. phy_a15 = pga_all_gain_codes_2057;
  23382. phy_a13 = ARRAY_SIZE(pga_all_gain_codes_2057) - 1;
  23383. }
  23384. phy_a14 = 0;
  23385. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23386. if (CHSPEC_IS2G(pi->radio_chanspec))
  23387. phy_a4.gains.pad[core] =
  23388. (u16) phy_a15[phy_a12];
  23389. else
  23390. phy_a4.gains.pga[core] =
  23391. (u16) phy_a15[phy_a12];
  23392. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23393. wlc_phy_table_read_nphy(pi,
  23394. (core ==
  23395. PHY_CORE_0 ?
  23396. NPHY_TBL_ID_EPSILONTBL0 :
  23397. NPHY_TBL_ID_EPSILONTBL1), 1,
  23398. 63, 32, &phy_a9);
  23399. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23400. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23401. (phy_a8 == 4095) || (phy_a8 == -4096));
  23402. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23403. if (!phy_a3)
  23404. phy_a12 -= (u8) phy_a1;
  23405. phy_a11 = true;
  23406. break;
  23407. }
  23408. if (phy_a3)
  23409. phy_a12 += (u8) phy_a1;
  23410. else
  23411. phy_a12 -= (u8) phy_a1;
  23412. if ((phy_a12 < phy_a14) || (phy_a12 > phy_a13)) {
  23413. if (phy_a12 < phy_a14)
  23414. phy_a12 = phy_a14;
  23415. else
  23416. phy_a12 = phy_a13;
  23417. phy_a11 = true;
  23418. break;
  23419. }
  23420. phy_a6 = false;
  23421. phy_a5 = phy_a3;
  23422. }
  23423. } else {
  23424. phy_a2 = 10;
  23425. phy_a1 = 8;
  23426. for (phy_a10 = 0; phy_a10 < phy_a2; phy_a10++) {
  23427. phy_a4.index = (u8) phy_a12;
  23428. wlc_phy_a2_nphy(pi, &phy_a4, CAL_GCTRL, core);
  23429. wlc_phy_table_read_nphy(pi,
  23430. (core ==
  23431. PHY_CORE_0 ?
  23432. NPHY_TBL_ID_EPSILONTBL0 :
  23433. NPHY_TBL_ID_EPSILONTBL1), 1,
  23434. 63, 32, &phy_a9);
  23435. wlc_phy_papd_decode_epsilon(phy_a9, &phy_a7, &phy_a8);
  23436. phy_a3 = ((phy_a7 == 4095) || (phy_a7 == -4096) ||
  23437. (phy_a8 == 4095) || (phy_a8 == -4096));
  23438. if (!phy_a6 && (phy_a3 != phy_a5)) {
  23439. if (!phy_a3)
  23440. phy_a12 -= (u8) phy_a1;
  23441. phy_a11 = true;
  23442. break;
  23443. }
  23444. if (phy_a3)
  23445. phy_a12 += (u8) phy_a1;
  23446. else
  23447. phy_a12 -= (u8) phy_a1;
  23448. if ((phy_a12 < 0) || (phy_a12 > 127)) {
  23449. if (phy_a12 < 0)
  23450. phy_a12 = 0;
  23451. else
  23452. phy_a12 = 127;
  23453. phy_a11 = true;
  23454. break;
  23455. }
  23456. phy_a6 = false;
  23457. phy_a5 = phy_a3;
  23458. }
  23459. }
  23460. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23461. return (u8) phy_a15[phy_a12];
  23462. else
  23463. return (u8) phy_a12;
  23464. }
  23465. static void wlc_phy_a4(struct brcms_phy *pi, bool full_cal)
  23466. {
  23467. struct nphy_ipa_txcalgains phy_b1[2];
  23468. struct nphy_papd_restore_state phy_b2;
  23469. bool phy_b3;
  23470. u8 phy_b4;
  23471. u8 phy_b5;
  23472. s16 phy_b6, phy_b7, phy_b8;
  23473. u16 phy_b9;
  23474. s16 phy_b10, phy_b11, phy_b12;
  23475. phy_b11 = 0;
  23476. phy_b12 = 0;
  23477. phy_b7 = 0;
  23478. phy_b8 = 0;
  23479. phy_b6 = 0;
  23480. if (pi->nphy_papd_skip == 1)
  23481. return;
  23482. phy_b3 = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) &
  23483. MCTL_EN_MAC));
  23484. if (!phy_b3)
  23485. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23486. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23487. pi->nphy_force_papd_cal = false;
  23488. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++)
  23489. pi->nphy_papd_tx_gain_at_last_cal[phy_b5] =
  23490. wlc_phy_txpwr_idx_cur_get_nphy(pi, phy_b5);
  23491. pi->nphy_papd_last_cal = pi->sh->now;
  23492. pi->nphy_papd_recal_counter++;
  23493. phy_b4 = pi->nphy_txpwrctrl;
  23494. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23495. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL0, 64, 0, 32,
  23496. nphy_papd_scaltbl);
  23497. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_SCALARTBL1, 64, 0, 32,
  23498. nphy_papd_scaltbl);
  23499. phy_b9 = read_phy_reg(pi, 0x01);
  23500. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  23501. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23502. s32 i, val = 0;
  23503. for (i = 0; i < 64; i++)
  23504. wlc_phy_table_write_nphy(pi,
  23505. ((phy_b5 ==
  23506. PHY_CORE_0) ?
  23507. NPHY_TBL_ID_EPSILONTBL0 :
  23508. NPHY_TBL_ID_EPSILONTBL1), 1,
  23509. i, 32, &val);
  23510. }
  23511. wlc_phy_ipa_restore_tx_digi_filts_nphy(pi);
  23512. phy_b2.mm = wlc_phy_ipa_get_bbmult_nphy(pi);
  23513. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23514. wlc_phy_papd_cal_setup_nphy(pi, &phy_b2, phy_b5);
  23515. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23516. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23517. if ((pi->pubpi.radiorev == 3)
  23518. || (pi->pubpi.radiorev == 4)
  23519. || (pi->pubpi.radiorev == 6)) {
  23520. pi->nphy_papd_cal_gain_index[phy_b5] =
  23521. 23;
  23522. } else if (pi->pubpi.radiorev == 5) {
  23523. pi->nphy_papd_cal_gain_index[phy_b5] =
  23524. 0;
  23525. pi->nphy_papd_cal_gain_index[phy_b5] =
  23526. wlc_phy_a3_nphy(
  23527. pi,
  23528. pi->
  23529. nphy_papd_cal_gain_index
  23530. [phy_b5],
  23531. phy_b5);
  23532. } else if ((pi->pubpi.radiorev == 7)
  23533. || (pi->pubpi.radiorev == 8)) {
  23534. pi->nphy_papd_cal_gain_index[phy_b5] =
  23535. 0;
  23536. pi->nphy_papd_cal_gain_index[phy_b5] =
  23537. wlc_phy_a3_nphy(
  23538. pi,
  23539. pi->
  23540. nphy_papd_cal_gain_index
  23541. [phy_b5],
  23542. phy_b5);
  23543. }
  23544. phy_b1[phy_b5].gains.pad[phy_b5] =
  23545. pi->nphy_papd_cal_gain_index[phy_b5];
  23546. } else {
  23547. pi->nphy_papd_cal_gain_index[phy_b5] = 0;
  23548. pi->nphy_papd_cal_gain_index[phy_b5] =
  23549. wlc_phy_a3_nphy(
  23550. pi,
  23551. pi->
  23552. nphy_papd_cal_gain_index
  23553. [phy_b5], phy_b5);
  23554. phy_b1[phy_b5].gains.pga[phy_b5] =
  23555. pi->nphy_papd_cal_gain_index[phy_b5];
  23556. }
  23557. } else {
  23558. phy_b1[phy_b5].useindex = true;
  23559. phy_b1[phy_b5].index = 16;
  23560. phy_b1[phy_b5].index =
  23561. wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index,
  23562. phy_b5);
  23563. pi->nphy_papd_cal_gain_index[phy_b5] =
  23564. 15 - ((phy_b1[phy_b5].index) >> 3);
  23565. }
  23566. switch (pi->nphy_papd_cal_type) {
  23567. case 0:
  23568. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_FULL, phy_b5);
  23569. break;
  23570. case 1:
  23571. wlc_phy_a2_nphy(pi, &phy_b1[phy_b5], CAL_SOFT, phy_b5);
  23572. break;
  23573. }
  23574. if (NREV_GE(pi->pubpi.phy_rev, 7))
  23575. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23576. }
  23577. if (NREV_LT(pi->pubpi.phy_rev, 7))
  23578. wlc_phy_papd_cal_cleanup_nphy(pi, &phy_b2);
  23579. for (phy_b5 = 0; phy_b5 < pi->pubpi.phy_corenum; phy_b5++) {
  23580. int eps_offset = 0;
  23581. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  23582. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23583. if (pi->pubpi.radiorev == 3)
  23584. eps_offset = -2;
  23585. else if (pi->pubpi.radiorev == 5)
  23586. eps_offset = 3;
  23587. else
  23588. eps_offset = -1;
  23589. } else {
  23590. eps_offset = 2;
  23591. }
  23592. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23593. phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5];
  23594. phy_b10 = 0;
  23595. if ((pi->pubpi.radiorev == 3) ||
  23596. (pi->pubpi.radiorev == 4) ||
  23597. (pi->pubpi.radiorev == 6)) {
  23598. phy_b12 = -(
  23599. nphy_papd_padgain_dlt_2g_2057rev3n4
  23600. [phy_b8] + 1) / 2;
  23601. phy_b10 = -1;
  23602. } else if (pi->pubpi.radiorev == 5) {
  23603. phy_b12 = -(
  23604. nphy_papd_padgain_dlt_2g_2057rev5
  23605. [phy_b8] + 1) / 2;
  23606. } else if ((pi->pubpi.radiorev == 7) ||
  23607. (pi->pubpi.radiorev == 8)) {
  23608. phy_b12 = -(
  23609. nphy_papd_padgain_dlt_2g_2057rev7
  23610. [phy_b8] + 1) / 2;
  23611. }
  23612. } else {
  23613. phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5];
  23614. if ((pi->pubpi.radiorev == 3) ||
  23615. (pi->pubpi.radiorev == 4) ||
  23616. (pi->pubpi.radiorev == 6))
  23617. phy_b11 =
  23618. -(nphy_papd_pgagain_dlt_5g_2057
  23619. [phy_b7]
  23620. + 1) / 2;
  23621. else if ((pi->pubpi.radiorev == 7)
  23622. || (pi->pubpi.radiorev == 8))
  23623. phy_b11 = -(
  23624. nphy_papd_pgagain_dlt_5g_2057rev7
  23625. [phy_b7] + 1) / 2;
  23626. phy_b10 = -9;
  23627. }
  23628. if (CHSPEC_IS2G(pi->radio_chanspec))
  23629. phy_b6 =
  23630. -60 + 27 + eps_offset + phy_b12 +
  23631. phy_b10;
  23632. else
  23633. phy_b6 =
  23634. -60 + 27 + eps_offset + phy_b11 +
  23635. phy_b10;
  23636. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23637. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23638. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23639. } else {
  23640. if (NREV_LT(pi->pubpi.phy_rev, 5))
  23641. eps_offset = 4;
  23642. else
  23643. eps_offset = 2;
  23644. phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3);
  23645. if (CHSPEC_IS2G(pi->radio_chanspec)) {
  23646. phy_b11 =
  23647. -(nphy_papd_pga_gain_delta_ipa_2g[
  23648. phy_b7] +
  23649. 1) / 2;
  23650. phy_b10 = 0;
  23651. } else {
  23652. phy_b11 =
  23653. -(nphy_papd_pga_gain_delta_ipa_5g[
  23654. phy_b7] +
  23655. 1) / 2;
  23656. phy_b10 = -9;
  23657. }
  23658. phy_b6 = -60 + 27 + eps_offset + phy_b11 + phy_b10;
  23659. mod_phy_reg(pi, (phy_b5 == PHY_CORE_0) ? 0x298 :
  23660. 0x29c, (0x1ff << 7), (phy_b6) << 7);
  23661. pi->nphy_papd_epsilon_offset[phy_b5] = phy_b6;
  23662. }
  23663. }
  23664. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  23665. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23666. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  23667. 0x29b, (0x1 << 0), (NPHY_PAPD_COMP_ON) << 0);
  23668. if (NREV_GE(pi->pubpi.phy_rev, 6)) {
  23669. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23670. 0x2a4, (0x1 << 13), (0) << 13);
  23671. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23672. 0x2a4, (0x1 << 13), (0) << 13);
  23673. } else {
  23674. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x2a3 :
  23675. 0x2a4, (0x1 << 11), (0) << 11);
  23676. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x2a3 :
  23677. 0x2a4, (0x1 << 11), (0) << 11);
  23678. }
  23679. pi->nphy_papdcomp = NPHY_PAPD_COMP_ON;
  23680. write_phy_reg(pi, 0x01, phy_b9);
  23681. wlc_phy_ipa_set_tx_digi_filts_nphy(pi);
  23682. wlc_phy_txpwrctrl_enable_nphy(pi, phy_b4);
  23683. if (phy_b4 == PHY_TPC_HW_OFF) {
  23684. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23685. (s8) (pi->nphy_txpwrindex[0].
  23686. index_internal), false);
  23687. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23688. (s8) (pi->nphy_txpwrindex[1].
  23689. index_internal), false);
  23690. }
  23691. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  23692. if (!phy_b3)
  23693. wlapi_enable_mac(pi->sh->physhim);
  23694. }
  23695. void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype)
  23696. {
  23697. struct nphy_txgains target_gain;
  23698. u8 tx_pwr_ctrl_state;
  23699. bool fullcal = true;
  23700. bool restore_tx_gain = false;
  23701. bool mphase;
  23702. if (PHY_MUTED(pi))
  23703. return;
  23704. if (caltype == PHY_PERICAL_AUTO)
  23705. fullcal = (pi->radio_chanspec != pi->nphy_txiqlocal_chanspec);
  23706. else if (caltype == PHY_PERICAL_PARTIAL)
  23707. fullcal = false;
  23708. if (pi->cal_type_override != PHY_PERICAL_AUTO)
  23709. fullcal =
  23710. (pi->cal_type_override ==
  23711. PHY_PERICAL_FULL) ? true : false;
  23712. if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) {
  23713. if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec)
  23714. wlc_phy_cal_perical_mphase_restart(pi);
  23715. }
  23716. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL))
  23717. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000);
  23718. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23719. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23720. if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_IDLE) ||
  23721. (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_INIT)) {
  23722. pi->nphy_cal_orig_pwr_idx[0] =
  23723. (u8) ((read_phy_reg(pi, 0x1ed) >> 8) & 0x7f);
  23724. pi->nphy_cal_orig_pwr_idx[1] =
  23725. (u8) ((read_phy_reg(pi, 0x1ee) >> 8) & 0x7f);
  23726. if (pi->nphy_txpwrctrl != PHY_TPC_HW_OFF) {
  23727. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2,
  23728. 0x110, 16,
  23729. pi->nphy_cal_orig_tx_gain);
  23730. } else {
  23731. pi->nphy_cal_orig_tx_gain[0] = 0;
  23732. pi->nphy_cal_orig_tx_gain[1] = 0;
  23733. }
  23734. }
  23735. target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23736. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  23737. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  23738. if (pi->antsel_type == ANTSEL_2x3)
  23739. wlc_phy_antsel_init((struct brcms_phy_pub *) pi, true);
  23740. mphase = (pi->mphase_cal_phase_id != MPHASE_CAL_STATE_IDLE);
  23741. if (!mphase) {
  23742. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23743. wlc_phy_precal_txgain_nphy(pi);
  23744. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23745. restore_tx_gain = true;
  23746. target_gain = pi->nphy_cal_target_gain;
  23747. }
  23748. if (0 ==
  23749. wlc_phy_cal_txiqlo_nphy(pi, target_gain, fullcal,
  23750. mphase)) {
  23751. if (PHY_IPA(pi))
  23752. wlc_phy_a4(pi, true);
  23753. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23754. wlapi_enable_mac(pi->sh->physhim);
  23755. wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION,
  23756. 10000);
  23757. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  23758. wlc_phyreg_enter((struct brcms_phy_pub *) pi);
  23759. if (0 == wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23760. (pi->first_cal_after_assoc ||
  23761. (pi->cal_type_override ==
  23762. PHY_PERICAL_FULL)) ? 2 : 0, false)) {
  23763. wlc_phy_savecal_nphy(pi);
  23764. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23765. pi->nphy_perical_last = pi->sh->now;
  23766. }
  23767. }
  23768. if (caltype != PHY_PERICAL_AUTO)
  23769. wlc_phy_rssi_cal_nphy(pi);
  23770. if (pi->first_cal_after_assoc
  23771. || (pi->cal_type_override == PHY_PERICAL_FULL)) {
  23772. pi->first_cal_after_assoc = false;
  23773. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23774. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23775. }
  23776. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23777. wlc_phy_radio205x_vcocal_nphy(pi);
  23778. } else {
  23779. switch (pi->mphase_cal_phase_id) {
  23780. case MPHASE_CAL_STATE_INIT:
  23781. pi->nphy_perical_last = pi->sh->now;
  23782. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  23783. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23784. wlc_phy_precal_txgain_nphy(pi);
  23785. pi->nphy_cal_target_gain = wlc_phy_get_tx_gain_nphy(pi);
  23786. pi->mphase_cal_phase_id++;
  23787. break;
  23788. case MPHASE_CAL_STATE_TXPHASE0:
  23789. case MPHASE_CAL_STATE_TXPHASE1:
  23790. case MPHASE_CAL_STATE_TXPHASE2:
  23791. case MPHASE_CAL_STATE_TXPHASE3:
  23792. case MPHASE_CAL_STATE_TXPHASE4:
  23793. case MPHASE_CAL_STATE_TXPHASE5:
  23794. if ((pi->radar_percal_mask & 0x10) != 0)
  23795. pi->nphy_rxcal_active = true;
  23796. if (wlc_phy_cal_txiqlo_nphy
  23797. (pi, pi->nphy_cal_target_gain, fullcal,
  23798. true) != 0) {
  23799. wlc_phy_cal_perical_mphase_reset(pi);
  23800. break;
  23801. }
  23802. if (NREV_LE(pi->pubpi.phy_rev, 2) &&
  23803. (pi->mphase_cal_phase_id ==
  23804. MPHASE_CAL_STATE_TXPHASE4))
  23805. pi->mphase_cal_phase_id += 2;
  23806. else
  23807. pi->mphase_cal_phase_id++;
  23808. break;
  23809. case MPHASE_CAL_STATE_PAPDCAL:
  23810. if ((pi->radar_percal_mask & 0x2) != 0)
  23811. pi->nphy_rxcal_active = true;
  23812. if (PHY_IPA(pi))
  23813. wlc_phy_a4(pi, true);
  23814. pi->mphase_cal_phase_id++;
  23815. break;
  23816. case MPHASE_CAL_STATE_RXCAL:
  23817. if ((pi->radar_percal_mask & 0x1) != 0)
  23818. pi->nphy_rxcal_active = true;
  23819. if (wlc_phy_cal_rxiq_nphy(pi, target_gain,
  23820. (pi->first_cal_after_assoc ||
  23821. (pi->cal_type_override ==
  23822. PHY_PERICAL_FULL)) ? 2 : 0,
  23823. false) == 0)
  23824. wlc_phy_savecal_nphy(pi);
  23825. pi->mphase_cal_phase_id++;
  23826. break;
  23827. case MPHASE_CAL_STATE_RSSICAL:
  23828. if ((pi->radar_percal_mask & 0x4) != 0)
  23829. pi->nphy_rxcal_active = true;
  23830. wlc_phy_txpwrctrl_coeff_setup_nphy(pi);
  23831. wlc_phy_rssi_cal_nphy(pi);
  23832. if (NREV_GE(pi->pubpi.phy_rev, 3))
  23833. wlc_phy_radio205x_vcocal_nphy(pi);
  23834. restore_tx_gain = true;
  23835. if (pi->first_cal_after_assoc)
  23836. pi->mphase_cal_phase_id++;
  23837. else
  23838. wlc_phy_cal_perical_mphase_reset(pi);
  23839. break;
  23840. case MPHASE_CAL_STATE_IDLETSSI:
  23841. if ((pi->radar_percal_mask & 0x8) != 0)
  23842. pi->nphy_rxcal_active = true;
  23843. if (pi->first_cal_after_assoc) {
  23844. pi->first_cal_after_assoc = false;
  23845. wlc_phy_txpwrctrl_idle_tssi_nphy(pi);
  23846. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  23847. }
  23848. wlc_phy_cal_perical_mphase_reset(pi);
  23849. break;
  23850. default:
  23851. wlc_phy_cal_perical_mphase_reset(pi);
  23852. break;
  23853. }
  23854. }
  23855. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  23856. if (restore_tx_gain) {
  23857. if (tx_pwr_ctrl_state != PHY_TPC_HW_OFF) {
  23858. wlc_phy_txpwr_index_nphy(pi, 1,
  23859. pi->
  23860. nphy_cal_orig_pwr_idx
  23861. [0], false);
  23862. wlc_phy_txpwr_index_nphy(pi, 2,
  23863. pi->
  23864. nphy_cal_orig_pwr_idx
  23865. [1], false);
  23866. pi->nphy_txpwrindex[0].index = -1;
  23867. pi->nphy_txpwrindex[1].index = -1;
  23868. } else {
  23869. wlc_phy_txpwr_index_nphy(pi, (1 << 0),
  23870. (s8) (pi->
  23871. nphy_txpwrindex
  23872. [0].
  23873. index_internal),
  23874. false);
  23875. wlc_phy_txpwr_index_nphy(pi, (1 << 1),
  23876. (s8) (pi->
  23877. nphy_txpwrindex
  23878. [1].
  23879. index_internal),
  23880. false);
  23881. }
  23882. }
  23883. }
  23884. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  23885. wlc_phyreg_exit((struct brcms_phy_pub *) pi);
  23886. wlapi_enable_mac(pi->sh->physhim);
  23887. }
  23888. int
  23889. wlc_phy_cal_txiqlo_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  23890. bool fullcal, bool mphase)
  23891. {
  23892. u16 val;
  23893. u16 tbl_buf[11];
  23894. u8 cal_cnt;
  23895. u16 cal_cmd;
  23896. u8 num_cals, max_cal_cmds;
  23897. u16 core_no, cal_type;
  23898. u16 diq_start = 0;
  23899. u8 phy_bw;
  23900. u16 max_val;
  23901. u16 tone_freq;
  23902. u16 gain_save[2];
  23903. u16 cal_gain[2];
  23904. struct nphy_iqcal_params cal_params[2];
  23905. u32 tbl_len;
  23906. void *tbl_ptr;
  23907. bool ladder_updated[2];
  23908. u8 mphase_cal_lastphase = 0;
  23909. int bcmerror = 0;
  23910. bool phyhang_avoid_state = false;
  23911. u16 tbl_tx_iqlo_cal_loft_ladder_20[] = {
  23912. 0x0300, 0x0500, 0x0700, 0x0900, 0x0d00, 0x1100, 0x1900, 0x1901,
  23913. 0x1902,
  23914. 0x1903, 0x1904, 0x1905, 0x1906, 0x1907, 0x2407, 0x3207, 0x4607,
  23915. 0x6407
  23916. };
  23917. u16 tbl_tx_iqlo_cal_iqimb_ladder_20[] = {
  23918. 0x0200, 0x0300, 0x0600, 0x0900, 0x0d00, 0x1100, 0x1900, 0x2400,
  23919. 0x3200,
  23920. 0x4600, 0x6400, 0x6401, 0x6402, 0x6403, 0x6404, 0x6405, 0x6406,
  23921. 0x6407
  23922. };
  23923. u16 tbl_tx_iqlo_cal_loft_ladder_40[] = {
  23924. 0x0200, 0x0300, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1201,
  23925. 0x1202,
  23926. 0x1203, 0x1204, 0x1205, 0x1206, 0x1207, 0x1907, 0x2307, 0x3207,
  23927. 0x4707
  23928. };
  23929. u16 tbl_tx_iqlo_cal_iqimb_ladder_40[] = {
  23930. 0x0100, 0x0200, 0x0400, 0x0700, 0x0900, 0x0c00, 0x1200, 0x1900,
  23931. 0x2300,
  23932. 0x3200, 0x4700, 0x4701, 0x4702, 0x4703, 0x4704, 0x4705, 0x4706,
  23933. 0x4707
  23934. };
  23935. u16 tbl_tx_iqlo_cal_startcoefs[] = {
  23936. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23937. 0x0000
  23938. };
  23939. u16 tbl_tx_iqlo_cal_cmds_fullcal[] = {
  23940. 0x8123, 0x8264, 0x8086, 0x8245, 0x8056,
  23941. 0x9123, 0x9264, 0x9086, 0x9245, 0x9056
  23942. };
  23943. u16 tbl_tx_iqlo_cal_cmds_recal[] = {
  23944. 0x8101, 0x8253, 0x8053, 0x8234, 0x8034,
  23945. 0x9101, 0x9253, 0x9053, 0x9234, 0x9034
  23946. };
  23947. u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[] = {
  23948. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23949. 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  23950. 0x0000
  23951. };
  23952. u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[] = {
  23953. 0x8434, 0x8334, 0x8084, 0x8267, 0x8056, 0x8234,
  23954. 0x9434, 0x9334, 0x9084, 0x9267, 0x9056, 0x9234
  23955. };
  23956. u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[] = {
  23957. 0x8423, 0x8323, 0x8073, 0x8256, 0x8045, 0x8223,
  23958. 0x9423, 0x9323, 0x9073, 0x9256, 0x9045, 0x9223
  23959. };
  23960. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  23961. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  23962. phyhang_avoid_state = pi->phyhang_avoid;
  23963. pi->phyhang_avoid = false;
  23964. }
  23965. if (CHSPEC_IS40(pi->radio_chanspec))
  23966. phy_bw = 40;
  23967. else
  23968. phy_bw = 20;
  23969. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  23970. for (core_no = 0; core_no <= 1; core_no++) {
  23971. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  23972. &cal_params[core_no]);
  23973. cal_gain[core_no] = cal_params[core_no].cal_gain;
  23974. }
  23975. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  23976. wlc_phy_txcal_radio_setup_nphy(pi);
  23977. wlc_phy_txcal_physetup_nphy(pi);
  23978. ladder_updated[0] = ladder_updated[1] = false;
  23979. if (!(NREV_GE(pi->pubpi.phy_rev, 6) ||
  23980. (NREV_IS(pi->pubpi.phy_rev, 5) && PHY_IPA(pi)
  23981. && (CHSPEC_IS2G(pi->radio_chanspec))))) {
  23982. if (phy_bw == 40) {
  23983. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_40;
  23984. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_40);
  23985. } else {
  23986. tbl_ptr = tbl_tx_iqlo_cal_loft_ladder_20;
  23987. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_loft_ladder_20);
  23988. }
  23989. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 0,
  23990. 16, tbl_ptr);
  23991. if (phy_bw == 40) {
  23992. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_40;
  23993. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_40);
  23994. } else {
  23995. tbl_ptr = tbl_tx_iqlo_cal_iqimb_ladder_20;
  23996. tbl_len = ARRAY_SIZE(tbl_tx_iqlo_cal_iqimb_ladder_20);
  23997. }
  23998. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 32,
  23999. 16, tbl_ptr);
  24000. }
  24001. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24002. write_phy_reg(pi, 0xc2, 0x8ad9);
  24003. else
  24004. write_phy_reg(pi, 0xc2, 0x8aa9);
  24005. max_val = 250;
  24006. tone_freq = (phy_bw == 20) ? 2500 : 5000;
  24007. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24008. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff, 0, 1, 0, false);
  24009. bcmerror = 0;
  24010. } else {
  24011. bcmerror =
  24012. wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0,
  24013. false);
  24014. }
  24015. if (bcmerror == 0) {
  24016. if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_TXPHASE0) {
  24017. tbl_ptr = pi->mphase_txcal_bestcoeffs;
  24018. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24019. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24020. tbl_len -= 2;
  24021. } else {
  24022. if ((!fullcal) && (pi->nphy_txiqlocal_coeffsvalid)) {
  24023. tbl_ptr = pi->nphy_txiqlocal_bestc;
  24024. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24025. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24026. tbl_len -= 2;
  24027. } else {
  24028. fullcal = true;
  24029. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24030. tbl_ptr =
  24031. tbl_tx_iqlo_cal_startcoefs_nphyrev3;
  24032. tbl_len = ARRAY_SIZE(
  24033. tbl_tx_iqlo_cal_startcoefs_nphyrev3);
  24034. } else {
  24035. tbl_ptr = tbl_tx_iqlo_cal_startcoefs;
  24036. tbl_len = ARRAY_SIZE(
  24037. tbl_tx_iqlo_cal_startcoefs);
  24038. }
  24039. }
  24040. }
  24041. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, tbl_len, 64,
  24042. 16, tbl_ptr);
  24043. if (fullcal) {
  24044. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24045. ARRAY_SIZE(
  24046. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3) :
  24047. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_fullcal);
  24048. } else {
  24049. max_cal_cmds = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24050. ARRAY_SIZE(
  24051. tbl_tx_iqlo_cal_cmds_recal_nphyrev3) :
  24052. ARRAY_SIZE(tbl_tx_iqlo_cal_cmds_recal);
  24053. }
  24054. if (mphase) {
  24055. cal_cnt = pi->mphase_txcal_cmdidx;
  24056. if ((cal_cnt + pi->mphase_txcal_numcmds) < max_cal_cmds)
  24057. num_cals = cal_cnt + pi->mphase_txcal_numcmds;
  24058. else
  24059. num_cals = max_cal_cmds;
  24060. } else {
  24061. cal_cnt = 0;
  24062. num_cals = max_cal_cmds;
  24063. }
  24064. for (; cal_cnt < num_cals; cal_cnt++) {
  24065. if (fullcal) {
  24066. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24067. tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3
  24068. [cal_cnt] :
  24069. tbl_tx_iqlo_cal_cmds_fullcal[cal_cnt];
  24070. } else {
  24071. cal_cmd = (NREV_GE(pi->pubpi.phy_rev, 3)) ?
  24072. tbl_tx_iqlo_cal_cmds_recal_nphyrev3[
  24073. cal_cnt]
  24074. : tbl_tx_iqlo_cal_cmds_recal[cal_cnt];
  24075. }
  24076. core_no = ((cal_cmd & 0x3000) >> 12);
  24077. cal_type = ((cal_cmd & 0x0F00) >> 8);
  24078. if (NREV_GE(pi->pubpi.phy_rev, 6) ||
  24079. (NREV_IS(pi->pubpi.phy_rev, 5) &&
  24080. PHY_IPA(pi)
  24081. && (CHSPEC_IS2G(pi->radio_chanspec)))) {
  24082. if (!ladder_updated[core_no]) {
  24083. wlc_phy_update_txcal_ladder_nphy(
  24084. pi,
  24085. core_no);
  24086. ladder_updated[core_no] = true;
  24087. }
  24088. }
  24089. val =
  24090. (cal_params[core_no].
  24091. ncorr[cal_type] << 8) | NPHY_N_GCTL;
  24092. write_phy_reg(pi, 0xc1, val);
  24093. if ((cal_type == 1) || (cal_type == 3)
  24094. || (cal_type == 4)) {
  24095. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24096. 1, 69 + core_no, 16,
  24097. tbl_buf);
  24098. diq_start = tbl_buf[0];
  24099. tbl_buf[0] = 0;
  24100. wlc_phy_table_write_nphy(pi,
  24101. NPHY_TBL_ID_IQLOCAL, 1,
  24102. 69 + core_no, 16,
  24103. tbl_buf);
  24104. }
  24105. write_phy_reg(pi, 0xc0, cal_cmd);
  24106. SPINWAIT(((read_phy_reg(pi, 0xc0) & 0xc000) != 0),
  24107. 20000);
  24108. if (WARN(read_phy_reg(pi, 0xc0) & 0xc000,
  24109. "HW error: txiq calib"))
  24110. return -EIO;
  24111. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24112. tbl_len, 96, 16, tbl_buf);
  24113. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24114. tbl_len, 64, 16, tbl_buf);
  24115. if ((cal_type == 1) || (cal_type == 3)
  24116. || (cal_type == 4)) {
  24117. tbl_buf[0] = diq_start;
  24118. }
  24119. }
  24120. if (mphase) {
  24121. pi->mphase_txcal_cmdidx = num_cals;
  24122. if (pi->mphase_txcal_cmdidx >= max_cal_cmds)
  24123. pi->mphase_txcal_cmdidx = 0;
  24124. }
  24125. mphase_cal_lastphase =
  24126. (NREV_LE(pi->pubpi.phy_rev, 2)) ?
  24127. MPHASE_CAL_STATE_TXPHASE4 : MPHASE_CAL_STATE_TXPHASE5;
  24128. if (!mphase
  24129. || (pi->mphase_cal_phase_id == mphase_cal_lastphase)) {
  24130. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 96,
  24131. 16, tbl_buf);
  24132. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24133. 16, tbl_buf);
  24134. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24135. tbl_buf[0] = 0;
  24136. tbl_buf[1] = 0;
  24137. tbl_buf[2] = 0;
  24138. tbl_buf[3] = 0;
  24139. }
  24140. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24141. 16, tbl_buf);
  24142. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 101,
  24143. 16, tbl_buf);
  24144. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24145. 16, tbl_buf);
  24146. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24147. 16, tbl_buf);
  24148. tbl_len = ARRAY_SIZE(pi->nphy_txiqlocal_bestc);
  24149. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24150. tbl_len -= 2;
  24151. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24152. tbl_len, 96, 16,
  24153. pi->nphy_txiqlocal_bestc);
  24154. pi->nphy_txiqlocal_coeffsvalid = true;
  24155. pi->nphy_txiqlocal_chanspec = pi->radio_chanspec;
  24156. } else {
  24157. tbl_len = ARRAY_SIZE(pi->mphase_txcal_bestcoeffs);
  24158. if (NREV_LT(pi->pubpi.phy_rev, 3))
  24159. tbl_len -= 2;
  24160. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24161. tbl_len, 96, 16,
  24162. pi->mphase_txcal_bestcoeffs);
  24163. }
  24164. wlc_phy_stopplayback_nphy(pi);
  24165. write_phy_reg(pi, 0xc2, 0x0000);
  24166. }
  24167. wlc_phy_txcal_phycleanup_nphy(pi);
  24168. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  24169. gain_save);
  24170. wlc_phy_txcal_radio_cleanup_nphy(pi);
  24171. if (NREV_LT(pi->pubpi.phy_rev, 2)) {
  24172. if (!mphase
  24173. || (pi->mphase_cal_phase_id == mphase_cal_lastphase))
  24174. wlc_phy_tx_iq_war_nphy(pi);
  24175. }
  24176. if (NREV_GE(pi->pubpi.phy_rev, 4))
  24177. pi->phyhang_avoid = phyhang_avoid_state;
  24178. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  24179. return bcmerror;
  24180. }
  24181. static void wlc_phy_reapply_txcal_coeffs_nphy(struct brcms_phy *pi)
  24182. {
  24183. u16 tbl_buf[7];
  24184. if ((pi->nphy_txiqlocal_chanspec == pi->radio_chanspec) &&
  24185. (pi->nphy_txiqlocal_coeffsvalid)) {
  24186. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_IQLOCAL,
  24187. ARRAY_SIZE(tbl_buf), 80, 16, tbl_buf);
  24188. if ((pi->nphy_txiqlocal_bestc[0] != tbl_buf[0]) ||
  24189. (pi->nphy_txiqlocal_bestc[1] != tbl_buf[1]) ||
  24190. (pi->nphy_txiqlocal_bestc[2] != tbl_buf[2]) ||
  24191. (pi->nphy_txiqlocal_bestc[3] != tbl_buf[3])) {
  24192. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 80,
  24193. 16, pi->nphy_txiqlocal_bestc);
  24194. tbl_buf[0] = 0;
  24195. tbl_buf[1] = 0;
  24196. tbl_buf[2] = 0;
  24197. tbl_buf[3] = 0;
  24198. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 4, 88,
  24199. 16, tbl_buf);
  24200. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 85,
  24201. 16,
  24202. &pi->nphy_txiqlocal_bestc[5]);
  24203. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 2, 93,
  24204. 16,
  24205. &pi->nphy_txiqlocal_bestc[5]);
  24206. }
  24207. }
  24208. }
  24209. void
  24210. wlc_phy_rx_iq_coeffs_nphy(struct brcms_phy *pi, u8 write,
  24211. struct nphy_iq_comp *pcomp)
  24212. {
  24213. if (write) {
  24214. write_phy_reg(pi, 0x9a, pcomp->a0);
  24215. write_phy_reg(pi, 0x9b, pcomp->b0);
  24216. write_phy_reg(pi, 0x9c, pcomp->a1);
  24217. write_phy_reg(pi, 0x9d, pcomp->b1);
  24218. } else {
  24219. pcomp->a0 = read_phy_reg(pi, 0x9a);
  24220. pcomp->b0 = read_phy_reg(pi, 0x9b);
  24221. pcomp->a1 = read_phy_reg(pi, 0x9c);
  24222. pcomp->b1 = read_phy_reg(pi, 0x9d);
  24223. }
  24224. }
  24225. void
  24226. wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
  24227. u16 num_samps, u8 wait_time, u8 wait_for_crs)
  24228. {
  24229. u8 core;
  24230. write_phy_reg(pi, 0x12b, num_samps);
  24231. mod_phy_reg(pi, 0x12a, (0xff << 0), (wait_time << 0));
  24232. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqMode,
  24233. (wait_for_crs) ? NPHY_IqestCmd_iqMode : 0);
  24234. mod_phy_reg(pi, 0x129, NPHY_IqestCmd_iqstart, NPHY_IqestCmd_iqstart);
  24235. SPINWAIT(((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) != 0),
  24236. 10000);
  24237. if (WARN(read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart,
  24238. "HW error: rxiq est"))
  24239. return;
  24240. if ((read_phy_reg(pi, 0x129) & NPHY_IqestCmd_iqstart) == 0) {
  24241. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  24242. est[core].i_pwr =
  24243. (read_phy_reg(pi,
  24244. NPHY_IqestipwrAccHi(core)) << 16)
  24245. | read_phy_reg(pi, NPHY_IqestipwrAccLo(core));
  24246. est[core].q_pwr =
  24247. (read_phy_reg(pi,
  24248. NPHY_IqestqpwrAccHi(core)) << 16)
  24249. | read_phy_reg(pi, NPHY_IqestqpwrAccLo(core));
  24250. est[core].iq_prod =
  24251. (read_phy_reg(pi,
  24252. NPHY_IqestIqAccHi(core)) << 16) |
  24253. read_phy_reg(pi, NPHY_IqestIqAccLo(core));
  24254. }
  24255. }
  24256. }
  24257. #define CAL_RETRY_CNT 2
  24258. static void wlc_phy_calc_rx_iq_comp_nphy(struct brcms_phy *pi, u8 core_mask)
  24259. {
  24260. u8 curr_core;
  24261. struct phy_iq_est est[PHY_CORE_MAX];
  24262. struct nphy_iq_comp old_comp, new_comp;
  24263. s32 iq = 0;
  24264. u32 ii = 0, qq = 0;
  24265. s16 iq_nbits, qq_nbits, brsh, arsh;
  24266. s32 a, b, temp;
  24267. int bcmerror = 0;
  24268. uint cal_retry = 0;
  24269. if (core_mask == 0x0)
  24270. return;
  24271. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &old_comp);
  24272. new_comp.a0 = new_comp.b0 = new_comp.a1 = new_comp.b1 = 0x0;
  24273. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24274. cal_try:
  24275. wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0);
  24276. new_comp = old_comp;
  24277. for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) {
  24278. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24279. iq = est[curr_core].iq_prod;
  24280. ii = est[curr_core].i_pwr;
  24281. qq = est[curr_core].q_pwr;
  24282. } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24283. iq = est[curr_core].iq_prod;
  24284. ii = est[curr_core].i_pwr;
  24285. qq = est[curr_core].q_pwr;
  24286. } else {
  24287. continue;
  24288. }
  24289. if ((ii + qq) < NPHY_MIN_RXIQ_PWR) {
  24290. bcmerror = -EBADE;
  24291. break;
  24292. }
  24293. iq_nbits = wlc_phy_nbits(iq);
  24294. qq_nbits = wlc_phy_nbits(qq);
  24295. arsh = 10 - (30 - iq_nbits);
  24296. if (arsh >= 0) {
  24297. a = (-(iq << (30 - iq_nbits)) + (ii >> (1 + arsh)));
  24298. temp = (s32) (ii >> arsh);
  24299. if (temp == 0) {
  24300. bcmerror = -EBADE;
  24301. break;
  24302. }
  24303. } else {
  24304. a = (-(iq << (30 - iq_nbits)) + (ii << (-1 - arsh)));
  24305. temp = (s32) (ii << -arsh);
  24306. if (temp == 0) {
  24307. bcmerror = -EBADE;
  24308. break;
  24309. }
  24310. }
  24311. a /= temp;
  24312. brsh = qq_nbits - 31 + 20;
  24313. if (brsh >= 0) {
  24314. b = (qq << (31 - qq_nbits));
  24315. temp = (s32) (ii >> brsh);
  24316. if (temp == 0) {
  24317. bcmerror = -EBADE;
  24318. break;
  24319. }
  24320. } else {
  24321. b = (qq << (31 - qq_nbits));
  24322. temp = (s32) (ii << -brsh);
  24323. if (temp == 0) {
  24324. bcmerror = -EBADE;
  24325. break;
  24326. }
  24327. }
  24328. b /= temp;
  24329. b -= a * a;
  24330. b = (s32) int_sqrt((unsigned long) b);
  24331. b -= (1 << 10);
  24332. if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) {
  24333. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24334. new_comp.a0 = (s16) a & 0x3ff;
  24335. new_comp.b0 = (s16) b & 0x3ff;
  24336. } else {
  24337. new_comp.a0 = (s16) b & 0x3ff;
  24338. new_comp.b0 = (s16) a & 0x3ff;
  24339. }
  24340. }
  24341. if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) {
  24342. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  24343. new_comp.a1 = (s16) a & 0x3ff;
  24344. new_comp.b1 = (s16) b & 0x3ff;
  24345. } else {
  24346. new_comp.a1 = (s16) b & 0x3ff;
  24347. new_comp.b1 = (s16) a & 0x3ff;
  24348. }
  24349. }
  24350. }
  24351. if (bcmerror != 0) {
  24352. pr_debug("%s: Failed, cnt = %d\n", __func__, cal_retry);
  24353. if (cal_retry < CAL_RETRY_CNT) {
  24354. cal_retry++;
  24355. goto cal_try;
  24356. }
  24357. new_comp = old_comp;
  24358. }
  24359. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &new_comp);
  24360. }
  24361. static void wlc_phy_rxcal_radio_setup_nphy(struct brcms_phy *pi, u8 rx_core)
  24362. {
  24363. u16 offtune_val;
  24364. u16 bias_g = 0;
  24365. u16 bias_a = 0;
  24366. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24367. if (rx_core == PHY_CORE_0) {
  24368. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24369. pi->tx_rx_cal_radio_saveregs[0] =
  24370. read_radio_reg(pi,
  24371. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP);
  24372. pi->tx_rx_cal_radio_saveregs[1] =
  24373. read_radio_reg(pi,
  24374. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN);
  24375. write_radio_reg(pi,
  24376. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24377. 0x3);
  24378. write_radio_reg(pi,
  24379. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24380. 0xaf);
  24381. } else {
  24382. pi->tx_rx_cal_radio_saveregs[0] =
  24383. read_radio_reg(pi,
  24384. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP);
  24385. pi->tx_rx_cal_radio_saveregs[1] =
  24386. read_radio_reg(pi,
  24387. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN);
  24388. write_radio_reg(
  24389. pi,
  24390. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24391. 0x3);
  24392. write_radio_reg(
  24393. pi,
  24394. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24395. 0x7f);
  24396. }
  24397. } else {
  24398. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24399. pi->tx_rx_cal_radio_saveregs[0] =
  24400. read_radio_reg(pi,
  24401. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP);
  24402. pi->tx_rx_cal_radio_saveregs[1] =
  24403. read_radio_reg(pi,
  24404. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN);
  24405. write_radio_reg(
  24406. pi,
  24407. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24408. 0x3);
  24409. write_radio_reg(
  24410. pi,
  24411. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24412. 0xaf);
  24413. } else {
  24414. pi->tx_rx_cal_radio_saveregs[0] =
  24415. read_radio_reg(pi,
  24416. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP);
  24417. pi->tx_rx_cal_radio_saveregs[1] =
  24418. read_radio_reg(pi,
  24419. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN);
  24420. write_radio_reg(pi,
  24421. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24422. 0x3);
  24423. write_radio_reg(pi,
  24424. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24425. 0x7f);
  24426. }
  24427. }
  24428. } else {
  24429. if (rx_core == PHY_CORE_0) {
  24430. pi->tx_rx_cal_radio_saveregs[0] =
  24431. read_radio_reg(pi,
  24432. RADIO_2056_TX_RXIQCAL_TXMUX |
  24433. RADIO_2056_TX1);
  24434. pi->tx_rx_cal_radio_saveregs[1] =
  24435. read_radio_reg(pi,
  24436. RADIO_2056_RX_RXIQCAL_RXMUX |
  24437. RADIO_2056_RX0);
  24438. if (pi->pubpi.radiorev >= 5) {
  24439. pi->tx_rx_cal_radio_saveregs[2] =
  24440. read_radio_reg(pi,
  24441. RADIO_2056_RX_RXSPARE2 |
  24442. RADIO_2056_RX0);
  24443. pi->tx_rx_cal_radio_saveregs[3] =
  24444. read_radio_reg(pi,
  24445. RADIO_2056_TX_TXSPARE2 |
  24446. RADIO_2056_TX1);
  24447. }
  24448. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24449. if (pi->pubpi.radiorev >= 5) {
  24450. pi->tx_rx_cal_radio_saveregs[4] =
  24451. read_radio_reg(pi,
  24452. RADIO_2056_RX_LNAA_MASTER
  24453. | RADIO_2056_RX0);
  24454. write_radio_reg(
  24455. pi,
  24456. RADIO_2056_RX_LNAA_MASTER
  24457. | RADIO_2056_RX0, 0x40);
  24458. write_radio_reg(pi,
  24459. RADIO_2056_TX_TXSPARE2 |
  24460. RADIO_2056_TX1, bias_a);
  24461. write_radio_reg(pi,
  24462. RADIO_2056_RX_RXSPARE2 |
  24463. RADIO_2056_RX0, bias_a);
  24464. } else {
  24465. pi->tx_rx_cal_radio_saveregs[4] =
  24466. read_radio_reg(pi,
  24467. RADIO_2056_RX_LNAA_TUNE
  24468. | RADIO_2056_RX0);
  24469. offtune_val =
  24470. (pi->tx_rx_cal_radio_saveregs
  24471. [2] & 0xF0) >> 8;
  24472. offtune_val =
  24473. (offtune_val <= 0x7) ? 0xF : 0;
  24474. mod_radio_reg(pi,
  24475. RADIO_2056_RX_LNAA_TUNE |
  24476. RADIO_2056_RX0, 0xF0,
  24477. (offtune_val << 8));
  24478. }
  24479. write_radio_reg(pi,
  24480. RADIO_2056_TX_RXIQCAL_TXMUX |
  24481. RADIO_2056_TX1, 0x9);
  24482. write_radio_reg(pi,
  24483. RADIO_2056_RX_RXIQCAL_RXMUX |
  24484. RADIO_2056_RX0, 0x9);
  24485. } else {
  24486. if (pi->pubpi.radiorev >= 5) {
  24487. pi->tx_rx_cal_radio_saveregs[4] =
  24488. read_radio_reg(
  24489. pi,
  24490. RADIO_2056_RX_LNAG_MASTER
  24491. | RADIO_2056_RX0);
  24492. write_radio_reg(
  24493. pi,
  24494. RADIO_2056_RX_LNAG_MASTER
  24495. | RADIO_2056_RX0, 0x40);
  24496. write_radio_reg(
  24497. pi,
  24498. RADIO_2056_TX_TXSPARE2
  24499. |
  24500. RADIO_2056_TX1, bias_g);
  24501. write_radio_reg(
  24502. pi,
  24503. RADIO_2056_RX_RXSPARE2
  24504. |
  24505. RADIO_2056_RX0, bias_g);
  24506. } else {
  24507. pi->tx_rx_cal_radio_saveregs[4] =
  24508. read_radio_reg(
  24509. pi,
  24510. RADIO_2056_RX_LNAG_TUNE
  24511. | RADIO_2056_RX0);
  24512. offtune_val =
  24513. (pi->
  24514. tx_rx_cal_radio_saveregs[2] &
  24515. 0xF0) >> 8;
  24516. offtune_val =
  24517. (offtune_val <= 0x7) ? 0xF : 0;
  24518. mod_radio_reg(pi,
  24519. RADIO_2056_RX_LNAG_TUNE |
  24520. RADIO_2056_RX0, 0xF0,
  24521. (offtune_val << 8));
  24522. }
  24523. write_radio_reg(pi,
  24524. RADIO_2056_TX_RXIQCAL_TXMUX |
  24525. RADIO_2056_TX1, 0x6);
  24526. write_radio_reg(pi,
  24527. RADIO_2056_RX_RXIQCAL_RXMUX |
  24528. RADIO_2056_RX0, 0x6);
  24529. }
  24530. } else {
  24531. pi->tx_rx_cal_radio_saveregs[0] =
  24532. read_radio_reg(pi,
  24533. RADIO_2056_TX_RXIQCAL_TXMUX |
  24534. RADIO_2056_TX0);
  24535. pi->tx_rx_cal_radio_saveregs[1] =
  24536. read_radio_reg(pi,
  24537. RADIO_2056_RX_RXIQCAL_RXMUX |
  24538. RADIO_2056_RX1);
  24539. if (pi->pubpi.radiorev >= 5) {
  24540. pi->tx_rx_cal_radio_saveregs[2] =
  24541. read_radio_reg(pi,
  24542. RADIO_2056_RX_RXSPARE2 |
  24543. RADIO_2056_RX1);
  24544. pi->tx_rx_cal_radio_saveregs[3] =
  24545. read_radio_reg(pi,
  24546. RADIO_2056_TX_TXSPARE2 |
  24547. RADIO_2056_TX0);
  24548. }
  24549. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24550. if (pi->pubpi.radiorev >= 5) {
  24551. pi->tx_rx_cal_radio_saveregs[4] =
  24552. read_radio_reg(
  24553. pi,
  24554. RADIO_2056_RX_LNAA_MASTER
  24555. | RADIO_2056_RX1);
  24556. write_radio_reg(
  24557. pi,
  24558. RADIO_2056_RX_LNAA_MASTER |
  24559. RADIO_2056_RX1, 0x40);
  24560. write_radio_reg(
  24561. pi,
  24562. RADIO_2056_TX_TXSPARE2
  24563. |
  24564. RADIO_2056_TX0, bias_a);
  24565. write_radio_reg(
  24566. pi,
  24567. RADIO_2056_RX_RXSPARE2
  24568. |
  24569. RADIO_2056_RX1, bias_a);
  24570. } else {
  24571. pi->tx_rx_cal_radio_saveregs[4] =
  24572. read_radio_reg(
  24573. pi,
  24574. RADIO_2056_RX_LNAA_TUNE
  24575. | RADIO_2056_RX1);
  24576. offtune_val =
  24577. (pi->
  24578. tx_rx_cal_radio_saveregs[2] &
  24579. 0xF0) >> 8;
  24580. offtune_val =
  24581. (offtune_val <= 0x7) ? 0xF : 0;
  24582. mod_radio_reg(pi,
  24583. RADIO_2056_RX_LNAA_TUNE |
  24584. RADIO_2056_RX1, 0xF0,
  24585. (offtune_val << 8));
  24586. }
  24587. write_radio_reg(pi,
  24588. RADIO_2056_TX_RXIQCAL_TXMUX |
  24589. RADIO_2056_TX0, 0x9);
  24590. write_radio_reg(pi,
  24591. RADIO_2056_RX_RXIQCAL_RXMUX |
  24592. RADIO_2056_RX1, 0x9);
  24593. } else {
  24594. if (pi->pubpi.radiorev >= 5) {
  24595. pi->tx_rx_cal_radio_saveregs[4] =
  24596. read_radio_reg(
  24597. pi,
  24598. RADIO_2056_RX_LNAG_MASTER
  24599. | RADIO_2056_RX1);
  24600. write_radio_reg(
  24601. pi,
  24602. RADIO_2056_RX_LNAG_MASTER
  24603. | RADIO_2056_RX1, 0x40);
  24604. write_radio_reg(
  24605. pi,
  24606. RADIO_2056_TX_TXSPARE2
  24607. |
  24608. RADIO_2056_TX0, bias_g);
  24609. write_radio_reg(
  24610. pi,
  24611. RADIO_2056_RX_RXSPARE2
  24612. |
  24613. RADIO_2056_RX1, bias_g);
  24614. } else {
  24615. pi->tx_rx_cal_radio_saveregs[4] =
  24616. read_radio_reg(
  24617. pi,
  24618. RADIO_2056_RX_LNAG_TUNE
  24619. | RADIO_2056_RX1);
  24620. offtune_val =
  24621. (pi->
  24622. tx_rx_cal_radio_saveregs[2] &
  24623. 0xF0) >> 8;
  24624. offtune_val =
  24625. (offtune_val <= 0x7) ? 0xF : 0;
  24626. mod_radio_reg(pi,
  24627. RADIO_2056_RX_LNAG_TUNE |
  24628. RADIO_2056_RX1, 0xF0,
  24629. (offtune_val << 8));
  24630. }
  24631. write_radio_reg(pi,
  24632. RADIO_2056_TX_RXIQCAL_TXMUX |
  24633. RADIO_2056_TX0, 0x6);
  24634. write_radio_reg(pi,
  24635. RADIO_2056_RX_RXIQCAL_RXMUX |
  24636. RADIO_2056_RX1, 0x6);
  24637. }
  24638. }
  24639. }
  24640. }
  24641. static void wlc_phy_rxcal_radio_cleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24642. {
  24643. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24644. if (rx_core == PHY_CORE_0) {
  24645. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24646. write_radio_reg(
  24647. pi,
  24648. RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,
  24649. pi->
  24650. tx_rx_cal_radio_saveregs[0]);
  24651. write_radio_reg(
  24652. pi,
  24653. RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,
  24654. pi->
  24655. tx_rx_cal_radio_saveregs[1]);
  24656. } else {
  24657. write_radio_reg(
  24658. pi,
  24659. RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,
  24660. pi->
  24661. tx_rx_cal_radio_saveregs[0]);
  24662. write_radio_reg(
  24663. pi,
  24664. RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,
  24665. pi->
  24666. tx_rx_cal_radio_saveregs[1]);
  24667. }
  24668. } else {
  24669. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24670. write_radio_reg(
  24671. pi,
  24672. RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,
  24673. pi->
  24674. tx_rx_cal_radio_saveregs[0]);
  24675. write_radio_reg(
  24676. pi,
  24677. RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,
  24678. pi->
  24679. tx_rx_cal_radio_saveregs[1]);
  24680. } else {
  24681. write_radio_reg(
  24682. pi,
  24683. RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,
  24684. pi->
  24685. tx_rx_cal_radio_saveregs[0]);
  24686. write_radio_reg(
  24687. pi,
  24688. RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,
  24689. pi->
  24690. tx_rx_cal_radio_saveregs[1]);
  24691. }
  24692. }
  24693. } else {
  24694. if (rx_core == PHY_CORE_0) {
  24695. write_radio_reg(pi,
  24696. RADIO_2056_TX_RXIQCAL_TXMUX |
  24697. RADIO_2056_TX1,
  24698. pi->tx_rx_cal_radio_saveregs[0]);
  24699. write_radio_reg(pi,
  24700. RADIO_2056_RX_RXIQCAL_RXMUX |
  24701. RADIO_2056_RX0,
  24702. pi->tx_rx_cal_radio_saveregs[1]);
  24703. if (pi->pubpi.radiorev >= 5) {
  24704. write_radio_reg(pi,
  24705. RADIO_2056_RX_RXSPARE2 |
  24706. RADIO_2056_RX0,
  24707. pi->
  24708. tx_rx_cal_radio_saveregs[2]);
  24709. write_radio_reg(pi,
  24710. RADIO_2056_TX_TXSPARE2 |
  24711. RADIO_2056_TX1,
  24712. pi->
  24713. tx_rx_cal_radio_saveregs[3]);
  24714. }
  24715. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24716. if (pi->pubpi.radiorev >= 5)
  24717. write_radio_reg(
  24718. pi,
  24719. RADIO_2056_RX_LNAA_MASTER
  24720. | RADIO_2056_RX0,
  24721. pi->
  24722. tx_rx_cal_radio_saveregs
  24723. [4]);
  24724. else
  24725. write_radio_reg(
  24726. pi,
  24727. RADIO_2056_RX_LNAA_TUNE
  24728. | RADIO_2056_RX0,
  24729. pi->
  24730. tx_rx_cal_radio_saveregs
  24731. [4]);
  24732. } else {
  24733. if (pi->pubpi.radiorev >= 5)
  24734. write_radio_reg(
  24735. pi,
  24736. RADIO_2056_RX_LNAG_MASTER
  24737. | RADIO_2056_RX0,
  24738. pi->
  24739. tx_rx_cal_radio_saveregs
  24740. [4]);
  24741. else
  24742. write_radio_reg(
  24743. pi,
  24744. RADIO_2056_RX_LNAG_TUNE
  24745. | RADIO_2056_RX0,
  24746. pi->
  24747. tx_rx_cal_radio_saveregs
  24748. [4]);
  24749. }
  24750. } else {
  24751. write_radio_reg(pi,
  24752. RADIO_2056_TX_RXIQCAL_TXMUX |
  24753. RADIO_2056_TX0,
  24754. pi->tx_rx_cal_radio_saveregs[0]);
  24755. write_radio_reg(pi,
  24756. RADIO_2056_RX_RXIQCAL_RXMUX |
  24757. RADIO_2056_RX1,
  24758. pi->tx_rx_cal_radio_saveregs[1]);
  24759. if (pi->pubpi.radiorev >= 5) {
  24760. write_radio_reg(pi,
  24761. RADIO_2056_RX_RXSPARE2 |
  24762. RADIO_2056_RX1,
  24763. pi->
  24764. tx_rx_cal_radio_saveregs[2]);
  24765. write_radio_reg(pi,
  24766. RADIO_2056_TX_TXSPARE2 |
  24767. RADIO_2056_TX0,
  24768. pi->
  24769. tx_rx_cal_radio_saveregs[3]);
  24770. }
  24771. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24772. if (pi->pubpi.radiorev >= 5)
  24773. write_radio_reg(
  24774. pi,
  24775. RADIO_2056_RX_LNAA_MASTER
  24776. | RADIO_2056_RX1,
  24777. pi->
  24778. tx_rx_cal_radio_saveregs
  24779. [4]);
  24780. else
  24781. write_radio_reg(
  24782. pi,
  24783. RADIO_2056_RX_LNAA_TUNE
  24784. | RADIO_2056_RX1,
  24785. pi->
  24786. tx_rx_cal_radio_saveregs
  24787. [4]);
  24788. } else {
  24789. if (pi->pubpi.radiorev >= 5)
  24790. write_radio_reg(
  24791. pi,
  24792. RADIO_2056_RX_LNAG_MASTER
  24793. | RADIO_2056_RX1,
  24794. pi->
  24795. tx_rx_cal_radio_saveregs
  24796. [4]);
  24797. else
  24798. write_radio_reg(
  24799. pi,
  24800. RADIO_2056_RX_LNAG_TUNE
  24801. | RADIO_2056_RX1,
  24802. pi->
  24803. tx_rx_cal_radio_saveregs
  24804. [4]);
  24805. }
  24806. }
  24807. }
  24808. }
  24809. static void wlc_phy_rxcal_physetup_nphy(struct brcms_phy *pi, u8 rx_core)
  24810. {
  24811. u8 tx_core;
  24812. u16 rx_antval, tx_antval;
  24813. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24814. tx_core = rx_core;
  24815. else
  24816. tx_core = (rx_core == PHY_CORE_0) ? 1 : 0;
  24817. pi->tx_rx_cal_phy_saveregs[0] = read_phy_reg(pi, 0xa2);
  24818. pi->tx_rx_cal_phy_saveregs[1] =
  24819. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7);
  24820. pi->tx_rx_cal_phy_saveregs[2] =
  24821. read_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5);
  24822. pi->tx_rx_cal_phy_saveregs[3] = read_phy_reg(pi, 0x91);
  24823. pi->tx_rx_cal_phy_saveregs[4] = read_phy_reg(pi, 0x92);
  24824. pi->tx_rx_cal_phy_saveregs[5] = read_phy_reg(pi, 0x7a);
  24825. pi->tx_rx_cal_phy_saveregs[6] = read_phy_reg(pi, 0x7d);
  24826. pi->tx_rx_cal_phy_saveregs[7] = read_phy_reg(pi, 0xe7);
  24827. pi->tx_rx_cal_phy_saveregs[8] = read_phy_reg(pi, 0xec);
  24828. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24829. pi->tx_rx_cal_phy_saveregs[11] = read_phy_reg(pi, 0x342);
  24830. pi->tx_rx_cal_phy_saveregs[12] = read_phy_reg(pi, 0x343);
  24831. pi->tx_rx_cal_phy_saveregs[13] = read_phy_reg(pi, 0x346);
  24832. pi->tx_rx_cal_phy_saveregs[14] = read_phy_reg(pi, 0x347);
  24833. }
  24834. pi->tx_rx_cal_phy_saveregs[9] = read_phy_reg(pi, 0x297);
  24835. pi->tx_rx_cal_phy_saveregs[10] = read_phy_reg(pi, 0x29b);
  24836. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  24837. 0x29b, (0x1 << 0), (0) << 0);
  24838. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  24839. 0x29b, (0x1 << 0), (0) << 0);
  24840. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24841. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24842. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << (1 - rx_core)) << 12);
  24843. } else {
  24844. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  24845. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  24846. mod_phy_reg(pi, 0xa2, (0xf << 4), (1 << rx_core) << 4);
  24847. mod_phy_reg(pi, 0xa2, (0xf << 8), (1 << rx_core) << 8);
  24848. }
  24849. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7), (0x1 << 2), 0);
  24850. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24851. (0x1 << 2), (0x1 << 2));
  24852. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  24853. mod_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  24854. (0x1 << 0) | (0x1 << 1), 0);
  24855. mod_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  24856. 0x8f : 0xa5,
  24857. (0x1 << 0) | (0x1 << 1), (0x1 << 0) | (0x1 << 1));
  24858. }
  24859. wlc_phy_rfctrlintc_override_nphy(pi, NPHY_RfctrlIntc_override_PA, 0,
  24860. RADIO_MIMO_CORESEL_CORE1 |
  24861. RADIO_MIMO_CORESEL_CORE2);
  24862. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24863. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 3),
  24864. 0, 0, 0,
  24865. NPHY_REV7_RFCTRLOVERRIDE_ID0);
  24866. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 9), 0, 0, 0,
  24867. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24868. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 10), 1, 0, 0,
  24869. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24870. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 0), 1, 0, 0,
  24871. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24872. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 1), 1, 0, 0,
  24873. NPHY_REV7_RFCTRLOVERRIDE_ID2);
  24874. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 11), 0, 0, 0,
  24875. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24876. if (CHSPEC_IS40(pi->radio_chanspec))
  24877. wlc_phy_rfctrl_override_nphy_rev7(
  24878. pi,
  24879. (0x1 << 7),
  24880. 2, 0, 0,
  24881. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24882. else
  24883. wlc_phy_rfctrl_override_nphy_rev7(
  24884. pi,
  24885. (0x1 << 7),
  24886. 0, 0, 0,
  24887. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24888. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 7),
  24889. 0, 0, 0,
  24890. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24891. wlc_phy_rfctrl_override_nphy_rev7(pi, (0x1 << 5), 0, 0, 0,
  24892. NPHY_REV7_RFCTRLOVERRIDE_ID1);
  24893. } else {
  24894. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 3), 0, 3, 0);
  24895. }
  24896. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RX2TX);
  24897. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24898. wlc_phy_rfctrlintc_override_nphy(pi,
  24899. NPHY_RfctrlIntc_override_TRSW,
  24900. 0x1, rx_core + 1);
  24901. } else {
  24902. if (rx_core == PHY_CORE_0) {
  24903. rx_antval = 0x1;
  24904. tx_antval = 0x8;
  24905. } else {
  24906. rx_antval = 0x4;
  24907. tx_antval = 0x2;
  24908. }
  24909. wlc_phy_rfctrlintc_override_nphy(pi,
  24910. NPHY_RfctrlIntc_override_TRSW,
  24911. rx_antval, rx_core + 1);
  24912. wlc_phy_rfctrlintc_override_nphy(pi,
  24913. NPHY_RfctrlIntc_override_TRSW,
  24914. tx_antval, tx_core + 1);
  24915. }
  24916. }
  24917. static void wlc_phy_rxcal_phycleanup_nphy(struct brcms_phy *pi, u8 rx_core)
  24918. {
  24919. write_phy_reg(pi, 0xa2, pi->tx_rx_cal_phy_saveregs[0]);
  24920. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 : 0xa7,
  24921. pi->tx_rx_cal_phy_saveregs[1]);
  24922. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x8f : 0xa5,
  24923. pi->tx_rx_cal_phy_saveregs[2]);
  24924. write_phy_reg(pi, 0x91, pi->tx_rx_cal_phy_saveregs[3]);
  24925. write_phy_reg(pi, 0x92, pi->tx_rx_cal_phy_saveregs[4]);
  24926. write_phy_reg(pi, 0x7a, pi->tx_rx_cal_phy_saveregs[5]);
  24927. write_phy_reg(pi, 0x7d, pi->tx_rx_cal_phy_saveregs[6]);
  24928. write_phy_reg(pi, 0xe7, pi->tx_rx_cal_phy_saveregs[7]);
  24929. write_phy_reg(pi, 0xec, pi->tx_rx_cal_phy_saveregs[8]);
  24930. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  24931. write_phy_reg(pi, 0x342, pi->tx_rx_cal_phy_saveregs[11]);
  24932. write_phy_reg(pi, 0x343, pi->tx_rx_cal_phy_saveregs[12]);
  24933. write_phy_reg(pi, 0x346, pi->tx_rx_cal_phy_saveregs[13]);
  24934. write_phy_reg(pi, 0x347, pi->tx_rx_cal_phy_saveregs[14]);
  24935. }
  24936. write_phy_reg(pi, 0x297, pi->tx_rx_cal_phy_saveregs[9]);
  24937. write_phy_reg(pi, 0x29b, pi->tx_rx_cal_phy_saveregs[10]);
  24938. }
  24939. static void
  24940. wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
  24941. u16 *rxgain, u8 cal_type)
  24942. {
  24943. u16 num_samps;
  24944. struct phy_iq_est est[PHY_CORE_MAX];
  24945. u8 tx_core;
  24946. struct nphy_iq_comp save_comp, zero_comp;
  24947. u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0,
  24948. thresh_pwr = 10000;
  24949. s16 desired_log2_pwr, actual_log2_pwr, delta_pwr;
  24950. bool gainctrl_done = false;
  24951. u8 mix_tia_gain = 3;
  24952. s8 optim_gaintbl_index = 0, prev_gaintbl_index = 0;
  24953. s8 curr_gaintbl_index = 3;
  24954. u8 gainctrl_dirn = NPHY_RXCAL_GAIN_INIT;
  24955. const struct nphy_ipa_txrxgain *nphy_rxcal_gaintbl;
  24956. u16 hpvga, lpf_biq1, lpf_biq0, lna2, lna1;
  24957. int fine_gain_idx;
  24958. s8 txpwrindex;
  24959. u16 nphy_rxcal_txgain[2];
  24960. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24961. tx_core = rx_core;
  24962. else
  24963. tx_core = 1 - rx_core;
  24964. num_samps = 1024;
  24965. desired_log2_pwr = (cal_type == 0) ? 13 : 13;
  24966. wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
  24967. zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;
  24968. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &zero_comp);
  24969. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  24970. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24971. mix_tia_gain = 3;
  24972. else if (NREV_GE(pi->pubpi.phy_rev, 4))
  24973. mix_tia_gain = 4;
  24974. else
  24975. mix_tia_gain = 6;
  24976. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24977. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz_rev7;
  24978. else
  24979. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_5GHz;
  24980. } else {
  24981. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24982. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz_rev7;
  24983. else
  24984. nphy_rxcal_gaintbl = nphy_ipa_rxcal_gaintbl_2GHz;
  24985. }
  24986. do {
  24987. hpvga = (NREV_GE(pi->pubpi.phy_rev, 7)) ?
  24988. 0 : nphy_rxcal_gaintbl[curr_gaintbl_index].hpvga;
  24989. lpf_biq1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq1;
  24990. lpf_biq0 = nphy_rxcal_gaintbl[curr_gaintbl_index].lpf_biq0;
  24991. lna2 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna2;
  24992. lna1 = nphy_rxcal_gaintbl[curr_gaintbl_index].lna1;
  24993. txpwrindex = nphy_rxcal_gaintbl[curr_gaintbl_index].txpwrindex;
  24994. if (NREV_GE(pi->pubpi.phy_rev, 7))
  24995. wlc_phy_rfctrl_override_1tomany_nphy(
  24996. pi,
  24997. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  24998. ((lpf_biq1 << 12) |
  24999. (lpf_biq0 << 8) |
  25000. (mix_tia_gain << 4) | (lna2 << 2)
  25001. | lna1), 0x3, 0);
  25002. else
  25003. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25004. ((hpvga << 12) |
  25005. (lpf_biq1 << 10) |
  25006. (lpf_biq0 << 8) |
  25007. (mix_tia_gain << 4) |
  25008. (lna2 << 2) | lna1), 0x3,
  25009. 0);
  25010. pi->nphy_rxcal_pwr_idx[tx_core] = txpwrindex;
  25011. if (txpwrindex == -1) {
  25012. nphy_rxcal_txgain[0] = 0x8ff0 | pi->nphy_gmval;
  25013. nphy_rxcal_txgain[1] = 0x8ff0 | pi->nphy_gmval;
  25014. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ,
  25015. 2, 0x110, 16,
  25016. nphy_rxcal_txgain);
  25017. } else {
  25018. wlc_phy_txpwr_index_nphy(pi, tx_core + 1, txpwrindex,
  25019. false);
  25020. }
  25021. wlc_phy_tx_tone_nphy(pi, (CHSPEC_IS40(pi->radio_chanspec)) ?
  25022. NPHY_RXCAL_TONEFREQ_40MHz :
  25023. NPHY_RXCAL_TONEFREQ_20MHz,
  25024. NPHY_RXCAL_TONEAMP, 0, cal_type, false);
  25025. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25026. i_pwr = (est[rx_core].i_pwr + num_samps / 2) / num_samps;
  25027. q_pwr = (est[rx_core].q_pwr + num_samps / 2) / num_samps;
  25028. curr_pwr = i_pwr + q_pwr;
  25029. switch (gainctrl_dirn) {
  25030. case NPHY_RXCAL_GAIN_INIT:
  25031. if (curr_pwr > thresh_pwr) {
  25032. gainctrl_dirn = NPHY_RXCAL_GAIN_DOWN;
  25033. prev_gaintbl_index = curr_gaintbl_index;
  25034. curr_gaintbl_index--;
  25035. } else {
  25036. gainctrl_dirn = NPHY_RXCAL_GAIN_UP;
  25037. prev_gaintbl_index = curr_gaintbl_index;
  25038. curr_gaintbl_index++;
  25039. }
  25040. break;
  25041. case NPHY_RXCAL_GAIN_UP:
  25042. if (curr_pwr > thresh_pwr) {
  25043. gainctrl_done = true;
  25044. optim_pwr = prev_pwr;
  25045. optim_gaintbl_index = prev_gaintbl_index;
  25046. } else {
  25047. prev_gaintbl_index = curr_gaintbl_index;
  25048. curr_gaintbl_index++;
  25049. }
  25050. break;
  25051. case NPHY_RXCAL_GAIN_DOWN:
  25052. if (curr_pwr > thresh_pwr) {
  25053. prev_gaintbl_index = curr_gaintbl_index;
  25054. curr_gaintbl_index--;
  25055. } else {
  25056. gainctrl_done = true;
  25057. optim_pwr = curr_pwr;
  25058. optim_gaintbl_index = curr_gaintbl_index;
  25059. }
  25060. break;
  25061. default:
  25062. break;
  25063. }
  25064. if ((curr_gaintbl_index < 0) ||
  25065. (curr_gaintbl_index > NPHY_IPA_RXCAL_MAXGAININDEX)) {
  25066. gainctrl_done = true;
  25067. optim_pwr = curr_pwr;
  25068. optim_gaintbl_index = prev_gaintbl_index;
  25069. } else {
  25070. prev_pwr = curr_pwr;
  25071. }
  25072. wlc_phy_stopplayback_nphy(pi);
  25073. } while (!gainctrl_done);
  25074. hpvga = nphy_rxcal_gaintbl[optim_gaintbl_index].hpvga;
  25075. lpf_biq1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq1;
  25076. lpf_biq0 = nphy_rxcal_gaintbl[optim_gaintbl_index].lpf_biq0;
  25077. lna2 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna2;
  25078. lna1 = nphy_rxcal_gaintbl[optim_gaintbl_index].lna1;
  25079. txpwrindex = nphy_rxcal_gaintbl[optim_gaintbl_index].txpwrindex;
  25080. actual_log2_pwr = wlc_phy_nbits(optim_pwr);
  25081. delta_pwr = desired_log2_pwr - actual_log2_pwr;
  25082. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  25083. fine_gain_idx = (int)lpf_biq1 + delta_pwr;
  25084. if (fine_gain_idx + (int)lpf_biq0 > 10)
  25085. lpf_biq1 = 10 - lpf_biq0;
  25086. else
  25087. lpf_biq1 = (u16) max(fine_gain_idx, 0);
  25088. wlc_phy_rfctrl_override_1tomany_nphy(
  25089. pi,
  25090. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25091. ((lpf_biq1 << 12) |
  25092. (lpf_biq0 << 8) |
  25093. (mix_tia_gain << 4) |
  25094. (lna2 << 2) | lna1), 0x3,
  25095. 0);
  25096. } else {
  25097. hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
  25098. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12),
  25099. ((hpvga << 12) |
  25100. (lpf_biq1 << 10) |
  25101. (lpf_biq0 << 8) |
  25102. (mix_tia_gain << 4) |
  25103. (lna2 << 2) |
  25104. lna1), 0x3, 0);
  25105. }
  25106. if (rxgain != NULL) {
  25107. *rxgain++ = lna1;
  25108. *rxgain++ = lna2;
  25109. *rxgain++ = mix_tia_gain;
  25110. *rxgain++ = lpf_biq0;
  25111. *rxgain++ = lpf_biq1;
  25112. *rxgain = hpvga;
  25113. }
  25114. wlc_phy_rx_iq_coeffs_nphy(pi, 1, &save_comp);
  25115. }
  25116. static void
  25117. wlc_phy_rxcal_gainctrl_nphy(struct brcms_phy *pi, u8 rx_core, u16 *rxgain,
  25118. u8 cal_type)
  25119. {
  25120. wlc_phy_rxcal_gainctrl_nphy_rev5(pi, rx_core, rxgain, cal_type);
  25121. }
  25122. static u8
  25123. wlc_phy_rc_sweep_nphy(struct brcms_phy *pi, u8 core_idx, u8 loopback_type)
  25124. {
  25125. u32 target_bws[2] = { 9500, 21000 };
  25126. u32 ref_tones[2] = { 3000, 6000 };
  25127. u32 target_bw, ref_tone;
  25128. u32 target_pwr_ratios[2] = { 28606, 18468 };
  25129. u32 target_pwr_ratio, pwr_ratio, last_pwr_ratio = 0;
  25130. u16 start_rccal_ovr_val = 128;
  25131. u16 txlpf_rccal_lpc_ovr_val = 128;
  25132. u16 rxlpf_rccal_hpc_ovr_val = 159;
  25133. u16 orig_txlpf_rccal_lpc_ovr_val;
  25134. u16 orig_rxlpf_rccal_hpc_ovr_val;
  25135. u16 radio_addr_offset_rx;
  25136. u16 radio_addr_offset_tx;
  25137. u16 orig_dcBypass;
  25138. u16 orig_RxStrnFilt40Num[6];
  25139. u16 orig_RxStrnFilt40Den[4];
  25140. u16 orig_rfctrloverride[2];
  25141. u16 orig_rfctrlauxreg[2];
  25142. u16 orig_rfctrlrssiothers;
  25143. u16 tx_lpf_bw = 4;
  25144. u16 rx_lpf_bw, rx_lpf_bws[2] = { 2, 4 };
  25145. u16 lpf_hpc = 7, hpvga_hpc = 7;
  25146. s8 rccal_stepsize;
  25147. u16 rccal_val, last_rccal_val = 0, best_rccal_val = 0;
  25148. u32 ref_iq_vals = 0, target_iq_vals = 0;
  25149. u16 num_samps, log_num_samps = 10;
  25150. struct phy_iq_est est[PHY_CORE_MAX];
  25151. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25152. return 0;
  25153. num_samps = (1 << log_num_samps);
  25154. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25155. target_bw = target_bws[1];
  25156. target_pwr_ratio = target_pwr_ratios[1];
  25157. ref_tone = ref_tones[1];
  25158. rx_lpf_bw = rx_lpf_bws[1];
  25159. } else {
  25160. target_bw = target_bws[0];
  25161. target_pwr_ratio = target_pwr_ratios[0];
  25162. ref_tone = ref_tones[0];
  25163. rx_lpf_bw = rx_lpf_bws[0];
  25164. }
  25165. if (core_idx == 0) {
  25166. radio_addr_offset_rx = RADIO_2056_RX0;
  25167. radio_addr_offset_tx =
  25168. (loopback_type == 0) ? RADIO_2056_TX0 : RADIO_2056_TX1;
  25169. } else {
  25170. radio_addr_offset_rx = RADIO_2056_RX1;
  25171. radio_addr_offset_tx =
  25172. (loopback_type == 0) ? RADIO_2056_TX1 : RADIO_2056_TX0;
  25173. }
  25174. orig_txlpf_rccal_lpc_ovr_val =
  25175. read_radio_reg(pi,
  25176. (RADIO_2056_TX_TXLPF_RCCAL |
  25177. radio_addr_offset_tx));
  25178. orig_rxlpf_rccal_hpc_ovr_val =
  25179. read_radio_reg(pi,
  25180. (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25181. radio_addr_offset_rx));
  25182. orig_dcBypass = ((read_phy_reg(pi, 0x48) >> 8) & 1);
  25183. orig_RxStrnFilt40Num[0] = read_phy_reg(pi, 0x267);
  25184. orig_RxStrnFilt40Num[1] = read_phy_reg(pi, 0x268);
  25185. orig_RxStrnFilt40Num[2] = read_phy_reg(pi, 0x269);
  25186. orig_RxStrnFilt40Den[0] = read_phy_reg(pi, 0x26a);
  25187. orig_RxStrnFilt40Den[1] = read_phy_reg(pi, 0x26b);
  25188. orig_RxStrnFilt40Num[3] = read_phy_reg(pi, 0x26c);
  25189. orig_RxStrnFilt40Num[4] = read_phy_reg(pi, 0x26d);
  25190. orig_RxStrnFilt40Num[5] = read_phy_reg(pi, 0x26e);
  25191. orig_RxStrnFilt40Den[2] = read_phy_reg(pi, 0x26f);
  25192. orig_RxStrnFilt40Den[3] = read_phy_reg(pi, 0x270);
  25193. orig_rfctrloverride[0] = read_phy_reg(pi, 0xe7);
  25194. orig_rfctrloverride[1] = read_phy_reg(pi, 0xec);
  25195. orig_rfctrlauxreg[0] = read_phy_reg(pi, 0xf8);
  25196. orig_rfctrlauxreg[1] = read_phy_reg(pi, 0xfa);
  25197. orig_rfctrlrssiothers = read_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d);
  25198. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25199. txlpf_rccal_lpc_ovr_val);
  25200. write_radio_reg(pi,
  25201. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25202. rxlpf_rccal_hpc_ovr_val);
  25203. mod_phy_reg(pi, 0x48, (0x1 << 8), (0x1 << 8));
  25204. write_phy_reg(pi, 0x267, 0x02d4);
  25205. write_phy_reg(pi, 0x268, 0x0000);
  25206. write_phy_reg(pi, 0x269, 0x0000);
  25207. write_phy_reg(pi, 0x26a, 0x0000);
  25208. write_phy_reg(pi, 0x26b, 0x0000);
  25209. write_phy_reg(pi, 0x26c, 0x02d4);
  25210. write_phy_reg(pi, 0x26d, 0x0000);
  25211. write_phy_reg(pi, 0x26e, 0x0000);
  25212. write_phy_reg(pi, 0x26f, 0x0000);
  25213. write_phy_reg(pi, 0x270, 0x0000);
  25214. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 8));
  25215. or_phy_reg(pi, (core_idx == 0) ? 0xec : 0xe7, (0x1 << 15));
  25216. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 9));
  25217. or_phy_reg(pi, (core_idx == 0) ? 0xe7 : 0xec, (0x1 << 10));
  25218. mod_phy_reg(pi, (core_idx == 0) ? 0xfa : 0xf8,
  25219. (0x7 << 10), (tx_lpf_bw << 10));
  25220. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25221. (0x7 << 0), (hpvga_hpc << 0));
  25222. mod_phy_reg(pi, (core_idx == 0) ? 0xf8 : 0xfa,
  25223. (0x7 << 4), (lpf_hpc << 4));
  25224. mod_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d,
  25225. (0x7 << 8), (rx_lpf_bw << 8));
  25226. rccal_stepsize = 16;
  25227. rccal_val = start_rccal_ovr_val + rccal_stepsize;
  25228. while (rccal_stepsize >= 0) {
  25229. write_radio_reg(pi,
  25230. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25231. radio_addr_offset_rx), rccal_val);
  25232. if (rccal_stepsize == 16) {
  25233. wlc_phy_tx_tone_nphy(pi, ref_tone, NPHY_RXCAL_TONEAMP,
  25234. 0, 1, false);
  25235. udelay(2);
  25236. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25237. if (core_idx == 0)
  25238. ref_iq_vals =
  25239. max_t(u32, (est[0].i_pwr +
  25240. est[0].q_pwr) >>
  25241. (log_num_samps + 1),
  25242. 1);
  25243. else
  25244. ref_iq_vals =
  25245. max_t(u32, (est[1].i_pwr +
  25246. est[1].q_pwr) >>
  25247. (log_num_samps + 1),
  25248. 1);
  25249. wlc_phy_tx_tone_nphy(pi, target_bw, NPHY_RXCAL_TONEAMP,
  25250. 0, 1, false);
  25251. udelay(2);
  25252. }
  25253. wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0);
  25254. if (core_idx == 0)
  25255. target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >>
  25256. (log_num_samps + 1);
  25257. else
  25258. target_iq_vals =
  25259. (est[1].i_pwr +
  25260. est[1].q_pwr) >> (log_num_samps + 1);
  25261. pwr_ratio = (uint) ((target_iq_vals << 16) / ref_iq_vals);
  25262. if (rccal_stepsize == 0)
  25263. rccal_stepsize--;
  25264. else if (rccal_stepsize == 1) {
  25265. last_rccal_val = rccal_val;
  25266. rccal_val += (pwr_ratio > target_pwr_ratio) ? 1 : -1;
  25267. last_pwr_ratio = pwr_ratio;
  25268. rccal_stepsize--;
  25269. } else {
  25270. rccal_stepsize = (rccal_stepsize >> 1);
  25271. rccal_val += ((pwr_ratio > target_pwr_ratio) ?
  25272. rccal_stepsize : (-rccal_stepsize));
  25273. }
  25274. if (rccal_stepsize == -1) {
  25275. best_rccal_val =
  25276. (abs((int)last_pwr_ratio -
  25277. (int)target_pwr_ratio) <
  25278. abs((int)pwr_ratio -
  25279. (int)target_pwr_ratio)) ? last_rccal_val :
  25280. rccal_val;
  25281. if (CHSPEC_IS40(pi->radio_chanspec)) {
  25282. if ((best_rccal_val > 140)
  25283. || (best_rccal_val < 135))
  25284. best_rccal_val = 138;
  25285. } else {
  25286. if ((best_rccal_val > 142)
  25287. || (best_rccal_val < 137))
  25288. best_rccal_val = 140;
  25289. }
  25290. write_radio_reg(pi,
  25291. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25292. radio_addr_offset_rx), best_rccal_val);
  25293. }
  25294. }
  25295. wlc_phy_stopplayback_nphy(pi);
  25296. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL | radio_addr_offset_tx),
  25297. orig_txlpf_rccal_lpc_ovr_val);
  25298. write_radio_reg(pi,
  25299. (RADIO_2056_RX_RXLPF_RCCAL_HPC | radio_addr_offset_rx),
  25300. orig_rxlpf_rccal_hpc_ovr_val);
  25301. mod_phy_reg(pi, 0x48, (0x1 << 8), (orig_dcBypass << 8));
  25302. write_phy_reg(pi, 0x267, orig_RxStrnFilt40Num[0]);
  25303. write_phy_reg(pi, 0x268, orig_RxStrnFilt40Num[1]);
  25304. write_phy_reg(pi, 0x269, orig_RxStrnFilt40Num[2]);
  25305. write_phy_reg(pi, 0x26a, orig_RxStrnFilt40Den[0]);
  25306. write_phy_reg(pi, 0x26b, orig_RxStrnFilt40Den[1]);
  25307. write_phy_reg(pi, 0x26c, orig_RxStrnFilt40Num[3]);
  25308. write_phy_reg(pi, 0x26d, orig_RxStrnFilt40Num[4]);
  25309. write_phy_reg(pi, 0x26e, orig_RxStrnFilt40Num[5]);
  25310. write_phy_reg(pi, 0x26f, orig_RxStrnFilt40Den[2]);
  25311. write_phy_reg(pi, 0x270, orig_RxStrnFilt40Den[3]);
  25312. write_phy_reg(pi, 0xe7, orig_rfctrloverride[0]);
  25313. write_phy_reg(pi, 0xec, orig_rfctrloverride[1]);
  25314. write_phy_reg(pi, 0xf8, orig_rfctrlauxreg[0]);
  25315. write_phy_reg(pi, 0xfa, orig_rfctrlauxreg[1]);
  25316. write_phy_reg(pi, (core_idx == 0) ? 0x7a : 0x7d, orig_rfctrlrssiothers);
  25317. pi->nphy_anarxlpf_adjusted = false;
  25318. return best_rccal_val - 0x80;
  25319. }
  25320. #define WAIT_FOR_SCOPE 4000
  25321. static int wlc_phy_cal_rxiq_nphy_rev3(struct brcms_phy *pi,
  25322. struct nphy_txgains target_gain,
  25323. u8 cal_type, bool debug)
  25324. {
  25325. u16 orig_BBConfig;
  25326. u8 core_no, rx_core;
  25327. u8 best_rccal[2];
  25328. u16 gain_save[2];
  25329. u16 cal_gain[2];
  25330. struct nphy_iqcal_params cal_params[2];
  25331. u8 rxcore_state;
  25332. s8 rxlpf_rccal_hpc, txlpf_rccal_lpc;
  25333. s8 txlpf_idac;
  25334. bool phyhang_avoid_state = false;
  25335. bool skip_rxiqcal = false;
  25336. orig_BBConfig = read_phy_reg(pi, 0x01);
  25337. mod_phy_reg(pi, 0x01, (0x1 << 15), 0);
  25338. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25339. if (NREV_GE(pi->pubpi.phy_rev, 4)) {
  25340. phyhang_avoid_state = pi->phyhang_avoid;
  25341. pi->phyhang_avoid = false;
  25342. }
  25343. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25344. for (core_no = 0; core_no <= 1; core_no++) {
  25345. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25346. &cal_params[core_no]);
  25347. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25348. }
  25349. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25350. rxcore_state = wlc_phy_rxcore_getstate_nphy(
  25351. (struct brcms_phy_pub *) pi);
  25352. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25353. skip_rxiqcal =
  25354. ((rxcore_state & (1 << rx_core)) == 0) ? true : false;
  25355. wlc_phy_rxcal_physetup_nphy(pi, rx_core);
  25356. wlc_phy_rxcal_radio_setup_nphy(pi, rx_core);
  25357. if ((!skip_rxiqcal) && ((cal_type == 0) || (cal_type == 2))) {
  25358. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL, 0);
  25359. wlc_phy_tx_tone_nphy(pi,
  25360. (CHSPEC_IS40(
  25361. pi->radio_chanspec)) ?
  25362. NPHY_RXCAL_TONEFREQ_40MHz :
  25363. NPHY_RXCAL_TONEFREQ_20MHz,
  25364. NPHY_RXCAL_TONEAMP, 0, cal_type,
  25365. false);
  25366. if (debug)
  25367. mdelay(WAIT_FOR_SCOPE);
  25368. wlc_phy_calc_rx_iq_comp_nphy(pi, rx_core + 1);
  25369. wlc_phy_stopplayback_nphy(pi);
  25370. }
  25371. if (((cal_type == 1) || (cal_type == 2))
  25372. && NREV_LT(pi->pubpi.phy_rev, 7)) {
  25373. if (rx_core == PHY_CORE_1) {
  25374. if (rxcore_state == 1)
  25375. wlc_phy_rxcore_setstate_nphy(
  25376. (struct brcms_phy_pub *) pi, 3);
  25377. wlc_phy_rxcal_gainctrl_nphy(pi, rx_core, NULL,
  25378. 1);
  25379. best_rccal[rx_core] =
  25380. wlc_phy_rc_sweep_nphy(pi, rx_core, 1);
  25381. pi->nphy_rccal_value = best_rccal[rx_core];
  25382. if (rxcore_state == 1)
  25383. wlc_phy_rxcore_setstate_nphy(
  25384. (struct brcms_phy_pub *) pi,
  25385. rxcore_state);
  25386. }
  25387. }
  25388. wlc_phy_rxcal_radio_cleanup_nphy(pi, rx_core);
  25389. wlc_phy_rxcal_phycleanup_nphy(pi, rx_core);
  25390. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25391. }
  25392. if ((cal_type == 1) || (cal_type == 2)) {
  25393. best_rccal[0] = best_rccal[1];
  25394. write_radio_reg(pi,
  25395. (RADIO_2056_RX_RXLPF_RCCAL_LPC |
  25396. RADIO_2056_RX0), (best_rccal[0] | 0x80));
  25397. for (rx_core = 0; rx_core < pi->pubpi.phy_corenum; rx_core++) {
  25398. rxlpf_rccal_hpc =
  25399. (((int)best_rccal[rx_core] - 12) >> 1) + 10;
  25400. txlpf_rccal_lpc = ((int)best_rccal[rx_core] - 12) + 10;
  25401. if (PHY_IPA(pi)) {
  25402. txlpf_rccal_lpc +=
  25403. (pi->bw == WL_CHANSPEC_BW_40) ? 24 : 12;
  25404. txlpf_idac = (pi->bw == WL_CHANSPEC_BW_40) ?
  25405. 0x0e : 0x13;
  25406. WRITE_RADIO_REG2(pi, RADIO_2056, TX, rx_core,
  25407. TXLPF_IDAC_4, txlpf_idac);
  25408. }
  25409. rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
  25410. 0);
  25411. txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
  25412. 0);
  25413. write_radio_reg(pi, (RADIO_2056_RX_RXLPF_RCCAL_HPC |
  25414. ((rx_core ==
  25415. PHY_CORE_0) ? RADIO_2056_RX0 :
  25416. RADIO_2056_RX1)),
  25417. (rxlpf_rccal_hpc | 0x80));
  25418. write_radio_reg(pi, (RADIO_2056_TX_TXLPF_RCCAL |
  25419. ((rx_core ==
  25420. PHY_CORE_0) ? RADIO_2056_TX0 :
  25421. RADIO_2056_TX1)),
  25422. (txlpf_rccal_lpc | 0x80));
  25423. }
  25424. }
  25425. write_phy_reg(pi, 0x01, orig_BBConfig);
  25426. wlc_phy_resetcca_nphy(pi);
  25427. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25428. wlc_phy_rfctrl_override_1tomany_nphy(
  25429. pi,
  25430. NPHY_REV7_RfctrlOverride_cmd_rxgain,
  25431. 0, 0x3, 1);
  25432. else
  25433. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 12), 0, 0x3, 1);
  25434. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25435. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25436. gain_save);
  25437. if (NREV_GE(pi->pubpi.phy_rev, 4))
  25438. pi->phyhang_avoid = phyhang_avoid_state;
  25439. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25440. return 0;
  25441. }
  25442. static int
  25443. wlc_phy_cal_rxiq_nphy_rev2(struct brcms_phy *pi,
  25444. struct nphy_txgains target_gain, bool debug)
  25445. {
  25446. struct phy_iq_est est[PHY_CORE_MAX];
  25447. u8 core_num, rx_core, tx_core;
  25448. u16 lna_vals[] = { 0x3, 0x3, 0x1 };
  25449. u16 hpf1_vals[] = { 0x7, 0x2, 0x0 };
  25450. u16 hpf2_vals[] = { 0x2, 0x0, 0x0 };
  25451. s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna;
  25452. s16 desired_log2_pwr, actual_log2_pwr, hpf_change;
  25453. u16 orig_RfseqCoreActv, orig_AfectrlCore, orig_AfectrlOverride;
  25454. u16 orig_RfctrlIntcRx, orig_RfctrlIntcTx;
  25455. u16 num_samps;
  25456. u32 i_pwr, q_pwr, tot_pwr[3];
  25457. u8 gain_pass, use_hpf_num;
  25458. u16 mask, val1, val2;
  25459. u16 core_no;
  25460. u16 gain_save[2];
  25461. u16 cal_gain[2];
  25462. struct nphy_iqcal_params cal_params[2];
  25463. u8 phy_bw;
  25464. int bcmerror = 0;
  25465. bool first_playtone = true;
  25466. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25467. if (NREV_LT(pi->pubpi.phy_rev, 2))
  25468. wlc_phy_reapply_txcal_coeffs_nphy(pi);
  25469. wlc_phy_table_read_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, gain_save);
  25470. for (core_no = 0; core_no <= 1; core_no++) {
  25471. wlc_phy_iqcal_gainparams_nphy(pi, core_no, target_gain,
  25472. &cal_params[core_no]);
  25473. cal_gain[core_no] = cal_params[core_no].cal_gain;
  25474. }
  25475. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16, cal_gain);
  25476. num_samps = 1024;
  25477. desired_log2_pwr = 13;
  25478. for (core_num = 0; core_num < 2; core_num++) {
  25479. rx_core = core_num;
  25480. tx_core = 1 - core_num;
  25481. orig_RfseqCoreActv = read_phy_reg(pi, 0xa2);
  25482. orig_AfectrlCore = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25483. 0xa6 : 0xa7);
  25484. orig_AfectrlOverride = read_phy_reg(pi, 0xa5);
  25485. orig_RfctrlIntcRx = read_phy_reg(pi, (rx_core == PHY_CORE_0) ?
  25486. 0x91 : 0x92);
  25487. orig_RfctrlIntcTx = read_phy_reg(pi, (tx_core == PHY_CORE_0) ?
  25488. 0x91 : 0x92);
  25489. mod_phy_reg(pi, 0xa2, (0xf << 12), (1 << tx_core) << 12);
  25490. mod_phy_reg(pi, 0xa2, (0xf << 0), (1 << tx_core) << 0);
  25491. or_phy_reg(pi, ((rx_core == PHY_CORE_0) ? 0xa6 : 0xa7),
  25492. ((0x1 << 1) | (0x1 << 2)));
  25493. or_phy_reg(pi, 0xa5, ((0x1 << 1) | (0x1 << 2)));
  25494. if (((pi->nphy_rxcalparams) & 0xff000000))
  25495. write_phy_reg(pi,
  25496. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25497. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25498. 0x140 : 0x110));
  25499. else
  25500. write_phy_reg(pi,
  25501. (rx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25502. (CHSPEC_IS5G(pi->radio_chanspec) ?
  25503. 0x180 : 0x120));
  25504. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 : 0x92,
  25505. (CHSPEC_IS5G(pi->radio_chanspec) ? 0x148 :
  25506. 0x114));
  25507. mask = RADIO_2055_COUPLE_RX_MASK | RADIO_2055_COUPLE_TX_MASK;
  25508. if (rx_core == PHY_CORE_0) {
  25509. val1 = RADIO_2055_COUPLE_RX_MASK;
  25510. val2 = RADIO_2055_COUPLE_TX_MASK;
  25511. } else {
  25512. val1 = RADIO_2055_COUPLE_TX_MASK;
  25513. val2 = RADIO_2055_COUPLE_RX_MASK;
  25514. }
  25515. if ((pi->nphy_rxcalparams & 0x10000)) {
  25516. mod_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, mask,
  25517. val1);
  25518. mod_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, mask,
  25519. val2);
  25520. }
  25521. for (gain_pass = 0; gain_pass < 4; gain_pass++) {
  25522. if (debug)
  25523. mdelay(WAIT_FOR_SCOPE);
  25524. if (gain_pass < 3) {
  25525. curr_lna = lna_vals[gain_pass];
  25526. curr_hpf1 = hpf1_vals[gain_pass];
  25527. curr_hpf2 = hpf2_vals[gain_pass];
  25528. } else {
  25529. if (tot_pwr[1] > 10000) {
  25530. curr_lna = lna_vals[2];
  25531. curr_hpf1 = hpf1_vals[2];
  25532. curr_hpf2 = hpf2_vals[2];
  25533. use_hpf_num = 1;
  25534. curr_hpf = curr_hpf1;
  25535. actual_log2_pwr =
  25536. wlc_phy_nbits(tot_pwr[2]);
  25537. } else {
  25538. if (tot_pwr[0] > 10000) {
  25539. curr_lna = lna_vals[1];
  25540. curr_hpf1 = hpf1_vals[1];
  25541. curr_hpf2 = hpf2_vals[1];
  25542. use_hpf_num = 1;
  25543. curr_hpf = curr_hpf1;
  25544. actual_log2_pwr =
  25545. wlc_phy_nbits(
  25546. tot_pwr[1]);
  25547. } else {
  25548. curr_lna = lna_vals[0];
  25549. curr_hpf1 = hpf1_vals[0];
  25550. curr_hpf2 = hpf2_vals[0];
  25551. use_hpf_num = 2;
  25552. curr_hpf = curr_hpf2;
  25553. actual_log2_pwr =
  25554. wlc_phy_nbits(
  25555. tot_pwr[0]);
  25556. }
  25557. }
  25558. hpf_change = desired_log2_pwr - actual_log2_pwr;
  25559. curr_hpf += hpf_change;
  25560. curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
  25561. if (use_hpf_num == 1)
  25562. curr_hpf1 = curr_hpf;
  25563. else
  25564. curr_hpf2 = curr_hpf;
  25565. }
  25566. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10),
  25567. ((curr_hpf2 << 8) |
  25568. (curr_hpf1 << 4) |
  25569. (curr_lna << 2)), 0x3, 0);
  25570. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25571. wlc_phy_stopplayback_nphy(pi);
  25572. if (first_playtone) {
  25573. bcmerror = wlc_phy_tx_tone_nphy(pi, 4000,
  25574. (u16) (pi->nphy_rxcalparams &
  25575. 0xffff), 0, 0, true);
  25576. first_playtone = false;
  25577. } else {
  25578. phy_bw = (CHSPEC_IS40(pi->radio_chanspec)) ?
  25579. 40 : 20;
  25580. wlc_phy_runsamples_nphy(pi, phy_bw * 8, 0xffff,
  25581. 0, 0, 0, true);
  25582. }
  25583. if (bcmerror == 0) {
  25584. if (gain_pass < 3) {
  25585. wlc_phy_rx_iq_est_nphy(pi, est,
  25586. num_samps, 32,
  25587. 0);
  25588. i_pwr = (est[rx_core].i_pwr +
  25589. num_samps / 2) / num_samps;
  25590. q_pwr = (est[rx_core].q_pwr +
  25591. num_samps / 2) / num_samps;
  25592. tot_pwr[gain_pass] = i_pwr + q_pwr;
  25593. } else {
  25594. wlc_phy_calc_rx_iq_comp_nphy(pi,
  25595. (1 <<
  25596. rx_core));
  25597. }
  25598. wlc_phy_stopplayback_nphy(pi);
  25599. }
  25600. if (bcmerror != 0)
  25601. break;
  25602. }
  25603. and_radio_reg(pi, RADIO_2055_CORE1_GEN_SPARE2, ~mask);
  25604. and_radio_reg(pi, RADIO_2055_CORE2_GEN_SPARE2, ~mask);
  25605. write_phy_reg(pi, (tx_core == PHY_CORE_0) ? 0x91 :
  25606. 0x92, orig_RfctrlIntcTx);
  25607. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0x91 :
  25608. 0x92, orig_RfctrlIntcRx);
  25609. write_phy_reg(pi, 0xa5, orig_AfectrlOverride);
  25610. write_phy_reg(pi, (rx_core == PHY_CORE_0) ? 0xa6 :
  25611. 0xa7, orig_AfectrlCore);
  25612. write_phy_reg(pi, 0xa2, orig_RfseqCoreActv);
  25613. if (bcmerror != 0)
  25614. break;
  25615. }
  25616. wlc_phy_rfctrl_override_nphy(pi, (0x1 << 10), 0, 0x3, 1);
  25617. wlc_phy_force_rfseq_nphy(pi, NPHY_RFSEQ_RESET2RX);
  25618. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_RFSEQ, 2, 0x110, 16,
  25619. gain_save);
  25620. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25621. return bcmerror;
  25622. }
  25623. int
  25624. wlc_phy_cal_rxiq_nphy(struct brcms_phy *pi, struct nphy_txgains target_gain,
  25625. u8 cal_type, bool debug)
  25626. {
  25627. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25628. cal_type = 0;
  25629. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25630. return wlc_phy_cal_rxiq_nphy_rev3(pi, target_gain, cal_type,
  25631. debug);
  25632. else
  25633. return wlc_phy_cal_rxiq_nphy_rev2(pi, target_gain, debug);
  25634. }
  25635. void wlc_phy_txpwr_fixpower_nphy(struct brcms_phy *pi)
  25636. {
  25637. uint core;
  25638. u32 txgain;
  25639. u16 rad_gain, dac_gain, bbmult, m1m2;
  25640. u8 txpi[2], chan_freq_range;
  25641. s32 rfpwr_offset;
  25642. if (pi->phyhang_avoid)
  25643. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  25644. if (pi->sh->sromrev < 4) {
  25645. txpi[0] = txpi[1] = 72;
  25646. } else {
  25647. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, 0);
  25648. switch (chan_freq_range) {
  25649. case WL_CHAN_FREQ_RANGE_2G:
  25650. case WL_CHAN_FREQ_RANGE_5GL:
  25651. case WL_CHAN_FREQ_RANGE_5GM:
  25652. case WL_CHAN_FREQ_RANGE_5GH:
  25653. txpi[0] = 0;
  25654. txpi[1] = 0;
  25655. break;
  25656. default:
  25657. txpi[0] = txpi[1] = 91;
  25658. break;
  25659. }
  25660. }
  25661. if (NREV_GE(pi->pubpi.phy_rev, 7))
  25662. txpi[0] = txpi[1] = 30;
  25663. else if (NREV_GE(pi->pubpi.phy_rev, 3))
  25664. txpi[0] = txpi[1] = 40;
  25665. if (NREV_LT(pi->pubpi.phy_rev, 7)) {
  25666. if ((txpi[0] < 40) || (txpi[0] > 100) ||
  25667. (txpi[1] < 40) || (txpi[1] > 100))
  25668. txpi[0] = txpi[1] = 91;
  25669. }
  25670. pi->nphy_txpwrindex[PHY_CORE_0].index_internal = txpi[0];
  25671. pi->nphy_txpwrindex[PHY_CORE_1].index_internal = txpi[1];
  25672. pi->nphy_txpwrindex[PHY_CORE_0].index_internal_save = txpi[0];
  25673. pi->nphy_txpwrindex[PHY_CORE_1].index_internal_save = txpi[1];
  25674. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  25675. uint phyrev = pi->pubpi.phy_rev;
  25676. if (NREV_GE(phyrev, 3)) {
  25677. if (PHY_IPA(pi)) {
  25678. u32 *tx_gaintbl =
  25679. wlc_phy_get_ipa_gaintbl_nphy(pi);
  25680. txgain = tx_gaintbl[txpi[core]];
  25681. } else {
  25682. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  25683. if (NREV_IS(phyrev, 3)) {
  25684. txgain =
  25685. nphy_tpc_5GHz_txgain_rev3
  25686. [txpi[core]];
  25687. } else if (NREV_IS(phyrev, 4)) {
  25688. txgain = (
  25689. pi->srom_fem5g.extpagain ==
  25690. 3) ?
  25691. nphy_tpc_5GHz_txgain_HiPwrEPA
  25692. [txpi[core]] :
  25693. nphy_tpc_5GHz_txgain_rev4
  25694. [txpi[core]];
  25695. } else {
  25696. txgain =
  25697. nphy_tpc_5GHz_txgain_rev5
  25698. [txpi[core]];
  25699. }
  25700. } else {
  25701. if (NREV_GE(phyrev, 5) &&
  25702. (pi->srom_fem2g.extpagain == 3)) {
  25703. txgain =
  25704. nphy_tpc_txgain_HiPwrEPA
  25705. [txpi[core]];
  25706. } else {
  25707. txgain = nphy_tpc_txgain_rev3
  25708. [txpi[core]];
  25709. }
  25710. }
  25711. }
  25712. } else {
  25713. txgain = nphy_tpc_txgain[txpi[core]];
  25714. }
  25715. if (NREV_GE(phyrev, 3))
  25716. rad_gain = (txgain >> 16) & ((1 << (32 - 16 + 1)) - 1);
  25717. else
  25718. rad_gain = (txgain >> 16) & ((1 << (28 - 16 + 1)) - 1);
  25719. if (NREV_GE(phyrev, 7))
  25720. dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1);
  25721. else
  25722. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  25723. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  25724. if (NREV_GE(phyrev, 3))
  25725. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  25726. 0xa5), (0x1 << 8), (0x1 << 8));
  25727. else
  25728. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  25729. write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain);
  25730. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  25731. &rad_gain);
  25732. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  25733. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  25734. m1m2 |= ((core == PHY_CORE_0) ? (bbmult << 8) : (bbmult << 0));
  25735. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  25736. if (PHY_IPA(pi)) {
  25737. wlc_phy_table_read_nphy(pi,
  25738. (core ==
  25739. PHY_CORE_0 ?
  25740. NPHY_TBL_ID_CORE1TXPWRCTL :
  25741. NPHY_TBL_ID_CORE2TXPWRCTL), 1,
  25742. 576 + txpi[core], 32,
  25743. &rfpwr_offset);
  25744. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25745. 0x29b, (0x1ff << 4),
  25746. ((s16) rfpwr_offset) << 4);
  25747. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  25748. 0x29b, (0x1 << 2), (1) << 2);
  25749. }
  25750. }
  25751. and_phy_reg(pi, 0xbf, (u16) (~(0x1f << 0)));
  25752. if (pi->phyhang_avoid)
  25753. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  25754. }
  25755. static void
  25756. wlc_phy_txpwr_nphy_srom_convert(u8 *srom_max, u16 *pwr_offset,
  25757. u8 tmp_max_pwr, u8 rate_start,
  25758. u8 rate_end)
  25759. {
  25760. u8 rate;
  25761. u8 word_num, nibble_num;
  25762. u8 tmp_nibble;
  25763. for (rate = rate_start; rate <= rate_end; rate++) {
  25764. word_num = (rate - rate_start) >> 2;
  25765. nibble_num = (rate - rate_start) & 0x3;
  25766. tmp_nibble = (pwr_offset[word_num] >> 4 * nibble_num) & 0xf;
  25767. srom_max[rate] = tmp_max_pwr - 2 * tmp_nibble;
  25768. }
  25769. }
  25770. static void
  25771. wlc_phy_txpwr_nphy_po_apply(u8 *srom_max, u8 pwr_offset,
  25772. u8 rate_start, u8 rate_end)
  25773. {
  25774. u8 rate;
  25775. for (rate = rate_start; rate <= rate_end; rate++)
  25776. srom_max[rate] -= 2 * pwr_offset;
  25777. }
  25778. void
  25779. wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start,
  25780. u8 rate_mcs_end, u8 rate_ofdm_start)
  25781. {
  25782. u8 rate1, rate2;
  25783. rate2 = rate_ofdm_start;
  25784. for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) {
  25785. power[rate1] = power[rate2];
  25786. rate2 += (rate1 == rate_mcs_start) ? 2 : 1;
  25787. }
  25788. power[rate_mcs_end] = power[rate_mcs_end - 1];
  25789. }
  25790. void
  25791. wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start,
  25792. u8 rate_ofdm_end, u8 rate_mcs_start)
  25793. {
  25794. u8 rate1, rate2;
  25795. for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start;
  25796. rate1 <= rate_ofdm_end; rate1++, rate2++) {
  25797. power[rate1] = power[rate2];
  25798. if (rate1 == rate_ofdm_start)
  25799. power[++rate1] = power[rate2];
  25800. }
  25801. }
  25802. void wlc_phy_txpwr_apply_nphy(struct brcms_phy *pi)
  25803. {
  25804. uint rate1, rate2, band_num;
  25805. u8 tmp_bw40po = 0, tmp_cddpo = 0, tmp_stbcpo = 0;
  25806. u8 tmp_max_pwr = 0;
  25807. u16 pwr_offsets1[2], *pwr_offsets2 = NULL;
  25808. u8 *tx_srom_max_rate = NULL;
  25809. for (band_num = 0; band_num < (CH_2G_GROUP + CH_5G_GROUP);
  25810. band_num++) {
  25811. switch (band_num) {
  25812. case 0:
  25813. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g,
  25814. pi->nphy_pwrctrl_info[1].max_pwr_2g);
  25815. pwr_offsets1[0] = pi->cck2gpo;
  25816. wlc_phy_txpwr_nphy_srom_convert(pi->tx_srom_max_rate_2g,
  25817. pwr_offsets1,
  25818. tmp_max_pwr,
  25819. TXP_FIRST_CCK,
  25820. TXP_LAST_CCK);
  25821. pwr_offsets1[0] = (u16) (pi->ofdm2gpo & 0xffff);
  25822. pwr_offsets1[1] =
  25823. (u16) (pi->ofdm2gpo >> 16) & 0xffff;
  25824. pwr_offsets2 = pi->mcs2gpo;
  25825. tmp_cddpo = pi->cdd2gpo;
  25826. tmp_stbcpo = pi->stbc2gpo;
  25827. tmp_bw40po = pi->bw402gpo;
  25828. tx_srom_max_rate = pi->tx_srom_max_rate_2g;
  25829. break;
  25830. case 1:
  25831. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm,
  25832. pi->nphy_pwrctrl_info[1].max_pwr_5gm);
  25833. pwr_offsets1[0] = (u16) (pi->ofdm5gpo & 0xffff);
  25834. pwr_offsets1[1] =
  25835. (u16) (pi->ofdm5gpo >> 16) & 0xffff;
  25836. pwr_offsets2 = pi->mcs5gpo;
  25837. tmp_cddpo = pi->cdd5gpo;
  25838. tmp_stbcpo = pi->stbc5gpo;
  25839. tmp_bw40po = pi->bw405gpo;
  25840. tx_srom_max_rate = pi->tx_srom_max_rate_5g_mid;
  25841. break;
  25842. case 2:
  25843. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl,
  25844. pi->nphy_pwrctrl_info[1].max_pwr_5gl);
  25845. pwr_offsets1[0] = (u16) (pi->ofdm5glpo & 0xffff);
  25846. pwr_offsets1[1] =
  25847. (u16) (pi->ofdm5glpo >> 16) & 0xffff;
  25848. pwr_offsets2 = pi->mcs5glpo;
  25849. tmp_cddpo = pi->cdd5glpo;
  25850. tmp_stbcpo = pi->stbc5glpo;
  25851. tmp_bw40po = pi->bw405glpo;
  25852. tx_srom_max_rate = pi->tx_srom_max_rate_5g_low;
  25853. break;
  25854. case 3:
  25855. tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh,
  25856. pi->nphy_pwrctrl_info[1].max_pwr_5gh);
  25857. pwr_offsets1[0] = (u16) (pi->ofdm5ghpo & 0xffff);
  25858. pwr_offsets1[1] =
  25859. (u16) (pi->ofdm5ghpo >> 16) & 0xffff;
  25860. pwr_offsets2 = pi->mcs5ghpo;
  25861. tmp_cddpo = pi->cdd5ghpo;
  25862. tmp_stbcpo = pi->stbc5ghpo;
  25863. tmp_bw40po = pi->bw405ghpo;
  25864. tx_srom_max_rate = pi->tx_srom_max_rate_5g_hi;
  25865. break;
  25866. }
  25867. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets1,
  25868. tmp_max_pwr, TXP_FIRST_OFDM,
  25869. TXP_LAST_OFDM);
  25870. wlc_phy_ofdm_to_mcs_powers_nphy(tx_srom_max_rate,
  25871. TXP_FIRST_MCS_20_SISO,
  25872. TXP_LAST_MCS_20_SISO,
  25873. TXP_FIRST_OFDM);
  25874. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  25875. tmp_max_pwr,
  25876. TXP_FIRST_MCS_20_CDD,
  25877. TXP_LAST_MCS_20_CDD);
  25878. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25879. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  25880. TXP_FIRST_MCS_20_CDD,
  25881. TXP_LAST_MCS_20_CDD);
  25882. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25883. TXP_FIRST_OFDM_20_CDD,
  25884. TXP_LAST_OFDM_20_CDD,
  25885. TXP_FIRST_MCS_20_CDD);
  25886. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate, pwr_offsets2,
  25887. tmp_max_pwr,
  25888. TXP_FIRST_MCS_20_STBC,
  25889. TXP_LAST_MCS_20_STBC);
  25890. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25891. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25892. tmp_stbcpo,
  25893. TXP_FIRST_MCS_20_STBC,
  25894. TXP_LAST_MCS_20_STBC);
  25895. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25896. &pwr_offsets2[2], tmp_max_pwr,
  25897. TXP_FIRST_MCS_20_SDM,
  25898. TXP_LAST_MCS_20_SDM);
  25899. if (NPHY_IS_SROM_REINTERPRET) {
  25900. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25901. &pwr_offsets2[4],
  25902. tmp_max_pwr,
  25903. TXP_FIRST_MCS_40_SISO,
  25904. TXP_LAST_MCS_40_SISO);
  25905. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25906. TXP_FIRST_OFDM_40_SISO,
  25907. TXP_LAST_OFDM_40_SISO,
  25908. TXP_FIRST_MCS_40_SISO);
  25909. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25910. &pwr_offsets2[4],
  25911. tmp_max_pwr,
  25912. TXP_FIRST_MCS_40_CDD,
  25913. TXP_LAST_MCS_40_CDD);
  25914. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate, tmp_cddpo,
  25915. TXP_FIRST_MCS_40_CDD,
  25916. TXP_LAST_MCS_40_CDD);
  25917. wlc_phy_mcs_to_ofdm_powers_nphy(tx_srom_max_rate,
  25918. TXP_FIRST_OFDM_40_CDD,
  25919. TXP_LAST_OFDM_40_CDD,
  25920. TXP_FIRST_MCS_40_CDD);
  25921. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25922. &pwr_offsets2[4],
  25923. tmp_max_pwr,
  25924. TXP_FIRST_MCS_40_STBC,
  25925. TXP_LAST_MCS_40_STBC);
  25926. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25927. tmp_stbcpo,
  25928. TXP_FIRST_MCS_40_STBC,
  25929. TXP_LAST_MCS_40_STBC);
  25930. wlc_phy_txpwr_nphy_srom_convert(tx_srom_max_rate,
  25931. &pwr_offsets2[6],
  25932. tmp_max_pwr,
  25933. TXP_FIRST_MCS_40_SDM,
  25934. TXP_LAST_MCS_40_SDM);
  25935. } else {
  25936. for (rate1 = TXP_FIRST_OFDM_40_SISO, rate2 =
  25937. TXP_FIRST_OFDM;
  25938. rate1 <= TXP_LAST_MCS_40_SDM;
  25939. rate1++, rate2++)
  25940. tx_srom_max_rate[rate1] =
  25941. tx_srom_max_rate[rate2];
  25942. }
  25943. if (NREV_GE(pi->pubpi.phy_rev, 3))
  25944. wlc_phy_txpwr_nphy_po_apply(tx_srom_max_rate,
  25945. tmp_bw40po,
  25946. TXP_FIRST_OFDM_40_SISO,
  25947. TXP_LAST_MCS_40_SDM);
  25948. tx_srom_max_rate[TXP_MCS_32] =
  25949. tx_srom_max_rate[TXP_FIRST_MCS_40_CDD];
  25950. }
  25951. return;
  25952. }
  25953. void wlc_phy_txpower_recalc_target_nphy(struct brcms_phy *pi)
  25954. {
  25955. u8 tx_pwr_ctrl_state;
  25956. wlc_phy_txpwr_limit_to_tbl_nphy(pi);
  25957. wlc_phy_txpwrctrl_pwr_setup_nphy(pi);
  25958. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  25959. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12)) {
  25960. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, MCTL_PHYLOCK);
  25961. (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol));
  25962. udelay(1);
  25963. }
  25964. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  25965. if (D11REV_IS(pi->sh->corerev, 11) || D11REV_IS(pi->sh->corerev, 12))
  25966. wlapi_bmac_mctrl(pi->sh->physhim, MCTL_PHYLOCK, 0);
  25967. }
  25968. static bool wlc_phy_txpwr_ison_nphy(struct brcms_phy *pi)
  25969. {
  25970. return read_phy_reg((pi), 0x1e7) & ((0x1 << 15) |
  25971. (0x1 << 14) | (0x1 << 13));
  25972. }
  25973. u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi)
  25974. {
  25975. u16 tmp;
  25976. u16 pwr_idx[2];
  25977. if (wlc_phy_txpwr_ison_nphy(pi)) {
  25978. pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0);
  25979. pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1);
  25980. tmp = (pwr_idx[0] << 8) | pwr_idx[1];
  25981. } else {
  25982. tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff)
  25983. << 8) |
  25984. (pi->nphy_txpwrindex[PHY_CORE_1].index_internal & 0xff);
  25985. }
  25986. return tmp;
  25987. }
  25988. void wlc_phy_txpwr_papd_cal_nphy(struct brcms_phy *pi)
  25989. {
  25990. if (PHY_IPA(pi)
  25991. && (pi->nphy_force_papd_cal
  25992. || (wlc_phy_txpwr_ison_nphy(pi)
  25993. &&
  25994. (((u32)
  25995. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 0) -
  25996. pi->nphy_papd_tx_gain_at_last_cal[0]) >= 4)
  25997. || ((u32)
  25998. abs(wlc_phy_txpwr_idx_cur_get_nphy(pi, 1) -
  25999. pi->nphy_papd_tx_gain_at_last_cal[1]) >= 4)))))
  26000. wlc_phy_a4(pi, true);
  26001. }
  26002. void wlc_phy_txpwrctrl_enable_nphy(struct brcms_phy *pi, u8 ctrl_type)
  26003. {
  26004. u16 mask = 0, val = 0, ishw = 0;
  26005. u8 ctr;
  26006. uint core;
  26007. u32 tbl_offset;
  26008. u32 tbl_len;
  26009. u16 regval[84];
  26010. if (pi->phyhang_avoid)
  26011. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26012. switch (ctrl_type) {
  26013. case PHY_TPC_HW_OFF:
  26014. case PHY_TPC_HW_ON:
  26015. pi->nphy_txpwrctrl = ctrl_type;
  26016. break;
  26017. default:
  26018. break;
  26019. }
  26020. if (ctrl_type == PHY_TPC_HW_OFF) {
  26021. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26022. if (wlc_phy_txpwr_ison_nphy(pi)) {
  26023. for (core = 0; core < pi->pubpi.phy_corenum;
  26024. core++)
  26025. pi->nphy_txpwr_idx[core] =
  26026. wlc_phy_txpwr_idx_cur_get_nphy(
  26027. pi,
  26028. (u8) core);
  26029. }
  26030. }
  26031. tbl_len = 84;
  26032. tbl_offset = 64;
  26033. for (ctr = 0; ctr < tbl_len; ctr++)
  26034. regval[ctr] = 0;
  26035. wlc_phy_table_write_nphy(pi, 26, tbl_len, tbl_offset, 16,
  26036. regval);
  26037. wlc_phy_table_write_nphy(pi, 27, tbl_len, tbl_offset, 16,
  26038. regval);
  26039. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26040. and_phy_reg(pi, 0x1e7,
  26041. (u16) (~((0x1 << 15) |
  26042. (0x1 << 14) | (0x1 << 13))));
  26043. else
  26044. and_phy_reg(pi, 0x1e7,
  26045. (u16) (~((0x1 << 14) | (0x1 << 13))));
  26046. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26047. or_phy_reg(pi, 0x8f, (0x1 << 8));
  26048. or_phy_reg(pi, 0xa5, (0x1 << 8));
  26049. } else {
  26050. or_phy_reg(pi, 0xa5, (0x1 << 14));
  26051. }
  26052. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26053. mod_phy_reg(pi, 0xdc, 0x00ff, 0x53);
  26054. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26055. mod_phy_reg(pi, 0xdc, 0x00ff, 0x5a);
  26056. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26057. pi->bw == WL_CHANSPEC_BW_40)
  26058. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26059. MHF1_IQSWAP_WAR, BRCM_BAND_ALL);
  26060. } else {
  26061. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE1TXPWRCTL, 84, 64,
  26062. 8, pi->adj_pwr_tbl_nphy);
  26063. wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_CORE2TXPWRCTL, 84, 64,
  26064. 8, pi->adj_pwr_tbl_nphy);
  26065. ishw = (ctrl_type == PHY_TPC_HW_ON) ? 0x1 : 0x0;
  26066. mask = (0x1 << 14) | (0x1 << 13);
  26067. val = (ishw << 14) | (ishw << 13);
  26068. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26069. mask |= (0x1 << 15);
  26070. val |= (ishw << 15);
  26071. }
  26072. mod_phy_reg(pi, 0x1e7, mask, val);
  26073. if (CHSPEC_IS5G(pi->radio_chanspec)) {
  26074. if (NREV_GE(pi->pubpi.phy_rev, 7)) {
  26075. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x32);
  26076. mod_phy_reg(pi, 0x222, (0xff << 0), 0x32);
  26077. } else {
  26078. mod_phy_reg(pi, 0x1e7, (0x7f << 0), 0x64);
  26079. if (NREV_GT(pi->pubpi.phy_rev, 1))
  26080. mod_phy_reg(pi, 0x222,
  26081. (0xff << 0), 0x64);
  26082. }
  26083. }
  26084. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26085. if ((pi->nphy_txpwr_idx[0] != 128)
  26086. && (pi->nphy_txpwr_idx[1] != 128))
  26087. wlc_phy_txpwr_idx_cur_set_nphy(pi,
  26088. pi->
  26089. nphy_txpwr_idx
  26090. [0],
  26091. pi->
  26092. nphy_txpwr_idx
  26093. [1]);
  26094. }
  26095. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26096. and_phy_reg(pi, 0x8f, ~(0x1 << 8));
  26097. and_phy_reg(pi, 0xa5, ~(0x1 << 8));
  26098. } else {
  26099. and_phy_reg(pi, 0xa5, ~(0x1 << 14));
  26100. }
  26101. if (NREV_IS(pi->pubpi.phy_rev, 2))
  26102. mod_phy_reg(pi, 0xdc, 0x00ff, 0x3b);
  26103. else if (NREV_LT(pi->pubpi.phy_rev, 2))
  26104. mod_phy_reg(pi, 0xdc, 0x00ff, 0x40);
  26105. if (NREV_LT(pi->pubpi.phy_rev, 2) &&
  26106. pi->bw == WL_CHANSPEC_BW_40)
  26107. wlapi_bmac_mhf(pi->sh->physhim, MHF1, MHF1_IQSWAP_WAR,
  26108. 0x0, BRCM_BAND_ALL);
  26109. if (PHY_IPA(pi)) {
  26110. mod_phy_reg(pi, (0 == PHY_CORE_0) ? 0x297 :
  26111. 0x29b, (0x1 << 2), (0) << 2);
  26112. mod_phy_reg(pi, (1 == PHY_CORE_0) ? 0x297 :
  26113. 0x29b, (0x1 << 2), (0) << 2);
  26114. }
  26115. }
  26116. if (pi->phyhang_avoid)
  26117. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26118. }
  26119. void
  26120. wlc_phy_txpwr_index_nphy(struct brcms_phy *pi, u8 core_mask, s8 txpwrindex,
  26121. bool restore_cals)
  26122. {
  26123. u8 core, txpwrctl_tbl;
  26124. u16 tx_ind0, iq_ind0, lo_ind0;
  26125. u16 m1m2;
  26126. u32 txgain;
  26127. u16 rad_gain, dac_gain;
  26128. u8 bbmult;
  26129. u32 iqcomp;
  26130. u16 iqcomp_a, iqcomp_b;
  26131. u32 locomp;
  26132. u16 tmpval;
  26133. u8 tx_pwr_ctrl_state;
  26134. s32 rfpwr_offset;
  26135. u16 regval[2];
  26136. if (pi->phyhang_avoid)
  26137. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26138. tx_ind0 = 192;
  26139. iq_ind0 = 320;
  26140. lo_ind0 = 448;
  26141. for (core = 0; core < pi->pubpi.phy_corenum; core++) {
  26142. if ((core_mask & (1 << core)) == 0)
  26143. continue;
  26144. txpwrctl_tbl = (core == PHY_CORE_0) ? 26 : 27;
  26145. if (txpwrindex < 0) {
  26146. if (pi->nphy_txpwrindex[core].index < 0)
  26147. continue;
  26148. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26149. mod_phy_reg(pi, 0x8f,
  26150. (0x1 << 8),
  26151. pi->nphy_txpwrindex[core].
  26152. AfectrlOverride);
  26153. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26154. pi->nphy_txpwrindex[core].
  26155. AfectrlOverride);
  26156. } else {
  26157. mod_phy_reg(pi, 0xa5,
  26158. (0x1 << 14),
  26159. pi->nphy_txpwrindex[core].
  26160. AfectrlOverride);
  26161. }
  26162. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26163. 0xaa : 0xab,
  26164. pi->nphy_txpwrindex[core].AfeCtrlDacGain);
  26165. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26166. &pi->nphy_txpwrindex[core].
  26167. rad_gain);
  26168. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26169. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26170. m1m2 |= ((core == PHY_CORE_0) ?
  26171. (pi->nphy_txpwrindex[core].bbmult << 8) :
  26172. (pi->nphy_txpwrindex[core].bbmult << 0));
  26173. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26174. if (restore_cals) {
  26175. wlc_phy_table_write_nphy(
  26176. pi, 15, 2, (80 + 2 * core), 16,
  26177. &pi->nphy_txpwrindex[core].iqcomp_a);
  26178. wlc_phy_table_write_nphy(
  26179. pi, 15, 1, (85 + core), 16,
  26180. &pi->nphy_txpwrindex[core].locomp);
  26181. wlc_phy_table_write_nphy(
  26182. pi, 15, 1, (93 + core), 16,
  26183. &pi->nphy_txpwrindex[core].locomp);
  26184. }
  26185. wlc_phy_txpwrctrl_enable_nphy(pi, pi->nphy_txpwrctrl);
  26186. pi->nphy_txpwrindex[core].index_internal =
  26187. pi->nphy_txpwrindex[core].index_internal_save;
  26188. } else {
  26189. if (pi->nphy_txpwrindex[core].index < 0) {
  26190. if (NREV_GE(pi->pubpi.phy_rev, 3)) {
  26191. mod_phy_reg(pi, 0x8f,
  26192. (0x1 << 8),
  26193. pi->nphy_txpwrindex[core].
  26194. AfectrlOverride);
  26195. mod_phy_reg(pi, 0xa5, (0x1 << 8),
  26196. pi->nphy_txpwrindex[core].
  26197. AfectrlOverride);
  26198. } else {
  26199. pi->nphy_txpwrindex[core].
  26200. AfectrlOverride =
  26201. read_phy_reg(pi, 0xa5);
  26202. }
  26203. pi->nphy_txpwrindex[core].AfeCtrlDacGain =
  26204. read_phy_reg(pi, (core == PHY_CORE_0) ?
  26205. 0xaa : 0xab);
  26206. wlc_phy_table_read_nphy(pi, 7, 1,
  26207. (0x110 + core), 16,
  26208. &pi->
  26209. nphy_txpwrindex[core].
  26210. rad_gain);
  26211. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16,
  26212. &tmpval);
  26213. tmpval >>= ((core == PHY_CORE_0) ? 8 : 0);
  26214. tmpval &= 0xff;
  26215. pi->nphy_txpwrindex[core].bbmult = (u8) tmpval;
  26216. wlc_phy_table_read_nphy(pi, 15, 2,
  26217. (80 + 2 * core), 16,
  26218. &pi->
  26219. nphy_txpwrindex[core].
  26220. iqcomp_a);
  26221. wlc_phy_table_read_nphy(pi, 15, 1, (85 + core),
  26222. 16,
  26223. &pi->
  26224. nphy_txpwrindex[core].
  26225. locomp);
  26226. pi->nphy_txpwrindex[core].index_internal_save =
  26227. pi->nphy_txpwrindex[core].
  26228. index_internal;
  26229. }
  26230. tx_pwr_ctrl_state = pi->nphy_txpwrctrl;
  26231. wlc_phy_txpwrctrl_enable_nphy(pi, PHY_TPC_HW_OFF);
  26232. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26233. wlapi_bmac_phyclk_fgc(pi->sh->physhim, ON);
  26234. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26235. (tx_ind0 + txpwrindex), 32,
  26236. &txgain);
  26237. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26238. rad_gain = (txgain >> 16) &
  26239. ((1 << (32 - 16 + 1)) - 1);
  26240. else
  26241. rad_gain = (txgain >> 16) &
  26242. ((1 << (28 - 16 + 1)) - 1);
  26243. dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1);
  26244. bbmult = (txgain >> 0) & ((1 << (7 - 0 + 1)) - 1);
  26245. if (NREV_GE(pi->pubpi.phy_rev, 3))
  26246. mod_phy_reg(pi, ((core == PHY_CORE_0) ? 0x8f :
  26247. 0xa5), (0x1 << 8), (0x1 << 8));
  26248. else
  26249. mod_phy_reg(pi, 0xa5, (0x1 << 14), (0x1 << 14));
  26250. write_phy_reg(pi, (core == PHY_CORE_0) ?
  26251. 0xaa : 0xab, dac_gain);
  26252. wlc_phy_table_write_nphy(pi, 7, 1, (0x110 + core), 16,
  26253. &rad_gain);
  26254. wlc_phy_table_read_nphy(pi, 15, 1, 87, 16, &m1m2);
  26255. m1m2 &= ((core == PHY_CORE_0) ? 0x00ff : 0xff00);
  26256. m1m2 |= ((core == PHY_CORE_0) ?
  26257. (bbmult << 8) : (bbmult << 0));
  26258. wlc_phy_table_write_nphy(pi, 15, 1, 87, 16, &m1m2);
  26259. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26260. (iq_ind0 + txpwrindex), 32,
  26261. &iqcomp);
  26262. iqcomp_a = (iqcomp >> 10) & ((1 << (19 - 10 + 1)) - 1);
  26263. iqcomp_b = (iqcomp >> 0) & ((1 << (9 - 0 + 1)) - 1);
  26264. if (restore_cals) {
  26265. regval[0] = (u16) iqcomp_a;
  26266. regval[1] = (u16) iqcomp_b;
  26267. wlc_phy_table_write_nphy(pi, 15, 2,
  26268. (80 + 2 * core), 16,
  26269. regval);
  26270. }
  26271. wlc_phy_table_read_nphy(pi, txpwrctl_tbl, 1,
  26272. (lo_ind0 + txpwrindex), 32,
  26273. &locomp);
  26274. if (restore_cals)
  26275. wlc_phy_table_write_nphy(pi, 15, 1, (85 + core),
  26276. 16, &locomp);
  26277. if (NREV_IS(pi->pubpi.phy_rev, 1))
  26278. wlapi_bmac_phyclk_fgc(pi->sh->physhim, OFF);
  26279. if (PHY_IPA(pi)) {
  26280. wlc_phy_table_read_nphy(pi,
  26281. (core == PHY_CORE_0 ?
  26282. NPHY_TBL_ID_CORE1TXPWRCTL :
  26283. NPHY_TBL_ID_CORE2TXPWRCTL),
  26284. 1, 576 + txpwrindex, 32,
  26285. &rfpwr_offset);
  26286. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26287. 0x29b, (0x1ff << 4),
  26288. ((s16) rfpwr_offset) << 4);
  26289. mod_phy_reg(pi, (core == PHY_CORE_0) ? 0x297 :
  26290. 0x29b, (0x1 << 2), (1) << 2);
  26291. }
  26292. wlc_phy_txpwrctrl_enable_nphy(pi, tx_pwr_ctrl_state);
  26293. }
  26294. pi->nphy_txpwrindex[core].index = txpwrindex;
  26295. }
  26296. if (pi->phyhang_avoid)
  26297. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26298. }
  26299. void
  26300. wlc_phy_txpower_sromlimit_get_nphy(struct brcms_phy *pi, uint chan, u8 *max_pwr,
  26301. u8 txp_rate_idx)
  26302. {
  26303. u8 chan_freq_range;
  26304. chan_freq_range = wlc_phy_get_chan_freq_range_nphy(pi, chan);
  26305. switch (chan_freq_range) {
  26306. case WL_CHAN_FREQ_RANGE_2G:
  26307. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26308. break;
  26309. case WL_CHAN_FREQ_RANGE_5GM:
  26310. *max_pwr = pi->tx_srom_max_rate_5g_mid[txp_rate_idx];
  26311. break;
  26312. case WL_CHAN_FREQ_RANGE_5GL:
  26313. *max_pwr = pi->tx_srom_max_rate_5g_low[txp_rate_idx];
  26314. break;
  26315. case WL_CHAN_FREQ_RANGE_5GH:
  26316. *max_pwr = pi->tx_srom_max_rate_5g_hi[txp_rate_idx];
  26317. break;
  26318. default:
  26319. *max_pwr = pi->tx_srom_max_rate_2g[txp_rate_idx];
  26320. break;
  26321. }
  26322. return;
  26323. }
  26324. void wlc_phy_stay_in_carriersearch_nphy(struct brcms_phy *pi, bool enable)
  26325. {
  26326. u16 clip_off[] = { 0xffff, 0xffff };
  26327. if (enable) {
  26328. if (pi->nphy_deaf_count == 0) {
  26329. pi->classifier_state =
  26330. wlc_phy_classifier_nphy(pi, 0, 0);
  26331. wlc_phy_classifier_nphy(pi, (0x7 << 0), 4);
  26332. wlc_phy_clip_det_nphy(pi, 0, pi->clip_state);
  26333. wlc_phy_clip_det_nphy(pi, 1, clip_off);
  26334. }
  26335. pi->nphy_deaf_count++;
  26336. wlc_phy_resetcca_nphy(pi);
  26337. } else {
  26338. pi->nphy_deaf_count--;
  26339. if (pi->nphy_deaf_count == 0) {
  26340. wlc_phy_classifier_nphy(pi, (0x7 << 0),
  26341. pi->classifier_state);
  26342. wlc_phy_clip_det_nphy(pi, 1, pi->clip_state);
  26343. }
  26344. }
  26345. }
  26346. void wlc_nphy_deaf_mode(struct brcms_phy *pi, bool mode)
  26347. {
  26348. wlapi_suspend_mac_and_wait(pi->sh->physhim);
  26349. if (mode) {
  26350. if (pi->nphy_deaf_count == 0)
  26351. wlc_phy_stay_in_carriersearch_nphy(pi, true);
  26352. } else if (pi->nphy_deaf_count > 0) {
  26353. wlc_phy_stay_in_carriersearch_nphy(pi, false);
  26354. }
  26355. wlapi_enable_mac(pi->sh->physhim);
  26356. }